Adding server file records

Rarely, you may also wish to expose string data as Modbus files in a virtual Modbus slave device. The modbusSlave and modbusTcpSlave palettes have a component especially for this application, which you can also copy under the Modbus device.
  1. Open the modbusSlave or modbusTcpSlave palette in the Palette side bar.
  2. In the Nav side bar, expand the slave 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 ModbusServerStringRecord 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 needed.
     NOTE: You do not have to copy the entire Modbus File Records folder from the palette—this is just the easiest way to add the needed component with a descriptive parent folder. You can locate ModbusServerStringRecord 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 Server Point Manager view.