TCP Server in Halcon example errors after client disconnects
CODESYS Forge
talk
(Thread)
TCP Server in Halcon example errors after client disconnects
Last updated: 2015-09-07
Display issues with a client over webvisu
CODESYS Forge
talk
(Thread)
Display issues with a client over webvisu
Last updated: 2021-03-29
AWS IoT Core Client on Raspberry Pi
CODESYS Forge
talk
(Thread)
AWS IoT Core Client on Raspberry Pi
Last updated: 2019-08-27
OPC UA Client to Modbus TCP/IP
CODESYS Forge
talk
(Thread)
OPC UA Client to Modbus TCP/IP
Last updated: 2022-03-07
OPC UA server configurations for client connections
CODESYS Forge
talk
(Thread)
OPC UA server configurations for client connections
Last updated: 2021-09-23
VisuUtils - FBAcceptsCurrentClient - CurrentClient - WebVisu Client Independent Visualization Change
CODESYS Forge
talk
(Thread)
VisuUtils - FBAcceptsCurrentClient - CurrentClient - WebVisu Client Independent Visualization Change
Last updated: 2023-06-23
Client-Anbindung eines externen Programms an ENI-Server
CODESYS Forge
talk
(Thread)
Client-Anbindung eines externen Programms an ENI-Server
Last updated: 2009-03-27
Cannot login when opc client is connected
CODESYS Forge
talk
(Thread)
Cannot login when opc client is connected
Last updated: 2016-09-05
Bedeutung der Warnung "VisuInfoTuple not found for Register Client..."
CODESYS Forge
talk
(Thread)
Bedeutung der Warnung "VisuInfoTuple not found for Register Client..."
Last updated: 2019-04-23
JSON HTTP Client Library by Extend smart Coding
CODESYS Forge
talk
(Thread)
JSON HTTP Client Library by Extend smart Coding
Last updated: 2019-01-07
Bestimmten webvisu client einloggen und eingaben separat verarbeiten
CODESYS Forge
talk
(Thread)
Bestimmten webvisu client einloggen und eingaben separat verarbeiten
Last updated: 2022-02-02
IIoT Libraries SL - Azure IoT Hub Client build error
CODESYS Forge
talk
(Thread)
IIoT Libraries SL - Azure IoT Hub Client build error
Last updated: 2021-11-19
Anzeigefehler mit Client-Animation in Raspberry Pi
CODESYS Forge
talk
(Thread)
Anzeigefehler mit Client-Animation in Raspberry Pi
Last updated: 2021-09-16
AWS IoT Core Client SL not connecting to IOT broker
CODESYS Forge
talk
(Thread)
AWS IoT Core Client SL not connecting to IOT broker
Last updated: 2020-06-23
CodeSyS AWS IoT client wont connect to AWS
CODESYS Forge
talk
(Thread)
CodeSyS AWS IoT client wont connect to AWS
Last updated: 2022-09-30
OPC UA Client certificate for datasource link
CODESYS Forge
talk
(Thread)
OPC UA Client certificate for datasource link
Last updated: 2024-03-08
Datasource OPC UA Client error ID:7012
CODESYS Forge
talk
(Thread)
Datasource OPC UA Client error ID:7012
Last updated: 2024-04-05
Opc UA Data Source Client Browse Error in Codesys HMI
CODESYS Forge
talk
(Thread)
Opc UA Data Source Client Browse Error in Codesys HMI
Last updated: 2025-11-17
CODESYS OPC UA Security: HMI Client Not Receiving Server Certificate
CODESYS Forge
talk
(Thread)
CODESYS OPC UA Security: HMI Client Not Receiving Server Certificate
Last updated: 2026-01-06
CODESYS OPC UA Security: HMI Client Not Receiving Server Certificate
CODESYS Forge
talk
(Thread)
CODESYS OPC UA Security: HMI Client Not Receiving Server Certificate
Last updated: 2026-01-06
Post by jzhvymetal77 on IecVarAccessLibrary.IBaseTreeNode methon
CODESYS Forge
talk
(Post)
I got this code working again. 3S/CoDeSys, your level of obfuscation and lack of documentation turns a simple task into a monumental complex challenge. The issue was that at some point the IecVarAccessLibrary changed and no longer allowed using IBaseTreeNode to retrieve a child or the number of children. The attached code has been updated to use IIecVarAccess6.VarAccBrowseGetChildByIndex instead. The code was also cleaned up but is still a work in progress. The current example only works one layer deep. This means native data types, arrays, and single-layer structures are supported. However, structure arrays and nested structures are not yet supported.
Last updated: 2025-08-25
Post by imdatatas on Problem of assigning physical addresses to variables of type ARRAY OF ARRAY as MW and QW
CODESYS Forge
talk
(Post)
Hello, I am encountering an interesting problem as below in SP20patch5 variable definition area. I think this is a bug. As can be seen in the attached screenshot, it assigns the same %MW or %QW address to all elements of the array. I hope Codesys team can solve this problem in the next version. Best regards, Imdat
Last updated: 2025-03-17
Post by yannickasselin on MQTT QoS 1 & 2
CODESYS Forge
talk
(Post)
Hello, I am using Codesys sp20p3 and IIoT library 1.11. I am trying to test QoS 1 & 2 and I have some issues. I am using mosquitto as the broker. I am also using some other MQTT clients like Node-Red and TwinCAT. They all work as expected for every QoS levels. I only have issues with Codesys MQTT client. In the Codesys client, if I subscribe to a topic as QoS 1 or 2, and a client publishes to this topic, I receive the message. But if I disconnect the Codesys client from the network and a client publishes to the subscribed topic, when I reconnect Codesys client to the network, I don't receive the messages as expected. Also there does not seem to be an auto-reconnect feature. So I have to manually set the mqttClient.xEnable bit to FALSE then back to TRUE in order to reconnect to the broker, then I also have to set the subscribe.xEnable to FALSE and back to TRUE in order to re-subscribe to the topic, but even then, I don't receive the messages that were published while I was disconnected. What am I doing wrong? I set the cleanSession bit to FALSE and I give my client a clientID. With the TwinCAT MQTT Client, I do the same thing and everything works as expected. It even auto-reconnects to the broker. I would expect Codesys MQTT Client to be as reliable as TwinCAT. Maybe I am doing something wrong? I also noticed that when trying to publish a QoS 1 or 2 message while disconnected from the broker, it does not work. In TwinCAT, I am still able to publish. The messages are stored in the client and published once reconnected to the broker. I would expect to be able to do the same thing in Codesys. Is this all possible? Am I doing something wrong? Thank you
Last updated: 2024-10-26
Post by fmon on Modbus TCP client reconnection problem
CODESYS Forge
talk
(Post)
Hello, I am using codesys Modbus TCP client (4.4.0.0) to communicate with a python modbus server (package pyModbusTCP). I first start my python server on the distant machine. After a fresh codesys compilation, a plc connection/transfer and a PLC run, the modbus connection is OK. Every time in this context the connection is created correctly. When I shut down the server, the modbus connection falls, that is normal. When I restart the python server, impossible to recreate the modbus connexion. With the client autoreconnection, I see on my server that the client tries to connect but unsuccesfully. I have the following message : DEBUG:pyModbusTCP.server:accept new connection from ClientInfo(address='192.168.1.20', port=33476) DEBUG:pyModbusTCP.server:Exception during request handling: NetworkError('recv return null') I tried to stop the codesys client and to restart it with these commands : Modbus_TCP_Client.xStop := True; // Or False Modbus_TCP_Client.Enable := True; // Or False Modbus_TCP_Server.Enable := True; // Or False I tried to confirm the error manually to force reconnection with: Modbus_TCP_Server_Motors.xConfirmError := TRUE; I tried also this command to STOP/RESET/START client and server (codesys side) but nothing happens : status_client := Modbus_TCP_Client.SetCommunicationState(eRequestedState := DED.DEVICE_TRANSITION_STATE.STOP); // .RESET & .START The answer of this function when executed is "status_client = NOT_SUPPORTED". Is it normal ? It seems that is a socket problem, but I do not understand if it is on the client or server side. I tried a modbus simulator called "ananas.exe" and the result is the same. Impossible to get a modbus client reconnection. What is different at the first client connection and at a reconnection attempt ? Thanks for your help
Last updated: 2025-03-17
Post by gerdkoch on OPCUA Datasource, can not login...
CODESYS Forge
talk
(Post)
Hi, please share your codesys ide version and the version of the communication addon. Do you use encrypted communication? Did the browsing in the ide work? Did you create the certificate for the client in the security screen? BR
Last updated: 2023-11-27
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.