BR-Bit (BInary-Result)

Top 

 

This bit is used to analyze the ENO-output of functions, function blocks and MOVE-blocks, for example.

 

You can copy the RLO into the BR-bit by the instruction SAVE.

You can use the BR as operand for A, O, AN, ON, ... . With the conditional jumps JBI and JNBI you can also evalutate the BR-bit. With the jumps JCB and JNB the RLO is copied automatically into the BR-bit.

 

If you write a function or a function block whose ENO-output is analysed in the calling block you will have to set the BR-Bit correspondingly in the last network of the FC or the FB with the instruction SAVE. For this you can set the RLO correspondingly with SET or CLR before.

 

See also:

CPU