CAN – Ethernet Gateway
50
©
SYS TEC electronic GmbH 2007 L-1032e_9
- there are example configuration scripts for client and
server applications
(refer to section 3.5.2)
The CAN-Ethernet Gateway is in the set state following a
start with the customer specific configuration and can
attempt establishing a connection or wait for a connection
to be established.
The corresponding configuration script is selected and executed in the
event of a power-on or software reset, according to the requirements
listed above.
5.2
Example for a Customer-Specific Configuration Script
The following overview shows a series of commands and parameters
as used in the example file
rc
.
siocfg 9600
Switching on the RS-232 interface and
setting the baud rate
ipcfg 192.168.10.117
255.255.255.0
192.168.10.1
Setting the IP address, subnet mask and
standard Gateway
mkif led
Creating the LED interface for status display
/if/led0/fin +l +hd1
Configuration of the LED interface
mkif can
Creating a CAN interface
mkif udp
Creating a UDP client interface for
establishing an active connection to another
Gateway
mkif udpserv
Creating a UDP server interface
/if/can0 baud:0
canid:fe on
Configuring the CAN interface for 1 Mbit/s
with CAN error message, CAN interface is
switched on
/if/udp0
to:192.168.10.115 on
Configuring the UDP client interface with
target IP address entry, the interface is
switched on and starts the connection
Summary of Contents for GW-003
Page 5: ...Contents SYS TEC electronic GmbH 2007 L 1032e_9 Index 97 ...
Page 8: ...CAN Ethernet Gateway SYS TEC electronic GmbH 2007 L 1032e_9 ...
Page 14: ...CAN Ethernet Gateway 6 SYS TEC electronic GmbH 2007 L 1032e_9 ...
Page 56: ...CAN Ethernet Gateway 48 SYS TEC electronic GmbH 2007 L 1032e_9 ...
Page 66: ...CAN Ethernet Gateway 58 SYS TEC electronic GmbH 2007 L 1032e_9 ...
Page 100: ...CAN Ethernet Gateway 92 SYS TEC electronic GmbH 2007 L 1032e_9 ...
Page 108: ...Published by SYS TEC electronic GmbH 2007 Ordering No L 1032e_9 Printed in Germany ...