![background image](http://html.mh-extra.com/html/sick/afm60-s01/afm60-s01_operating-instructions-manual_1264520073.webp)
Operating Instructions
Chapter
6
AFS60/AFM60 EtherNet/IP
73
Annex
Fig. 42: Opening MainRoutine..............................................................................................52
Fig. 43: Adding ExamineOn block.........................................................................................52
Fig. 44: Allocation of the variable TEMP_Trigger to ExamineOn ........................................52
Fig. 45: Adding ONS block ....................................................................................................53
Fig. 46: Allocation of the variable TEMP_OneShot to ONS.................................................53
Fig. 47: Adding MSG block ...................................................................................................53
Fig. 48: Allocation of the variable TEMP_Message to MSG................................................54
Fig. 49: Opening configuration dialog box for the MSG block ............................................54
Fig. 50: Configuration dialog box for the MSG block...........................................................54
Fig. 51: Communication tab .................................................................................................55
Fig. 52: Selecting encoder....................................................................................................55
Fig. 53: Selected encoder.....................................................................................................55
Fig. 54: Transferring the program to the control system ....................................................55
Fig. 55: Display of the temperature value in TEMP_Value .................................................56
Fig. 56: Adding a new variable .............................................................................................56
Fig. 57: Definition of the variable PRESET_Trigger .............................................................56
Fig. 58: Definition of the variable PRESET_OneShot ..........................................................57
Fig. 59: Definition of the variable PRESET_Value ...............................................................57
Fig. 60: Definition of the variable PRESET_Message..........................................................58
Fig. 61: Variable structure for setting a preset value..........................................................58
Fig. 62: Opening MainRoutine..............................................................................................58
Fig. 63: Adding Rung block...................................................................................................59
Fig. 64: Adding ExamineOn block.........................................................................................59
Fig. 65: Allocation of the variable PRESET_Trigger to ExamineOn.....................................59
Fig. 66: Adding ONS block ....................................................................................................60
Fig. 67: Allocation of the variable PRESET_OneShot to ONS .............................................60
Fig. 68: Adding MSG block ...................................................................................................60
Fig. 69: Allocation of the variable PRESET_Message to MSG ............................................61
Fig. 70: Opening configuration dialog box for the MSG block ............................................61
Fig. 71: Configuration dialog box for the MSG block...........................................................61
Fig. 72: Communication tab .................................................................................................62
Fig. 73: Selecting encoder....................................................................................................62
Fig. 74: Selected encoder.....................................................................................................62
Fig. 75: Transferring the program to the control system ....................................................62
Fig. 76: Display of the preset value in PRESET_Value........................................................63
Fig. 77: Position of the LEDs ................................................................................................64
8018909/1EH9/2021-12-16
Subject to change without notice
© SICK AG• Germany • All rights reserved