![background image](http://html.mh-extra.com/html/sick/afm60-s01/afm60-s01_operating-instructions-manual_1264520056.webp)
Chapter
4
Operating Instructions
AFS60/AFM60 EtherNet/IP
56
Commissioning
Testing program
If the variable TEMP_Trigger is changed from 0 to 1 in the
Controller Organizer
, the
temperature value is displayed in the variable TEMP_Value (here: 39.00 °C).
4.4.2
Setting preset value
In the following example a preset value is to be set.
Defining and declaring variables
As the initial step the variables PRESET_Trigger, PRESET_OneShot, PRESET_Value and
PRESET_Message must be defined and declared for the program.
First the variable PRESET_Trigger is added, this variable controls the process.
In the
Controller Organizer
, using the right mouse button click
Controller Tags
and
select
New Tag
.
The
New Tag
dialog box opens.
Fig. 55: Display of the
temperature value in
TEMP_Value
Fig. 56: Adding a new
variable
Fig. 57: Definition of the
variable PRESET_Trigger
© SICK AG• Germany • All rights reserved
8018909/1EH9/2021-12-16
Subject to change without notice