Post by acc00 on Redundancy Codesys Runtime, Synchronization
CODESYS Forge
talk
(Post)
Hi, Iβm currently testing the Codesys Redundancy application with 2 Raspberry Pi, with the idea is of using in my project 2 Wago PFC200 and 1 Ethercat Master with 2 Remote IO. After I configure the redundancy, and one Pi is Active and the other is Passive, if I disconnect the Ethernet cable of the Active, the Passive become Standalone, which is good, but the problem is the following: -When I recover the Ethernet connection, both stay Standalone. They will NOT Sync until I do it manually in the Codesys environment. How to make the synchronization automatically? -If both Pi/PLC stays Standalone, who is managing the IO? (Ethercat and Serial) I have done a test with an Modbus Slave, where I am sending a counter that increase every second. And I see that when both PLC are standalone, they both keep an active connection with the Slave, and both write values. This does not seem good, since according to this in my project both PLC would try to control the IO at the same time. Note: The Codesys have an option (greyed out, not possible to select) which says βAuto Syncβ. What is the purpose, and why Iβm not able to select it? I'm using Codesys Control for Rapsberry Pi 64SL Runtime in my test environment (2xRaspberry Pi 4), with the idea of using Codesys Control PFC 200 Runtime in my project (2xWago PFC200 and 1 Ethercat Master with 2x Wago 750-354 Ethercat Fieldbus Coupler). Using the last Codesys 3.5 version (SP19 PAtch 5). I'd appreciate a lot any help on this questions!
Last updated: 2024-01-22
Post by gseidel on CAM Motion Recover after STO
CODESYS Forge
talk
(Post)
Dear Mr. Kolev, I'm not sure I understood correctly. But this is my take on your question: When the STO of the slave is triggered, store the current master position (e.g. 225 units) After the reset of the slave error, call MC_SetPosition on the virtual master and reset it to the stored position (225 units) Optionally, before MC_CamIn is restartet, move the slave back to the slave position corresponding to the stored master position. (If you do this, no ramping in will be necessary) Restart MC_CamIn, with absolute master position and absolute slave position. Choose the StartMode that is appropriate for your machine. Best regards, Georg Seidel
Last updated: 2026-02-16
Post by imdatatas on Read "Homed" status from EtherCAT drive
CODESYS Forge
talk
(Post)
Hello, I have experienced such situations with some servo drive devices in the past. The home completion information is reported to the upper controller by the slave drive with the states of the relevant bits in the StatusWord (for example; 6041h Bit10, Bit12 in Home mode). If the states of these bits are correct in terms of number and state but the motor does not actually perform the action; You can contact the slave drive manufacturer. There may be a problem with the device firmware. Another area you can play around with is looking at the settings in the "Advanced configuration" for Softmotion axis on the page the link to below, and trying it out and using the one that works for you. https://content.helpme-codesys.com/en/CODESYS%20SoftMotion/_sm_cmd_add_softmotion_cia402_axis.html A method I recommended worked for a user as in below message. https://forge.codesys.com/forge/talk/Engineering/thread/40bc82454d/ I hope your problem will be solved as soon as possible and by sharing the result here, you will help others to know and overcome it. Good luck. Best regards, Imdat
Last updated: 2025-01-08
Post by nulltrace on How change Unity-ID in TCP Modbus Slave
CODESYS Forge
talk
(Post)
Hey Husarz. i don't forget you, the Thing is, to give you my answer, i have to wait for Answer from Codesys/E. Schwellinger. i suspect Mr. Schwellinger is on in Vacations that week. so please, be patient at moment
Last updated: 2026-04-10
configuration error for SM_Drive_GenericDSP402
CODESYS Forge
talk
(Thread)
configuration error for SM_Drive_GenericDSP402
Last updated: 2024-10-21
Help for a newbie
CODESYS Forge
talk
(Thread)
Help for a newbie
Last updated: 2025-03-11
HMI For BBB
CODESYS Forge
talk
(Thread)
HMI For BBB
Last updated: 2019-08-27
FOR Schleife
CODESYS Forge
talk
(Thread)
FOR Schleife
Last updated: 2008-01-23
Control for Linux SL
CODESYS Forge
talk
(Thread)
Control for Linux SL
Last updated: 2019-02-08
Example for CAA_RealTimeClock.library (timezones)
CODESYS Forge
talk
(Thread)
Example for CAA_RealTimeClock.library (timezones)
Last updated: 2016-09-14
Documentation export for libraries
CODESYS Forge
talk
(Thread)
Documentation export for libraries
Last updated: 2022-01-28
Description for IoConfigParameter.wType
CODESYS Forge
talk
(Thread)
Description for IoConfigParameter.wType
Last updated: 2013-12-25
Unexpected For Loop Operation
CODESYS Forge
talk
(Thread)
Unexpected For Loop Operation
Last updated: 2017-04-13
Request for Ladder Improvements
CODESYS Forge
talk
(Thread)
Request for Ladder Improvements
Last updated: 2015-06-09
Licence for Control Win ....
CODESYS Forge
talk
(Thread)
Licence for Control Win ....
Last updated: 2014-03-13
pdf documentation for libraries
CODESYS Forge
talk
(Thread)
pdf documentation for libraries
Last updated: 2019-09-04
Control for Linux SL
CODESYS Forge
talk
(Thread)
Control for Linux SL
Last updated: 2019-02-07
Pragma for REAL view
CODESYS Forge
talk
(Thread)
Pragma for REAL view
Last updated: 2018-05-28
Initial values for structures
CODESYS Forge
talk
(Thread)
Initial values for structures
Last updated: 2018-09-18
value for alarms
CODESYS Forge
talk
(Thread)
value for alarms
Last updated: 2018-04-18
ID for textList
CODESYS Forge
talk
(Thread)
ID for textList
Last updated: 2020-05-20
Analog output for PWM
CODESYS Forge
talk
(Thread)
Analog output for PWM
Last updated: 2022-03-01
Check for null pointer
CODESYS Forge
talk
(Thread)
Check for null pointer
Last updated: 2021-05-19
IEC variable for jitter
CODESYS Forge
talk
(Thread)
IEC variable for jitter
Last updated: 2019-03-27
Documentation for RDREC Functionblock
CODESYS Forge
talk
(Thread)
Documentation for RDREC Functionblock
Last updated: 2016-12-08
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.