Emsa HS500E Car Stereo System User Manual


 
CHAPTER 5: ETHERNET/IP PROTOCOL
5.5.1 Ethernet/IP Handshaking
To ensure that messages to and from the HS500E are properly delivered and
received, a handshaking mechanism has been implemented that uses a pair of
dedicated words in the exchange. The first two words in each Controller Tag are
dedicated to handshaking.
When new information is generated, the producing device (data producer) increments
a counter, and the consuming device (data consumer) copies that same counter
value to another memory location to signal that the information has been processed.
5.5.2 Ethernet/IP Handshaking Example
In the example below, EMS_READ1 is the Read Tag for Node 1 and EMS_WRITE1
is the Write Tag for Node 1.
NOTE: [0] indicates the first word, [1] indicates the second word in a Controller Tag.
1
The PLC writes a command to the Output area (of the Read Tag) and then
increments the counter in EMS_READ1 [1].
2
The counter in EMS_READ1 [1] is copied by the HS500E to EMS_WRITE1
[0] which acknowledges that it received the command.
HS500E – OPERATOR’S MANUAL P/N: 17-1305 REV02 (12-05)
PAGE 48 OF 82