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-57
Program Example 3:
Move the first digit of D1 to the third digit of D2 after the low byte of D2 is populated with X20-X27
and the low byte of D1 is populated with X30-X37.
Use SMOV to move the first digit of D1 to the third digit of D2 and combining these two digit
switches into one word (D2).
10
1
10
0
10
2
6
4
2
ELC
X33~X30
X27~X20
8
8
8
M1000
BIN
K2X20
D2
D1
SMOV
D1
K1
D2
K3
K1
K1X30
BIN
(X20~X27)BCD,
(X30~X33)BCD,
2 digits
D2(BIN)
1 digit
D1(BIN)
M1001
M1168
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...