I have setup Mango to work with a Zelio Logic through a ModBus TCP communication.
The Zelio is gathering several types of data (all numerical: temperature, pressure, counts) from its inputs and store them into internal variables.
I would like to get these values under Mango.
The problem is that the Zelio has only 4 input(J1XTx)/output ports(O1XTx) in Modbus.
So I have programmed the Zelio to provide for example:
- the temperature 1 value at O1XT1 port when the value 1 is written in J1XT1
- the temperature 2 value at O1XT1 port when the value 2 is written in J1XT1
- the pressure value ....
So Mango has to write a specific value in J1XT1 and record the value provided by Zelio at O1XT1.
The problem is that I can't find the mechanism in Mango to deal with the fact that it is reading different kind of data from a single modbus address and that it has to store them in different data points depending on the value that is written to J1XT1.
Do you have an idea on how can I do it?
Thank you very much for your help.