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-21
units. The total memeory units occupied by the three instructions cannot be more than 8 units.
If there are more than 8 memory units occupied, the ELC system will execute the instruction
that is scanned first and ignore the rest.
6. In M-PH/M-PA series, only 1 instruction can be executed at the same scan cycle: API 52 MTR,
API 69 SORT, API 70 TKY, API 71 HKY, API 72 DSW, API 74 SEGL, API 75 ARWS.
7. In ELCM-PH/PA series, only 4 instruction can be executed at the same scan cycle: API 56 SPD,
API 169 HOUR.
8. In ELCM-PH/PA series, there is no limitation on the times of using the high-speed output
instructions API 57 PLSY, API 58 PWM, API 59 PLSR, API 156DZRN, API 158 DDRVI, API
159 DDRVA and API 195 DPTPO, but only one high-speed output instruction will be executed
in the same scan time.
9. In ELCM-PH/PA series, there is no limitation on the times of using the communication
instructions API 80 RS, API 100 MODRD, API 101 MODWR, API 150 MODRW, but only one
communication instruction will be executed on single COM port during the same scan cycle.
Numeric Values
1.
Devices such as X, Y, M, S are bit addresses and there are only two states, ON and OFF.
However, T, C, D, E, F are data registers or word addresses. Although a bit device can only be
a single point ON/OFF, they can also be used as numeric values in the operands of
instructions if the Kn designation is used in front of the bit address.. The designation Kn placed
in front of a bit address indicates that the bit address is a starting address and the n
determines how many bits follow, where “n” is in the range of 1 to 8. Each n number represents
4 bits. For example, K1M0 represents M0-M3.
2.
16-bits can be represented with K1 to K4, and 32-bits can be represented with K1 to K8. For
example, K2M0 means there are 8-bits from M0 to M7. For the example below, MOV K2M0
D1:
M15
M14 M13 M12
M11 M10
M9
M8
M7
M6
M5
M4
M3
M2
M0
M1
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
D1
D1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
b15
b14
b13 b12
b11
b10
b9
b8
b7
b6
b5
b4
b3
b2
b0
b1
0
0
0
0
0
0
0
0
Valid data
Low byte
Low byte
Equal to
Transmit
Clear to 0
Содержание 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...