Standard function blocks
226
Outputs
Output (O): INT, DINT
ROR
(10014)
Illustration
Execution time
1.28 µs
Operation
Input bits (I) are rotated to the right by the number (N) of bits defined by BITCNT. The N
least significant bits (LSB) of the input are stored as the N most significant bits (MSB) of
the output.
Example: If BITCNT = 3
Inputs
The input data type is selected by the user.
Input (I): INT, DINT
Number of bits input (BITCNT): INT, DINT
Outputs
Output (O): INT, DINT
SHL
(10015)
Illustration
Execution time
0.80 µs
Operation
Input bits (I) are rotated to the left by the number (N) of bits defined by BITCNT. The N
most significant bits (MSB) of the input are lost and the N least significant bits (LSB) of
the output are set to 0.
Example: If BITCNT = 3
ROR
(DINT)
60
TLA1 1 msec
(1)
BITCNT
I
O
O(60)
I
1 1 1 0 0 0 0 0 1 1 1 0 0 1 0 1 1 1 0 1 0 0 1 1 0 0 1 1 0 1 0 1
O
1 0 1 1 1 1 0 0 0 0 0 1 1 1 0 0 1 0 1 1 1 0 1 0 0 1 1 0 0 1 1 0
3 MSB
3 LSB
SHL
(DINT)
61
TLA1 1 msec
(1)
BITCNT
I
O
O(61)
I
1 1 1 0 0 0 0 0 1 1 1 0 0 1 0 1 1 1 0 1 0 0 1 1 0 0 1 1 0 1 0 1
O
0 0 0 0 0 1 1 1 0 0 1 0 1 1 1 0 1 0 0 1 1 0 0 1 1 0 1 0 1 0 0 0
3 MSB
3 LSB
Summary of Contents for ACSM1 Series
Page 1: ...ACSM1 Firmware Manual ACSM1 Speed and Torque Control Program...
Page 2: ......
Page 4: ......
Page 12: ...Table of contents 12...
Page 49: ...Drive control and features 49...
Page 282: ...Standard function blocks 282...
Page 306: ...Application program template 306...
Page 312: ...Control chain block diagrams 312...
Page 331: ...331...
Page 332: ...332...
Page 333: ......