D-67
D.5.11 Special Application Commands for the AC Motor Drive
API
Mnemonic
Operands Function
53
D HSCS
S1, S2, D
Compare (for high-speed counter)
Type
OP
Bit Devices
Word devices
Program Steps
X
Y
M K
H KnX KnY KnM T C D DHSCS: 13 steps
S1
* * *
*
*
*
*
*
S2
*
D
* *
Operands:
S1: Comparison Value S2: High-speed counter C235 D: Comparison result
Explanations:
1.
It needs optional PG card to receive external input pulse.
2.
To count automatically, please set the target value by using DHSCS command and set
M1028=On. The counter C235 will be ON when the count number = target value. If you
want to clear C235, please set M1029=ON.
3.
Please use rising-edge/falling-edge command, such as LDP/LDF, for the contact
condition. Please notice that fault may occur when using contact A/B for the contact
condition. When M1028 is On, M1018 will be set ON after executing DHSCS command.
In addition, M1029 can be used to clear high speed counter, and M1018 will be cleared as
<Off> after executing.
4.
There are three input modes for high-speed counter in the following can be set by D1044.
A-B phase mode(4 times frequency )(D1044=0): user can input the A and B pulse through
A and B terminal of EME-PG01 for counting. Make sure that
A
,
B
and GND are
grounding.