ESD C.2051.02 Hardware Manual Download Page 1

EtherCAN/2

Ethernet-CAN-Gateway

Hardware Manual

to Product C.2051.02

EtherCAN/2

Hardware Manual • Doc.-No.: C.2051.21 / Rev.2.0

Page 1 of 75

                                                                esd electronics gmbh
             Vahrenwalder Str. 207 • 30165 Hannover • Germany
                                                                   http://www.esd.eu   
Phone: +49 (0) 511 3 72 98-0 • Fax: +49 (0) 511 3 72 98-68

Summary of Contents for C.2051.02

Page 1: ...Hardware Manual to Product C 2051 02 EtherCAN 2 Hardware Manual Doc No C 2051 21 Rev 2 0 Page 1 of 75 esd electronics gmbh Vahrenwalder Str 207 30165 Hannover Germany http www esd eu Phone 49 0 511 3...

Page 2: ...subject to esd electronics s written approval 2021 esd electronics gmbh Hannover esd electronics gmbh Vahrenwalder Str 207 30165 Hannover Germany Phone 49 511 372 98 0 Fax 49 511 372 98 68 E Mail info...

Page 3: ...nt V1 3 1 5 3 2 1 Image of website overview updated 2013 01 3 2 2 5 1 Chapter Short description Quick start added 3 2 2 6 Chapter CAN TCP Client added 1 6 3 2 2 6 Chapter CAN TCP Client revised 2013 0...

Page 4: ...a warning relating to property damage DANGER Danger statements indicate a hazardous situation which if not avoided will result in death or serious injury WARNING Warning statements indicate a hazardou...

Page 5: ...c circuits into operation according to the applicable national standards of safety engineering Conformity The EtherCAN 2 is an industrial product and meets the demands of the EU regulations and EMC st...

Page 6: ...Configuration file 29 3 2 2 5 5 Edit Configuration Online 30 3 2 2 5 6 Configuration file 33 3 2 2 6 CAN TCP Client 35 3 2 2 6 1 Protocol 37 3 2 2 6 2 Version information struct 39 3 2 2 6 3 CAN Frame...

Page 7: ...industrial Environment Applications Four Wire 63 8 CAN Troubleshooting Guide 64 8 1 Termination 64 8 2 Electrical Grounding 65 8 3 Short Circuit in CAN Wiring 65 8 4 CAN_H CAN_L Voltage 65 8 5 CAN Tra...

Page 8: ...ated and can be used for transmission rates from 20 kbit s up to 1 Mbit s The connectors for the Ethernet CAN and serial interface and the status LEDs are located in the front panel of the top hat rai...

Page 9: ...able state NOTICE Read chapter Starting Up on page 10 before you start with the installation of the hardware Please refer to page 53 for signal assignment of the connectors EtherCAN 2 Hardware Manual...

Page 10: ...f a valid IP address for EtherCAN 2 11 4a If the current IP address is known proceed to step 6 with the assignment of a fixed IP address and the further configuration 4b If the current IP address is n...

Page 11: ...ns has to be at least in the same subnet If esdcp finds the device IP address and netmask have to be set like for the later use Then after a Reboot of the EtherCAN 2 the EtherCAN 2 can be configured b...

Page 12: ...ecommends to use a fixed IP address instead Standard Hostname If the hostname is not configured in the web based configuration a standard name is generated containing the serial number For example for...

Page 13: ...more the service SSDP Discovery Service has to be enabled See Control Panel Administration Tools Services Reference Microsoft http support microsoft com kb 821371 Table 1 Enable UPnP under Windows XP...

Page 14: ...available will not automatically be deleted from the list To delete the entries of the Device List click the button Clear Device List If no DHCP could have been been found and the EtherCAN 2 thus has...

Page 15: ...vice is rebooted Confirm the entry of the IP address by clicking the button Apply Changes After a request of the password the value entered under Configured Value will then be accepted as current valu...

Page 16: ...e Figure 5 left 3 2 1 Overview A menu is shown on the left side of this program window In the menu item Overview the module specific details of the EtherCAN 2 are shown Under Gateway details you find...

Page 17: ...assword for access protection These values will be asked for the authentication in the firmware update as described in the following chapter User name and password can be adapted Usage of special char...

Page 18: ...Network Settings The menu item Network Settings contains an overview of the configured values for TCP IP SMTP Time Server SNMP esdcp Figure 7 Network configuration Page 18 of 75 Hardware Manual Doc N...

Page 19: ...ort see page 22 Enable the check box Use DHCP to assign IP address gateway and subnet mask via DHCP This may cause problems as described in chapter Configuration via DHCP see page 11 To use the parame...

Page 20: ...indication a time server must be configured To be able to use the Remote Logging Support these parameters have to be configured Without an entry in this field the calculation of times will restart fr...

Page 21: ...of the EtherCAN 2 gateway supports the versions 1 and 2c of the SNMP protocol The community string is public esdcp Figure 12 esdcp configuration To change the esdcp password type in the new password i...

Page 22: ...of the SMTP parameters refer to SMTP configuration see page 20 Figure 13 Configuration of the Remote Logging The check box Log by Email enables disables the Remote Logging Support Use the check boxes...

Page 23: ...name or click the button Choose to select a file Acknowledge the entry by clicking the button Submit The firmware update is started now This can take some time The progress of the updates will be reco...

Page 24: ...ration Figure 15 Firmware update protocol example Wait until the protocol about the update is completely finished The system will reboot automatically Page 24 of 75 Hardware Manual Doc No C 2051 21 Re...

Page 25: ...g from received CAN IDs to send IDs may be set up to send the CAN frames from the other bridge side to the local CAN network with a different CAN ID That configuration is made either directly within t...

Page 26: ...s of remote side Remote IP address under General 2 Enter CAN baud rate Baud rate under CAN 3 Select CAN IDs To transfer all IDs to the other side Select Clear and enable all IDs under CAN 29 bit filte...

Page 27: ...Software Configuration Figure 17 CAN Bridge configuration page EtherCAN 2 Hardware Manual Doc No C 2051 21 Rev 2 0 Page 27 of 75...

Page 28: ...s no lost CAN frame at all On every side receive and send buffers for the CAN frames exist They are read from the receive buffer of the network interface and transferred to the send buffer of the CAN...

Page 29: ...g it contains information about connection losses and CAN initialization errors etc 3 2 2 5 4 Configuration file Figure 19 CAN Bridge Configuration file Upload new configuration Used to upload a bridg...

Page 30: ...ate Attention With different baud rates it might happen easily that on the slower side not all CAN frames can be sent see also Loss of CAN frames in 3 2 2 5 2 Raw value Only used when By raw value is...

Page 31: ...0B 29 Bit Messages Examples Code 0x100 Mask 0 Only the 29 bit CAN ID 0x00000100 is received Code 0x100 Mask 0xff The 29 bit CAN IDs 0x00000100 0x000001ff are received Set mapping Adds an entry to Mapp...

Page 32: ...eted as last value of a range to be added removed the first input determines the first value of that range then Set mapping Adds an entry to Mapping The first input is the receive CAN ID the second th...

Page 33: ...size in online configuration can_txqueue 4096 Equals TX queue size in online configuration can_29bit_acceptmask 0 Equals Acceptance mask in online configuration 0x1fffffff all 29 bit frames are recei...

Page 34: ...can_29bit_acceptmask can_29bit_acceptcode The 29 bit CAN IDs 0x00000100 0x000001ff are received and sent to the remote side Line 12 can_29bit_map When the 29 bit CAN ID 0x00000120 is received from th...

Page 35: ...least the TCP server its port and the CAN baud rate have to be entered see Figure 25 the protocol used for the communication is described in 3 2 2 6 1 The configuration scope is limited basically all...

Page 36: ...bus member it will retry sent frames for many times due to missing acknowledgment even these frames will be received and sent to the TCP server by the EtherCAN 2 then Other Min Tx interval s The minim...

Page 37: ...6 V Version information 31 Bytes 118 v Version information request None 99 c CAN frame array little endian 2 Bytes n No of frames n 16 Bytes 67 C CAN frame array big endian 2 Bytes n No of frames n 16...

Page 38: ...rate The 4 bytes refer to the uint32_t value that is used internally for the canSetBaudrate function see NTCAN API manual for details The NTCAN_AUTOBAUD feature is currently not supported by the Ether...

Page 39: ...k Member name Bit id 0 28 CAN ID Bits 12 28 are zero in 11 Bit IDs 29 Flag 29 bit ID 0 11 bit ID 1 29 bit ID 30 Flag event 1 frame is event instead of normal CAN frame 31 Reserved len 0 3 Length of CA...

Page 40: ...rCAN 2 on this page The delivery state includes comprehensive samples INFORMATION Just activate Server enabled click Submit and study these samples first With the default port 81 the URL for the brows...

Page 41: ...sion format method ZIP Deflate must be used newer methods extensions are not supported by the EtherCAN 2 Settings Server enabled Determines whether the WebSocket server shall be active Server port Det...

Page 42: ...ystem Figure 27 Reboot To reboot the system click the button Reboot now NOTICE The Events Log will be cleared after reboot Furthermore the web server will be shut down and all links of the gateway cli...

Page 43: ...the status of the CAN bus click the menu item CAN in the program window Figure 28 Status CAN The values shown are also provided via SNMP see page 20 and can be evaluated by means of additional tools...

Page 44: ...al TX Lost The number of CAN frames received from remote side that failed to be sent to local CAN interface Under some circumstances the actual value can be higher than displayed here Remote RX Lost T...

Page 45: ...n the Ethernet page the current transmission speed 10 100 Mbit s the communication mode half full duplex and the MAC ID of the EtherCAN 2 module are displayed among a number of statistical parameters...

Page 46: ...s ELLSI Clients As the total number of connected clients is fixed the number of table lines is fixed too Lines which contain clients that are not connected or no longer connected are displayed in a gr...

Page 47: ...o The list will be deleted at every reboot During the runtime of the module the occurring events can be transmitted per e mail to another PC see page 22 For correct date and time indication a time ser...

Page 48: ...ocket LED Colour Indication Description Activity green off no Ethernet activity blinking Ethernet activity reception of Ethernet data Link yellow off no Ethernet connection on Link Status Ethernet lin...

Page 49: ...short off net configuration failure system has set IP address automatically R green Network off no EtherCAN clients LED1C blinking short on long off net configuration active blinking long on short of...

Page 50: ...t CAN bus interface and power supply voltage via InRailBus X6 5 pin TBUS connector accessories The following interface is for manufacturing purposes DIAG DIAG interface X4 USB connector type B Tempera...

Page 51: ...oupler and DC DC converter Connector CAN 5 pin COMBICON X2 Table 6 Data of the CAN interface 5 4 Ethernet Interface Number of the interfaces 1 Bit rate 100BASE TX 100 Mbit s Connection Twisted Pair co...

Page 52: ...ki U Boot Operating system Linux Kernel 2 6 x Adaptation Driver and API functions are optimized for this system License information This product uses the operating system Linux The Linux source code i...

Page 53: ..._L 3 Shield 4 CAN_H 5 Signal description CAN_L CAN_H CAN signals CAN_GND reference potential of the local CAN physical layer Shield pin for line shield connection using hat rail mounting direct contac...

Page 54: ...ion Pin Assignment Pin 1 2 3 4 Labelling of the EtherCAN 2 M P Signal Do not connect Do not connect M24 GND P24 24 V Please refer to the connecting diagram page 9 NOTICE Feeding through the 24V power...

Page 55: ...1 to 8 are connected to a line termination Signal Description MDI0 MDI0 MDI1 MDI1 Ethernet data lines reserved for future applications do not connect Shield line shield connection using hat rail moun...

Page 56: ...2 5 mm 0 14 1 5 mm Conductor cross section stranded with ferrule without plastic sleeve min max 0 25 2 5 mm 0 25 1 5 mm Conductor cross section stranded with ferrule with plastic sleeve min max 0 25...

Page 57: ...iginal ISO 11898 They have made system level tradeoffs for data rate cable length and parasitic loading of the bus However for CAN network design margin must be given for signal loss across the comple...

Page 58: ...N_GND has to be connected to the functional earth FE at exactly one point 4 A CAN net must not branch exception short cable stubs and has to be terminated with the characteristic impedance of the line...

Page 59: ...interface at the end of the bus is connected this one has to be used for termination instead of an external CAN termination plug 9 pin DSUB termination connectors with integrated termination resistor...

Page 60: ...d has to be terminated with the characteristic impedance of the line generally 120 10 at both ends between the signals CAN_L and CAN_H and not to CAN_GND 5 Keep cable stubs as short as possible l 0 3...

Page 61: ...of the CAN bus If an integrated CAN termination resistor which is equipped at the CAN interface at the end of the bus is connected this one has to be used for termination instead of an external CAN te...

Page 62: ...section depending on the cable length are described in the CiA recommendation CiA 303 1 see CiA 303 CANopen Recommendation Part 1 Cabling and connector pin assignment Version 1 8 0 Table 2 Bit Rate kb...

Page 63: ...ny www concab de e g BUS PVC C 1x 2x 0 22 mm Order No 93 022 016 UL appr BUS Schleppflex PUR C 1x 2x 0 25 mm Order No 94 025 016 UL appr 7 6 2 Cable for heavy industrial Environment Applications Four...

Page 64: ...resistance of the CAN data pair conductors and the attached terminating resistors To test it please 1 Turn off all power supplies of the attached CAN nodes 2 Measure the DC resistance between CAN_H a...

Page 65: ...data if there is a short circuit between CAN_GND and CAN_L but generally the error rate will increase strongly Make sure that there is no short circuit between CAN_GND and CAN_L 8 4 CAN_H CAN_L Voltag...

Page 66: ...rk see figure below 2 Measure the DC resistance between CAN_H and CAN_GND see figure below 3 Measure the DC resistance between CAN_L and CAN_GND see figure below The measured resistance has to be abou...

Page 67: ...parately C 3000 01 CAN CBX TBUS Connector Terminal plug of the CBX InRailBus for the connection of the 24V power supply voltage and the CAN interface Female type C 3000 02 CAN CBX TBUS Connection adap...

Page 68: ...Y Connector View Pin Assignment Pin Signal 5 M24 GND 4 P24 24 V 3 CAN_GND 2 CAN_L 1 CAN_H S FE PE_GND Signal Description CAN_L CAN_H CAN signals CAN_GND reference potential of the local CAN Physical l...

Page 69: ...please proceed as follows Figure 41 Mounting rail with bus connector 1 Position the InRailBus connector on the mounting rail and snap it onto the mounting rail using slight pressure Plug the bus conne...

Page 70: ...done Figure 43 Mounted CAN CBX module 9 3 2 Connecting Power Supply and CAN Signals to CBX InRailBus To connect the power supply and the CAN signals via the InRailBus a terminal plug is needed The te...

Page 71: ...N signals can be fed via the CAN connector of the first CAN CBX module of the CBX station The signals are then connected through the CAN CBX station via the InRailBus To lead through the CAN signals t...

Page 72: ...n moving the foot catch see Figure 43 downwards e g with a screwdriver Now the module is detached from the bottom edge of the mounting rail and can be removed INFORMATION It is possible to remove indi...

Page 73: ...sign gmbh Hannover NTCAN API Part 2 Installation Guide Rev 4 2 2015 01 26 2 esd electronic system design gmbh Hannover NTCAN API Part 1 Application Developpers Manual Rev 4 7 2015 10 12 EtherCAN 2 Har...

Page 74: ...Declaration of Conformity 11 Declaration of Conformity Page 74 of 75 Hardware Manual Doc No C 2051 21 Rev 2 0 EtherCAN 2...

Page 75: ...nuals are available in English and usually in German as well For availability of English manuals see table below Please download the manuals as PDF documents from our esd website www esd eu for free M...

Reviews: