Mode:
Duration:
1
Coding works best on desktop or with an external keyboard.
Coding works best on desktop or with an external keyboard.
Sort items left or right based on color sensor.
void Update() {
int color = IOLink.GetInt("ColorID");
if (color == 1) {
IOLink.SetBool("PusherLeft", true);
}
else if (color == 2) {
IOLink.SetBool("PusherRight", true);
}
else {
IOLink.SetBool("PusherLeft", false);
IOLink.SetBool("PusherRight", false);
}
}Factory I/O scripting refers to automating, controlling, and interacting with Factory I/O simulations using C# (or Python via API). It enables programmatic control of virtual industrial environments, input/output devices, and process logic, allowing testing and validation of PLC programs without physical hardware.
Origin & Creator
Developed by Real Games in the mid-2010s to provide a realistic, interactive 3D environment for industrial automation training.
Industrial Note
Used extensively in education for PLC programming, industrial automation labs, and rapid testing of automation logic without requiring physical machinery.