Series and Parallel Connection of Blocks
Series Connection and Parallel Connection of Blocks: ANB, ORB
ANB and ORB instructions are not contact symbols but connection symbols that connect blocks either in series or parallel.
Instruction | Device address | No. of Steps | Flag | ||||||||||||||
M | X | Y | K | L | F | T | C | S | Z | D | @D | Int. | Error | Zero | Carry | ||
ANB ORB | - | - | - | - | - | - | - | - | - | - | - | - | - | 1 | - | - | - |
ANB (AND Block)
Function
Connect ‘Block A’ and ‘Block B’ in series and take the result to the output.
ANB instruction is not a contact symbol but a connection symbol.
A maximum of 15 instructions (16 blocks) are available in case of writing the ANB continuously.
Example)
Steps | Instruction | Device |
0 | LD | X0000 |
1 | OR | X0002 |
2 | LD | X0001 |
3 | OR | X0003 |
4 | ANB |
|
5 | OUT | M0000 |
6 | END |
|
7 | PEND |
|
ORB (OR Block)
Function
-Connect ‘Block A’ and ‘Block B’ in parallel and take the result to the output.
-ORB instruction is used to connect the circuit block over two contacts in parallel. On the other hand, to connect the circuit block of one contact, use the OR and the ORI. ORB is not necessary in this case.
-ORB instruction is not a contact symbol but a connection symbol.
-A maximum of 15 instructions (16 blocks) are available in case of writing the ORB continuously.
Example)
Steps | Instruction | Device |
0 | LD | X0000 |
1 | AND | X0001 |
2 | LD | X0002 |
3 | AND | X0003 |
4 | ORB |
|
5 | OR | X0004 |
6 | OUT | Y0010 |