drive enable wiring
I have a few of these ( attached file) relays around. Will these work ok? It's a t9ap5d52-24
That will work if your field power is running at 24 V( being a 24V relay).
It seems rather over-specified for the job, you only need to switch a few mA so a tiny relay would be fine. However, there is something to be said for having all relays the same so that keeping spares is easier.
Please Log in or Create an account to join the conversation.
# create a signal for the estop loopback
net estop-loop iocontrol.0.user-enable-out => iocontrol.0.emc-enable-in
iocontrol.0.user-enable-out refers to TB8 - pin 17 (Output 0) ??
Not unless you make it so. By default those HAL pins don't leave the software layer.
One way of wiring things is:
iocontrol.0.user-enable-out -> GPIO output pin -> main contactor relay -> ESOP11 -> ESTPO2 -> ESTOPN -> GPIO input pin -> iocontrol.0.emc-enable-in
(I practice the GPIO output pin probably doesn't have enough current capacity to drive the main contactor but can drive a solid-state relay quite well)
So I'm guessing here but iocontrol.0.emc-enable-in TB8 - pin 1 (Input 0) is where we wire up the E-Stop circuit to signal that we have unlocked the E-Stop button?
No GPIO pins are connected to anything unless specifically connected in the HAL file. You would need lines like
net estop-out iocontrol.0.user-enable-out => hm2_7i80.0.7i77.0.0.output-000
net estop-in hm2_7i80.0.7i77.0.0.input-000 => iocontrol.0.emc-enable-in
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
No
Here's an example connection using field output 0
7I77 field output-0 TB8 pin 17 to relay coil-1
7I77 field common TB2 pin 8 to relay coil-2
relay NC contact to Drive 0,1,2 pin 11 (/INH)
relay COM contact to Drive 0,1,2 pin 2 (Drive GND)
Does this work automatically or do i need to make something in the config to make this work?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
(you can do the same thing in JTs sample file by editing the hal file and using the net command)
Please Log in or Create an account to join the conversation.
# --- X-ENABLE ---
net x-enable hm2_5i25.0.7i77.0.0.output-00
so i added it to jt's file and loaded it....didn't do anything. trying to figure out what the line means. I'm a little over my head with this.
Please Log in or Create an account to join the conversation.
pncconf created this line in my config:
# --- X-ENABLE ---
net x-enable hm2_5i25.0.7i77.0.0.output-00
Thats only a part of the enable hal wiring because pncconf splits net statements onto multiple lines
there must be another line in the pncconf hal file like:
net x-enable axis.0.amp-enable-out
The complete hal net done in one line would be like:
net x-enable axis.0.amp-enable-out => hm2_5i25.0.7i77.0.0.output-00
If you edit JTs hal file I would search for axis.0.amp-enable-out to see how
its currently connected and just add hm2_5i25.0.7i77.0.0.output-00 to the net statement
Please Log in or Create an account to join the conversation.
net x-axis-enable pid.0.enable <= axis.0.amp-enable-out
I tried it with a space and with =>
no luck yet. I have a 24v power supply going into the 7i77 so i am assuming I'll be getting 24v from the output on tb8 when enabled??
Please Log in or Create an account to join the conversation.
no luck yet.
You probably ought to read the HAL manual rather than guessing
But the short-form is:
The net command is followed by a signal name (which you can choose freely) and one or more HAL pin names (which must already exist)
Any net commands with the same signal name connect together all the pins in all those net commands.
Only one of the pins connected to any signal name can be an output pin. (otherwise the net is logically inconsistent).
You can insert => , <= and <=> symbols in any way you choose, these are for you benefit and ignored by the computer.
To eliminate a potential confusion, from where HAL is placed, physical inputs from the real world are output HAL pins (they supply a value _to_ HAL) and physical output ons are input HAL pins ( they take a value from HAL)
Please Log in or Create an account to join the conversation.