Post by transmin01 on EL6751 Canopen_Manager issue
CODESYS Forge
talk
(Post)
Hi, I have a Beckhoff EL6751 EtherCAT / CANopen gateway which fails on the Canbus when the CANopen_Manager is added. Currently no devices are connected to the EL6751. If I add a device, I get the same issue. If I add a device and connect the bus, I get the same issue. Is there something I am doing wrong? Regards Trevor
Last updated: 2023-09-12
Post by spareparts on SPI Master not running/MCP3008 Missing driver.
CODESYS Forge
talk
(Post)
I believe I have installed the correct device descriptions and library, in an attempt to use the MCP3008 in conjunction with RPI; when project runs the MCP3008 is unable to find the correct driver. Is there anything I'm missing? Very new to this so any help is apprecated!
Last updated: 2023-09-12
Post by transmin01 on EtherCat Master cannot open network adaptor on Win10x64 target
CODESYS Forge
talk
(Post)
Hi, If I utilise an EtherCat master with a Beckhoff EK1100 coupler on a Win10x64 target I get a "Network Adaptor could not be opened" error. I have tried this on both a VM and a physical PC. Has anyone experienced this issue? Regards Trevor
Last updated: 2023-09-14
Post by eschwellinger on Correct CAN Driver for EL6751
CODESYS Forge
talk
(Post)
Hi, for Control Win : add CmpEL6751CanDrv in the c:\ProgramData\CODESYS\CODESYSControlWinV3x64\E1FA7ABE\CODESYSControl.cfg [ComponentManager] Component.1=CmpTargetVisuStub Component.2=CmpWebServer Component.3=CmpWebServerHandlerV3 Component.4=SysCpuMultiCore Component.5=SysReadWriteLock Component.6=SysCpuBreakpoints Component.7=SysPipeWindows Component.8=CmpEL6751CanDrv for Linux SL or Pi or any ARM device - I think it is already static loaded as component - see plclogger on startup
Last updated: 2023-09-20
Post by laruso on Runtime device Enable/Disable procedure
CODESYS Forge
talk
(Post)
I implemented the parts from the CAA Device Diagnosis Example.project and could use it for switching on and off, the CAN devices that were located under the CANbus and CANopen_Manager. But i can't do the same with I2C_master_test_version or devices below this one. In the example project there is only the EtherCAT Master, CANbus and CANopen_Manager, and Ethernet with devices below.
Last updated: 2023-10-27
Post by totorovic on CSVReaderInit returns error : INVALID_HANDLE
CODESYS Forge
talk
(Post)
We changed the path where the CSV file is. From intern memory of the IPC to a USB key. We still have this error 'INVALID_HANDLE'. We must restart the Codesys runtime to clear it. That is a big problem for us because machine is in production. @eschwellinger What do you mean by "this is a security issue not to read/write in the plc allowed path"
Last updated: 2023-10-27
Post by andrax on Mux I2C
CODESYS Forge
talk
(Post)
Hi, sorry I was not there for a long time. The TCA9548 needs terminating resistors, do you have them in? That's why I went to QWIIC, the muxboard already has them built in. If it still does not work, try it first without the muxboard. PS: Note the channel assignment. Muxboard 0 = I2C_Master 1,0,0,0,0,0,0,0 Muxboard 1 = I2C_Master 2,0,0,0,0,0,0,0 etc.
Last updated: 2023-10-29
Post by sonnh on How to use more 4 instances of CANopen/Profibus/Modbus with The application-based license CODESYS Control
CODESYS Forge
talk
(Post)
The codesys application license allows the use of up to 4 fieldbus instances (eg Modbus). I need to use more instances than that. Can I use the Modbus library instead? Does this usage require a license? Similar to other libraries such as CanOpen, Modbus TCP...
Last updated: 2023-11-02
Post by timvh on Send file from codesys to...... ftp, cloud, etc
CODESYS Forge
talk
(Post)
You can use the (open source) FTP client in Forge. This works on 64 bit systems. See: https://forge.codesys.com/prj/ftp-client/code/HEAD/tree/ As this is open, the idea is that when you use it and make improvements to the source code, that you also commit this in a branch so others can also benefit from it.
Last updated: 2023-11-07
Post by ct-f on SP19 Runtime Zugriff auf lokales Dateisystem
CODESYS Forge
talk
(Post)
Hallo, bin auf das gleiche Problem gestoßen und würde mich sehr über einen Lösungsansatz freuen. Habe ein umfangreiches Projekt, wo mehrere Datenein gelesen und geschrieben werden. Nach Umzug auf SP 19 funktioniert leider nichts mehr. Es gibt keine Fehlermeldungen, die Ursache ist nicht erkennbar. VG Falk
Last updated: 2023-11-22
Post by shabroz-gill on Unable to load boot application on ARMv7 device restart
CODESYS Forge
talk
(Post)
I download an application to an ARMv7 32 bit device. I start the applicatin and it all works fine. But when i restart the device the boot app is not able to start. I have to redownload the application from the development environment to get to run again. I get the following error messages in the log on the restart
Last updated: 2023-11-30
Post by bossjosh21 on RevPi Connect RS485
CODESYS Forge
talk
(Post)
Hi Sir Kevin. May I know how you came up with this solution. Im a bit confused but I tried to put this. [SysCom] Linux.Devicefile=/dev/ttyRS48 (remember, no 5 at the end!) then set com port in codesys to 6. It also works for me but want to know where did you get this. Thank you.
Last updated: 2023-12-06
Post by theo on Error codesys raspberry
CODESYS Forge
talk
(Post)
Bonjour a tous je souhaiterai connecter mon Raspberry a codesys en tant qu'automate cependant lorsque je enterent l'IP dans le encadré et que je fais entrer voici le message qui apparait, je suis français mais en anglais ça signifie : " vous n'êtes actuellement pas autorisé a exécuter cette action sur l'appareil. Please enter the username and password of a user account with the required access rights.
Last updated: 2023-12-08
Post by zatalian on Codesys Control for Raspberry Pi 4.10.0.0 - Raspberry Pi OS > 2023-12-05
CODESYS Forge
talk
(Post)
I tried both 3B en 4. But every time with a lite version. I didn't try the full version of raspberry pi os. Nice to hear you are aware of the problem and trying to fix it. I'll hold on to the image from 2023-10-10 for now.
Last updated: 2023-12-12
Post by user0815 on Web Socket Client SL -Bibliothek Fehler
CODESYS Forge
talk
(Post)
Es sind keine exceptions im Log. Ein warning (no runtime license - running in demo mode(~2 hours) und der eine Fehler. Also bevor ich probiere was zusenden. Nach dem senden kommen zwei Ausnahmen dazu. Das Bild mit den Ausnahmen packe ich mal oben zu den anderen
Last updated: 2023-12-19
Post by preimesbergert on Codesys Control for Raspberry Pi 4.10.0.0 - Raspberry Pi OS > 2023-12-05
CODESYS Forge
talk
(Post)
Same issue here: Raspberry Pi 4 Model B HW 1.5 Regardless of the image (tried 32bit / 64bit version from Raspberry Pi Imager- all the "standard version") and with all tested Codesys Control versions (4.2.0, 4.8.0, 4.10.0) and regardless if single core / multicore / 64 bit variant.
Last updated: 2023-12-21
Post by dhumphries on Execution Order of Function Blocks
CODESYS Forge
talk
(Post)
Function blocks in a SFC are executed left to right, top to bottom, instructions in ST are executed from left to right top to bottom as well. I think you are asking about the execution of POUs although you use the name function block, I believe POUs are executed in the order they are shown under the main task.
Last updated: 2023-12-28
Post by martinlithlith on Raspberry Pi: List of available drivers / libraries
CODESYS Forge
talk
(Post)
Hi! I'm still on the hunt for drivers for example TCA9548 and a list or somewhere where all devices for raspberry is gathered. as this post is quite old I'm hoping/gussing that there is somewhere where work after 2021 is gathered? Or has the raspberry part if the community slowed down on creating device drivers?
Last updated: 2023-12-31
Post by pmasip on Codesys Control for Raspberry Pi 4.10.0.0 - Raspberry Pi OS > 2023-12-05
CODESYS Forge
talk
(Post)
So none of the images from the 64bit archive work with any Codesys Control versions? I have tried the last Pi OS with every Codesys Control version and they don't work. I was wondering if there's any stable combination of versions.
Last updated: 2024-01-04
Post by toby on Codesys Control Raspberry PI 4.10.0 - missing 'Update Raspberry PI' option
CODESYS Forge
talk
(Post)
Hi, Mine is the same, both using v3.5 SP17 patch 6, and v3.5 SP19 patch 5 when using anything newer than v4.8.0 the same issue as above occurs. Checked the 'Customize' window in case it was hidden/disabled in there but couldn't find it. Thanks for the help on this. Toby
Last updated: 2024-01-09
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 nima-khajehali on Data Transferring between 2 PLCs in a same PC
CODESYS Forge
talk
(Post)
Hi Guys, I want to simulate the data exchange between 2 soft PLCs on the same PC. We are trying to simulate the process and we could not see the desired result. What should I do to pass all data between these 2 PLC's correctly ? Please see attached
Last updated: 2024-02-05
Post by nima-khajehali on Touch Issues in Tablet (HMI)
CODESYS Forge
talk
(Post)
Hi Everybody, I download the Visualization on the Dell tablet as HMI. The button of HMI does not work with any touches. However, the buttons is working well with a plugged in mouse. Is there any configuration in Visu. manager or setting that I can modify? (Latitude 7230 Rugged Extreme Tablet) Please help me.
Last updated: 2024-02-08
Post by reinier-geers on SysFileOpen does not work after update to V3.5 SP19 Patch 5
CODESYS Forge
talk
(Post)
At 19.1 the hFile_test should be RTS_IEC_HANDLE and always open-write - close in one cycle udi_handle: RTS_IEC_HANDLE; //handle-number. Is created by SysFileOpen udi_handle:=SysFileOpen(sFileName,Sysfile.AM_WRITE_PLUS, ADR(udi_ErrorCode)); udi_RetValWrite:=SysFileWrite(udi_handle, pRemBuffer, szRemBufSize, ADR(udi_ErrorCode)); //closing file IF udi_RetValWrite < szRemBufSize THEN ui_Error:=cWriteError; END_IF//error writing data udi_ErrorCode_Close:=SysFileClose(udi_handle);
Last updated: 2024-02-19
Post by kleeswi on SysFileOpen does not work after update to V3.5 SP19 Patch 5
CODESYS Forge
talk
(Post)
Finally this solved my issue: https://forge.codesys.com/forge/talk/Engineering/thread/3da9ded84e/, and the official documentation https://faq.codesys.com/display/CDSFAQ/SysFile%2C+Persistence+Manager%2C+Datalog+Manager . Add the media folder to the PlaceholderFilePath. Like this: PlaceholderFilePath.2=/media/pi, $usb$ PlaceholderFilePath.2.View=1 PlaceholderFilePath.2.Volatile=1
Last updated: 2024-02-19
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
.