Post by andrax on CodeSys Raspberry pi I2C driver not found
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      I took a look at your project. First of all, a Raspbery Pi4 is installed. You must use the GPIOs_A_B(GPIOs B+/Pi2). The error ULINT can't be set to IDINT.... with your project as well. If I change your project to ‘CODESYS_Control_for_Raspberry_Pi_SL’ the error is gone.
    
    Last updated: 2024-11-09
    
    
      
        Post by gseidel on Strange problem with the ‘MC_SetPosition’ function
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hi Gustavo, can you reduce the problem to a project that reproduces the issue without the real servo drives? (You could set the servo drives to virtual and strip away as much as possible from the application.) If you can attach a project, we will have a look. Best regards, Georg
    
    Last updated: 2025-01-10
    
    
      
        Post by winki on Warning attribut no_assign
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hello, I have two warning on my code, and I would like to understand why. C0540: Attribut 'no_assign' missing for the 'FB_MOdbusReadHolding'. The type of the variable clientTcp is set to 'no_assign'. In this FB, I have done: clientTcp : ModbusFB.ClientTCP; clientRequest : ModbusFB.ClientRequestReadHoldingRegisters; The error comes from clientTcp : ModbusFB.ClientTCP; I am using ModbusFB 4.4.0.0. Thx a lot
    
    Last updated: 2025-01-10
    
    
      
        Post by winki on Warning attribut no_assign
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hello, I have two warning on my code, and I would like to understand why. C0540: Attribut 'no_assign' missing for the 'FB_MOdbusReadHolding'. The type of the variable clientTcp is set to 'no_assign'. In this FB, I have done: clientTcp : ModbusFB.ClientTCP; clientRequest : ModbusFB.ClientRequestReadHoldingRegisters; The error comes from clientTcp : ModbusFB.ClientTCP; I am using ModbusFB 4.4.0.0. Thx a lot
    
    Last updated: 2025-01-10
    
    
      
        Post by pernockham on Preferred way of managing Ip-adress/es for linux (debian) host?
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      I have a debian linux host running Control SL. I tried to manage IP-addresses through codesys/Control SL but that was not successful. What works though is manually editing the network-interfaces config file. /etc/network/interfaces. Is there a way to set this up so that IP-addresses can be managed from within codesys instead? Thanks! / Per
    
    Last updated: 2025-01-22
    
    
      
        Post by jeffersonhui on SP20 Visualization Element Dynamic Colors
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      I am using Codesys SP20 patch 5 and in a visualization element, the "Color variables" section does not have a section to set up dynamic color values linked to variables. In a previous version (SP18), I get the option to add variables for Normal & Alarm state colors. Does anyone know how to get the dynamic color variables to work?
    
    Last updated: 2025-02-19
    
    
      
        Post by hassaank on CODESYS V3+ WAGO PFC200+ MODBUS RTU
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hi everyone, I’m new to CODESYS and Wago devices, and I’m trying to set up Modbus RTU communication. I have a Wago PFC200 (8110) and a 750-653 RS485 module, and I want to read data from an energy meter using Modbus RTU. Thanks in advance for your help!
    
    Last updated: 2025-03-17
    
    
      
        Post by manuknecht on FileDialog - OnDialogClosed not called anymore
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      I had similar issues with the OnDialogClosed not being called. I realized that this behaviour is resolved, when the according visualization object on which the input configuration is set is moved to the foreground. Somehow, the object has to be one of the lowest elements in the Element List (i.e. in the foreground) for it to work.
    
    Last updated: 2025-04-25
    
    
      
        Post by atone on Set DeviceID of an IO-Link Sensor at Runtime
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Answering to myself: is not possible according to the IFM support, this possibility has not been taken into account, although the interfaces and FBs in Codesys would apparently support it. So I ended up having to deactivate the sensor validation and the backup & restore functionality in the master and implement it in the PLC myself.
    
    Last updated: 2025-04-28
    
    
      
        Post by bjohnson on Failed to instantiate the frame window error
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      IT updated a group policy that caused this issue. We resolved by going to Local Group Policy Editor > Local Computer Policy > Computer Configuration > Windows Settings> Security Settings > Local Policies > Security Options. Set "System Cryptography: Use FIPS compliant algorithms for encryption, hashing, and signing" to DISABLED
    
    Last updated: 2025-05-23
    
    
      
        Post by bjohnson on CODESYS and Win10 - "the version profile is not valid" error
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      We just had this problem today when our IT updated a group policy. You need to go to Local Group Policy Editor > Local Computer Policy > Computer Configuration > Windows Settings> Security Settings > Local Policies > Security Options. Set "System Cryptography: Use FIPS compliant algorithms for encryption, hashing, and signing" to DISABLED
    
    Last updated: 2025-05-23
    
    
      
        Post by bjohnson on CODESYS and Win10 - "the version profile is not valid" error
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      We just had this problem today when our IT updated a group policy. You need to to got Local Group Policy Editor > Local Computer Policy > Computer Configuration > Windows Settings> Security Settings > Local Policies > Security Options. Set "System Cryptography: Use FIPS compliant algorithms for encryption, hashing, and signing" to DISABLED
    
    Last updated: 2025-05-23
    
    
      
        Post by davemansell on control loop library IIR filter
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hi there i am experimenting with the IIR filter from the control loop library but have been unable to get it to function no matter what inputs I set I get errorID of wrong_configuration (3). Does someone have a working example that they can share. Best regards Dave
    
    Last updated: 2025-07-29
    
    
      
        Post by gseidel on Dynamic target position tracking
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hi kporter, a more direct way would be to use SMC_FollowPosition to write the set positions directly to the servo drive. This FB has reacts on changes of the fSetPosition on each call, without a need for a rising edge on Execute. See https://content.helpme-codesys.com/en/libs/SM3_Basic/Current/SM3_Basic/POUs/Movement/Direct/SMC_FollowPosition.html. Best regards, Georg
    
    Last updated: 2025-09-08
    
    
      
        Post by jy77812 on Visualization XY Charter Question
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hello. I'm using Visualization XY Chart, and when I mark a circle through XY position data, a blue line is displayed in the circle with a red circle. At this time, can't I set the blue line not to be seen in the circle? Currently, whenever XY position is drawn, the line follows.
    
    Last updated: 2025-10-02
    
    
      
        Post by lgeertsema on Checkbox font color in visualization style
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hello, I'm having a similar issue with buttons. I want to be able to set the default color and transparency of a button. I've tried a lot of different iterations like KNewman, but to no avail. Has there been some documentation released since KNewman posted this, or is the style editor still as undocumented as ever?
    
    Last updated: 2024-01-11
    
    
      
        Post by eschwellinger on usb2can in Codeysy 3.5 Can Gateway
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Basis für all diese Linux Produkte mit CODESYS ist Socket CAN- sprich wenn dein Adapter in Linux als Socket CAN verfügbar ist sollte es funktionieren. also zunächste mal sowas ausprobieren: sudo ip link set can0 up type can bitrate 500000 sudo ip -s -d link show can0 cansend can0 00065132#21.04.00.00.3E.80.50.00
    
    Last updated: 2024-01-17
    
    
      
        Post by dhumphries on WAGO PLC 200 750-8216 Ethernet connection to Codesys 3.5
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      make sure the PLC and the programming PC have IP addresses that are on the same subnet, you'll have to know the default address of the PLC or you may need to connect to it with a special cable and use a software tool to set the IP address.
    
    Last updated: 2024-02-06
    
    
      
        Post by durstloescher on Library Documentation DocScripting
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hi, I am currently creating a documentation for our library with DocScripting. In the process, I noticed that Visu images are created before the merge and transform, i.e. "screenshots" of the different Visus. Unfortunately, these are not used in the later process (Merge/Transform). Is there a way to set it up so that they are found in the html file?
    
    Last updated: 2024-02-19
    
    
      
        Post by fless on How to change bHiresMode
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      you need to set the increments to 10 (the screenshot shows 10000 hex = 65536). all the turn settings to 1. and the application units to 366. But usually you use the resolver resolution per motor turn. Insert the gear ratios (1:1 for no gear) and the last field you put the circumference of your drive wheel.
    
    Last updated: 2024-03-12
    
    
      
        Post by stuartjr on Disabling forcing of specific variables
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      So I think I've found a way to do what I want, but its a not as simple as I thought it would be. Essentially I've got to put my "logic" that decides what the GVL variable should be at the start of every task (rung 1). Then regardless of what the force is the variable will be set to what the logic decides.
    
    Last updated: 2024-03-15
    
    
      
        Post by kimnegw on Codesys offline license batch
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hey guys, I'm currently developing a Codesys application for an offline Linux device. I can easily set up the license for ONE device using my Windows PC, but what happens if I need to produce a thousand devices? Is there any method to automate license insertion? I have already generated a dpkg installer for deploying the Linux control application to multiple targets. Thanks,
    
    Last updated: 2024-04-04
    
    
      
        Post by installwhat on Panasonic servo Softmotion project
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      There are examples installed when you install codesys. they are located in C:\Program Files\CODESYS 3.5.19.50\CODESYS\CODESYS SoftMotion\Examples The examples won't be specific to your drive, though you haven't specified the exact drive. After you add the device to the ethercat master you can click on it and set pdo etc
    
    Last updated: 2024-06-13
    
    
      
        Post by vitorp on Visualization Toolbox in German
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hello, I am new to Codesys. I installed it on my computer and set the language to English. Most of the localized text appears in the correct language, but the Visualization Toolbox and the element properties are in German. I haven't found a way to change them to English. Can someone help me with this?
    
    Last updated: 2024-06-17
    
    
      
        Post by trusty-squire on Confused by dwIpoTime input for SMC_Interpolator
    
    
       CODESYS Forge
    
    
      talk
    
    (Post)
    
    
      Hi, Learning Codesys CNC, and I am confused by the dwIpoTime parameter. I have a basic demo application, using SMC_Interpolator feeding into SMC_TRAFO_Gantry2Tool2, which then sets the position of the x/y SM_Drive_Virtual axis. I also have a C axis which revolves the tool, which is controlled using a simple tangential angle calculation SMC_CalcDirectionFromVector. The GCode I'm using has feed/accel set at 500. The axis configuration limits are well above that (2000). What's strange is that, when I run the simulation, the feed speed changes drastically when I update the variable dwIpoTime. The larger the number, the faster it moves. What's going on here? The documentation only says "This variable has to be set for each call. It represents the cycle time in μsec." Why does it change the feed speed I'm seeing the in simulation? What is a good number to use? The example I was looking at set it at 5000. Screenshot attached.
    
    Last updated: 2024-07-18
    
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.