← Back
Home › Systems › Embedded and IoT

plc-scada

industrial PLC and SCADA

Siemens S7

SystemTechniques · 7Primitives · 28 plc-scada Clock synchronizationdistributed · medium: Estimate a clock's offset from four timestamps, filter out queueing noise, and steer the clock smoothly; NTP gets about a millisecond, PTP with hardware timestamps under a microsecond.›Alarm managementembedded · medium: Turn raw process limits into a few actionable operator alarms with delay, deadband, acknowledge and shelving states, plus flood measurement.›Hot-standby redundancyembedded · medium: A second, always-current controller shadows the primary and takes over within a few cycles of silence; epochs stop the old primary from fighting back.›Industrial network segmentationembedded · medium: Zones and conduits (IEC 62443/Purdue) with firewalls and protocol allow-lists for OTPlc scan cycleembedded · medium: Cyclic read-inputs, execute-logic, write-outputs execution with IEC 61131-3 programsPrimary-backup replicationdistributed · medium: One node orders all writes and ships them to standbys; the acknowledgement rule (none, one, all) sets what a crash loses, and an external arbiter decides who takes over.›Packet classificationnetworking · medium: Multi-field rule matching (tuple space search, decision trees) and flow cachesPID controllerrobotics · low: Drive a measured value to a setpoint with three terms on the error: proportional, integral, derivative. The default feedback loop for motors, heaters, drones and gimbals.›Hierarchical state machinesystems · low: Nest states so a substate inherits its parent's reactions and only overrides what differs, with ordered entry and exit actions along the path.›Watchdog timerembedded · low: A hardware down-counter that resets the chip unless software proves, in time and in a plausible pattern, that it is still healthy.›Fixed-rate control loopembedded · low: Run a controller at an exact period using absolute deadlines and a fixed dt, so jitter never accumulates and the math stays valid.›Real time fieldbusembedded · low: Deterministic cyclic fieldbuses (EtherCAT, PROFINET IRT): on-the-fly frames, distributed clocksSwinging door compressioncompression · low: Deadband and swinging-door trending compression for process historiansModbus protocolembedded · low: Modbus RTU/TCP registers and function codes with polling and CRCOpc uaembedded · low: OPC UA industrial protocol: address space, subscriptions and monitored items, security modesX509 certificatessecurity · low: Certificate chains, path validation, SANs, revocation and short-lived issuancePhase-locked loop (digital)signal-processing · low: Feedback loop that locks a local oscillator to the phase and frequency of an input tone; the core of carrier recovery, clock recovery and GNSS tracking.›Robust statisticsstatistics · low: Location and scale estimates (median, MAD, trimmed mean, Huber M-estimator) that stay correct when a minority of the data is garbage.›Debouncing throttlingsystems · low: Coalescing rapid events: debounce (wait for quiet), throttle (max rate), and cancelling stale in-flight requestsData diode unidirectional transferembedded · low: One-way network transfer with FEC and no back channel between safety and IT zonesDeep packet inspectionnetworking · low: Classify flows by payload/SNI/protocol signatures for application-aware policyLeasesdistributed · low: A lock that expires on its own: bounded-time ownership that survives crashes and partitions, given bounded clock drift and fencing tokens on writes.›Write-ahead logstorage · low: Append each change to a checksummed sequential log and fsync it before touching data pages; the basis of crash durability in nearly every database.›+ 12 more primitives

Similar systems

Share the most building blocks with this one.