Rockwell Automation 8520-GUM 9/Series CNC Grinder Operation and Programming Manual Documentation Set User Manual

Page 706

Advertising
background image

Paramacros

Chapter 20

20-62

Example 20.25 gives an example of a DPRNT program.

Example 20.25

DPRNT Program Example

#12=123.45678;
#4=-98.7;
#30=234.567
POPEN;
DPRNT[___________________________________________]
DPRNT[COMMENT*HERE*X#12[53]*Y#4[53]*T#30[20]];
DPRNT[___________________________________________]
PCLOS;
M30;

The output from the above program would be:

COMMENT HERE X23.456 Y-98.700 T35

END OF CHAPTER

Advertising