Owner's manual

Paramacros
Chapter 28
28-56
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 c ode 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-numeric stringofcharacters,includingallletters,+,-,*,and /
symbols. Note thatthe * is outputas aspace character. This stringisoptional
and does notneedtobe programmed intheblock.
#p This is anyvalidparameternumber. Notethat theparameternumbermusthave
the#signbeforeit.
d T his indicatesthenumberofdigitsafterthedecimalpointto beoutput.
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]];