✦ Agent Skill

Deploy and control a headless PLC runtime with AIv2026.12.03

Have your AI agent deploy headless OpenPLC Runtime v4 on Linux, Raspberry Pi, or Docker and control upload, compilation, start/stop, and log diagnostics over REST API

  • Needs Docker
Author CWYZLevel Mid
4.0
Free

Use when the user needs to deploy OpenPLC Runtime v4 on Linux, Raspberry Pi, or Docker and manage it over HTTPS REST API (JWT auth) for program upload, compilation polling, PLC start/stop, and log inspection. Strictly headless with no web UI; expects program.zip built by OpenPLC Editor v4.

Updated Dec 3, 2026

Images and videos

Skill name

openplc-runtime

Good for

Works with

Claude CodeCodexAny agent that reads SKILL.md

Access

Free after sign-in

Related tutorials and cases

Similar skills

All skills

What you get

  • Headless Docker or native OpenPLC Runtime v4 service
  • Automated JWT auth, program upload, compile, and start/stop
  • Live status verification and runtime log diagnostics

Good for

  • Control engineers deploying soft PLCs on Linux or Raspberry Pi
  • Developers automating PLC lifecycle management via REST API
  • Labs and makers building open-source industrial automation rigs

Not for

  • Users expecting a built-in browser control dashboard
  • Natural-language ST code generation and MatIEC verification
  • Environments without Docker or Linux root privileges

About this skill

This skill helps your AI agent deploy and manage OpenPLC Runtime v4 (GPL-3.0)—a headless, real-time (SCHED_FIFO) industrial PLC runtime for IEC 61131-3 programs. It turns standard Linux servers, Raspberry Pi boards, or Docker hosts into an API-controlled PLC runtime on port 8443 (HTTPS + JWT auth) for account setup, program.zip upload, compilation polling, start/stop control, log inspection, and WebSocket debugging (/api/debug), alongside an optional port 8445 bootloader for remote version updates.

OpenPLC Runtime v4 has no browser web UI and does not generate ST code itself; uploaded program.zip packages must be compiled first in OpenPLC Editor v4.

What you need

  • Runtime host: Linux (amd64, arm64, arm/v7) with Docker recommended (or Docker Desktop on macOS/Windows), or native Linux build tools (GCC, CMake 3.28+, Python 3.10+, root); no GPU needed.
  • Companion editor: OpenPLC Editor v4 desktop app to author and package program.zip; runs locally with no external API keys.
  • Ports: Uses 8443 (REST/WebSocket) and 8445 (bootloader); the managed installer stops conflicting legacy systemd OpenPLC services automatically.

FAQ

Why can't I open a web dashboard in my browser?

OpenPLC Runtime v4 is strictly headless with no web UI. All control goes through the HTTPS REST API or OpenPLC Editor v4 on port 8443.

Why did START:OK return while the PLC stayed stopped?

If a switch-owner plugin is registered, the switch gate can still refuse the first start. The skill always re-checks /api/status and /api/runtime-logs.

Can I upload a raw .st file directly?

No. Release v4.4.0 uses the STruC++ pipeline and requires a program.zip built by OpenPLC Editor v4.

This is an outline. The full SKILL.md comes with the install: sign in, then copy the prompt or download.

REVIEWS

4.0

0 reviews

Rate this skill

No reviews yet.

Used this skill? Be the first to rate it.

Done with this one? Mark it to track your path.Sign in
Save it for laterSign in
Questions about this piece?Ask AI about this