Hello Guest it is November 27, 2021, 01:13:06 PM

Author Topic: Debounce for MODBUS inputs  (Read 2699 times)

0 Members and 1 Guest are viewing this topic.

Debounce for MODBUS inputs
« 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?.

Offline poppabear

  • *
  •  2,235 2,235
  • Briceville, TN, USA
    • View Profile
Re: Debounce for MODBUS inputs
« Reply #1 on: September 08, 2007, 09:09:24 PM »

    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.
fun times
Re: Debounce for MODBUS inputs
« Reply #2 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.