Basic Mesa 7i76e Wiring Question

More
08 Jul 2019 21:54 #138897 by tommylight
No it will not solve the issue.
The issue is with the err/reset pin on the gecko as it is an input and output at the same time, I do have some collecting dust somewhere, but I could not recalled exactly how it worked.
Here is an exempt from the g320x manual:
Quote :
Normally when the G320X is first powered up, it will be necessary to push the momentary switch to START for 1 second. This
will clear the power-on reset condition and extinguish the FAULT LED. The motor will then be enabled and the drive will begin
to operate. If at any time after that a condition occurs that causes the G320X to “FAULT out”, such as not being able to
complete a step command, the ERR/RES terminal will go to “0”, signaling to the controller an error has occurred. This will
require the operator to correct the problem that caused the FAULT and then push the switch to “START” for 1 second to re-
enable the G320X.
End quote.
That explains it, but not very useful.
Linuxcnc can be easily programmed to output a signal of any duration on any outputs automatically when out of e-stop or when drives are enabled with F2, but since that same output will be pulled to the ground by a fault on the gecko, I do not know if that would effect the output on the Mesa card if it happens while that output is still high. PCW might explain that much better than me and the implication of implementing that.
In normal use that would aslo require wiring that same pin to an input on the mesa board.
The following user(s) said Thank You: thefabricator03

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

More
08 Jul 2019 22:30 #138902 by thefabricator03
Whe the drives are active I have 5 VDC on the error/reset circuit,

When they are in a fault position I have 0 VDC on the circuit,

When I reset them I apply 5 VDC to the circuit and then it stays at 5 VDC

When I want them to fault I ground the circuit to 0 VDC and it maintains 0 VDC,

So with using the encoder index on the mesa 7i76e should I not be able to wire the circuit with a common ground then when the circuit has 5 VDC applied it will be high and when 0 VDC is applied it will be low?

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

More
08 Jul 2019 23:58 #138917 by PCW
A couple unknowns

1. Will the 2K pullup to +5 on the index input reset the fault?
(that is will a pullup current of 2.5 mA reset the drive)

2. Is the Gecko reset ground = motor power ground?
If so, this is not too nice as you throw away all the nice
optoisolation of the step/dir inputs.

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

More
09 Jul 2019 09:34 #138936 by tommylight

A couple unknowns

1. Will the 2K pullup to +5 on the index input reset the fault?
(that is will a pullup current of 2.5 mA reset the drive)

2. Is the Gecko reset ground = motor power ground?
If so, this is not too nice as you throw away all the nice
optoisolation of the step/dir inputs.


I will try to check that later in the evening and report back.

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

More
09 Jul 2019 23:24 #138978 by tommylight
It needs 21.6 mA to set from 0 to 5V and 0.7mA to reset from 5V to 0 or to fault, measured with a DVM with built in min/max memory, but using a pot to trigger it results in 102 OHM resistance making the current required 50mA , and 700 Ohm or 7.1 MA to fault !!!
It is referenced to encoder supply, not to motor supply, so the isolation is OK.
Also after setting to ready mode the current draw drops from said 21.6 MA to 0, so using field outputs is possible only if Mesa is set to use 5V signalling. Using encoder pullups most probably will fail to set it properly.
Also note that this test was done using a G320 not a G320X, so there might be differences.
PCW, what are the implications of using one of the following :
Field output through a 100 Ohm resistor to gecko and from gecko to the index input. Since the output should be on for 1 second or thereabout, would it be to much draw ?
5V encoder power through 100 Ohm resistor to spindle enable and from enable to gecko, from gecko to spindle index input ?
That current draw will be repeated on every enable, and during wiring and testing that happens very often.

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

More
10 Jul 2019 00:22 #138982 by PCW
Then it looks like the encoder input will work for _sensing_ the fault status
but you need a stiff pullup to 5V to reset a fault (pushbutton?, relay, opto etc)

The 7I76 spindle optos are free if not used for a plasma setup so should work
(they are Darlington type and will actually supply about 100 mA)

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

More
26 Jul 2019 05:28 #140613 by thefabricator03
Finally solved the Gecko servo drive error/reset problem,

I have returned the Gecko drives for a full refund and brought Leadshine servo drives that have a normal fault output signal.

Anyone reading DONT BUY GECKO G320X SERVO DRIVES, unless you want to stuff around with something that should be straight forward and you have a lot of patience.

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

More
26 Jul 2019 05:40 #140614 by rodw

Finally solved the Gecko servo drive error/reset problem,

I have returned the Gecko drives for a full refund and brought Leadshine servo drives that have a normal fault output signal.

Anyone reading DONT BUY GECKO G320X SERVO DRIVES, unless you want to stuff around with something that should be straight forward and you have a lot of patience.


Yes, I've always wondered why people think they are so good when all I read are problems. Granted the G251x is a nice compact form factor but really did not perform any better than my Longs Motor DM542a's. I accidentally fried the Gecko and tried real hard once to do the same on the Chinese one but I simply could not kill it!
The following user(s) said Thank You: thefabricator03

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

More
20 Apr 2020 00:15 #164701 by PhilCNC
Sadly, I agree. I have a G540, and a set of GR214V and had nothing but problems. At first it was blown fuses. I had them connected to the proper power supply and a Nema 42. The fuses shouldn't have blown. After that I had trouble with the red fault light being triggered for no good reason. Oh well. Anyway, does anyone know how to configure the fault input on the Mesa 7i76E so the machine stops when it detects a fault signal sent from the Gecko drive? I could configure it as an E-stop, but I don't think that's the best idea.
The following user(s) said Thank You: rodw

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

More
02 Aug 2020 16:58 - 03 Aug 2020 02:02 #176907 by hoffb77
I use a 5v 4-channel low level relay module. They trip when the drives fault or are disabled. My PLC sends 24v to the common side of the fault relays once motion is enabled with a memory bit and a timed output. The bit resets when motion is disabled. You can use Classic Ladder for this. The logic is simple and I'd be happy to share it.

The relay outputs are tied to the "joint.n.amp-fault-in" pin for each axis.

I use the rising and falling edge of "motion-is-enabled" to trigger the 5v enable pulse or the 0v disable pulse.

When motion is enabled it fires a momentary 5v signal to the drives and it sets a memory bit.

The memory bit starts a timer that enables 24v to the common terminal on your fault relays at completion of the enable pulse. That allows the drives to enable before EMC2 senses voltage on the fault pins.

When "motion-is-enabled" changes to false, the falling edge triggers the momentary 0v disable signal and resets the memory bit.

In the event of a drive fault or encoder failure(G320X) all drives are disabled and the notification is on screen.

All three timers only need to be a second long.

You can use one output and relay for the enable pulse if you use diodes. The disable pulse needs one output to three relays to keep them isolated.
Last edit: 03 Aug 2020 02:02 by hoffb77. Reason: additional information
The following user(s) said Thank You: thefabricator03

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

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