Substitution Characters; Addressing Components; Plc Addressing - Siemens SINUMERIK 808D ADVANCED Commissioning Manual

Hide thumbs Also See for SINUMERIK 808D ADVANCED:
Table of Contents

Advertisement

14.8.2

Substitution characters

The system offers the option of defining control properties (attribute values) for the runtime. In order to use this function, the
desired property must be set in a local variable and the variable name must be transferred to the tag as an attribute value
preceded by the character $.
If the tag expects a string as attribute value or value, the $$$ characters must be placed in front of the variable name.
Example:
<let name="my_ypos">100</let>
<let name="field_name" type="string"></let>
<control name = "edit1" xpos = "322" ypos = "$my_ypos" refvar="nck/Channel/Parameter/R[1]"
/>
<op>my_ypos = my_ypos +20 </op>
<control name = "edit2" xpos = "322" ypos = "$my_ypos" refvar="nck/Channel/Parameter/R[2]"
/>
<print name =" field_name" text="edit%d">3</print>
<op>my_ypos = my_ypos +20 </op>
<control name = "$field_name" xpos = "322" ypos = "$my_ypos"
refvar="nck/Channel/Parameter/R3]" />
<caption>$$$field_name</caption>
14.9

Addressing components

Address identifiers for the desired data must be created to address NC variables, PLC blocks or drive data. An address
consists of the subpaths component name and variable address. A slash should be used as a separating character.
14.9.1

PLC addressing

Addressing the PLC starts with the path section plc.
The following addresses are permissible:
DBx.DB(f)
I(f)x
Q(f)x
M(f)x
V(f)x
DBx.DBXx.b
Ix.b
Qx.b
Mx.b
Vx.b
Data format f:
B
W
D
Data format identification is not applicable to bit addressing.
352
Data block
Input
Output
Bit memory
Variable
Data block
Input
Output
Bit memory
Variable
Byte
Word
Double word
Commissioning Manual
01/2017

Advertisement

Table of Contents
loading

Table of Contents