Variables
5.16 ERR variable
5.16
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
70
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
; Query 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.
SINUMERIK Integrate Run MyScreens (BE2)
Programming Manual, 03/2013, 6FC5397-1DP40-3BA1