EasyManua.ls Logo

Sys Tec Electronic GW-003 - Page 4

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
© 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

Table of Contents