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-135
Program Example 2:
When DHSCR instruction uses the same high speed counter number as a DCNT instruction, and
when the present value in the high speed counter C251 changes from 999 to 1,000 or 1,001 to
1,000, C251 will be reset.
M1000
DCNT
C251
K200
DHSCR K1000
C251
C251
1,000
200
Affected by scan time
C251 output contact
Not affected by scan time
Remarks:
1.
All ELC series controllers support high speed counters. For the limitatios on the use of the high
speed counter instructions, see the remarks for API 53 DHSCS for more details.
2.
M1261 of ELC-PV series designates the external reset modes of the high speed counter.
Some high speed counters have input points for external reset; therefore, when the input point
is On, the present value in the corresponding high speed counter will be cleared to 0 and the
output contact will be Off. If the reset needs to be executed immediately by the external input,
you must set M1261 ON.
3.
M1261 can only be used in the hardware high speed counters C241 ~ C255.
4. Example:
a) X2 is the input for the external reset of C251.
b) Assume Y10 = On.
c) When M1261 = Off and X2 = On, the present value in C251 will be cleared to 0 and the
contact of C251 will be Off. When the DHSCR instruction is executed, there will be no
counting input pulses and the comparison result will not reset Y10. The external output
will not execute the reset; so Y10 = On will remain unchanged.
d) When M1261 = On and X2 = On, the present value in C251 will be cleared to 0 and the
contact of C251 will be Off. When DHSCR instruction is executed, there will be no
counting the input pulses but the comparison result will occur. Therefore, Y10 will be
reset.
Содержание 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...