4551
Mach4 General Discussion / Re: How to Pass Values to Subroutines in Mach4
« on: May 16, 2018, 01:31:13 AM »
Hi,
if it works in Mach3 it should work in Mach4.
When all said and done Mach of either flavor is a Gcode interpreter and both should process good Gcode. My experience is that Mach4 is a little stricter
in its adherence to the 'rules' established by Fanuc.
Have you tried this code in Mach4? Not sure but the % symbols may not be Mach4 compatible. The logic should be OK however I think that your choice of pound variables
may clash with previously assigned Mach4 values. I would recommend #500 thru #549.
Have a look at the pound variable assignments which have been identified:
http://www.machsupport.com/forum/index.php/topic,27396.msg193456.html#msg193456
Craig
if it works in Mach3 it should work in Mach4.
When all said and done Mach of either flavor is a Gcode interpreter and both should process good Gcode. My experience is that Mach4 is a little stricter
in its adherence to the 'rules' established by Fanuc.
Have you tried this code in Mach4? Not sure but the % symbols may not be Mach4 compatible. The logic should be OK however I think that your choice of pound variables
may clash with previously assigned Mach4 values. I would recommend #500 thru #549.
Have a look at the pound variable assignments which have been identified:
http://www.machsupport.com/forum/index.php/topic,27396.msg193456.html#msg193456
Craig