Bit-shift instructions
591
Part III FP Instructions
Example
In this example, the same POU header is used for all programming languages. For an example
using IL (instruction list), please refer to the online help.
POU header
All input and output variables used for programming this function have been declared in the POU
header.
Body
When the variable start changes from FALSE to TRUE, the function is carried out.
LD
ST
When programming with structured text, enter the following:
IF DF(start) THEN
F122_RCR( n:= 4,
d=> rot_value);
END_IF;