Convert variable for Process Gateway

Convert variable for Process Gateway

Hi! Have another one question :)
I have some variables from different devices (IEC850, 870-104) with analog values (Current, Voltage, Power, etc.). I have already adjusted this values in "Variable -> Value calculation". For some points i used linear adjustment(kW -> MW, V -> KV), for some points used macros "AdjustHardwareValue".
Now i need to send this points into central energy office via IEC870-104. Ok, i've succesfully created profile in Process Gateway. All ok, all working.
The problem is that i must give all analog values as Type: 9 (Measured value, normalized value). As you know, variables in this type must have values (-1.....1).
My question: What is the best way to convert ~100 different analog values in -1....1 values?
Zenon 7.11 EE

This is a migrated post! Originally posted on 27.02.2015 by user diemon. Please be aware that information can be outdated.