Hi, Is it possible to change the color of the symbols?
Yes it was working but I did not spend much time testing it. I now use some Raspberry Pi CM4 with the overlay enabled and I save my persistent variables on a usb stick instead of a second partition. I followed a quick guide to make sure my usb stick is always mounted on the same directory and so far did not need to delay the codesys runtime. Everything works fine but I am still experimenting with it. Dont't hesistate to post your findings on this topic.
I finally figured it out myself since the Codesys support was not very helpful. They only told me that it worked on their side and they wanted me to pay for support. For a reason I don't understand, my project was using an older safety librairy even though I made it from scratch using 3.5.17.20 with the latest Safety package. It seems that the FB_EDM inputs from this librairy were SAFEBOOL and now in the more recent librairy, they are BOOL.
Can someone from Codesys answer this? Or should I open a ticket? Thank you
This is exactly the problem. It does not compile. When using TwinCAT, I am able to use a non safebool for the FB_EDM inputs. I think I should be able in Codesys as well. All the other edm inputs, like in the FB_ESTOP, don't need safebool. Only the FB_EDM inputs require safebool.
Hi, The Codesys documentation says the bMon1 and bMon2 inputs from FB_EDM can be regular bool (not safeBool). But in the editor, I cannot use a regular bool. The inputs say "SAFEBOOL". Is there a way to use regular bool?
Hello, I created a project with Codesys 3.5.17.20 and pushed it to a remote git repo. I then tried to clone it using the same Codesys version 3.5.17.20 and I get this warning. I don't understand since I am trying to clone it using the exact same version with which I created the project. [-img src=Screenshot from 2022-01-20 08-53-20.png width=50%: missing =-]
Hello, I created a project with Codesys 3.5.17.20 and pushed it to a remote git repo. I then tried to clone it using the same Codesys version 3.5.17.20 and I get this warning. I don't understans since I am trying to clone it using the exact same version with which I created the project. [-img src=Screenshot from 2022-01-20 08-53-20.png width=50%: missing =-]
I am still having the same issue. Here's what the log says:
Will do that. Thank you.
I absolutely need to be able to do safety over wifi for a specific project and I always try to do my projects using Codesys runtime with Beckhoff IOs over EtherCAT and Safety using an EL6900. I would have like to keep this kind of configuration for this project but I am now looking at SafetyBridge from Phoenix Contact. Can someone from Codesys please tell me if it is possible or not to do safety over wifi with an EL6900? Or tell me where to look or who to ask. Thank you.
This document: https://www.ethercat.org/download/documents/Safety_over_EtherCAT_Overview.pdf says that it is possible to route FSoE via unsafe gateways, fieldbuses or backbone, even wireless. Is it possible to do this in Codesys?
Well, I guess this is not possible? We were doing it in TwinCAT using "Custom FSoE Connection" but I cannot find a way to do it in Codesys. Would really like to use Codesys Safety for this project instead of going with another vendor. No one has ever done it? Thank you
Can 2 SafetyApp (EL6900) on different Codesys Controllers communicate together through Network Variables?
Is EAP supported in Codesys? I am trying to find a way to make 2 controllers talk to each other on a wifi network.
Is it possible to do safety through communication between 2 Codesys controllers? I use Safety for EL6900. Thank you
Any idea on how to do safety over wifi with Codesys? I did it once with TwinCAT using EAP communication over wifi to make 2 EtherCat Masters talk together. Is EAP supported on Codesys or is there a better way to do it? I am willing to use 2 PLCs talking over wifi if need be. Any ideas are welcome. Thank you.
Thank you, I have different ideas but if it would be possible to do it straight from Automation Server I would definitely go this way. I really hope this is going to be possible. Thank you
Hello, I am looking for a way to remotely access Codesys runtimes. Automation Server seems to be the way to go, but can it do more than just access the Codesys part of a PC? For exemple, let's say I have a Linux PC running Codesys. And let's say this PC also runs a Node Red project and a Database. Would there be any way to access Node Red and the Database running on the PC just like I would be able using a vpn? I guess my question is: can I access the whole PC/OS using Automation Server? If this...
You are right. I was missing the .git at the end. It now works. Thank you
Hello, I am trying to push my Codesys project to Bitbucket but I keep getting the error: "The server request failed and returned a HTTP error codes 404: Not Found" But if I paste the remote URL in a web browser, it works. I am probably missing something in Codesys. Could it be the credentials? I cannot figure out where to put my credentials. Thank you.
Hello, Since I did not get any answer from US support, I will ask here. I bought a Codesys Professional License and activated it in a soft container and it works fine. The problem is, I always work in virtual machines. Once I activated the license, I realised I had configured my virtual machine to only use 2 cores. I want it to use 4 cores. Once I changed the Virtual Machine settings to use 4 cores, the license becomes unvalid. When I go back to 2 cores, it becomes valid again. Is there a way to...
Hi, I just noticed that the "Codesys Control for Linux ARM SL" is now available. I like the fact that you can "cherry pick" all the options you need instead of having almost all the options available like with "Linux SL". But I quickly realised that if you need the webvisu option, you already are at the same price point as going with "Linux SL" which comes with all the available fieldbuses. Are there any advantages with "Linux ARM SL" over "Linux SL"? Maybe one advantage I see is that the multicore...
What is the store helpdesk?
Hello, Is it possible to read the state of safety IOs in the "PLC Logic" or do I absolutely need to create "logical I/Os" in the "Safety App"? For exemple, if I want to know which e-stop is pressed in my "PLC Logic", is there a way to read the EL1904 directly from "PLC Logic" without going through "Logical I/Os" in "Safety App"? Thank you
Nervermind, it works anyway. I just don't understand why sometimes the scan works and somtimes it does not. Now the scan does not work on my old EL6900 but it works anyway...
The issue seems to be related to my new EL6900. Is it too recent? I used an older EL6900 and it seems to work. The new one I just bought for this project is not recognized! What can I do?
The issue seems to be related to my new EL6900. Is it too recent? I used an older EL6900 and it seems to work. The new one I just bought for this project is not recognized! What can I do? Old EL6900 New EL6900
The issue seems to be related to my new EL6900. Is it too recent? I used an older EL6900 and it seems to work. The new one I just bought for this project is not recognized! What can I do? Old EL6900 New EL6900
Hello, What used to work fine does not work anymore since I upgraded to 3.5.17. I installed 3.5.17 then re-installed the safety package 4.2.0.0. I also installed all the xml files from Beckhoff. Now my EL6900 is not recognized anymore and there also seems to be an issue with EL1904 and EL2904. What can I do to fix this? Thank you.
It worked using the browser. Thank you.
Hello, I am trying to activate some licences on a dongle and I keep getting this error: Return Code: 403046401, An internal error has occured. Please try it again later. What can I do?
Sorry to ask again but I have some projects I am working on and would really like to use the Arm 64 SL runtime. I still cannot find it in the store. Is it supposed to be available? Thank you
Any idea of when this will be supported?
Hi, I can see 4.1.0.0 is out but still cannot find Arm Linux runtime.
Hi, I just noticed SP17 is out!. Any news on when Arm Linux runtime will be available? Thank you.
Ooops.... I already ordered everything. When will the embedded safety PLC of the EL1918 will be supported? Thank you
Are EL2911 and EL2912 also supported for IOs?
Thank you. I think I will order an EL1918 but I will use an EL6900 that I already have until it is fully supported. Thank you.
I have to order my safety hardware. I would like to know if the EL1918 is actually supported. The description of the safety SL does not state that it is supported. Thank you.
Hi, I would like to test Codesys Robotic capabilities. Do you have any hardware to recommend to get started. Cheap robots/servos that could be controlled directly from Codesys Robotic. Thank you.
You could probably use Mqtt on codesys with zigbee2mqtt running on the raspberry pi. You will also need a cc2531 usb stick flashed with the zigbee2mqtt firmware.
Hi, I just noticed the same thing. Does that mean that it is OK to use the Raspberry Pi MC SL for commercial use? What about the BeagleBone? It does not seem to have this restriction. What about the forthcoming generic ARM Linux license? I would really like to get an answer because I am planning to use one of these license in a commercial product so I would like to chose the right one. Thank you.
Hello, I am trying to use a physical keyboard to display character in a visu. Numbers and letters are fine. But the other characters are wrong. Like a '.' will show '3/4', a '/' will show an upside down '?'. Is there a parameter in the visualisation manager that can fix this? I tried the unicode option but it stayed the same. I verified the locales on the PC running the visu and they are OK. Thank you
Is there a way to test it without the license? Like a 2 hour limitation or something like that?
Do I need to purchase an additional license in order to use IO-Link with EL6224 on a Raspberry Pi? I already have the license for the Raspberry Pi. Do I also need to purchase the license for IO-Link? Thank you
With a second partition I still need to add a delay. I will try to find out how to make sure the partition or the usb stick is mounted before starting the runtime.
It seems to work when adding " /bin/sleep 10 " in /etc/init.d/codesyscontrol but I agree, it is probably not the best way to do it. I will try using a separate partition on the sd card instead of USB stick.
I found that the placeholder is $PlcLogic$ not $PLCLogic$ There is an error in Codesys Help: https://help.codesys.com/webapp/ac_pm_overview;product=core_Application_Composer;version=3.5.16.0 So this is working now: [SysFile] FilePath.1=/etc/, 3S.dat PlcLogicPrefix=1 PlaceholderFilePath.1=/media/pi/DATA/PlcLogic, $PlcLogic$ PlaceholderFilePath.1.Volatile=1 PlaceholderFilePath.1.View=1 But I still have a problem. I think Codesys starts before the USB stick gets mounted. So Codesys creates another folder...
When I do this, everything works fine. I can see the persistent variables written on USB stick: [SysFile] FilePath.1=/etc/, 3S.dat PlcLogicPrefix=1 PlaceholderFilePath.1=/media/pi/DATA/ac_persistence, $ac_persistence$ PlaceholderFilePath.1.Volatile=1 PlaceholderFilePath.1.View=1 But when I do this, nothing is written on the USB stick: [SysFile] PlcLogicPrefix=1 FilePath.1=/etc/, 3S.dat PlaceholderFilePath=/media/pi/DATA/PlcLogic, $PLCLogic$
I must be missing something. It does not seem to work. Nothing gets written on the USB stick.
How could I redirect the whole PLCLogic path? I tried this but it does not work: PlaceholderFilePath.1=/media/pi/DATA/PLCLogic, $PLCLogic$ PlaceholderFilePath.1.Volatile=1 PlaceholderFilePath.1.View=1
I don't have any problem with the license so far. Could it be because I use a dongle for the license?
Hello, I am testing Codesys running on a Raspberry Pi in Read Only mode (using the read only feature built into Raspberry Pi OS). So far so good. I am using the persistence manager to save some variables values on a usb stick and it works fine. I was just wondering if anyone else have used Codesys on a Raspberry Pi in read only mode? Have you ran into any issues? Are there any other things to consider? Is there a way to download the compiled file to a different location so that I don't need to put...
Hello, I am very used to mapping IOs in TwinCAT where you need to declare your variables with AT%I and AT%Q. In Codesys, you can map a physical IO to any variable, but is there a way to declare variable that are expected to be mapped to IOs so that I could filter them out in the mapping dialog? Or maybe I should just use some kind of naming convention for those variables like: IN_myInput and OUT_myOutput. I would like to know how others are mapping IOs to variables. Thank you.
Still cannot find the Linux Arm runtime. Is it available yet?
Hello, Just curious to know why the version numbers for all of the runtimes went from 3.5.16.20 straight to 4.0.0.0 while the engeneering software is still 3.5.16.30? Are there any significant changes? Thank you.
Hello, In Codesys help, it is said that the location for the archive files is defined via the placeholder $ac_persistence$. I am trying to figure out how to set this placeholder to a different value. For exemple, I would like to save the archive files to a usb stick and set my raspberry pi in read only mode. Where can I define the value of the placeholder $ac_persistence$. Thank you.
Thanks for the info. I also had problems with step 5. "Composer - Add Module Library to Project" step is missing in the pdf. Thank you
Any idea when this "ARM Linux SL" will be released?
Hello, Does "CODESYS Control for IOT2000 SL" work on Siemens IOT2050? Thank you.
It works! Thank you Edwin! And I learned that you can programmatically enable/disable devices. This is very handy. Thank you.
You mean adding a delay before starting Codesys runtime?
Is it possible to delay the start of the Codesys runtime? Maybe it would resolve the issue. Or is there another workaround?
It seems that the Scanner is trying to load parameters before the EtherNet/IP adapter has successfully opened connection.
And here's what the EtherNet/IP Scanner's log says:
Here's what the Ethernet adapter's log says:
Hello, I am using Codesys 3.5.16.2 on a Raspberry Pi with an EtherNet/IP Scanner. It works fine, but every time I reboot the Raspberry Pi, the EtherNet/IP Scanner stops working. It has a red triangle next to it. If I do a Reset (Warm, Cold or Origin), everything starts working again. Any idea what could be wrong?
Thank you very much. Just 1 more question, does the "Safety for EtherCat" work with the Raspberry Pi? (Of course I mean if I buy the license) Thank you.
Anyone? I would like to know if supported before buying... Thank you
Hello, I am planning to use Codesys Safety with Beckhoff hardware. I would like to know if the Beckhoff EL2911 is supported as the TwinSAFE Logic controller? On the Codesys store, it is said that the EL6900 and EL6910 are supported. Are the new TwinSAFE Logic terminals EL1918, EL2911 and EL2912 also supported? Thank you.
Hi, I noticed that when using Codesys as a Modbus Master there seem to be a problem when using function 23 (Read/Write Multiple Registers). It seems that the offset for the write has to be set in number of bytes instead of number of registers like all the other functions. For the read, it is working fine. For example, if my slave has 60 registers and from my master I want to write 10 registers starting at the 20th register, I would have to set the offset at 40 instead of 20. I also noticed that if...
Hi, I noticed that when using Codesys as a Modbus Master there seem to be a problem when using function 23 (Read/Write Multiple Registers). It seems that the offset for the write has to be set in number of bytes instead of number of registers like all the other functions. For the read, it is working fine. For example, if my slave has 60 registers and from my master I want to write 10 registers starting at the 20th register, I would have to set the offset at 40 instead of 20. I also noticed that if...
Hi, I cannot find the CODESYS Control for Linux ARM SL (Demo) anywhere in the store. Is it available yet? I would be interested in getting more information about it. Thank you
Hi, I cannot find the CODESYS Control forLinux ARM SL (Demo) anywhere in the store. Is it available yet? I would be interested in getting more information about it. Thank you
Hi, I have never been able to make it work using the eds file but I was able to make it work by manually entering the configuration as a generic EtherNetIP adapter. Here's my configuration: I think the only difference from using the eds file is the config size.