Display different variable value

Display different variable value

Hi support team,
I am getting data of variable in zenon 7.0 using modbus energy driver.
But if the variable value is 11570 i have to display -2, 0 instead of 79, 1 instead of 49.
a variable have such 24 cases.
and there are many such variables.
Writing the Zenon logic for every single variable make it bulky.
Is there any other way to achieve this?
I appropriate your support.
Please help.

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