Appendix D How to Use PLC Function
|
D-58
Revision June 2008, 04EE, SW--PW V1.11/CTL V2.11
Operands:
D
: Device to be rotated
n
: Number of bits to be rotated in 1 rotation
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.
X0
D10
K4
1 1 1
1 1
1 0 0
0
0 0
1
1
0 0
0
1
1 0 0 0
0 0
1 1
0
0
1
1
0
1
1 1
16 bits
Rotate to the left
After one rotation
to the left
Carry
flag
Carry
flag
D10
D10
upper bit
upper bit
lower bit
lower bit
D.5.11 Special Application Commands for the AC Motor Drive
API
Mnemonic
Operands
Function
53
DHSCS
S1, S2, D
Compare (for high-speed counter)
Bit Devices
Word devices
Program Steps
Type
OP
X Y M K H
KnX KnY KnM T
C
D
S1
* *
*
S2
*
D
* *
* * *
DHSCS: 13 steps
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.
Содержание AC Motor Drive VFD-E
Страница 1: ......
Страница 2: ......
Страница 3: ......
Страница 13: ...This page intentionally left blank...
Страница 27: ...Chapter 1 Introduction 1 14 Revision June 2008 04EE SW PW V1 11 CTL V2 11 This page intentionally left blank...
Страница 233: ......
Страница 237: ...Appendix A Specifications A 4 Revision June 2008 04EE SW PW V1 11 CTL V2 11 This page intentionally left blank...
Страница 272: ...Appendix B Accessories Revision June 2008 04EE SW PW V1 11 CTL V2 11 B 35 B 11 DIN Rail B 11 1 MKE DRA...
Страница 274: ...Appendix B Accessories Revision June 2008 04EE SW PW V1 11 CTL V2 11 B 37...
Страница 275: ...Appendix B Accessories B 38 Revision June 2008 04EE SW PW V1 11 CTL V2 11 This page intentionally left blank...
Страница 349: ...Appendix D How to Use PLC Function D 66 Revision June 2008 04EE SW PW V1 11 CTL V2 11 This page intentionally left blank...