Skip to main content

Logical I/O for Data Exchange with the Standard Controller

The exchange of data between the safety controller and standard controller takes place via variables, which are defined in the logical I/Os Logical exchange device. In addition, a Logical Exchange GVL is created on the standard side and connected with the corresponding Logical exchange device.

This data is used as inputs/outputs in the safety controller; in the default application they are available as global variables.

Tip

The data flow between two variables is clear. This means that the same variable from one application cannot be exchanged with two variables of the other application.

Procedure. Steps for the configuration of data exchange between the safety controller and standard controller
  1. Adding the "Logical Exchange GVL" (see: Logical Exchange GVL)

  2. Adding the logical exchange device (see below)

  3. Connection of the logical exchange GVL with the Logical exchange device object of the safety application (see: Logical Exchange GVL)

Adding the Logical exchange device

  1. Select the Logical I/Os node point of the safety application object in the project tree.

  2. In the context menu, click Add Object → Logical Device.

  3. In the Add Logical Device dialog (see illustration) in the Logical devices category, select the desired logical I/O in the Logical exchange devices subcategory.

  4. Click the Add button.

In the Add Logical Device dialog, the following are defined for the individual variables:

  • Exchange direction: IN or OUT

    IN: From the default application to the safety application

    OUT: From the safety application to the default application

  • Data type: BYTE, DINT, INT, or WORD

NonSafeIO is created as the stack instance.

Tip

The exchange variables can be edited only in the logical IO. Variables cannot be entered or changed in the logical exchange GVL.

Tip

Only data whose variables possess a standard data type can be exchanged. Variables of a data type with the prefix SAFE cannot be exchanged between a safety controller and a standard controller.

If changes are made in the connected logical exchange device, then the Update button in the Logical Exchange GVL must be clicked in order to update the variable list.

Type consistency of the I/O channels

Important

The type consistency of the I/O channels is guaranteed only if the application revision levels on the safety controller and on the standard controller correspond to the revision level of the same translatable project.