xC0MMAND0x
Member
Greetings!
I am wondering what Instruction to use for the following scenario...
I have some PLC Tags that represent the "Status" of a particular machine. The Status values are integers ranging from 1-5 in value; I have all of the setup and working no problems.
Now, I need to setup a Monitoring BOOL as a trigger for some data processing. Essentially I need to have a BOOL that triggers TRUE if the Value of "Status" changes at all.
Is there an instruction geared for monitoring a value or seeing if it changes values?
I suppose I could use a compare register and use the current value of the Status tag to compare, but I figured there should be an easier way.
Thanks!
I am wondering what Instruction to use for the following scenario...
I have some PLC Tags that represent the "Status" of a particular machine. The Status values are integers ranging from 1-5 in value; I have all of the setup and working no problems.
Now, I need to setup a Monitoring BOOL as a trigger for some data processing. Essentially I need to have a BOOL that triggers TRUE if the Value of "Status" changes at all.
Is there an instruction geared for monitoring a value or seeing if it changes values?
I suppose I could use a compare register and use the current value of the Status tag to compare, but I figured there should be an easier way.
Thanks!