
Figure 78: Configuration dialog of the MSG block
11. Configure the following parameters in the Configuration tab:
°
Service Type
: Get Attribute Single (
°
Instance
: 1 (as only one device is connected to the controller)
°
Class
: 23(h) (position sensor object,
)
°
Attribute
: 64(h) (Temperature Value,
°
Destination
: TEMP_Value
NOTE
TEMP_Value is the fourth variable created. The value of the temperature is written
into this when the example program is executed.
12. Open the Communication tab.
Figure 79: Communication tab
13. Next to the
Path
field, click the
Browse...
button.
✓
The
Message Path Browser
dialog opens.
14. Select the connected encoder.
5
CONFIGURATION USING A PLC
80
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