Hi,
I am currently working on an device configuration import functionality. I need to create device template array elements but I don’t understand how to do it.
In the “Simulator” default device, there is a group named “random” in which there is an array (see image here) and I would like to reproduce this configuration in a new device. I don’t see how to do it via “Properties”>”Edit” window.
Could you explain how to create an array element for a device template ?
The Modbus driver does not create data tags of the array type. If a device has a list of similar registers, you could create a “request” (in terms of the driver) that includes the necessary number of elements to read. In this case, the driver creates a group of data tags.
So to use array data, the driver must array / list type support built in? or the protocol itself must support array / list type such as bacnet.
the current modbus driver seems not, neither the modbus protocol.
———————————–
If array / list type can be more flexible, that will be great.
E.g. in many real worlds case, the modbus data return a list of value in a row. e.g. 100 values of current from address 101 to 201.
For example, the device returns a list of registers A1…A10. And a manufacturer says that this is an array. A driver should create a tag that has length > 1 to support an array. But the current Modbus driver does not support this.
While OPC devices can return data of array types. And the OPC driver also supports this.