
15.
CUSTOM MACRO
15.5 External Output Commands
(3)
(Example 2) DPRNT
Variable value
#2
= 128.47398
#5=
-91.2
#30
= 123.456
@
Parameter PRT
=
0
@
Parameter PRT
=
1
(4)
0
Q
0
[53]
TK30
[20]]
---
Close command PCLOS
PCLOS
;
This command is specified when all data output commands are completed, to
reiease the processing connection to external
i/O
units. DC4 control code is
output from CNC.
Setting required for using this function
Specify a channel used for the setting parameter (No. 020).
Set data (baud rate) about reader/puncher interface according to the setting
parameter
I/O.
Serial port
1:
Parameter Nos.
111
and
0113
Specify parameter No. 112 so that the punch out output device is the
reader/puncher interface.
(Do not set it to FANUC CASSETTE or FLOPPY).
-When data is output by DPRNT command, it is selected whether leading zeros
is output by space or not.
PRT
7 6 5 4 3 2
1
0
PRT
1:
Space is output as a leading zero.
0:
None is output as a leading zero.