I'm trying to figure out how to set up these two buttons in the HAL file so they behave the way I'd like. My Break out Board (PMDX-126) uses the Charge Pump signal to enable outputs. When the Charge Pump is active a signal called "Outputs Enabled" is ON and a relay on the BoB attached to that signal closes. That relay NO contact is in series with the machine system ESTOP relay control so the mill electrics are disabled in the control box right where power comes in. As long as there is a charge pump signal the system can be powered. There is also an ENABLE signal coming out of DB25-Pin1 and that's the one controlled by the ENABLE button on the AXIS user screen. This is the signal that enables the Servo Drives and for drives like the STMBL also serves to reset faults. Take it false and the STMBL servo fault is cleared (if the external reason for the fault is gone). This ENABLE signal when false also holds the DC SERVO HP_UHU drives in RESET since that's the only way to clear an error. (or remove both high and low voltage). I've done the same with the Bergerda AC Servo that will turn the spindle. When the ENABLE is false the CLEAR FAULT input to the AC Servo is TRUE. So back to the buttons. The ESTOP one beside the ENABLE button will go OFF (and take the ENABLE with it) when the external ESTOP IN on DB25-10 goes false. Both the system ESTOP and any others in series with that can open and we get an instant ESTOP which removes high voltage power from the machine, dims the ENABLE button and presses the ESTOP button on the AXIS display. All good so far. What I want to have happen is that if I click on that ESTOP button I want the Charge Pump disabled which will then create an ESTOP_OUT equals TRUE situation. To undo that I'd have to click on that button again which would release it and re-enable the charge pump. In other words I want push on, push off behaviour and a push on event when the DB25-Pin10 ESTOP_IN goes TRUE. I can't figure out from the AXIS docs or the HAL docs or looking at the HAL pins if there is even a way to work with that? ESTOP button. Am I missing something? Is there a way to totally unlike that switch/indicator from any other control so that I can use it as a switch from my HAL file? As it is now I can click on the button and it changes from up to down but nothing happens. Suggestions? Thanks John Dammeyer "ELS! Nothing else works as well for your Lathe" Automation Artisans Inc. www dot autoartisans dot com
_______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users