I'm looking for a decent way to set independent statusbits of the statusword in simatic Step7. (CC0 - CC1 - OV - BR - etc...)
When I want to set CC1 I use:
L 5
L 5
-I
When I want to reset CC1 I use
L 5
L 5
+I
I don't think this is the cleanest way to do this, so how do I adress the indepedent bits? I'm also looking for a way to evaluate statusbits without the jump instructions (JMZ, JBI, ...)
When I want to set CC1 I use:
L 5
L 5
-I
When I want to reset CC1 I use
L 5
L 5
+I
I don't think this is the cleanest way to do this, so how do I adress the indepedent bits? I'm also looking for a way to evaluate statusbits without the jump instructions (JMZ, JBI, ...)