07-03-2022, 03:59 PM
Good morning.
I come here again, because i have a issue and i dont have the solution now.
Actually i use a Analogue input switch to read by modbus the 8 current input. These part work perfectly.
But we need to read and log the actual current value and the scaled data of the current (pressure).
That's why I decided to use 2 tags.
The "CAPT_BRUT" and "CAPT_BAR" TAG to achieve this.
The CAPT_BRUT TAG works by MODBUS
The CAPT_BAR TAG works by BASIC IDE with the ONCHANGE function
EXAMPLE:
ONCHANGE "CAPT_BRUT", "CAPT_BAR@=CAPT_BRUT@"
This part works.
Afterwards I thought to use the automatic scaling provided by Ewon. The one with the coefficient and the offset that I configure in CAPT_BAR.
However that doesn't work. Scaling is not done.
Have you ever seen this problem?
I come here again, because i have a issue and i dont have the solution now.
Actually i use a Analogue input switch to read by modbus the 8 current input. These part work perfectly.
But we need to read and log the actual current value and the scaled data of the current (pressure).
That's why I decided to use 2 tags.
The "CAPT_BRUT" and "CAPT_BAR" TAG to achieve this.
The CAPT_BRUT TAG works by MODBUS
The CAPT_BAR TAG works by BASIC IDE with the ONCHANGE function
EXAMPLE:
ONCHANGE "CAPT_BRUT", "CAPT_BAR@=CAPT_BRUT@"
This part works.
Afterwards I thought to use the automatic scaling provided by Ewon. The one with the coefficient and the offset that I configure in CAPT_BAR.
However that doesn't work. Scaling is not done.
Have you ever seen this problem?