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-139
longer available for DHSZ instruction. If comparators are used repeatedly, the syntax error
will be detected on the previous instruction..
Program Example 1:
1. When
D
is specified as Y0, then Y0~Y2 will also be used..
2.
When the DHSZ instruction is executed and the high-speed counter C246 is counting, if the
high or low limit value is reached, one of Y0~Y2 will be ON.
M1000
DCNT
C246
K20000
DHSZ
K1500
K2000
C246
Y0
Y0
Y1
Y2
When current value of C246 < K1500, Y0=On
When K1500 < current value of C246 < K2000, Y1=On
When current value of C246 > K2000, Y2=On
Program Example 2:
1.
When using the DHSZ instruction to control stop, high, or low speed, C251 is set as an AB
phase high-speed counter.
2.
When X30=ON, DHSZ will turn Y0=ON when the current value
≦
K2,000. In order to improve
this, use the DZCPP instruction to compare C251 against K2,000 during the first program scan
after going to RUN. When counting the current value
≦
K2,000, Y0=ON and the DZCPP
instruction is Pulsed. Instruction DZCPP can only be executed ONCE in a program. Y0 will
continue to be ON.
3.
When X20=OFF, Y0~Y2 will be reset to OFF.
X20
RST
C251
ZRST
Y0
Y2
M1000
DCNT
C251
K10000
X30
DZCPP
K2000
K2400
C251
Y0
DHSZ
K2000
K2400
C251
Y0
Содержание 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...