EasyManua.ls Logo

Siemens SINUMERIK 828D

Siemens SINUMERIK 828D
1167 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Examples
Note
The following examples build upon each other. The sequence of the examples is relevant in
order to understand the respective results.
Requirement/assumption:
DEF VAR_AC = (I/* 0="Off",1="On"/1/,"Switch"/WR2)
Adding an element -1="Undefined" to the end of the list:
LISTADDITEM("VAR_AC", -1, """Undefined""")
Result: 0="Off", 1="On", -1="Undefined"
Inserting an element 99="Maybe" at position 2:
LISTINSERTITEM("VAR_AC", 2, 99, """Maybe""")
Result: 0="Off", 1="On", 99="Maybe", -1="Undefined"
Determining the current number of list elements:
REG[10]=LISTCOUNT("VAR_AC")
Result: REG[10] = 4
Deleting the element at position 1:
LISTDELETEITEM("VAR_AC", 1)
Result: 0="Off", 99="Maybe", -1="Undefined"
Deletion of the complete list:
LISTCLEAR("VAR_AC")
Result: List is empty
Programming commands
6.3 Functions
SINUMERIK Integrate Run MyScreens
Programming Manual, 10/2015, 6FC5397-3DP40-5BA3 125

Table of Contents

Other manuals for Siemens SINUMERIK 828D

Related product manuals