Siemens SINUMERIK 840DE sl Commissioning Manual page 1098

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

Advertisement

Variables
5.20 FILE_ERR variable
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:
Description:
Return value:
Example
CP("D:\source.mpf","E:\target.mpf")
IF FILE_ERR > 0
ELSE
112
FILE_ERR
The FILE_ERR variable is read-only.
0 =
1 =
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
IF FILE_ERR == 1
VAR5 = "Drive/path not available"
ELSE
IF FILE_ERR == 2
VAR5 = "Path/file access error"
ELSE
IF FILE_ERR == 3
VAR5 = "incorrect file name"
ENDIF
ENDIF
ENDIF
Possible results are:
Operation okay
Drive/path not available
in the other categories.
Programming Manual, 12/2017, 6FC5397-1DP40-6BA1
; Copy from source.mpf to E:\tar-
get.mpf
; Query whether error has occurred
; Query specific error numbers and
output associated error text
SINUMERIK Integrate Run MyScreens (BE2)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents