![background image](http://html.mh-extra.com/html/sick/afm60-s01/afm60-s01_operating-instructions-manual_1264520014.webp)
Chapter
3
Operating Instructions
AFS60/AFM60 EtherNet/IP
14
Product description
3.3.2
EtherNet/IP communication
MAC address
Each AFS60/AFM60 EtherNet/IP has a factory-assigned worldwide unique MAC address
for device identification. It is used for the identification of the Ethernet node. This 6 byte
device identification can not be changed and comprises the following components:
3 bytes manufacturer ID
3 bytes device ID
TCP/IP and UDP/IP
EtherNet/IP uses TCP/IP or UDP/IP for the communication.
For identification the IP address is required. A fixed address is assigned to the encoder
using the decade switches or the address is obtained from a DHCP server.
If the IP address is configured fix, only the least significant byte can be configured.
192.168.1.xxx is preset permanently.
Additionally the subnet mask (default = 255.255.255.0) and if required a gateway must
be configured in the network.
For real-time communication between the controller and the encoder in EtherNet/IP
Implicit messaging
is used. With implicit messaging, a connection is established between
two devices within the CIP to transfer, e.g., I/O data such as position, velocity etc. from the
encoder to the controller (see also section 3.4.3 “Position Sensor Object” on page 27).
Implicit messaging uses
UDP/IP
via port 2222. As a result a fast data rate is used.
Explicit messaging
is used in EtherNet/IP for communication that does
not
need to take
place in real time. Explicit messaging uses
TCP/IP
, it is used e.g. to transfer parameters
from the controller to the encoder (see also section 3.4.2 “Assembly Object” on page 22).
Common Industrial Protocol (CIP)
EtherNet/IP uses the CIP on the process layer. Similarly as e.g. FTP is used for the transfer
of files, this protocol is used for process control.
IP
UDP
TCP
HTTP
FTP
CIP
Ethernet
The AFS60/AFM60 EtherNet/IP meets the requirements of the EtherNet/IP protocol
according to IEC 61784
G
1 and those of the encoder profile 22h.
The encoder is an I/O adapter in the EtherNet/IP. It receives and sends explicit messages
and implicit messages either cyclic or on request (polled).
Fig. 4: CIP and other services
Process layer
Communication layers
Physical layer
Explicit messaging
Implicit messaging
© SICK AG• Germany • All rights reserved
8018909/1EH9/2021-12-16
Subject to change without notice