Siemens SINUMERIK 840DE sl Commissioning Manual page 743

Basesoftware and operating software
Hide thumbs Also See for SINUMERIK 840DE sl:
Table of Contents

Advertisement

Tag identifier
DATA_LIST
DO_WHILE
Easy XML
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1
Meaning
The tag enables the listed drive and machine data to be saved or restored.
Addresses are listed in lines. Chapter "Component addressing" (Page 85) describes how
addresses are formed.
Up to 20 temporary data lists can be created.
Attributes:
● action
read – the values of the listed variables are stored in a temporary memory
append – the values of the listed variables are added to an existing list
write – the backed up values are copied to the relevant machine data
● id
The identifier identifies the temporary memory
Syntax:
<DATA_LIST action="<read/write/append>"
NC/PLC address compilation
</DATA_LIST>
Example:
<DATA_LIST action ="read" id="<name>">
nck/channel/parameter/r[2]
nck/channel/parameter/r[3]
nck/channel/parameter/r[4]
$MN_USER_DATA_INT[0]
...
</ DATA_LIST>
<DATA_LIST action ="write" id="<name>" />
Do while loop
DO
Instructions
WHILE (Test)
Syntax:
<DO_WHILE>
Instructions
...
<CONDITION>...</CONDITION>
</DO_WHILE>
The Do While loop comprises a block of instructions and a condition. The code in the in‐
struction block is executed first, then the condition is applied. If the condition is true, the
function executes the code section again. This is continually repeated until the condition is
false.
Example:
<DO_WHILE>
<DATA name = "PLC/qb11"> 15 </DATA>
<CONDITIION> "plc/ib9" == 0 </CONDITION>
</DO_WHILE>
Generating user dialogs
1.7 XML identifier
id="<list name>">
25

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents