Siemens SINUMERIK Commissioning Manual page 389

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

Advertisement

2.3.17
ERR variable
Description
Variable ERR can be used to check whether the preceding lines have been executed
correctly.
Programming
Syntax:
Description:
Return Value:
Example
VAR4 = Thread[VAR1,"CDM",3]
IF ERR == TRUE
VAR5 = "Error accessing array"
ELSE
VAR5 = "All OK"
ENDIF
Expanding the user interface
Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0
ERR
The ERR variable is read-only.
The result of the scan can be:
FALSE = previous line was executed error-free
TRUE = previous line was not executed error-free
;
;
;
;
Output value from array
Scan to check whether value has been found
in array
If the value has not been found in the
array, the value "Error accessing array" is
assigned to the variables.
;If the value has been found in the array,
the value "All OK" is assigned to the
variables.
Programming
2.3 Variables
2-39

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents