RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
370
Ctrl Command eth_get_port_numbers
Function Returns the UDP ports for board searches (
UDPsearch
) and exclusive connections (
UDPexcl
)
as well as the TCP port of an RTC6 Ethernet Board.
Call
Result = eth_get_port_numbers( &UDPsearch, &UDPexcl, &TCP )
Result Error code.
As an unsigned 32-bit value.
0: Success: OK.
1: Error: Not an RTC6 Ethernet Board.
Returned
parameter
values
UDPsearch
UDP port for board searches.
As a pointer to an unsigned 32-bit value.
UDPexcl
UDP port for exclusive connections.
As a pointer to an unsigned 32-bit value.
TCP
TCP port for exclusive connections.
As a pointer to an unsigned 32-bit value.
All values are each 0, if the board is not an RTC6 Ethernet Board.
Comments • The values can also be queried by eth_get_card_info.
RTC4RTC6 New command.
RTC5RTC6 New command.
Version info Available as of DLL 606, OUT 606, RBF 611.
References eth_get_card_info, eth_set_port_numbers
Ctrl Command eth_get_serial_search
Function Returns the pertaining serial number for a specified RTC6 Ethernet Board in the search
result list.
Call
Serialnumber = eth_get_serial_search( SearchNo )
Parameters
SearchNo
Index in the search result list.
As an unsigned 32-bit value.
Result Serial number.
As an unsigned 32-bit value.
Comments • eth_get_serial_search is not available as a multi-board command.
• To create the search result list, use either eth_search_cards or
eth_search_cards_range. Their result value is the same as the one of
eth_found_cards. See also Chapter 16.5.2 ”About Searching RTC6 Ethernet Boards”,
page 904.
• The result value is 0 for
SearchNo
= 0 and
SearchNo
> eth_found_cards.
At the same time the get_last_error return code
RTC6_PARAM_ERROR
is generated.
• If an search has not yet been carried-out then automatically the following applies:
SearchNo
> eth_found_cards.
RTC4RTC6 New command.
RTC5RTC6 New command.
Version info Available as of DLL 608, OUT 608, RBF 611.
References get_serial_number, eth_get_card_info_search