Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
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 .
For information on the TM120 ThinManager Ready platform, please visit the ML100G-53 page.
For information on the TM260 ThinManager Ready platform, please visit the HX300 series page.
For information on the TM410 ThinManager Ready platform, please visit the CV-P1101 / CS-P1101 page.
For information on the TM200 ThinManager Ready platform, please visit the ML210 series page.
ML210 SeriesThis guide covers installing the CODESYS Control Real Time Ethernet runtime on Windows 11, including the BIOS and Windows settings it requires.
Restart the system and hold Del to enter BIOS setup. Change the following settings:
X2APIC Enable Advanced > CPU Configuration
Disabled
Intel VMX Advanced > CPU Configuration
Disabled
Save and exit.
Download CODESYS Control RTE SL from the .
Unzip the downloaded folder and run the 64-bit installer as administrator.
When asked to change boot options, select Yes.
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:
Open Device Manager.
Right-click each network port you want to use for real-time Ethernet and select Update driver > Browse my computer for drivers.
Browse to C:\Program Files\CODESYS\CODESYS Control RTE3 and select that folder as a directory to search for drivers.
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.
For information on the TM800 ThinManager Ready platform, please visit the MC510-40 page.
An overview of ThinManager's content delivery system and thin clients, including OnLogic's TM-Ready systems, update considerations, and compatibility.
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.
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
What are the benefits of upgrading to newer versions of ThinManager?
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.
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.
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?
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?
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.
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?
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
For information on the TM400 ThinManager Ready platform, please visit the P1001 page.


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:
For information on the TM720 ThinManager Ready platform, please see the CL260 page.
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.
For information on the TM100 ThinManager Ready platform, please visit the ML100G-10 page.
For information on the TM130 ThinManager Ready platform, please visit the HX401 page.
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.
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.
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.
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;
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_CASEThe 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.
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
This page installs the following on an Ubuntu 26.04 LTS (Long-Term Support) x64 system:
Real-time kernel (optional): a Linux kernel built with PREEMPT_RT (fully preemptible real-time scheduling) for more predictable timing
CodeMeter: the Wibu-Systems license manager that the CODESYS runtime depends on
CODESYS Control for Linux SL: the PLC (programmable logic controller) runtime
CODESYS 4: the web-based IDE (integrated development environment)
This assumes you are installing the IDE on the same system running the PLC.
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 --helpCODESYS Edge Gateway
.deb
For information on the TM610 ThinManager Ready platform, please visit the MC610-50 page.
MC510-10 / MC610-10 / MC610-50Guide to setting up OnLogic AWS Greengrass Compatible IoT Edge Gateways for edge-to-cloud deployments, including hardware, software, and Greengrass component setup.
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:
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.
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).
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:
Factor ARM Gateways
Karbon Rugged Computers Series
Prototype before field installation of larger deployments
For information on the TM300 ThinManager Ready platform, please visit the DC-1100 page.
For information on the TM700 ThinManager Ready platform, please visit the CL100G page.
CL100GSetting 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
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
For information on the TM430 ThinManager Ready platform, please visit the TC401 / TN101 page.
For information on the TM250 ThinManager Ready platform, please visit the ML350G-10 page.