CAN – Ethernet Gateway
26
©
SYS TEC electronic GmbH 2007 L-1032e_9
4.2.2
UDP/TCP Server Interface
The UDP server interface (
udpserv
) awaits UDP connection queries
from another Gateway and then creates a new UDP connection, which
is used for the CAN message exchange. Likewise, the TCP server
(
tcpserv
) awaits TCP connection queries and then creates a TCP
interface for communication if required.
The UDP/TCP interfaces created in this manner are removed by the
UDP/TCP server when the connection is ended or aborted. In order to
be able to react to TCP- as well as UDP-based queries, a TCP and a
UDP server interface both have to exist on the Gateway.
A UDP server interface is created with the command
mkif udpserv
↵
using the next available interface number. The directory name is
chosen automatically and is
/if/udpserv0
for the first interface.
A TCP server interface is created with the command
mkif tcpserv
↵
within
/if/tcpserv0
.
Possible options:
<option> ::= {port:<num>} | {trig:<cnt>[:<time>]}
<num>
contains the port number where the interface awaits
queries (default: 8234)
<trig> ::= trig:<cnt>[:<time>]
These parameters can be used to control the transmission of CAN
messages in TCP/UPD packets. A trigger threshold is set which
enables the transmission of a specific minimum number of CAN
messages in a UDP/TCP packet. To ensure that the packets are
transmitted after a maximum amount of time, even if the
minimum number of CAN messages has not been reached, an
additional timer event can initiate the transmission of the
UDP/TCP packet. These parameters are applicable for
Содержание GW-003
Страница 1: ...system house for distributed automation CAN Ethernet Gateway GW 003 Systems Manual Edition April 2007 ...
Страница 5: ...Contents SYS TEC electronic GmbH 2007 L 1032e_9 Index 97 ...
Страница 8: ...CAN Ethernet Gateway SYS TEC electronic GmbH 2007 L 1032e_9 ...
Страница 14: ...CAN Ethernet Gateway 6 SYS TEC electronic GmbH 2007 L 1032e_9 ...
Страница 56: ...CAN Ethernet Gateway 48 SYS TEC electronic GmbH 2007 L 1032e_9 ...
Страница 66: ...CAN Ethernet Gateway 58 SYS TEC electronic GmbH 2007 L 1032e_9 ...
Страница 100: ...CAN Ethernet Gateway 92 SYS TEC electronic GmbH 2007 L 1032e_9 ...
Страница 108: ...Published by SYS TEC electronic GmbH 2007 Ordering No L 1032e_9 Printed in Germany ...