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.
Adding the "Logical Exchange GVL" (see: Logical Exchange GVL)
Adding the logical exchange device (see below)
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
Select the Logical I/Os node point of the safety application object in the project tree.
In the context menu, click
.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.
Click the Add button.
The Device Editor of Logical I/Os opens.
In the Add Logical Device dialog, the following are defined for the individual variables:
Exchange direction:
IN
orOUT
IN
: From the default application to the safety applicationOUT
: From the safety application to the default applicationData type:
BYTE
,DINT
,INT
, orWORD
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.