ModbusAsyncNetwork

This component is the base container for one or more ModbusAsyncDevice components. This network component specifies the Modbus data mode (RTU or ASCII) used by the network, and houses other standard network components, including a Serial Port Config container (SerialHelper) to specify the serial settings used by a remote host for communications.
Figure 7.   ModbusAsyncNetwork properties
Image

You access this component by clicking Drivers > ModbusAsyncNetwork in the Nav tree. The default view is the Modbus Async Device Manager.

Property Value Description
Status read-only Indicates the condition of the network, device or component at the last check.

{ok} indicates that the component is licensed and polling successfully.

{down} indicates that the last check was unsuccessful, perhaps because of an incorrect property, or possibly loss of network connection.

{disabled} indicates that the Enable property is set to false.

{fault} indicates another problem. Refer to Fault Cause for more information.

Enabled true (default) or false Activates (true) and deactivates (false) the object (network, device, point, component, table, schedule, descriptor, etc.).
Fault Cause read-only Indicates the reason why a system object (network, device, component, extension, etc.) is not working properly (in fault). This property is empty unless a fault exists.
Health read-only Reports the status of the network, device or component. This advisory information, including a time stamp, can help you recognize and troubleshoot problems but it provides no direct management controls.
Alarm Source Info additional properties Contains a set of properties for configuring and routing alarms when this component is the alarm source.
Monitor Ping Monitor Configures a network's ping mechanism, which verifies network health. This includes verifying the health of all connected objects (typically, devices) by pinging each device at a repeated interval.
Tuning Policies additional properties Configures network rules for evaluating both write requests to writable proxy points as well as the acceptable freshness of read requests.
Poll Scheduler additional properties Configures system timings functions.
Retry Count number Defines how many times to try a communication.
Response Timeout hours, minutes, seconds Defines the length of time to wait before a communication times out.
Float Byte Order drop-down list Specifies the byte-order used to assemble or receive floating-point (32-bit) values in messages. Choices reflect two alternate methods, where numerals 0, 1, 2, and 3 represent the least significant byte to most significant byte:
  • Order3210 – Most significant byte first, or big-endian, it is the default.
  • Order1032 – Bytes transmitted in a 1,0,3,2 order, or little–endian.
Long Byte Order drop-down list

Specifies the byte-order used to assemble or receive long integer (32-bit) values in messages. Choices reflect two alternate methods, where numerals 0, 1, 2, and 3 represent the least significant byte to most significant byte:

  • Order3210 - Most significant byte first, or big-endian, it is the default.
  • Order1032 - Bytes transmitted in a 1,0,3,2 order, or little-endian.

 NOTE: Float or long values received in incorrect byte order may appear abnormally big, or not at all. 
Use Preset Multiple Register true or false (default) Specifies whether to use function code 16 (Preset Multiple Registers) instead of function code 06 (Preset Single Register) when writing to registers. The default is false, where function code 06 (Preset Single Register) is used. This property depends on the Modbus function codes supported by child devices, which (if available) provide alternative options in Modbus messaging.

Function code 16 support (Preset Multiple Registers) is available in devices (true or false). The default is false, where function code Preset Single Register is in place.

Use Force Multiple Coil true or false (default) Specifies whether to use function code 15 (Force Multiple Coils) instead of function code 05 (Force Single Coil) when writing to coils. The default is false, where function code 05 (Force Single Coil) is used. This property depends on the Modbus function codes supported by child devices, which (if available) provide alternative options in Modbus messaging.

Function code 15 support (Preset Multiple Coils) is available in devices (true or false). The default is false, where function code Preset Single Coil is in place.

Max Fails Until Device Down number (defaults to 2) Defines how many times a communication may fail before the device with which the system is communicating is considered to be down.
Inter Message Delay hours, minutes and seconds (defaults to 1 second) Configures the time delay between messages.
Serial Port Config additional properties Refer to Serial Port Config.
Modbus Data Mode drop-down list (defaults to Rtu) Selects the type of serial network.

Rtu (Remote Terminal Unit)

Ascii (American Standard Code for Information Interchange)

Sniffer Mode true or false (default) Usually left at the default unless there is a particular reason to change it.
Rtu Sniffer Mode Buffer Size number (defaults to 8) Usually left at the default unless there is a particular reason to change it.

Serial Port Config

Specifies the serial port/communications setup required to communicate to the serial Modbus devices.

Figure 8.   Serial Port Config properties
Image
Property Value Description
Status read-only Indicates the condition of the network, device or component at the last check.

{ok} indicates that the component is licensed and polling successfully.

{down} indicates that the last check was unsuccessful, perhaps because of an incorrect property, or possibly loss of network connection.

{disabled} indicates that the Enable property is set to false.

{fault} indicates another problem. Refer to Fault Cause for more information.

Port Name text (defaults to none) Defines the communication port to use: none, COM2 or COM3.
Baud Rate drop-down list (defaults to Baud9600) Defines communication speed in bits per second.
Data Bits drop-down list (defaults to Data Bits8) Defines the number of bits required to encode a character (a byte).
Stop Bits drop-down list (defaults to Stop Bit1) Defines the number of bits that indicate the end of a character.
Parity drop-down list (defaults to None) Defines the odd or even requirement of a transmitted byte of data for the purpose of error detection.
Flow Control Mode check box Using the selected Modbus protocol, manages the efficient transmission of data between two devices.