Hei,
I am trying to look at a 16 bit word and see if any bit has changed from 0 to 1 and then trigger a bit to show that a new alarm has arrived. In Allen Bradley I used a word compare instruction for this. I would move the word into a memory area and then compare it to see if the bits have changed from 0-1. How do I do this with Siemens S7? Is there a word compare somewhere?
Also, Allen Bradley has a nice cd that explains all of the instructions and even the calculations behind them in some cases. Does anyone know where I can find this for S7? There is quite good help in the help system of S7 manager but I am looking for a cd or reference manual just for the instructions.
Thanks!
I am trying to look at a 16 bit word and see if any bit has changed from 0 to 1 and then trigger a bit to show that a new alarm has arrived. In Allen Bradley I used a word compare instruction for this. I would move the word into a memory area and then compare it to see if the bits have changed from 0-1. How do I do this with Siemens S7? Is there a word compare somewhere?
Also, Allen Bradley has a nice cd that explains all of the instructions and even the calculations behind them in some cases. Does anyone know where I can find this for S7? There is quite good help in the help system of S7 manager but I am looking for a cd or reference manual just for the instructions.
Thanks!