Hello Guest it is April 24, 2024, 12:12:51 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Cruz74

Pages: 1
1
Modbus / Using modbus to control a 3 color stack light
« on: November 03, 2013, 06:23:46 PM »
Wondering if anyone has a working Brain to control a red, yellow, green stack light. I'm hoping to control it using Peter Homann's modio, but am having difficulty writing a brain to control it. The Goal:

Mach3's Run button : Turns the green LED on
Tool change: Causes the green LED to flash
Mach3's Feed Hold Button: Turns yellow LED and signals it to flash
Mach3"s Stop Button: Turns the red LED on
Mach3's Reset Button: Turns the red LED on and signals it to flash.

The other thing I cannot figure out is how to get the Discrete outputs to turn on and off.  When powering on the modio, all 3 LEDs light up solid. if I toggle Active low on either pin in 'Ports and Pins', nothing happens. I have the stack light connected to Dout0 (Green), Dout1(Yellow), Dout2(Red), negative lead to +VOut (Pin18). I have external 24v power supply connect to  VGND (Pin7) and +VOut (Pin18). The Modio is being read by the PC as I am able to read registers using the modio plugin. I've watch the videos on setting up Modbus and have read thru Peter Homann's 'Using Modbus with Mach3' guide but just can't get it to work. Hopefully someone has already figured this out.

Pages: 1