Hello Guest it is March 29, 2024, 02:51:43 AM

Author Topic: Passing data from Post to Mach with Macros  (Read 1591 times)

0 Members and 1 Guest are viewing this topic.

Passing data from Post to Mach with Macros
« on: September 06, 2017, 12:59:33 PM »
So I can set up my post (in Sheetcam) to do this as part of the initial gcode block:

M501 P163 (cutting voltage)
M502 P0.36 (pierce height)
M503 P0.16 (cut height)
M504 P1.8 (pierce delay)

What I want to do now, is write the associated macro in Mach3, which would pull in these P values, and write them to certain DRO's in Mach. This way, the tooltable can be used to set all the cutting parms, and the operator doesn't need to be manually entering them in. Does anyone have a method for this? Maybe an example macro?

Garet