Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Location:

<WorkspaceDirectory>\DataFiles\xio.Modbus.AddressMappingDefinitions.dat


To use an addressing scheme different to the standard Modbus memory addresses that start with address 0, an address mapping is possible. These additional address mappings can be specified here. For each Modbus device, an individual address mapping can be specified.
The structure of the Modbus address mapping definition file is as follows:


' Modbus address mapping definition file'
' Mapping Name;Offset for Discrete Input;Offset for Coil;Offset for Input Register;Offset for Holding Register
RegisterNumber;1;1;1;1
FunctionCode;20001;10001;40001;30001
Each line – except comment lines that start with ' – defines one Modbus address mapping.

...