Figure 88: Definition of variable PRESET_Message
8. In the New Tag dialog, enter PRESET_Message in the Name field, select the MES‐
SAGE data type in the Data Type field and click on OK.
The following figure shows the resulting variable structure for setting a preset
value:
Figure 89: Variable structure for setting a preset value
Defining process flow
After the variables have been defined and declared, the program blocks must be
inserted into the ladder logic and the variables assigned accordingly.
1. Open the MainRoutine window under Tasks → Main Task → MainProgram .
5 CONFIGURATION USING A PLC
86
O P E R A T I N G I N S T R U C T I O N S | AFS/AFM60 EtherNet/IP 8014213/1EF3/2021-12-08 | SICK
Subject to change without notice