4 STANDARD FUNCTIONS/FUNCTION BLOCKS
4.1 Standard Functions
91
4
Standard bit shift functions
Shifting n-bit data to left/right
Rotating n-bit data to left/right
Standard bitwise boolean functions
AND operation, OR operation, XOR operation, NOT operation
Standard selection functions
Selection
Selecting Maximum/Minimum Value
Limit Control
Function symbol Description Reference
SHL Shifts an input value leftward by (n) bits and outputs the result. Page 791
SHL_E
SHR Shifts an input value rightward by (n) bits and outputs the result. Page 793
SHR_E
Function symbol Description Reference
ROL Rotates an input value leftward by (n) bits and outputs the result. Page 795
ROL_E
ROR Rotates an input value rightward by (n) bits and outputs the result. Page 797
ROR_E
Function symbol Description Reference
AND Outputs the logical product of input values. Page 799
AND_E
OR Outputs the logical sum of input values.
OR_E
XOR Outputs the exclusive logical sum of input values.
XOR_E
NOT Outputs the logical negation of input values. Page 801
NOT_E
Function symbol Description Reference
SEL Outputs a selected input value. Page 802
SEL_E
Function symbol Description Reference
MAX Outputs the maximum value of an input value. Page 804
MAX_E
MIN Outputs the minimum value of an input value.
MIN_E
Function symbol Description Reference
LIMIT Outputs an input value controlled with the upper and lower limits. Page 806
LIMIT_E