Chapter 16 PLC Function ApplicationsMS300 (High Speed Model)
16-36
Command Function
ANI
Connect contact B in series
Operand
X0~X17 Y0~Y17 M0~M799 T0~159 C0~C79 D0~D399
-
The ANI command is used to create a series connection to contact B; its function is to
first read current status of the designated series contact and logical operation results
before contact in order to perform "AND" operation; saves results in cumulative
register.
Ladder diagram:
X0
X1
Y1
Command code: Description:
LD X1 Load Contact A of X1
ANI X0
Create series
connection to contact B
of X0
OUT Y1 Drive Y1 coil
Command Function
OR
Connect contact A in parallel
Operand
X0~X17 Y0~Y17 M0~M799 T0~159 C0~C79 D0~D399
-
The OR command is used to establish a parallel connection to contact a; its function is
to first read current status of the designated series contact and logical operation
results before contact in order to perform "OR" operation; saves results in cumulative
register.
Ladder diagram:
X0
X1
Y1
Command code: Description:
LD X0 Load Contact A of X0
OR X1
Create series
connection to contact A
of X1
OUT Y1 Drive Y1 coil
Command Function
ORI
Connect contact B in parallel
Operand
X0~X17 Y0~Y17 M0~M799 T0~159 C0~C79 D0~D399
-
The ORI command is used to establish a parallel connection to contact B; its function
is to first read current status of the designated series contact and logical operation
results before contact in order to perform "OR" operation; saves results in cumulative
register.
Ladder diagram:
X0
X1
Y1
Command code: Description:
LD X0 Load Contact A of X0
ORI X1
Create series
connection to contact B
of X1
OUT Y1 Drive Y1 coil