Fanuc Power Mate i-D/H Operator Manual

PROGRAMMING
(Common to Power Mate i–D and –H)
13. CUSTOM MACRO
B–63174EN/03
142
Specify the channel use for parameter 020. According to the specification
of this parameter, set data items (such as the baud rate) for the
reader/punch interface.
I/O channel 0 : Parameters 101 and 103
I/O channel 1 : Parameters 111 and 113
Specify parameter 102 or 112 so that the reader/punch interface is used
as the output device for punching. (Never specify output to the Fanuc
Cassette or floppy disks.)
When specifying a DPRNT command to output data, specify whether
leading zeros are output as spaces (by setting bit 1 (PRT) of parameter No.
6001 to 1 or 0).
To indicate the end of a line of data in ISO code, specify whether to use
only an LF (bit 4 (CRO) of parameter No. 6001 is set to 0) or an LF and
CR (bit 4 (CRO) of parameter No. 6001 is set to 1).
NOTE
1 It is not necessary to always specify the open command
(POPEN), data output command (BPRNT, DPRNT), and
close command (PCLOS) together. Once an open
command is specified at the beginning of a program, it does
not need to be specified again except after a close
command was specified.
2 Be sure to specify open commands and close commands
in pairs. Specify the close command at the end of the
program. However, do not specify a close command if no
open command has been specified.
3 When a reset operation is performed while commands are
being output by a data output command, output is stopped
and subsequent data is erased. Therefore, when a reset
operation is performed by a code such as M30 at the end
of a program that performs data output, specify a close
command at the end of the program so that processing such
as M30 is not performed until all data is output.
4 Abbreviated macro words enclosed in brackets [ ] remains
unchanged. However, note that when the characters in
brackets are divided and input several times, the second
and subsequent abbreviations are converted and input.
5 O can be specified in brackets [ ]. Note that when the
characters in brackets [ ] are divided and input several
times, O is omitted in the second and subsequent inputs.
Required setting

Leave a Reply

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