EasyManuals Logo

Siemens SINUMERIK 840D Commissioning Manual

Siemens SINUMERIK 840D
626 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
Page #57 background imageLoading...
Page #57 background image
08/2005 Expanding the Operator Interface (BE1)
3 Syntax
© Siemens AG, 2005. All rights reserved
SINUMERIK 840D sl/840D/840Di/810D HMI Installation and Start-Up Guide (IAM) – 08/2005 Edition
BE1/3-51
Extract from file maske.com:
DEF Var2 = (S/*ARR5/"Out"/,"Toggle field")
PRESS(HS5)
LA("ARR5","arrayext.com") ;Load array ARR5 from file
arrayext.com
VAR2 = ARR5[0] ;"Above"/"Below"/"Right"/"Left"
;appears in VAR2 toggle field
;instead of "Out/In"
END_PRESS
//A(ARR5)
("Out"/"In")
//END
Extract from file arrayext.com:
//A(ARR5)
("Top"/"Bottom"/"Right"/"Left")
//END
Note
Please note that a valid value must be assigned to a variable after the LA function
has been used to assign another array to the toggle field of the variable.
Access
The value of an array access operation can be transferred with property Value
(identifier.val).
Access to one-dimensional array with only one column:
Identifier [Z,[M[,C]]] Or Identifier [Z,[M[,C]]].val
Access to one-dimensional array with only one line:
Identifier [S,[M[,C]]] Or Identifier [S,[M[,C]]].val
Access to two-dimensional array:
Identifier [Z,S,[M[,C]]] Or Identifier [Z,S,[M[,C]]].val
where:
Identifier Name of array
Z Line value (line index or search concept)
S Column value (column index or search concept)
M Access mode 0 = Direct
1 = searches the line, column directly
2 = line direct, search the column
3 = searching
4 = searches the line index
5 = searches the column index
C Compare mode 0 = Search concept must be located in value range
of line or column
1 = Search concept must be located exactly
VAR1 = MET_G[REG[3],1,0].VAL
;Assign Var1 a value from array MET_G

Table of Contents

Other manuals for Siemens SINUMERIK 840D

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK 840D and is the answer not in the manual?

Siemens SINUMERIK 840D Specifications

General IconGeneral
SeriesSINUMERIK 840D
AxesUp to 31
ChannelsUp to 10
Operating SystemWindows-based
Power Supply24 V DC
Control Unit TypeCNC
InterfaceEthernet, PROFIBUS
DisplayTFT color display
InterpolationSpline
PLCIntegrated PLC
Data StorageCompactFlash, USB

Related product manuals