System information
SECTION SIX - PARAMETRIC PROGRAMMING
DPRNT DPRNT outputs text to a file or RS-232 port which is specified by the
POPEN command.
Example: DPRNT [PLEASE CLEAR THE WORK AREA]
#n writes the value of a parameter
Example: DPRNT [X#208 Y#209 Z#210] outputs the current X, Y,and Z positions
to a file or an RS-232 port.
#n[LT] will output parameter n with L leading and T trailing digits.
Example: P100=1.235 P101=2.87656
DPRNT [P100=#100[04] P101=#101[33]] outputs
“P100=1.2350 P101=002.877”
If the leading and trailing fields are left blank, the default leading and trailing format for
the machine setup parameters is used.
If LT=00, the ASCII value of the parameter is shown.
Example: P1=40 (ASCII ( )
P2=72 (ASCII H)
P3=105 (ASCII i)
P4=41 (ASCII ) )
PRINT [#1[00]#2[00]#3[00]#4[00]] outputs (Hi)
If LT=-1, the parameter is ignored. The time is shown in format 0hh:mm:ss.
If LT=-2, the parameter is ignored. The date is shown in format yy/mm/dd.
Example: DPRNT [Time=#1[-1] Date=#1[-2]] shows “Time=012:51:52 Date=97/10/23”
DPRNT can be used to generate report files relating to parts production, parts
inspections, digitizing information, etc.
337










