EasyManua.ls Logo

Siemens SINUMERIK 828D

Siemens SINUMERIK 828D
822 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Flexible NC programming
1.21 Check for presence of file (ISFILE)
Job planning
142 Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
Result variable to which the result of the check is assigned.
Type. BOOL
TRUE File exists
<result>:
Value:
FALSE File does not exist
Example
Program code Comment
N10 DEF BOOL RESULT ; Definition of result variables.
N20 RESULT=ISFILE("TESTFILE")
N30 IF(RESULT==FALSE)
N40 MSG("FILE DOES NOT EXIST")
N50 M0
N60 ENDIF
...
or:
Program code Comment
N10 DEF BOOL RESULT ; Definition of result variables.
N20 RESULT=ISFILE("TESTFILE")
N30 IF(NOT ISFILE("TESTFILE"))
N40 MSG("FILE DOES NOT EXIST")
N50 M0
N60 ENDIF
...

Table of Contents

Other manuals for Siemens SINUMERIK 828D

Related product manuals