Driver Multiplexer

Not counted towards your tag license limit.

Driver multiplexer (DriverMUX) tags allow you to set up redundant or alternate lines of communication between I/O tags(*) and equipment.

The Driver Multiplexer will not work if you have enabled SharedRPC mode for your communications driver. This mode prevents the DriverMUX from detecting that one driver has failed.

Reference Notes:

(*) Note that the definition refers to communication between the I/O tag and equipment, not between the driver and equipment. Certain drivers, notably the CIP, will generate their own communication traffic in order to do health checks or update addressing. Because the DriverMUX does not stand between the driver and the PLC, it has no control over this automatically generated traffic.
Health checks are not performed when the DriverMUX is in Alternating mode.

It is recommended that all communications go through the DriverMUX tag(s) and not through the subordinate drivers at all. See DriverMUX I/O Addressing for more details.

Possible uses for this tag include:

  • Establishing a fail-over communications route in the event that one driver is lost.

In its basic configuration, the DriverMUX tag will direct all communications to the primary driver. In the event that the connection to the primary driver is lost, communication will switch to the secondary driver.

  • Upgrading to new communications equipment/drivers with zero downtime.

In this scenario, you would install the new equipment and drivers while the existing system remains in place. The new drivers would be connected to the DriverMUX tag instead of directly to your I/O devices. When you are ready to test the new system, you can direct the DriverMUX to switch to the new, secondary system. If there are problems, then communication will immediately and automatically switch back to the primary system with no loss of data.

  • Load sharing between two lines of communication.

The DriverMUX tag can be directed to use both communication drivers in either an alternating or an as-ready basis. While one driver is busy with a large packet, the other can continue to send messages.

If a DriverMUX tag has a Polling Driver for one of its subordinate drivers, then it must have a Polling Driver as both subordinates.
A DriverMUX tag may be subordinate to a Polling Driver.

 

To log an event for each switch between the primary and secondary communication path, create an alarm that monitors the state of the expression, [DriverMUX Tag Name]\CurrentSubDriver. "CurrentSubDriver" is a property of this tag, identifying the subordinate driver in use.

To log an event for failure of either communication path, create an alarm for each driver. Refer to the topic Communication Driver Alarms for details.