Guides

Complete technical documentation for every GOPLC subsystem. Architecture diagrams, function signatures, parameter tables, and IEC 61131-3 Structured Text examples.

Platform

Core development tools, distributed execution, and visual programming

IDE & Runtime

Browser IDE, task scheduler, debugger with breakpoints + stepping, HMI builder, project files, protocol analyzer.

Visual Ladder Editor

Rung-based LD editor with XIC/XIO/OTE/OTL/OTU + TON/TOF/TP timers. Compile-validate-deploy-online chain. Click-to-force in live mode.

AI Assistant

Chat + autonomous control mode, 13 runtime tools, Claude/OpenAI/Ollama, code/HMI/flow generation, voice input.

Configuration

Every YAML config field documented: tasks, protocols, I/O mapping, DataLayer, AI, Node-RED, real-time, fleet, security.

System & Resilience

Hardware watchdog, crash-safe RETAIN with atomic writes and rolling backups, UPS monitoring (NUT/apcupsd), graceful shutdown chain.

Authentication & RBAC

Role-based access control with 4 roles, JWT authentication, audit trail, and 21 CFR Part 11 electronic signatures for regulated industries.

Alarm Management

ISA-18.2 alarm engine with 8 alarm types, state machine, shelving, deadband, delay, auto-ack, and HMI annunciator integration.

Edge Historian

Per-scan sampling with deadband, 3-tier decimation, log-all opt-in, InfluxDB and MQTT forwarders, burst capture on alarm.

Hot Standby & Failover

Active/standby redundancy with UDP heartbeat, full + incremental state sync, PID bumpless transfer, split-brain prevention.

Clustering

Boss/minion architecture, DataLayer pub/sub, fleet management, tested to 500 minions.

Node-RED

7 custom GoPLC nodes, Dashboard 2.0, AI-generated flows.

Protocol Analyzer & Store-and-Forward

Packet capture, PCAP export, offline buffering with automatic replay on reconnect.

REST API & Swagger

250+ endpoints — runtime control, variables, programs, tasks, protocols, licensing, diagnostics.

MCP Server

80 tools for AI assistants — Claude Code, Cursor, Windsurf. Programs, tasks, variables, HMI, debugger, fleet, protocol analyzer.

ST Language & Libraries

Built-in functions callable from Structured Text — data processing, integration, and fault tolerance

Timers, Counters & FBs

14+ fn

TON, TOF, TP, RTO, CTU, CTD, CTUD, SR, RS, R_TRIG, F_TRIG, PID, PIDE.

Math, String & Conversion

150+ fn

Trig, rounding, statistics, EMA/SMA, string ops, type conversions, bitwise, unit conversions.

JSON

22+ fn

Parse, build, query, modify JSON. Dot-path access, typed getters, JSONPath.

HTTP Client

16+ fn

GET/POST/PUT/DELETE from ST. Response maps, custom headers, webhooks.

File I/O

15+ fn

Read/write/append files, line-by-line processing, CSV logging. Sandboxed.

Database

18+ fn

SQLite, PostgreSQL, MySQL. Query, insert, transactions, schema management.

Data Structures

160+ fn

ARRAY, MAP, LIST, QUEUE, STACK, DEQUE, SET, HEAP/PQUEUE.

Resilience & Caching

35+ fn

Cache, circuit breaker, rate limiter, throttle, debounce, bulkhead, hysteresis.

Debug & Logging

36+ fn

Multi-target logging: file, SQLite, PostgreSQL, InfluxDB, syslog, console. Per-module levels.

Cryptography & Security

Hashing, HMAC, encryption, key derivation, certificates, TLS from Structured Text.

CSV & INI Parsing

Read/write CSV and INI config files from Structured Text.

Regular Expressions

Pattern matching, search, replace, capture groups in Structured Text.

SMTP Email

Send email alerts and notifications directly from Structured Text.

Entertainment & Show Control

Art-Net DMX, audio, video, lighting scenes, cue sequencing for show control.

Specialized Utilities

Scheduling, unit conversion, geofencing, alarm management, and other utility functions.

OSCAT Library

OSCAT-compatible function blocks — HVAC, building automation, date/time, signal processing.