Hello,
I have a question while writing a program for the CR1000Xe.
I am using the Modbus TCP/IP protocol to retrieve data from a sensor.
However, the sensor’s register addresses are spread out over a very wide range, so if I try to read them all at once I would need to fetch 3,350 × 4 bytes of data.
This seems very inefficient, so I’m considering breaking the requests into multiple TCP/IP calls instead.
There are 23 register categories in total, and each category is stored at addresses spaced 250 decimal apart.
Furthermore, the first 12 categories and the last 11 categories are separated by an address gap of about 1,600 decimal.
I expect the required scan interval to be around 10 minutes.
My three possible approaches are:
Read all registers in a single call
Split the registers into two calls
Split the registers into 23 individual calls
Which option would impose the least memory + network load? I appreciate your advice.
Thank you.