Posted 5 Jun 2016 (edited) I have 14 alarms all addressed to word 200 i.e. 200.** and i want to monitor the state of bits in word 200 such that if one of them is on the coil 204.00 should turn on (Currently i am using the OR operator to turn on bit 204.00 but the task is to use a single instruction to monitor the sate of the 16 bits of a word by comparing it to an integer say #0). I was thinking of using compare to achieve this but i do not know how to compare a word say 200 to a an integer value #0 such that if DW200>#0 then 204.00=on. How can i achieve this and what instruction can i use, am new to omron plc's and am using syswin 3.4 and plc CPM2A. Any help or sample program to achieve the above is deeply appreciated. Edited 5 Jun 2016 by Ablex Share this post Link to post Share on other sites
Posted 5 Jun 2016 (edited) I don't have Syswin here at home, but here is a screenshot of what it could be with CXP: You should take a look in this manual: Programming manual Edited 5 Jun 2016 by pfort Share this post Link to post Share on other sites
Posted 5 Jun 2016 (edited) pfort Thank you for the help and the manual, you've made my life a whole lot easier cheers! Edited 5 Jun 2016 by Ablex Share this post Link to post Share on other sites