FP instructions start with the prefix FP_. They can be selected from the FP library. When selecting instructions by category, look for the subsection "FP instructions". FP instructions have the following advantages over F instructions:
Overloaded instructions reduce the number of instructions with which you need to be familiar.
Data type safe: the compiler reserves the memory for input variables as well as for output variables.
Using an F instruction, e.g. F33_DDIV |
Using an overloaded FP instruction, e.g. FP_DIV_MOD |
No error message is issued. |
An error message is issued. |
Overloaded instructions are also available for PLCs processing 16-bit data types only.