RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
376
Ctrl Command eth_search_cards_range
Function Executes a search within a precisely specified IP address range and returns the number of
RTC6 Ethernet Boards which have answered.
Call
Result = eth_search_cards_range( StartIP, EndIp )
Parameters
StartIP
Start IP address in Big Endian byte order.
As an unsigned 32-bit value.
EndIp
End IP address in Big Endian byte order.
As an unsigned 32-bit value.
Result Number of RTC6 Ethernet Boards which have answered (within TimeOut).
As an unsigned 32-bit value.
Comments • eth_search_cards_range is not available as a multi-board command.
• To convert from the usual dotted decimal notation to Big Endian byte order,
eth_convert_string_to_ip can be used. See also Chapter 16.5.1 ”Notes on Working
with IP Addresses”, page 904.
• eth_search_cards_range executes the search by sending UDP packets to each
IP address within the specified address range.
It reliably covers the specified address range (compare to broadcast with
eth_search_cards).
• The TimeOut value can be set with eth_set_search_cards_timeout.
• The number of found RTC6 Ethernet Boards can also be queried by eth_found_cards
at a later time.
RTC4RTC6 New command.
RTC5RTC6 New command.
Version info Available as of DLL 606, OUT 606, RBF 611.
References eth_convert_string_to_ip, eth_found_cards, eth_search_cards,
eth_set_search_cards_timeout