RTC6 boards
Doc. Rev. 1.0.21 en-US
10 RTC6 Commands
377
Ctrl Command eth_set_com_timeouts
Function Sets timing information (for Ethernet communication) for an RTC6 Ethernet Board that is
entered in the RTC6 board management (and needs to be acquired, if
KeepAlive
and
KeepInterval
are to be changed).
Call
eth_set_com_timeouts( AcquireTimeout, AcquireMaxRetries, SendRecvTimeout,
SendRecvMaxRetries, KeepAlive, KeepInterval )
Parameters
AcquireTimeout
As an unsigned 32-bit value.
With 0 the parameter is not changed.
AcquireMaxRetries
See
AcquireTimeout
.
SendRecvTimeout
See
AcquireTimeout
.
SendRecvMaxRetries
See
AcquireTimeout
.
KeepAlive
See
AcquireTimeout
.
KeepInterval
See
AcquireTimeout
.
Result None.
Comments • See also Chapter 16.5.3 ”About the RTC6 Board Management”, page 905.
• The settings can be queried by eth_get_com_timeouts.
• All time specifications in µs.
• As a rule, it is not required to change these parameter values. In case of timing
problems contact SCANLAB in order to clarify your special local characteristics.
•
AcquireTimeout
,
AcquireMaxRetries
,
SendRecvTimeout
and
SendRecvMaxRetries
refer only
to the RTC6 DLL. Therefore, they can be set even without granted access right to an
RTC6 Ethernet Board.
•
KeepAlive
and
KeepInterval
are not set, if for the addressed RTC6 Ethernet Board
– there is no access right granted
(get_last_error return code
RTC6_ACCESS_DENIED
and
RTC6_ETH_ERROR
)
– there is a granted access right, but no connection is established
(get_last_error return code
RTC6_ETH_ERROR
)
• DLL 619:
No get_last_error return code is set with
KeepAlive
=
KeepInterval
= 0 because a
connection to an RTC6 Ethernet Board is not necessary.
• eth_set_com_timeouts_auto sets an automatic mechanism, see there.
RTC4RTC6 New command.
RTC5RTC6 New command.
Version info Available as of DLL 606, OUT 606, RBF 611.
Last change DLL 619: No longer an error message, if there is no RTC6 Ethernet Board
connection.
References eth_get_com_timeouts, eth_set_com_timeouts_auto