Post by eksheep on Unit Tests and C007: Unknown Type 
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hello, I am attempting to implement unit tests for my POUs. When building and running the unit tests I receive error C007: Unknown Type for all types defined in the library, Standard, 3.5.18.0. Which is included in the POU Library Manager. Any input would be appreciated. TIA.
    
    Last updated: 2025-08-27
    
    
      
        Post by totorovic on Project loses 'Download time' information
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hello, Today I have the problem again. The code in my IDE is the same as the code in the runtime but I cannot Log in to the PLC without download. Juste because the Download information is 'None'. And I don"t know how is managed this information bu Codesys. I'M WAITING SINCE 17 MONTHS, CAN I PLEASE HAVE A ANSWER FROM CODESYS?
    
    Last updated: 2025-09-18
    
    
      
        Post by hfelek on *SOURCEPOSITION* App = [Application] area=0, offset = 0 on default example
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hello, I am trying to run CmpTemplate component provided by Codesys for version 3.5.17. I call MyExternalFunction from the component but I get error as shown below. I see component is loaded successfully on runtime logs. I feel like I am missing something basically.
    
    Last updated: 2024-01-15
    
    
      
        Post by smartcoco on Add visual background FB blocks.
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Can you add a background FB block to the visualization page, and loop through this FB block when the page is in display mode. This FB block requires two more functions, one for executing when the page is displayed and the other for executing when the page is closed.
    
    Last updated: 2024-01-16
    
    
      
        Post by nano on Modbus TCP/IP slave communication errow
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      please tell us the exact error message from diagnostic. U can view it at devicetree in the node-element diagnostic from modbus-configuration. u also can activate the function auto-reconnect in master and increase a little bit the timeout and the repetition to male thw communication a little bit more robust
    
    Last updated: 2024-02-04
    
    
      
        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 nano on Error building Extension SDK Linux code
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hey schnepper, when i look into your c-file, i would say that only the main-function is declared with cext-addendum in your codesys-library-project. all yöur funtions in library has to be the cext-addendum when the external implementation is activ. if i remeber right, methods and other subelements dont need that, but every base-elements
    
    Last updated: 2024-04-02
    
    
      
        Post by k2saki on CNC / G01 Speed is very slow (or go-stop motion) in Continuous short segment .
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hi, gseidel. Thank you so much for your advice. I have created a program to preprocess G-code as follows 1.SMC_ReadNCFile2 2.SMC_Interpreter 3.SMC_CheckVelocities Then I put SMC_OUT_QUEUE in SMC_Interpolator. Where should I insert SMC_SmoothMerge and SMC_SmoothPath? Or are there any example link for it ?
    
    Last updated: 2024-04-30
    
    
      
        Post by timvh on Codesys SVN
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Minimum version is 3.5 SP19 Patch 3. See https://store.codesys.com/en/codesys-git.html But you could ask your PLC vendor if it is possible to program their PLC's which have Runtime version SP16 with development version 3.5 SP19 or higher (should normally be possible, but with Safety PLC's there could be some regulation limitations).
    
    Last updated: 2024-05-01
    
    
      
        Post by mp9876 on Problems with simulation in Window 10
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hi Eschwellinger, sorry for so late reply but I found a solution back then; uninstall completely Codesys V3x64 and re-installed Codesys V3x32 to properly note the password I created and everything went ok. thank you for your suggestion and have a good day/evening Mike
    
    Last updated: 2024-05-30
    
    
      
        Post by davidbo on Toradex and CODESYS and licensing
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      I am evaluating a Toradex product for use with CODESYS. Toradex and CODESYS are partners, but using "CODESYS Virtual Control for Linux ARM64 SL" together with a carrier board "Verdin mallow" However it doesn't seem to be a soft container for licenses. So how do I install a license
    
    Last updated: 2025-10-20
    
    
      
        Post by navan on License Reset Request – CODESYS Control Win V3 Standard L
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Dear CODESYS Support Team, My IPC hardware failed and was replaced. The CODESYS Control Win V3 Standard L license now shows “Activation Invalid” in CodeMeter Control Center. Please reset or reissue the license to my new IPC. Details: Product: CODESYS Control Win V3 Standard L 32 bit Version: 3.5.20.10 Ticket : Xxxx-xxxx-xxxx-KJE4 New Container ID: (130-......837) Thank you,
    
    Last updated: 2025-10-23
    
    
      
        Post by transmin01 on PCAN serial "No CAN driver found"
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hi, I am using a PCAN mini CAN board which has the Windows drivers installed on the target PLC. PCAN board can be seen in device manager. However, I am getting "No CAN driver found" error. I have read the post https://forge.codesys.com/forge/talk/CODESYS-V2/thread/44aae19318/ and have uncommented the CmpPCANBasicDrv driver in the CodesysControl.cfg file in development PC and have copied it to the target PC. Current CodesysControl.cfg file attached. Is there anything else I am missing? Regards
    
    Last updated: 2023-09-14
    
    
      
        Post by damian177 on Codesys and SMS in RPi
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hi, I try use IIoT library to send and receive SMS by Raspbery PI and Codesys. I installed IIoT package and added the SMS library, But something is wrong, when I init communication it doesn't work, When I sniffer my communication (AT commands) beetwen RS232 RaspberryPi and my GSM modem I have only below commands: AT+CMEE=1 OK AT+CPIN? +CPIN: READY Anyone have idea what can be wrong ?
    
    Last updated: 2023-09-28
    
    
      
        Post by andre-luis on Check if Codesys runtime is on 'Running' or 'Stopped' state?
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Just to share, for those who as me are seeking for this and had found no information anywhere in this World: Every time I stop/start the PLC runtime ( turning into 'Stopped' or 'Running' state ) the 'CODESYSControlService' appears at the Taskmanager list, which could suggest a straight correlation. I was expecting a clever solution, but this one solves for while.
    
    Last updated: 2024-07-02
    
    
      
        Post by anuj9326 on OPC-UA Client connection, Linux SL /Raspberry Pi
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      hello edwin i have did the same and i could connect the opc-ua server but i dont see anything in the resources tree, in the application i linked my variables to the symbol configuration but i dont see that in the uaexpert. if i use the same application with a non linux system i can get those variables values and see the complete tree structure. What could be the problem ?
    
    Last updated: 2024-08-21
    
    
      
        Post by anuj9326 on OPC-UA Client connection, Linux SL /Raspberry Pi
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      hello edwin i have did the same and i could connect the opc-ua server but i dont see anything in the resources tree, in the application i linked my variables to the symbol configuration but i dont see that in the uaexpert. if i use the same application with a non linux system i can get those variables values and see the complete tree structure. What could be the problem ?
    
    Last updated: 2024-08-21
    
    
      
        Post by pradeepradha on Update Raspberry Pi option is missing under Tools menu
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hello, the option to update Rasberry Pi from under the Tools menu is missing in my installation. Currently I have the build 3.15.19.50, along with the Pi package 4.11.0.0. But the same problem is observed even with the latest build and Pi packages. I have tried clean install with both the versions but cannot solve the issue. I never faced this on Windows 10, but now the new PCs are with Windows 11 - this is the only difference. How can I solve this problem?
    
    Last updated: 2024-09-02
    
    
      
        Post by dkugler on EThercat Dynamic configuration
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      I can confirm that at my 4ms EtherCAT Master the frames per second is equal at round about 500 with Codesys SP19. The same program at SP16 it was at 380-430 f/sec. for me it will be interesting too, whats the reason is for this high frame count/sec? I havn't had the time to use a paket sniffer and analyse all the frames. I can't help with your other questions, sorry.
    
    Last updated: 2024-09-19
    
    
      
        Post by mini-developer on Profinet Exor connection drop
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hello, I have a Exor HMI with 2 seperatred ETH interface's. It is Configured as PN Master on ETH interface 1 and the IO's are working, as long as the development PC is connected to the ETH 0 interface. When the PC is disconnected, the PN communication drops and a reconnection is started. I installed the newest device description for Codesys and Firmware for the Panel. The IO Gateway is from Weidmueller What could cause the Problem?
    
    Last updated: 2024-10-16
    
    
      
        Post by sebastianrapi on Bibliothek: floatingpointutils
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hallo Zusammen, ich versuche die Bibliothek FloatingPointUtils.compiled-library-v3 zu benutzen. leider kommt dabei folgende Fehlermeldung: Kein Quellcode für dieses Objekt... (siehe Anhang) Wie kann ich diese Bib einbinden? Kann ich diese irgendwo herunterladen? Mein Ziel ist es ein DWORD (float) in ein REAL umzuwandeln. ICh hoffe, dass ich dies mit der Funktion HexStrToReal machen kann. So wie hier: https://gregstoll.com/~gregstoll/floattohex/ convert to float... Oder gibt es bei Codesys einen anderen Weg? Ich verwende v3.5 SP20 Patch 1 + (32Bit) Grüße Sebastian
    
    Last updated: 2024-10-17
    
    
      
        Post by vincentger on using ADS1115
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Any reason the ADS1115 wouldnt work with SP20.1 and Runtime 10.0.0.0 on the Raspberry Pi . Using Bullseye or Buster i run into the same issue: Libary and integration works in general as described above BUT i am seeing "bleeding" between the analog inputs . Specifically consecutive ones: So sometimes the raw from AI1 shows on AI2, AI2 on AI3, .. AI4 on AI1. Even with filtering i cant smoothen that out properly and i feel like something is wrong. Almost like the bus is stumbling over itself, or the request from Codesys to the device.
    
    Last updated: 2024-10-28
    
    
      
        Post by askic on PLC error log help
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hello, I'm using Codesys 3.5.20.0 version and I noticed that even with the most basic standard project create, there are error messages like shown in the acttached picture. The similar questions are already asked here on the CODESYS Forge Talk, but remained unanswered. Exact screenshot is attached, but essentially I would like to know which component in the Codesys has CmpID = 0x00000019 and what this Timeout means?
    
    Last updated: 2025-01-10
    
    
      
        Post by andre-luis on Device diagnosis ( EtherCAT IO card )
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hi @TimvH, In the meantime, I did some experiments and could find a way to achieve similar result. I made some tests, removing the last card from the array, seeing the change on status. PROGRAM P_IOS_STATUSES VAR devStateInput : DEVICE_STATE; devStateOutput : DEVICE_STATE; devStateEncoder : DEVICE_STATE; END_VAR devStateInput := IoConfig_Globals.EL1819.GetDeviceState(); devStateOutput := IoConfig_Globals.EL2809.GetDeviceState(); devStateEncoder := IoConfig_Globals.EL5151.GetDeviceState(); GVL.bInputCardOK := ( devStateInput = DEVICE_STATE.RUNNING ); GVL.bOutputCardOK := ( devStateOutput = DEVICE_STATE.RUNNING ); GVL.bEncoderCardOK := ( devStateEncoder = DEVICE_STATE.RUNNING ); Many thanks for your quick and extensive reply.
    
    Last updated: 2025-02-06
    
    
      
        Post by josul on Web Client HTTPS Communication Issue
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Thank you for the suggestion. There is a certificate created in the quarantine directory relating to the URL used for the webclient FB. This certificate should have been valid as it was created only the week before this problem was encountered. I investigated a separate location using the same https URL and it has 2 certificates in the same quarantine directory, 1 is created almost 200 days ago, the other over 100 days ago. There have been no similar problems encountered with these certs or https at all.
    
    Last updated: 2025-06-09
    
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.