2651
CS-Lab / Re: Precise homing even with CSMIO-M
« on: May 04, 2014, 06:59:17 AM »
I think what Hood is doing is this.
Is Ref All macro does not do any homing in Mach3, and he has no home switches enabled in Mach3.
His macro tells the servo drives to home the machine (through Modbus). When the servo drives have finished homing, they send a signal back to the macro via ModBus. When the macro receives this signal, it calls the Mach3 Ref (Home) command. Since there are no Home switches enabled, this just sets machine coordinates to zero.
You probably don't even need to send a signal back to Mach3 (the macro) to verify that homing is complete. But if you don't, your homing macro will finish before homing is actually completed. You'd need to make sure you don't try to move the machine before homing completes.
Is Ref All macro does not do any homing in Mach3, and he has no home switches enabled in Mach3.
His macro tells the servo drives to home the machine (through Modbus). When the servo drives have finished homing, they send a signal back to the macro via ModBus. When the macro receives this signal, it calls the Mach3 Ref (Home) command. Since there are no Home switches enabled, this just sets machine coordinates to zero.
You probably don't even need to send a signal back to Mach3 (the macro) to verify that homing is complete. But if you don't, your homing macro will finish before homing is actually completed. You'd need to make sure you don't try to move the machine before homing completes.