2 ethernet module ip address, 1 static ip address, 2 static ip address with can id – Horner APG XL4 OCS HE-ETN300 User Manual

Page 21: Ethernet module ip address, Static ip address, Static ip address with can id

Advertising
background image

SUP0740-07

CH.3

11/30/2009

Page 21 of 98

# 958

Note that the assigned IP Address register’s Direction can set to Read only or Read

/ Write.

If the register is Read only, the Default IP Address becomes the unit’s IP Address and

is loaded into the assigned register, where it can be read by the application. (Note: In
this case, the low octet of the IP Address can be replaced with the unit’s CAN Network
ID, by checking the Use CAN ID for last Octet checkbox.)

If the register is Read / Write, the application should write an IP Address to the
assigned register, and this value will then be the unit’s IP Address. (In this case, the
Default IP Address is used only if communication is lost during an I/O configuration
download; otherwise the Default IP Address is ignored.)

Protocol Support:

The Protocol Support area contains a list of all the protocols supported by the platform being
configured. To activate a protocol, check its checkbox.

For protocols that require additional configuration, click on a listed protocol to select it and then
click the Configure Selected Protocol button. This will open a new dialog with configuration
options for the selected protocol (Detailed configuration of the protocols is explained in the
corresponding chapters below).

6. Click OK to accept the new Ethernet Module configuration.

3.2

Ethernet Module IP Address


The Ethernet Module obtains its IP Address in one of three different ways, depending on how the
Use CAN ID for last Octet, Enhanced Configuration & IP Address direction checkboxes
(Figure 3.5) are configured, as described in the following three sections.

3.2.1

Static IP Address

‰

Use CAN ID for last Octet

‰

IP Address Direction (Read Only)


In this mode, the Ethernet Module’s IP Address comes from the IP Address parameter only, and
does not use the CAN Network ID for the low octet and does not use IP Address Register to
obtain an IP Address from an OCS register. In this case the Ethernet Module writes the static IP
Address to the 32-bit OCS register indicated by the IP Address Register parameter.

3.2.2

Static IP Address with CAN ID

9 Use CAN ID for last Octet

‰

IP Address Direction (Read Only)


In this mode, the Ethernet Module’s IP Address comes from a combination of the IP Address
parameter and the OCS/RCS CAN Network ID. The most significant (leftmost) three octets of the
IP Address come from the IP Address parameter. The least significant (rightmost) octet of the IP
Address is taken from the OCS (or RCS) CAN Network ID. In this case the Ethernet Module
writes the adjusted IP Address to the 32-bit OCS register indicated by the IP Address Register
parameter.

Advertising
This manual is related to the following products: