File access
Identifier Parameter Explanation
READ 1. 2. 3. 4. 5. Read blocks from file
system
VAR INT:
Error
CHAR[160]:
File name
INT:
Start line of
the file section
to be read
INT:
Number of
lines to be
read
VAR
CHAR[255]:
Variable array
in which the
read informa‐
tion is stored
WRITE 1. 2. 3. 4. Write block to file sys‐
tem (or to an external
device/file)
VAR INT:
Error
CHAR[160]:
File name
STRING:
Device/file for
external out‐
put
CHAR[200]:
Block
DELETE 1. 2. Delete file
VAR INT:
Error
CHAR[160]:
File name
Alarms
Identifier Parameter Explanation
1. 2.
SETAL INT:
Alarm number
(cycle alarms)
STRING:
Character
string
Set alarm
A character string with up to four parameters can be specified in addition
to the alarm number.
The following predefined parameters are available:
%1 = channel number
%2 = block number, label
%3 = text index for cycle alarms
%4 = additional alarm parameters
Tool management
Identifier Parameter Explanation
1. 2.
DELDL INT:
T no.
INT:
D no.
Delete all additive off‐
sets of the tool edge
(or of a tool if D is not
specified)
DELT STRING[32]:
Tool identifier
INT:
Duplo no.
Delete tool
Duplo number can be
omitted
Tables
4.4 Predefined procedures
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0 1279