Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started 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
-
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.
-
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