Adding file records

A Modbus client string record provides for the reading and writing of Modbus file records (client side support for Modbus function codes 20 and 21). The input and output is a string converted to and from a byte array. Writing occurs when the linkable write action is fired, and reading occurs when the linkable read action is fired.
  1. Open the modbusAsync or modbusTcp palette in the Palette side bar, if not already opened.
  2. In the Nav side bar, expand the client Modbus network to show the Modbus device of interest.
  3. From the palette, drag the Modbus File Records folder onto the Modbus device in the Nav side bar (or, into the property sheet view of that device, if open).
  4. In the popup Name window, accept the default Modbus File Records name or enter an alternate name, and click OK.

    The folder is added under the device. By default it contains a single ModbusClientStringRecord component. You can duplicate it if multiple file record objects are needed.

  5. Double-click the added component to open its property sheet, and enter appropriate configuration values per the Modbus device vendor’s documentation.
     NOTE: You do not have to copy the entire Modbus File Records folder from the palette—this is simply the easiest way to add the needed component with a descriptive parent folder. You can locate ModbusClientStringRecord components anywhere under the Modbus device. However, be aware if you copy these components under the Points container, they are not visible in any Modbus Client Point Manager view.