-
Double-click POU“_01_Assignement_NOT” in the device tree.
-
Select “Assignment” from the ToolBox.
-
Drag and drop “Assignment” into the "Start here" field in network “1”.
-
Select “???” on the left side of the assignment, then select “...”.
-
Open the “Io Config_Globals_Mapping” mapping list and select “xDI_08_DA501_I1”.
-
Select [OK] to add this variable to the left side of the assignment connector.
-
Select “???” on the right side of the assignment connector and mark the "???".
-
Create a new local variable by typing in "xDrillerBroken1" which will replace the "???".
-
Press [Enter].
“Auto Declare” opens.
You see the written variable name and the data type BOOL. The scope is "VAR". It means it is a local variable within this POU.
-
Select [OK] to accept the entries.
-
Drag and drop “Network” from the ToolBox to the down-arrow of network 1.
You added a network “2” below network 1.