Horner APG XL7 OCS User Manual
Page 30
![background image](/manuals/414261/30/background.png)
XL7 User Manual
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.3 - 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 Bit(s)
Status Indication
Status Values
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.
Get Settings From:
“Get settings from” allows the programmer to either configure the IP Address, Net Mask, or Gateway for
2 functions: Configuration or Register
Page 30 of 110