Siemens Sinumerik 840D sl Programming Manual page 153

Job planning
Hide thumbs Also See for Sinumerik 840D sl:
Table of Contents

Advertisement

<result>:
Example
Program code
N10 DEF BOOL RESULT
N20 RESULT=ISFILE("TESTFILE")
N30 IF(RESULT==FALSE)
N40 MSG("FILE DOES NOT EXIST")
N50 M0
N60 ENDIF
...
or:
Program code
N10 DEF BOOL RESULT
N20 RESULT=ISFILE("TESTFILE")
N30 IF(NOT ISFILE("TESTFILE"))
N40 MSG("FILE DOES NOT EXIST")
N50 M0
N60 ENDIF
...
Job planning
Programming Manual, 02/2011, 6FC5398-2BP40-1BA0
Result variable to which the result of the check is assigned.
Type.
BOOL
Value:
TRUE
File exists
FALSE
File does not exist
Flexible NC programming
1.21 Check for presence of file (ISFILE)
Comment
; Definition of result variables.
Comment
; Definition of result variables.
153

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de slSinumerik 828d

Table of Contents