Horner APG XL6 OCS User Manual
Page 34
CH.7
MAN0883-05-EN
March 4, 2010
Page 34 of 135
#1037
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.)
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.)
Ethernet Module Register Usage - Enhanced Configuration
To perform Enhanced Configuration, first check the Enhanced Configuration checkbox. In this case,
IP Address, Net Mask, Gateway, Status and Version can all be optionally assigned to OCS
registers. By default, the register edit boxes are empty indicating that no registers are assigned.
As with the IP Address register (described in the Standard Configuration section above), Net Mask
and Gateway register Directions can be set to Read Only or Read / Write.
Ethernet Module Register Usage – General
For the Status and Version registers (if configured), the Direction settings are always Read Only.