Good idea to have more datasource for a single device?
-
Hy,
it is a good idea to have 2 datasource MODBUS I/PDatasource_1 --> Modbus I/P --> 192.168.1.90:502 --> slaveId 255
Datasource_2 --> Modbus I/P --> 192.168.1.90:502 --> slaveId 255Datasource_1 and Datasource_2 contains point that are different on a behavioural point of view,
Datasource_1 contains configuration datapoints
Datasource_2 contains operational datapointsor it is better to have just one Datasource containing all datapoints?
Thanks,
Antonio -
Hi Antonio,
The only reason I can think of it being necessary to split points onto two modbus data sources as you describe is if you want the points polled at different rates. As far as permissions controls go, you would want to restrict set permission at the point level (as giving a user data source permission would give them permission to create points and thus set things they may not supposed to be able to) so that would be the same whether it was one or two data sources. If they are polling at the same rate, then having them all on one data source will enable trying to request groups of registers together, so perhaps it will be more efficient on the wire.
-
Either that or you add tags to your points, they still collect data but you filter them by tag info ie ids,serials,etc with a point query
-
@phildunlap
Hi Philip is there reason not to do have multiple data sources with the same IP and slave address? Will it cause problems ?
I have a few reasons why it would be an advantage to me... -
I gave the reason - the management of the points (particularly the permissions) is more straightforward. But, it does seem unlikely you would give an untrusted user permission to add points to one of the data sources that talks to a device you don't want them setting some values to. Either way I encouraged point level permissions.
The other reason is the data source may be able to request all the necessary data in fewer requests if it's all on the same data source.
It is likely that you Modbus device has a setting (whether configurable or not) for how many concurrent IP connections it will accept. It should accept a few and work fine.