Chapter 14 PLC Function
|
C200 Series
14-31
Command code:
Operation:
LD
X0
Load contact A of X0
ANI X1
Connect to contact B of
X1 in series
LDI X2
Load contact B of X2
AND X3
Connect to contact A of
X3 in series
ORB
Connect circuit block in
parallel
Example
Ladder diagram:
X1
X3
Y1
X0
X2
ORB
Block A
Block B
OUT Y1
Drive
Y1
coil
Mnemonic Function
MPS
Store the current result of the internal PLC operations
Operand
None
To save contents of the accumulative register into the operation result. (the result
operation pointer pluses 1)
Mnemonic Function
MRD
Reads the current result of the internal PLC operations
Operand
None
Reading content of the operation result to the accumulative register. (the pointer of
operation result doesn’t move)
Mnemonic Function
MPP
Reads the current result of the internal PLC operations
Operand
None
Reading content of the operation result to the accumulative register. (the stack pointer
will decrease 1)
Command code:
Operation:
LD X0
Load contact A of X0
MPS
Save in stack
AND X1
Connect to contact A of
X1 in series
OUT Y1
Drive Y1 coil
MRD
Read from the stack
(without moving
pointer)
AND X2
Connect to contact A of
X2 in series
OUT M0
Drive M0 coil
MPP
Read from the stack
OUT Y2
Drive Y2 coil
Example
Ladder diagram:
X0
Y1
X1
M0
X2
Y2
END
MPP
MRD
MPS
END
End program
Call 1(800)985-6929 for Sales
deltaacdrives.com
sales@deltaacdrives.com
Call 1(800)985-6929 for Sales
deltaacdrives.com
sales@deltaacdrives.com