Post by rabaggett on CODESYS control for Raspberry Pi 64 SL errors
CODESYS Forge
talk
(Post)
Update: I found my error in the Scale function, where I used UINT_TO_REAL instead of DWORD_TO_REAL. I fixed it, errors unchanged.
Last updated: 2024-05-02
Post by yannick on Alarm Configuration Notification Action
CODESYS Forge
talk
(Post)
Hello, I'm trying to configure an alarm variable that changes to True when an error is activated. Unfortunately, the variable is not changing to True. I'm using Codesys V3.5 SP19 Patch7 + Raspi Pi 5. Thanks.
Last updated: 2024-05-13
Post by kevinm on Data source and safety PLC
CODESYS Forge
talk
(Post)
I am having the same trouble. However, if I change the Login Configuration settings to 'Type: Login using the credentials determined at runtime' then the Connection information continues as 'Connection state: Connecting' and 'Error information: OK'. There is no User Management on the source PLC.
Last updated: 2024-05-16
Post by simonep on new version of CODESYS have problem to load GSDML files
CODESYS Forge
talk
(Post)
I have update codesys today but now i can't install my GSDML files, until Friday I was always able to load without any problem, now it gives me this error. Codesys version V3.5 SP19 Patch 1 + (64 bit)
Last updated: 2024-05-20
Post by rafaelbrito on Licensing info not available.
CODESYS Forge
talk
(Post)
Hello, I'm having the same problem. I'm trying to license Codesys running in a Linux container, which I downloaded from the following link (https://hub.docker.com/r/hilschernetiotedge/codesys_control_sl_linux). The same error that you mentioned appears. Is there any solution?
Last updated: 2024-05-22
Post by jtebokkel on VAR_GENERIC unknown token
CODESYS Forge
talk
(Post)
The help says VAR_GENERIC exists, but trying to use it in 3.5.21.30 results in a unknown token error. https://content.helpme-codesys.com/en/CODESYS%20Development%20System/_cds_vartypes_var_generic_constant.html Did this feature get removed or is there something else that needs to be done to enable using generic function blocks?
Last updated: 2025-10-21
Post by micik on Error, visualisation property handling, VISU_USEPROPERTYINFO
CODESYS Forge
talk
(Post)
@davidking, can you be more specific about where exactly "Compiler Defines" is located. I'm using Codesys v3.5 SP21 Patch2 and cannot find this Compiler Defines option. In the menu Project -> Project Settings there are Compiler options and Compiler warnings, but that is not it.
Last updated: 2025-11-26
Post by timvh on Error: C0138: No matching 'FB_Init' method found for instantiation of VisuClientObjectMgr
CODESYS Forge
talk
(Post)
Maybe check: - The library manager, are you maybe missing some libraries - Tools - CODESYS installer: update the CODESYS Visualization and Visualization support - Project - Project environment: maybe you need to update the visualization profile
Last updated: 2025-11-27
Post by davidbo on License problem with Raspberry Pi
CODESYS Forge
talk
(Post)
To simplify your problem you shall not select dongle and get dongle errors. Do as shown In some cases you need 2 different licenses depending on the metrics. And yes the system gives not always give proper error messages when you try to reinstall a license
Last updated: 2025-12-01
Post by aniket-b on Scara3 kinematic robot error
CODESYS Forge
talk
(Post)
I am using Scara3 kinematic with EtherCAT PLC. The robot stops at the same place randomly after few cycles. Check attached image. I am getting SMC_ERROR.SMC_DI_FIELDBUS_LOST_SYNCRONICITY in all 3 axes.
Last updated: 2025-12-19
Post by aniket-b on Scara3 kinematic robot error
CODESYS Forge
talk
(Post)
It is Moons PLC which uses Codesys IDE. https://www.moonsindustries.com/series/mca6-medium-motion-plc-a150102 This has Realtime capability using Linux with preempt
Last updated: 2025-12-29
Post by mariusz997 on Visualisation - internal error
CODESYS Forge
talk
(Post)
Hi - problem solved. I had 3 version of codesys on system and they didn't like each other. After uninstall all and install again only one version now everything is OK
Last updated: 2025-11-12
Post by tjacks on Opc UA Data Source Client Browse Error in Codesys HMI
CODESYS Forge
talk
(Post)
Codesys V3.5 SP21 Patch 3 Codesys HMI 3.5.21.30 I'm trying to connect to an OPC UA server on a Kuka robot controller using Codesys HMI's data source manager. I get through the login phase and the client browses most of the data structure on the server but errors out toward the end with a generic: Error while browsing the client, Failed with service result: BadUnexpectedError. If I complete the data source setup and try to update variables, I get the attached stack trace for the error. I've tried several different endpoint and security options. Most get me through the login but all error out while browsing. UA Expert happily connects and browses with the same configuration. I've connected this same version of Codesys to TwinCAT OPC UA servers and Siemens PLC OPC UA servers. Any ideas on what may be causing the generic BadUnexpectedError during OPC UA server browse?
Last updated: 2025-11-17
Post by grepoo on DataSource CodesysApp V3
CODESYS Forge
talk
(Post)
Hi, trying to create a datasource in appV3 but it returns error code 259 (not nearer specified) everytime, no matter the device i am using. Any idea of what it might signify ?
Last updated: 2025-11-19
Post by sb879 on Non-formal invocation of function blocks in CODESYS
CODESYS Forge
talk
(Post)
Is it possible to do non-formal invocation of function blocks in CODESYS? I get an error when I try, see the attached pic. Also attached a pic from IEC 61131-3 describing non-formal invocations.
Last updated: 2025-12-04
Post by sb879 on Non-formal invocation of function blocks in CODESYS
CODESYS Forge
talk
(Post)
Is it possible to do non-formal invocation of function blocks in CODESYS? I get an error when I try, see the attached pic. Also attached a pic from IEC 61131-3 describing non-formal invocations.
Last updated: 2025-12-04
Post by osande on Archive
CODESYS Forge
talk
(Post)
Problem with Visualization Manager and archiving. Project without VM has no problem. With VM in the project there is an error message and no archive has been created
Last updated: 2026-03-10
Post by hannibal on Codesys Trend - setting Y axis minimum and maximum as variables - error
CODESYS Forge
talk
(Post)
Hi, It was my fault. I was using a REAL variable instead of INTEGER. Sorry for posting this.
Last updated: 2026-03-22
Post by kiranbsiddaiah on CodeSys OPC UA client Unable to Connect To OPC UA sever through Username and password
CODESYS Forge
talk
(Post)
Hi, I'm using codesys v3.5 sp21 software. I have downloaded the sample opc ua client project from https://content.helpme-codesys.com/en/CODESYS%20Examples/_ex_uacapi_example.html and i tested connecting to "prosys opc ua simulation server". Through Anonymous connection it is connecting to server and can read data. Later tried to connect using username and password. First got a SECURITY_CHECKS_FAILED error, trusted the client certificate in the server and this issue resolved. Next got an INVALID_CERTIFICATE error, trusted the server certificate in the client and this issue resolved. After these two error it is not establishing the connection and not giving any error messages. UAAsyncProp: UA.AsyncProperty := (tnTaskName:='UAClientTask', usiTaskPrio:=20, udiTaskInterval:=10000); UAPolicy: UA.SecurityPolicy := (sPolicy:=UA.OpcUa_SecurityPolicy.OpcUa_SecurityPolicy_Aes128Sha256RsaOaep, eSecurity:=UA.SECURITY_MODE.SIGN_AND_ENCRYPT); //UAPolicy: UA.SecurityPolicy := (sPolicy:=UA.OpcUa_SecurityPolicy.OpcUa_SecurityPolicy_None, eSecurity:=UA.SECURITY_MODE.NONE); UAAuth: UA.UserNameAuth := (sUserName:=UAVars.sUser, sPassword:=UAVars.sPass); UAClient: UA.Client := ( itfAsyncProperty:= UAAsyncProp, //sClientName:= 'MyOPC UA client name', //default: ‘CODESYS OPC UA Client’ sURL:= UAVars.sURL, sSession:= UAVars.sSession, itfPolicy:= UAPolicy, itfAuth:=UAAuth, udiTimeout:= 100000 //,itfNamespaceArray:= UAVars.itfNamespaceArray //optional use ); ----------------------------------------------------------------------------------------------------------------------- Please let me know if any additional information required. Thank you...
Last updated: 2026-05-07
Post by totorovic on Ladder editor bug with 3.5.21.20
CODESYS Forge
talk
(Post)
Hello, With Codesys 3.5.21.10 the ladder editor displays : With Codesys 3.5.17.21, the same code was correctly displayed : The compilation is error free Please check image attached
Last updated: 2026-05-07
Post by julianramirez on Codesys Trend - setting Y axis minimum and maximum as variables - error
CODESYS Forge
talk
(Post)
Hello Hannibal, I am using real vars and it works, however, if I update those vars in real time it doesnt quite change it on y axis, do you think it is because it is not an integer?
Last updated: 18 hours ago
Post by julianramirez on Codesys Trend - setting Y axis minimum and maximum as variables - error
CODESYS Forge
talk
(Post)
Hello Hannibal, I am using real vars and it works, however, if I update those vars in real time it doesnt quite change it on y axis, do you think it is because it is not an integer?
Last updated: 18 hours ago
Post by julianramirez on Codesys Trend - setting Y axis minimum and maximum as variables - error
CODESYS Forge
talk
(Post)
Hello Hannibal, I am using real vars and it works, however, if I update those vars in real time it doesnt quite change it on y axis, do you think it is because it is not an integer?
Last updated: 18 hours ago
Post by julianramirez on Codesys Trend - setting Y axis minimum and maximum as variables - error
CODESYS Forge
talk
(Post)
Hello Hannibal, I am using real vars and it works, however, if I update those vars in real time it doesnt quite change it on y axis, do you think it is because it is not an integer?
Last updated: 18 hours ago
Post by julianramirez on Codesys Trend - setting Y axis minimum and maximum as variables - error
CODESYS Forge
talk
(Post)
Hello Hannibal, I am using real vars and it works, however, if I update those vars in real time it doesnt quite change it on y axis, do you think it is because it is not an integer?
Last updated: 18 hours ago
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.