Machine Automation Β· Sysmac Studio Β· IEC 61131-3

The Sysmac Studio Academy

Learn Omron machine automation with cookie cutters, vending machines and donut boxes instead of dry manuals. There are thirteen interactive tracks plus deep dives, and no spaghetti code.

🧭

New here? Follow the path

A recommended order. Each stage builds on the last.
The path

Thirteen tracks, beginner β†’ hero

🍩01

The donut box

ARRAY[0..N] OF …

Arrays from scratch: numbered slots, indexing, reading and writing values. You scrub through the walk-through step by step with a box full of donuts.

Fundamentals Interactive walk-through ~10 min
New β†’
πŸ€–02

The robot factory

FUNCTION_BLOCK

A gentle on-ramp to reusable logic: why function blocks, what an instance is, and how copies roll off the line in Sysmac Studio. It gives you the mental model before the deep course.

Beginner Visual explainer ~12 min
New β†’
🦾03

Zero to Hero

The full Sysmac course

The main course. Fifteen chapters run across Basics β†’ Reuse β†’ Advanced, covering function blocks, structured text, namespaces, libraries and design patterns, and finish with a certified Hero Test.

Core 15 chapters + exam ~90 min
New β†’
🧰04

Power tools

the practical toolkit

The toolkit that makes machines run: TON/TOF timers, state machines, in-out references, error handling, and the IEC languages (Ladder vs ST vs FBD) side by side.

Advanced 5 chapters ~45 min
New β†’
⏱️05

The task cycle

refresh β†’ run β†’ output

How an NJ/NX controller actually runs your code, task after task. The I/O refresh, the primary periodic task & its period, task execution time & the watchdog, multitasking with priorities, and what survives a power cycle.

Foundation 5 chapters ~35 min
New β†’
🧱06

Data structures

STRUCT Β· ENUM Β· UNION

Tidy your variables with custom types. Bundle fields into a STRUCT, name states with an ENUM, reinterpret bytes with a UNION, and tabulate with arrays of structs. Then file it all into POUs and global variable tables.

Organisation 5 chapters ~35 min
New β†’
βš™οΈ07

Motion & the real world

PLCopen Β· MC_*

Where logic finally moves a servo. Enable an axis with MC_Power, command absolute & relative moves, shape the velocity profile, home & jog. Then read an analog sensor and scale raw counts to real engineering units.

Hardware 5 chapters ~40 min
New β†’
🚦08

The PLCopen state machine

why MC_ blocks behave

The rulebook under every motion command. An axis is always in exactly one state, such as Disabled, Standstill, Homing, Discrete Motion, Stopping or ErrorStop. Instead of memorising the diagram, you drive it. The track ends with the coordinated-group version, also clickable.

Concepts 5 chapters interactive diagram
New β†’
πŸ–₯️09

HMI & connectivity

NA HMI Β· OPC UA Β· MQTT

Give the machine a face and open it to the world. The NA-series operator panel, polling vs subscription, host comms over FINS & CIP, then OPC UA across the plant and MQTT to the cloud. All live toys.

Integration 9 chapters host-comms deep dive
New β†’
🧰10

Platform & architecture

the bigger picture

The world your code runs in. What a FINS node address really is and how you reach other brands, how Sysmac libraries deliver features, the NJ/NX hardware family, CX-Programmer vs Sysmac Studio, and every variable scope mapped.

Platform 5 chapters architecture
New β†’
🩺11

Diagnostics & debugging

see inside the machine

The capstone skill: the online view, breakpoints & stepping, the Sysmac Troubleshooter, the event log & error codes, EtherCAT bus diagnostics (find the dropped slave), and Data Trace, plus a method that chases any bug to ground.

Operate 6 chapters ~40 min
New β†’
πŸ›‘οΈ12

Safety Β· NX-SF

the system that says no

Functional safety on the same backplane: why it's an independent layer, the NX safety I/O units, the NX-SF safety logic & FSoE, the monitored E-stop circuit, how safe & standard code coexist, and SIL/PL with the safety lifecycle.

Safety 6 chapters ~40 min
New β†’
πŸ“·13

Vision integration

FH Β· EtherCAT Β· guided pick

Teach the machine to see: the FH vision system as an EtherCAT slave in the same Sysmac project, scenes as recipes, trigger-and-judge from your code, and the calibration that turns pixels into millimetres. Then run a live guided-pick cell where the measured offset corrects the pick.

Vision live cell ~15 min
New β†’
Deep dives

One topic, all the way down

πŸ“¨D1

FINS, CIP & node addressing

expands Track 10 Β· ch.1

The whole host-comms world, taken apart: what FINS and CIP actually are, node & unit addressing, ports & services, building routing tables, the raw read/write services, and crossing to other brands, sites & the cloud.

Deep dive 6 chapters messaging internals
New β†’
πŸ“šD2

Libraries & reuse

expands Track 10 Β· ch.2

Reuse, all the way down: what a Sysmac library is, the standard set Omron ships, namespaces & versioning, the library catalog & references, building & publishing your own, and the versioning discipline that keeps a fleet on one codebase.

Deep dive 8 chapters reuse & versioning
New β†’
🧱D3

The hardware family

expands Track 10 Β· ch.3

Every box, sorted: brain vs dumb I/O, the NX/EJ couplers & terminals (build an island), the NJ/NX CPU family, the NY IPC & Panel PC, the EtherCAT backbone (watch a frame fly the chain), and sizing the right controller.

Deep dive 6 chapters boxes & EtherCAT
New β†’
πŸ”€D4

CX-Programmer vs Sysmac Studio

expands Track 10 Β· ch.4

The generation gap in full: CJ/CP legacy vs NJ/NX modern, the one-tool Sysmac Studio IDE, multi-core real-time, structured programming & integrated motion, which hardware runs which, and the reality of migrating a project across.

Deep dive 6 chapters editions & migration
New β†’
πŸ—‚οΈD5

Variable scope & memory

expands Track 10 Β· ch.5

Who sees what, and for how long, fully mapped. The three questions, the input/output/in-out interface (by value vs by reference), internal & temp variables, globals & AT I/O mapping, Retain lifetimes, and access from the outside.

Deep dive 6 chapters scope & memory
New β†’
🧬D6

Data types deep dive

expands Track 06

Every custom type, with a real application: STRUCT for recipes, ENUM for machine modes, UNION for decoding fieldbus data, and arrays of structs for a whole tabulated line, then composing them into a production-line model.

Deep dive 6 chapters STRUCT Β· ENUM Β· UNION
New β†’
πŸ”’D7

Elementary data types

the built-in atoms

Every built-in type, with the gotchas: BOOL & bit-packing, the integer family & silent overflow, REAL vs LREAL precision, STRING & TIME literals, and converting safely.

Deep dive 6 chapters bits Β· ints Β· reals Β· strings
New β†’
πŸ“‘D8

Communication protocols

serial Β· Modbus Β· EtherCAT

How a controller talks to the field: the cyclic-vs-acyclic split, serial RS232/RS485, Modbus RTU & TCP (the register model), and EtherCAT (the Omron real-time model). For each one you learn what it is for, when to use it, and how variables move through it.

Deep dive 6 chapters fieldbus & serial
New β†’
On the workbench

Brewing next

🎭
Now live β†’

Simulation & digital twin

Run the controller with no hardware: simulate I/O, model the machine, and test logic against a virtual plant before commissioning. Beginner-friendly, fully interactive.