OptoBlog

Get help writing a CODESYS project

Posted by Norma Rodriguez on Apr 16, 2025 6:05:25 AM

Learn how to leverage your PLC programming skills on groov EPIC with CODESYS.

Are you ready to write a control program for your groov EPIC, but unsure where to begin?

Good news: your PLC programming background gives you a head start—especially if you choose to work with CODESYS, one of the three control programming options available on groov EPIC.

Find out how to use the PC-based CODESYS Development System to create and compile IEC 61131-3 programs that you might already be familiar with.

groov EPIC controllers support three control programming methods:

  • CODESYS – a fully compliant IEC 61131-3 environment
  • PAC Control – Opto 22’s flowchart-based, easy-to-learn programming language
  • Secure Shell (SSH) – for running custom programs in a Linux shell

But if you’re already familiar with ladder logic or structured text, CODESYS is likely the most natural fit.

Why Choose CODESYS?

If you've worked with IEC-61131-3 languages, CODESYS will feel familiar right away. Still, you might wonder:

  • What libraries do I need?
  • How do I configure my controller and I/O?
  • Where do I begin writing the logic?

No worries—there’s help to get you started.

Get Step-by-Step Help from OptoU

OptoU (Opto 22's free online training) offers a complete set of step-by-step CODESYS lessons designed to get you running quickly. These lessons guide you through:

  • Installing the necessary libraries to recognize your groov hardware
  • Configuring your controller and I/O modules
  • Writing and running logic in both Structured Text and Ladder Logic
  • Connecting your CODESYS tags to a groov View HMI
  • Connecting groov EPIC as a Modbus Master with CODESYS

CodesysLessonsOptoU-1

Follow along with a groov EPIC Learning Center or with the groov EPIC and I/O modules you already have.

By the end of the lessons, you’ll have a fully functional control project—and a repeatable process you can use for future systems.

CodesysSampleNormaOptoU

SEE CODESYS LESSONS

More Reasons to Use CODESYS

CODESYS offers some powerful benefits beyond its familiar programming environment:

  • Open source compatibility – You can import code that’s compatible with OpenPLC, saving you time when reusing or adapting existing projects.

  • Protocol support – With CODESYS, your groov EPIC can communicate over multiple industrial protocols, including:

    • CODESYS OPC UA (Server/Client)
    • CODESYS Modbus TCP
    • CODESYS BACnet SL
    • CODESYS EtherCAT Master SL
    • CODESYS CANopen Manager SL
    • CODESYS EtherNet/IP Adapter (Slave) SL
    • CODESYS EtherNet/IP Scanner (Master) SL

The Bottom Line

If you're looking for a flexible, powerful way to program your groov EPIC—and especially if you have PLC experience—CODESYS is the perfect fit. With broad protocol support, open source compatibility, and easy-to-follow training from OptoU, you’ll be well-equipped to easily build robust control systems.

SEE CODESYS LESSONS

Topics: Training, CODESYS, IEC 61131-3, groov EPIC, OptoU, groov RIO

Written by Norma Rodriguez

Norma is the Director of Training and has enjoyed helping customers solve their problems or learn about Opto 22 products for over 30 years. She enjoys exercising, gardening, and reading.

    Subscribe to Email Updates

    Recent Posts

    Posts by Topic

    see all