Herunterladen Diese Seite drucken

Siemens SINUMERIK 840D sl Inbetriebnahmehandbuch Seite 655

Basesoftware und bedien-software
Vorschau ausblenden Andere Handbücher für SINUMERIK 840D sl:

Werbung

Tag-Bezeichner
CONTROL Fortsetzung
CONTROL Fortsetzung
Easy XML
Programmierhandbuch, 12/2018, A5E40869575 AC
Bedeutung
Beispiel Attribut format:
<let name="val_test">255</let>
<form name="main_form">
<init>
<caption>bool hex octal bin display</caption>
<control name="test_oVal" xpos="250" ypos="60"
refvar="val_test" hotlink = "true" />
<control name="test_bool" xpos="250" ypos="90"
refvar="val_test" hotlink = "true" format="%b"/>
<control name="test_hex" xpos="250" ypos="120"
refvar="val_test" hotlink = "true" format="%x"/>
<control name="test" xpos="250" ypos="150"
refvar="val_test" hotlink = "true" format="%o"/>
<control name="test_b" xpos="200" ypos="180"
width="300" refvar="val_test" hotlink = "true"
format="%n"/>
</init>
<paint>
<text xpos="16" ypos="60">integer value</text>
<text xpos="16" ypos="90">boolean display</text>
<text xpos="16" ypos="120">hexadecimal
display</text>
<text xpos="16" ypos="150">octal display</text>
<text xpos="16" ypos="180">binary display</text>
</paint>
</form>
Attribute:
● color_bk
Das Attribut setzt die Hintergrundfarbe des Controls.
● color_fg
Das Attribut setzt die Vordergrundfarbe des Controls.
Farbcodierung (siehe Kapitel "Farbcodierung (Seite 49)")
● display_format
Das Attribut definiert das Verarbeitungsformat der angegebenen Variablen. Dieses Attribut
muss bei einem Zugriff auf eine PLC – Float Variable angewendet werden, da der Zugriff
über das Lesen eines Doppelwortes erfolgt.
Folgende Datenformate sind zulässig:
FLOAT
INT
DOUBLE
STRING
Ausdrücke (z. B. anzuzeigender Text oder Grafikelement) einer Listbox, Grafikbox oder Com‐
bobox zuweisen:
Syntax:
<ITEM>Ausdruck</ITEM>
<ITEM value ="<Wert>">Ausdruck</ITEM>
Anwenderdialoge erstellen
1.7 XML-Bezeichner
71

Quicklinks ausblenden:

Werbung

loading

Diese Anleitung auch für:

Sinumerik 840de sl