Switching outputs via PLC variable

The output can be switched at runtime via the process data "Control_Set digital output" and "Control_Set tristate".

Depending on the operation mode, writing of the output is triggered via the EtherCAT frame or cyclically by the local DC (Distributed Clocks). This makes it possible to set the output, e.g. to check the general function, without activating the automatic switching function.

Switching outputs via PLC variable 1:

Switching via PLC variable only with disabled automatic switching function

If the automatic switching function is enabled (0x70n1:02 "Control_enable thresholds output" = TRUE), the setting of the output via the PLC variables is ignored.

  • Make sure that the automatic switching function is disabled:
    0x70n1:02 "Control_enable thresholds output" = FALSE

The output can take the following status (n = 0 for output 1, n = 1 for output 2):

Control_Set tristate
(0x70n1:03)

Control_Set digital output
(0x70n1:01)

Meaning

FALSE

TRUE

The output is actively pulled to 24 V

FALSE

The output is actively pulled to 0 V

TRUE

TRUE

The output is switched to high-resistance

FALSE