Siemens SINUMERIK Commissioning Manual page 397

Sinumerik 840di sl/840d sl/840dbase software and hmi advanced
Hide thumbs Also See for SINUMERIK:
Table of Contents

Advertisement

2.4.4
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:
Description:
Parameters:
Return Value:
Example
DEF MPIT = (R///"MPIT",,"MPIT",""/wr3)
DEF PIT
PRESS(VS1)
MPIT = 0.6
IF MET_G[MPIT,0,4,1].VLD == TRUE
ELSE
ENDIF
END_PRESS
2.4.5
Table grid (grid)
Definition
In contrast to the array, the values of a table grid (grid) are continually updated. This involves
a tabular representation of the values of system variables that can be addressed using one
block in one channel.
Expanding the user interface
Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0
Identifier [Z, S, [M[,C]]]
Status is a read-only property.
Identifier
= (R///"PIT",,"PIT",""/wr3)
PIT
= MET_G[MPIT,1,0].VAL
REG[4] = PIT
REG[1] = "OK"
REG[1] = "ERROR"
.vld
Name of array
FALSE =
invalid value
TRUE =
valid value
Programming
2.4 Complex dialog elements
2-47

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents