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.
Does KMotionCNC with a KFLOP & PMDX need SIMESTOPBIT?
Moderators: TomKerekes, dynomotion
-
- Posts: 21
- Joined: Tue Nov 20, 2018 5:39 pm
- Location: Sharonville, Ohio
- TomKerekes
- Posts: 2677
- Joined: Mon Dec 04, 2017 1:49 am
Re: Does KMotionCNC with a KFLOP & PMDX need SIMESTOPBIT?
No. KMotionCNC will display Encoder positions whether or not EStop is present or KFLOP Axes are disabled.
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.