RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
380
Ctrl Command eth_set_port_numbers
Function Saves the UDP ports for board searches (
UDPsearch
) and exclusive connections (
UDPexcl
) as
well as the TCP port into the Flash Memory of the RTC6 Ethernet Board.
Call
Result = eth_set_port_numbers( UDPsearch, UDPexcl, TCP )
Parameters
UDPsearch
UDP port for board searches.
As an unsigned 32-bit value.
Allowed value range: [0…65,535].
Out-of-range values are clipped.
UDPexcl
UDP port for exclusive connections.
As an unsigned 32-bit value.
Allowed value range: [0…65,535].
Out-of-range values are clipped.
TCP
TCP port for exclusive connections.
As an unsigned 32-bit value.
Allowed value range: [0…65,535].
Out-of-range values are clipped.
Result Error code.
As an unsigned 32-bit value.
0: Success: OK.
1: Error: No access to the RTC6 Ethernet Board.
get_last_error return code
RTC6_ACCESS_DENIED
.
2: Error: No RTC6 Ethernet Board.
get_last_error return code
RTC6_TYPE_REJECTED
.
3: Error: Programming the Flash Memory is not possible.
The RTC6 Ethernet Board is possibly busy.
get_last_error return code
RTC6_BUSY
or
RTC6_FLASH_ERROR
.
Comments • Prerequisites for eth_set_port_numbers:
– No list must currently be executed on the RTC6 Ethernet Board.
– The RTC6 Ethernet Board must be entered in the RTC6 board management.
– The RTC6 Ethernet Board must have been acquired.
• If 0 is specified for a parameter, it is not overwritten.
• Saved parameters are not used until the RTC6 Ethernet Board has been restarted.
RTC4RTC6 New command.
RTC5RTC6 New command.
Version info Available as of DLL 606, OUT 606, RBF 611.
References eth_get_port_numbers