BT San Technology

4 May 2026

Bare-metal, RTOS, Linux and the PLC scan cycle: timed work versus heavy processing

2 min read · Automation

Illustration: a finned edge box, a DIN-rail PLC, two boards, an oscilloscope and a linear stage
AI-generated illustration

Sensor reads, communication and image work have different timing needs. Having an operating system or using a PLC does not by itself confirm the deadline of every task. The scheduler, task design, communication and real measurements must be considered together.

What the lesson covers and the order of experiments

  1. Define latency, jitter, deadline and throughput
  2. Compare a loop, an interrupt, a task and a scan
  3. Decide which work can wait and which must respond within a bound
  4. Measure the time from the triggering event to the end result under load

Exercises and applied examples

Exercise: model reading a button, logging data and inspecting an image. Separate the workloads, then check the response time.

Limits and what else to check

Do not call every system hard real-time because of the board type, and do not use an ordinary Linux application in place of a safety function without a proper design.

Manufacturer documents to read

  • Arduino GIGA R1 WiFi
  • Arduino UNO Q
  • NVIDIA JetPack
  • Siemens controller selection

References

  1. Arduino GIGA R1 WiFi (accessed 2026-11-21)
  2. Arduino UNO Q (accessed 2026-11-21)
  3. NVIDIA JetPack (accessed 2026-11-21)
  4. Siemens controller selection (accessed 2026-11-21)

Add us on LINE

Scan with the LINE app on your phone

QR code to add LINE @Bankoos

LINE ID: @Bankoos

Open LINE on this computer