CAN – Ethernet Gateway
©
SYS TEC electronic GmbH 2007 L-1032e_9
4.5.4
mem............................................................................... 42
4.5.5
rm .................................................................................. 43
4.5.6
write .............................................................................. 43
4.5.7
cat .................................................................................. 44
4.5.8
sync ............................................................................... 44
4.5.9
version........................................................................... 45
4.5.10
exit................................................................................. 45
4.5.11
reset ............................................................................... 45
4.5.12
ipcfg .............................................................................. 46
4.5.13
siocfg............................................................................. 47
5
Gateway Configuration . 49
5.1
Fundamentals ............................................................................. 49
5.2
Example for a Customer-Specific Configuration Script............ 50
5.3
Creating a Configuration Script ................................................. 51
5.4
Resetting the Device to its Standard Configuration................... 52
5.5
Assigning Passwords ................................................................. 52
6
Error Handling .............. 53
6.1
CAN-Ethernet Gateway Error Signals....................................... 53
6.2
Error Indication under Windows ............................................... 56
6.3
Error Messages over CAN ......................................................... 56
7
Software Support ........... 59
7.1
Interfacing the CAN-Ethernet Gateway to a PC........................ 59
7.2
Driver Installation under Windows............................................ 59
7.3
Dynamic Linked Library
EthCan.Dll
........................................ 61
7.3.1
The Concept of the EthCan.Dll .................................... 61
7.3.2
EthCan.Dll
Function Interface...................................... 62
7.3.2.1
EthCanGetVersion......................................... 63
7.3.2.2
EthCanInitHardware...................................... 64
7.3.2.3
EthCanDeinitHardware ................................. 69
7.3.2.4
EthCanReadCanMsg ..................................... 73
7.3.2.5
EthCanWriteCanMsg .................................... 76
7.3.2.6
EthCanGetStatus............................................ 78
7.3.2.7
EthCanGetConnectionState........................... 80
7.3.2.8
EthCanResetCan............................................ 82
7.3.3
Error Code Description ................................................. 84
7.3.4
CAN Error Code Description ....................................... 88
7.3.5
Using the DLL Functions ............................................. 90
7.3.5.1
Demo project ................................................. 90
7.3.5.2
Starting the Demo Program ........................... 91
8
Updating the device Firmware ........................................................ 93
8.1
Preparations................................................................................ 93
8.2
Firmware download ................................................................... 94
Содержание 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 ...