Programmable Logic Controllers (PLCs) have been around since the late 60´s. They are basically digital computers adapted to industrial automation needs and are largely used in the most diverse manufacturing plants.
Our partner Codesys has a software PLC solution which can be deployed on our ARM based System on Module families (Colibri and Apalis) in order to transform the module into a PLC solution. It is the perfect fit for use cases where the device end-user must have the capacity to program the device behavior. See the list of Devices using Codesys (you see some famous PLC brands like Beckhoff, Wago and Eaton).
Codesys can run on Linux or Windows Embedded Compact, please see below for more information.
Codesys can run in a variety of operating systems and hardware platforms including Linux and ARM based devices.
Toradex and Codesys have joined forces and created one demo image for Toradex Colibri iMX6DL modules. The demo pre-built image can be downloaded here and contains the Codesys Runtime demo running for two hours before shut down. The demo image has the following features enabled:
Steps to run the Codesys demo on the Colibri iMX6DL:
Download the pre-build image (tar.bz2 or zip) and extract its contents to a FAT formatted SD card. For Windows users, a program such as 7-zip can be used; if you are a Linux user:
tar xjvf codesys.tar.bz2 -C <path-to-your-sd-card-mount-point>
Use the SD card to flash the Colibri iMX6DL module. Insert the card on the Carrier Board and stop the booting process. If your module is booting from Eboot (Windows CE), you will have to flash the U-Boot bootloader using the recovery mode. If your module already has the U-Boot bootloader, follow the steps for flashing Linux described here, which in most cases consists on stopping the boot process and running:
run setupdate run update
Install the Toradex-Device on the Codesys Development tool.
On the Codesys Development open Tool > Device Repository.
Download the device description hardware here. Change the file extension from .txt to .xml.
On the Device Repository window click on the Install button and select the file downloaded on the previous step.
After the process is finished you are ready to start a new project.
Download missing libraries in Library Manager menu entry.
Follow the procedure on the video below: