Quick RSLogix 5000 Question
Quick RSLogix 5000 Question
(OP)
Is there an "ON CHANGE" instruction? Say, an instruction that watches a value, and goes true when that value has changed?
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS Come Join Us!Are you an
Engineering professional? Join Eng-Tips Forums!
*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail. Posting GuidelinesJobs |
Quick RSLogix 5000 Question
|
RE: Quick RSLogix 5000 Question
use a NEQ instruction
Value1 not equal to value2, set a bit, branch around bit with a MOV instruction: move value1 to value2.
RE: Quick RSLogix 5000 Question
Assuming you're using the latest version of RSLogix 5k, I think you can actually write your own instruction that takes the watched value and a memory location as parameter.
Scott Whitlock
PLC Programming Articles: http://contactandcoil.com/
RE: Quick RSLogix 5000 Question