EasyManuals Logo

Siemens SINUMERIK 840D Programming Manual

Siemens SINUMERIK 840D
687 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
Page #82 background imageLoading...
Page #82 background image
Flexible NC programming
1.22 FILEDATE/TIME/SIZE/STAT/INFO: File information
Job planning
1-68 Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
result
Variable with the result in which the file information is
saved
(Call-by-reference parameter) of a STRING type for:
FILEDATE, the length must be 8, format is "dd.mm.yy"
FILETIME, the length must be 8, format is "hh:mm.ss"
FILESTAT, the length must be 5, format is "rwxsd"
FILEINFO, the length must be 32, format is
"rwxsd nnnnnnnn dd.mm.yy hh:mm:ss"
(Call-by-reference parameter) of a INT type for:
FILESIZE, file size is output in bytes
"rwxsd" (read, write, execute, show, delete)
Examples
N10 DEF INT ERROR ;error variable
N20 STRING[32] RESULT ;result variable
...
N30 FILEINFO(ERROR, "TESTFILE", RESULT) ;file name without domain and file
;identifier
...
N30 FILEINFO(ERROR, "TESTFILE_MPF",
RESULT)
;file name without domain and with
;file identifier
...
N30 FILEINFO(ERROR,"_N_TESTFILE_MPF",
RESULT)
;file name with domain and file
;identifier
...
N30 FILEINFO
(ERROR,"/_N_MPF_DIR/_N_TESTFILE_MPF",
RESULT)
;file name with domain and file
;identifier and path specification
...
N40 IF ERROR <>0 ;error evaluation
N50 MSG("ERROR "<<ERROR<<"
WITH FILE INFO COMMAND")
N60 M0
N70 ENDIF
...
Returns in the RESULT event variable: "77777 12345678 26.05.00 13:51:30"

Table of Contents

Other manuals for Siemens SINUMERIK 840D

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK 840D and is the answer not in the manual?

Siemens SINUMERIK 840D Specifications

General IconGeneral
SeriesSINUMERIK 840D
AxesUp to 31
ChannelsUp to 10
Operating SystemWindows-based
Power Supply24 V DC
Control Unit TypeCNC
InterfaceEthernet, PROFIBUS
DisplayTFT color display
InterpolationSpline
PLCIntegrated PLC
Data StorageCompactFlash, USB

Related product manuals