Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: fer_mayrl on September 08, 2007, 05:09:47 PM

Title: Debounce for MODBUS inputs
Post by: fer_mayrl on September 08, 2007, 05:09:47 PM
Hello guys,
I have a PLC connected via modbus to mach3, does the debounce setting affect this inputs? or just ones comming from the parallel port?.
Regards
Fernando
Title: Re: Debounce for MODBUS inputs
Post by: poppabear on September 08, 2007, 09:09:24 PM
fernando,

    I use ADC, PLCs and I have never had debounce issues with them. Usually I will bring in an input and it will then turn on a control bit, the control bit is then read via Mach. The scan times on a PLC is usually much, much much faster than mach can get around to getting it off the modbus. so, if you have fast inputs then I would send them to a Set Control bit, then when Mach reads it, have mach send back a control bit to do the reset.  Another option is you could use a OneShot to capture the signal, or if you need realy fast you could use an Immediate input.
Title: Re: Debounce for MODBUS inputs
Post by: fer_mayrl on September 10, 2007, 01:57:15 AM
Thanks Poppabear,
im using a ladder logic/basic plc core. A cubloc, and i have some minor issues on a capacitive proximity sensor going on when it shouldnt. Ill give the debounce a try to see if it affects inputs through modbus.
Regards
Fernando