Fanuc Power Mate i-D/H Operator Manual

PROGRAMMING
(Common to Power Mate i–D and –H)
B–63174EN/03
13. CUSTOM MACRO
141
indicate a positive number instead of +; if bit 1 (PRT) of parameter
No. 6001 is 1, no code is output.
Example )
DPRINT [ X#2 [53] Y#5 [53] T#30 [20] ]
Variable value
#2=128.47398
#5=–91.2
#30=123.456
(sp)
(1) Parameter PRT(No.6001#1)=0
L F
T
Y –
X
91200
128474
23
LF
T23
Y–91.200
X128.474
(2) Parameter PRT(No.6001#1)=1
(sp) (sp) (sp)
(sp) (sp) (sp)
PCLOS ;
The PCLOS command releases a connection to an external input/output
device. Specify this command when all data output commands have
terminated. DC4 control code is output from the CNC.
Close command PCLOS

Leave a Reply

Your email address will not be published. Required fields are marked *