As time goes on, I'm slowing thinking this has more and more to do with the way I've setup EStop and Machine ON. I have to admit that I don't understand *why* these could be interfering with the operation of the pendant, but the fastest way I can cause a fault is to toggle the estop pendant button once the machine is "ON" (F2 pressed). To that end, I thought I would post my schematics for that area of the machine.
It is pretty simple but let me explain again... Vacc controls the 220V power to the VFD as well as the servo power supply (shown in the left side of the HV schematic). The coil for Vacc is controlled by one pole of the COR (control on relay) shown in the lower right of the same sheet.
The relay estop chain starts at +24VDC, the other pole of the COR relay (more on the START button in a second) then through the two estop buttons (front panel and pendant) then the CTL-STOP pole (also described in a bit). If all of those are closed, then the coil for the COR relay energizes and that will turn on Vacc. Wait... a pole is in series with the coil of the same relay. Yes. That is basic latching via a relay. The start button is in parallel with the COR pole (first sentence of this paragraph). So when you press that button, the COR relay will energize; you can then release the Start button and the COR relay will remain energized.
The purpose of the CTL-STOP pole is so that LinuxCNC itself can de-energize the COR relay, which will then kick out the Vacc relay, and with that, the power to the amps and VFD. In essence, LinuxCNC has its own eStop, but one that cannot be reset without a human being manually pressing the START button again.
Now an observation... My feeling is that I'm kind of muddying the waters between what is an estop and what is a machine ON/OFF situation. I am wondering if that isn't somehow causing problems for me. As such, I'm interested in the thoughts you have on that subject. I like the approach I have because I think it affords maximum protection, but somehow I think I must be violating some fundamental tenant of LinuxCNC.
Again, there seems to be a strong correlation between the EStop button on the pendant and the machine on state. I've removed the previously mentioned jumper which simulated START (which would negate the COR pole's value too). Here is a set of reproducible steps that work (remember, no HV to the amps or VFD is available right now, but the machine is fully operable in every other way):
- Start LinuxCNC
- I can release/press the pendant estop button as much as I want, and the display shows "Machine Power OFF"
- Toggle EStop on LinuxCNC (computer screen)
- Again, I can press/release the pendant estop button and the "Machine Power OFF" continues to flash (no pendant hanging)
- Toggle Machine power ON on LinuxCNC (computer screen)
- I can press/release the pendant estop button and the "Machine Power OFF" continues to flash (no pendant hanging)
- I press the START button, which should do nothing but energize Vacc and COR at this point
- The pendant hangs
This scenario seems to be the fastest way for me to mess up my machine, so I think it helps hone down where the problem lies....
One more thing... The estop on the pendant is two poles. In addition to the de-energizing of the COR, and then Vacc relays, the embedded controller within the pendant recognizes the EStop state. I'm assuming it notifies LinuxCNC of the EStop condition too.