Using PRINT command with PlanetCNC TNG software
PRINT command will display any text, variable or parameter value used in PlanetCNC TNG or gcode program.
It can be considered as a debug tool, trough which user can observe and diagnose execution of program.
As an output, PRINT command uses Output window/panel:
Example 1:
Click in the MDI window and type this text:
(PRINT,PRINT example nr.1)
This will display “PRINT example nr.1” in Output window/panel:
Example 2:
Now, lets say we want to print the value of parameter _workoff_z .
Click in the MDI window and type this text:
(PRINT,#<_workoff_z>)
This will display work offset Z value in Output window/panel: