Beijer Electronics MODBUS TCP Ethernet IP Network User Guide

MODBUS TCP Ethernet IP Network

Product: WAGO MODBUS TCP v.5.11

Specifications

  • Driver Version: 5.11
  • Date: August 15, 2025

Introduction

This manual describes how to connect controllers to the driver
and how they communicate via WAGO addressing. The driver works as a
master. Addressing an item is made in the WAGO way. For information
about the controller, refer to the manual for the current
system.

Connecting to the Controller

5.1. Ethernet Connection

To connect to the controller via Ethernet, follow these
steps:

  1. Ensure the controller is powered on.
  2. Connect an Ethernet cable from the controller to your
    network.
  3. Configure the IP address settings on the controller if
    necessary.

Efficient Communication

10.1. Packing of Signals

Efficiently pack signals for communication by following these
guidelines:

  • Group related signals together.
  • Minimize unnecessary data transmission.

10.2. Waste

Avoid waste in communication by optimizing data transfer and
minimizing delays.

Troubleshooting

11.1. Error Messages

If you encounter error messages during communication, refer to
the troubleshooting section of the manual for solutions.

FAQ

Q: What should I do if I cannot establish a connection to the
controller?

A: Check the Ethernet connection, ensure the controller is
powered on, and verify the IP settings.

WAGO MODBUS TCP v.5.11
Driver Help
2025-08-15

Copyright © 2025 Beijer Electronics AB. All rights reserved.

Table of Contents
1. Introduction ………………………………………………………………………………….. 5
2. Release Notes ………………………………………………………………………………… 6
3. Disclaimer ……………………………………………………………………………………. 7
4. Limitations ……………………………………………………………………………………. 8
5. Connecting to the Controller ……………………………………………………………….. 9 5.1. Ethernet ………………………………………………………………………………. 9 5.1.1. Ethernet Connection ………………………………………………………….. 9
6. Settings ………………………………………………………………………………………. 10 6.1. General ………………………………………………………………………………. 10 6.2. Advanced …………………………………………………………………………….. 10 6.2.1. Commands ……………………………………………………………………. 10 6.3. Station ……………………………………………………………………………….. 11
7. Addressing …………………………………………………………………………………… 12 7.1. Digital Signals ………………………………………………………………………… 12 7.2. Analog Signals ………………………………………………………………………… 12 7.3. Special Addressing …………………………………………………………………… 12 7.4. Station Addressing …………………………………………………………………… 13 7.4.1. Broadcast Station …………………………………………………………….. 13 7.5. Performance …………………………………………………………………………. 13
8. Routing ………………………………………………………………………………………. 14
9. Import Module ………………………………………………………………………………. 15
10. Efficient Communication ………………………………………………………………….. 16 10.1. Packing of Signals …………………………………………………………………… 16 10.2. Waste ……………………………………………………………………………….. 16
11. Troubleshooting ……………………………………………………………………………. 18 11.1. Error Messages ………………………………………………………………………. 18

Beijer Electronics,

3

2025-08

4

Introduction
1. Introduction
This manual describes how to connect controllers to the driver, and how they communicate via WAGO addressing. The driver works as master. Addressing an item is made in the WAGO way. For information about the controller, we refer to the manual for the current system.

Beijer Electronics,

5

2025-08

Release Notes

2. Release Notes

Ver-

Release

sion

Description

5.11

July 2025

Added support for new HMI platform.

5.10

June 2017

Added support for new HMI platform.

5.09

June 2016

Added support for new HMI platform. Corrected issue when using index.

5.08

November

2015

The range of MX is increased from 0..1274 to 0..3327. Corrected reconnect problem.

5.07

May 2012

Corrected performance issue when reading many IX or QX devices at the same time.

5.06

April 2011

Added unicode string support for certain HMI models.

5.05

September

Support for new HMI models.

2010

5.04

April 2010

Corrected startup problem when using certain HMI models.

5.03

October 2009 Fixed reading of MX-devices.

Changed analog input/output modules setting to analog input/output words.

5.02

August 2009

Fixed string swap for analog devices.

Added column for analog input/output modules in the stations property to get the same addressing in the HMI as in the controller configuration program.

5.01

October 2008 Added controller clock support.

Changed default port number.

Added support for new HMI models.

Added support for single coil actions through the new devices SQX, SMX and SIX.

Added devices W and B for standard Modbus communication.

5.00

January 2007 Initial version.

2025-08

6

Beijer Electronics,

Disclaimer
3. Disclaimer
Please note that changes in the controller protocol or hardware, which may interfere with the functionality of this driver, may have occurred since this documentation was created. Therefore, always test and verify the functionality of the application. To accommodate developments in the controller protocol and hardware, drivers are continuously updated. Accordingly, always ensure that the latest driver is used in the application.

Beijer Electronics,

7

2025-08

Limitations
4. Limitations
WAGO addressing is used in this driver. This means that if you have an old project that uses another kind of addressing, the addresses must be converted.

2025-08

8

Beijer Electronics,

5. Connecting to the Controller
5.1. Ethernet
5.1.1. Ethernet Connection

Connecting to the Controller

Connection in a network is made according to Ethernet standards. To extend the network a switch may be used.
NOTE
When connecting to the controller, all included symbols are uploaded. Depending on the number of symbols, there could be a delay before the values are shown in the HMI.
For further information about settings in the controller, cable specifications and information about connecting the controller to the HMI we refer to the manual for the current controller.

Beijer Electronics,

9

2025-08

Settings

6. Settings

6.1. General
Parameter Default station Clock register (MW)

Default value 0 0

Description
The station address of the default controller.
Register address in the controller where clock data is stored.

6.2. Advanced

Parameter
Enable unicode

Default value
False

Byte order Timeout

Intel 400

Description
Enables read/write of unicode characters to the controller. Note that each character in a unicoded string will use two bytes of the memory in the controller. Sets the byte order of the unicode character. The number of milliseconds of silence on the port before the next retry is sent.

NOTE
Certain functions use the HMI as a gateway for passing on communication. These functions, including Transparent mode, Routing, Passthrough mode, Modem, and Tunneling, might need a higher timeout value.

Retries
Offline station retry time
Hide comm error
Command line options

3 10
False

Number of retries before a communication error is detected. How long to wait after a communication error before trying to restore communication.
Hides the error message that is displayed on communication problem. Special commands that can be passed to the driver. Available commands are described in the chapter Commands below.

6.2.1. Commands
No commands are available for this driver.

2025-08

10

Beijer Electronics,

Settings

6.3. Station

Parameter Station

Default value 0

IP address Port
Analog input

192.168.1.1 502
0

Analog output 0

Description The reference number used in the devices.
Maximum number of stations that can be configured: 20
Value range: [0-255] The IP address of the connected station. The port number of the connected station.
Value range: [0-65535] The number of analog input words used in the connected station.
Value range: [0-65535] The number of analog output words used in the connected station.
Value range: [0-65535]

Set the number of analog words in each station to match the addressing in the controller.
The controller sort the addresses starting with the analog modules followed by the digital modules.
To get the same addressing in the HMI as in the controller software the number of analog words must be configured for each station.
For example: Set the analog output to 2 will make the digital devices to start at QX2.0 and the analog devices will be QW0-QW1.

NOTE
Trying to read/write an address below the limit of the digital device area may cause unwanted behavior.

Beijer Electronics,

11

2025-08

Addressing

7. Addressing

The driver can handle the following data types in the controller.

7.1. Digital Signals

Name

Address

Read / write

Type

Physical Outputs

QX0.0 – QX31.15 *

Read / write

Digital

Physical Inputs

IX0.0 – IX31.15 *

Read only

Digital

Volatile PLC output variables

QX256.0 – QX511.15

Read only

Digital

Volatile PLC input variables

IX256.0 – IX511.15

Read / write

Digital

Remanent memory

MX0.0 – MX3327.15

Read / write

Digital

* Start and end address depend on the number of analog words configured for the controller.

NOTE
The Remanent memory digital devices work with the read before write method. This means that when a bit is modified, the whole word is read, the interesting bit is modified in the word, and the whole word is written back to the controller. This leaves a potential risk that any changes done to the 16 bits by the controller itself during this procedure may be lost.

Using the prefix S to the digital devices will use the function single coil write instead. This ensures that no other bits are affected when the write takes place. The drawback is that only one bit can be written at the time and may thus cause a performance hit when modifying several bits within the same word.
Example: writing to the MX12.3 bit will write all the bits MX12.0 to MX12.15, but writing to SMX12.3 will only write to the MX12.3 bit.

7.2. Analog Signals
Name Physical Outputs Physical Inputs Volatile PLC output variables Volatile PLC input variables Remanent memory

Address QW0 – QW255 IW0 – IW255 QW256 – QW511 IW256 – IW511 MW0 – MW4095

Read / write Read / write Read only Read only Read / write Read / write

Type Analog 16-bit Analog 16-bit Analog 16-bit Analog 16-bit Analog 16-bit

7.3. Special Addressing

Name Coils Holding registers

Address B W

Read / write Read / write Read / write

Type Digital Analog

2025-08

12

Beijer Electronics,

Addressing
The special addresses B and W can be used if the Wago-controller is programmed to use standard Modbus communication (Intel data format). The B-register is mapped to Modbus coil addresses (00000-) where B0 = 00000, B1 = 00001 etc. and the W-register is mapped to the holding registers (40000-) where W0 = 40000, W1 = 40001 etc. Note that only Modbus slave station 0 can be used.
7.4. Station Addressing
For communication with stations other than the default station, the station number is given as a prefix to the device.
Example 05:QX3.6 addresses Physical Output QX3.6 in station 5. 03:IX23.8 addresses Physical Input IX23.8 in station 3. QW262 addresses PFC OUT variable QW262 in default station.

7.4.1. Broadcast Station
Station number 0 is reserved for broadcast, which means that writing to address 0 will affect all slaves at the same time. Since it is only possible to write to station 0, objects referring to station 0 will be empty until a value is entered.

7.5. Performance
The following table shows the maximum number of signals per message for each address and type of operation. For information how to optimize the project for best performance please see chapter Efficient communication.

Addresses MW/IW/QW/W B/MX/SMX/IX/QX

Read 125 125

Write 100 1

Waste 20 20

Beijer Electronics,

13

2025-08

Routing
8. Routing
The driver does not support any routing mode.

2025-08

14

Beijer Electronics,

9. Import Module
The driver does not support any import module.

Import Module

Beijer Electronics,

15

2025-08

Efficient Communication
10. Efficient Communication
10.1. Packing of Signals
When tags are transferred between the driver and the controller, all tags are not transferred simultaneously. Instead they are divided into messages with several tags in each message. By decreasing the number of messages that have to be transferred, the communication speed can improve. The number of tags in each message depends on the used driver.
NOTE
ASCII Strings and arrays are packed into one message for each object.
NOTE
Having different pollgroups will affect how requests are generated.
10.2. Waste
To make the message as efficient as possible, the waste between two tag addresses must be considered. The waste is the maximum distance between two tag addresses that you can have and keep them in the same message. The waste limit depend on the used driver.
NOTE
Waste is only valid for number-based addressing, not for Name-based addressing.
NOTE
Waste can only be calculated between two similar datatype tags, not between different datatypes tags.
Scenario 1 When integer tags with address 4, 17, 45, 52 are used with waste limit of 20, this will end up creating two messages. First message with address 4 and 17 (tag address difference is 13 <= 20). Second message with address 45 and 52 (tag address difference is 7 <= 20). Reason: Difference between 17 and 45 is more than the waste limit of 20, hence creating 2nd message.

2025-08

16

Beijer Electronics,

Efficient Communication
Scenario 2 When integer tags with address 4, 17, 37, 52 are used with waste limit of 20, this will end up creating one message. Reason: Difference between the consecutive tags is less than or equal to the waste limit of 20, hence creating one message.
Conclusion Scenario 2 is more efficient than scenario 1.

Beijer Electronics,

17

2025-08

Troubleshooting

11. Troubleshooting

11.1. Error Messages
The meaning of error messages from the controller shown by the driver.

Error message Bad Reply
Comm Err
Illegal station

Description
The driver received an unexpected response. Verify that the devices exist and that their addresses are within a valid range for the connected controller.
Communication fails. Check communication settings, cable and station number.
The driver is trying to access a device in an Ethernet station that is not defined in the Stations configuration.

2025-08

18

Beijer Electronics,

Documents / Resources

Beijer Electronics MODBUS TCP Ethernet IP Network [pdf] User Guide
v.5.11, MODBUS TCP Ethernet IP Network, MODBUS TCP, Ethernet IP Network, IP Network, Network

References

Leave a comment

Your email address will not be published. Required fields are marked *