WAGO 750-8212 Custom TCP Server and 750-891 Modbus TCP Coupler – Boot Application Issue
Hello,
I am working with two WAGO devices:
-
WAGO 750-8212 PFC200 Controller
-
WAGO 750-891 Modbus TCP Coupler
Both devices have I/O modules connected.
My PC runs an MFC/C++ application. The application needs to communicate with both WAGO systems.
Network Configuration
WAGO 750-8212
I created a CODESYS application using CFC (Continuous Function Chart).
The 750-8212 is configured as a custom TCP server:
-
IP Address:
10.10.15.254 -
TCP Port:
2000
I created an array in CODESYS and assigned the required variables to the array. My MFC application communicates with these variables through the TCP server.
WAGO 750-891
The 750-891 is used as a Modbus TCP coupler:
-
IP Address:
10.10.15.252 -
Modbus TCP Port:
502
My MFC application communicates with the 750-891 using Modbus TCP.
Therefore, I have two separate TCP communications:
PC / MFC Application
|
|---- Custom TCP
| 10.10.15.254 : 2000
|
+---- Modbus TCP
10.10.15.252 : 502
Scenario 1 – Boot Application NOT Used
When I download/run the CODESYS application normally, the custom TCP communication with the 750-8212 (10.10.15.254:2000) works correctly.
My MFC application can connect and communicate with the controller.
However, after powering OFF and powering ON the 750-8212, the application does not automatically start.
The MFC application cannot connect to:
10.10.15.254:2000
unless I open CODESYS and run/download the application again.
So, it appears that the CODESYS application is not automatically starting after a power cycle.
Scenario 2 – Boot Application Used
I then downloaded the CODESYS application as a Boot Application.
After this, the 750-8212 starts the application automatically after power ON, and my MFC application can connect directly to:
10.10.15.254:2000
without opening CODESYS.
However, after using the Boot Application, I experience problems with the 750-891 Modbus TCP communication at:
10.10.15.252:502
The 750-891 and/or its I/O modules do not behave as expected.
At this point, I am not sure whether the problem is related to:
-
The 750-8212 Boot Application configuration
-
The 750-891 Modbus TCP configuration
-
IP/network configuration
-
CODESYS configuration
-
I/O mapping
-
Communication between the 750-8212 and 750-891
-
A conflict between the two WAGO devices
-
Some configuration that is required when the 750-8212 application starts automatically
My Requirement
I need both systems to work simultaneously after power ON:
PC / MFC Application
|
+-------------+-------------+
| |
| Custom TCP | Modbus TCP
| |
v v
WAGO 750-8212 WAGO 750-891
IP: 10.10.15.254 IP: 10.10.15.252
Port: 2000 Port: 502
| |
v v
I/O Modules I/O Modules
The desired behavior is:
-
Power ON the WAGO system.
-
The 750-8212 CODESYS application should automatically start as a Boot Application.
-
The custom TCP server should automatically become available at
10.10.15.254:2000. -
The MFC application should connect to the 750-8212 without opening CODESYS.
-
The MFC application should also communicate with the 750-891 through Modbus TCP at
10.10.15.252:502. -
All I/O modules connected to both WAGO devices should operate normally.
Questions
What is the correct procedure for configuring the 750-8212 CODESYS application as a Boot Application?
Is there any additional configuration required in the 750-8212 WBM/CODESYS runtime settings to ensure the application starts automatically after power cycling?
Also, can a Boot Application on the 750-8212 affect communication with a separate 750-891 Modbus TCP coupler, or should these two TCP communications operate independently?
Any guidance on the correct configuration or troubleshooting procedure would be appreciated.
Thank you.




