SAVE : Save RLO to BR Memory
Description
The Save RLO to BR Memory instruction saves the RLO in the BR bit of the status word. The first check bit FC is not reset.
For this reason, if there is an AND logic operation in the next network, the state of the BR bit is included in the logic operation.
For the instruction SAVE (LAD, FBD, STL), the following applies and not the recommended use specified in the manual and online help:
We do not recommend that you use SAVE and then check the BR bit in the same
block or in subordinate blocks, because the BR bit can be modified by many instructions occurring inbetween. It is advisable to use the SAVE instruction before exiting a block, since the ENO output (= BR bit) is then set to the value of the RLO bit and you can then check for errors in the block.
With the Save RLO to BR Memory instruction, the RLO of a network can form part of a logic operation in a subordinate block. The CALL instruction in the calling block resets the first check bit.
Status Word
| BR | CC 1 | CC 0 | OV | OS | OR | STA | RLO | FC |
writes | - | - | - | - | - | - | - | - | - |
0 comments:
Post a Comment