1
Technical support / Can use 10KHz square pulse for intr input?
« on: June 23, 2002, 05:23:44 PM »
I have a question that relates to time period used by instructions of tmx100. How long is a TBASIC instruction?
My problem is scan 20 digital input in 10ms to realize the edge from OFF to ON of each input (like a custom counter)
Because the timers of m-series PLC only support to 0.01s resolution so I wonder that if I can use the PWM to creat a 10KHz square pulse and feed into an interupt input so that we can have a new timer with resolution of 0.1ms.
thanks for any advice.
My problem is scan 20 digital input in 10ms to realize the edge from OFF to ON of each input (like a custom counter)
Because the timers of m-series PLC only support to 0.01s resolution so I wonder that if I can use the PWM to creat a 10KHz square pulse and feed into an interupt input so that we can have a new timer with resolution of 0.1ms.
thanks for any advice.