Compact Logic – Embedded PLC

The simplest way to program microcontrollers.

The Compact-Logic System (CL) is a universal soft PLC (embedded PLC) for microcontrollers such as STM32, ESP32, and similar platforms. It runs with or without an RTOS and does not require Linux or Windows.

CL is suitable for control, measurement, regulation, automation, IoT, and edge computing applications. Multiple CL controllers can be flexibly networked to create powerful and scalable systems.

Graphical programming in the CL system follows the proven function block programming approach known from classical PLC systems. Logical relationships are clearly represented using blocks and connections.

CL consistently separates application logic from complex hardware integration. Hardware handling is performed automatically in the background, allowing users to focus on control tasks without sacrificing performance or flexibility.

From mini-boards starting at €5 to 10-inch display boards under €100 – Compact-Logic directly supports a wide range of cost-effective microcontroller hardware. The world of microcontroller development offers a multitude of affordable extensions: sensors, actuators, development boards, as well as ready-to-use enclosed solutions. CL enables the direct connection of these components – all can be used via intuitive function blocks without additional drivers or complex hardware integration.

Currently, the focus is on the ESP32-S3 and ESP32-P4 processors. The appropriate firmware can be downloaded from the download area and used on almost any controller board – whether commercially available boards, custom developments, or microcontroller solutions supplied by us.

We offer various industrial-grade developments specifically designed for operation with 12–24 VDC voltage levels. Our hardware is optimized for EMC- and ESD-resistant applications in demanding industrial environments. Connections are accessible via screw or spring terminals, and suitable robust enclosures are provided for each solution.

Easy Hardware Configuration with the CL-Platform-Setup Tool

The CL Platform Setup tool defines which interfaces (I²C, SPI, 1-Wire, CAN, etc.) will be used, which hardware components (display, SD card, RTC, Ethernet, Wi-Fi, etc.) are present and should be utilized, and which I/O components are connected (digital inputs and outputs, ADCs, RGB LEDs, various digital sensors, stepper motors, etc.).

The desired components are activated with a click and assigned to the corresponding GPIOs. Afterwards, the defined I/O hardware functions can be used in the CL Program Designer as graphical blocks – without any programming effort and fully adaptable to the target platform.

Visual creation with the CL Program Designer

The CL Program Designer enables simple and intuitive creation of control programs – entirely without traditional programming.

All necessary elements are available in a central toolbar:

  • Hardware components: I/Os and modules previously defined in the CL Platform Setup (e.g., sensors, displays, actuators)
  • Graphical tools: for data input, visualization, and processing
  • Extensive function library: digital and numerical functions, lists, timing, control, and regulation functions, as well as arithmetic functions. Special blocks are available for analog signal processing, color output, logging, networking, and more
  • The desired I/Os, functions, and graphical tools can be dragged and dropped into the workspace.
  • The elements are linked together using simple connections.
  • The workspace can be distributed across multiple sheets.

This visual and modular programming approach allows even complex control tasks to be implemented quickly and without programming knowledge – efficiently, flexibly, and ready for immediate use!

Why Compact-Logic? Unique Features & Benefits

  • No programming skills required – With some technical understanding, users can become proficient in the system within a few hours.
  • Live code adjustment – Changes can be made directly during execution, without the need for recompilation.
  • Real-time data visualization – All current states are displayed live on the blocks and connections, and can also be plotted over time.
  • Practical function library – In addition to standard logic and math blocks, numerous application-oriented function modules are available for control, regulation, analog signal processing, communication, and data logging.
  • Simple configuration – All block properties are controlled via the block inputs, either through static values or outputs from other blocks. No complex menus, windows, or dialogs.
  • Self-explanatory operation – Tooltips provide immediate information about blocks and connection options simply by hovering the mouse.
  • Hardware-independent – The only current requirement is an ESP32-S3 or ESP32-P4 processor. There are numerous compatible hardware modules, or you can develop your own solution.
  • Offline editor & simulation – The CL Program Designer works directly on real hardware, but can also be used offline with the integrated simulator.
  • Expandable platform – A mobile app, interface programs for databases and controllers, operator panels, and many other tools extend the system’s capabilities.

Sometimes the easiest way is to try it yourself!

Download the software and test the integrated simulator – no hardware required. This allows you to quickly get a first impression of how Compact-Logic works.

Here’s a brief step-by-step guide: Compact-Logic-Simulator – compact-logic