Industrial Engineer · phase 3 of 16

Program

Top-level user-code organization unit that coordinates control logic and calls routines or function blocks.

The Explain card

Plain English
A program is the top level container for a chunk of the controller's logic. It owns its own tags, holds routines, and gets scheduled by a task.
Example
A bottling controller might have a Filler program, a Capper program and a Conveyors program. Each one lives under a task and calls its own routines.
Why it matters
Splitting the project into programs keeps one machine's tags from colliding with another's and lets you give each part its own scan rate. It is also the unit you export, copy and reuse on the next line.
Hook
The folder the machine is filed under.

Where it sits in the deck

Phase 3: PLC Program Organization and Execution

How the logic is arranged and how the scan actually runs it, which is the difference between code that works and code that works every time.