Properties
The Modbus module has the following properties:
Name | Description | ID | Flags |
---|---|---|---|
AdressMapping | True: Registertype base adress is subtracted from address given in SrcItemID, eg. daddr = SrcItemID - 40000 , for Holding registers | 1125 | Persisted |
AdressOffset | True: Registers are adressed starting at zero: register 1 is adressed as 0 | 1127 | Persisted |
BaudRate | Baud rate for serial communication. Only valid when Comm. type is Serial | 1210 | Persisted, Enumerated, ExpertPage |
Byteorder | Byte transfer order | 1121 | Persisted, Enumerated |
COM port | The COM port to use. Only valid when Comm. type is Serial | 1200 | Enumerated, ExpertPage |
Comm. type | Communication method, RTU(Serial), TCP, RTU over TCP/IP or None. Set to None if not connectet, to simulate signals. | 1110 | Persisted, Enumerated |
DataBits | Number of bits in the bytes transmitted and received. Only valid when Comm. type is Serial | 1230 | Persisted, Enumerated, ExpertPage |
Default Slaveaddress | The Slaveaddress (Unit ID) on Modbus slave, this property can be set individually on item level. | 1260 | Persisted, ExpertPage |
Endian | Modbus 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. | 1120 | Persisted, Enumerated |
ExchangeRate | The exchange rate in milliseconds for the 'ExternalItems' timer event. By default, used for updating external items values. | 100 | Persisted |
FlowControl | Flow control for serial communication. Only valid when Comm. type is Serial | 1250 | Persisted, Enumerated, ExpertPage |
Function Delay | Delay between multiple function calls where inquired data is not organized continuous in modbus registers and multiple calls are required on every read cycle. (ms) | 1060 | Persisted |
IP address | Ip Address of Modbus server. Only valid when Comm. type is TCP/IP | 1310 | Persisted, Computer |
LastQuery | Last command to modbus slave | 1500 | ReadOnly, PerformancePage |
LastResponse | Last modbus slave response | 1501 | ReadOnly, PerformancePage |
Number Of Redundant Slaves | The maximum number of redundant slave for this instance, valid range is 0-2. | 2000 | Persisted, ExpertPage |
Parity | Parity scheme for the serial communication. Only valid when Comm. type is Serial | 1220 | Persisted, Enumerated, ExpertPage |
Port | The TCP port of Modbus server. Only valid when Comm. type is TCP/IP | 1311 | Persisted |
Poll interval | Set this to other than 0 for a timer based polling (seconds) | 1055 | Persisted |
Read optimization | Valid 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_1 | The computer hosting the redundant Modbus slave, if configured. | 2010 | Persisted, ExpertPage |
RedundantPort_1 | The TCP port of the redundant Modbus slave, if configured. | 2011 | Persisted, ExpertPage |
RedundantComputer_2 | The computer hosting the redundant Modbus slave, if configured. | 2020 | Persisted, ExpertPage |
RedundantPort_2 | The TCP port of the redundant Modbus slave, if configured. | 2021 | Persisted, ExpertPage |
Socket timeout | The timeout, in seconds, for blocking send and receive calls. Only valid when Comm. type is TCP/IP | 1315 | Persisted |
StopBits | Number of stop bits to be used. Only valid when Comm. type is Serial | 1240 | Persisted, Enumerated, ExpertPage |
TimeReferenceItem | An item who's value will be used as the time reference for this module instead of the system time, when timestamping items. | 200 | Persisted, ApisItem, ExpertPage |
TracefileMaxSize | The max size of the trace file before the file is truncated in bytes. Default is 50 MB => 50 * 1024 * 1024 | 15000 | Persisted, ExpertPage |
TraceToFile | This is used to trace detail information about the incoming data over the link | 15010 | Persisted, File, ExpertPage |
See also Module Properties