D-42
Mnemonic
Function
AND
Series connection- A contact
Operand
X0~X17 Y0~Y17
M0~M159 T0~15 C0~C7 D0~D29
--
Explanations:
The AND command is used in the series connection of A contact. The function of the command is to
readout the status of present specific series connection contacts first, and then to perform the “AND”
calculation with the logic calculation result before the contacts, thereafter, saving the result into the
accumulative register.
Program Example:
Ladder diagram:
Command code:
Operation:
X0
X1
Y1
LDI
X1
Load contact B of X1
AND
X0
Connect to contact A of X0 in series
OUT
Y1
Drive Y1 coil
Mnemonic Function
ANI
Series connection- B contact
Operand
X0~X17 Y0~Y17
M0~M159 T0~15 C0~C7 D0~D29
--
Explanations:
The ANI command is used in the series connection of B contact. The function of the command is to
readout the status of present specific series connection contacts first, and then to perform the “AND”
calculation with the logic calculation result before the contacts, thereafter, saving the result into the
accumulative register.
Program Example:
Ladder diagram:
Command code:
Operation:
X0
X1
Y1
LD
X1
Load contact A of X1
ANI
X0
Connect to contact B of
X0 in series
OUT
Y1
Drive Y1 coil