Compare (For High-Speed Counter); D.5.11 Special Application Commands For The Ac Motor Drive - Delta Electronics AC Motor Drive VFD-E User Manual

Vfd-e high performance/flexible options/micro type ac motor drives
Table of Contents

Advertisement

Appendix D How to Use PLC Function|
Operands:
D: Device to be rotated
Explanations:
1.
This instruction rotates the device content designated by D to the left for n bits.
2.
This instruction adopts pulse execution instructions (ROLP).
Program Example:
When X0 goes from Off to On, the 16 bits (4 bits as a group) in D10 will rotate to the left, as shown in
the figure below. The bit marked with ※ will be sent to carry flag M1022.

D.5.11 Special Application Commands for the AC Motor Drive

API
Mnemonic
53
DHSCS
Type
Bit Devices
OP
X
Y
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.
D-58
n: Number of bits to be rotated in 1 rotation
X0
upper bit
1 1 1
Carry
flag
upper bit
1
1
Carry
flag
Operands
S1, S2, D
Word devices
M
K
H
KnX KnY KnM T
*
*
*
D10
K4
Rotate to the left
1
1 1
1
1 0 0
16 bits
After one rotation
to the left
1 1
1 0 0 0
0
0 0

Compare (for high-speed counter)

C
*
* * *
Revision June 2008, 04EE, SW--PW V1.11/CTL V2.11
lower bit
D10
0 0
0
0
0 0
lower bit
D10
0
0
1 1
1
1
Function
Program Steps
D
DHSCS: 13 steps
*

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents