Start Operation, Series Connection, Parallel Connection
Start Operation, Series Connection, Parallel Connection: LD, LDI, AND, ANDI, OR, ORI
Instruction | Device address | No. of Steps | Flag | |||||||||||||||
M | X | Y | K | L | F | T | C | S | Z | D | @D | Int. | Error | Zero | Carry | |||
LD LDI AND ANDI OR ORI | S | o | o | o | o | o | o | o | o | o | - | - | - | - | 1 | - | - | - |
LD (Load), LDI (Load Inverse)
Functions:
LD is used to start the operation of Contact A while LDI is used to start the operation of Contact B.
The information (ON/OFF) on the assigned device is read and taken as the result of their operation.
List Mode
Steps | Instruction | Device |
0 | LD | X0001 |
1 | OR | M0005 |
2 | OR | X0002 |
3 | OUT | Y0012 |
4 | LD | X0003 |
5 | AND | M0011 |
6 | ORI | X0004 |
7 | OUT | Y0013 |
8 | END |
|
AND, ANDI (AND Inverse)
Functions:
AND is an instruction to connect in series with Contact A while ANDI is an instruction to connect in series with Contact B.
The information (ON/OFF) on the assigned device is read, and the result of the AND operation is taken as the result of their operation.
List Mode
Steps | Instruction | Device |
0 | LD | X0001 |
1 | OUT | Y0021 |
2 | AND | X0002 |
3 | OUT | Y0022 |
4 | ANDI | X0003 |
5 | OUT | Y0023 |
6 | END |
|
OR, ORI (OR Inverse)
Functions:
OR is an instruction to connect in parallel with Contact A while ORI is an instruction to connect in parallel with Contact B.
The information (ON/OFF) on the assigned device is read, and the result of the OR operation is taken as the result of their operation.
List Mode
Steps | Instruction | Device |
0 | LD | X0001 |
1 | AND | M0001 |
2 | LDI | M0004 |
3 | ANDI | X0002 |
4 | ORB |
|
5 | ANDI | M0019 |
6 | OUT | Y0022 |
7 | LD | X0005 |
8 | LD | M0008 |
10 | OR | M0009 |
11 | ANB |
|
12 | ANDI | M000B |
13 | OUT | Y0023 |
14 | END |
|