Hello Guest it is October 16, 2019, 09:12:09 PM

Author Topic: Debounce for MODBUS inputs  (Read 2383 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?.
Regards
Fernando

Offline poppabear

*
  • *
  •  2,233 2,233
  • Briceville, TN, USA
    • View Profile
    • S S Systems, LLC
Re: Debounce for MODBUS inputs
« Reply #1 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.
Commercial Mach3 & Mach 4, Design/Build/Retrofit CNC and Industrial machines.
http://www.ss-systems-llc.com/
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.
Regards
Fernando