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-141
255). If the number falls outside of the range, SET/RESET will not be enabled when the
comparison reaches its target.
6.
When this mode is enabled, the ELC will first acquire the values in D0 and D1 as the target
values for the first comparison section. At the same time, the index value displayed in D1150
will be 0, indicating that ELC performed the comparison based on the group 0 data.
7.
When the group 0 data in the table has been compared, the ELC will first execute the Y output
set in the group 0 data and determine if the comparison reaches the target number of groups.
If the comparison reaches the target, M1151 will be On; if the comparison has not reached the
final group, one will be added to the contents of D1150 and continue the comparison for the
next group.
8.
M1151 is the flag for the completion of one execution of the table. It can be turned Off by the
user, or when the next comparison cycle takes place and the group 0 data has been compared,
the ELC will automatically reset the flag.
9.
When X10 is turned Off, the execution of the instruction will be interrupted and the content in
D1150 will be reset to 0. However, the On/Off status of all outputs will be maintained.
10. When the instruction is being executed, all values in the comparison table will be regarded as
valid values only when the program scan reaches the END statement for the first time.
11. This mode can only be used once in the program.
12. This mode can only be used on the hardware high speed counters C241 ~ C254.
13. When in this mode, the frequency of the input pulses cannot exceed 50KHz or the neighboring
two groups of compare values cannot differ by 1; otherwise there will not be enough time for
the ELC to react and the result will be an error.
X10
DHSZ
D0
K4
C251
M1150
The comparison table:
32-bit data for comparison
High word
Low word
No. of Y output
On/Off indication
Table counting
register D1150
D1 (K0) D0 (K100) D2 (K10)
D3 (K1)
0
D5 (K0) D4 (K200) D6 (K11)
D7 (K1)
1
D9 (K0) D8 (K300) D10 (K10)
D11 (K0)
2
D13 (K0)
D12 (K400) D14 (K11)
D15 (K0)
3
K10: Y10
K11: Y11
K0: Off
K1: On
0
→
1
→
2
→
3
→
0
Cyclic scan
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...