Mesa 7i77 Analog Enable

More
09 Dec 2023 09:17 #287623 by davew
I'm a new user working my way through commissioning a retrofit of a 3 axis Mill (DeckelFP4NC) with a Mesa 7i92/7i77/7i74 setup, Linuxcnc V2.9.1, Axis GUI. The mill has DC brushed servo motors and I'm using Parker 514C servo drives with an active high enable and -10V to 10V speed setpoint analog input.

I'm not getting any voltage output from the 7i77 ENA signals to enable the servo drive in response to the analogena pin being set high.

Initial setup: 24V to ENA0 , ENA0- to A1 of relay coil, A2- of relay coil to GND. The enable relay didn't turn ON in response to setting hm2_7i92.0.7i77.0.1.analogena high - confirmed in the HAL watch window. I think I may have damaged the 7i77 optocouplers by connecting the ENA- to a relay with a coil current greater than the 50mA specified in the 7i77 manual.

Troubleshooting:
1) I've checked that there's 24V on ENA0 and connected ENA0- to a spare input of the 7i77 (hm2_7i92.0.7i77.0.0.input-31) but don't see this pin change in response to the analog enable.
2) I've shifted the wiring to ENA5 and repeated the test there using the spindle enable pin hoping that the spindle enable might be separated from the other optocouplers - but no response on the input to setting the spindle enable pin high.

Is there anything else I can try before ordering a new 7i77 card?
I've attached an extract from the HAL file used with the analog enable and 7i77 input combination (1).

Thanks in advance for the help - the forum has been a huge help in getting this far. 
Attachments:

Please Log in or Create an account to join the conversation.

More
09 Dec 2023 13:41 #287654 by tommylight
Replied by tommylight on topic Mesa 7i77 Analog Enable
Mesa 7i77 has 5 ENA controlled by the same pin, and the spindle ENA controlled by a separate pin, as you have mentioned, so yes those are separate, but i can no recal if the ENA work with only spinena or does it also need spindle speed somewhere somehow, sorry been a long time.
Those ena are optocouplers so i never ever wire relays to them, i wire those directly to drive enables.
-
Even if those ena are gone you can route those pins to any output on the mesa boards, or have both of those or almost whatever it may be required.
Example
# --- X-ENABLE ---
net x-enable hm2_7i92.0.7i71.1.4.output-15

# --- Y-ENABLE ---
net y-enable hm2_7i92.0.7i77.0.0.output-04

# --- Z-ENABLE ---
net z-enable hm2_7i92.0.7i77.0.0.output-05
Notice the X enable goes to a Mesa 7i71 output and the rest to 7i77 outputs, so any combination will work, depending on your hardware.

Please Log in or Create an account to join the conversation.

More
09 Dec 2023 15:40 #287678 by PCW
Replied by PCW on topic Mesa 7i77 Analog Enable
While its possible that an optocoupler might have been damaged by driving a relay
with too high a current or no flyback diode, this would have no effect on the other
channels., so I would suspect some other issue, can you set the analog output voltages?

As tommylight said if you are driving a relay, its better to use on of the field output
intended for that task. Is the actual drive enable input a relay coil?
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
09 Dec 2023 22:32 #287722 by davew
Replied by davew on topic Mesa 7i77 Analog Enable
Thanks for suggesting this option of using other outputs but I'd like to keep the safety feature of the drive enable outputs. There may be something else blocking the enable output that I don't understand yet...

Please Log in or Create an account to join the conversation.

More
09 Dec 2023 22:46 #287725 by davew
Replied by davew on topic Mesa 7i77 Analog Enable
Hi PCW - thanks for your reply.
No I haven't been able to set the analog output voltages. Is it possible to determine if the 7i77 is suppressing the ENA out and holding the analog voltages at 0 because of the safety function? I can see the 7i92 watchdog pin which hasn't bit, but I'm assuming that's for comms between the host PC and the 7i92, rather than between the 7i92 and the 7i77?

I'll re-wire the Enable outputs direct to the drives. They are 20mA inputs.

From a testing perspective, having the ENA- connected to a 7i77 input should be OK to tell if the analog enable is working or not?

Please Log in or Create an account to join the conversation.

More
09 Dec 2023 23:40 #287730 by PCW
Replied by PCW on topic Mesa 7i77 Analog Enable
Is it possible you have watchdog error or sserial error that's masked by the GUI you are using?
Do the digital outputs work?

Please Log in or Create an account to join the conversation.

More
10 Dec 2023 02:22 #287735 by davew
Replied by davew on topic Mesa 7i77 Analog Enable
Yes, digital outputs from the 7i77 appear to be working. I've got a digital output from the 7i77 that turns on the AC aux power to the servo drive via a relay and the servo drive contactor and that is definitely working. 
I'm using the Axis GUI.
How would I check for a watchdog or sserial error? I have an oscilloscope available.

Please Log in or Create an account to join the conversation.

More
10 Dec 2023 14:06 #287755 by tommylight
Replied by tommylight on topic Mesa 7i77 Analog Enable
Check your hal file, especially the line containing loadrt and board names, i just recalled, i had the same issues where no enables and no analog outputs worked with a hand edited config but with a new config they worked properly. Turns out i messed the serial port numbering when changing form mode 0 to mode 2 for 7i77! :)

Please Log in or Create an account to join the conversation.

More
10 Dec 2023 15:19 #287761 by PCW
Replied by PCW on topic Mesa 7i77 Analog Enable
Can you launch LinuxCNC and go to the machine-on state and
then run:

halcmd show all > all.txt

In a terminal and post the all.txt file here?
 

Please Log in or Create an account to join the conversation.

More
10 Dec 2023 19:43 #287785 by davew
Replied by davew on topic Mesa 7i77 Analog Enable
Thanks Tommy - I'll check this out.

Please Log in or Create an account to join the conversation.

Moderators: PCWjmelson
Time to create page: 0.231 seconds
Powered by Kunena Forum