Read MODBUS controller register from script without tags
Posted: Wed Jan 29, 2014 3:30 am
Hello,
our application needs to read multiple modbus address pools from different modbus slave controllers.
Due to that it is very hard to instance hundreds of tags and then use huges "switch-cases" structures to parse them since we need to "switch the contest" among the devices from the same screen without using a screen for each controller.
The question is:
Is there any way to index a specific modbus address (for read/write) from scripting?
We need to do something like a baseaddress+offset indirect addressing.
thanks very much.
our application needs to read multiple modbus address pools from different modbus slave controllers.
Due to that it is very hard to instance hundreds of tags and then use huges "switch-cases" structures to parse them since we need to "switch the contest" among the devices from the same screen without using a screen for each controller.
The question is:
Is there any way to index a specific modbus address (for read/write) from scripting?
We need to do something like a baseaddress+offset indirect addressing.
thanks very much.