Post by bahrt on Raspberry Pi GPIO mapping
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hi I am about to configure ALL GPIOs on a Raspberry Pi 3 model B V1.2. It seems that I have limited understanding of why not all the IOβs become available with the corresponding mapped IOβs β the 'dwInUse' contains mapping of the inputs from GPIO0 to GPIO27. But 'dwInputs' are only showing GPIO0 to GPIO8 and GPIO15 as available inputs. These mentioned inputs work fine You will be able to watch the limited mapped IO activity here: https://drive.google.com/file/d/1zz4PBNBfRZBF2YkiJ2VQxw6L9MBVji7R/view?usp=sharing Can you please bring your best idea on why GPIO09 to GPIO14 and GPIO16 to GPIO27 state are not active (at a fixed zero state) in the dwInputs register? Thanks in advance. Best regards Andreas Bahrt
    
    Last updated: 2023-11-21
    
    
      
        Post by tmarmy1 on Redundancy for RTE x64 - stuck in standalone
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Sorry if this has been asked before, but I can't seem to locate a thread that leads me answers. I am running two RTE x64 softPLCs, one on the host machine and a second via a VM. I have managed to finally get both to a position that they see each other, but they are in standalone mode instead of an active/passive state for failover (image attached). Every attempt to sync via the button fails. There is probably some step or option that I have missed in my bumbling through this learning process, but for the life of me I can't seem to figure it out. Anyone got any suggestions what I need to look at to get this into an active/passive redundancy state?
    
    Last updated: 2025-02-20
    
    
      
        Post by pernockham on *Exception* Async service: ServiceGroup=17, IP=0x5fa45617, Component=CmpSrv
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      *** The system may be in an inconsistent state, please reboot *** *Exception* Async service: ServiceGroup=17, IP=0x5fa45617, Component=CmpSrv Every time at the instant that I Login to the system a message that the "system may be in an inconsistent state, please reboot" is written in the log. If I logout and repeat login a new entry is set. My system is a "Control for linux SL" running on a debian linux host. Im running it on my desk without any IO attached so message might be caused from that, but I doubt i have seen it before. Rebooting makes no difference. Anyone that have a clue of how I should interpret this error message?
    
    Last updated: 2025-09-26
    
    
      
        Post by gurke258 on  Codesys Safety EtherCAT with Beckhoff
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Okay, the solution was so simple... In my case, you first have to add the EL1918 and then the EL2904... then the connection is made automatically. I probably had something else before and then added the EL1918... then it doesn't catch the connection :/
    
    Last updated: 2023-11-08
    
    
      
        Post by installwhat on exception in system events handler
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      I've noticed that exceptions in system event handlers don't stop the runtime or call the exception handler. I've included a very basic example to demonstrate. It seems likely this is undesired but unavoidable. Is that the case? Is there any advice on the matter? Thanks
    
    Last updated: 2024-07-08
    
    
      
        Post by squale on URL jumps between different visualizations behind a reverse proxy
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hi kevinrn, I have the same question as yours. On my side I try to make nginx work but it doesn't goes well. I think the sub_filter doesn't work int this case.
    
    Last updated: 2024-07-26
    
    
      
        Post by lyngaansns on Python script: Launch Codesys, Execute Script, Exit Codesys
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hello I am looking for the same thing, so i don't have an answer, but in your case you could possibly use the --noUI flag when running codesys, if you don't care about showing what's happening.
    
    Last updated: 2024-09-06
    
    
      
        Post by jari-koivuluoma on Problem trying Net Base Services 3.5.15.0 TCP connection
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Solved. Just in case that someone else is now to this also. It seems that the xDone of the TCP_Connection FB goes true once client disconnects and then you need to reset the FB by setting the xEnable to false.
    
    Last updated: 2024-10-04
    
    
      
        Post by pistola on Case Function - Multiple Conditions, Is it possible?
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Thanks for the information, I ended up just making a long if else statement as each variable had 3 possible options, I figured at least this way it would still work.
    
    Last updated: 2024-11-05
    
    
      
        Post by aikapan on Ethernet/IP Scanner Exception
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Same here. plcload in my case is about 7% while running. Watchdog ENIPScannerIOTask was about 200ms. Max cycle around 6ms, normal cycle time 4ms. Probably just increase the watchdog to 2000ms? or so... (Hardware: A Panel from Weintek)
    
    Last updated: 2024-11-28
    
    
      
        Post by eschwellinger on Newly created texlists wont appear in the selection dropdown
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Guess you need to update Visualization Support Package to latest version (4.5.0.0) in case you are using CODESYS Visualization 4.7.0.0
    
    Last updated: 2024-12-18
    
    
      
        Post by gseidel on Beckhoff EL7037 softmotion
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hi Stefan, we will update our driver to support the EL7037 in our next release of SoftMotion. In case you are interested to test a pre-release, please contact our support and mention this forum post. Best regards, Georg
    
    Last updated: 2024-12-23
    
    
      
        Post by matthewkim on Codesys Gateway not running
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      In my case, I used a different version of gateway. ex)3.5.18.5 sysTray gateway start did not work, so I terminated it and made it work with 3.5.18.3 in "codesys installer" "Settings" and was able to connect to the PLC.
    
    Last updated: 2025-06-12
    
    
      
        Post by matthewkim on Codesys Gateway not running
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      In my case, I used a different version of gateway. ex)3.5.18.5 sysTray gateway start did not work, so I terminated it and made it work with 3.5.18.3 in "codesys installer" "Settings" and was able to connect to the PLC.
    
    Last updated: 2025-06-12
    
    
      
        Post by matthewkim on Codesys Gateway not running
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      In my case, I used a different version of gateway. ex)3.5.18.5 sysTray gateway start did not work, so I terminated it and made it work with 3.5.18.3 in "codesys installer" "Settings" and was able to connect to the PLC.
    
    Last updated: 2025-06-12
    
    
      
        Post by arwie on Use MC_Home without enabling the drive for homing method 35
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      So we pay 380β¬ for SoftMotion licenses for each robot, but have to implement such an obvious use case manually without any hint in the official documentation how to achieve this. This is crazy...
    
    Last updated: 2025-07-31
    
    
      
        Post by jonasz on TargetVisu not accepting touch inputs 
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      So, in my case, the solution is to uncheck the option to support client animation and overlay native elements. Visualisation Manager -> Settings -> General Settings
    
    Last updated: 2025-08-19
    
    
      
        Post by eschwellinger on CODESYS control on RPi starts, shortly runs, then exits
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      in case you are using latest hw revision, there have been added some mac adresses - for the 4.17.0.0 release this might solve it. If not we need to investigate deeper. If it is application related you need to check the plclogger.
    
    Last updated: 2025-09-02
    
    
      
        Post by snhatton on Trace commands via Test Manager
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      One option could be to use a trigger variable to execute your trace and then toggle that variable from a step within a test case.
    
    Last updated: 2023-12-08
    
    
      
        Post by eschwellinger on Codesys Control Raspberry PI 4.10.0 - missing 'Update Raspberry PI' option
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      check if the RaspberryPI Package is installed (CODESYS Installer) If this is the case dd the menu command by 'tools->customize'again
    
    Last updated: 2024-01-09
    
    
      
        Post by nano on Library for arrays
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      habe a look at __new and __delete operators. have in mind that in this case u have a look at memory see https://help.codesys.com/api-content/2/codesys/3.5.15.0/en/_cds_operator_new/
    
    Last updated: 2024-01-14
    
    
      
        Post by paro on Multiple WebVisu
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hi, they should be independent when "Use CurrentVisu variable" is unchecked in the visu manager.. maybe you can give us more infos when its not the case.
    
    Last updated: 2024-01-30
    
    
      
        Post by ruben on DataSource not working
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      I had the same error. It took me a LONG way to figure it out, but in my case the problem was that I used LDATE_AND_TIME. It seems to be not supported, at least not in the Codesys version I used (3.5.16)
    
    Last updated: 2024-02-01
    
    
      
        Post by macros8 on Visualization using methods and cyclic ST-calls
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Have you found the way how to call any function in case the visu is opened? Like on event when the screen is opened to initialize some variables etc.? I canΒ΄t... :/
    
    Last updated: 2024-03-01
    
    
      
        Post by ph0010421 on Sending Sequential Modbus TCP Packets
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hello You'll need to write a proper sequence to send, then wait for confirmation, and then move on to the next step. Use the CASE statement in ST. It's perfect for creating a sequence.
    
    Last updated: 2024-03-08
    
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.