Post by plumper on License problem gateway
CODESYS Forge
talk
(Post)
I have the same problem. Obtained new license without success. Codesys 3.5 SP 16, soft container. I would be grateful for quick help as we have to deliver equipment. Best regards
Last updated: 2024-04-16
Post by nano on Functional block
CODESYS Forge
talk
(Post)
u can use internal variables by passing it thru setter/getter. thats the way to go. for that add it by rightclick on fb and create propertie
Last updated: 2024-04-17
Post by mc-fohn on WAGO 750-352 Ethernet Adapter
CODESYS Forge
talk
(Post)
Hello. I am quite new to Codesys so I don't know where to get the adapter written in the subject as an addable device for my project-tree. Are there any ideas?
Last updated: 2024-04-17
Post by eschwellinger on Cannot install Codesys control Multicore in raspberry pi 4
CODESYS Forge
talk
(Post)
just add in /etc/CODESYSControl_Usr.cfg [CmpRasPi] Architecture=armv7l for the 32Bit MC version... this is what this dialog does (or at least should do)
Last updated: 2024-04-22
Post by valenting on Problem with Licenced Software Metrics
CODESYS Forge
talk
(Post)
Hi, I can't compile my code with SP20, but when I use the "read current metrics from device" with SP20 I get the following, with "not yet supported" for the visualization part Is it supposed to be like this ?
Last updated: 2024-04-24
Post by valenting on Problem with Licenced Software Metrics
CODESYS Forge
talk
(Post)
Update: it seems that the license is detected by CODESYS on my computer but not detected by the runtime on my device. I'm using Codesys control for raspberry pi in the latest version 4.11.0.0 Is there something to do to correct this ?
Last updated: 2024-04-29
Post by yannick on Raspberry PI 5 not working
CODESYS Forge
talk
(Post)
Thanks for your quick help. It's working until I do a reboot of the raspberry PI. After that it goes back to 2024-04-20. How's that possible?
Last updated: 2024-04-29
Post by gseidel on Warning C0564 when compiling CNC project with variables program
CODESYS Forge
talk
(Post)
Hi Fless, thanks for your report! We created an issue in our bug tracker (SM-5109) and will have a look at this issue. Best regards, Georg
Last updated: 2024-04-30
Post by k2saki on CNC / G01 Speed is very slow (or go-stop motion) in Continuous short segment .
CODESYS Forge
talk
(Post)
Hi Georg. Thank you so much ! Your advice is really helpful for me. I appreciate your great help.
Last updated: 2024-05-01
Post by ademarvribeiro on Upload program
CODESYS Forge
talk
(Post)
Hello. in my experience, always click "Yes to all" to prevent error when go online. in this way, do you granted the infomation about hardware are the same, and dont lose " PLC configuration" for example.
Last updated: 2024-05-01
Post by rabaggett on CODESYS control for Raspberry Pi 64 SL errors
CODESYS Forge
talk
(Post)
Update: I found my error in the Scale function, where I used UINT_TO_REAL instead of DWORD_TO_REAL. I fixed it, errors unchanged.
Last updated: 2024-05-02
Post by bryandimino on OPC Da Server Code Meter Issues after Enabling License
CODESYS Forge
talk
(Post)
Additionally the license is loaded on the soft storage for my device but it shows up as invalid. I just activated it today.
Last updated: 2024-05-02
Post by rabaggett on CODESYS control for Raspberry Pi 64 SL errors
CODESYS Forge
talk
(Post)
It is either my installation is bad, or there is a bug. I re-created the project in 3.5 SP19 and there are no errors or warnings. Compiles with no errors or warnings. The original was done in 3.5 SP20. Thoughts?
Last updated: 2024-05-03
Post by radekkoza on How to use GPIO (and IOT2000 IO-Module) with CODESYS Control for IOT2000 SL ?
CODESYS Forge
talk
(Post)
Hi I have this question I can't find anywhere what pins Di3 and Di4 have all the rest work . I have a 10 input iot2000 card
Last updated: 2024-05-05
Post by radekkoza on How to use GPIO (and IOT2000 IO-Module) with CODESYS Control for IOT2000 SL ?
CODESYS Forge
talk
(Post)
Hi I have this question I can't find anywhere what pins Di3 and Di4 have all the rest work . I have a 10 input iot2000 card
Last updated: 2024-05-05
Post by radekkoza on How to use GPIO (and IOT2000 IO-Module) with CODESYS Control for IOT2000 SL ?
CODESYS Forge
talk
(Post)
Hi I have this question I can't find anywhere what pins Di3 and Di4 have all the rest work . I have a 10 input iot2000 card
Last updated: 2024-05-05
Post by mxj262 on FB having single input but initialized with Array
CODESYS Forge
talk
(Post)
I am adding elements of an ARRAY using pointer to access each element inside a FOR loop and the FOR loop does not stop! What is the right way to use pointers in such case?? I have another loop that is not using pointer and it stops but the loop using pointer keep on adding. METHOD FB_Init: BOOL VAR_INPUT bInitRetains: BOOL; // TRUE: the retain variables are initialized (reset warm / reset cold) bInCopyCode: BOOL; // TRUE: the instance will be copied to the copy code afterward (online change) END_VAR VAR_IN_OUT // basically REFERENCE TO window_buffer: ARRAY [*] OF INT; // array of any size END_VAR THIS^.windowPtr := ADR(window_buffer[0]); THIS^.windowSize := UPPER_BOUND(window_buffer, 1) - LOWER_BOUND(window_buffer, 1) + 1; FUNCTION_BLOCK FB500 VAR_INPUT END_VAR VAR_OUTPUT END_VAR VAR windowPtr: POINTER TO INT; windowSize: DINT; currentIndex: UINT; element1:INT; element2:INT; i:INT; j:INT; sum:DINT:=0; END_VAR element1:=windowPtr[0]; // read the first element of the Array dynamic memorry element2:=windowPtr[1]; FOR i:=0 TO (TO_INT(windowSize-1)) BY 1 DO // this loop does not stop Sum:=sum + windowPtr[i]; END_FOR FOR j:=0 TO 5 BY 1 DO // this loop stops j:=j+1; END_FOR https://ibb.co/k3DhkZT
Last updated: 2024-05-06
Post by bschraud on Unerwünschte Username- und Passwortabfrage im Browserfenster
CODESYS Forge
talk
(Post)
Leider habe ich keine Lösung für das Problem gefunden. Glücklicherweise konnte ich die "CODESYS Control for Raspberry Pi MC SL" wieder auf dem 32bit OS zum Laufen bringen.
Last updated: 2024-05-06
Post by mxj262 on FB having single input but initialized with Array
CODESYS Forge
talk
(Post)
Ok yes now the loop has stopped when I set sum to zero before the for loop. Why will it retain the sum value from the last call?
Last updated: 2024-05-06
Post by alex-wall on Network Variables not updating
CODESYS Forge
talk
(Post)
This worked for me. I had four identical PLC's. Three of them worked just fine with 255.255.255.255 as the broadcasting address but the 4th would not update the variables. Changed it to 192.168.x.255 and everything worked.
Last updated: 2024-05-07
Post by fugtwad on Automation Builder V2.5 EtherCAT CM579 Master Scan for devices - >No gateway selected
CODESYS Forge
talk
(Post)
Scan from "IP-Configuration" with PC connected to first EtherCAT slave and "EtherCAT" tick box ticked gives slave info. As does ticking the "Emergency" tickbox.
Last updated: 2024-05-20
Post by paro on General question about library versions
CODESYS Forge
talk
(Post)
I think you can use the newer versions. For a explanation from CODESYS, please read this post: https://www.codesys.com/the-system/versions-modularization.html
Last updated: 2024-05-29
Post by jaspergain on Non-existing identifiers
CODESYS Forge
talk
(Post)
Hi, I'm using SP19 Patch 5, the software is also updated from SP18 Patch 5, I forgot to mention this. I will try a newer patch to see if it fixes the issue. Thanks for your help.
Last updated: 2024-05-30
Post by micik on "CAA" meaning in library names
CODESYS Forge
talk
(Post)
Hello, what CAA stands for? Since it is a collection of different libraries, does it mean it is created by some specific organization? Thanks!
Last updated: 2024-05-31
Post by totorovic on IO-LINK Package - new license model
CODESYS Forge
talk
(Post)
Thank you for your answer. Finally I don't confirm that it used to work before. It seems that the IO-link Package is needed is you want to configure the network, but you don't need it if you use generic IO-link devices.
Last updated: 2024-06-06
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
.