The Modbus Serial Channel Tag
provides a serial SCADA communication channel to Modbus Devices.
The Modbus serial channel supports the properties of the Modbus Channel Tag plus these properties:
Property | Type | Version | Description |
---|---|---|---|
Port | WSTRING | 1.0 | The name of the communications port. For example 'COM1:' |
Mode | WSTRING | 1.0 |
The serial port communication speed, data format and handshake mode. Click the Browse button ![]() |
Protocol | USINT | 1.0 |
The communication protocol:
|
TransmitDelay | UINT | 3.34 | The number of characters to wait before sending the next Modbus RTU message. Only applies if Protocol is set to Modbus RTU. |
The Modbus RTU specification requires each message starts with a silent interval of at least 3.5 characters.
The TransmitDelay property sets the number of characters to wait before Fernhill SCADA sends the next message. The Fernhill SCADA Modbus driver waits for this interval before sending the next message.
The actual interval is calculated from the following parameters:
If the calculated value is less than 5ms, the value is rounded up to 5ms.
Not all Modbus RTU devices require a silent interval. Providing the silent interval maximizes interoperability with Modbus devices that require it.
The TransmitDelay is not applied if Protocol is set to Modbus ASCII.
The Modbus Serial Channel Tag supports the tag commands of the Modbus Channel Tag.
This is an example of channel configuration suitable for Modbus RTU:
Property | Value |
---|---|
ReplyTimeout | T#5s |
Port | COM1 |
Mode | Baud=9600 Parity=N Data=8 Stop=1 |
Protocol | Modbus RTU |
Notes:
The Modbus Serial Channel Tag builds on the features of these tag types:
To learn more about the Modbus Protocol.
To learn about the properties common to all active channels.
To learn about Modbus TCP Channel Tags.
To learn about Modbus Device Tags that can be associated with Modbus serial channels.
To learn about abnormal conditions in SCADA applications.
To learn how to set the communications speed, data format, and handshake mode of the serial port.
For the meaning of terms used in Fernhill SCADA.