Properties

The Modbus module has the following properties:

NameDescriptionIDFlags
AdressMappingTrue: Registertype base adress is subtracted from address given in SrcItemID, eg. daddr = SrcItemID - 40000 , for Holding registers1125Persisted
AdressOffsetTrue: Registers are adressed starting at zero: register 1 is adressed as 01127Persisted
BaudRateBaud rate for serial communication. Only valid when Comm. type is Serial1210Persisted, Enumerated, ExpertPage
ByteorderByte transfer order1121Persisted, Enumerated
COM portThe COM port to use. Only valid when Comm. type is Serial1200Enumerated, ExpertPage
Comm. typeCommunication method, RTU(Serial), TCP, RTU over TCP/IP or None. Set to None if not connectet, to simulate signals.1110Persisted, Enumerated
DataBitsNumber of bits in the bytes transmitted and received. Only valid when Comm. type is Serial1230Persisted, Enumerated, ExpertPage
Default SlaveaddressThe Slaveaddress (Unit ID) on Modbus slave, this property can be set individually on item level.1260Persisted, ExpertPage
EndianModbus is a "big-endian" protocol: that is, the more significant byte of a 16-bit value is sent before the less significant byte. It seems obvious that 32-bit and 64-bit values should also be transferred using big-endian order. However, some manufacturers have chosen to treat 32-bit and 64-bit values as being composed of 16-bit words, and transfer the words in little-endian order. For example, the 32-bit value 0x12345678 would be transferred as 0x56 0x78 0x12 0x34. Select LittleEndian to use this mixed ordering.1120Persisted, Enumerated
ExchangeRateThe exchange rate in milliseconds for the 'ExternalItems' timer event. By default, used for updating external items values.100Persisted
FlowControlFlow control for serial communication. Only valid when Comm. type is Serial1250Persisted, Enumerated, ExpertPage
Function DelayDelay between multiple function calls where inquired data is not organized continuous in modbus registers and multiple calls are required on every read cycle. (ms)1060Persisted
IP addressIp Address of Modbus server. Only valid when Comm. type is TCP/IP1310Persisted, Computer
LastQueryLast command to modbus slave1500ReadOnly, PerformancePage
LastResponseLast modbus slave response1501ReadOnly, PerformancePage
Number Of Redundant SlavesThe maximum number of redundant slave for this instance, valid range is 0-2.2000Persisted, ExpertPage
ParityParity scheme for the serial communication. Only valid when Comm. type is Serial1220Persisted, Enumerated, ExpertPage
PortThe TCP port of Modbus server. Only valid when Comm. type is TCP/IP1311Persisted
Poll intervalSet this to other than 0 for a timer based polling (seconds)1055Persisted
Read optimizationValid only for function codes 03 Read Holding Registers and 04 Read Input Registers. Read strategy if data is organized in series with no gap in registry. Continuous Datatype: (default) Multiple values are read of same datatype. Continuous Address: Multiple values are read regardless of datatype.  
RedundantComputer_1The computer hosting the redundant Modbus slave, if configured.2010Persisted, ExpertPage
RedundantPort_1The TCP port of the redundant Modbus slave, if configured.2011Persisted, ExpertPage
RedundantComputer_2The computer hosting the redundant Modbus slave, if configured.2020Persisted, ExpertPage
RedundantPort_2The TCP port of the redundant Modbus slave, if configured.2021Persisted, ExpertPage
Socket timeoutThe timeout, in seconds, for blocking send and receive calls. Only valid when Comm. type is TCP/IP1315Persisted
StopBitsNumber of stop bits to be used. Only valid when Comm. type is Serial1240Persisted, Enumerated, ExpertPage
TimeReferenceItemAn item who's value will be used as the time reference for this module instead of the system time, when timestamping items.200Persisted, ApisItem, ExpertPage
TracefileMaxSizeThe max size of the trace file before the file is truncated in bytes. Default is 50 MB => 50 * 1024 * 102415000Persisted, ExpertPage
TraceToFileThis is used to trace detail information about the incoming data over the link15010Persisted, File, ExpertPage

See also Module Properties