CODESYS is an Integrated Development Environment (IDE) for PLC programming (IEC 61131-3) with native programming languages such as ladder logic (LD), Structured Text (ST), Instruction List (IL), Function Block Diagram (FBD), and Sequential Function Chart (SFC). CODESYS supports the most common 32 bit architectures including integrated compilers and adaptable run-time systems complemented with a series of comprehensive debugging and monitoring features.
The CODESYS Integration on CompactRIO allows users to access the I/O from a compiled FPGA bitfile to generate a custom device for CompactRIO in the CODESYS development environment. By bringing the device into CODESYS, a user can program the CompactRIO using several industry-standard languages such as Structured Text, Ladder Logic, and Function Block Diagrams. From here, the user can deploy their code to a CompactRIO target running the CODESYS Runtime Engine. Each trial of the CODESYS Runtime Engine lasts for two hours before it must be started again. If you are interested in deploying your CODESYS application to a CompactRIO and avoiding the two-hour trial limit, please contact your NI sales representative for more information.
LabVIEW FPGA is the main interface that allows users to customize and configure the onboard FPGA of the CompactRIO controller. An FPGA VI typically has a variety of inputs, outputs, and operations that are compiled into to a bitfile and programmed on a hardware level into the FPGA. This allows for faster execution speeds and more reliable operations than can be provided by software running on a processor.
The integration of CODESYS with the CompactRIO platform provides an avenue to develop advanced applications through industry standards and code reuse while maintaining access to high-speed I/O and faster execution rates on the FPGA fabric.
CODESYS Runtime Engine (at least version 3.5.4, installer included in the .zip download package)*
*The CODESYS Runtime Engine and Development Environment software is licensed by a third party, which is solely responsible for the product. NI takes no responsibility for and expressly disclaims any warranties, express or implied, for the software.
To get access to the CODESYS support on CompactRIO tools, please send an email to email@example.com expressing your interest to get early access to this tool. You will recieve access to a ZIP archive containing all the required files and instructions for trial usage of the tools.
At present, this library is experimental, unsupported, and not recommended for production applications. Please see the licensing notice below.
NI Labs Licensing Notice
Because the software technology available on NI Labs is experimental and has not yet been released for large-scale commercial use or fully tested by NI, the terms of the NI Labs license agreements vary from the standard NI software license terms. Further, the license terms for specific NI Labs technology may vary. Please carefully read the terms of the license agreement included with each NI Labs download before accepting those terms. This library uses the NI Sample Code License which is included in the download package.