3 . I n s t r u c t i o n S e t
M N050 03003E F or mo re infor ma tio n vi sit:
w w w. e a t o n . c o m
3 - 7
Program Example:
X0
Y1
X1
M0
X2
Y2
END
MPP
MRD
MPS
Instruction:
Operation:
LD
X0
; Load contact A of X0
MPS
; Save to stack
AND
X1
; Connect to contact A of X1 in series
OUT
Y1
; Drive Y1 coil
MRD
; Read from stack
AND
X2
; Connect to contact A of X2 in series
OUT
M0
; Drive M0 coil
MPP
; Read from stack and pop pointer
OUT
Y2
; Drive Y2 coil
END
; Program end
MPS, MRD and MPP usage:
1.
When writing a program in ladder format, programming tools automatically add all MPS, MRD
and MPP instructions at the program conversion stage. If the generated instruction program
is viewed, the MPS, MRD and MPP instructions are present.
2.
When writing a program in instruction format, it is entirely up to the user to enter all relevant
MPS, MRD and MPP instructions as required.
Mnemonic Operands
Function
Program steps
OUT
X, Y, M, S, T, C
Output coil
1
ELC ELCB
ELCM
PB
PC/PA/PH
PV
PB
PH/PA
Use the OUT Instruction to turn a bit on when the conditions preceding it are evaluated as true.
Program Example:
X0
X1
Y1
Instruction:
Operation:
LDI
X0
; Load contact B of X0
AND
X1
; Connect to contact A of X1 in series
OUT Y1
; Drive Y1 coil
Summary of Contents for ELC-PB
Page 1: ......
Page 5: ...For more information visit www eaton com MN05003003E iv...
Page 29: ...ELC Programming Manual For more information visit www eaton com MN05003003E 1 24 MEMO...
Page 502: ...3 Instruction Set MN05003003E For more information visit www eaton com 3 333...
Page 601: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 432...
Page 625: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 456...