RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
362
Ctrl Command eth_get_card_info
Function Returns information about a particular RTC6 Ethernet Board enlisted in the
RTC6 board management and has been previously acquired once or is currently acquired.
Call
eth_get_card_info( CardNo, Ptr )
Parameters
CardNo
Index of the RTC6 Ethernet Board in the RTC6 board management.
As an unsigned 32-bit value.
Ptr
Card information.
As a pointer (in C and C++ data type ULONG_PTR, an
unsigned 32-bit value or unsigned 64-bit value) to an array of 16 unsigned
32-bit values.
Result None.
Comments • eth_get_card_info is not available as a multi-board command.
• For storage of the card information, the user program must provide (at the address
specified by
Ptr
) a memory area of 16 × 4 bytes.
• Card information:
[0] = Firmware version of the Ethernet communication software
[1] = Serial number
[2] = IP address (Big Endian format)
[3] = MAC address (lower 4 bytes)
[4] = MAC address (upper 2 bytes)
[5] = Is acquired (1 or 0)
[6] = IP address of the connected PC (Big Endian format)
[7] = Force DHCP (1 or 0)
[8] = Static IP address (Big Endian format)
[9] = Static net mask (Big Endian format)
[10]= Static gateway (Big Endian format)
[11]= UDP port for board searches
[12]= UDP port for exclusive connections
[13]= TCP port for an exclusive connection
[14]= Reserved
[15]= Reserved
• See also Chapter 16.5.3 ”About the RTC6 Board Management”, page 905.
RTC4RTC6 New command.
RTC5RTC6 New command.
Version info Available as of DLL 606, OUT 606, RBF 611.
References eth_count_cards, eth_get_card_info_search, eth_max_card, get_card_type