Post by rafa on MODBUS TCP SERVER DONT AUTO-STARTUP
CODESYS Forge
talk
(Post)
Dear all, I have a project where I have two ModbusTCP communication drivers in the application. It's working normally until a power outage or the installation panel is restarted. As soon as the PLC CPU is restarted, the Ethernet port is OK, but the TCP Server displays an "UNDEFINED" error. I can't reset the error using the diagnostic confirmation or the "mbserver.xConfirmError" bit. I noticed that the error only appears in the "mbserver.byModbusError" memory and the description is "UNDEFINED." The "mbserver.xError" memory doesn't flag an error. When using the warm restart function and then START CPU, the devices return to normal operation. The following demonstration images; The main question is: How can I make devices boot automatically?
Last updated: 2025-07-15
Post by rafa on MODBUS TCP SERVER DON'T AUTOMATIC STARTUP
CODESYS Forge
talk
(Post)
Dear all, I have a project where I have two ModbusTCP communication drivers in the application. It's working normally until a power outage or the installation panel is restarted. As soon as the PLC CPU is restarted, the Ethernet port is OK, but the TCP Server displays an "UNDEFINED" error. I can't reset the error using the diagnostic confirmation or the "mbserver.xConfirmError" bit. I noticed that the error only appears in the "mbserver.byModbusError" memory and the description is "UNDEFINED." The "mbserver.xError" memory doesn't flag an error. When using the warm restart function and then START CPU, the devices return to normal operation. The following demonstration images; The main question is: How can I make devices boot automatically? Um using Codesys Version 3.5.20.30 Patch 3+ My CPU is a Weintek Cmtx Built-int - ( CMT3092x )
Last updated: 2025-07-15
Navigating the Modern Educational Landscape: The Rise of Strategic Academic Support
CODESYS Forge
talk
(Thread)
Navigating the Modern Educational Landscape: The Rise of Strategic Academic Support
Last updated: 2025-09-09
I want to show the current recipe name in the visualization screen
CODESYS Forge
talk
(Thread)
I want to show the current recipe name in the visualization screen
Last updated: 2025-09-17
PLCopen XML Import - Creation of object failed... The given key was not present in the dictionary
CODESYS Forge
talk
(Thread)
PLCopen XML Import - Creation of object failed... The given key was not present in the dictionary
Last updated: 2019-01-31
Change from the PLC code the Text property of a rectangle...
CODESYS Forge
talk
(Thread)
Change from the PLC code the Text property of a rectangle...
Last updated: 2017-01-17
how does the evaluation of the <condition> in an IF-statement work?
CODESYS Forge
talk
(Thread)
how does the evaluation of the <condition> in an IF-statement work?</condition>
Last updated: 2020-02-20
How to change the font size of the headline in a table
CODESYS Forge
talk
(Thread)
How to change the font size of the headline in a table
Last updated: 2022-11-25
Can't get the IEC var address correcttly when using the function "IecVarAccGetAddress 2"
CODESYS Forge
talk
(Thread)
Can't get the IEC var address correcttly when using the function "IecVarAccGetAddress 2"
Last updated: 2018-12-25
Warning: the number of slave has changed or is different from the configuration
CODESYS Forge
talk
(Thread)
Warning: the number of slave has changed or is different from the configuration
Last updated: 2017-09-11
Could not save the project: Could not find part of the path
CODESYS Forge
talk
(Thread)
Could not save the project: Could not find part of the path
Last updated: 2014-09-10
How to know the admissible devices in the master/slave hierarchy
CODESYS Forge
talk
(Thread)
How to know the admissible devices in the master/slave hierarchy
Last updated: 2017-02-16
MC_Home function block is not initiating homing sequence on the drive all the times
CODESYS Forge
talk
(Thread)
MC_Home function block is not initiating homing sequence on the drive all the times
Last updated: 2022-08-25
how to change the current user level in the codesys program
CODESYS Forge
talk
(Thread)
how to change the current user level in the codesys program
Last updated: 2019-09-04
How do you find the PID of the process using http://127.0.0.
CODESYS Forge
talk
(Thread)
How do you find the PID of the process using http://127.0.0.
Last updated: 2008-10-31
Is there any way to get the name of the current action... pou...
CODESYS Forge
talk
(Thread)
Is there any way to get the name of the current action... pou...
Last updated: 2017-03-20
How to slow down the clock of the main execution program?
CODESYS Forge
talk
(Thread)
How to slow down the clock of the main execution program?
Last updated: 2011-07-18
the idea of design pattern stemed from the computer world
CODESYS Forge
talk
(Thread)
the idea of design pattern stemed from the computer world
Last updated: 2007-05-10
Access the excel file and Change the description based on cell requirement.
CODESYS Forge
talk
(Thread)
Access the excel file and Change the description based on cell requirement.
Last updated: 2017-10-07
Renaming the items in the Windows 10 "open with" menu because of multiple Codesys versions installed
CODESYS Forge
talk
(Thread)
Renaming the items in the Windows 10 "open with" menu because of multiple Codesys versions installed
Last updated: 2022-09-15
Where can I see the available addresses or the auto declared ones?
CODESYS Forge
talk
(Thread)
Where can I see the available addresses or the auto declared ones?
Last updated: 2021-11-14
Unable to open the CoUnit projects and download the library properly in CODESYS 3.5.11
CODESYS Forge
talk
(Thread)
Unable to open the CoUnit projects and download the library properly in CODESYS 3.5.11
Last updated: 2021-11-02
[SOLVED] Install ESI file: Index was outside the bounds of the array
CODESYS Forge
talk
(Thread)
[SOLVED] Install ESI file: Index was outside the bounds of the array
Last updated: 2017-12-15
Stu.StrTrimEndA - delete the non-blank character if the number of it is one.
CODESYS Forge
talk
(Thread)
Stu.StrTrimEndA - delete the non-blank character if the number of it is one.
Last updated: 2022-09-03
The selected PLC profile does not match the profile of ....
CODESYS Forge
talk
(Thread)
The selected PLC profile does not match the profile of ....
Last updated: 2010-10-28
To search for an exact phrase, put it in quotes. Example: "getting started docs"
To exclude a word or phrase, put a dash in front of it. Example: docs -help
To search on specific fields, use these field names instead of a general text search. You can group with AND or OR.