Learn FACTORY-IO-SCRIPTING with Real Code Examples
Updated Nov 27, 2025
Explain
Factory I/O is a 3D industrial simulator for training and testing automation systems.
Scripting allows programmatic interaction with virtual sensors, actuators, and machinery.
Automation of repetitive testing scenarios and process sequences is possible.
Supports integration with PLCs via OPC, Modbus, and other industrial protocols.
Widely used in industrial automation education, PLC training, and rapid prototyping.
Core Features
API for programmatic control (C# or Python)
Event-driven interaction with simulation objects
Input/output mapping to virtual sensors and actuators
Custom scenario scripting and automation
Real-time monitoring and logging of simulation data
Basic Concepts Overview
Scenes - prebuilt or custom industrial environments
Objects - machines, sensors, conveyors, and actuators
Signals - digital or analog I/O representing process data
PLC connection - interface to control logic
Scripting - programmatic access to simulation elements
Project Structure
Factory I/O scenes (.fio files)
Scripts (.cs or .py files) for automation
I/O configuration files for PLC mapping
Supporting data files for input/output
Optional reports or logs for analysis
Building Workflow
Open or create a Factory I/O scene
Map sensors and actuators to I/O signals
Write scripts to control objects or respond to events
Connect to PLC or run simulation programmatically
Collect outputs and log data for analysis
Difficulty Use Cases
Beginner: Automate conveyor start/stop sequences
Intermediate: Program event-driven object interactions
Advanced: Simulate complete production lines with sensors
Expert: Integrate multiple PLCs with complex logic
Architect: Create full training scenarios with logging and automated testing
Comparisons
Factory I/O vs physical PLC labs: Safe, cost-effective, repeatable
Factory I/O vs MATLAB/Simulink: 3D industrial environment vs system modeling
Factory I/O vs Arena: Focused on industrial automation vs process simulation
Factory I/O vs Automation Studio: More accessible 3D visualization
Factory I/O vs Excel modeling: Visual, interactive simulation vs data-oriented analysis
Versioning Timeline
2014 - Factory I/O first released by Real Games
2016 - Added C# scripting API
2018 - Introduced Python scripting support
2019 - Enhanced 3D graphics and physics engine
2022 - Added OPC and Modbus protocol integration
2025 - Expanded scenario automation and cloud-based training features
Glossary
Factory I/O - 3D industrial automation simulator
Scene - Virtual industrial environment
Object - Machine, sensor, or actuator in a scene
Digital Input/Output - Signals representing process states
PLC - Programmable Logic Controller interfacing with simulation