Post by morecoffee on Control for Raspberry Pi 4.17
CODESYS Forge
talk
(Post)
the runtime update to 4.17.0.0 fixed my issue, thank you.
Last updated: 2025-09-08
Post by mondinmr on Direct Pointers in IOMapping for EtherCAT with IoDrvEthercatLib.ETCSlave_Dia
CODESYS Forge
talk
(Post)
Last updated: 2024-02-13
Post by jackbrady on Function Blocks and arrays of function blocks
CODESYS Forge
talk
(Post)
Thanks for the reply. Much appreciated.
Last updated: 2024-02-15
Post by kumareasu on IDE Version
CODESYS Forge
talk
(Post)
When I download IDE for version 3.5.19.60.( https://store.codesys.com/en/codesys.html )
Last updated: 2024-02-23
Post by kumareasu on IDE Version
CODESYS Forge
talk
(Post)
When I download IDE for version 3.5.19.60.( https://store.codesys.com/en/codesys.html )
Last updated: 2024-02-23
Post by jdjennings1962 on Is there any support for I2C on Raspberry Pi?
CODESYS Forge
talk
(Post)
Last updated: 2024-02-29
Post by jdjennings1962 on Is there any support for I2C on Raspberry Pi?
CODESYS Forge
talk
(Post)
Last updated: 2024-02-29
Post by niallel on How to change bHiresMode
CODESYS Forge
talk
(Post)
That's brilliant, thanks so much for all your help.
Last updated: 2024-03-12
Post by wollvieh on Start *.exe through PLC progem
CODESYS Forge
talk
(Post)
Look for sysprocess lib.
Last updated: 2024-04-16
Post by eschwellinger on cmDongle Raspberry Pi issue
CODESYS Forge
talk
(Post)
should work for sure as HID device.
Last updated: 2024-04-22
Post by benitohb on Error in simple division
CODESYS Forge
talk
(Post)
Hello. thanks for your help! you saved my life.
Last updated: 2024-04-25
Post by micik on "CAA" meaning in library names
CODESYS Forge
talk
(Post)
Thank you very much for answering my question.
Last updated: 2024-05-31
Post by vtec35 on search runtime 4.9.0.0 for pi 3
CODESYS Forge
talk
(Post)
attached information
Last updated: 2025-10-26
Post by vtec35 on search runtime 4.9.0.0 for pi 3
CODESYS Forge
talk
(Post)
attattached information
Last updated: 2025-10-26
Post by vtec35 on search runtime 4.9.0.0 for pi 3
CODESYS Forge
talk
(Post)
attattached information
Last updated: 2025-10-26
Post by vtec35 on search runtime 4.9.0.0 for pi 3
CODESYS Forge
talk
(Post)
if you prefer i can share the project directly
Last updated: 2025-10-26
Post by gatto on Backtick identifiers
CODESYS Forge
talk
(Post)
Hello, thank you for letting me know.
Last updated: 2025-11-06
Post by ducng on SMC_ERROR.SMC_AXIS_NOT_READY_FOR_MOTION when using Drive Virtual
CODESYS Forge
talk
(Post)
@gseidel @imdatatas Thank you for your help.
Last updated: 2025-11-29
Post by kalmeyer on NO SIGNAL ON POWER_ON FOR STEPPER MOTOR
CODESYS Forge
talk
(Post)
CONTINUED.......
Last updated: 2025-11-23
Post by timvh on Codesys virtual control redundancy
CODESYS Forge
talk
(Post)
I think it depends on what you consider as redundant. Is it allowed to plug the network cable in another device (server), move the USB key with license to the other device (server) and then start it up? Or should it automatically switch over within msec and take over the communication with the I/O flawlessly without noticing the switchover? We helped several customers setting up the CODESYS Redundancy functionality and the nice thing is that when you have it up and running, you can easily switchover from active to passive and when you download a new applicaiton, CODESYS handles the update of boot project on the passive controller automatically. Sure this will require an additional license and the license for redundancy, but if your installation is that critical it should be worth it. Please contact us (Extend Smart Coding) if you need any further information. We could help you setup the configuration and possibly provide the licenses for it (I noticed you are situated in the Netherlands).
Last updated: 2025-09-04
Post by testlogic on Sending Sequential Modbus TCP Packets
CODESYS Forge
talk
(Post)
I have a Modbus TCP slave device where I need to do sequential writes to the same register. The register I'm writing to is kind of like a command line, each packet is a command word encoded in Hexadecimal. I am having difficulty implementing this system in CoDeSys 3.5 SP19. I feel like the structure of the program should be something along the lines of (Pseudocode): ModbusTCPSend(Command Register, Command1) ModbusTCPSend(Command Register, Command2) ModbusTCPSend(Command Register, Command3) I have tried to implement this with a rising edge trigger wMot1OPCode := 16#E1; //Stop Motor & Kill Program xMot1SendOP := TRUE; //Send OP on rising edge xMot1SendOP := FALSE; //Reset wMot1OPCode := 16#9E; //Disable Motor xMot1SendOP :=TRUE; //Send OP on rising edge xMot1SendOP := FALSE; //Reset Where "wMot1OPCode" is the IO map for writing to the command register, and "xMot1SendOP" is the rising edge trigger for that modbus channel. However, this doesn't work. The device never responds to the modbus commands. It seems like the trigger variable is switched too quickly for modbus to send the packet. I know the modbus register is working, because I can set the channel to cyclic and the device will respond. However, I can't use this reliably because I need each command to be sent once, in order. Cyclic keeps re-sending the commands and seems like it could miss a command as well if one was sent in-between cycle time. I have also trying using the Application trigger as described by https://faq.codesys.com/pages/viewpage.action?pageId=24510480, but this is also not working for me. See attached picture for my FBD code. This seems like a simple function, I can't tell what I'm doing wrong here. Thanks for the help.
Last updated: 2024-03-06
Post by mondinmr on Direct Pointers in IOMapping for EtherCAT with IoDrvEthercatLib.ETCSlave_Dia
CODESYS Forge
talk
(Post)
Using SDO, I can read the EtherCAT mappings and offsets from various registers like 0x1c12, 0x1c13, etc. When I obtain registers mapped in the PDOs and various offsets, I could technically access directly to the statusword, controlword, etc., if they are mapped. I have noticed that on IoDrvEthercatLib.ETCSlave_Diag I can find pointers to the input and output buffers. However, although the input buffer can be easily read by referring to what has been obtained from the SDOs, it is not possible to write to the output buffer, as it is overwritten in each cycle by the data from the IOMapping task. Is there a way, knowing an instance of IoDrvEthercatLib.ETCSlave_Diag, to obtain the pointer to the first data in the IOMapping? The offsets are identical to those of the PDOs, but obviously the data is a copy. For me, the cleanest thing would be to access the pointers on IOMapping, for DS402a devices to retrieve the key data and point them to internal references. I need to know this as, having developed our own motion library, I would like to simplify the initial setup by eliminating unnecessary and nonsensical mappings that can lead users to unnecessary errors. In the current version that we have been using for years, we have to map everything manually. I would like to pass only the slave reference to the FB_init constructors and eliminate the mapping.
Last updated: 2024-02-12
Post by joelwright24 on codesys sp20 opcua not working
CODESYS Forge
talk
(Post)
I also had this problem connected CODESYS to UAExpert for the first time. In the device, I need to allow anonyomous log in. Follow steps 14 - 17 of the following tutorial: https://docs.factoryio.com/tutorials/codesys/setting-up/codesys-opc-ua-sp17/#creating-the-project
Last updated: 2024-09-11
Post by timvh on CoDeSys 3.5 SP20 "No Offline Help installed"
CODESYS Forge
talk
(Post)
Open the CODESYS Installer (from the menu Tools). Go to Browse. Search for: help ... Select the CODESYS Offline Help which you would like to install. (probably you have to close CODESYS to install it and reopen it after installation).
Last updated: 2024-10-01
Post by struccc on Problem Update new version Master ethercat
CODESYS Forge
talk
(Post)
Hi, I had some issues as well migrating to the new version. What I have learnt: - Have to check all the libraries in the library manager, if they are the proper versions. - Some other parts of the application, maybe an old library referenced by another one can keep the old Ethercat libraries.... Use the "Placeholders" function on the library manager - See if there is a new version available of the slave "devices". Might just have to update them ... I had problems moving from 4.7 to with 4.8, especially with the 2nd adapter for redundancy - some devices failed to initialize properly.... So I have just downgraded those libraries now. P.
Last updated: 2024-10-28
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.