The SLM-RP4

The SLM-RP4#

The SLM-RP4 is an industrial controller built around a Raspberry Pi 4 compute platform. It clips onto DIN rail, takes 24 VDC, and drives a backplane of up to 8 Synergy Logic I/O modules: discrete inputs and outputs, relays, analog current and voltage, and thermocouples. All are available from the Synergy Logic store.

The SLM-RP4 base controller

The SLM-RP4 ships from the factory with OpenPLC Runtime and the Python and C++ libraries pre-installed. The device can be programmed in two ways:

  • OpenPLC Editor, with the IEC 61131-3 languages (Structured Text, Ladder Diagram, Instruction List and Function Block Diagram) and Python and C++ blocks. OpenPLC handles all backplane and I/O access.

  • Stand-alone Python or C++ programs, which access the backplane directly through the Synergy libraries. This manual documents their API.

This manual includes worked examples for both.

Programming options#

OpenPLC Editor

A development environment for the IEC 61131-3 languages (Structured Text, Ladder Diagram, Function Block Diagram and Instruction List), with Python and C++ blocks.

Quick Start: OpenPLC

C++ or Python

Popular open source programming platforms, with libraries and examples included.

Introduction to Python and C++

Ordering modules#

Module Catalog lists every module the SLM-RP4 supports, with photos and channel counts. Modules can be ordered from the Synergy Logic store.