beautypg.com

Horner APG QX351 OCS HEQX351C103 User Manual

Page 33

background image

MAN0892-03-EN

CH. 7

February 25, 2010 Page 33 of 109 #1039


4.

Configure the Ethernet Module parameters as follows:

IP Address: Enter the static IP Address for the Ethernet Module being configured.

Note: IP Addresses are entered as four numbers, each ranging from 0 to 255. These four numbers

are called octets and they are always separated by decimal points.

Net Mask: Enter the Net Mask (sometimes called Subnet Mask) being used by all nodes on the
local network. Typical local networks use Class C IP Addresses, in which case the low octet
(rightmost number) is used to uniquely identify each node on the local network. In this case, the
default Net Mask value of 255.255.255.0 should be used.

Gateway: Enter the IP Address of a Gateway Server on the local network that allows for
communication outside of the local network. To prevent the Ethernet Module from communicating
outside the local network, set the Default Gateway IP Address to 0.0.0.0 (the default setting).

Status Register:
Enter an OCS Register reference (such as %R100) to indicate which 16-bit OCS
register will have the Ethernet Status word written to it. Table 7.1 shows how this register value is
formatted and explains the meaning of each bit in the Status Word.

Table 7.1 - Ethernet Status Word Register Format

High Byte

Low Byte

Bit

16

Bit

15

Bit

14

Bit

13

Bit

12

Bit

11

Bit

10

Bit

9

Bit

8

Bit

7

Bit

6

Bit

5

Bit

4

Bit

3

Bit

2

Bit

1

0

0

Dup

Spd

0

Rx

Tx

Link

TCP Connections

Status Values

Status Bit(s)

Status Indication

Minimum

Maximum

0

Reserved

Always 0

Dup

Link Duplex (Auto-Negotiated)

0 = Half Duplex

1 = Full Duplex

Spd

Link Speed (Auto-Negotiated)

0 = 10 MHz

1 = 100 MHz

Rx

Receive State

0 = Inactive

1 = Active

Tx

Transmit State

0 = Inactive

1 = Active

Link

Link State

0 = Down

1 = Up

TCP Connections

Total Number of Active TCP Connections

(CsCAN, SRTP, Modbus, EIP, FTP, HTTP)

0

40


Version Register: Enter an OCS Register reference (such as %R101) to indicate which 16-bit OCS
register will have the Ethernet Firmware Version written to it. The value stored in the Version
Register is: (Ethernet Firmware Version * 100). For example, for Ethernet Firmware Version 4.30,
the Version register will contain 430.

Ethernet Module Register Usage - Standard Configuration

To perform Standard Configuration, simply leave the Enhanced Configuration checkbox unchecked.
In this case, Net Mask and Gateway cannot be assigned to OCS registers, while IP Address, Status
and Version must be assigned to OCS registers.

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.)

This manual is related to the following products: