LinuxCNC 7i96 & IoT Relay Configuration and wiriing

More
5 years 9 months ago #195697 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.

Please Log in to join the conversation.

More
5 years 9 months ago #195698 by PCW
+5 to OUT+
OUT- to IOT+
IOT- to ground

Please Log in to join the conversation.

More
5 years 9 months ago #195704 by emoseman

PCW wrote: +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?

Please Log in to join the conversation.

More
5 years 9 months ago #195705 by PCW
What drives the signal spindle-on?

Please Log in to join the conversation.

More
5 years 9 months ago #195709 by tommylight
Did you try
M3 S5
or any number after the S ?

Please Log in to join the conversation.

More
5 years 9 months ago #195995 by emoseman
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.

Please Log in to join the conversation.

Time to create page: 0.123 seconds
Powered by Kunena Forum