Post by eschwellinger on ModbusTCP RaspberryPi zu Fronius Wechselrichter
CODESYS Forge
talk
(Post)
Schreibe den Slavename(der vom Gerätebaum) in ein Watchfenster dann siehst du Instanz des Modbus Slave Fb's und hast dadurch Diagnose Info
Last updated: 2025-07-04
Post by eschwellinger on Modbus TLS Kommunikation
CODESYS Forge
talk
(Post)
hi, das geht leider nicht mit aktivierter Verschlüsselung , sorry - denke aktuell bleibt dir nur auf Slave Seite die Verschlüsselung zu deaktivieren.
Last updated: 2025-11-09
Post by attarzade on Servo motor as an slave and AC motor as an Mster
CODESYS Forge
talk
(Post)
Hello, I would like to control a servo motor via EtherCAT as a slave axis, and have it follow a master axis that is driven by a Control Techniques C200 AC drive (ethercat communication).Could anyone help me with how to achieve this setup? I use codesys version 3.5.20 and crevis Ethercat cards. AC drive is master axis and Servo drive is slave axis Thanks in advance
Last updated: 2025-07-14
Post by john-martin on Send file from codesys to...... ftp, cloud, etc
CODESYS Forge
talk
(Post)
Hi everybody, I am looking for a solution to send files, for example, to an ftp or a cloud. I can't use oscat library because 64 bit controller are not supported. Therefore, I see that the IIoT library has some functions that might help me to implement this sending process in codesys. Does anyone have any examples of how to do this? I have spent some days with this issue without success. Best regards.
Last updated: 2023-11-02
Post by martincapd on EWON
CODESYS Forge
talk
(Post)
I have the same problem in that I can connect to the eWon and ping the controller IP Address, however I cant connect through CodeSys. I'm using Gateway-1 which is configured to use "IP-Address: localhost" and "Port: 1217". Rather than scanning the network for devices, I enter the IP Address of the device, codesys returns a "No Device is repsonding..." message. See attached. I'm wondering if the IP-Address used Gateway-1 should be "localhost" or the WAN/LAN IP of the eWon? Thanks for the help MC
Last updated: 2024-02-21
Post by mattkaree on Mapping values with etherCAT mailbox communication
CODESYS Forge
talk
(Post)
I am using a WAGO PFC200 PLC as an etherCAT master and a Keyence IV3-G120 with DL-EC1A attached as an etherCAT slave. I am using CODESYS V3.5 SP21 Patch 3. I was able to set up mailbox communication and can see values changing accordingly, but I want to know how I can map these values and reference them in my program. I am able to map the process data objects in the 'EtherCAT I/O Mapping' tab, but there is no where to map the mailbox values in the 'CoE Online' tab. Is there a way I can reference one of these values in my code?
Last updated: 2026-01-27
Post by yannickasselin on Question about Demo License limitations for Modbus TCP communication and Fieldbus Instances
CODESYS Forge
talk
(Post)
As far as I know, there is no other limitations than the 2 hours limit. The demo mode should be plenty enough for testing purposes. Regarding instances. In the device tree, 1 master = 1 instance, no matter how many slaves the master is communicating with. But it is also possible that your Codesys runtime act as a slave. In this case, each slave in the device tree is one instance. You can also use the license metric tool in the IDE. This will tell you exactly how many instances you have in your project. https://content.helpme-codesys.com/en/CODESYS%20Development%20System/_cds_edt_device_licensed_software_metrics.html
Last updated: 2026-02-28
Post by snhatton on Saving variable values on power cycle (RevPi Connect)
CODESYS Forge
talk
(Post)
Have you tried using the persistence manager which uses the file system of the controller to store persistent variables?
Last updated: 2023-12-04
Post by konstantin on CAM Motion Recover after STO
CODESYS Forge
talk
(Post)
Hello Mr. Seidel, both the master and the slave axis are modulo. Basically the situation is as follows: One master cycle is 100 units. Slave's modulo length is 2000 units. In the CAM table I defined 10 master cycles on X axis - 1000 units and on the Y axis is the slave - 2000 units. Then depending on the master position 0 to 1000 units the slave's position is plotted on the Y axis - 0 to 2000 units. For example, while the master is executing the 3rd cycle i.e. above 200 units, I trigger the STO function of the slave and it stops. The master executed his cycle but the slave was stopped during the execution. How can I set the slave to continue the CAM sequence from the point where it stopped i.e. third cycle of the master? When I reset the slave error and sync again, everyrhing starts from master's 0 position. Best Regards Konstantin Kolev
Last updated: 2026-02-13
Post by jf-fischer on PFC200 als Protokollumsetzer
CODESYS Forge
talk
(Post)
Hallo, ich möchte IEC 104 Protokolldaten von einem Gerät über Ethernet empfangen, in ein Modbus-TCP Protokoll umwandeln und weiter geben (lesen und schreiben) an andere Modbus Geräte. Dies soll auch in die andere Richtung funktionieren, so dass daten aus dem Modbus Register vom IEC Gerät ausgelesen werden können. die Umwandlung soll eine pfc200 sps von wago durchführen. am Ende sollen die Daten in einer Webansicht visualisiert werden. das Programm der wago möchte ich in codesys 3.5V programmieren. Kann mir jemand helfen, meine Erfahrung mit Codesys ist leider bis jetzt nur sehr grundlegend.
Last updated: 2024-08-07
Post by mrkm-dic on UC20-M4000 Redundancy – Application is not automatically synchronized and redundancy breaks after online change
CODESYS Forge
talk
(Post)
Hello, I am currently testing redundancy using two UC20-M4000 controllers with CODESYS Control SL. The basic redundancy functionality (Active/Passive switching and failover) works, but I am experiencing problems when updating the application. Environment Controller: Weidmüller UC20-M4000 OS: u-OS Runtime: CODESYS Control SL 4.12.1.0-1 Redundancy link: dedicated Ethernet connection between the two controllers Time synchronization: NTP configured, time difference between controllers is about 1–2 seconds Current behavior Application synchronization When I download a modified application to PLC1 (Active controller), the application is not automatically copied to PLC2 (Passive controller). However, when I perform a path swap, the application download to PLC2 starts automatically. My expectation was that the Passive controller would automatically receive the updated application after downloading to the Active controller. Online change When performing an online change, redundancy is lost and the controllers switch to Standalone mode. Typical log messages include: RedundancySynchronize called Redundancy failover itself works correctly. The application boot project exists on both controllers (Application.app and Application.crc). Network interfaces are up and correctly configured. Question Is this behavior expected when updating the application in a redundant UC20-M4000 setup? Should the Passive PLC automatically receive the updated application, or is manual synchronization required? Any advice or recommended configuration for stable redundancy during online change and application download would be greatly appreciated. Thank you.
Last updated: 2026-03-16
Doubt about the 'for loop' in Structure text!
CODESYS Forge
talk
(Thread)
Doubt about the 'for loop' in Structure text!
Last updated: 2009-07-06
Viewing Source Code for Visualization Object
CODESYS Forge
talk
(Thread)
Viewing Source Code for Visualization Object
Last updated: 2007-07-03
Speed Reference & Encoder Feedback for an Older VFD
CODESYS Forge
talk
(Thread)
Speed Reference & Encoder Feedback for an Older VFD
Last updated: 2017-03-01
No source code available for this object
CODESYS Forge
talk
(Thread)
No source code available for this object
Last updated: 2024-07-15
Temu Discount Code Belgium ⇨ ["^"acs597987"^"] for First Order
CODESYS Forge
talk
(Thread)
Temu Discount Code Belgium ⇨ ["^"acs597987"^"] for First Order
Last updated: 2024-10-26
[50% off] Temu Coupon Code âž§ [acr900074] for Existing Customers
CODESYS Forge
talk
(Thread)
[50% off] Temu Coupon Code âž§ [acr900074] for Existing Customers
Last updated: 2024-10-26
Temu Discount Code Norway âžµ ["^"acs597987"^"] for Existing Customers
CODESYS Forge
talk
(Thread)
Temu Discount Code Norway âžµ ["^"acs597987"^"] for Existing Customers
Last updated: 2024-10-26
Post by mazino on How to download dependencies packages for CODESYS Control for Raspberry Pi SL ?
CODESYS Forge
talk
(Post)
Last updated: 2025-03-07
for samab20 overview of your program
CODESYS Forge
talk
(Thread)
for samab20 overview of your program
Last updated: 2013-06-26
Who operates this forum? Who is it meant for?
CODESYS Forge
talk
(Thread)
Who operates this forum? Who is it meant for?
Last updated: 2005-01-31
Buttons in Alarm Table for webvisu are German
CODESYS Forge
talk
(Thread)
Buttons in Alarm Table for webvisu are German
Last updated: 2014-12-13
Target Visualisation:what was the maximum rosolution for LCD
CODESYS Forge
talk
(Thread)
Target Visualisation:what was the maximum rosolution for LCD
Last updated: 2006-11-29
The VAR_INPUT stDirEntry for the function SysDirRead
CODESYS Forge
talk
(Thread)
The VAR_INPUT stDirEntry for the function SysDirRead
Last updated: 2008-06-24
Multiple Data Types for FB's Inputs/Outputs
CODESYS Forge
talk
(Thread)
Multiple Data Types for FB's Inputs/Outputs
Last updated: 2015-06-24
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.