EasyManuals Logo

Siemens SINUMERIK 810D Programming Manual

Siemens SINUMERIK 810D
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 810D

Questions and Answers:

Question and Answer IconNeed help?

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

Siemens SINUMERIK 810D Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK 810D
CategoryControl Unit
LanguageEnglish

Related product manuals