<<

CAN-DP -DP / CAN-Gateway CANopen-DP Profibus-DP / CANopen-Gateway

Hardware Manual

for Product C.2905.02 and C.2908.02

CAN-DP, CANopen-DP Hardware-Manual • Rev. 1.2 Page 1 of 26

esd electronic system design gmbh Vahrenwalder Str. 207 • 30165 Hannover • Germany www.esd-electronics.com • Fax: 0511/37 29 8-68 Phone: 0511/37 29 80 • International: +49-5 11-37 29 80 N O T E

The information in this document has been carefully checked and is believed to be entirely reliable. esd makes no warranty of any kind with regard to the material in this document, and assumes no responsibility for any errors that may appear in this document. esd reserves the right to make changes without notice to this, or any of its products, to improve reliability, performance or design. esd assumes no responsibility for the use of any circuitry other than circuitry which is part of a product of esd gmbh. esd does not convey to the purchaser of the product described herein any license under the patent rights of esd gmbh nor the rights of others.

esd electronic system design gmbh Vahrenwalder Str. 207 30165 Hannover Germany

Phone: +49-511-372 98-0 Fax: +49-511-372 98-68 E-mail: [email protected] Internet: www.esd-electronics.com

USA / Canada: esd electronics Inc. 525 Bernardston Road Suite 1 Greenfield, MA 01301 USA

Phone: +1-800-732-8006 Fax: +1-800-732-8093 E-mail: [email protected] Internet: www.esd-electronics.us

Page 2 of 26 Hardware-Manual • Rev. 1.2 CAN-DP, CANopen-DP Document file: I:\Texte\Doku\MANUALS\CAN\CAN-DP\Englisch\CAN-DP_H12.en9

Date of print: 2008-02-20

PCB versions: DP405 Rev. 1.3

Changes in the chapters

The changes in the user’s manual listed below affect changes in the hardware as well as changes in the description of the facts only.

Chapter Changes versus previous version

1 In-/output data described separately for CAN-DP and CANopen-DP.

2 Pictures updated

3.4 DP-controller specified separately for CAN-DP and CANopen-DP.

4.2 Pin assignment corrected

4.3 Pin assignment corrected

Technical details are subject to change without notice.

CAN-DP, CANopen-DP Hardware-Manual • Rev. 1.2 Page 3 of 26 This page is intentionally left blank.

Page 4 of 26 Hardware-Manual • Rev. 1.2 CAN-DP, CANopen-DP Contents

1. Overview ...... 7 1.1 Module Description CAN-DP, CANopen-DP...... 7

2. Hardware Installation ...... 9 2.1 Connections...... 9 2.2 LEDs and Coding Switches ...... 10 2.2.1 LED Assignment...... 10 2.2.2 Setting PROFIBUS-DP Address via Coding Switches ...... 11

3. Technical Data ...... 12 3.1 General Technical Data ...... 12 3.2 PowerPC Unit...... 12 3.3 CAN Interface...... 13 3.4 PROFIBUS-DP Interface...... 13 3.5 Order Information ...... 14

4. Connector Assignments ...... 15 4.1 CAN (X1100, 5-pin COMBICON Style) ...... 15 4.2 PROFIBUS-DP Interface (X1100, 9-pin DSUB female) ...... 16 4.3 Voltage Supply (X1300) ...... 17

5. Correctly Wiring Electrically Isolated CAN Networks ...... 18

6. CAN-Bus Troubleshooting Guide ...... 22 6.1 Termination ...... 22 6.2 CAN_H/CAN_L Voltage ...... 23 6.3 Ground ...... 23 6.4 CAN Transceiver Resistance Test ...... 24

CAN-DP, CANopen-DP Hardware-Manual • Rev. 1.2 Page 5 of 26 This page is intentionally left blank.

Page 6 of 26 Hardware-Manual • Rev. 1.2 CAN-DP, CANopen-DP Overview i 1. Overview

1.1 Module Description CAN-DP, CANopen-DP

The hardware of the CAN-DP- and the CANopen-DP module is widely consistent and therefore described in one manual. Differences are described separated.

Electrical Isolation

C Physical CAN CAN Controller Coding Switches Layer for DP-Address A SJA1000 N CAN

5-pole COMBICON +5 V= DC/DC Converter Serial PowerPC +5 V= EEPROM 405EP

Power Supply 24 V(DC)

+5 V= 4-pole PLD Flash EPROM COMBICON DC/DC Converter +5 V=

RS-485 DP DP-Slave D SDRAM P DP-Layer Controller DSUB9 Connector Electrical Isolation

Fig. 1.1.1: Block-circuit diagram of the CAN-DP module

By means of the module CAN-DP/CANopen-DP any Profibus-DP master can be connected to a CAN network.

The CAN-DP module (order no.: C.2905.02) is equipped with a SPC3 DP-Slave controller and acts like a slave I/O component on the DP-bus, with a total of up to 300 bytes input and output data. Maximum 244 bytes of the total of 300 bytes can be used as input data (with 56 byte output data) or maximum 244 bytes can be used as output data (with 56 bytes input data).

The CANopen-DP module (order no.: C.2908.02) is equipped with a VPC3+ DP-Slave controller and acts like a slave I/O component on the DP-bus with a maximum of 244 bytes input data and maximum 244 bytes output data.

The CAN-DP/CANopen-DP module operates internally with a 405EP PowerPC, which buffers the CAN and Profibus DP data into the local SDRAM. The firmware and configuration data are kept in the Flash. Parameters are stored by means of a serial EEPROM.

CAN-DP, CANopen-DP Hardware-Manual • Rev. 1.2 Page 7 of 26 i Overview

The ISO 11898-2-compliant CAN interface allows a maximum data-transfer rate of 1 Mbit/s. The Profibus-DP slave interface automatically recognizes all usual bit rates up to 12 Mbit/s.

The DP interface as well as the CAN interface are electronically insulated by optocouplers and DC/DC converters. The CAN is connected by means of a 5-pin screw connector in COMBICON design. According to standard, the DP interface is equipped with a 9-pin female DSUB connector.

The configuration of the CAN-DP/CANopen-DP is done via Profibus tool, e.g. SIMATIC Manager.

Page 8 of 26 Hardware-Manual • Rev. 1.2 CAN-DP, CANopen-DP Hardware Installation

2. Hardware Installation

2.1 Connections

Fig. 2.1.1: Connections in operable state

Refer also to page 15 for the signal assignments.

CAN-DP, CANopen-DP Hardware-Manual • Rev. 1.2 Page 9 of 26 Hardware Installation

2.2 LEDs and Coding Switches

2.2.1 LED Assignment

Fig. 2.2.1: Position of LEDs in the front panel

LED Color Name Display Function LED on C green CAN Bus Status The complex display function of these LEDs is specified by the firmware. P green PROFIBUS-DP Status Refer to the software manual of the D green PROFIBUS-DP Data Transfer module. S green Module Status Internal power supply of 3.3 V applied

Table 2.2.1: Display function of the LEDs

Page 10 of 26 Hardware-Manual • Rev. 1.2 CAN-DP, CANopen-DP Hardware Installation

2.2.2 Setting PROFIBUS-DP Address via Coding Switches

Fig. 2.2.2: Position of the Coding Switches

The PROFIBUS-DP address can be set with the coding switches. When switching on the module, the coding switches are evaluated via the firmware. Changes of the settings have to be made before switching on the module because changes during operation have no effect.

The CAN-DP/CANopen-DP is operated as slave station with a configurable decimal address range from

3 to 124 or hexadecimal from 03h to 7Ch. Configuring an address lower than 3, the address 3 is valid. Configuring an address higher than 124 (decimal), respectively higher than 7Ch, the address 124 is valid.

The coding switch HIGH configures the more significant bits, the coding switch LOW configures the low significant bits (refer to figure above).

The CAN identifier of the CAN-DP can be configured via the PROFIBUS-DP configuration tool (e.g. SIMATIC Manager). Please, refer to the ‘CAN-DP Software Manual’ and ‘CANopen-DP Software Manual’ respectively for further information.

CAN-DP, CANopen-DP Hardware-Manual • Rev. 1.2 Page 11 of 26 Technical Data

3. Technical Data

3.1 General Technical Data

nominal voltage 24 V/DC ±10%, Supply voltage current consumption (24 V, 20 C ): typical: 150 mA

X1000 (DSUB9, female)- Profibus-DP interface

X1100 (5-pin COMBICON connector with screw connection) - Connectors CAN interface

X1300 (4-pin COMBICON connector with spring-cage connection) - 24 V power supply

Temperature range 0...50 C ambient temperature

Humidity max. 90%, non-condensing

Case dimensions width: 23 mm, height 100 mm, depth: 120 mm (including hat rail mounting and jutted out connectors)

Weight 130 g

Table 3.1.1: General data of the CAN-DP

3.2 PowerPC Unit

PowerPC PPC 405EP, 133 MHz

SDRAM: 4 M x 32 bit (16 MB) Memory Flash-EPROM: 1 M x 16 bit (2 MB) Serial EEPROM

Debug interface for service and programming

Table 3.2.1: circuit

Page 12 of 26 Hardware-Manual • Rev. 1.2 CAN-DP, CANopen-DP Technical Data

3.3 CAN Interface

Number of CAN interfaces 1 x CAN

Connection 5-pin COMBICON with screw connection

CAN controller SJA1000, ISO11898-1 (CAN 2.0)

Electrical insulation of CAN via optocouplers and DC/DC converters interface from other circuits

Physical Layer according to ISO 11898-2, rate CAN programmable from 10 Kbit/s to 1 Mbit/s

Bus termination has to be set externally if required

Table 3.3.1: CAN interface

3.4 PROFIBUS-DP Interface

Number of Profibus-DP interfaces 1x PROFIBUS-DP

Connection 9-pin DSUB female

CAN-DP (order no.: C.2905.02): PROFIBUS controller SPC3, DP-Slave DP controller CANopen-DP (order no.: C.2908.02): PROFIBUS controller VPC3+, DP-Slave

Electrical insulation of Profibus- NVE IL485 and DC/DC converters DP from other circuits

Table 3.4.1: Data of Profibus-DP interface

CAN-DP, CANopen-DP Hardware-Manual • Rev. 1.2 Page 13 of 26 Technical Data

Order Information

3.5 Order Information

Type Properties Order No.

CAN-DP PROFIBUS-DP-CAN-Gateway, GSD-file C.2905.02

CANopen-DP PROFIBUS-DP-CANopen-Gateway, GSD-file C.2908.02

CAN-DP user manual in English CAN-DP-MD C.2905.21 (hardware and software manual )

CANopen-DP user manual in English CANopen-DP-MD C.2908.21 (hardware and software manual )

Engineering manual in English for CAN-DP and CANopen-DP 2*) CAN-DP-ENG C.2905.25 Contents: Circuit diagrams, PCB top overlay drawing, data sheets of significant components

Table 3.5.1: Order information

Page 14 of 26 Hardware-Manual • Rev. 1.2 CAN-DP, CANopen-DP Connector Assignments

4. Connector Assignments

4.1 CAN Bus (X1100, 5-pin COMBICON Style)

The CAN bus connector can be of spring-cage contacts or plug-in screw connector type. The clamps are designed for lines with a cross-section of up to 2,5 mm².

Pin Position: Pin Assignment:

(plug at module) Pin Signal

1 CAN_GND 1 2 2CAN_L 3 3Shield 4 5 4CAN_H 5-

Signal Terms: CAN_L, CAN_H ... CAN signals CAN_GND... reference potential of the CAN physical layers Shield... Shielding (Connected with the shielding contact of the case which has a conductive connection to the hat rail) -... not connected

Pin assignment of an adapter cable 5-pole COMBICON to 9-pole DSUB:

The 9-pin DSUB connector is assigned in accordance with CiA DS 102.

CAN-DP, CANopen-DP Hardware-Manual • Rev. 1.2 Page 15 of 26 Connector Assignments

4.2 PROFIBUS-DP Interface (X1100, 9-pin DSUB female)

Pin Position:

5 9 4 8 3 7 2 6 1

Pin Assignment:

Signal Pin Signal

5 DGND -9 4 CNTR-P (Output) (In-/Output) RxD/TxD-N 8 3 RxD/TxD-P (In-/Output) -7 2- (Output) P5V 6 1- 9-pin DSUB female

Signal Terms:

RxD/TxD-P... receive and transmission data RxD/TxD-N

CNTR-P... control signal for repeater (‘Request To Send’)

P5V... voltage supply for external terminating resistor networks (+5V, max. 50 mA)

DGND... reference potential

-... not connected

Page 16 of 26 Hardware-Manual • Rev. 1.2 CAN-DP, CANopen-DP Connector Assignments

4.3 Voltage Supply (X1300)

Device connector: Phoenix Contact Combicon MSTBO 2,5/4-G1L-KMGY Line connector: Phoenix Contact Combicon FKCT 2,5/4-ST, 5.0 mm grid, (spring-cage connections) (contained in the scope of supply)

Pin Position:

Pin Assignment:

Pin4321 Signal +24 V GND - -

Signal Description:

+24 V... Supply voltage

GND ... Reference potential

- ... not connected

CAN-DP, CANopen-DP Hardware-Manual • Rev. 1.2 Page 17 of 26 Wiring

5. Correctly Wiring Electrically Isolated CAN Networks

Generally all instructions applying for wiring regarding an electromagnetic compatible installation, wiring, cross sections of wires, material to be used, minimum distances, protection, etc. have to be followed.

The following general rules for the CAN wiring must be followed:

A CAN net must not branch (exception: short dead-end feeders) and has to be terminated 1. by the wave impedance of the wire (generally 120 W ±10%) at both ends (between the signals CAN_L and CAN_H and not at GND)! A CAN data wire requires two twisted wires and a wire to conduct the reference potential 2. (CAN_GND)! For this the shield of the wire should be used! The reference potential CAN_GND has to be connected to the earth potential (PE) at one 3. point. Exactly one connection to earth has to be established!

4. The has to be adapted to the wire length.

5. Dead-end feeders have to kept as short as possible (l < 0.3 m)! When using double shielded wires the external shield has to be connected to the earth 6. potential (PE) at one point. There must be not more than one connection to earth.

A suitable type of wire (wave impedance ca. 120 : ±10%) has to be used and the voltage 7. loss in the wire has to be considered! CAN wires should not be laid directly next to disturbing sources. If this cannot be avoided, 8. double shielded wires are preferable.

Wire structure Signal assignment of wire and connection of earthing and terminator

CAN wire with connectors Shielded wire with DSUB9 connector DSUB9 connector transposed wires (female or male) CAN_GND (female or male) pin designation (at wire shield) pin designation CAN_H n.c. n.c. 1 CAN_L 1 2 2 CAN_L 3 3 4 n.c. n.c. 4 5 n.c. n.c. 5 120 Ohm

n.c. n.c. 120 Ohm CAN_GND 6 CAN_H 6 7 7 8 n.c. n.c. 8 9 n.c. n.c. 9 n.c. n.c. connector case connector case earth (PE) n.c. = not connected

Figure: Structure and connection of wire

Page 18 of 26 Hardware-Manual • Rev. 1.2 CAN-DP, CANopen-DP Wiring

Cabling

 for devices which have only one CAN connector per net use T-connector and dead-end feeder (shorter than 0.3 m) (available as accessory)

Figure: Example for correct wiring (when using single shielded wires)

Terminal Resistance

 use external terminator, because this can later be found again more easily!

 9-pin DSUB-terminator with male and female contacts and earth terminal are available as accessories

Earthing

 CAN_GND has to be conducted in the CAN wire, because the individual esd modules are electrically isolated from each other!

 CAN_GND has to be connected to the earth potential (PE) at exactly one point in the net!

 each CAN user without electrically isolated interface works as an earthing, therefore: do not connect more than one user without potential separation!

 Earthing CAN e.g. be made at a connector

CAN-DP, CANopen-DP Hardware-Manual • Rev. 1.2 Page 19 of 26 Wiring

Wire Length

 Optical couplers are delaying the CAN signals. By using fast optical couplers and testing each board at 1 Mbit/s, however, esd CAN guarantee a reachable length of 37 m at 1 Mbit/s for most esd CAN modules within a closed net without impedance disturbances like e.g. longer dead-end feeders. (Exception: CAN-CBM-DIO8, -AI4 and AO4 (these modules work only up to 10 m with 1 Mbit/s))

Typical values of reachable CiA recommendations Bit rate wire length with esd (07/95) for reachable wire [Kbit/s] interface lmax [m] lengths lmin [m] 1000 37 25 800 59 50 666.6 80 - 500 130 100 333.3 180 - 250 270 250 166 420 - 125 570 500 100 710 650 66.6 1000 - 50 1400 1000 33.3 2000 - 20 3600 2500 12.5 5400 - 10 7300 5000

Table: Reachable wire lengths depending on the bit rate when using esd-CAN interfaces

Page 20 of 26 Hardware-Manual • Rev. 1.2 CAN-DP, CANopen-DP Wiring

Examples for CAN Wires

Manufacturer Type of wire

U.I. LAPP GmbH Schulze-Delitzsch-Straße 25 e.g. 70565 Stuttgart UNITRONIC ®-BUS CAN UL/CSA (UL/CSA approved) Germany UNITRONIC ®-BUS-FD P CAN UL/CSA (UL/CSA approved) www.lappkabel.de

ConCab GmbH Äußerer Eichwald e.g. 74535 Mainhardt BUS-PVC-C (1 x 2 x 0.22 mm²) Order No.: 93 022 016 (UL appr.) Germany BUS-Schleppflex-PUR-C (1 x 2 x 0.25 mm²) Order No.: 94 025 016 (UL appr.) www.concab.de

SAB Bröckskes GmbH&Co. KG Grefrather Straße 204-212b e.g. 41749 Viersen SABIX® CB 620 (1 x 2 x 0.25 mm²) Order No.: 56202251 Germany CB 627 (1 x 2 x 0.25 mm²) Order No.: 06272251 (UL appr.) www.sab-brockskes.de

Note: Completely configured CAN wires can be ordered from esd.

CAN-DP, CANopen-DP Hardware-Manual • Rev. 1.2 Page 21 of 26 CAN-Bus Troubleshooting Guide

6. CAN-Bus Troubleshooting Guide

The CAN-Bus Troubleshooting Guide is a guide to find and eliminate the most frequent hardware-error causes in the wiring of CAN-networks.

2 3 V V

CAN_H CAN_H 1 120 : CAN_L CAN_L 120 : :

CAN_GND CAN_GND

Figure: Simplified diagram of a CAN network

6.1 Termination

The termination is used to match impedance of a node to the impedance of the transmission line being used. When impedance is mismatched, the transmitted signal is not completely absorbed by the load and a portion is reflected back into the transmission line. If the source, transmission line and load impedance are equal these reflections are eliminated. This test measures the series 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 and CAN_L at the middle and ends of the network1 (see figure above).

The measured value should be between 50 and 70 . The measured value should be nearly the same at each point of the network.

If the value is below 50 , please make sure that: - there is no short circuit between CAN_H and CAN_L wiring - there are not more than two terminating resistors - the nodes do not have faulty transceivers.

If the value is higher than 70 , please make sure that: - there are no open circuits in CAN_H or CAN_L wiring - your bus system has two terminating resistors (one at each end) and that they are 120  each.

Page 22 of 26 Hardware-Manual • Rev. 1.2 CAN-DP, CANopen-DP CAN-Bus Troubleshooting Guide

6.2 CAN_H/CAN_L Voltage

Each node contains a CAN transceiver that outputs differential signals. When the network communication is idle the CAN_H and CAN_L voltages are approximately 2.5 volts. Faulty transceivers can cause the idle voltages to vary and disrupt network communication.

To test for faulty transceivers, please

1. Turn on all supplies. 2. Stop all network communication. 3. Measure the DC voltage between CAN_H and GND2 (see figure above).

4. Measure the DC voltage between CAN_L and GND3 (see figure above).

Normally the voltage should be between 2.0 V and 4.0 V. If it is lower than 2.0 V or higher than 4.0 V, it is possible that one or more nodes have faulty transceivers. For a voltage lower than 2.0 V please check CAN_H and CAN_L conductors for continuity. For a voltage higher than 4.0 V, please check for excessive voltage.

To find the node with a faulty transceiver please test the CAN transceiver resistance (see next page).

6.3 Ground

The shield of the CAN network has to be grounded at only one location. This test will indicate if the shielding is grounded in several places. To test it, please

1. Disconnect the shield wire (Shield) from the ground. CAN_H CAN_L 2. Measure the DC resistance between Shield and ground (see CAN_GND picture on the right hand).

: >1M: 3. Connect Shield wire to ground.

Fig.: Simplified schematic diagram of ground test measurement

The resistance should be higher than 1 M . If it is lower, please search for additional grounding of the shield wires.

CAN-DP, CANopen-DP Hardware-Manual • Rev. 1.2 Page 23 of 26 CAN-Bus Troubleshooting Guide

6.4 CAN Transceiver Resistance Test

CAN transceivers have one circuit that controls CAN_H and another circuit that controls CAN_L. Experience has shown that electrical damage to one or both of the circuits may increase the leakage current in these circuits.

To measure the current leakage through the CAN circuits, please use an resistance measuring device and:

1. Disconnect the node from the network. Leave the node unpowered4 (see figure below).

2. Measure the DC resistance between CAN_H and CAN_GND5 (see figure below).

3. Measure the DC resistance between CAN_L and CAN_GND6 (see figure below). Normally the resistance should be between 1 M  and 4 M  or higher. If it is lower than this range, the CAN transceiver is probably faulty.

56 CAN-node : :

CAN_H

CAN- CAN_L Transceiver CAN_GND 4 Disconnect Power CAN !

4 Disconnect Power !

Figure: Simplified diagram of a CAN node

Page 24 of 26 Hardware-Manual • Rev. 1.2 CAN-DP, CANopen-DP Page 25 of 26 This page is intentionally left blank.

Page 26 of 26