Output serial data on inport change
|Welcome Guest ( Log In | Register )|
Feb 15 2012, 10:05 AM
Joined: 15-February 12
Member No.: 13,667
I am struggling with a rather simple task. Here is the problem:
I would like my M3 CD12 to send the inport status out on the serial port every time the status of the inport changes. I know that you can send a read command to the M3 and then receive the inport status but I don't want to use that kind of polling method.
Does somebody know how to achive this behavior?
The reason why I need it is because I have an application that needs to react on changes and I don't want to do a lot of work on unnecessary polling.
Any help would be really appreciated.
Time is now: 14th September 2014 - 11:02 PM