7.2.3 Scanning the status of an array element
Description
The Status property can be used to run a scan to find out whether an array access operation
is supplying a valid value.
Programming
Syntax:
Identifier [Z, S, [M[,C]]]
.vld
Description: Status is a read-only property.
Parameters: Identifier Name of array
Return Value: FALSE =
TRUE =
invalid value
valid value
Example
DEF MPIT = (R///"MPIT",,"MPIT",""/wr3)
DEF PIT = (R///"PIT",,"PIT",""/wr3)
PRESS(VS1)
MPIT = 0.6
IF MET_G[MPIT,0,4,1].VLD == TRUE
PIT = MET_G[MPIT,1,0].VAL
REG[4] = PIT
REG[1] = "OK"
ELSE
REG[1] = "ERROR"
ENDIF
END_PRESS
7.3 Table description (grid)
Definition
In
contrast to the array, the values of a table (grid) are continually updated. It is a tabular display
of values that can come from the NC or PLC. The table is organized in columns and always
has variables of the same type in one column.
Graphic and logic elements
7.3 Table description (grid)
SINUMERIK Integrate Run MyScreens
170 Programming Manual, 10/2015, 6FC5397-3DP40-5BA3