Post by alawwirbilal on Codesys for raspberry pi 5 not working exactly
CODESYS Forge
talk
(Post)
Hello, I have installed the runtime system on my raspberry pi 5 and when I scan for the devices it sees. But when I try to log in to the device it always ask me for a password and no matter what I give it says this is a wrong password. anyone could help?
Last updated: 2025-03-06
Post by timvh on Assignment Efficiency - Repetitive Assignment vs IF statement
CODESYS Forge
talk
(Post)
You can consider using OR_ELSE: Coils[0] := Coils[0] OR_ELSE (Buttons[0] AND Sensors[0] > 6); https://content.helpme-codesys.com/en/CODESYS%20Development%20System/_cds_operator_or_else.html IF Coils[0] is TRUE, then the rest is not relevant anymore and doesn't have to be evaluated anymore. PS, there is also an AND_THEN https://content.helpme-codesys.com/en/CODESYS%20Development%20System/_cds_operator_and_then.html
Last updated: 2025-03-08
Post by jba-eltech on Moving Frames
CODESYS Forge
talk
(Post)
Hello everyone. I am using Codesys and saw in a YouTube video on the Codesys channel (https://www.youtube.com/watch?v=y_l2siXY7dA) that you can create frames and move them with the mouse. However, the video does not show how to do this. Can someone please explain it to me? Thank you very much.
Last updated: 2025-04-01
Post by fionexyan on Codesys Installation Always Freeze when the installing is almost done
CODESYS Forge
talk
(Post)
Hello Everyone , I have try in repeatedly with uninstall and reinstall the Codesys software and even turn-off the antivirus application before implement to reinstall the codesys ,but at the consequence the problem still same although go with such method, therefore is there any solution for this issue . Thank You .
Last updated: 2025-05-16
Post by damian177 on Serialports in EdgeBox-RPI-200
CODESYS Forge
talk
(Post)
Hi, Two years ago i used EdgeBox-RPI-200 with Codesys and serial ports works fine. Now I try run the same application but only new runtime but serial ports doesnt works: I have two serial: /dev/ttyACM0 - RS485 /dev/ttyACM1 - RS232 and below configuration in my sudo nano /etc/CODESYSControl_User.cfg: [SysCom] Linux.Devicefile=/dev/ttyACM But it doesnt work. what can i do ?
Last updated: 2025-05-17
Post by bjohnson on CODESYS and Win10 - "the version profile is not valid" error
CODESYS Forge
talk
(Post)
We just had this problem today when our IT updated a group policy. You need to go to Local Group Policy Editor > Local Computer Policy > Computer Configuration > Windows Settings> Security Settings > Local Policies > Security Options. Set "System Cryptography: Use FIPS compliant algorithms for encryption, hashing, and signing" to DISABLED
Last updated: 2025-05-23
Post by bjohnson on CODESYS and Win10 - "the version profile is not valid" error
CODESYS Forge
talk
(Post)
We just had this problem today when our IT updated a group policy. You need to to got Local Group Policy Editor > Local Computer Policy > Computer Configuration > Windows Settings> Security Settings > Local Policies > Security Options. Set "System Cryptography: Use FIPS compliant algorithms for encryption, hashing, and signing" to DISABLED
Last updated: 2025-05-23
Post by zoppp on Visu Frame-configuration___text will not work
CODESYS Forge
talk
(Post)
Yup, I've been having the exact same issue. A workaround that was working until Visu 4.8.0.0 was using TextList as the type in the frame configuration and then wrapping the text in quotes when configuring it. Im not sure if it will work with variables and I know it does not work if the type is text.
Last updated: 2025-06-17
Post by llewv123 on Codesys Control for RPi and Waveshare AD/DA hat
CODESYS Forge
talk
(Post)
Good day, I am attempting to use a Waveshare AD/DA precision HAT with RPi 4B+, using Codesys Control for Rpi. The waveshare hat uses SPI. I am successfully using the RPi GPIO (inputs and outputs) but do not know how to access the AD/DA channels. Any help would be appreciated.
Last updated: 2025-08-04
Post by wagokurt on TargetVisu option missing in IDE
CODESYS Forge
talk
(Post)
I have installed both the Codesys Control for Linux SL 4.16.0.0 and Target Visu for Linux 4.16.0.0 packages in Codesys 3.5 SP21 Patch2. When I try to add a target visu, it is missing. I have spent hours on this and tried different machines, all behave the same way. Is this a bug?
Last updated: 2025-08-21
Post by eksheep on Unit Tests and C007: Unknown Type
CODESYS Forge
talk
(Post)
Hello, I am attempting to implement unit tests for my POUs. When building and running the unit tests I receive error C007: Unknown Type for all types defined in the library, Standard, 3.5.18.0. Which is included in the POU Library Manager. Any input would be appreciated. TIA.
Last updated: 2025-08-27
Post by leandroct on Creating Boot Application not working
CODESYS Forge
talk
(Post)
I did these steps and it worked: - Copied Application.app and Application.crc to the Folder C:\ProgramData\CODESYS\CODESYSControlWinV3x64\ID_of_CPU\PlcLogic\Application\ copied the visu folder content to the folder C:\ProgramData\CODESYS\CODESYSControlWinV3x64\ID_of_CPU\PlcLogic\Application\visu\ Changed by Notepad the CODESYSControl.cfg at the folder C:\ProgramData\CODESYS\CODESYSControlWinV3x64\ID_ of_CPU\ Where is [CmpApp], adding a line with: Application.1=Application
Last updated: 2025-09-04
Post by kio123 on SysFileOpen not working
CODESYS Forge
talk
(Post)
I have exactly the same problem and tried entering “ForceIecFilePath=0” in the file “CODESYSControl.cfg” ([SysFile]). Unfortunately, this was unsuccessful. Can anyone help in the meantime, e.g., with some sample code or with the FAQ that TimvH refers to above (link no longer works)? Many thanks and best regards
Last updated: 2025-09-15
Post by open on How to create a stopwatch?
CODESYS Forge
talk
(Post)
Hi @ph0010421 and @Ton, Is it possible to program a stopwatch to measure a system running time when it is turn on, and pause when the system is turn off. I tried your examples when stopped, the elapsed time will then be calculated, but i need the time to be continuously counting. Warmest regards,
Last updated: 2023-12-11
Post by svn123 on In Simulation Mode, logic is not executing
CODESYS Forge
talk
(Post)
I stopped the simulation and tried to rebuild. "Cloned Task0.task0. Priority already in use" error was shown after rebuilding. I used Build-Clean All option and rebuilt again. Now the logic started working. But I am not still sure what caused the error in first place. If somebody knows about this error, please enlighten me. Thanks svn
Last updated: 2023-12-25
Post by smartcoco on Add visual background FB blocks.
CODESYS Forge
talk
(Post)
Can you add a background FB block to the visualization page, and loop through this FB block when the page is in display mode. This FB block requires two more functions, one for executing when the page is displayed and the other for executing when the page is closed.
Last updated: 2024-01-16
Post by scarter on Bit / Bool data types in function parameters
CODESYS Forge
talk
(Post)
Any reason BIT and BOOL data types are not interchangeable? Trying to make a function which takes a BOOL IN/OUT parameter (Not allowed to use BIT) In the main logic if I make a DINT variable, and want to use each bit on different functions CODESYS will not allow it.
Last updated: 2024-01-17
Post by masmith1553 on SDO generation
CODESYS Forge
talk
(Post)
If you add any device to the CANOpen Manager it will send messages to verify the device is on the network. Do you have the Enable expert settings check box checked in the General tab? have you added any SDOs in the SDOs tab? I avoid using the CANOpen Manager and just use the CAN_Tx and CAN_Rx blocks from the library.
Last updated: 2024-01-25
Post by nano on Modbus TCP/IP slave communication errow
CODESYS Forge
talk
(Post)
please tell us the exact error message from diagnostic. U can view it at devicetree in the node-element diagnostic from modbus-configuration. u also can activate the function auto-reconnect in master and increase a little bit the timeout and the repetition to male thw communication a little bit more robust
Last updated: 2024-02-04
Post by francescoc on Access to the path *** is denied
CODESYS Forge
talk
(Post)
Hello, I encountered similar problems, and it appears they were linked to certain add-ons. Resolving this issue turned out to be quite complex. However, we managed to find a solution by downgrading both the "CODESYS Communication" and "CODESYS Recipes" components via the CODESYS Installer, accessible under the "Tools" section.
Last updated: 2024-02-12
Post by jmauer on Codesys 3.5 SP16 Modbus change port settings.
CODESYS Forge
talk
(Post)
Hello, I'm coming to you today because I'm trying to make the baudrate and the slave number dynamic. I've tried the "updateComPortSettings" method on the slave device but it doesn't work and gives the "Modbus_COM_Port" an error. Can you tell me how you got this method to work? Thanks in advance for your help jérémy
Last updated: 2024-02-20
Post by abinvest579 on COP instruction
CODESYS Forge
talk
(Post)
Hi All, I have hands on rockwell software like rslogix 5000 and studio 5000. Currently started working on codesys i want to know is there any COP instruction with similar functionality in codesys like rockwell. I want to use it to split REAL into 2 INT,DINT to 2 INT also reverse 2 INT into DINT and 2 INT into REAL. Thanks in advance
Last updated: 2024-03-18
Post by florian on Stepper Drive with Ethercat
CODESYS Forge
talk
(Post)
Codesys has a motion libraries (SoftMotion), but you need to buy a licence keys for them to work. the most basic one is SoftMotionLight. you just have to select your drive in the device view and add a SoftMotionLight CiA402 axis. then the library is added to your project. You can use the SML_* motion FBs and configure the axis now.
Last updated: 2024-03-22
Post by nano on CODESYS Edge Gateway for Linux on embedded distribution
CODESYS Forge
talk
(Post)
yocto isn't the part. which architecture you are using? arm, x86, 32bit?, 64bit? normally u can use the deliveral from store and integrate it into yocto. for resolv the dependencies, its best way todo using an recipe and let yocto do prebuildchecks jefore the install-commands
Last updated: 2024-04-17
Post by bryandimino on OPC Da Server Code Meter Issues after Enabling License
CODESYS Forge
talk
(Post)
I'm trying to get the OPC server setup on my machine and currently I'm not having luck. I went ahead and got my license setup. However when I go to run WinCoDeSysOPC.exe I get an error message that I don't have the code meter licenses installed. Does anyone have any ideas on how I can fix this issue?
Last updated: 2024-05-02
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.