Skip to content

Input - Output

class InputOutput

InputOutput is the abstract base for all hardware I/O pins on a controller interface. Its concrete subtypes - digital and analog, input and output - encode the signal direction and kind; you always create a concrete subtype, never InputOutput itself.

Defines input and outputs of controller at controller interface. Use extension if a controller must implement identical interface to parent, UI with different input, output definition.

DigitalInput / DigitalOutput

Digital input / output types without any data type definition. Generated as boolean input / output.

DataTypeInput / DataTypeOutput

Use input / output with data type definition property for:

  • Analog input / output (INT, WORD, LREAL, ...)
  • Structured types with multiple variables mapped for bus based input / outputs (CAN, IO-Link, ...)
  • Array type input / output: Since digital input, outputs has no array support, use data type input / output for array feature:

Define record with array of boolean:
bghw6yaz

Declare input / output:
kvy4kezy

Use array type input / output:
2jpxbzcg