Drivers Config Page

Drivers Config Page

Driver Documentation – Ethernet/IP, Modbus, DF1

Use this page as a quick reference for the communication drivers used in our control systems. This document is written for operators, field technicians, and integrators who need to understand what each driver is for, how it is typically configured, and what the main settings mean in day-to-day work.


Overview

The examples below are based on the driver names and block format typically seen in our system configuration. Site values such as IP address, baud rate, port name, and slave address will vary by project, but the overall format is usually the same

Protocol

Role (Master/Client or Slave/Server)

Typical Device Types

Notes

Protocol

Role (Master/Client or Slave/Server)

Typical Device Types

Notes

Modbus

Master

VFDs, meters, small controllers

RS-485 multi-drop or point-to-point RS-232.

Modbus

Slave

Local PLCs, RTUs, or controllers

Allows another local controller to read or write mapped system registers over Modbus RTU.

Modbus

Server

Local PLCs, SCADA systems, and HMIs

SCADA/PLC polling.

Modbus

Client

PLCs, analyzers over TCP/IP

Standard Modbus TCP.

Ethernet/IP

Master/Scanner

CompactLogix / MicroLogix PLCs

For standard tag-based access.

DF1

Master

MicroLogix / SLC‑500 PLCs

Point‑to‑point RS‑232.


Driver Blocks

The driver blocks below show how communication settings are stored in the workbook. Each block defines how the system talks to one device or one communication path. The driver name identifies the communication section, and the settings below it define the protocol, address, serial settings, or port information needed to make communication work.

 

Modbus RTU Master

Modbus RTU Slave

Modbus TCP Server

Modbus TCP Client

Ethernet IP

Ethernet IP

DF1

Modbus RTU Master

Modbus RTU Slave

Modbus TCP Server

Modbus TCP Client

Ethernet IP

Ethernet IP

DF1

VFD1:

DriverType: 'ModbusRTU'

Baudrate: 19200

PLCFormat: '8-N-1'

PLCUSBPort: 'usbBackLeft'

SlaveAddress: 2

Extended: n

InfluentPLC:

DriverType: 'ModbusRTUSlave'

Baudrate: 9600

PLCFormat: '8-N-1'

PLCUSBPort: 'usbBackLeft'

SlaveAddress: 2

Extended: n

GeneratorPLC:

DriverType: 'ModbusTCPServer'

SlaveAddress: 247

Port: 502

HeartbeatRegister: -1

 

TempHumiditySensor:

DriverType: 'ModbusTCP'

Address: '192.168.0.2'

SlaveAddress: 247

Port: 502

Extended: n

MicroLogiXPLC:

DriverType: 'EthernetIP MicroLogix'

Address: '192.168.1.1'

 

ControlLogixPLC:

DriverType: 'EthernetIP ControlLogix'

Address: '192.168.1.2'

 

DF1PLC:

DriverType: 'DF1'

Port: 'usbBackLeft

Baudrate:

SlaveAddress: 1

What each part of a driver block means

Driver Name
Examples: VFD1,InfluentPLC,GeneratorPLC,TempHumiditySensor,MicrologixPLC

This is the name of the communication block in the Tag map. Each driver gets a worksheet that matches its name. Tags defined on that worksheet are created on the referenced driver. This can be whatever you would like to call the device just as long as it matches the excel page name, but try to name it something meaningful.

Driver Type
Examples: ModbusRTU, ModbusTCP, EthernetIP MicroLogix, EthernetIP ControlLogix, DF1

This tells the system which communication protocol and device type to use. Driver type must match device settings and wiring. If it doesn't communication will fail and an alarm will be generated.

Address
Examples: 192.168.0.23, 192.168.1.101

This is the IP address of the Ethernet device the driver communicates with. It is used on Ethernet-based drivers such as Modbus TCP and Ethernet/IP.

Port
Example: 502

This identifies the communication port for Modbus TCP drivers. The default Modbus port is 502.

Slave Address
Examples: 1, 2, 255

This is the device address used by the protocol. For Modbus RTU, it is the slave address on the serial bus. For Modbus TCP, it is the unit ID when needed. For DF1, it is the PLC or node address used by the driver.

Baudrate
Example: 9600, 19200, 38400, 57600, 115200

This is the serial communication speed. It must match the device exactly or the driver will not be created.

PLCFormat
Example: 8-N-1, 8-E-1, 8-O-1

This is the serial framing, meaning data bits, parity, and stop bits. It must match the connected device exactly.

  • Data bits - How many data bits are used per transmitted byte

  • Parity - Is an optional basic error-checking bit. N means no parity bit is sent; E adds a bit so the total number of 1 bits is even; O adds a bit so the total number of 1 bits is odd.

  • Stop bits - Mark the end of each serial data character and help the receiving device stay synchronized.

Format

Meaning

Format

Meaning

8-N-1

8 data bits, No parity, 1 stop bit

8-E-1

8 data bits, Even parity, 1 stop bit

8-O-1

8 data bits, Odd parity, 1 stop bit

PLCUSBPort
Example: usbBackLeft, usbBackRight, usbFrontRight, usbFrontCenter, usbFrontLeft

This identifies which USB serial interface is used for the connection. If the wrong physical port is selected, the driver will not be talking to the device you expect.

Extended
Example: n, y

This setting controls whether the driver uses the standard Modbus register map or the extended Modbus register map.

  • n = Use the standard register map.

  • y = Enable extended registers and the extended register map.

Use y only when the connected device or site tag map is configured to use extended Modbus registers. Otherwise, use n.

For a Modbus master/client, this determines which available tag/register mapping the driver uses. For a Modbus RTU Slave or Modbus TCP Server, it allows the system to expose mapped values using extended registers.ModbusDevice.h+2

image-20260722-194611.png