<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Variable skalieren</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/cfe3d4acdd/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/cfe3d4acdd/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Deutsch/thread/cfe3d4acdd/</id><updated>2020-02-28T18:52:23.434000Z</updated><subtitle>Recent posts to Variable skalieren</subtitle><entry><title>Variable skalieren</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/cfe3d4acdd/?limit=25#1ff6" rel="alternate"/><published>2020-02-28T18:52:23.434000Z</published><updated>2020-02-28T18:52:23.434000Z</updated><author><name>Chräshe</name><uri>https://forge.codesys.com/u/chraeshe/</uri></author><id>https://forge.codesys.com3043cdbf522c032a518480841fde81fab1f102fa</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Moin Erik,&lt;/p&gt;
&lt;p&gt;Klar werden 2 Variablen benötigt…&lt;/p&gt;
&lt;p&gt;Das hatte ich in der Frage einfach überlesen   &lt;/p&gt;
&lt;p&gt;Gruß &lt;/p&gt;
&lt;p&gt;Chräshe&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Variable skalieren</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/cfe3d4acdd/?limit=25#d811" rel="alternate"/><published>2020-02-28T18:52:20.416000Z</published><updated>2020-02-28T18:52:20.416000Z</updated><author><name>Erik Böhm</name><uri>https://forge.codesys.com/u/erik-boehm/</uri></author><id>https://forge.codesys.coma8258fe7f3a23a3ca40dbd452d499ac23063c693</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Moin&lt;/p&gt;
&lt;p&gt;Dann werden aber immer noch 2 verschiedene Variablen benötigt.&lt;/p&gt;
&lt;p&gt;Wie soll denn das sonst funktionieren ?&lt;/p&gt;
&lt;p&gt;Ich schreib in ein Eingabefeld 255 rein und dann soll 100 angezeigt werden ? oder was ?&lt;/p&gt;
&lt;p&gt;Ich glaub irgendjemand versteht da was falsch...&lt;/p&gt;
&lt;p&gt;Gruss&lt;/p&gt;
&lt;p&gt;Erik&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Variable skalieren</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/cfe3d4acdd/?limit=25#9e4e" rel="alternate"/><published>2020-02-28T18:52:12.523000Z</published><updated>2020-02-28T18:52:12.523000Z</updated><author><name>Chräshe</name><uri>https://forge.codesys.com/u/chraeshe/</uri></author><id>https://forge.codesys.comcdf29acb4d1d02498b0f6cc26d813dbae3df948c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hallo hicom,&lt;/p&gt;
&lt;p&gt;unter &lt;a class="" href="http://www.oscat.de/" rel="nofollow"&gt;http://www.oscat.de/&lt;/a&gt; findest du genau diese Funktion: SCALE_B&lt;/p&gt;
&lt;p&gt;„SCALE_B skaliert einen Eingangswert BYTE und errechnet einen Ausgangswert in REAL. &lt;/p&gt;
&lt;p&gt;Der Eingangswert X wird dabei auf I_LO und I_HI begrenzt. SCALE_D(IN, 0, 255, 0, 100) &lt;/p&gt;
&lt;p&gt;skaliert einen Eingang mit 8 Bit Auflösung auf den Ausgang 0..100.“&lt;/p&gt;
&lt;p&gt;Gruß&lt;/p&gt;
&lt;p&gt;Chräshe&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Variable skalieren</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/cfe3d4acdd/?limit=25#f589" rel="alternate"/><published>2020-02-28T18:52:09.536000Z</published><updated>2020-02-28T18:52:09.536000Z</updated><author><name>hicom</name><uri>https://forge.codesys.com/u/hicom/</uri></author><id>https://forge.codesys.comfd9756eb1cad945a6f0f919c7afc01e0bc2d671d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;danke für die Antwort.&lt;/p&gt;
&lt;p&gt;wundert mich eigentlich etwas, sowas ging ja schon bei der alten &lt;/p&gt;
&lt;p&gt;PCS 100 von Lauer &lt;/p&gt;
&lt;p&gt;Wir setzen normalerweise Zenon von Copa Data ein, da ist das auch kein&lt;/p&gt;
&lt;p&gt;Problem, eine Variable für Anzeige und Eingabe kann beliebig skaliert werden.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Variable skalieren</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/cfe3d4acdd/?limit=25#a287" rel="alternate"/><published>2020-02-28T18:52:01.495000Z</published><updated>2020-02-28T18:52:01.495000Z</updated><author><name>Erik Böhm</name><uri>https://forge.codesys.com/u/erik-boehm/</uri></author><id>https://forge.codesys.comfeddd40d67aced4cb7cd394fd715504abde90bd4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Moin&lt;/p&gt;
&lt;p&gt;Da brauchst du wohl eine 2.Variable nur zur Visualisierung die in der Anwendung skaliert wird.&lt;/p&gt;
&lt;p&gt;Skalieren kannst du nur bei Anzeigeelementen wie z.B. Slider oder Zeiger.&lt;/p&gt;
&lt;p&gt;Das geht ja auch prinzipiell schon nicht, wenn für Visu und Anwendung die selbe Variable verwendet wird.&lt;/p&gt;
&lt;p&gt;Gruss&lt;/p&gt;
&lt;p&gt;Erik&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Variable skalieren</title><link href="https://forge.codesys.com/forge/talk/Deutsch/thread/cfe3d4acdd/?limit=25#496b" rel="alternate"/><published>2020-02-28T18:51:58.455000Z</published><updated>2020-02-28T18:51:58.455000Z</updated><author><name>hicom</name><uri>https://forge.codesys.com/u/hicom/</uri></author><id>https://forge.codesys.com7c460ba0e4faf24252997c60f1c753a15e602beb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hallo,&lt;/p&gt;
&lt;p&gt;wie kann ich ein die Anzeige / Eingabe einer Variablen skalieren? &lt;/p&gt;
&lt;p&gt;Also der Bereich in der SPS ist 0..255 und angezeigt werden &lt;/p&gt;
&lt;p&gt;soll z.B. 0..100.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>