EasyManua.ls Logo

Sys Tec Electronic GW-003 - UDP;TCP Client Interface

Default Icon
108 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
CAN – Ethernet Gateway
28 © SYS TEC electronic GmbH 2007 L-1032e_9
4.2.3 UDP/TCP Client Interface
The UDP client interface makes a tunnel over UDP/IP/Ethernet
available in order to send or receive CAN messages. With the TCP
client interface the tunnel operates over TCP/IP/Ethernet. The
UDP/TCP client interface is instanceable, so that multiple, but not
more than 3 connections are possible simultaneously.
A UDP client interface is created with
mkif udp 0
using the interface number 0 or the next free number. It is used to
establish an active connection to another Gateway. The directory name
is selected automatically and is
/if/udp0 for the first interface.
A TCP client interface is created with the command
mkif tcp 0
Possible options:
<option> ::= {<addr> | <switch> | <alive> | <reco>}|<trig>
<addr> ::= to:<ipaddr>[:<port>]
setting the target IP address and the port of the UDP
server to be communicated with (default: IP address
192.168.10.111, port 8234) for an active connection
established by the Gateway
<switch> ::= {on | auto | off}
on starts active connection establishment
auto starts establishing a connection as soon as there are CAN
messages to be sent.
off stops the connection, any data that has not been
transferred will be discarded (default)

Table of Contents