AnaGate CAN quattro User Manual Analytica GmbH A.
AnaGate CAN quattro: User Manual Analytica GmbH by A. Schmidt This document was generated with DocBook at 2010-10-14 18:02:02. PDF-Datei (dtsch.): AnaGate-CAN-quattro-1.4.pdf PDF-Datei (engl.): AnaGate-CAN-quattro-1.4-EN.pdf Publication date 10. August 2010 Copyright © 2007-2010 Analytica GmbH Abstract This manual describes the intefaces and modes of operation of a AnaGate CAN quattro. All rights reserved. All the information in this manual was compiled with the greatest of care.
Table of Contents Introduction ..................................................................................................................... vi 1. Description .................................................................................................................... 1 1.1. Features .............................................................................................................. 1 1.2. Specification ................................................................................
List of Figures 1.1. 1.2. 2.1. 2.2. 2.3. 2.4. 2.5. 2.6. 3.1. 3.2. Front view, AnaGate CAN quattro .................................................................................. 3 AnaGate CAN quattro, back panel ................................................................................... 4 HTTP interface, AnaGate CAN uno ................................................................................. 5 HTTP interface, network settings .............................................................
List of Tables 1.1. Technical data, AnaGate CAN quattro ............................................................................. 2 1.2. Pin layout, CAN plug ................................................................................................... 3 A.1. Using AnaGate hardware with firewall ..........................................................................
Introduction This document describes the features and objectives of the CAN-Ethernet gateway AnaGate CAN quattro. This device is part of a product line, whose single devices only differ in the number of CAN interfaces and/or the device case. In this manual the term AnaGate CAN Gateway is uniformly used, if no specific modell is addressed or it is not necessary to differentiate. Otherwise the full product name is used, like AnaGate CAN uno, AnaGate CAN duo or AnaGate CAN quattro.
Chapter 1. Description The AnaGate CAN Gateway connects a PC, an embedded PC or other general device one or more CAN busses via the TCP/IP network protocol. It basically works as a CAN master with no own CAN identifier on the bus. Controlling and configuration of an AnaGate CAN Gateway 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.
Description 1.2. Specification Table 1.1. Technical data, AnaGate CAN quattro Technical aspect Measurements CAN bus Digital IO LAN interface Voltage supply Ambient temperature Specfication Desktop casing 155mm x 105mm x 40mm , fixable on DIN rail with optional adapter kit Weight approx. 175g Baud rate 10, 20, 50, 62.
Description 1.4. Interfaces and plugs 1.4.1. AnaGate CAN quattro - front view Figure 1.1. Front view, AnaGate CAN quattro The front panel of the AnaGate CAN Gateway features for each existing CAN interface, the following connectors and LEDs (from left to right): Activity LED This green LED lights up on activity on the relevant CAN line. CAN port 4 pole plug to connect the CAN bus. The corresponding connector plug is included in delivery (screw terminal up to 1,5mm²).
Description 1.4.2. AnaGate CAN quattro - rear view Figure 1.2. AnaGate CAN quattro, back panel The rear panel of the AnaGate CAN Gateway features the following connectors and LEDs (from left to right): Power LED This green LED lights up when voltage is being supplied. Power supply The AnaGate CAN Gateway can be power supplied in two different ways.
Chapter 2. Configuration 2.1. Initial installation First the AnaGate CAN Gateway must be supplied via the power plug with a tension from 9 to 24 V. Insert the included LAN cable into the plug labelled LAN and connect it either to a hub or switch. If connecting to a PC use a crossover LAN cable (not in scope of delivery) instead of the included LAN cable. The AnaGate CAN Gateway is delivered with the following initial network settings: IP address Address type Network mask Gateway 192.168.1.254 static 255.
Configuration 2.2. Network settings On the page IP Settings the following settings can be changed. DHCP Here you can switch between static IP and dynamic (via DHCP) addresses. If DHCP is being used, the remaining fields are ignored, because this information is retrieved from the DHCP server. In this case, a DHCP server must be available and accessible in the network. IP address The IP address of the AnaGate CAN Gateway is entered in a.b.c.d format (e.g. 192.168.1.200).
Configuration 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.
Configuration Remote-Baudrate Baudrate of the partner device, to which a connection (bridge) is to be made (only Bridge Modus). Remote-Termination Terminierung of the partner device, to which a connection (bridge) is to be made (only Bridge Modus). The inputs will be taken over immediately after clicking the button Save settings and saved permanently on the AnaGate CAN Gateway. A restart of the device is not necessary for activation of the settings. 2.4.
Configuration 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.
Configuration 2.5.2. Connecting the digital outputs The outputs are implemented as open collector drivers. If a output is active, it is pulled down to GND. In the inactive condition the output is floating. In principle the maximum current of each individual output is 400mA. For thermal reasons is the sum of all output currents is limited to 500mA. The outputs not short-circuit proofed, and must be protected with a pre-resistor. 2.6.
Configuration • Digits 1, 2, 3, ...., 9: 1x, 2x, ...9x Flashing (200ms delay between each flash) • Digit 0: 10x flashing (200ms delay between each flash) • 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. Figure 2.6.
Chapter 3. Fields of application If the AnaGate CAN Gateway is connected to the CAN bus, mind the following facts: • CAN_L: This line has to be connected to the CAN_Low line of the CAN bus. • CAN_H: This line has to be connected to the CAN_High line of the CAN bus. • GND: This line can be connected optionally to GND of the other bus devices. 3.1. Gateway mode In gateway mode the CAN messages are transferred transparently over TCP/IP between the CAN network and the host platform (e.g.
Fields of application 3.2. Bridge mode In the bridge mode two arbitrary CAN networks can be interconnected by two AnaGate CAN Gateways. The CAN messages are exchanged transparently over TCP/IP between the two devices. It is possible to mix the different AnaGate CAN Gateway models in bridge mode. Important It is recommended to use unique CAN identifiers in the interconnected CAN networks. Via HTTP interface both AnaGate CAN Gateway are configured as usual.
Fields of application Note On the models with more than one CAN interface, it is possible to interconnect one CAN interface to another interface of the same device (this is called internal bridge). To interconnect the two CAN interface on a single device, the own IP address or 127.0.0.1 has to be used. In this case the specified remote baud rate and termination is used on the interconnected interface.
Appendix A. FAQ - Frequent asked questions Here is a list of frequently asked questions. A.1. Common questions Q: No network connection (1) A: Please check first the physical connection to the device. Basically the AnaGate have to be connected directly to a personal computer or to an active network component (hub, switch). If the AnaGate device is connected to a personal computer a cross-wired network cable must be used to connect the device, otherwise the included network cable is to be used.
FAQ - Frequent asked questions Table A.1. Using AnaGate hardware with firewall Device Port number AnaGate I2C 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 A.2.
Appendix B. Technical support The AnaGate hardware series and all existing programming interfaces are developed and supported by Analytica GmbH. Technical support can be requested as follows: Internet The AnaGate web site [http://www.anagate.de/en/index.html] of Analytica GmbH contains information and software downloads for AnaGate Library users: • Product updates featuring bug fixes or new features are available here free of charge.
Abbreviations CAN Controller Area Network CiA CAN in Automation DHCP Dynamic Host Configuration Protocol 18 © 2007-2010 Analytica GmbH
Bibliography Books 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 TCP-IP communication. Version 1.2.6. 15.05.2008. [Prog-2010] Analytica GmbH. Copyright © 2010 Analytica GmbH. AnaGate API. Programmer's Manual. Version 1.4. 01.10.2010.