LinuxCNC 7i96 & IoT Relay Configuration and wiriing
17 Jan 2021 19:27 #195697
by emoseman
LinuxCNC 7i96 & IoT Relay Configuration and wiriing was created by emoseman
I'm new the CNC and have just finished replacing the Arduino controller in my Millright Mega V with a 7i96 controller. The next task is to get my IoT relay working with the 7i96 to control the router and vacuum system. The IoT relay has two connections a positive and negative. I'm not sure which pins to connect to the IoT relay.
Currently I have a 5V power supply connected to the Out0+ pin and the Out0- pin is connected to the negative connection on the IoT relay, and the IoT relay positive connection is connected to the positive 5V power supply connection.
As far as the HAL configuration I've got this so far:
net spindle-on => hm2_7i96.0.ssr.00.out-00
This obviously isn't working; I'd appreciate some help in getting the connections right.
Currently I have a 5V power supply connected to the Out0+ pin and the Out0- pin is connected to the negative connection on the IoT relay, and the IoT relay positive connection is connected to the positive 5V power supply connection.
As far as the HAL configuration I've got this so far:
net spindle-on => hm2_7i96.0.ssr.00.out-00
This obviously isn't working; I'd appreciate some help in getting the connections right.
Please Log in or Create an account to join the conversation.
17 Jan 2021 19:47 #195698
by PCW
Replied by PCW on topic LinuxCNC 7i96 & IoT Relay Configuration and wiriing
+5 to OUT+
OUT- to IOT+
IOT- to ground
OUT- to IOT+
IOT- to ground
Please Log in or Create an account to join the conversation.
17 Jan 2021 20:50 - 17 Jan 2021 20:50 #195704
by emoseman
Ok thanks for the reply, I've got that wired now. But, the M3 and M5 commands in LinuxCNC don't have any effect on the relay and I've tested the voltage on the wires and don't see any change when the M3 and M5 commands are executed.
My related HAL configuration is:
net spindle-on => hm2_7i96.0.ssr.00.out-00
Is there anything else that needs to be configured in the HAL configuration?
Replied by emoseman on topic LinuxCNC 7i96 & IoT Relay Configuration and wiriing
+5 to OUT+
OUT- to IOT+
IOT- to ground
Ok thanks for the reply, I've got that wired now. But, the M3 and M5 commands in LinuxCNC don't have any effect on the relay and I've tested the voltage on the wires and don't see any change when the M3 and M5 commands are executed.
My related HAL configuration is:
net spindle-on => hm2_7i96.0.ssr.00.out-00
Is there anything else that needs to be configured in the HAL configuration?
Last edit: 17 Jan 2021 20:50 by emoseman.
Please Log in or Create an account to join the conversation.
17 Jan 2021 21:15 #195705
by PCW
Replied by PCW on topic LinuxCNC 7i96 & IoT Relay Configuration and wiriing
What drives the signal spindle-on?
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19209
- Thank you received: 6438
17 Jan 2021 21:41 #195709
by tommylight
Replied by tommylight on topic LinuxCNC 7i96 & IoT Relay Configuration and wiriing
Did you try
M3 S5
or any number after the S ?
M3 S5
or any number after the S ?
Please Log in or Create an account to join the conversation.
20 Jan 2021 14:45 #195995
by emoseman
Replied by emoseman on topic LinuxCNC 7i96 & IoT Relay Configuration and wiriing
Thank you for the replies, turns out I had the signal name wrong:
net spindle-on => hm2_7i96.0.ssr.00.out-00
Should have been:
net spindle-enable => hm2_7i96.0.ssr.00.out-00
With this configuration change M3 and M5 commands are working now.
net spindle-on => hm2_7i96.0.ssr.00.out-00
Should have been:
net spindle-enable => hm2_7i96.0.ssr.00.out-00
With this configuration change M3 and M5 commands are working now.
The following user(s) said Thank You: Clive S
Please Log in or Create an account to join the conversation.
Moderators: cncbasher
Time to create page: 0.085 seconds