(no subject)
nwabisa
wiki
(Thread)
Last updated: 2025-07-22
Home
nwabisa
wiki
(WikiPage)
Project Members: nwabisa (admin)
Last updated: 2025-07-22
Post by survival on Frustration-Fueled Feedback on Project File Management and Git Integration
CODESYS Forge
talk
(Post)
Microsoft announced at Build 2025 they’re integrating not only Copilot and OpenAI’s agent but also Anthropic’s coding agent into GitHub. Now teams can pick between multiple AI assistants within the same environment—Copilot, OpenAI, or Anthropic’s—which emphasizes flexibility and neutrality survival race
Last updated: 2025-07-23
Post by nano on Creating, using an external Function.
CODESYS Forge
talk
(Post)
hi Andrej, thx for your feedback. i'm very familiar with creating such components. if you need some further help, just clock on me. greetings Nano
Last updated: 2025-07-23
Creating, using an external Function.
CODESYS Forge
talk
(Thread)
Creating, using an external Function.
Last updated: 2025-07-23
wiki Discussion
pouyavakili
wiki
(Discussion)
Forum for wiki comments
Last updated: 2025-07-23
blog Discussion
pouyavakili
blog
(Discussion)
Forum for blog comments
Last updated: 2025-07-23
(no subject)
pouyavakili
wiki
(Thread)
Last updated: 2025-07-23
Post by timvh on Execute Codesys Tests with python
CODESYS Forge
talk
(Post)
If you want to use the Test Manager, I prefer to start all the tests through the scripts of this manager. So open from there the projects, load it and run it. If you also want to use Python scripts to access CODESYS functionality, while executing a Test Manager script, then also start them from the Test Manager commands.
Last updated: 2025-07-23
Post by pouyavakili on Execute Codesys Tests with python
CODESYS Forge
talk
(Post)
❓ Issue: TestManager Not Available in Python Script (AttributeError) 🙏 Question: Why does project.get_testmanager() not work in scripting, even though Test Manager is installed and licensed, and the script runs in GUI mode? Is there a way to ensure the Test Manager interface is loaded or accessible from the scripting environment? 🧠 Summary: I'm trying to automate test execution using the CODESYS scripting engine (Python) via a script that opens a project, builds the application, and runs tests from a TestRepository.xml. Although the Test Manager works manually in the IDE, it fails when accessed via script with the following error: AttributeError: 'ScriptObject' object has no attribute 'testmanager' 🧪 Test Setup: CODESYS version: 3.5.21.10 Test Manager: Installed and licensed (works in the IDE manually) Project: Contains a test repository, which can be executed via the GUI Script execution method: powershell Start-Process -FilePath "C:\Program Files\CODESYS 3.5.21.10\CODESYS\Common\CODESYS.exe" ` -ArgumentList @( '--profile="CODESYS V3.5 SP21 Patch 1"', '--runscript="C:\Scripts\run_tests.py"' ) -Wait 📜 Script Summary: python project = projects.open(project_path) application = project.active_application application.build() This fails: testmanager = project.get_testmanager() ❗ Problem: Calling project.get_testmanager() or application.testmanager throws an AttributeError, even though the same project and test repository work in the GUI.
Last updated: 2025-07-23
Reading multiple lines from csv file
CODESYS Forge
talk
(Thread)
Reading multiple lines from csv file
Last updated: 2025-07-23
Home
pouyavakili
wiki
(WikiPage)
Project Members: pouyavakili (admin)
Last updated: 2025-07-23
Post by timvh on Reading multiple lines from csv file
CODESYS Forge
talk
(Post)
Not sure, but maybe before you enter step 5, set i, lineindex and charIndex to 0. And the buffer variable should have a size bigger than 1 line. Additionally I think you should set bufferstart to 0 before you enter step 5. And in the OSCAT function you always point to the buffer address, but shouldn't this be (buffer + bufferstart)?
Last updated: 2025-07-23
Post by timvh on Unable to select VisuDialogs.Numpad in Open Dialog input configuration
CODESYS Forge
talk
(Post)
You should not use the "open dialog" to change the value. Instead use the input configuration "Write Variable" to change a variable value in the visualization. in the setting of this input command, you can choose the Input type (select dialog).
Last updated: 2025-07-23
Unable to select VisuDialogs.Numpad in Open Dialog input configuration
CODESYS Forge
talk
(Thread)
Unable to select VisuDialogs.Numpad in Open Dialog input configuration
Last updated: 2025-07-23
blog Discussion
cebador
blog
(Discussion)
Forum for blog comments
Last updated: 2025-07-23
trouble with running a python script on Raspberry via Codesys
CODESYS Forge
talk
(Thread)
trouble with running a python script on Raspberry via Codesys
Last updated: 2025-07-23
Home (version 1) discussion
pouyavakili
wiki
(Thread)
Home (version 1) discussion
Last updated: 2025-07-23
wiki Discussion
cebador
wiki
(Discussion)
Forum for wiki comments
Last updated: 2025-07-23
(no subject)
cebador
wiki
(Thread)
Last updated: 2025-07-23
Home
cebador
wiki
(WikiPage)
Project Members: cebador (admin)
Last updated: 2025-07-23
Post by cebador on trouble with running a python script on Raspberry via Codesys
CODESYS Forge
talk
(Post)
Hello, I am new to Codesys and I'm having trouble with running a python script on my Raspberry. SysProcessExecuteCommand2 gives result 25 and nothing happens. I used chmod +x and chmod 666 on my script. In terminal it's working when I'm using the same command line as in Codesys. Code in attatched screenshot. Thank You in advance.
Last updated: 2025-07-23
wiki Discussion
fschuler
wiki
(Discussion)
Forum for wiki comments
Last updated: 2025-07-23
blog Discussion
fschuler
blog
(Discussion)
Forum for blog comments
Last updated: 2025-07-23
(no subject)
fschuler
wiki
(Thread)
Last updated: 2025-07-23