Does KMotionCNC with a KFLOP & PMDX need SIMESTOPBIT?
Posted: Sun Oct 25, 2020 5:47 pm
On line 216 of <>\C Programs\Mach3_CL_PMDX.c, an accommodation for Mach3 is explained (I've elaborated);
Because of the way the PMDX-131 board works (Manual mode forces EStop also), we need to simulate a new EStop ("SIMESTOPBIT") that is only active when NOT in Manual mode. Manual mode allows the operator to turn the motors by hand, and still have the Mach3 DROs update, showing encoder position (glass scale position). It does this by sending a signal to disable the amplifiers, and switches the axis modes from Closed Loop to Open Loop, to avoid any following error faults. Disabling the amplifiers automatically asserts EStop, which throws Mach3 into EStop, and you can't get Mach3 to update the external encoder DROs while in EStop. Hence this "virtual EStop bit", which is the logical combination of the external EStop and NOT Manual mode. Also, when switching from manual back to Auto, the destinations need to be set to the glass scale positions, BEFORE the steppers are re-enabled.
Does this also apply to KMotionCNC (not using Mach3) when controlling a KFLOP & PMDX?
In other words, is the following true;
Disabling the amplifiers automatically asserts EStop, which throws KMotionCNC into EStop, and you can't get KMotionCNC to update the external encoder DROs while in EStop.
Because of the way the PMDX-131 board works (Manual mode forces EStop also), we need to simulate a new EStop ("SIMESTOPBIT") that is only active when NOT in Manual mode. Manual mode allows the operator to turn the motors by hand, and still have the Mach3 DROs update, showing encoder position (glass scale position). It does this by sending a signal to disable the amplifiers, and switches the axis modes from Closed Loop to Open Loop, to avoid any following error faults. Disabling the amplifiers automatically asserts EStop, which throws Mach3 into EStop, and you can't get Mach3 to update the external encoder DROs while in EStop. Hence this "virtual EStop bit", which is the logical combination of the external EStop and NOT Manual mode. Also, when switching from manual back to Auto, the destinations need to be set to the glass scale positions, BEFORE the steppers are re-enabled.
Does this also apply to KMotionCNC (not using Mach3) when controlling a KFLOP & PMDX?
In other words, is the following true;
Disabling the amplifiers automatically asserts EStop, which throws KMotionCNC into EStop, and you can't get KMotionCNC to update the external encoder DROs while in EStop.