- Posts: 43
- Thank you received: 3
Wiring and assigning servo alarm for IHSV57 motors on Mesa 7i96s board
3 years 3 months ago #276164
by supermoto
I have JMC iHSV57 servo motors on my X and Y axes. I want to connect the alarm circuit to the mesa so that the motors are run in series for the alarm. I was told this was do-able, and wanted to double check my concept will work as intended..
I currently have -24VDC power supply negative going into the mesa's [input common] pin.
Then from power supply, +24VDC to Xaxis ALM+
Xaxis ALM- to Y1Axis ALM+
Y1axis ALM- to Y2axis ALM+
Y2axis ALM- to Zaxis ALM+
Zaxis ALM- to Mesa Input pin #10
(note: z axis is a CL Stepper with ALM+ and ALM- at the driver)
For LCNC to stop everything if there is a fault coming from any of those motors what variable should be assigned to pin #10 in pncconf to behave like the "ESTOP In" assignment?
It seemed to me that the effect of the "ESTOP In" is perfect for what the end result I am looking for, but I cannot assign more than one pin to that variable.
I currently have -24VDC power supply negative going into the mesa's [input common] pin.
Then from power supply, +24VDC to Xaxis ALM+
Xaxis ALM- to Y1Axis ALM+
Y1axis ALM- to Y2axis ALM+
Y2axis ALM- to Zaxis ALM+
Zaxis ALM- to Mesa Input pin #10
(note: z axis is a CL Stepper with ALM+ and ALM- at the driver)
For LCNC to stop everything if there is a fault coming from any of those motors what variable should be assigned to pin #10 in pncconf to behave like the "ESTOP In" assignment?
It seemed to me that the effect of the "ESTOP In" is perfect for what the end result I am looking for, but I cannot assign more than one pin to that variable.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Offline
- Moderator
-
3 years 3 months ago #276167
by tommylight
Replied by tommylight on topic Wiring and assigning servo alarm for IHSV57 motors on Mesa 7i96s board
Joint.0.amp-fault mesa.input.10
Or Similar
I would not wire fault pins to e-stop for anything, -e-stop is for emergencies only so it should cut power to stuff.
Joint.0.amp-fault will disable stuff, so enable should also reset drives.
And i would have faults an input each, LinuxCNC is very good at showing what drive failed.
Or Similar
I would not wire fault pins to e-stop for anything, -e-stop is for emergencies only so it should cut power to stuff.
Joint.0.amp-fault will disable stuff, so enable should also reset drives.
And i would have faults an input each, LinuxCNC is very good at showing what drive failed.
Please Log in or Create an account to join the conversation.
3 years 3 months ago #276168
by supermoto
Replied by supermoto on topic Wiring and assigning servo alarm for IHSV57 motors on Mesa 7i96s board
Im not too familiar with what the "Joint.0.amp-fault mesa.input.10" line means or how its used.
..and I should clarify a bit. I use the term "estop" in this case to describe essentially a "disable".
I have a legit ESTOP button that cuts power to everything, and 2 other psuedo-estop switches (Disable) that are on either corner of the bench that will disable all motion and stop spindle...those are assigned "ESTOP In" from pncconf and wired in series. The behavior that results in pressing one of those buttons is what I want to happen for any fault by any other component.
Im ok to have them all in series into 1 pin due to running out of available inputs, and theres a big red LED on the motors to easily identify a fault at any of them from almost any viewing angle in the shop, so I would like to keep that concept. Under what heading is the "Disable" assignment in pncconf?
..and I should clarify a bit. I use the term "estop" in this case to describe essentially a "disable".
I have a legit ESTOP button that cuts power to everything, and 2 other psuedo-estop switches (Disable) that are on either corner of the bench that will disable all motion and stop spindle...those are assigned "ESTOP In" from pncconf and wired in series. The behavior that results in pressing one of those buttons is what I want to happen for any fault by any other component.
Im ok to have them all in series into 1 pin due to running out of available inputs, and theres a big red LED on the motors to easily identify a fault at any of them from almost any viewing angle in the shop, so I would like to keep that concept. Under what heading is the "Disable" assignment in pncconf?
Please Log in or Create an account to join the conversation.
3 years 3 months ago - 3 years 3 months ago #276170
by jmytyk
Replied by jmytyk on topic Wiring and assigning servo alarm for IHSV57 motors on Mesa 7i96s board
Joint.0.amp-fault mesa.input.10
--> is it a fair guess that this line is connecting Joint 0 on the software side to a connector on the Mesa board. The Amp-fault portion is passing an Amp fault signal when the logic changes.
in a very linux way of working, the space between the two 'tokens' is all that separates this.
(SWAG --> referencing servo amplifier handling in code and since there's no 'invert' at the end, it will fire when the logic goes from high to low? in this case 24+ --> 0v)
i'm reading this... and still... umm.. yeah... it'll smack me in the head eventually
linuxcnc.org/docs/stable/html/hal/basic-hal.html#_hal_parameter
--> is it a fair guess that this line is connecting Joint 0 on the software side to a connector on the Mesa board. The Amp-fault portion is passing an Amp fault signal when the logic changes.
in a very linux way of working, the space between the two 'tokens' is all that separates this.
(SWAG --> referencing servo amplifier handling in code and since there's no 'invert' at the end, it will fire when the logic goes from high to low? in this case 24+ --> 0v)
i'm reading this... and still... umm.. yeah... it'll smack me in the head eventually
linuxcnc.org/docs/stable/html/hal/basic-hal.html#_hal_parameter
Last edit: 3 years 3 months ago by jmytyk. Reason: added link to docs
Please Log in or Create an account to join the conversation.
- tommylight
-
- Offline
- Moderator
-
3 years 3 months ago #276177
by tommylight
Replied by tommylight on topic Wiring and assigning servo alarm for IHSV57 motors on Mesa 7i96s board
This is from my hal file
Code:
####### AMP FAULT INPUTS ######
net amp0 joint.0.amp-fault-in [HMOT](CARD0).gpio.028.in
net amp1 joint.1.amp-fault-in [HMOT](CARD0).gpio.027.in
net amp2 joint.2.amp-fault-in [HMOT](CARD0).gpio.026.in
The following user(s) said Thank You: jmytyk
Please Log in or Create an account to join the conversation.
3 years 3 months ago #276190
by supermoto
Replied by supermoto on topic Wiring and assigning servo alarm for IHSV57 motors on Mesa 7i96s board
What does that translate to in the GUI for pncconf?
In other words, which dropdown selection in the menu of the TB3 configurator achieves that?
In other words, which dropdown selection in the menu of the TB3 configurator achieves that?
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.153 seconds