Click or drag to resize

ControllerIOSystem Property

Gets the IOSystem class of the controller

Namespace:  ABB.Robotics.Controllers
Assembly:  ABB.Robotics.Controllers (in ABB.Robotics.Controllers.dll) Version: 6.5.129.0
Syntax
C#
public IOSystem IOSystem { get; }

Return Value

Type: IOSystem
An IOSystem reference that can be used to access objects in the IOSystem domain in the controller.
Exceptions
ExceptionCondition
GeneralExceptionA General Exception has occurred.
Examples
This example uses the IOSystem property of the Controller class to get a DigitalSignal instance, which references the signal USERDO1. The value of the DigitalSignal is inverted.
// Create a Controller instance
Controller c = new Controller();

// Get reference to IOSystem domain and get I/O signal USERDO1
DigitalSignal digSig = (DigitalSignal) c.IOSystem.GetSignal("USERDO1");

// Invert signal value
digSig.Invert();
See Also