Owner's manual
Paramacros
Chapter 28
28-57
Example 28.22 would yield an output equal to the character strings with
the * symbols being converted to spaces and the parameter values for
parameters #123 and #234. The value of the parameter is output in binary
as a 32-bit string with the most significant bit output first. Negative values
are output in 2’s complement.
Example 28.23
BPRNT Program Example
#123=0.40936;
#124=-1638.4;
#10=12.34;
POPEN;
BPRNT[____________________________________________];
BPRNT[COMMENT*HERE*X#123[3]**Y#124[3]**Z#10[0]];
BPRNT[____________________________________________];
PCLOS;
M30;
The output from Example 28.23 would be:
COMMENT HERE X0.409 Y1638.400 Z12.
If the output went to a punched paper tape, it would be formatted in ISO
code.
DPRNT
This command initiates the outputting of a variable number of parameter
values in decimal 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 DPRNT block is:
DPRNT [ s #p[id]...];
Where : Is :
s
Is anyalpha-numericstring ofcharacters,including all letters,+,-,*,and/
symbols. Note thatthe * is outputas aspace character. This stringisoptional
and does notneedtobe programmed intheblock.
#p
Thisis anyvalidparameternumber. Notethatthe parameter numbermusthave
the#signbeforeit.
i
Thisindicates the number ofdigitsbefore the decimalpointtobe output.
d
Thisindicates the number ofdigitsafterthedecimal pointto be output.
Important: The sum of i + d cannot exceed 8.










