Post by vformanek on Datasource OPC UA Client error ID:7012
CODESYS Forge
talk
(Post)
Hey, I am facing the same problem. Basically UA Expert and other programs work fine with the login credentials. But codesys can not use them properly. I can see the server login to it manually but when I download the program and run the datasource never runs... Currently I am facing the same Error ID: 7012 and cant get it running properly.
Last updated: 2023-11-21
Post by ivanmaltar on Update Raspberry Pi error
CODESYS Forge
talk
(Post)
Hello, from today, I got an error when I try to open 'Tools/Update Raspberry Pi' and I got this error: There is no value with the specified name associated with this subkey. This feature worked before. I did not do any changes to Codesys installation. Codesys version is SP19.1, and CODESYS Control For Raspberry Pi 4.8.0.0
Last updated: 2023-11-30
Post by chirag on About byte swap and convert into 16 bits
CODESYS Forge
talk
(Post)
Hello, I have %QB0 8 high bits and %QB1 8 low bits . How can i swap bits %QB0 and %QB1 for requirment positions in a 16-bit value ? after that i need %QB0 and %QB1 in to 16bits . For that, i need help. Please see attached pictures for your reference. Thanks in advance.
Last updated: 2023-12-04
Post by mybackingtracks on CODESYS 3.5 SP19 Patch 5 - missing Raspberry PI tab
CODESYS Forge
talk
(Post)
Hello, I have two virtual machines. One with CODESYS 3.5 SP19 Patch 5 installed, and second with CODESYS 3.5 SP19 Patch 1 installed. On Virtual Machine with Patch 5, I cannot to find Raspberry PI Tab witch I have visible on CODESYS with Patch 1. How can I turn it on? Thanks in advance for any feedback.
Last updated: 2023-12-05
Post by felixal on Codesys automatic Data transfer to USB on rasberry pi
CODESYS Forge
talk
(Post)
Hi all, I am currently working on a project where I need to save data automatically on many diffrent USB-Sticks, which are always plugged in the same USB-Port on a Rasberry PI, but I do not get how I can automatically detect the USB devices Folder Name and save a file there on Linux. Thanks!
Last updated: 2024-01-03
Post by aniket-b on How to protect library project?
CODESYS Forge
talk
(Post)
I have library projects which has few function blocks. I have assigned security to each FB. I want to protect them and user can only be able to use it without viewing the code inside. What kind of file I should send to user? Is it compiled library file?
Last updated: 2024-01-22
Post by davidbo on i2c How does CODESYS handle exception or error messages.
CODESYS Forge
talk
(Post)
For Raspberry Pi I have made a python script which regularly read a bulk of data over the ic2 from a device. Sometimes I get an Exception an IOError. I assume similar things can happen in CODESYS. So how does CODESYS handle that? Can I get any info about such an event?
Last updated: 2024-02-07
Post by nmcc on Toggling Visualizations using HMI Physical Buttons
CODESYS Forge
talk
(Post)
Hello, I am extremely new to using codesys. I have an IFM CR1102 HMI with physical buttons on the right side. I need to have these buttons toggle which visualization is active. I currently have ladder logic for when the button is pressed just need the action side for setting the active visualization. Any help is appreciated.
Last updated: 2024-02-12
Post by mondinmr on Direct Pointers in IOMapping for EtherCAT with IoDrvEthercatLib.ETCSlave_Dia
CODESYS Forge
talk
(Post)
Thank you for the response! It's a path I had already considered, however, while it has always worked for me on inputs, it doesn't on outputs, because if I enable the option to update all IOs at every scan, the IO tasks overwrite each other. However, I have found something very interesting which I am posting below.
Last updated: 2024-02-13
Post by reinier-geers on Compile error
CODESYS Forge
talk
(Post)
i miss the font
Last updated: 2024-02-26
Post by alexgooi on Init Array input on a method
CODESYS Forge
talk
(Post)
Dear Forum, I would like to initialize an array input on a method. When I do this, I get the following error: "The type of ARRAY [1..2] OF BOOL cannot have a default value in this context." I attached a picture for more clarity. Is this simply not possible or is there a different way of tackling this problem? Thank you in advance
Last updated: 2024-02-26
Post by namwind on Wago 8210
CODESYS Forge
talk
(Post)
Hi guys, I ran into problem with the controller is not saving the project into the internal memory. I was able to download the project to the controller, but as soon as I try to recycle the power it power back up with no project. I have not ran into this problem before. Please help me out thank you.
Last updated: 2024-03-02
Post by strannik on Estun servo with codesys
CODESYS Forge
talk
(Post)
Hello dear colleagues. I have an ESTUN PRONET servo. I'm trying to control via softmotion over the CANopen bus. There is no Ethercat bus in this servo model. In another project,using Ethercat , I controlled four axes. I have problems with ESTUN PRONET servos. A DSP-402 driver mismatch is likely. I would be very grateful for your help in solving this problem.
Last updated: 2024-03-10
Post by reinier-geers on Swap Output in frame
CODESYS Forge
talk
(Post)
How can i swap an output in a frame ? Ive got a frame of a mixer. use this twise. I want to turn these on and of. i can Get in the frame as dwAdr_Mixer : DWORD; . as Var_IN_OUT. Then Adress as Adr(Output ) But in the frame i cant swap dwAdr_Mixer^ :-= not dwAdr_Mixer^ ;
Last updated: 2024-03-11
Post by stuartjr on Disabling forcing of specific variables
CODESYS Forge
talk
(Post)
I also thought that if I had logic writing a value to this variable, then it would override the force anyway, since I thought that the force request was only applied at the beginning and end of the PLC scan. But this doesn't seem to be the case, the force persists throughout the logic regardless of what I write to the variable with logic
Last updated: 2024-03-15
Post by andrej on Channel timeout CmpChannelMgr
CODESYS Forge
talk
(Post)
Hello, I use Codesys RTE 3.5.16.5. If I connect to the PLC I often get the following message: (see printscreen) 1. Channel timeout CMpChannelMgr. 2. Closing connection CmpChannelMgr. Can you tell me, what the meaning of this is? What does the number 1250030,1220020 resp. c400:0a0a:015a:0301 refer to? I could find any information in the online help. Thanks a lot.
Last updated: 2024-05-08
Post by davidmic on Is it possible to profile builds?
CODESYS Forge
talk
(Post)
Hi I have a large project (which I can't share here), builds take multiple minutes. My computer is reasonably new (i7-10610U, 32gb ram), and I don't think my company will let me upgrade. Is there any way to profile/inspect the build process? My goal is to figure out why builds take so long, then hopefully I can make them faster.
Last updated: 2024-06-05
Post by davidmic on Is it possible to profile builds?
CODESYS Forge
talk
(Post)
Hi I have a large project (which I can't share here), builds take multiple minutes. My computer is reasonably new (i7-10610U, 32gb ram), and I don't think my company will let me upgrade. Is there any way to profile/inspect the build process? My goal is to figure out why builds take so long, then hopefully I can make them faster.
Last updated: 2024-06-05
Post by pharus on Setup problems with PiXtend
CODESYS Forge
talk
(Post)
Hello all, I have an PiXtend V2L complete kit and installed everything like in the manual. Ive installed Codesys V3.5 S20 Codesys Control for Raspberry Pi PiXtend_V2_Professional_for_CODESYS.package But as soon as i Create a Project, i get a lot of error messages, and i cant find the PLC via Ethernet Thanks a lot
Last updated: 2024-06-19
Post by pharus on Setup problems with PiXtend
CODESYS Forge
talk
(Post)
Hello all, I have an PiXtend V2L complete kit and installed everything like in the manual. Ive installed Codesys V3.5 S20 Codesys Control for Raspberry Pi PiXtend_V2_Professional_for_CODESYS.package But as soon as i Create a Project, i get a lot of error messages, and i cant find the PLC via Ethernet Thanks a lot
Last updated: 2024-06-19
Post by pharus on Setup problems with PiXtend
CODESYS Forge
talk
(Post)
Hello all, I have an PiXtend V2L complete kit and installed everything like in the manual. Ive installed Codesys V3.5 S20 Codesys Control for Raspberry Pi PiXtend_V2_Professional_for_CODESYS.package But as soon as i Create a Project, i get a lot of error messages, and i cant find the PLC via Ethernet Thanks a lot
Last updated: 2024-06-19
Post by pharus on Setup problems with PiXtend
CODESYS Forge
talk
(Post)
Hello all, I have an PiXtend V2L complete kit and installed everything like in the manual. Ive installed Codesys V3.5 S20 Codesys Control for Raspberry Pi PiXtend_V2_Professional_for_CODESYS.package But as soon as i Create a Project, i get a lot of error messages, and i cant find the PLC via Ethernet Thanks a lot
Last updated: 2024-06-19
Post by felipemsgarcia on Generic EtherCAT slave
CODESYS Forge
talk
(Post)
Hello all, I still couldn't find the answer. I wanted to know is if there is a generic EtherCAT slave object already in CODESYS that I can use for anything, remote IO, Drives, VFD's and so on, as long as I match PDO's. Is there such an object? Thank you!
Last updated: 2024-06-20
Post by soped on How to generate EtherCat xml from command line
CODESYS Forge
talk
(Post)
Hi Under tools->customize I have added the command "Generate ethercat xml" to my project so that I can export the configuration as an xml file. I can't find a way how to run that command from CLI, is that even possible and if a script is needed I would appreciate an example ?
Last updated: 2024-06-27
Post by soped on How to generate EtherCat xml from command line
CODESYS Forge
talk
(Post)
Hi I'm using codesys 3.5 SP4 Under tools->customize I have added the command "Generate ethercat xml" to my project so that I can export the configuration as an xml file. I can't find a way how to run that command from CLI, is that even possible and if a script is needed I would appreciate an example ?
Last updated: 2024-06-27
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
.