

"Copyright © Mitsubishi Electric Europe B.V.
IMPORTANT !
These Function Blocks are demo versions that are only intended to demonstrate program functions and provide general orientation for your software choices. They are not suitable for use in real applications! "
"Improper use of demo versions in applications can lead to serious malfunctions and damage! Programs for real applications must always be configured for the individual application by trained staff and tested thoroughly before being used.
Mitsubishi Electric cannot assume any liability if
these examples are used in real applications."
Input/Output | Data Type | Description |
i_eNumber | FLOAT | Number to be rounded |
i_iSignificantNum | Word [Signed] | Amount of significant numbers |
EROUND | FLOAT | Rounded number |
Selecting amount of numbers after the dot
is possible using i_iSignificantNum input. When „0” is inputted,
number will be rounded to integer part:
When i_iSignificantNum is set to another number, for example „2”: