3 ethernet/ip operation, Ethernet/ip operation – Horner APG XL4 OCS HE-ETN300 User Manual

Page 65

Advertising
background image

SUP0740-07

CH.9

11/30/2009

Page 65 of 98

# 958

9.3 Ethernet/IP

Operation


After configuring the Ethernet Module as described in section 9.2, it is ready to respond to
Ethernet/IP requests. The Ethernet Module handles unconnected requests anytime.

In order to exchange I/O data with the Ethernet Module, a class 1 connection pair must be
established. The connection pair consists of a class 1 originator-to-target connection and a class
1 target-to-originator connection, both of which should be set for point-to-point Transport Type.
The data sizes must match the Ethernet Module’s configured Consumed and Produced data
sizes, respectively. The application path should be set as follows:

• The originator-to-target connection point should be set to 100 (0x64), which stands

for the assembly class (4), instance 100 (0x64).

• The target-to-originator connection point should be set to 101 (0x65), which stands

for the assembly class (4), instance 101 (0x65).


There is NO configuration assembly instance. All of the class 1 connection pair setup data is
transmitted through a forward open service to the connection manager.

Once the class 1 connection pair is established, I/O data is exchanged to/from the Ethernet
Module through these connections. The Consumed data (data coming from the scanner) and
Produced data (data going to the scanner) are available at the locations within the OCS register
map as configured.

The TCP connections used for all encapsulated messages and explicit messages have an
inactivity timeout of 60 seconds. If the TCP connections are required to stay open, a NOP
encapsulated command can be used at a periodic rate to keep the TCP connection open.

When the OCS is not is RUN mode, Produced data is all zeros, and Consumed data is not written
to the configured registers within the OCS. When the OCS is in RUN mode, the configured
Produced OCS registers are read and sent as Produced data, while Consumed data is received
and written to the configured Consumed OCS registers.

The Status word provides Ethernet/IP connection status. The upper byte of the word contains the
Class 3 (Explicit) connection count and the lower byte contains the Class 1 (IO) connection count.

Note: When the Status word indicates no connections, the Consumed OCS registers contain old

data.















Advertising
This manual is related to the following products: