In some situations not using the Modbus Register Groups feature in SmartStruxure can cause Modbus communication problems. It has been seen before where the Modbus controller falls offline for a few seconds then comes back online. This cycle will repeat every few seconds. When register groups are not used there may also be issues with the amount of time it takes for a Modbus points to update.
- Modbus Network
In a normal Modbus network, a Modbus polling device obtains data from a polled device by sending a query message to the device and then waiting for the response message that contains the requested value from the selected register. If data from another register is required, the polling device sends out a new query message and awaits the response message. This process is repeated until all subscribed points values have been read.
The Modbus Register Groups are a batch read function to poll Modbus devices. Instead of reading each register individually, the batch read function reads registers in manually created groups. When all registers in a group have been read, the response message returns subscribed register values for the whole group. Register grouping provides a dramatic saving in the time taken to poll your devices.
For more guidance and tips on this topic see Section 84.1 "Modbus Batch Read Function" in the StruxureWare Building Operation Technical Reference Guide.
Note: When viewing a picture containing modbus values, those values will update at the same interval as their modbus register group.
When grouping Modbus points it is important to keep in mind some of the following points.
- Try to ensure that as many Modbus points as possible are contained in as few groups as possible. This will reduce the overall time it takes the Enterprise Server or Automation Server to read all the subscribed points in each Modbus device.
- Network performance can be enhanced by choosing the method of grouping that is most suitable for each device in the Modbus network.
- Network performance can be enhanced by selecting a different default poll time for each register group. Network performance can also be enhanced by grouping together points that have the same or similar polls.
- Make sure to delete Modbus points out of a register group individually before deleting the group. If this is not done it can cause system delays.
Creating a Modbus Register Group
In Workstation, in the System Tree pane, right click on a Modbus device and go to New > Modbus Register Group.
In the "Create Object: Modbus Register Group" pane, type in the name and description of the group.
Now that the group has been created, Modbus points can be dragged and dropped into the group.
New Modbus points can be created in the group by right clicking on the Register Group and going to New > Modbus Point.