PLC Mitsubishi FX5U.
HMI iX T12B with iX Developer
The HMI is writing decimals to the PLC data registers. I want to scale the PLC data register value by 0.1. I've configured as follows:
The HMI will only allow me to enter 1, 1.0, 2, 2.0. If I enter a decimal value - 1.1, etc., I receive Error FormatException.
If I edit the register values in the PLC I get the following results:
PLC HMI
00 0.0
01 0.0
05 0.0 <-- rounded down.
06 1.0
09 1.0
10 1.0
11 1.0
12 1.0
13 1.0
14 1.0
15 2.0 <-- rounded up!
16 2.0
Can anyone explain how to get decimal entry working?
Tag scaling by 0.1 results in rounding to integer [Solved]
-
- Posts: 25
- Joined: Sat Jul 04, 2015 6:13 am
Tag scaling by 0.1 results in rounding to integer [Solved]
Last edited by Transistor on Wed Sep 02, 2015 3:46 pm, edited 1 time in total.
-
- Posts: 25
- Joined: Sat Jul 04, 2015 6:13 am