Fanuc Series 15i/150i-MA (Programming) Operators Manual

B-63324EN/03 PROGRAMMING 17.CUSTOM MACRO
- 659 -
17.12 EXTERNAL OUTPUT COMMANDS
In addition to the standard custom macro commands, the following
macro commands are available. They are referred to as external output
commands.
- BPRNT
- DPRNT
- POPEN
- PCLOS
These commands are provided to output variable values and characters
through the reader/punch interface.
Explanations
Specify these commands in the following order:
Open command: POPEN
Before specifying a sequence of data output commands, specify
this command to establish a connection to an external input/output
device.
Data output command: BPRNT or DPRNT
Specify necessary data output.
Close command: PCLOS
When all data output commands have completed, specify PCLOS
to release a connection to an external input/output device.
- Open command POPEN
POPEN establishes a connection to an external input/output device. It
must be specified before a sequence of data output commands. The
CNC outputs a DC2 control code.
- Data output command BPRNT
The BPRNT command outputs characters and variable values in
binary.
(i) Specified characters are converted to the codes according to the
parameter EIA(No.0000 #4) that is output at that time.
Specifiable characters are as follows:
- Letters (A to Z)
- Numbers
- Special characters (*, /, +, -, @ , ? , &)
An asterisk (*) is output by a space code.
Number of significant decimal places
BPRNT [ a #b [c] . . . ]
Variable
Character

Leave a Reply

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