Siemens SINUMERIK 840D sl Commissioning Manual page 756

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

Advertisement

Graphic and logic elements
7.2 Defining an array
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:
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
138
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 Manual, 03/2013, 6FC5397-1DP40-3BA1
SINUMERIK Integrate Run MyScreens (BE2)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents