CAN – Ethernet Gateway
24
©
SYS TEC electronic GmbH 2007 L-1032e_9
4.2
Interfaces
4.2.1
Fundamentals
CAN messages are exchanged over interfaces. An interface establishes
a connection between a CAN message input/output and the central
distributor (data pool in the Gateway module) in the CAN-Ethernet
Gateway. Multiple interfaces can be activated, as long as enough
memory is available on the Gateway.
The two most important interfaces are
can
for the CAN interface and
udp
or
tcp
for an Ethernet interface according to the block transfer
protocol.
While the CAN interface sends and receives CAN messages
to and from the CAN network, the UDP interface is responsible for
tunneling the messages over UDP/IP/Ethernet.
Available
Interfaces
Type
Maximum
amount
Requirements
CAN can
1 required,
mandatory
UDP Client
udp
3
required based on application needs
UDP Server
udpserv
1
required, mandatory
TCP Client
tcp
3
required based on application needs
TCP Server
tcpserv
1
required, mandatory
LED led
1 required,
mandatory
Table 6:
Interface Overview
The UDP interface transports the CAN messages based on the UDP
protocol while the TCP interface uses TCP as the transport protocol.
Both interface types are functionally identical but vary in terms of
transfer rate.
Interfaces are created with the command
mkif
and deleted with the
command
rm
. All interfaces that have been created appear in the
/if
directory. Within the interface directory there are 3 files. The files
fin
and
fout
are responsible for CAN message filtering
(refer to section
4.3)
. The file
conf
is intended for future expansions and currently
remains unused.
Содержание 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 ...