ModbusServerStringRecord

A Modbus Server String Record allows writing Modbus file records (server side support for Modbus function codes 20 and 21). The input and output is a string converted to/from a byte array. Writing occurs when the linkable write action is fired.
Figure 25.   ModbusServerStringRecord properties
Image

This component allows you to locally set the value of a string file record, and also accepts read and write messages for the specified file record. It also converts the data to ASCII characters to display as a string.

To use, copy from the modbusSlave or modbusTcpSlave palette and place anywhere under the Modbus server device

 NOTE: it is not a proxy point—if you put under the device’s Points container it will not be visible in any Modbus Server Point Manager view. 
Property Value Description
Data read-only Displays the value of the converted string as ASCII characters.
File Number number (defaults to 0) Identifies the source file for the data as a value from 0 to 65535.
Starting Record Number number (defaults to 0) Displays the record at which the converted string begins as a number fro 0 to 9999.
Record Length number (defaults to 0) Displays the length of the converted record from 0 to 65535.
Write On Input Change true or false Configures when to write a value to the register.

true writes a value when data coming in changes.

false ignores value changes.

Padding drop-down list (defaults to Pad with spaces) Indicates the type of characters used to fill out the record.
Input text box Displays the data coming in as a string from a byte array.
Output text box Displays the data going out as a string converted to a byte array.