All pages
Powered by GitBook
1 of 24

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Ignition Edge Quickstart

Get started with Inductive Automation's Ignition Edge, including first-time setup and verifying your installed version.

Click here for the from Inductive Automation.

For more information on Ignition, and how to make it work for you, visit .

First time setup

Frequently Asked Questions

What version of Ignition Edge do I have installed?

From the Gateway Webpage. Navigate to Config > Modules, you will see a list of all modules. The version will be displayed in its own field. Refer to the Ignition Manual Page “” for more information

quick start guide
https://www.inductiveuniversity.com/
Installing or Upgrading a Module

TM120

For information on the TM120 ThinManager Ready platform, please visit the ML100G-53 page.

ML100G-40 / ML100G-41 / ML100G-53

TM260

For information on the TM260 ThinManager Ready platform, please visit the HX300 series page.

HX310 / HX330

TM410

For information on the TM410 ThinManager Ready platform, please visit the CV-P1101 / CS-P1101 page.

CV-P1101 / CS-P1101

TM200

For information on the TM200 ThinManager Ready platform, please visit the ML210 series page.

ML210 Series

Installing the CODESYS Control RTE SL real-time runtime on Windows 11

This guide covers installing the CODESYS Control Real Time Ethernet runtime on Windows 11, including the BIOS and Windows settings it requires.

This guide assumes the CODESYS 3 Development System and Control Gateway are already installed.

1. Configure the BIOS

Restart the system and hold Del to enter BIOS setup. Change the following settings:

Setting/Location
Value

X2APIC Enable Advanced > CPU Configuration

Disabled

Intel VMX Advanced > CPU Configuration

Disabled

Save and exit.

  1. Download CODESYS Control RTE SL from the .

  2. Unzip the downloaded folder and run the 64-bit installer as administrator.

  3. When asked to change boot options, select Yes.

  4. Dedicate at least one core to the RTE.

  • Task Manager > Performance > CPU: the logical processor count should equal the total cores minus the cores reserved for the RTE.

  • Services: run the following in an administrator command prompt. A real-time runtime service should be listed in addition to ServiceControlRTE:

  1. Open Device Manager.

  2. Right-click each network port you want to use for real-time Ethernet and select Update driver > Browse my computer for drivers.

  3. Browse to C:\Program Files\CODESYS\CODESYS Control RTE3 and select that folder as a directory to search for drivers.

Symptom
Likely cause
When asked to open the firewall, select Yes.
  • When asked to create a hardware profile, select Yes.

  • Restart.

  • Active Efficient Cores Advanced > CPU Configuration

    0

    VT-d Advanced > System Agent

    Disabled

    Intel Speed Shift Advanced > Power & Performance

    Disabled

    Intel SpeedStep Advanced > Power & Performance > CPU - Power Management Control

    Disabled

    Turbo Mode Advanced > Power & Performance > CPU - Power Management Control

    Disabled

    C-States Advanced > Power & Performance > CPU - Power Management Control

    Disabled

      sc query state= all | findstr /i "rte"

    System freezes, then crashes with stop code 0x1CA (SYNTHETIC_WATCHDOG_TIMEOUT)

    The Windows hypervisor is still running. Confirm Intel VMX is disabled in the BIOS and check systeminfo (step 2).

    "PLC's answer on start request timed out" or "No connection to PLC"

    The BIOS was changed after the RTE was installed, or the installation is incomplete. Uninstall the RTE, restart, and reinstall following this guide.

    Runtime starts but has high jitter

    Check that C-States, SpeedStep, Speed Shift, and Turbo Mode are all disabled.

    X2APIC must be disabled before the BIOS allows VT-d to be disabled.

    If BitLocker or device encryption is enabled, back up the recovery key before changing BIOS settings. Windows may ask for it on the next boot.

    2. Install the RTE Module

    Complete the BIOS changes before installing the RTE. The installer configures the core reservation based on the cores Windows can see at install time. Changing core settings in the BIOS afterward causes the runtime to fail to start.

    Verify the installation

    4. Assign network ports to the RTE

    Test that the runtime starts from the system tray before assigning network ports. If it fails at that point, the problem is in the BIOS or installation steps, not the network configuration.

    Troubleshooting

    To install the Real Time Kernel on Ubuntu, see step 1 of installing CODESYS on Ubuntu found .

    CODESYS Store
    here

    Partner Solutions

    TM800

    For information on the TM800 ThinManager Ready platform, please visit the MC510-40 page.

    MC510-40

    ThinManager

    An overview of ThinManager's content delivery system and thin clients, including OnLogic's TM-Ready systems, update considerations, and compatibility.

    ThinManager Introduction

    In the rapidly evolving landscape of edge computing, efficient device management and orchestration are paramount. ThinManager is a robust content delivery system designed to streamline the deployment and management of edge applications, addressing challenges of scalability, heterogeneity, and rapid deployment inherent in these environments.

    It functions by distinguishing between Sources (content generators like Remote Desktop Servers, Virtual Servers, Workstations, or IP Cameras) and Content (the actual data delivered to users). ThinManager is capable of delivering a wide variety of content from these diverse sources.

    Crucially, ThinManager doesn't just deliver content; it allows precise access control per device, user, and location, enabling effective management of content access. Endpoint devices can range from standard Android, iOS, or Windows devices running a ThinManager application to specialized thin clients.

    What are Thin Clients?

    Put simply, Thin clients are terminals without hard drives that connect to a server, offering several advantages over typical clients:

    • No Installation or Configuration: They don't require software installation, configuration, or updating, as all connected clients use the same application installation from the server.

    • Lower Cost & Maintenance: Reduced storage costs and simpler maintenance, as managing a few servers is easier than hundreds of distributed systems. Operating systems and storage drives are common failure points.

    • Automatic Failover: Thin clients can connect to multiple terminal servers. If one server fails, the client automatically switches to another designated server. They can even run two sessions simultaneously, instantly switching upon failure.

    To learn more about ThinManager and obtain training on the details, you can visit

    The TM line from OnLogic comes pre-configured with a custom BIOS that boots directly to the Rockwell Automation’s ThinManager boot ROM. OnLogic is responsible for any hardware issues, while the Rockwell team can help with anything pertaining to the software, configuration, or setup.

    For help with software or configuration issues,


    With the release of ThinManager Version 11, Rockwell Automation’s ThinManager software no longer boots from Legacy Boot Mode in the system BIOS. ThinManager now boots using UEFI Mode. In addition, Intel does not support Legacy Boot Mode on newer generation processors.

    As a result, only the following OnLogic products support versions of ThinManager older than Version 11:

    It is highly recommended by both Rockwell Automation and OnLogic that customers use the most up to date stable release of ThinManager.

    Software updates frequently bring valuable new features and enhanced security to users, but they can also bring headaches to IT and OT teams who need to implement the changes. As a result, organizations may remain on a legacy version of a given software package for extended periods. However, inevitably, there ultimately comes a time when it no longer makes sense for organizations to support legacy versions of software.

    ThinManager Software Updates

    With the release of ThinManager version 11 in 2018, ThinManager switched to utilizing instead of a Preboot eXecution Environment (PXE). Users on legacy versions of ThinManager require hardware that supports PXE. However, only systems with Intel 4th generation Intel Atom processors (Bay Trail) and older support that feature and thus support ThinManager v10 or older.

    These older platforms are reaching the end of their lifecycle and, as such, we are discontinuing them. We are here to help you understand what that means for your deployments and the benefits of migrating to a newer version of ThinManager.

    ThinManager Update FAQ

    1. What are the benefits of upgrading to newer versions of ThinManager?

      1. Along with new features such as event-based delivery, REST API configuration, and container virtualization, the most important feature of the latest versions of ThinManager is DCOM Hardening patches to help protect your system against intrusions.

      2. The biggest issue with legacy software is that without security patches, your system is left vulnerable to known exploits. ThinManagers version 10 and older no longer receive security patches making migration a priority.

      3. ThinManager offers some additional resources:

    As always, our team is available to answer any questions that you might have about our ThinManager-ready thin clients.

    The following sections give an overview of common hardware troubleshooting steps for each TM system.

  • To learn more about the life cycle status of ThinManager versions and what it means to be supported, see the

  • To learn more about specific features with each released version of ThinManager, see the ThinManager

  • To learn about new features of 12.1 and 13.0, see the

  • What should I upgrade first, my hardware or my ThinManager software?

    1. You will need to upgrade your ThinManger Server first. OnLogic ThinManager Ready Clients that use legacy PXE boot are compatible with the latest versions of ThinManager. You will then have the ability to use newer that use UEFI boot.

  • I have OnLogic hardware that I used with earlier versions of ThinManager. Will it still work with newer versions of ThinManager?

    1. If you are using a system from OnLogic such as the TM700 with a legacy ThinManager version between v6-v10, it will still work with the newest versions of ThinManager.

    2. If you are using a firmware version older than v6, you should for support.

  • I am unable to upgrade my ThinManager software. When is OnLogic discontinuing systems that support my legacy software?

    1. The TM700 will remain available until February 2024. The last opportunity to purchase other legacy ThinManager Ready Clients including the TM200, TM300, and TM400, is June 28, 2023.

  • TM200

    TM300

    TM400

    TM700

    ThinManager Ready Series (TM Series)

    Note on ThinManager Version 11

    Product Line Update (May, 2023)

    Hardware Troubleshooting

    https://thinmanager.com/training/
    click here for Rockwell support.
    UEFI boot mode

    TM400

    For information on the TM400 ThinManager Ready platform, please visit the P1001 page.

    CV-P1001 / CS-P1001
    Version Life Cycle Policy
    History page
    “New Features” product profile page
    OnLogic ThinManager Ready Clients
    contact ThinManager

    ZEDEDA

    OnLogic powered by ZEDEDA simplifies and accelerates edge computing. Integrating industrial-grade hardware with cloud-native edge orchestration software helps you overcome complexities of deployment

    Systems shipping after 20 June 2026 are pre-imaged with EVE 16.0.1

    Systems shipping after 28 Feb 2026 are pre-imaged with EVE 16.0.0

    Systems shipping prior to 28 Feb 2026 are pre-imaged with EVE 14.5.1

    To view all hardware that is certified and powered by ZEDEDA, simplifying deployment, please see below:

    For help with ZEDEDA and EVE-OS, please see below

    New system? For help getting started with ZEDEDA and EVE-OS, please see below

    Want to learn more about Orchestration and Cloud Native App deployment at the edge? View the ZEDEDA Edge Academy Learning Path Below:

    TM720

    For information on the TM720 ThinManager Ready platform, please see the CL260 page.

    CL260

    EVE Revision Updates

    OnLogic Powered by ZEDEDA Hardware

    Help Center

    Getting Started

    Learn More with Edge Academy

    TM110 / TM710

    For information on the TM110 ThinManager Ready platform, please see the CL200 page.

    For information on the TM710 ThinManager Ready platform, please visit the CL250 page.

    CL200 Series
    CL250 / CL210 / CL200

    TM100

    For information on the TM100 ThinManager Ready platform, please visit the ML100G-10 page.

    ML100G-10

    TM130

    For information on the TM130 ThinManager Ready platform, please visit the HX401 page.

    HX401

    CODESYS

    CODESYS is a hardware-independent integrated development environment and runtime system used for programming industrial automation and control applications.

    CODESYS supports programming languages such as Structured Text (ST), Ladder Logic (LD), Function Block Diagram (FBD), Sequential Function Chart (SFC), and Continuous Function Chart (CFC) to build out and simulate SoftPLC applications prior to their deployment in the field. This can be done on the development system via the Simulation feature or via a SoftPLC run on the dev system itself to physically test the expected functionality across a vast list of physical and digital interfaces.

    CODESYS Libraries

    To make programming as efficient as possible, CODESYS relies heavily on different libraries. A library is simply a pre-packaged collection of code that performs specific tasks. Instead of writing complex, low-level instructions to make a network port or a USB connection work, a programmer just imports the relevant library into their project. These libraries act as reliable building blocks, allowing developers to quickly snap together complex features without needing to be an expert in the microscopic details of how the hardware operates.

    Validated Hardware Interfaces

    The following interfaces have been fully tested and validated for operation on the HX/K52x platform via CODESYS. Below are the functional descriptions of each interface alongside their associated example code blocks.

    1. Digital Input / Output (DIO)

    The DIO interface handles basic binary states (high/low, on/off) and is the foundation for reading sensor states and actuating relays or indicators. CODESYS maps these physical pins directly to Boolean variables in the I/O mapping configuration.

    PROGRAM PLC_PRG
    VAR
     //Open and execute the below command in a blind window hidden from the user to poll DI 7
     //Create a Text Doc containing that output
         sCommand : STRING(255) := 'cmd.exe /c "D:\CODESYS\mcu.exe -p COM7 get di 7 > D:\CODESYS\output.txt 2>&1"';
        
        //Execution and I/O Variables
        sOutput      : STRING(255);
        udiResult    : UDINT;
        diOSResult   : DINT;
    	  hFiles       : SysFile.RTS_IEC_HANDLE;
    	  udiBytesRead : __XWORD;
         pStringEnd      : POINTER TO BYTE; 
         
        // Logic variables
        bPhysicalButton : BOOL;
        bVirtualLamp    : BOOL; 
    
        // Timer to prevent freezing the PLC task
        fbPollTimer : TON;
        
    
    END_VAR
    
    / 1. Run the timer (Trigger every 300ms)
    fbPollTimer(IN := NOT fbPollTimer.Q, PT := T#300MS);
    
    // 2. Run command when the timer completes
    IF fbPollTimer.Q THEN
        
    // capture output into sOutput 
       udiResult := SysProcess.SysProcessExecuteCommand2(
            pszCommand := 'cmd.exe /c "D:\CODESYS\mcu.exe -p COM7 get di 7 > D:\CODESYS\output.txt 2>&1"', 
            pszStdOut := sOutput, 
            udiStdOutLen := SIZEOF(sOutput), 
            pResult := ADR(diOSResult)
        );
    // Open the  text file
        hFiles := SysFile.SysFileOpen('D:\CODESYS\output.txt', SysFile.ACCESS_MODE.AM_READ, ADR(diOSResult));
    
    // Verify file opened successfully
       IF hFiles <> RTS_INVALID_HANDLE THEN
       
    // Read the file into the string buffer
            udiBytesRead := SysFile.SysFileRead(hFiles, ADR(sOutput), SIZEOF(sOutput) - 1, ADR(diOSResult));
            SysFile.SysFileClose(hFiles);
            
    // Ensure we actually read the file
            IF udiBytesRead > 0 THEN
                
    // Manually insert a null-terminator (0) at the end of the read bytes.
    // This prevents CODESYS from reading garbage memory past the end of the text.
                pStringEnd := ADR(sOutput) + udiBytesRead;
                pStringEnd^ := 0;
    			
    IF FIND(sOutput, 'false') > 0 THEN
        bPhysicalButton := TRUE;
    	// >>> REPLACED TEXT FILE CREATION WITH SETTING DO 5 HIGH <<<
                    udiResult := SysProcess.SysProcessExecuteCommand2(
                        pszCommand := 'cmd.exe /c "D:\CODESYS\mcu.exe -p COM7 set do 5 true"', 
                        pszStdOut := sOutput, 
                        udiStdOutLen := SIZEOF(sOutput), 
                        pResult := ADR(diOSResult)
    					);
    				 udiResult := SysProcess.SysProcessExecuteCommand2(
                        pszCommand := 'cmd.exe /c "D:\CODESYS\mcu.exe -p COM7 set do 3 false"', 
                        pszStdOut := sOutput, 
                        udiStdOutLen := SIZEOF(sOutput), 
                        pResult := ADR(diOSResult)
    					);
    	
    ELSIF FIND(sOutput, 'true') > 0 THEN
        bPhysicalButton := FALSE;
    	udiResult := SysProcess.SysProcessExecuteCommand2(
                        pszCommand := 'cmd.exe /c "D:\CODESYS\mcu.exe -p COM7 set do 5 false"', 
                        pszStdOut := sOutput, 
                        udiStdOutLen := SIZEOF(sOutput), 
                        pResult := ADR(diOSResult)
    					);
    					//Set DO 3 HI
    				 udiResult := SysProcess.SysProcessExecuteCommand2(
                        pszCommand := 'cmd.exe /c "D:\CODESYS\mcu.exe -p COM7 set do 3 true"', 
                        pszStdOut := sOutput, 
                        udiStdOutLen := SIZEOF(sOutput), 
                        pResult := ADR(diOSResult)
    					);
             END_IF
             // Clear data buffer after parsing
             sOutput := ''; 
            END_IF
        END_IF;
    END_IF;
    
    // 4. Drive the visualization lamp 
    //Used before physical LEDs were connected to visially signal code completion
    bVirtualLamp := bPhysicalButton;
    

    2. Serial Communication (COM)

    The COM port handles serial protocols (such as RS-232, RS-485, or Modbus RTU). This interface is critical for integrating legacy devices, barcode scanners, or specialized serial sensors. Implementation in CODESYS typically utilizes standard serial communication libraries to open the port, configure the baud rate, and manage byte streams.

    VAR
        // Trigger to start the process
        bSendHello : BOOL := FALSE; 
        
        // State Machine
        iState : INT := 0; 
        
        // Data to send (Adding $R$N sends a Carriage Return and Line Feed)
        sMessage : STRING := 'Hello from CODESYS$R$N'; 
        
        // CAA SerialCom Function Blocks
        fbComOpen  : COM.Open;
        fbComWrite : COM.Write;
        fbComClose : COM.Close;
        
        // PORT CONFIGURATION
        // CAA SerialCom uses an array of parameters to configure the port
        hPort      : CAA.HANDLE;
        bError     : BOOL;
        aComParams : ARRAY[1..6] OF COM.PARAMETER := [
            (udiParameterId := COM.CAA_Parameter_Constants.udiPort, udiValue := 1),
            (udiParameterId := COM.CAA_Parameter_Constants.udiBaudrate, udiValue := 9600),
            (udiParameterId := COM.CAA_Parameter_Constants.udiParity, udiValue := COM.PARITY.NONE),
            (udiParameterId := COM.CAA_Parameter_Constants.udiStopBits, udiValue := COM.STOPBIT.ONESTOPBIT),
            (udiParameterId := COM.CAA_Parameter_Constants.udiByteSize, udiValue := 8),
            (udiParameterId := COM.CAA_Parameter_Constants.udiTimeout, udiValue := 0)
        ];
    END_VAR
    CASE iState OF
        
        // STATE 0: Wait for trigger
    
        0:
            IF bSendHello THEN
                bSendHello := FALSE; // Reset trigger
                bError := FALSE;
                iState := 10;        // Move to OPEN state
            END_IF
            
        // STATE 10: Open the COM Port
        10:
            fbComOpen(
                xExecute := TRUE, 
                usiCom := iPort, 
                udiBaudrate := 9600,       // Adjust to match receiver
                byParity := COM.PARITY.NONE, 
                udiTimeout := 0,           // 0 = no timeout
                byStopBits := COM.STOPBIT.ONESTOPBIT, 
                udiByteSize := 8
            );
            
            IF fbComOpen.xDone THEN
                hPort := fbComOpen.hCom;   // Save the port handle
                fbComOpen(xExecute := FALSE); 
                iState := 20;              // Move to WRITE state
            ELSIF fbComOpen.xError THEN
                bError := TRUE;
                fbComOpen(xExecute := FALSE);
                iState := 0;               // Abort on error
            END_IF
    
       
        // STATE 20: Write the String to the COM Port
        20:
            fbComWrite(
                xExecute := TRUE, 
                hCom := hPort, 
                pBuffer := ADR(sMessage),  // Pointer to the string
                szSize := INT_TO_UDINT(LEN(sMessage)) // Length of the string
            );
            
            IF fbComWrite.xDone THEN
                fbComWrite(xExecute := FALSE);
                iState := 30;              // Move to CLOSE state
            ELSIF fbComWrite.xError THEN
                bError := TRUE;
                fbComWrite(xExecute := FALSE);
                iState := 30;              // Try to close even on write error
            END_IF
            
        
        // STATE 30: Close the COM Port
        30:
            fbComClose(
                xExecute := TRUE, 
                hCom := hPort
            );
            
            IF fbComClose.xDone THEN
                fbComClose(xExecute := FALSE);
                iState := 0;               // Return to idle
            ELSIF fbComClose.xError THEN
                bError := TRUE;
                fbComClose(xExecute := FALSE);
                iState := 0;
            END_IF
            
    END_CASE

    3. USB-B and USB-C

    The USB-B interface is typically configured to allow the HX/K52x to act as a peripheral device or handle specific point-to-point data exchanges. Below is an example of code used to have a SoftPLC create a txt file on an external USB. This could be used in the field to have a SoftPLC automatically create an error log or other form of information dump

    When integrating these examples into your master project, ensure that the hardware I/O mapping in your CODESYS device tree matches the exact physical addressing of the HX/K52x controller.

    Deployment and Best Practices

    PROGRAM PLC_PRG
    VAR
    	// Control triggers
        xStartTest     : BOOL;         // start the process
        xReset         : BOOL;         // Reset state machine
        
        // You will need to identify the mount path depending on your OS/SoftPLC target)
        // Windows example: 'C:\test_log.txt'
        // Linux/Raspberry Pi example: '/media/pi/USB_DRIVE/test_log.txt'
        sFilePath      : STRING(255) := 'C:\Users\OnLogic\Desktop\USBTEST.txt'; 
        
        // Data buffers
        sWriteData     : STRING(80)  := 'Hello CODESYS USB Test!';
        readBuffer     : ARRAY[0..255] OF BYTE;
        sReadString    : STRING(255);
        
        // File variables
        hingFile       : SysFile.RTS_IEC_HANDLE := SysFile.RTS_INVALID_HANDLE;
        ulResult       : SysFile.RTS_IEC_RESULT;
        bytesWritten   : __XWORD;
        bytesRead      : __XWORD;
        
        // State tracking
        nState         : INT := 0;
        xDone          : BOOL;
        xError         : BOOL;
        eStatus        : DWORD;
    END_VAR
    
    //Reset system
    IF xReset THEN
        nState := 0;
        xDone := FALSE;
        xError := FALSE;
        IF hingFile <> SysFile.RTS_INVALID_HANDLE THEN
            SysFile.SysFileClose(hFile := hingFile);
            hingFile := SysFile.RTS_INVALID_HANDLE;
        END_IF
        xReset := FALSE;
    END_IF
    
    CASE nState OF
        0: // waiting for trigger
            IF xStartTest THEN
                xStartTest := FALSE;
                xDone := FALSE;
                xError := FALSE;
                nState := 1;
            END_IF
    
        1: //  Open file (creates it if it doesn't exist, overwrites it if it does)
            hingFile := SysFile.SysFileOpen(
                szFile := sFilePath, 
                am := SysFile.AM_WRITE, 
                pResult := ADR(ulResult)
            );
            
            IF hingFile = SysFile.RTS_INVALID_HANDLE THEN
                xError := TRUE;
                nState := 99; // Error state
            ELSE
                nState := 2;
            END_IF
    
        2: // Write string to the USB file
            bytesWritten := SysFile.SysFileWrite(
                hFile := hingFile, 
                pbyBuffer := ADR(sWriteData), 
                ulSize := INT_TO_UDINT(LEN(sWriteData)), 
                pResult := ADR(ulResult)
            );
            
            // Close file
            SysFile.SysFileClose(hFile := hingFile);
            hingFile := SysFile.RTS_INVALID_HANDLE;
            
            IF bytesWritten > 0 THEN
                nState := 3; 
            ELSE
                xError := TRUE;
                nState := 99;
            END_IF
    
        3: //open and read file
            hingFile := SysFile.SysFileOpen(
                szFile := sFilePath, 
                am := SysFile.AM_READ, 
                pResult := ADR(ulResult)
            );
            
            IF hingFile = SysFile.RTS_INVALID_HANDLE THEN
                xError := TRUE;
                nState := 99;
            ELSE
                // Clear buffer for read
                SysMem.SysMemSet(ADR(readBuffer), 0, SIZEOF(readBuffer));
                nState := 4;
            END_IF
    
        4: // Read string back to buffer
            bytesRead := SysFile.SysFileRead(
                hFile := hingFile, 
                pbyBuffer := ADR(readBuffer), 
                ulSize := SIZEOF(readBuffer) - 1, 
                pResult := ADR(ulResult)
            );
            
            // Close file
            SysFile.SysFileClose(hFile := hingFile);
            hingFile := SysFile.RTS_INVALID_HANDLE;
            
            IF bytesRead > 0 THEN
                // Copy byte array to string for easy monitoring
                xDone := TRUE;
                nState := 0; 
            ELSE
                xError := TRUE;
                nState := 99;
            END_IF
    
        99: // Error handling state
            if hingFile <> SysFile.RTS_INVALID_HANDLE THEN
                SysFile.SysFileClose(hFile := hingFile);
                hingFile := SysFile.RTS_INVALID_HANDLE;
            END_IF
            xError := TRUE;
            // Wait for reset flag to clear
            IF xReset THEN
                nState := 0;
            END_IF
    END_CASE
    

    Installing CODESYS on Ubuntu 26.04

    This page installs the following on an Ubuntu 26.04 LTS (Long-Term Support) x64 system:

    1. Real-time kernel (optional): a Linux kernel built with PREEMPT_RT (fully preemptible real-time scheduling) for more predictable timing

    2. CodeMeter: the Wibu-Systems license manager that the CODESYS runtime depends on

    3. CODESYS Control for Linux SL: the PLC (programmable logic controller) runtime

    4. CODESYS 4: the web-based IDE (integrated development environment)

    This assumes you are installing the IDE on the same system running the PLC.

    Download
    Source
    File

    From Ubuntu 26.04 onward, the real-time kernel is free and installs from the main archive. No Ubuntu Pro subscription or pro enable realtime-kernel command is needed.

    bash

    After rebooting, confirm the real-time kernel is running:

    bash

    If the generic kernel booted instead, set GRUB_DEFAULT in /etc/default/grub to the real-time kernel's menu entry, then regenerate the boot configuration and reboot:

    bash

    The CODESYS runtime package depends on CodeMeter (codemeter or codemeter-lite), so CodeMeter must be installed first.

    On the Wibu-Systems User Software page, select CodeMeter User Runtime for Linux (64-bit .deb).

    bash

    A .package file is a ZIP archive, so you can extract it directly on the target.

    bash

    If find prints a path other than linuxsl/Delivery/, use that path in the commands below.

    bash

    Extract the downloaded file like you did for the runtime. The file you need to install is under Delivery>edgeamd64.

    bash

    The gateway should run on port 1217 of localhost by default.

    CODESYS 4 (version 1.0.0.0, released September 24, 2026) is the web-based IDE. It works with CODESYS runtimes V3.5 SP19 and newer; CODESYS Control for Linux SL 4.22.0.0 is based on SP22.

    bash

    If the package is missing or older than 8.0.30, add Canonical's .NET backports PPA (Personal Package Archive):

    bash

    bash

    bash

    CODESYS Control for Linux SL

    .package

    CodeMeter User Runtime for Linux, 64-bit

    .deb

    CODESYS 4 (Optional unless you want an IDE)

    Linux AMD64 .deb

    # Refresh package lists and install the real-time kernel
    sudo apt update && sudo apt upgrade -y
    sudo apt install -y ubuntu-realtime
    
    # Reboot into the new kernel
    sudo reboot
    # Should include PREEMPT_RT
    uname -v
    
    # Should print 1
    cat /sys/kernel/realtime
    # Apply the GRUB_DEFAULT change and reboot
    sudo update-grub
    sudo reboot
    # Download CodeMeter using the direct link from the Wibu-Systems page
    cd ~/codesys
    wget -O codemeter_amd64.deb "<direct link>"
    
    # Compare this output with the checksum on the download page
    md5sum codemeter_amd64.deb
    
    # Install CodeMeter (the ./ prefix tells apt to install a local file)
    sudo apt install -y ./codemeter_amd64.deb
    
    # Confirm the service is running
    systemctl status codemeter --no-pager
    # Install unzip and extract the package (adjust the file name to your version)
    sudo apt install -y unzip
    cd ~/codesys
    unzip "CODESYS Control for Linux SL 4.22.0.0.package" -d linuxsl
    
    # Locate the runtime .deb (expect a single codesyscontrol_linux_<version>_amd64.deb)
    find linuxsl -name '*.deb'
    # Confirm the dependency (expect: codemeter | codemeter-lite)
    dpkg-deb -f linuxsl/Delivery/linux/codesyscontrol_linux_*_amd64.deb Depends
    
    # Install the runtime
    sudo apt install -y ./linuxsl/Delivery/codesyscontrol_linux_*_amd64.deb
    
    # Confirm the runtime service is running
    systemctl status codesyscontrol --no-pager
    # Install the gateway
    sudo apt install -y codesysedgegateway*.deb
    
    # Confirm the gateway service is running
    systemctl status codesysedge --no-pager
    # Check whether the Ubuntu archive offers the package, and which version
    apt-cache policy aspnetcore-runtime-8.0
    # Add the .NET backports PPA and refresh package lists
    sudo add-apt-repository ppa:dotnet/backports
    sudo apt update
    # Install the runtime
    sudo apt install -y aspnetcore-runtime-8.0
    
    # Confirm Microsoft.AspNetCore.App 8.0.30 or later is listed
    dotnet --list-runtimes
    # Install the CODESYS 4 package
    sudo apt install -y ./codesys-4_*_amd64.deb
    
    # Open the CODESYS 4 interface in the default browser (requires a graphical desktop session)
    c4-cli standalone-session
    
    # List all commands and options, including --with-browser to choose a different browser
    c4-cli --help

    Downloads

    Step 1 (optional): Install the real-time kernel

    Skip this step if you don't need the real-time kernel, and continue at Step 2.

    Step 2: Install CodeMeter

    Step 3: Install CODESYS Control for Linux SL

    Without a license, the runtime runs for two hours and then stops. Restart it with sudo systemctl restart codesyscontrol to keep testing.

    Step 4: Install CODESYS Edge Gateway for Linux

    Step 5: Install CODESYS 4 (Optional)

    The CODESYS 4 Linux package does not include a CODESYS runtime or gateway. The runtime was installed in Step 3.

    Install the ASP.NET Core 8 runtime

    Microsoft ends support for .NET 8 in November 2026. Expect CODESYS to move to a newer .NET version in a later CODESYS 4 release.

    Install and launch CODESYS 4

    CODESYS Edge Gateway

    CODESYS Store

    .deb

    CODESYS Store
    Wibu-Systems User Software
    CODESYS Store

    TM610

    For information on the TM610 ThinManager Ready platform, please visit the MC610-50 page.

    MC510-10 / MC610-10 / MC610-50

    AWS Greengrass

    Guide to setting up OnLogic AWS Greengrass Compatible IoT Edge Gateways for edge-to-cloud deployments, including hardware, software, and Greengrass component setup.

    1- Revision History

    Document Version

    Date

    Changes

    1.0

    2.16.24

    Initial Version

    1.1

    1.23.25

    Links updated

    The OnLogic AWS Greengrass Compatible IoT Edge Gateways are designed to simplify deployment of embedded PCs for your AWS Edge projects. Using a Fanless PC increases equipment reliability and decreases downtime at the edge. OnLogic AWS Greengrass Compatible devices come tested for compatibility with to easily integrate into your AWS IoT applications.

    Datasheets are available for your OnLogic AWS Greengrass Compatible IoT Edge Gateway on its’ product page under the download section. All list of systems is provided here:

    • Cl200 Small Form Factor Series

    • ML100 Industrial Edge NUC Series

    Each OnLogic Gateway includes the computer itself, depending on chosen accessories the following may be included. Accessories may be purchased separately on onlogic.com where stated.

    • Mounting Hardware (Available for individual purchase)

    • Accessory Phoenix Connectors for DIO/AIO/GPIO/CANBUS, Power Terminal Block, Serial Cables

    • AC Power Adapter, if selected (Available for individual purchase)

    OnLogic PCs for AWS IoT Greengrass are designed to integrate into your edge compute applications and as such are only a part of the solution. An IoT solution should include:

    • Data collection devices such as sensors and PLCs to connect to local equipment

    • Cloud resources to run your application in the AWS Cloud which includes any associated AWS cloud services that you need such as AWS IoT Sitewise, AWS IoT Core, AWS Lambda among others.

    To take advantage of advanced features such as Microcontroller (MCU) access to control DIO, CanBUS, GPIO, automotive ignition timings (on applicable systems). Please consult OnLogic product support pages for the applicable systems for a full guide and links to Git repositories (where applicable).

    The following link to individual product support pages:

    • Cl200 Small Form Factor Series

    • Helix Industrial Computers Series

    For an in-depth guide on a product by product basis, visit the OnLogic support page for the product you purchase or consult the product manual. In general:

    1. To get started remove the PC and power supply (if you purchased one) from the box. If you have a system with a pre-wired AC power adapter you can plug that into a wall outlet. If you selected a system with a terminal block you may need to wire the system into your DC power supply or an AC power adapter.

    2. In order to set up the system you’ll need a keyboard, mouse, and display in order to perform the first time setup. Start the system by pressing the power button (if you selected auto-power on your system will start when plugged in).

    3. If you selected a pre-install operating system from OnLogic such as Ubuntu or Windows you will be prompted to create a user account or login to an existing account. If installing your own operating system, follow your preferred provisioning method.

    • Ensure you are using a PC that is rated for your environment: operating temperature, input voltage, shock, vibration

    • Ensure to adhere to any certification requirements for IT equipment: Class 1 Division 2, UL Requirements, etc.

    • Use a weather resistant enclosure when appropriate to shield IT equipment from ambient conditions

    • Ensure installation technicians are properly trained in setting up devices on site

    Users that have these expertise should expect device setup to take less than 15 minutes for your device to be ready to connect to your existing AWS IoT Console depending on network availability.

    As the OnLogic solution does not include any production environments in AWS cloud as such the user is responsible for setup, deployment, and maintenance of their AWS applications and following AWS best practices to ensure operational excellence and security. OnLogic AWS Greengrass Compatible IoT Edge Gateways can be used in any AWS Region or Availability Zone that supports Greengrass. Please ensure to adhere to any importation requirements if deploying outside the United States or European Union as there may be additional regulatory requirements for IT equipment.

    To learn more about AWS IoT Greengrass, see and.

    Refer to the online documentation detailing the needed for AWS IoT Greengrass. Follow the instructions in the following sections:

    Follow the online guide to . Refer to the instructions in the following steps:

    • . For development environments, you can use the option “Use long-term credentials from an IAM User”. An example of how to do this is shown below:

    export AWS_ACCESS_KEY_ID=<the access key id for your user>

    export AWS_SECRET_ACCESS_KEY=<the secret access key for your user>

    Follow the instructions online under the section to create a simple component on your device.

    Follow the instructions online at to upload your component to the cloud, where it can be deployed to other devices as needed.

    Follow the instructions online at to deploy and verify that your component is running.

    OnLogic does not offer technical support for software issues related to AWS services. Contact your technology integration resources or partner to help resolve software issues. Due to the number of different systems OnLogic offers we have a to answer commonly asked questions and offer preliminary troubleshooting information.

    For Hardware support you can contact the OnLogic support team at or 802-861-2300 ext. 2 (8:30 AM to 5:00 PM EST). For responses via email and voicemail we strive to respond the same business day. If received after normal business hours we will respond in the order that they were received. Once an RMA is received normal turnaround when parts are available is 5 business days

    All OnLogic systems come with a standard 2 year warranty (unless otherwise stated). For additional information the following resources are available:

    ML100G-56

  • Helix Industrial Computers Series

    • HX310

    • HX330

    • HX410

  • Factor ARM Gateways

    • FR201

    • FR202

  • Karbon Rugged Computers Series

    • K410

    • K430

    • K801

  • Rugged Panel PCs

    • CV-P1101

    • CV-P2102

    • TC401

  • Industrial Edge Servers

    • AC101

    • AX301

  • HX410

  • HX500/HX600/HX610

  • HX511

  • Factor ARM Gateways

    • FR201/FR202

  • Karbon Rugged Computers Series

    • K410/K430

    • K801/K802/K803/K804

  • Rugged Panel PCs

    • CV-P1101

    • CV-P2102

  • Industrial Edge Servers

    • AC101

    • AX301

  • Prototype before field installation of larger deployments

    2- Overview

    3- Hardware

    3.1- Datasheets

    3.2- Package Contents

    3.3- User Provided Items

    4- Deployment Environment Setup

    4.1- OnLogic I/O Tools

    5- Device Hardware Setup

    5.1- Device Setup

    5.2- Deployment Best Practices

    6- About AWS IoT Greengrass

    7- Greengrass Prerequisites

    8- Greengrass Installation

    9- “Hello World” Component

    9.1- Create Component (Edge Device)

    9.2- Upload Component (Cloud)

    9.3- Deploy Component

    10- Troubleshooting & Support

    CL250
    ML100G-42
    CL250
    HX310/HX330
    How AWS IoT Greengrass works
    What's new in AWS IoT Greengrass Version 2
    prerequisites
    Step 1: Set up an AWS account
    Step 2: Set up your environment
    Install with automatic provisioning
    Set up the device environment
    Provide AWS credentials to the device
    Download the AWS IoT Greengrass Core software
    Install the AWS IoT Greengrass Core software
    Develop and test a component on your device
    Create your component in the AWS IoT Greengrass service
    Deploy your component
    support resource site
    support@onlogic.com
    Warranty Information
    OnLogic Terms and Conditions

    TM300

    For information on the TM300 ThinManager Ready platform, please visit the DC-1100 page.

    HX500
    HX511
    HX600
    HX610
    K802
    K803
    K804
    DC-1100

    TM700

    For information on the TM700 ThinManager Ready platform, please visit the CL100G page.

    CL100G

    Hilscher CODESYS Setup on Windows 10/11

    Overview

    Setting up a Hilscher card involves several pieces working together. To use the card, you’ll need the right driver, the firmware you want to use, and Codesys.

    The driver is what the OS uses to communicate with the Hilscher card. It can be downloaded here.

    Firmware is what the card uses to dictate what function it takes on. For the 50E-RE card used in K524, the functions are:

    • EtherCAT Master

    • EtherCAT Slave

    • EtherNet/IP Scanner

    • EtherNet/IP Adapter

    • Open Modbus/TCP Client

    • Open Modbus/TCP Server

    • POWERLINK Controlled Node

    • PROFINET IO-Controller

    • PROFINET IO-Device

    • Sercos Master

    • Sercos Slave

    • VARAN Client

    • CC-Link IE Field Basic Slave

    Each function uses a different firmware. Firmware is not stored on the card itself. Instead it is loaded onto it at every boot.

    Firmware can be downloaded

    Codesys serves as the controller and programming environment for the Hilscher card. It can be downloaded

    Extract the downloaded CD v2.8.0.0 file. Within that, find Installation > cifX Device Driver Setup and run the installer.

    Once this is complete, the indicator light on the Hilscher card will begin blinking orange and green.

    *Note: On Windows 10 you must disable ASPM in BIOS, or else the install will crash the computer.

    Before you can program the card in Codesys, you will need to install the corresponding firmware for how you want to use the card. The Windows installation files come with a cifXSetup application. It is located in INF > Windows 10 > x86.

    Running this will show you a window with a pane on the left showing you your active cifX device, typically labeled cifX0. Click that, and then click CH#0 beneath it. This is where you can assign firmware. On the right side, you will see an “Add” button. Clicking this will take you to a search window for the Firmware files. They will be in .nxf format.

    The files will be in the downloaded Communications Packages folder. It will be in the Firmware,EDS,Examples which you should extract to the desktop. Within that, the files will be in Firmware,EDS. You will see a list of several folders. Some of them are not applicable to the 50E-RE card.

    You will need to track down the folder that corresponds with the functionality you wish to apply to the card. A general guide can be found below:

    Within the corresponding folder you will need to go to Firmware > cifX for the required firmware file.

    Once you add it and click apply in cifXSetup, you should see the indicator light on the Hilscher card switch to one solid green, and the other to flashing green.

    Run the downloaded installer. The installation will take several minutes.

    Once installed, run Codesys. Under Basic operations, select New Project, and give it a name, or open a saved project. Once in the project setup, you should see a tree structure in the left pane. Right click the device name under your project name, and then click Add Device.

    This will present a menu with different options for card functionality. Select the one that matches the firmware you installed.

    Once you select and click done, the device will appear in the tree for your project, and you will be able to configure it and use it in Codesys.

    Functionality

    Protocol

    Legacy Filename (.nxf)

    Modern Filename (.nxi / .nxf)

    EtherCAT Master

    ECM

    cifxecm.nxf

    X090E001.nxi / C010E000.nxf

    EtherCAT Slave (SubDevice)

    ECS

    cifxecs.nxf

    X090F001.nxi

    EtherNet/IP Scanner (Master)

    EIS

    NOTE: Do not use the official Hilscher driver with CODESYS Control RTE on Windows or Linux SL. Windows RTE requires the CODESYS SysDrv3S driver, while Linux requires the PCIe device to remain unbound. If an incorrect driver is loaded, the CODESYS runtime log will fail to detect the card and report 0 NetX device(s) found.

    Installing the Driver

    Installing the Firmware

    Installing Codesys

    Adding Hilscher to Codesys.

    here.
    here.

    cifxeis.nxf

    X090I001.nxi

    EtherNet/IP Adapter (Slave)

    EID

    cifxeid.nxf

    X090H001.nxi

    Open Modbus/TCP Client / Server

    OMB

    cifxomb.nxf

    X090L001.nxi

    POWERLINK Controlled Node

    PLS / PLS

    cifxpls.nxf

    X090K001.nxi / C010K000.nxf

    PROFINET IO-Controller (Master)

    PNO

    cifxpno.nxf

    X090C001.nxi

    PROFINET IO-Device (Slave)

    PNS / PND

    cifxpns.nxf

    X090D001.nxi / C010D000.nxf

    Sercos Master

    S3M

    cifxs3m.nxf

    X090M001.nxi

    Sercos Slave

    S3S

    cifxs3s.nxf

    X090J001.nxi

    VARAN Client

    VNS

    cifxvns.nxf

    X090V001.nxi

    CC-Link IE Field Basic Slave

    CCIEBS / CCIBS

    cifxccibs.nxf

    X090Y001.nxi

    TM430

    For information on the TM430 ThinManager Ready platform, please visit the TC401 / TN101 page.

    TC401 / TN101 Series
    Loadingacademy.zededa.com
    Quick StartZEDEDA Help Center
    ZEDEDA Help Centerhelp.zededa.com
    OnLogic Edge Orchestration Powered by ZEDEDAwww.onlogic.com
    Logo
    Logo
    Logo

    TM250

    For information on the TM250 ThinManager Ready platform, please visit the ML350G-10 page.

    ML350G-10