Example
VAR4 = Thread[VAR1,"CDM",3] ; Output value from array
IF ERR == TRUE ; Query whether the value has been found in
the array
VAR5 = "Error accessing array"
; If the value has not been found in the ar-
ray,
the value "Error accessing array" is as-
signed to the variables.
ELSE
VAR5 = "All OK" ; If the value has been found in the array,
the value "All OK" is assigned to the varia-
bles.
ENDIF
5.20 FILE_ERR variable
Description
Variable FILE_ERR can be used to check whether the preceding GC or CP command has
been executed correctly.
Programming
Syntax: FILE_ERR
Description: The FILE_ERR variable is read-only.
Return value:
Possible results are:
0 = Operation okay
1 = Drive/path not available
2 = Path/file access error
3 = Drive not ready
4 = Incorrect file name
5 = File is already open
6 = Access denied
7 = Target path not available or not permitted
8 = Copy source same as target
10 = Internal error: FILE_ERR = 10 means that the error cannot be classified
in the other categories.
Variables
5.20 FILE_ERR variable
SINUMERIK Integrate Run MyScreens
84 Programming Manual, 10/2015, 6FC5397-3DP40-5BA3