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-89
Program Example 2:
1.
When X0 OFF
→
ON, the bit registers of Y20~Y37 are shifted 2 digits to the right.
2.
Please refer to the following
n
~
p
steps to perform WSFR instruction of one time shift.
n
Y27~Y20
→
carry
o
Y37~Y30
→
Y27~Y20
p
X27~X20
→
Y37~Y30 complete
X0
WSFRP
K1X20
K4
K2
X27 X26 X25 X24
Y37 Y36 Y35 Y34 Y33 Y32
Y31 Y30 Y27 Y26 Y25 Y24 Y23 Y22
Y21 Y20
1
2
3
2 digits shift to the right
Carry
K1Y20
When using Kn device, the specified value must be equal
X23 X22
X21 X20
Содержание ELC-PB
Страница 1: ......
Страница 5: ...For more information visit www eaton com MN05003003E iv...
Страница 29: ...ELC Programming Manual For more information visit www eaton com MN05003003E 1 24 MEMO...
Страница 502: ...3 Instruction Set MN05003003E For more information visit www eaton com 3 333...
Страница 601: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 432...
Страница 625: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 456...