Home

AnaGate CAN USB - Manual

image

Contents

1. AI 30 iii 2007 2014 Analytica GmbH List of Figures SER SA S FUWOONDAUARWNHFNE Left view AnaGate CAN USB 2 444 4 444 1 2 Right view AnaGate CAN USB me mmm 3 HTTP interface AnaGate CAN USB i 12 HTTP interface network settings namen a eee meme 13 HTTP interface CAN settings nennen ann nun mmm seen 14 interface CAN Settings ayu ua seni ea Li 15 HTTP interface Status er ee le ei erben 16 HTTP interface Lua settings ea 18 AnaGate CAN USB Example blinking output 20 HTTP interface AnaGate CAN USB nenne nennen nennen nenne 21 HTTP interface firmware update 2 0 04 21 AnaGate CAN USB in gateway mode 23 iv 2007 2014 Analytica GmbH List of Tables 1 1 Technical data AnaGate CAN USB ii 1 di 2 Pin layout CAN plug in i ea a es LA 3 A 1 Using AnaGate hardware with firewall eee e nam namen nn namen 26 2007 2014 Analytica GmbH List of Examples 3 1 Settlngs IDi il e 24 vi 2007 2014 Analytica GmbH Introduction This document describes the features and objectives of the CAN USB Gateway AnaGate CAN USB vii 2007 2014 Analy
2. Treibersoftware wird installiert 10 2007 2014 Analytica GmbH Configuration Die Treibersoftware wurde erfolgreich aktualisiert Die Installation der Treibersoftware f r dieses Ger t ist abgeschlossen Li NDIS kompatibles Remoteger t i 2 1 3 Factory settings The AnaGate CAN USB is delivered with the following initial network settings IP address 192 168 2 1 Address type static Network mask 255 255 255 0 IP address PC 192 168 2 2 The device can now be configured using a standard browser Internet Explorer Firefox etc by using http 192 168 2 1 11 2007 2014 Analytica GmbH Configuration 2 2 2 Index Mozilla Firefox Datei Bearbeiten Ansicht Chronik Lesezeichen Extras Hilfe c Ae http 192 168 2 1 Rz j gr AnaGate AnaGate CAN USB Welcome to the Web Interface of the AnaGate CAN USB device AnaGate CAN USB Device information IP Settings CAN Settings Status Device IP address 192 168 2 1 e PC IP address 192 168 2 2 Lua Fe USB Subnet mask 255 255 255 0 MAC 76 02 51 11 7 amp 8B Serial 01020800 Versions 1 3 10 Oct 28 2010 Hardware version 1 2 0 DIM core version 1 2 0 Driver version 1 3 5 Webinterface version Software version 1 3 0 Copyright 2008 2010 Analytica GmbH www anagate de Stand Oct 28 2010 Figure 2 1 HTTP interface AnaGate CAN USB Network settings On the page IP Settings the f
3. System is addressed using a proprietary network protocol Static IP address configuration for the AnaGate CAN USB the virtual PC network card is configured automatically via DHCP Several simultaneous network connections 5x TCP are supported on the CAN interface Specification Technical aspect Specfication Measurements Desktop casing 120mm x 58mm x 32mm Weight approx 125g CAN bus Baud rate 10 20 50 62 5 100 125 250 500 800 or 1000 kbps software configuration CAN controller 1x Microchip MCP 2515 CAN interface 1x ISO 11898 2 galvanic decoupled Interface 1x DB9 plug incl CAN_L and GND USB interface Signaling rate 12 Mbps 1 2007 2014 Analytica GmbH Description Technical aspect Specfication TCP IP Static addresses dynamic assignment DHCP to the PC Interface USB connector type B Voltage supply Voltage 5V direct current via USB Power consumption 500 mA Ambient Storage 0 85 C temperature In operation 0 60 C Table 1 1 Technical data AnaGate CAN USB Note Protect the AnaGate CAN USB from direct sunlight 1 3 Scope of delivery The AnaGate CAN USB is supplied with the following components e 1x AnaGate CAN USB e 1x CD with manual programming API for Windows Linux CANopen driver for CANFestival e 1x USB 2 0 cable 1 4 Interfaces and plugs 1 4 1 AnaGate CAN USB left view Figure 1 1 Le
4. 7 Firmware Current Version 1 3 9 Aug 5 2010 Copyright 2008 2010 Analytica GmbH www anagate de Stand Aug 4 2010 Figure 2 9 HTTP interface firmware update e Select the update package file extension upd via the Browse button 21 2007 2014 Analytica GmbH Configuration e Clicking on the button Upload loads the update file to the device and starts the update process e During the update process several installation messaged are displayed on the website If the update is successfully finished Update done is displayed When the update is finished the browser navigates back to the home page Check if the new firmware version is display here Warning If the firmware could not be flashed correctly on the device the AnaGate may not longer ready for operation Please visit our web site http www anagate de for further information 22 2007 2014 Analytica GmbH Chapter 3 Fields of application 3 1 If the AnaGate CAN USB is connected to the CAN bus mind the following facts e CAN This line has to be connected to the CAN Low line of the CAN bus e This line has to be connected to the CAN_High line of the CAN bus e GND This line can be connected optionally to GND of the other bus devices Gateway mode In gateway mode the CAN messages are transferred transparently over TCP IP between the CAN network and the PC in both directions The AnaGate CAN USB uses no unique CAN ID whe
5. da Microsoft Common Controller Windows Klasse 8 Mobile Ger te Modems K Monitore Multifunktionsadapter o Netzwerkclient 8 Netzwerkdienst 4 Netzwerkprotokoll Nicht PnP Treiber PCMCIA Adapter m Firstly select Microsoft Corporation in the manufacturer list on the left and then Remote NDIS Compatible Device on the right 2007 2014 Analytica GmbH Configuration Netzwerkadapter ausw hlen W hlen Sie den passenden Netzwerkadapter aus und klicken Sie auf OK Klicken Sie auf Datentr ger wenn Sie ber einen Installationsdatentr ger f r diese Funktion verf gen Hersteller Netzwerkadapter Microsoft N ompatibles Remoteger t Microso Eal Remote NDIS based Internet Sharing Device Motorola Inc NEC Eg Der Treiber hat eine digitale Signatur Warum ist Treibersignierung wichtig 9 Click Next and confirm the warning with Yes P s Updati Y Es wird nicht empfohlen diesen Ger tetreiber zu installieren da nicht best tigt werden kann dass er mit den vorhandenen Hardwarekomponenten kompatibel ist Wenn der Treiber inkompatibel ist wird die Hardwarekomponente m glicherweise nicht einwandfrei funktionieren Der Computer kann instabil werden oder wird nicht mehr funktionieren M chten Sie die Installation dieses Treibers fortsetzen 10 The driver software installation finishes after a short waiting time x GENK OSO S
6. 2 SCL SDA SPI CLK MISO SS MOSI TRST SRST JTAG TDI TDO TMS DHCP Inter Integrated Circuit Serial Clock Line Serial DAta Line Serial Peripheral Interface Clock Master In Slave Out Slave Select Master Out Slave In Test Reset Slave Reset Joint Test Action Group Test Data Input Test Data Output Test Mode Select Input Test Clock Dynamic Host Configuration Protocol 29 2007 2014 Analytica GmbH Bibliography Books LuaRef2006 EN Roberto Ierusalimschy Luiz Henrique Figueiredo and Waldemar Celes Copyright 2006 R Ierusalimschy L H de Figueiredo W Celes ISBN 85 903798 3 3 Lua org Lua 5 1 Reference Manual LuaProg2006 EN Roberto Ierusalimschy Copyright 2006 Roberto Ierusalimschy Rio de Janeiro ISBN 85 903798 2 5 Lua org Programming in Lua second edition LuaProg2013 EN Roberto Ierusalimschy Copyright 2013 Roberto Ierusalimschy Rio de Janeiro ISBN 85 903798 5 X Lua org Programming in Lua Third Edition Other publications NXP I2C NXP Semiconductors Copyright 2007 NXP Semiconductors UM10204 I2C bus specification and user manual Rev 03 19 06 2007 TCP 2010 Analytica GmbH Copyright 2010 Analytica GmbH Manual communication Version 1 2 6 15 05 2008 Prog 2013 Analytica GmbH Copyright 2013 Analytica GmbH AnaGate API 2 Programmer s Manual Version 2 0 15 05 2013 CiA DS301 Copyright 2002 CAN in A
7. 6 Confirm the Windows Logo warning with Continue Anyway Hardwareinstallation Die Software die f r diese Hardware installiert wird Linux USB Ethemet RNDIS Gadget hat den Windows Logo T est nicht bestanden der die Kompatibilit t mit Windows XP berpr ft Warum ist dieser Test wichtig Das Fortsetzen der Installation dieser Software kann die korrekte Funktion des Systems direkt oder in Zukunft beeintr chtigen Microsoft empfiehlt strengstens die Installation jetzt abzubrechen und sich mit dem Hardwarehersteller f r Software die den Windows Logo Test bestanden hat in Verbindung zu setzen Installation abbrechen 7 The driver software installation finishes after a short waiting time 5 2007 2014 Analytica GmbH Configuration Hardwareupdate Assistent Die Software wird installiert iu Linux USB Ethemet RNDIS Gadget Hardwareupdate Assistent Fertigstellen des Assistenten Die Software fur die folgende Hardware wurde installiert Linux USB Ethemet RNDIS Gadget Klicken Sie auf Fertig stellen um den Vorgang abzuschlie en Fertig stellen Sbbrecher 2 1 2 Microsoft Windows 7 und Windows 8 8 1 1 If you use Microsoft Windows 7 and Windows 8 then open the Control Panel via the Start menu 2 Switch the display mode in the upper right corner to small symbols 6 2007 2014 Analytica GmbH Configuration lt EF Systemsteuerung gt Datei Bearbei
8. Extras Hilfe c z http 192 168 2 1 BIC E 7 E AnaGate USB Welcome to the Web Interface of the AnaGate CAN USB device AnaGate CAN USB Device information IP Settings CAN Settings Status Device IP address 192 168 2 1 meae PC IP address 192 168 2 2 Lua Copyright USB Subnet mask 255 255 255 0 MAC 76 02 51 11 7 8 Serial 01020800 Versions 1 3 10 Oct 28 2010 Hardware version 1 2 0 DIM core version 12 0 Driver version 1 3 5 Webinterface version Software version 1 3 0 Copyright 2008 2010 Analytica GmbH www anagate de Stand Oct 28 2010 Figure 2 8 HTTP interface AnaGate CAN USB Proceed please as follows in order to install the firmware on the AnaGate CAN USB e Click Firmware on the left navigation bar to navigate to the Firmware Upload page Firmware Mozilla Firefox Datei Bearbeiten Ansicht Chronik Lesezeichen Extras Hilfe 7 Ps http 10 1 2 224 index cgi site Fwupload 2 Fx Firmware AnaGa te x AnaGate CAN USB Firmware update To update the AnaGate CAN USB please select the firmwarefile and press the update button The AnaGate CAN USB update can take several minutes If the update is done the browser returns on the main page Please check there basised on the version numbers whether the update was successful IP Settings CAN Settings Remarks Use only software which is specified for this equipment Status Firmware
9. Hardwarekomponente installieren RNDIS Ethemet Gadget Falls die Hardwarekomponente mit einer CD oder Diskette geliefert wurde legen Sie diese gt jetzt ein Wie machten Sie vorgehen Software automatisch installieren empfohlen oftware von einer Liste oder bestimmten Quelle Klicken Sie auf Weiter um den Vorgang fortzusetzen lt Zur ck Weiter gt Abbrechen 5 Click Search for the best driver in these locations and select the Include this location in the search checkbox Insert the driver CD ROM and select the driver file at drivers AnaGateUSB XP linux inf on the CD ROM by clicking the Browse button Then click the Next button Assistent f r das Suchen neuer Hardware Wahlen Sie die Such und Installationsoptionen Diese Quellen nach dem zutreffendsten Treiber durchsuchen Verwenden Sie die Kontrollk stchen um die Standardsuche zu erweitern oder einzuschr nken Lokale Pfade und W echselmedien sind in der Standardsuche mit einbegriffen Der zutreffendste Treiber wird installiert Wechselmedien durchsuchen Diskette CD Folgende Quelle ebenfalls durchsuchen Ey x Durchsuchen O Nicht suchen sondern den zu installierenden Treiber selbst w hlen Verwenden Sie diese Option um einen Geratetreiber aus einer Liste zu w hlen Es wird nicht garantiert dass der von Ihnen gew hlte Treiber der Hardware am besten entspricht lt Zur ck Weiter gt Abbrechen
10. baal settings FW 1 3 16 Revision 14 08 2013 ASc Description of advanced unit settings on web configuration page 1 2 Advanced settings FW 1 3 19 and the informational Status page Revision 01 04 2014 ASc Support of CANopen Conformance Test Tool of the CiA 1 3 Table of Contents Introduction ET vii 1 Description ap iL O da vea ds 1 Tee Features sida ana 1 1 2 Specification omnia i lr RN TRI 1 1 3 Scope of delivery 6 mener nen 2 1 42 Interfaces and Blugs Hain 2 2 Configuration naam ajaa a aa i a nme 4 2 1 Initial installation xen tene en 4 2 2 NetWork settings L u enm Qu IR Q A ail 12 2 3 CAN settings oue D Eee tmm abile lio 13 2 4 Advanced Settings rss ns ana get 15 2 52 Device status u soi ORA A NOU 15 2 6 Functional extensions based on Lua 17 2 7 Factory reset 22H dea er Ka E CONS 19 2 8 Firmware update 4 1 6 666 20 3 Flelds Of application rar een 23 3 1 Gateway Mode RR iah wees 23 3 2 CANopen Conformance Test Tool 4 00 2222 24 A FAQ Frequently asked questions nnns 25 Technical support creer teret iD 28 Abbreviations reais uu A AR RI 29
11. not sent fast enough successfully to CAN bus This may be a resultant problem 16 2007 2014 Analytica GmbH Configuration of timeouts during transmission or of overloading the CAN bus concerning the current used baud rate CAN Receive Error Register Rx Err Count of the CAN Transceiver CAN Transmit Error Register Tx Err Count of the CAN Transceiver Network Error TCP UPD transmit error CAN firmware After clicking the button Clear all saved diagnosis entries are deleted on the device To reset the system counters the device must be switched off 2 6 Functional extensions based on Lua On an AnaGate CAN USB it is possible to execute self created applications with an installed Lua script interpreter see Prog 2013 for a detailed description of all programming features On the page Lua Lua script files can be uploaded to the device and executed locally 17 2007 2014 Analytica GmbH Configuration 2 Lua Mozilla Firefox Datei Bearbeiten Ansicht Chronik Lesezeichen Extras Hilfe e e Ps http 10 1 2 225 index cgi site lua amp name Get Serial amp action start Y 3 An aa G aa te Fr AnaGate CAN USB Lua settings To add a lua script select the scriptfile and press the upload button AnaGate CAN USB z A Remarks Use only scripts which are compatible with this equipment IP Settings CAN Settings i Status Durchsuchen Upload Clear Firmware Lua Running script
12. 002 5008 AnaGate CAN 1 5001 AnaGate CAN X2 5001 5101 AnaGate CAN X4 5001 5101 5201 5301 AnaGate CAN X8 5001 5101 5201 5301 5401 5501 5601 5701 Table A 1 Using AnaGate hardware with firewall A 2 Questions concerning AnaGate CAN Q A What is the value of the termination resistor when the termination option of the device is activated The termination resistor of the AnaGate is driven by a FET transistor The resistor itself has 110 Ohm while the internal resistance of the FET is 10 Ohm if the FET is activated So the resulting resistance is 120 Ohm as required by the CAN bus Does Analytica offer a CAN gateway which does not have a galvanically isolated CAN interface Any device that is actively connected to a CAN bus should be galvanically isolated Especially when using USB operated devices like the AnaGate USB it is essential to have a galvanically isolated device because the device is power supplied by the PC How to directly interconnect two CAN ports 26 2007 2014 Analytica GmbH FAQ Frequently asked questions If you want to interconnect two AnaGate CAN just via a direkt link CAN cable you have to switch on the internal termination on both AnaGate CAN devices A CAN bus network must have a termination on each side Note it may work with lower baud rates without termination but it is recommended to use a termination Receiving a NAK when sending a CAN telegram If no CAN part
13. AnaGate CAN USB User Manual Analytica GmbH J Gossens Analytica GmbH AnaGate CAN USB User Manual Analytica GmbH by J Gossens This document was generated with DocBook at 2014 10 31 12 46 37 PDF Datei dtsch AnaGate CAN USB 1 3 pdf PDF Datei engl AnaGate CAN USB 1 3 EN pdf Publication date 14 August 2013 Copyright 2007 2014 Analytica GmbH Abstract This manual describes the intefaces and modes of operation of a AnaGate CAN USB All rights reserved the information in this manual was compiled with the greatest of care However no warranty can be given for it No parts of this manual or the program are to be reproduced in any way printing photocopying microfilm or any other process without written authorisation Any processing duplication or distribution by means of any electronic system is also strictly prohibited You are also advised that all the names and brand names of the respective companies mentioned in this documentation are generally protected by brand trademark or patent laws Analytica GmbH VorholzstraBe 36 76137 Karlsruhe Germany Fon 49 0 721 43035 0 Fax 49 0 721 43035 20 lt support analytica gmbh de gt www analytica gmbh de http www analytica gmbh de www anagate de http www anagate de Revision History Revision 01 10 2010 JGo Initial version 1 0 Revision 05 10 2011 ASc New option Boot with operational mode on web configuration side CAN
14. Copyright Get_Serial lua Available scripts CAN_Basic lua Delete Boot Get Serial lua Delete Boot Script output Register CAN functions Register CANopen functions Register SPI functions Register I2C functions Register TCPServer functions Functions CAN CANOpen SPI I2C TCPServer Version 1 0 5 Script lua Get Serial lua Connected to localhost Ihave successfully retrieved the current serial and MAC 5 01 02 02 1D 00 50 C2 3C B2 1D Error output Copyright 2008 2010 Analytica GmbH www anagate de Stand Aug 4 2010 Figure 2 6 HTTP interface Lua settings Browse Opens a file upload dialog to select a Lua script file Upload Uploads the selected script file to the device Clear Clears the current script file selection Boot script Script file executed on system startup Via the button Delete the boot script can be deactivated Only one boot script is allowed Running script Displays the currently executing script file Via the button Stop the execution can be cancelled Available scripts Displays all scripts which are currently available on the device 18 2007 2014 Analytica GmbH Configuration To start the execution of a script click on the button Start Via button Delete a script can be deleted on the device and via Boot a script can be defined as boot script script output area In this text area the standard output stdout of the currently executing script is displaye
15. TI extension files can be find on the AnaGate CD in the path Tools COTI In addition the configuration file Settings ini must be customized The configuration file must also be placed in the installation path of the CCT it can be edited by a standard text editor like Notepad The following entries are contained in the file Settings ini Interface0 Beil WG 52 1 Port 0 Example 3 1 Settings ini IP IP Address of the used AnaGate CAN Gateway Default address is 192 168 1 254 this is the standard network address of all models with Ethernet interface For devices of model type AnaGate CAN USB the entry 1P 192 168 2 1 has to be used Port Used CAN Port of the AnaGate CAN Gateway For devices of model type AnaGate CAN USB the entry port 0 has to be used 24 2007 2014 Analytica GmbH Appendix A FAQ Frequently asked questions Here is a list of frequently asked questions A 1 Common questions Q A No USB connection Please check first the physical connection to the device Basically the AnaGate has to be connected to a personal computer either directly or through a USB hub To establish the connection a cable with a type A plug at one end and a type B plug at the other end needs to be used The physical interconnection is ok if the green power LED lights up while a USB cable is plugged in and is connected to a running PC The green LED keeps being on until the connection breaks down If the
16. d Via the button Clear this text area can be cleared error output area In this text area the standard error output stderr of the 2 7 Facto currently executing script is displayed Via the button Clear this text area can be cleared Tip The text areas for script and error output are not refreshed automatically A manual page reload of the current page refreshes both text areas ry reset In order to restore the default factory settings hold the RESET for approx 10 seconds If the device is reset successfully the yellow LED blinks until the RESET is released The default factory settings are activated immediately without a restart of the device IP address 192 168 2 1 Address type static Network mask 255 255 255 0 IP address PC 192 168 2 2 Important If the RESET push button is pressed too briefly the actual IP address and network mask is pulsed via the yellow LED Morse code A second push of the RESET terminates the pulsing the device is not reset Note The factory reset is not possible directly after power on until complete loading of the operating system and the firmware of the device This initialization period is signalled via the yellow busy LED On power on the LED is switched on and after initialization the LED is switched off Note Maybe the ARP cache of the PC has to be deleted to find the device with the changed IP address Note After changing the PC IP address the operating system
17. ft view AnaGate CAN USB The left side of the AnaGate CAN USB features the following connectors and LEDs from left to right USB Port The AnaGate CAN USB is connected to the PC via this USB port A cable with a type A USB plug at its one end and a type B USB plug at the other end needs to be used 2 2007 2014 Analytica GmbH Description Busy LED This yellow LED lights up when the AnaGate CAN USB is processing incoming CAN messages Power LED This green LED lights up when voltage is being supplied via the USB port Reset The AnaGate CAN USB can be reset to the factory settings using this button see Section 2 7 Factory reset for further details 1 4 2 AnaGate CAN USB right view Figure 1 2 Right view AnaGate CAN USB The right side of the AnaGate CAN USB features the following connectors and LEDs from left to right CAN port 9 pin D sub connector to connect the CAN bus recommondation DS 102 The pin allocation of the plug can be inferred from the following table Pin Description 3 GND Dam 2 CAN_L BEREITS 50 49 30 20 10 1 4 6 8 9 not connected 7 Table 1 2 Pin layout CAN plug Activity LED This green LED lights up on activity on the CAN line 2007 2014 Analytica GmbH Chapter 2 Configuration 2 1 Initial installation First the AnaGate CAN USB must be connected to the PC via USB If the PC shows a notification that no device dr
18. gsinformationen und tools Netzwerk und Freigabecenter Problembehandlung Programme und Funktionen Lc RemoteApp und Desktopver af Sound 8 Region und Sprache und Wiederherstellen launch it with administrator priviledges Sto Systemsteuerung durchsuchen 2 Anzeige Kleine Symbole v Anzeige Center f r erleichterte Bedienung dj Erste Schritte Ger te Manager D Infobereichsymbole 8 Java 32 Bit Offnen Als Administrator ausf hren N Verkn pfung erstellen Minianwendungen Ortungs und andere Sensoren Realtek HD Audio Manager rbindun Schriftarten 6 Spracherkennung Als Administrator ausf hren 4 Right click the entry RNDIS Ethern is marked with a yellow exclamation Software et Gadget below Other Devices that mark symbol and select Update Driver 2007 2014 Analytica GmbH Configuration Datei Aktion Ansicht BRD BAR e NE ay PC STOEV i gt Andere Ger te fg RNDIS Ethernet Gadget b Anschl sse COM amp LPT Treibersoftware aktualisieren N pa Audio Video und Gameci Deaktivieren gt 188 Computer Deinstallieren b f DVD CD ROM Laufwerke b 9 Eingabeger te Human Inte Nach ge nderter Hardware suchen b Me Grafikkarte gt IDE ATA ATAPI Controller BSenschaften Da Laufwerke b n M use und andere Zeigeger te p IM Monitore b Lu Netzwerkadapter gt JM Prozess
19. he new value If the change must be used immediately then temporarily disconnect the AnaGate CAN USB from the PC to enforce an update of the used address 2 3 CAN settings On the page CAN Settings the global settings for the CAN interface are displayed and can be changed individually 13 2007 2014 Analytica GmbH Configuration 2 CAN Settings Mozilla Firefox Datei Bearbeiten Ansicht Chronik Lesezeichen Extras Hilfe sal e e Ps ohttp 10 1 2 224 index cgi site can bridge x CAN Settings AnaGate AnaGate CAN USB Global setting Press the save button to apply changes Remarks 4 CAN Port can not be bridged to itself AnaGate CAN USB IP Settings CAN Settings Current settings Status Firmware wa Port A Copyright Baudrate 250kbitfs Termination High Speed MI v Boot with operational mode offline v Save settings Copyright 2008 2011 Analytica GmbH www anagate de Stand Aug 29 2011 Figure 2 3 HTTP interface CAN settings Baudrate The baud rate can be selected easily via a list box containing all supported values Termination Use the check box to switch on off the internal termination resistor High Speed Activates deactivates the Highspeed mode In this operating mode all incoming outgoing CAN telegrams are not longer confirmed by the opposite LAN side to accelerate process throughput Software Filters are switched off too in this mode Boot with o
20. iagnostic messages The counts could be zeroed by an reboot AnaGate CAN uno only news s Counter Advanced Settings status Feuers TCP Receive Copyright TCP Transmit CAN Receive CAN Transmit CAN Discard CAN Receive Error CAN Transmit Error Network Error Diagnosis Date Description Wed Dec 31 19 45 18 1969 Firmware startup Figure 2 5 HTTP interface Status TCP Receive Number of via TCP UDP received CAN messages CAN firmware TCP Transmit Number of via TCP UDP transmitted CAN messages CAN firmware CAN Receive Number of received CAN messages CAN bus CAN driver CAN Transmit Number of transmitted CAN messages CAN bus CAN driver CAN Discard e Timeout sending CAN telegram 1s This indicates that no active partner is connected to the CAN bus no received Also a wrong baud rate or missing termination can cause this error e ACAN telegram received from CAN bus is discared because the receive buffer is full 600 entries This happens when the CAN firmware does not read telgrams fast enough out of the driver receive buffer This may be the case even if CAN telegrams routed via TCP UPD can not received fast enough by the connected ethernet client PC PLC because of load problems e g full receive TCP buffers e The firmware discards outgoing CAN telegrams because the send buffer is running full 1000 entries This happens when CAN telegrams are
21. iver could be installed then please proceed as follows 2 1 1 Microsoft Windows XP 1 If you use Microsoft Windows XP then the Found New Hardware Wizard opens when you first connect the AnaGate CAN USB to your PC 2 If the Found New Hardware Wizard doesn t start automatically then you also launch it manually a Firstly right click the My Computer symbol then click Properties b In the System Properties window switch to the Hardware tab and click the Device manager button c Right click the RNDIS Ethernet Gadget entry that is marked with a yellow exclamation mark symbol and select Update Driver Software 3 In the appearing wizard you first select No not this time and then click Next Assistent fiir das Suchen neuer Hardware Willkommen Es wird nach aktueller und aktualisierter Software auf dem Computer auf der Hardwareinstallations CD oder auf der Windows Update Website mit Ihrer Erlaubnis gesucht Datenschutzrichtlinie anzeigen Soll eine Yerbindung mit Windows Update hergestellt werden um nach Software zu suchen O Ja nur diese eine Mal Oda und jedes Mal wenn ein Ger t angeschlossen wird ch Klicken Sie auf Weiter um den Vorgang fortzusetzen 4 Click Install from a list or specific location Advanced and then click Next 4 2007 2014 Analytica GmbH Configuration Assistent f r das Suchen neuer Hardware Mit diesem Assistenten Sie Software fur die folgende
22. may use the old address for another up to 15 minutes before it switches to the new value 19 2007 2014 Analytica GmbH Configuration If the change must be used immediately then temporarily disconnect the AnaGate CAN USB from the PC to enforce an update of the used address 2 7 1 Examining the network settings 2 8 It is possible to check the current network settings directly on the device After pressing shortly the RESET button the device starts to pulse out the current n settings via the yellow activity LED Pressing again the buttons stops the pulsing immediately The IP address and subnet mask are pulsed out one after the other Following pulse codes are used e Digits 1 2 3 9 1x 2x 9x Flashing 2005 delay between each flash e Digit 0 10x flashing 200ms delay between each flash e Dot 1x very fast flash Between two single digits a delay of 1 seconds is made and between the IP address and subnet mask two fast flashes are pulsed out 192 168 1 1 B E OO Figure 2 7 AnaGate CAN USB Example blinking output Firmware update The device firmware of the AnaGate CAN USB is updated via the integrated web server of the device On the home page of the web server the current firmware information is displayed 20 2007 2014 Analytica GmbH Configuration 2 Index Mozilla Firefox Datei Bearbeiten Ansicht Chronik Lesezeichen
23. n sending telegrams this ID has to be set explicitly for each transmitted message All CAN messages received by the device are transmitted to all active application programs It is possible to discard all incoming messages in general or to set individual software filters to reduce the message traffic to the applications CAN Figure 3 1 AnaGate CAN USB in gateway mode The AnaGate CAN USB can be accessed via the following interfaces e The software program CAN Monitor which is included on the documentation CD can be used to monitor a CAN bus or to create single CAN telegrams e Application programs which are using the included software API inteface e Self created batch files which are executed via the included Lua interpreter with integrated AnaGate software API 23 2007 2014 Analytica GmbH Fields of application 3 2 CANopen Conformance Test Tool The CANopen Conformance Test Tool CCT is a software tool which is created and supported by the CAN in Automation CIA It is used by the CIA to certificate CANopen devices The Windows tool needs a hardware device to get access to the CAN bus and a manufacturer specific application library called 411 CAN ethernet gateways and the CAN USB gateway offered by Analytica GmbH can be used by the CANopen Conformance Test Tool of the CIA To use the AnaGate CAN USB with the CCT the AnaGate COTI extension must be copied to the installation path of the CCT The CO
24. ner is connected to the AnaGate CAN aka the CAN network it is not possible to send CAN telegrams The AnaGate CAN gets a NAK from the CAN controller These NAK errors are sent to the AnaGate client via a data confirmation telegram Warning If data confirmations are switched off no errors are sent to the client The option confirmations for data requests can be set via the CANSetGlobals function In High Speed Mode data confirmations are always disabled 27 2007 2014 Analytica GmbH Appendix B Technical support The AnaGate hardware series software tools and all existing programming interfaces are developed and supported by Analytica GmbH Technical support can be requested as follows Internet E Mail The AnaGate web site http www anagate de en index html of Analytica GmbH contains information and software downloads for AnaGate Library users e Product updates featuring bug fixes or new features are available here free of charge If you require technical assistance over the Internet please send an e mail to lt support anagate de gt To help us provide you with the best possible support please keep the following information and details at hand when you contact our support team e Version number of the used programming tool or AnaGate library e AnaGate hardware series model and firmware version e Name and version of the operating system you are using 28 2007 2014 Analytica GmbH Abbreviations
25. ollowing settings can be changed Device IP address The IP address of the AnaGate CAN USB is entered in dot format e g 192 168 1 200 PC IP address This IP address in dot format e g 192 168 1 201 is used by the PC This IP address must be in the same subnet as the AnaGate CAN USB address USB Subnet mask The subnet mask is entered in dot format e g 255 255 255 0 12 2007 2014 Analytica GmbH Configuration IP Settings Mozilla Firefox b Datei Bearbeiten Ansicht Chronik Lesezeichen Extras Hilfe ma gy Ax http 192 168 2 1 index cgi site settings A fae IP Settings AnaGa AnaGate CAN USB Settings Please enter the new TCP IP settings of the AnaGate CAN USB AnaGate CAN USE IP Settings Device IP address 1 32 168 2 1 GER PC IP address 192 168 2 2 USB Subnet mask 255 255 255 0 Copyright Copyright 2008 2010 Analytica GmbH www anagate de Stand Oct 28 2010 3 Fertig Figure 2 2 HTTP interface network settings The inputs will be taken over immediately after clicking the button Save settings and saved permanently on the AnaGate CAN USB A restart of the device is not necessary for activation of the settings C Note Maybe the ARP cache of the PC has to be deleted to find the device with the changed IP address Note 0 After changing the PC IP address the operating system may use the old address for another up to 15 minutes before it switches to t
26. oren gt Sicherheitsger te p 4M Systemger te b Tastaturen Tragbare Ger te b USB Controller Startet den Treibersoftwareupdate Assistenten f r das ausgew hlte Ger t 5 In the appearing assistant you first select Browse my computer for driver software ee L Treibersoft Wie m chten Sie nach Treibersoftware suchen gt Automatisch nach aktueller Treibersoftware suchen Auf dem Computer und im Internet wird nach aktueller Treibersoftware f r das Ger t gesucht sofern das Feature nicht in den Ger teinstallationseinstellungen deaktiviert wurde gt Auf dem Computer nach Treibersoftware suchen Treibersoftware manuell suchen und installieren 6 Then click Let me pick from a list of device drivers on my computer 8 2007 2014 Analytica GmbH Configuration Auf dem Computer nach Treibersoftware suchen An diesem Ort nach Treibersoftware suchen Unterordner einbeziehen gt Aus einer Liste von Ger tetreibern auf dem Computer ausw hlen Diese Liste enth lt installierte Treibersoftware die mit diesem Ger t kompatibel sind und aus derselben Kategorie stammen Weiter J Abbrechen bbrechen In the list of device types choose Network adapters and click the Next button n Treibersoft tualis NDIS Eth W hlen Sie den Ger tetyp aus der Liste aus G ngige Hardwaretypen bd Mehrfachanschlussadapter seriell
27. perational mode Initial operating mode of the CAN controller Default value is offline offline The CAN controller is not active on the CAN bus offline normal Normal operating mode The default setting of CAN baud rate is used listen In listen mode the CAN controller is passive CAN messages are received but no messages can be sent no ACK no error The default setting of CAN baud rate is used loopback In loopback mode every sent CAN message is mirrowed back by the CAN controller no ACK no errors The default setting of CAN baud rate is used 14 2007 2014 Analytica GmbH Configuration 2 4 2 5 A more detailed description of the operating modes can be found in the data sheet of the CAN controller Microchip MCP2515 The inputs will be taken over immediately after clicking the button Save settings and saved permanently on the AnaGate CAN USB A restart of the device is not necessary for activation of the settings Advanced settings On the page CAN Settings the advanced settings of the unit are displayed and can be changed individually 2 Advanced Settings Mozilla Firefox Datei Bearbeiten Ansicht Chronik Lesezeichen Extras Hilfe x Advanced Settings x 3 Neuer Tab 10 1 2 253 index cgi site advance Meistbesucht Ai ARD News B Watchlist Postbank PB2 O B rse ARD Leo Adwords Google Tools UPS FedEx GLS AnaGate CAN USB Advanced settings Press the save bu
28. power LED is always off then please check the wiring and the power supply via the PC No network connection If the power LED indicates a proper USB connection see previous FAQ but you still can t connect to the AnaGate then please try the following 1 Check if the AnaGate can be reached via ping do so in Windows open a command prompt and enter the command ping a b c d where a b c d is the device IP address 2 In case the AnaGate is unreachable via ping reset the device to factory settings Set up the PC network connection to the AnaGate CAN USB to obtain an IP address automatically Check if the AnaGate can be reached via ping 192 168 2 1 25 2007 2014 Analytica GmbH FAQ Frequently asked questions 3 If the device can be reached via ping then the next step is to try if you can open a TCP connection to port 5001 Open a Windows command prompt and enter telnet a b c d 5001 where a b c d is the device IP address If this command fails check if a firewall runs on your PC Using a firewall When working with a firewall the a TCP port has to be opened for communication with the AnaGate device Device Port number AnaGate 2 5000 AnaGate CAN 5001 AnaGate CAN USB 5001 AnaGate CAN uno 5001 AnaGate CAN duo 5001 5101 AnaGate CAN quattro 5001 5101 5201 5301 AnaGate SPI 5002 AnaGate Renesas 5008 AnaGate Universal Programmer 5000 5002 5008 AnaGate UP 2 0 5000 5
29. ten Ansicht Extras Einstellungen des Computers anpassen System und Sicherheit Status des Computers berpr fen Sicherung des Computers erstellen Probleme erkennen und beheben Netzwerk und Internet Netzwerkstatus und aufgaben anzeigen Heimnetzgruppen und Freigabeoptionen ausw hlen Hardware und Sound Ger te und Drucker anzeigen Ger t hinzuf gen Programme Programm deinstallieren Programme beziehen Sto Systemsteuerung durchsuchen 2 Anzeige Kategorie v Kategorie Benutzerkonten Kontotyp GroBe Symbole Kleine Symbole Darstellung und Anpassung Design Desktophintergrund ndern Bildschirmaufl sung anpassen Zeit Sprache und Region Tastaturen und Eingabemethoden ndern amp As 2 ZAR Erleichterte Bedienung Einstellungen empfehlen lassen Visuelle Darstellung des Bildschirms optimieren Right click the Device Manager and Enter your administrator password if prompted by the User Account Control EF Systemsteuerung Alle Systemsteuerungselemente gt Datei Bearbeiten Ansicht Extras Einstellungen des Computers anpassen Anpassung a Benutzerkonten 3 Energieoptionen Ger te und Drucker Anmeldeinformationsverwaltung rg Automatische Wiedergabe 29 Datum und Uhrzeit Ell Farbverwaltung a Heimnetzgruppe amp Indizierungsoptionen Intel R Driver Internetoptionen 5 Maus E Ordneroptionen Wi Leistun
30. tica GmbH Chapter 1 Description 1 1 1 2 The AnaGate CAN USB connects a PC to bus via USB It basically works as a CAN master with no own CAN identifier on the bus For this reason the AnaGate CAN USB provides a USB interface and a single electrically isolated CAN interface On the PC side the AnaGate CAN USB identifies itself as a network card that allows TCP IP based access to the connected CAN bus Controlling and configuration of an AnaGate CAN USB is made through TCP IP The application protocol itself is described in detail see TCP 2010 Thus the access to the device can be programmed via native calls to the TCP IP socket interface This means that any communication partner with a LAN interface is able to communicate to the device Accessing the device with the supplied application libraries for Windows and Linux is much comfortable The libraries includes the entire range of device functions and can be used with conventional programming languages Features e The AnaGate CAN USB can send and receive CAN messages via its CAN interface This can be done using a PC that supports TCP sockets and USB Variable CAN bus speed 10 20 50 62 5 100 125 250 500 800 or 1000 kbps Software configurable bus termination for the CAN interface e The AnaGate CAN USB is powered directly via its USB port no external supply is needed Software interface implemented as virtual network adapter easy access via TCP IP
31. tton to apply changes AnaGate CAN uno Remarks Changing the timer interval restarts the firmware and closes all currently open connections Current settings Advanced Settings 9 Firmware Reception timer interval 500 microseconds Lua Copyright Copyright 2008 2013 Analytica GmbH www anagate de Stand Jun 28 2013 Figure 2 4 HTTP interface CAN settings Reception timer interval This value specifies the frequency which is used to examine if new CAN telegrams are available in the internal driver buffer The more frequently this examination is done the shorter is the latency of the re transmission of the CAN data via ethernet On the other hand its maximum message throughput is decreased The interval is defined in micro seconds default value is 3000 To give control immediately to the firmware after a CAN telegram is received by the CAN driver the value 0 has to be set The inputs will be taken over immediately after clicking the button Save settings and saved permanently on the AnaGate CAN USB A restart of the device is not necessary for activation of the settings Device status On the page Status the device dependand status information is shown 15 2007 2014 Analytica GmbH Configuration 2 Status Mozilla Firefox Datei Bearbeiten Ansicht Chronik Lesezeichen Extras Hilfe Ax Status 10 1 2 224 index cgi site status fe AnaGate CAN USB status Press the clear button to delete the d
32. utomation CIA e V CAN in Automation CIA e V 13 02 2002 Cia 301 CANopen Application Layer and Communication Profile 30 2007 2014 Analytica GmbH

Download Pdf Manuals

image

Related Search

Related Contents

Kompernass PWS 1100 Owner's Manual  SERVICES SOCIAUX 157/2002/249  instrucciones  Accusplit 625M8D User's Manual  Instruction Manual Manual de Instrucciones  Aplicativos adicionais  HP® LASERJET P1102  Kenworth Operating Instructions & Preventive    

Copyright © All rights reserved.
Failed to retrieve file