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-143
will be 0, indicating that ELC performs the comparison based on the group 0 data.
6.
When the group 0 data in the table has been compared, the ELC will first execute at the
frequency set in group 0 data (D2, D3) and copy the data to D1152 and D1153, determining if
the comparison reaches the target number of groups. If the comparison reaches the target,
M1153 will be On; if the comparison has not reached the final group, the content in D1151 will
add 1 and continue the comprison for the next group.
7.
M1153 is the flag for the completion of one execution of the table. It can be turned Off by the
user. Or when the next comparion cycle takes place and the group 0 data has been compared,
the ELC will automatically reset the flag.
8.
If you wish to use this mode with the PLSY instruction, preset the value in D1152.
9.
If you wish to stop the execution at the last row, set the value in the last row to K0.
10. When X10 turns Off, the execution of the instruction will be interrupted and the content in
D1151 will be reset to 0.
11. When in this mode, the frequency of the input pulses cannot exceed 50KHz or the neighboring
two groups of comparative values cannot differ by 1; otherwise there will not be enough time
for the ELC to react and result in errors.
X10
DHSZ
D0
K5
C251
M1152
PLS
M0
DPLSY
D1152
K0
Y0
M0
The comparison table:
32-bit data for comparison
High word
Low word
Pulse output frequency
0 ~ 200KHz
Table counting
register D1151
D1 (K0)
D0 (K0)
D3,
D2
(K5,000)
0
D5 (K0)
D4 (K100)
D7,
D6
(K10,000)
1
D9 (K0)
D8 (K200)
D11,
D10 (K15,000)
2
D13 (K0)
D12 (K300)
D15,
D14
(K6,000)
3
D17 (K0)
D16 (K400)
D19,
D18
(K0)
4
0
→
1
→
2
→
3
→
4
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...