Table of Contents
Using CODESYS on the ComfilePi
<html><p style=“background-color: #FEF9E7; border: solid 1px black; border-radius: 5px; padding: 5px;”> NOTE: This documentation was created using a older version of CODESYS than what is currently available, so there will be discrepancies. For up to date documentation please prefer <a href=“https://help.codesys.com/webapp/_rbp_f_help;product=CODESYS_Control_for_Raspberry_Pi_SL”>the documentation published by CODESYS</a></p></html>
CODESYS is a development environment for programming controller applications according to the international industrial standard IEC 61131-3. CODESYS can be used on the ComfilePi by installing one of the CODESYS Raspberry Pi Control Modules.
COMFILE Technology does not provide technical support for CODESYS. Please contact CODESYS directly for support.
- CODESYS MODBUS RTU
Example 1: Simple In & Out
As a demonstration, please refer to the following sample project used to control the digital inputs and outputs of COMFILE Technology's CP-IO22, CP-IO19R IO boards.
Example 2: Flicker
Example 3: Analog Inputs with the CP-IO22-A4-2
This example demonstrates using the ADS1115 I2C driver to read analog inputs from the CP-IO22-A4-2.

