Programming
2.3 Variables
Expanding the user interface
Commissioning Manual, 11/2006, 6FC5397-0DP10-0BA0
2-39
2.3.17
ERR variable
Description
Variable ERR can be used to check whether the preceding lines have been executed
correctly.
Programming
Syntax:
ERR
Description:
The ERR variable is read-only.
Return Value:
The result of the scan can be:
FALSE = previous line was executed error-free
TRUE = previous line was not executed error-free
Example
VAR4 = Thread[VAR1,"CDM",3]
; Output value from array
IF ERR == TRUE
; Scan to check whether value has been found
in array
VAR5 = "Error accessing array"
; If the value has not been found in the
array, the value "Error accessing array" is
assigned to the variables.
ELSE
VAR5 = "All OK"
; ;If the value has been found in the array,
the value "All OK" is assigned to the
variables.
ENDIF
Summary of Contents for SINUMERIK
Page 6: ...Preface Base software and HMI Advanced 6 Commissioning Manual 03 2009 6FC5397 0DP10 3BA0 ...
Page 96: ......
Page 562: ...Index Expanding the user interface Index 4 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 ...
Page 566: ...Table of contents Online Help HE1 4 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 ...
Page 598: ...Online Help HE1 Commissioning Manual 11 2006 6FC5397 0DP10 0BA0 36 ...