Manual

Paramacros
Chapter 28
28-53
POPEN
This command affects a connection to the output device by sending a DC2
control code and a percent character “%” to the RS-232 interface. This
command must be specified prior to outputting any data. After this
command, the control outputs any following program blocks including the
parameter values that are used in them.
The format for a POPEN block is:
POPEN;
PCLOSE
This command disconnects the control from the output device by sending a
DC4 control code and a percent character “%” to the RS-232 interface.
This command must be specified after all data have been output. This
command only executes provided that the corresponding POPEN
command has previously been executed.
The format for a PCLOSE block is:
PCLOS;
BPRNT
This command initiates the outputting of a variable number of parameter
values in binary format. An end of block character is output at the
completion of outputting all of the specified values. This command will
not be executed if the POPEN command has not been issued.
The format for the BPRNT block is:
BPRNT [ s #p[d]...];
Where : Is :
s is any alpha-numericstring of characters, includingall letters, +, -, *, and/
symbols. Note that the* isoutput as aspace character. This stringis optional
and does not need tobe programmedin the block.
#p This is anyvalid parameternumber. Note that the parameter number must have
the # sign before it.
d This indicatesthe numberof digits after thedecimal point tobe output.
There may be as many S and #P in a block as desired provided that the
length of the block does not exceed the maximum block size.
Example 28.22
Sample of a BPRNT Block
BPRNT[INSTALL*TOOL*NUMBER*1#123[4]*PRESS*CYCLE*STOP**#234[2]];