Post by peterkcontrols on Codesys Network driver install for Codesys Control RTE x64
CODESYS Forge
talk
(Post)
Sorry to clarify the issues say as per the attached image. I copied and pasted the unresolved issues from someone else who had a similar problem.
Last updated: 2025-03-18
Post by r-c-r on SM3RaspiStepper 0.0.0.6 issue
CODESYS Forge
talk
(Post)
Thanks for the replay. My RPI is a 3B+ model with bullseye OS. I don't understand why 0.0.0.4 is working ok and future versions not.
Last updated: 2025-03-22
Post by nonstop-cat on Problem of assigning physical addresses to variables of type ARRAY OF ARRAY as MW and QW
CODESYS Forge
talk
(Post)
Array writing method error,,,<arrayname>: ARRAY [<ll1>..<ul1>, <ll2>..<ul2>, <ll3>..<ul3>]</ul3></ll3></ul2></ll2></ul1></ll1> OF <basedatatype></basedatatype></arrayname>
Last updated: 2025-03-31
Post by nonstop-cat on Problem of assigning physical addresses to variables of type ARRAY OF ARRAY as MW and QW
CODESYS Forge
talk
(Post)
Array writing method error,,,<arrayname>: ARRAY [<ll1>..<ul1>, <ll2>..<ul2>, <ll3>..<ul3>]</ul3></ll3></ul2></ll2></ul1></ll1> OF <basedatatype></basedatatype></arrayname>
Last updated: 2025-03-31
Post by razebones on sdo read write codesys 3.5
CODESYS Forge
talk
(Post)
ENG For some reason, I can't bind a variable to the data parameter. Also, why does only the sdo_read4 function work for me? I also can't write through sdo_write4. I can only view the received values via sdo_read4. Please help me with this task. Moreover, I tried to write the values through sdo write 4 and for a while the data stopped being written and I overwritten it manually and sdo read4 started working again and at the same time they do not want to work in the main task. RU Я не могу почему то привязать переменную к параметру data. Так же у меня почему работает только функция sdo_read4 так же не могу записать через sdo_write4. Могу только просматривать полученные значения через sdo_read4. Помогите пожалуйста с этой задачей. Причём я попытался записать значения через sdo write 4 и у меня на какое то время перестали записываться данные и перезаписал вручную и sdo read4 начал работать снова и одновременно они не хотят работать в main task.
Last updated: 2025-04-01
Post by ton on Length of string and Array of bytes
CODESYS Forge
talk
(Post)
When you use a string value 0 will be the end terminator. Everything after this will not be in the string. I guess byte 2394 has a value 0.
Last updated: 2025-04-01
Post by stribor on Passing properties as VAR_IN_OUT variables.
CODESYS Forge
talk
(Post)
if i only use it as input variable I won't be able to update its state within the visu object. Lets say i have real value as a property, i would like the slider object to display this value and also modify it.
Last updated: 2025-04-30
Post by pernockham on Engineering IDE from linux?
CODESYS Forge
talk
(Post)
I have done the switch (linux mint, virtual windows through QEMU/KVM) now and is generally pleased. Have had problems in two areas initially. To bridge IP to the Virtual unit (solved), I overthought things initially. Solution. Configure manually a bridge in the mint-"network connections". Use that bridge in the Qemu settings as "Bridge device", "Device name": "name of the configured bridge" Figure out where to store the projects. I started out have the data in linux world (sort of) and linking it the windows with "virtio-fs". That had some serious impact though on git-handling. It seems that virtio-fs interpreted any file-path as lowercase only even if there were uppercase, resulting in git not able to sync files between its repository and the source code (it created a new file-path for me with only lowercase). Then I switch to samba-share instead and this works much better, though (git-actions) is a part that still has low performance with lots of waiting for file-actions. What should be the best way of handling the source/git? Edit to answer myself: Save the project "locally" in windows, then a lot of slow performance is avoided. Then a git-remote sync for backup.
Last updated: 2025-05-08
Post by l-lll on Error while using Codesys SP19 Patch 4 on Windows 11
CODESYS Forge
talk
(Post)
Hello, I also meet this problem while installing Codesys SP20 Patch 5 on Windows 11 , and the same problem occurred even after reinstalling CODESYS. Could you tell me how you finally solved this problem?
Last updated: 2025-05-14
Post by jschu on Switch visualization style at runtime
CODESYS Forge
talk
(Post)
Hello , will this be changed in an upcooming version? The current method is to use all the color Variables for buttons and object as changeable variables but the amount of work for this results in a bad cost-benefi ratio.
Last updated: 2025-05-15
Post by abuckie on i2c master not running
CODESYS Forge
talk
(Post)
Thank you. I didn't realize it wasn't enabled for the Pi as a whole. I enabled i2c in the terminal and things are working now.
Last updated: 2025-05-20
Post by dkugler on Version management
CODESYS Forge
talk
(Post)
If you update all to the newest versions in the project environment and update all devices in the device tree, the errors should gone! Missing the device updates is often causing this problems!
Last updated: 2025-05-28
Post by thomasfrank on TCP Server
CODESYS Forge
talk
(Post)
You can use function blocks like TCPServer to start the Retro Bowl College server and TCPAccept to handle incoming connections, with CAA.Handle simply acting as a reference ID for each resource.
Last updated: 2025-06-03
Post by timvh on Web Client HTTPS Communication Issue
CODESYS Forge
talk
(Post)
Did you create a certificate on that device already? Go to the menu View - Security Screen and check the certificates on the device. There should be one for your webclient FB.
Last updated: 2025-06-06
Post by durallymax on Making a Visu Element normally invisible and visible if variable is true
CODESYS Forge
talk
(Post)
You can write any expression that evaluates to TRUE/FALSE in that property, you can also call a method from the property.
Last updated: 2025-06-06
Post by ph0010421 on Codesys running in Docker on Linux OS
CODESYS Forge
talk
(Post)
Hello I need to make the Linux serial ports (ttymcx0, 1, 2 and 3) available to Codesys (Com1, 2...) Is there a guide? Is it something I do when I deploy the Codesys SL? thanks
Last updated: 2025-06-09
Post by taoufikaoun on Profinet Simulator
CODESYS Forge
talk
(Post)
Hello, I am new to codesys i want to create 100% simulator profinet network only with virtual ethernet adapter it is possible. I want to use Codesys build in controller and device io for profinet. Thanks.
Last updated: 2025-06-20
Post by taoufikaoun on Profinet Simulator
CODESYS Forge
talk
(Post)
Hello, I am new to codesys i want to create 100% simulator profinet network only with virtual ethernet adapter it is possible. I want to use Codesys build in controller and device io for profinet. Thanks.
Last updated: 2025-06-20
Post by nxbp on Cam Editor And Cam Problem
CODESYS Forge
talk
(Post)
I Created cam with 361 cam points ( 0,1,2.....360 ). The values in the Cam_A array do not match the Cam points entered in the Cam editor.
Last updated: 2025-06-22
Post by tk096 on Cam Editor And Cam Problem
CODESYS Forge
talk
(Post)
Hi, in the XYVA compile format the editor is adding an additional point if the derivatives are jumping at this point. However, this should not change the path?
Last updated: 2025-06-30
Post by gabriela-g on Compiler errors not visible
CODESYS Forge
talk
(Post)
Hi, I have the same situation and I tried the advice from here, but didn't worked:my error messages are still not sowing up in the Messages window. Do you have any idea why?
Last updated: 2025-07-03
Post by mickael on stepper motor + Raspberry pi 5 + Codesys
CODESYS Forge
talk
(Post)
Hello, I can't figure out how to configure the DIR and STEP pins of the GPIO for an SM_Drive_RaspiStepper_Pulsdir axis. Can you send me a scan? Also, does the MC_POWER status always remain False? Thanks.
Last updated: 2025-07-06
Post by mickael on Motor stepper raspberry pi 5 Codesys
CODESYS Forge
talk
(Post)
Hello, I can't figure out how to configure the DIR and STEP pins of the GPIO for an SM_Drive_RaspiStepper_Pulsdir axis. Can you send me a scan? Also, does the MC_POWER status always remain False? Thanks.
Last updated: 2025-07-06
Post by blitz on SMC_CNC_INTERNAL_ERROR - SMC_ReadNCFromStream
CODESYS Forge
talk
(Post)
Hi. Has anyone managed to implement the MDI (Manual Data Input) functionality in CODESYS CNC? I'm using SMC_StringStream2 and SMC_ReadNCFromStream, but I'm getting the error: SMC_CNC_INTERNAL_ERROR. I'd really appreciate any suggestions beyond what's already available online.
Last updated: 2025-07-09
Post by gmau on RS232 Communication in CODESYS Control RTE V3
CODESYS Forge
talk
(Post)
Hello, I would like to implement RS232 communication into CODESYS Control RTE V3. I was writing the program testing it on CODESYS Control Win V3, where it worked fine. When I changed it to RTE, the communication was on, but I cannot send the data between PLC and scale - there is no or little response from scale - mostly one time receive and that is it. On Win V3 it was working fine. I read that I am supposed to configure CODESYSControl file for a proper communication using RTE, but even after that I can not get a stable and working communication. I am attaching my CODESYSControl and CODESYSControlUser data below, as well as I am sending the code from communication function. The communication should be through COM1 port of PC. CODESYS Version: CODESYS V3.5 SP21 + (64-bit) Runtime + Version: CODESYS Control RTE V3 Version 3.5.21.0 / CODESYS Gateway V3 - x64 Version 2.5.21.0 I would be much gratefull for any help. Sincerely,
Last updated: 2025-07-16
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.