Академический Документы
Профессиональный Документы
Культура Документы
DeviceNet
Robot controller RobotWare 5.13
The information in this manual is subject to change without notice and should not be construed as a commitment by ABB. ABB assumes no responsibility for any errors that may appear in this manual. Except as may be expressly stated anywhere in this manual, nothing herein shall be construed as any kind of guarantee or warranty by ABB for losses, damages to persons or property, fitness for a specific purpose or the like. In no event shall ABB be liable for incidental or consequential damages arising from use of this manual and products described herein. This manual and parts thereof must not be reproduced or copied without ABB's written permission, and contents thereof must not be imparted to a third party nor be used for any unauthorized purpose. Contravention will be prosecuted. Additional copies of this manual may be obtained from ABB at its then current charge.
Copyright 2004-2010 ABB. All rights reserved.
Copyright 2004-2010 ABB All rights reserved. ABB AB Robotics Products SE-721 68 Vsters Sweden
Table of Contents
1.1 DeviceNet, general . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 1.2 DeviceNet, IRC5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 1.3 Definition of I/O units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 2 Hardware description 17
2.2.1 Shield grounding and power. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 2.2.2 Connection of the DeviceNet bus. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 2.2.3 Selecting cables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 2.2.4 Repeaters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 3 DeviceNet Master/Slave configuration 27
3.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
3.2 Configuration overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
3.3.1 Configuration of third party units. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 3.3.2 Working with IRC5 internal DeviceNet slave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 3.3.3 DeviceNet communication between two IRC5 controllers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 4 System parameters 41
4.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
4.2 Type Bus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
4.4.1 Vendor ID. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 4.4.2 Product Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 4.4.3 Device Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 4.4.4 Major Revision . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 4.4.5 Minor Revision . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 4.4.6 Production Inhibit Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 4.4.7 Explicit Messaging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 4.4.8 Connection 1 Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 4.4.9 Connection 1 Interval . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 4.4.10 Connection 1 Output Size. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 4.4.11 Connection 1 Input Size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 4.4.12 Quick Connect . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 4.4.13 Internal Slave . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 4.4.14 Trigger Poll I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
4.5 Type Fieldbus Command Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
3HAC020676-001 Revision: J
Table of Contents
5 Trouble shooting
63
6.1 General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
6.1.1 DeviceNet Bus and I/O board status LED description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 6.1.2 DeviceNetbus status LEDs at power-up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 6.1.3 External I/O units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 6.1.4 Coil neutralization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 6.1.5 Setting DeviceNet bus ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
6.2 Unit descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
6.2.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 6.2.2 DSQC 651, AD combi I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 6.2.3 DSQC 652, Digital I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 6.2.4 DSQC 653, Digital I/O with relay outputs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 6.2.5 DSQC 355A, Analog I/O . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 6.2.6 DSQC 350A, DeviceNet/Allen Bradley remote I/O gateway . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 6.2.7 DSQC 351A and 351B, DeviceNet/INTERBUS gateways . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 6.2.8 DSQC 352A, DeviceNet/PROFIBUS-DP gateway . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 6.2.9 DSQC 352B, DeviceNet/PROFIBUS-DP gateway . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 6.2.10 DSQC 378A and DSQC 378B, DeviceNet/CCLink gateways . . . . . . . . . . . . . . . . . . . . . . . . . 119 6.2.11 DSQC 377A and DSQC 377B, Queue tracking units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 Index 135
3HAC020676-001 Revision: J
Manual overview
Manual overview
About this manual This manual describes the DeviceNet option and contains instructions for the DeviceNet Master/Slave configuration. It also describes the configuration of boards and units. Usage This manual should be used during installation and configuration of the DeviceNet bus and upgrading of the DeviceNet option. Who should read this manual? This manual is intended for: Prerequisites The reader should have the required knowledge of: Organization of chapters The manual is organized in the following chapters: Chapter
1
Copyright 2004-2010 ABB. All rights reserved.
Personnel that are responsible for installations and configurations of fieldbus hardware/software Personnel that make the configurations of the I/O system System integrators
Contents
This chapter gives an overview of the DeviceNet fieldbus and includes the following: A general description of DeviceNet and the communication protocol connections Description of how the DeviceNet master/slave unit and I/O units are connected in a robot system Definition of I/O units in the IRC5 controller and the configuration of the controller This chapter describes the DeviceNet Master/Slave boards. The chapter also describes: Communication units How to connect the DeviceNet master to an I/O unit Termination Cable types and data rates Repeater functions This chapter gives an overview of the DeviceNet master and internal slave configuration. The chapter also contains descriptions of workflows. This chapter describes the DeviceNet specific system parameters. This chapter contains information and instructions for trouble shooting the DeviceNet connection.
3 4 5
Contents
This chapter gives detailed descriptions of I/O units and gateways available from ABB Robotics and that support DeviceNet communication. The chapter also describes: DeviceNet bus status LEDs at power-up How to set the DeviceNet bus ID
References
Document ID
3HAC16587-1 3HAC18154-1 3HAC020435-001 3HAC16590-1 3HAC032104-001 3HAC021313-001 3HAC021785-001 3HAC17076-1 3HAC16581-1
Description
The web site of ODVA (Open DeviceNet Vendor Association). Specification from ODVA (Open DeviceNet Vendor Associations).
Copyright 2004-2010 ABB. All rights reserved.
D E F
G H J
3HAC020676-001 Revision: J
Technical reference manuals The technical reference manuals describe the manipulator software in general and contain relevant reference information. Application manuals Specific applications (for example software or hardware options) are described in Application manuals. An application manual can describe one or several applications. An application manual generally contains information about:
8
RAPID Overview: An overview of the RAPID programming language. RAPID Instructions, Functions and Data types: Description and syntax for all RAPID instructions, functions, and data types. RAPID Kernel: A formal description of the RAPID programming language. System parameters: Description of system parameters and configuration workflows.
The purpose of the application (what it does and when it is useful). What is included (for example cables, I/O boards, RAPID instructions, system parameters, CD with PC software). How to use the application. Examples of how to use the application. Continues on next page
3HAC020676-001 Revision: J
Product documentation, M2004 Continued Operating manuals The operating manuals describe hands-on handling of the products. The manuals are aimed at those having first-hand operational contact with the product, that is production cell operators, programmers, and trouble shooters. The group of manuals includes: Emergency safety information General safety information Getting started, IRC5 and RobotStudio IRC5 with FlexPendant RobotStudio Introduction to RAPID Trouble shooting, for the controller and manipulator.
3HAC020676-001 Revision: J
Safety
Safety
Safety of personnel When working inside the robot controller it is necessary to be aware of voltage-related risks. A danger of high voltage is associated with the following parts: Units inside the controller, for example I/O units can be supplied with power from an external source. The mains supply/mains switch. The power unit. The power supply unit for the computer system (230 VAC). The rectifier unit (400-480 VAC and 700 VDC). Capacitors! The drive unit (700 VDC). The service outlets (115/230 VAC). The power supply unit for tools, or special power supply units for the machining process. The external voltage connected to the controller remains live even when the robot is disconnected from the mains. Additional connections.
Therefore, it is important that all safety regulations are followed when doing mechanical and electrical installation work. Safety regulations Before beginning mechanical and/or electrical installations, make sure you are familiar with the safety regulations described in Product manual - IRC5.
10
3HAC020676-001 Revision: J
1 Overview
1.1. DeviceNet, general
1 Overview
1.1. DeviceNet, general
What is DeviceNet? DeviceNet is a communications link to connect industrial devices. It is a simple networking solution that reduces both cost and time to wire and install industrial automation devices, and the direct connectivity provides improved communication between devices. DeviceNet is an open network standard. Here are some examples of applications: DeviceNet specification The DeviceNet specification defines a network communication system for moving data between elements of an industrial control system. Communication protocol connections The user must establish a connection with a device in order to exchange information with that device. DeviceNet defines the following two different types of messaging: Type of message
Explicit messages
Copyright 2004-2010 ABB. All rights reserved.
Peer-to-peer data exchange where a DeviceNet product can produce and consume messages Master/slave operation defined as a proper subset of Peer-to-Peer A DeviceNet product can function as a client or server, or both
Description
Explicit messages provide multi-purpose and point-to-point communication paths between two devices. Explicit messages provide the typical request/response oriented network communications used to perform node configuration and problem diagnosis. I/O messages are for time-critical and control-oriented data, and they provide a dedicated and special-purpose communication path between a producing application and one or more consuming applications.
I/O messages
1 Overview
1.1. DeviceNet, general Continued I/O messages - connection types The following table describes the different types of I/O connections. Type of I/O connection
Polled connection
Description
This technique is used for any amount of I/O data. Each slave receives a query from the master and may or may not respond before the next device has received a query. A slave can only respond to a request from the master. A single multicasting request. Quick exchange of a small amount of I/O data between a master and its slaves. The master sends one message that contains one bit of output data to each slave that has a strobe connection. This will result in a synchronized reading of data. Units are configured to produce data upon a change of I/O data. This technique can improve system throughput significantly. Data messages must be acknowledged by the receiver before new messages can be sent. Heart beat messages are used to tell the receiver that the unit is still alive even if no data has changed state for a long time. Units are configured to produce data on a pre-configured time interval. Data production messages must be acknowledged before a new message can be sent. Units are configured to produce data upon a change of application data. This technique can improve system throughput significantly. No acknowledge is required - that is, the receiver of data must be able to consume the data at the same rate as it is produced by the sending unit. Units are configured to produce data on a pre-configured time interval. No acknowledge is required - that is, the receiver of data must be able to consume the data at the same rate as it is produced by the sending unit.
Strobe connection
Cyclic connection
12
3HAC020676-001 Revision: J
1 Overview
1.2. DeviceNet, IRC5
xx0300000531
A B C D E F
DeviceNet fieldbus, Master/Slave unit. Placed in the computer module. Terminating resistor (121 Ohm). DSQC 608/609, DeviceNet power supply 24 V DSQC 608/609, Customer power supply 24 V DSQC 652, Distributed digital I/O. The maximum length of the drop cable is 6 m. IRC5 controller
1 Overview
1.2. DeviceNet, IRC5 Continued Additional Master/Slave The IRC5 system supports up to four Master/Slave units. They work independently from each other, for example have different baud rates, and have the same possibilities and limitations as described in this document. To achieve this, it is possible to use up to two DeviceNet boards of the same type. Following are the possible hardware configurations: One or two single channel PCI boards One or two dual channel PCI boards
NOTE! It is possible to use the PCI card DSQC 658 together with the new PCI card DSQC 697. Bus configuration Configuration of the bus is done using RobotStudio. Refer to Operating manual RobotStudio. Specification overview Item
Fieldbus type Specification revision Data rate Support for predefined Master/Slave connection set
Specification
DeviceNet DeviceNet specification release 2.0 125, 250, 500 Kbps Group 2 Client (Master) Group 2 Only Client (Master) Group 2 Server (Slave)
14
3HAC020676-001 Revision: J
1 Overview
1.3. Definition of I/O units
See
Section Introduction on page 72.
Product manual - IRC5, section Replacement of I/O units and gateways, IRC5. Technical reference manual - System parameters.
3HAC020676-001 Revision: J
15
1 Overview
1.3. Definition of I/O units
16
3HAC020676-001 Revision: J
2 Hardware description
2.1. DeviceNet Master/Slave
2 Hardware description
2.1. DeviceNet Master/Slave
Description DSQC 658/DSQC 697 and DSQC 659 are the PCI cards mounted in the computer module. The Master/Slave boards can be operated both as a master and a slave (at the same time) for a DeviceNet system. Installation of PCI cards For installation descriptions of the DeviceNet Master/Slave board refer to Product manual IRC5, section Replacement of PCI cards in the Computer unit slots. The following figure illustrates the location of the DeviceNet Master/Slave boards in the computer unit.
xx0700000432
Description
Copyright 2004-2010 ABB. All rights reserved.
Art. no.
3HAC037084-001 3HAC025779-001 3HAC025780-001
Note
DSQC 697 DSQC 658 DSQC 659
Pos.
A, B, C, D A, B, C, D A, B, C, D
Prerequisites RobotWare 5.07 or later version, and the DeviceNet option are required to run the DeviceNet Master/Slave board.
2 Hardware description
2.1. DeviceNet Master/Slave Continued Illustration, DSQC 697/DSQC 659 The following figure illustrates the mounting bracket for the PCI cards, the front view.
NOTE! The mounting brackets for DSQC 697 and DSQC 658 are identical with DSQC 659, except of the channel B that is not included.
xx0600002860
A B C D E F
Channel A Health LED Channel A DeviceNet connector Channel A Communication LED Channel B Health LED Channel B DeviceNet connector Channel B Communication LED
2 Hardware description
2.1. DeviceNet Master/Slave Continued DeviceNet connector
xx0200000292
The table below shows the connections to the DeviceNet connector: Signal name
VCANL Shield CANH V+
I/O pin
1 2 3 4 5
Wire color
black blue bare white red
Function
DeviceNet network negative power (0 V) DeviceNet communication bus terminal (low) Network cable shield DeviceNet communication bus terminal (high) DeviceNet network positive power (24 V DC)
LEDs Designation
COMM COMM COMM
Color status
Off Flashing green Solid green
Description
Offline - that is, board is not communicating on the network. Online - that is, board is communicating on the network but no configured devices are found. Online and configured - that is, board is communicating on the network and at least one configured device is found. Bus off - that is, board unable to communicate on network. No power supply to PCI bus. Board is running. Start-up self test OK. Board is not running, an error occurred during board firmware load or a fatal runtime error occurred.
COMM HLT
Copyright 2004-2010 ABB. All rights reserved.
HLT HLT
NOTE! This LED should be lit red at start-up until the proper software is loaded.
3HAC020676-001 Revision: J
19
2 Hardware description
2.2.1. Shield grounding and power
xx0300000525
20
3HAC020676-001 Revision: J
2 Hardware description
2.2.2. Connection of the DeviceNet bus
xx0300000615
A B C D E F
Computer unit DeviceNet PCI board (DSQC 659) DeviceNet connector, channel A DeviceNet connector, channel B 121 ohm, 1 %, 0.25 W metal film resistor I/O unit
Physical connection between DeviceNet bus and DeviceNet node The following figure shows how the next DeviceNet node is connected to the DeviceNet bus.
xx0400000849
A B
2 Hardware description
2.2.2. Connection of the DeviceNet bus Continued Termination resistors in DeviceNet bus Each end of the DeviceNet bus must be terminated with a 121 ohm resistor. The two terminating resistors should be as far apart as possible. The termination resistor is placed in the cable connector. There is no internal termination on the DeviceNet PCI board. The termination resistor is connected between CANL and CANH - that is, between pin 2 and pin 4 according to the illustration below.
xx0400000674
22
3HAC020676-001 Revision: J
2 Hardware description
2.2.3. Selecting cables
Max. length
100 m (328 ft) 100 m (328 ft) 75 m (246 ft) 6m (20 ft) 39 m (128 ft)
Max. length
250 m (820 ft) 100 m (328 ft) 200 m (656 ft) 6m (20 ft) 78 m (256 ft)
Max. length
500 m (1,640 ft) 100 m (328 ft) 380 m (1,250 ft) 6m (20 ft) 156 m (512 ft)
2 Hardware description
2.2.3. Selecting cables Continued Illustration of trunk line and drop lines The figure below illustrates a trunk line with drop lines. Thick or thin cable can be used for trunk lines and drop lines. For information about cable thickness and data rate, see the tables in section DeviceNet bus on page 23.
xx0300000579
A B C D E F G H
Terminator Trunk line Drop line Tap Zero drop Node Short drop T-connector
24
3HAC020676-001 Revision: J
2 Hardware description
2.2.4. Repeaters
2.2.4. Repeaters
Usage Repeaters are used for the following purposes: To avoid disturbances such as ESD/EFT, which may otherwise propagate to other parts of the network. To isolate noisy segments. When using several power supplies a repeater could be used to isolate the supplies from each other to avoid voltage potential differences and ground currents.
Extending the length of a trunk line The following figure illustrates an application example where a repeater is used for extending the length of a trunk line.
en0400000724
Control TR PS
Extending the length of a drop line The following figure illustrates an application example where a repeater is used for extending the length of a drop line.
Copyright 2004-2010 ABB. All rights reserved.
en0400000725
Control TR PS
3HAC020676-001 Revision: J
25
2 Hardware description
2.2.4. Repeaters
26
3HAC020676-001 Revision: J
3HAC020676-001 Revision: J
27
ABB I/O units and/or units from other vendors can be used. No additional software option, except for the DeviceNet option, is required to run I/O units from other vendors. DeviceNet generic unit type Use the DeviceNet generic unit type if the EDS file is unavailable. To define a unit with the predefined unit type DN_GENERIC, you only need to know the network address of the device to be able to communicate with it. When the unit is connected, messages containing the information necessary to create a unit type will appear on the Event Log window of the FlexPendant. The following information appears: Unit identification system parameters (Vendor ID, Device Type and Product Code) The first connection system parameters of the unit (Connection 1 Type, Connection 1 Input Size and Connection 1 Output Size)
Other system parameters in the Unit Type can be left to their default values. See Configuration of third party units on page 32. NOTE! DN_GENERIC should only be used when installing and commissioning new devices. Using DN_GENERIC will increase the startup time. When restarting the system the identification of the I/O unit will be lost and there will not be any information if the unit is replaced with another unit, which has other functionality or size.
Copyright 2004-2010 ABB. All rights reserved.
For more information, refer to the DeviceNet Specification. See References on page 6. CIP routing To be able to use CIP routing the system parameter Explicit Messaging must be set in the unit configuration for those units that will use CIP routing. For details about the unit configuration, refer to Application manual - EtherNet/IP Fieldbus adapter.
3HAC020676-001 Revision: J
29
Description
A DeviceNet bus must be defined before any communication on the bus is possible - that is, define rules for the DeviceNet master to communicate on the network. The following two system parameters are DeviceNet specific: DeviceNet Master Address defines the address which the DeviceNet master should use. DeviceNet Communication Speed defines the communication speed (baud rate). For detailed information, refer to Type Bus on page 42. When creating a unit type some system parameters are fieldbus specific. For detailed information about the parameters see System parameters on page 41. Unit specific values can be found in the EDS file (Electronic Data Sheet) for the unit, see Electronic Data Sheet file on page 31. The EDS file should be obtained from the vendor of the I/O module. If an EDS file is unavailable, the generic unit type could be used to obtain necessary information about the unit. Refer to DeviceNet generic unit type on page 28. Technical reference manual - System parameters
Unit Type
Unit
Predefined bus When the system is installed with the DeviceNet option, a predefined bus DeviceNet1 is created. Predefined Unit Types DN_INTERNAL_SLAVE is used on the slave side to allow an IRC5 DeviceNet master to create a connection to an IRC5 DeviceNet slave. DN_SLAVE is used on the master side to connect to another IRC5 DeviceNet slave.
Copyright 2004-2010 ABB. All rights reserved.
The following Unit Types are predefined for the internal slave:
The predefined Unit Types are supporting a polled connection with the size of 8 input bytes and 8 output bytes as defined in the Unit Types configuration for the fieldbuses. If another input or output size on the internal DeviceNet slave is required, the predefined Unit Types must be changed or new Unit Types must be created. Limitations The internal DeviceNet slave has the following limitations: The default DN_INTERNAL_SLAVE and DN_SLAVE have 8 digital input bytes and 8 digital output bytes but can be increased to the maximum value, which is 64 digital input bytes and 64 digital output bytes. For the internal DeviceNet slave both the input and output map starts at bit 0 and ends at bit 63. Continues on next page
30 3HAC020676-001 Revision: J
I/O connection One I/O connection is supported, but there is no explicit connection to the application. Size and connection type supported are defined in slave type Unit Type. NOTE! If the DeviceNet internal slave loses connection with the master, for example, bus off or connection is interrupted, the input signals of the slave are cleared (reset to zero). Connecting two IRC5 systems When connecting two IRC5 systems the internal slave should be seen and configured as any other ordinary I/O unit from the other IRC5 system, which is acting as a master. Refer to Working with IRC5 internal DeviceNet slave on page 34.
Copyright 2004-2010 ABB. All rights reserved.
Illustration The following picture illustrates how to use the predefined Unit Types.
en0700000564
3HAC020676-001 Revision: J
31
How to use the DeviceNet generic unit type The following steps describe how to use the DeviceNet generic unit type: Action
1. Determine the address on the physical I/O unit. 2. Add unit at the determined address and with unit type DN_GENERIC. 3. Restart the system. 4. View event log that shows unit identification parameters and connection support information. For information see Operating manual RobotStudio and/or Operating manual IRC5 with FlexPendant. Two event messages appear in the Event Log window in RobotStudio. For information see Operating manual RobotStudio.
Note
5. Create new unit type by using information For information see Operating manual from the event log, and change unit type RobotStudio. from DN_GENERIC to the type just created. 6. Define the signals. For information see Operating manual RobotStudio and/or Technical reference manual - System parameters.
3HAC020676-001 Revision: J
33
D
Copyright 2004-2010 ABB. All rights reserved.
xx0400000787
A B C D E
PLC DeviceNet master, for example, with the address 4 and a configured I/O unit with the address 2. Power supply unit, 24 VDC IRC5 controller Internal DeviceNet slave, for example, with the address 2 (the same address as the DeviceNet Master Address on the IRC5 controller).
xx0700000557
For information about how to change the master (internal slave address), refer to DeviceNet master on page 28, DeviceNet communication between two IRC5 controllers on page 36, and DeviceNet Master Address on page 42. 2. Define the signals on the created unit.
xx0700000558
For information, refer to Operating manual - RobotStudio. 3. Restart the system. Now the IRC5 controller is ready to be contacted from another DeviceNet master.
3HAC020676-001 Revision: J
35
xx0400000788
A B C D E
IRC5 DeviceNet master IRC5 DeviceNet slave DeviceNet master Internal DeviceNet slave Power supply unit, 24V DC
Info/Note
See How to use the internal DeviceNet slave on page 35 and Change master address on the IRC5 DeviceNet slave on page 37. The DeviceNet master address needs to be changed to avoid duplicated addresses on the interconnected network with the DeviceNet master (A).
2.
Configure the DeviceNet slave (B) See How to use the internal DeviceNet according to the configuration procedure slave on page 35 and Add unit with the Unit for the internal DeviceNet slave. Type DN_INTERNAL_SLAVE on page 38. Configure the DeviceNet master (A) to connect to the internal DeviceNet slave (B). Configure signals on the created unit. Physically interconnect the two IRC5 con- The shield should only be connected to trollers. earth at one point, and the power should only be connected to the bus cable in one place. Restart the master controller. The master should try to connect to the slave controller. See Add unit to the DeviceNet master on page 39.
3.
4. 5.
6. 7.
Now it is possible to set output signals on The output signals shall appear as inputs one controller. on the other controller.
1. 2.
In RobotStudio, click Configuration Editor and select I/O. Click Bus, then right-click on the bus and select Edit Bus.
xx0700000559
xx0700000560
NOTE! The DeviceNet address used by this unit on the DeviceNet network is the same as the chosen DeviceNet master address on the IRC5 DeviceNet slave (B). Add unit to the DeviceNet master Action
1. 2. In RobotStudio, click Configuration Editor and select I/O. Click Unit, then right-click in the workspace and select Add Unit. Add a unit of the Unit Type DN_SLAVE that corresponds to the Unit Type DN_INTERNAL_SLAVE on the DeviceNet slave IRC5 conroller (B). In the Edit Unit dialog box, type the values for the parameters. Set the address to the same value that was chosen as the DeviceNet Master Address of the DeviceNet slave (B).
3.
xx0700000561
3HAC020676-001 Revision: J
39
40
3HAC020676-001 Revision: J
4 System parameters
4.1. Introduction
4 System parameters
4.1. Introduction
Structure of this chapter There are both DeviceNet specific parameters and more general parameters. This chapter describes all DeviceNet specific system parameters. The parameters are divided into the type they belong to. For information about other system parameters refer to Technical reference manual - System parameters.
3HAC020676-001 Revision: J
41
4 System parameters
4.2.1. DeviceNet Master Address
42
3HAC020676-001 Revision: J
4 System parameters
4.2.2. DeviceNet Communication Speed
Allowed values Allowed values are 125, 250, and 500, specifying the baud rate in Kbps (kilobits per second).
3HAC020676-001 Revision: J
43
4 System parameters
4.3.1. DeviceNet Address
44
3HAC020676-001 Revision: J
4 System parameters
4.4.1. Vendor ID
3HAC020676-001 Revision: J
45
4 System parameters
4.4.2. Product Code
46
3HAC020676-001 Revision: J
4 System parameters
4.4.3. Device Type
3HAC020676-001 Revision: J
47
4 System parameters
4.4.4. Major Revision
48
3HAC020676-001 Revision: J
4 System parameters
4.4.5. Minor Revision
3HAC020676-001 Revision: J
49
4 System parameters
4.4.6. Production Inhibit Time
50
3HAC020676-001 Revision: J
4 System parameters
4.4.7. Explicit Messaging
3HAC020676-001 Revision: J
51
4 System parameters
4.4.8. Connection 1 Type
The default value is Polled connection. Allowed values Allowed values are: Polled connection Strobe connection Change-Of-State (COS) connection Cyclic connection Change-Of-State with acknowledge suppression Cyclic with acknowledge suppression
52
3HAC020676-001 Revision: J
4 System parameters
4.4.9. Connection 1 Interval
3HAC020676-001 Revision: J
53
4 System parameters
4.4.10. Connection 1 Output Size
For units that can give the unit size itself by an explicit message, the value -1 is also allowed.
54
3HAC020676-001 Revision: J
4 System parameters
4.4.11. Connection 1 Input Size
3HAC020676-001 Revision: J
55
4 System parameters
4.4.12. Quick Connect
56
3HAC020676-001 Revision: J
4 System parameters
4.4.13. Internal Slave
3HAC020676-001 Revision: J
57
4 System parameters
4.4.14. Trigger Poll I/O
58
3HAC020676-001 Revision: J
4 System parameters
4.5.1. Path
Default value The default value is an Empty string. Allowed values A string with maximum 30 characters.
4 System parameters
4.5.1. Path Continued Related information Explicit Messaging on page 51. ODVA DeviceNet Specification 2.0. Example
6,20 01 24 08 30 01,C6,1
Description of example: 6 is the length of the path - that is, the number of hexadecimal figurs until the next comma. Path (20 01 24 08 30 01) is a software description of DeviceNet class, instance and attribute. A further description can be found in the ODVA DeviceNet Specification 2.0. C6 is the hexadecimal value for the data type identifier. 1 is the data size - that is, the number of bytes as a hexadecimal value.
60
3HAC020676-001 Revision: J
4 System parameters
4.5.2. Service
4.5.2. Service
Parent Service belongs to the type Fieldbus Command Type, in the topic I/O. Cfg name DN_Service Description Service defines the explicit service that should be performed on DeviceNet object instance or attribute pointed out in Path. Usage Service is used to define the type of action to be used. Prerequisites The system parameter Explicit Messaging (of the type Unit Type) must be enabled. The services supported by the unit can usually be found in the EDS file for the I/O unit. Default value The default value is 0. Allowed values Following values are allowed:
Copyright 2004-2010 ABB. All rights reserved.
Reset (0x05 or 5 in the configuration file) Create (0x08 or 8 in the configuration file) Apply_Attributes (0x0D or 13 in the configuration file) Set_Attribute_Single (0x10 or 16 in the configuration file)
3HAC020676-001 Revision: J
61
4 System parameters
4.5.2. Service
62
3HAC020676-001 Revision: J
5 Trouble shooting
5.1. Bus off
5 Trouble shooting
5.1. Bus off
Description The master/slave channel goes bus off when an excessive number of communication errors are detected and the CAN chip automatically goes off-line. An event message will inform the users that bus off has occurred. The master/slave channel will automatically try to recover from bus off and if succeeded an event message will inform the user that the master/slave channel has recovered from bus off. To turn off the automatically bus off recovery you can use the system parameter Automatically Bus Restart. Refer to Technical reference manual - System parameters. Consequences Bus off indicates a serious communication fault such as incorrect baud rate or physical layer error (short, open etc.). Possible causes The symptom is caused by: Different baud rates on the master and some I/O units (the I/O units do not support auto baud rate). No or faulty power on the bus. Short circuit between CAN high and CAN low. Cable length on trunk cables and drop cables. Faulty terminations.
Recommended actions In order to remedy the symptom, the following actions are recommended:
Copyright 2004-2010 ABB. All rights reserved.
Cause
Different baud rates on the master and some I/O units. (The I/O units do not support auto baud rate.) No or faulty power on the bus. Cable length on trunk cables and drop cables. Faulty terminations.
Action/Info
Cycle the power of the units or manually change the baud rate of the units. Refer to Shield grounding and power on page 20 Refer to Selecting cables on page 23 or Repeaters on page 25. Refer to Connection of the DeviceNet bus on page 21.
NOTE! If the master/slave channel goes bus off, the I/O units on the bus also can go bus off. The only way to recover these units is to cycle the power on the I/O unit (the behavior may be different depending on the manufacturer of the I/O unit).
3HAC020676-001 Revision: J
63
5 Trouble shooting
5.1. Bus off
64
3HAC020676-001 Revision: J
LED color
OFF GREEN steady GREEN flashing
Description
No power applied to the device. Device is operating in a normal condition.
Remedy/cause
Check power supply. If no light, check other LED modes.
Device needs commissioning due to Check system parameters. missing, incomplete or incorrect Check messages. configuration. The device may be in the stand-by state. Recoverable minor fault. The device has an unrecoverable fault. The device is running self test. Check messages. Device may need replacing. If flashing for more than a few seconds, check hardware.
Description
Device has no power or is not online. The device has not completed the Dup_MAC_ID test yet.
Remedy/cause
Check status of MS LED. Check power to affected module.
GREEN steady
The device is online and has connection If no light, check other LED in the established state. modes. For a group 2 device only: the device is allocated to a master. For a UCMM capable device: the device has one or more established connections. Device is online, but has no connections in the established state. The device has passed the Dup_MAC_ID test, is online, but has no established connections to other nodes. For a group 2 device only: the device is not allocated to a master. For a UCMM capable device: the device has no established connections. One or more I/O connections are in the time-out state. Failed communication device. The device has detected an error rendering it incapable of communicating on the network. (Duplicate MAC_ID, or Bus-off). Check that other nodes in the network are operative. Check parameter to see whether module has correct ID.
GREEN flashing
Check system messages. Check system messages and parameters. See the section Bus off on page 63.
LED color
GREEN steady
Description
Physically connected to the DeviceNet Tx line.
Remedy/cause
If no light when transmission is expected, check error messages. Check system boards in rack.
GREEN flashing
DeviceNet Rx - DeviceNet network receive The following table shows the different states of the DeviceNet Rx LED. LED color
GREEN steady GREEN flashing
Description
Physically connected to the DeviceNet Rx line. Flashes when the unit is receiving data on the DeviceNet bus.
Remedy/cause
If no light, check network and connections.
66
3HAC020676-001 Revision: J
DeviceNet Tx - DeviceNet network transmit The following table shows the different states of the DeviceNet Tx LED.
LED action
NS LED is switched Off. MS LED is switched On green for approx. 0.25 seconds. MS LED is switched On red for approx. 0.25 seconds. MS LED is switched On green. NS LED is switched On green for approx. 0.25 seconds. NS LED is switched On red for approx. 0.25 seconds. NS LED is switched On green.
Additional LEDs If a device has other LEDs, each LED is tested in sequence.
3HAC020676-001 Revision: J
67
The maximum cable length between 100 m controller and external I/O unit. Controller placement on cable chain. At one end or anywhere between the ends. Power supply to I/O units. Function of I/O units. Termination of DeviceNet bus. 121 ohm resistor 24 VDC
Section Unit descriptions on page 72. Termination resistors in DeviceNet bus on page 22.
68
3HAC020676-001 Revision: J
xx0100000163
Clamping with a varistor The varistor should be dimensioned for the same current as the relay coil, and a voltage of twice the supply voltage.
xx0100000164
xx0100000165
3HAC020676-001 Revision: J
69
xx0100000245
A B C
Address key
X5 pin
Supply voltage GND - Black CAN signal low - Blue Shield CAN signal high - White Supply voltage 24 VDC - Red Logic GND Board ID bit 0 (LSB) Board ID bit 1 Board ID bit 2 Board ID bit 3 Board ID bit 4 Board ID bit 5 (MSB)
3HAC020676-001 Revision: J
71
Name of unit
AD combi I/O Digital I/O Digital I/O with relay outputs Analog I/O DeviceNet/AllenBradley remote I/O DeviceNet/INTERBUS DeviceNet/PROFIBUS-DP DeviceNet/CCLink Queue tracking
Type of unit
Distributed I/O unit Distributed I/O unit Distributed I/O unit Distributed I/O unit Gateway unit Gateway unit Gateway unit Gateway unit Encoder interface unit
Article number
3HAC025784-001 3HAC025917-001 3HAC025918-001 3HNE00554-1 3HNE00025-1 3HNE00006-1 3HNE00009-1 3HNE00421-1 3HNE01586-1
72
3HAC020676-001 Revision: J
xx0600002853
Parts The table below refers to the illustration in section Illustration on page 73. Item
A X1 X3 X5
Description
Status LEDs Digital outputs See Connector X1 on page 75 for connection table! Digital inputs See Connector X3 on page 75 for connection table! DeviceNet connector See Connector X5 on page 76!
Description
Analog outputs See Connector X6 on page 76!
Facts, DSQC 651 This section specifies a number of facts applicable to the DSQC 651. Unless stated otherwise, the data applies to the standard version. Technical data
No. of digital inputs No. of digital outputs No. of analog outputs 8 8 2 (galvanically isolated from the controller electronics) 0-10 V, 12 bit unsigned encoding 24 VDC Integrated power supply in controller. Separate 24 VDC power, supplied by customer in non-ABB external I/O unit. Support for the following connections: Polled Change-Of-State Change-Of-State with acknowledge suppression Cyclic Cyclic with acknowledge suppression For descriptions of the different types of I/O connections, see I/O messages - connection types on page 12. Autodetect; the unit will detect the baud rate automatically.
Copyright 2004-2010 ABB. All rights reserved.
SW connections
Baud rate
NOTE! When the master baud rate is changed disconnect the power to the unit(s) before the system is restarted, reconnect the power when the master is up and running. This is required for the unit(s) to be able to establish a new connection with the master.
Unit setup The unit must be given an address, and setup parameters must be entered into the system.
xx0200000264
The table below shows the connections to connector X1: Unit function
Optically isolated output Optically isolated output Optically isolated output Optically isolated output Optically isolated output Optically isolated output Optically isolated output Optically isolated output Optically isolated output Optically isolated output
Signal name
Out ch 1 Out ch 2 Out ch 3 Out ch 4 Out ch 5 Out ch 6 Out ch 7 Out ch 8 0 V for outputs 24 V for outputs
X1 pin
1 2 3 4 5 6 7 8 9 10
Connector X3
xx0200000264
The table below shows the connections to connector X3: Unit function
Copyright 2004-2010 ABB. All rights reserved.
Signal name
In ch 1 In ch 2 In ch 3 In ch 4 In ch 5 In ch 6 In ch 7 In ch 8 0 V for inputs Not used
X3 pin
1 2 3 4 5 6 7 8 9 10
Optically isolated input Optically isolated input Optically isolated input Optically isolated input Optically isolated input Optically isolated input Optically isolated input Optically isolated input Optically isolated input Optically isolated input
The input current is 5.5 mA (at 24 V) on the digital inputs. A capacitor connected to ground, to prevent disturbances, causes a short rush of current when setting the input. When connecting outputs, sensitive to pre-oscillation current, a series resistor (100 Ohms) may be used.
xx0100000244
Connector X5 is a DeviceNet connector specified in section Setting DeviceNet bus ID on page 70. Connector X6
xx0200000265
The table below shows the connections to connector X6: Signal name
0 VA AN_OCH1 AN_OCH2
X6 pin
1 2 3 4 5 6
Explanation
No connection No connection No connection 0 V for Out channels 1-2 Out channels 1 Out channels 2
LEDs The significance of the LEDs are specified in section DeviceNet Bus and I/O board status LED description on page 65. Input map The following figure shows the digital input mapping.
xx0300000613
NOTE! Pay attention to the order of the bits for the analog signals.
xx0300000532
LSB MSB
The least significant bit of the binary number representing the analog signal. The most significant bit of the binary number representing the analog signal.
Numerical format The numerical representation of the values are described in the table below: Signal
AO 1-AO 2
Copyright 2004-2010 ABB. All rights reserved.
Hexadecimal number
0xFFFF 0x7FFF 0x0
Bit value
MaxBitVal = 65535 MinBitVal = 0
AO 1-AO 2 AO 1-AO 2
Additional information The table shows the physical type of the signals, resolution etc. Signal
AO 1 AO 2
Type
Voltage Voltage
Range
0 V .. +10 V 0 V .. +10 V
Resolution
12 bit 12 bit
Encoding type
Unsigned Unsigned
3HAC020676-001 Revision: J
77
xx0600002855
Parts The following table refers to the illustration in section Illustration on page 78. Item
A X1 X2 X3 X4
Description
Status LEDs Digital outputs See section Connector X1 on page 79 for connection table! Digital outputs See Connector X2 on page 80for connection table! Digital inputs See Connector X3 on page 80 for connection table! Digital inputs See Connector X4 on page 81 for connection table!
Description
DeviceNet connector See Connector X5 on page 81!
Facts, DSQC 652 This section specifies a number of facts applicable to the DSQC 652. Unless stated otherwise, the data applies to the standard version. Technical data
No. of inputs No. of outputs Supply voltage Supply source SW connections 16 16 24 VDC 24 V I/O or separate external supply Support for the following connections: Polled Change-Of-State Change-Of-State with acknowledge suppression Cyclic Cyclic with acknowledge suppression For descriptions of the different types of I/O connections, see I/O messages - connection types on page 12. Autodetect; the unit will detect the baud rate automatically.
Baudrate
NOTE! When the master baud rate is changed disconnect the power to the unit(s) before the system is restarted, reconnect the power when the master is up and running. This is required for the unit(s) to be able to establish a new connection with the master.
Copyright 2004-2010 ABB. All rights reserved.
Unit setup The unit must be given an address, and setup parameters must be entered into the system. Connector X1 If supervision of the supply voltage is required, a bridge connection can be made to an optional digital input. The supervision instruction must be written in the RAPID program.
xx0200000264
The following table shows the connections to connector X1: Unit function
Optically isolated output Optically isolated output Optically isolated output Optically isolated output
Signal name
Out ch 1 Out ch 2 Out ch 3 Out ch 4
X1 pin
1 2 3 4
Signal name
Out ch 5 Out ch 6 Out ch 7 Out ch 8 0 V for outputs 24 V for outputs
X1 pin
5 6 7 8 9 10
Connector X2 If supervision of the supply voltage is required, a bridge connection can be made to an optional digital input. The supervision instruction must be written in the RAPID program.
xx0200000264
The following table shows the connections to connector X2: Unit function
Optically isolated output Optically isolated output Optically isolated output Optically isolated output Optically isolated output Optically isolated output Optically isolated output Optically isolated output Optically isolated output Optically isolated output
Signal name
Out ch 9 Out ch 10 Out ch 11 Out ch 12 Out ch 13 Out ch 14 Out ch 15 Out ch 16 0 V for outputs 24 V for outputs
X2 pin
1 2 3 4 5 6 7 8 9 10
Connector X3
Copyright 2004-2010 ABB. All rights reserved.
xx0200000264
The following table shows the connections to connector X3: Unit function
Optically isolated input Optically isolated input Optically isolated input Optically isolated input Optically isolated input Optically isolated input Optically isolated input Optically isolated input Optically isolated input
Signal name
In ch 1 In ch 2 In ch 3 In ch 4 In ch 5 In ch 6 In ch 7 In ch 8 0 V for inputs
X3 pin
1 2 3 4 5 6 7 8 9
Signal name
Not used
X3 pin
10
The input current is 5.5 mA (at 24 V) on the digital inputs. A capacitor connected to ground, to prevent disturbances, causes a short rush of current when setting the input. When connecting outputs, sensitive to pre-oscillation current, a series resistor (100 Ohms) may be used. Connector X4
xx0200000264
The following table shows the connections to connector X4: Unit function
Optically isolated input Optically isolated input Optically isolated input Optically isolated input Optically isolated input Optically isolated input Optically isolated input Optically isolated input Optically isolated input Optically isolated input
Signal name
In ch 9 In ch 10 In ch 11 In ch 12 In ch 13 In ch 14 In ch 15 In ch 16 0 V for inputs Not used
X4 pin
1 2 3 4 5 6 7 8 9 10
The input current is 5.5 mA (at 24 V) on the digital inputs. A capacitor connected to ground, to prevent disturbances, causes a short rush of current when setting the input.
Copyright 2004-2010 ABB. All rights reserved.
When connecting outputs, sensitive to pre-oscillation current, a series resistor (100 ohms) may be used. Connector X5
xx0100000244
Connector X5 is a DeviceNet connector specified in section Setting DeviceNet bus ID on page 70. LEDs The significance of the LEDs are specified in section DeviceNet Bus and I/O board status LED description on page 65.
xx0300000613
Output map The following figure shows the digital output mapping.
en0400000716
82
3HAC020676-001 Revision: J
xx0600002857
Parts The following table refers to the illustration in section Illustration on page 83. Item
A X1 X3 X5
Description
Status LEDs Relay outputs See section Connector X1 on page 85 for connection table! Digital inputs See section Connector X3 on page 86for connection table! DeviceNet connector See section Connector X5 on page 87!
Baud rate
NOTE! When the master baud rate is changed disconnect the power to the unit(s) before the system is restarted, reconnect the power when the master is up and running. This is required for the unit(s) to be able to establish a new connection with the master.
Unit setup The unit must be given an address, and setup parameters must be entered into the system.
en0500001565
The following illustration shows how to connect the digital inputs for the connector X3.
en0500001566
Connector X1
xx0100000235
The following table shows the connections to connector X1: Signal name
Out ch 1a Out ch 1b Out ch 2a Out ch 2b Out ch 3a Out ch 3b Out ch 4a
X1 pin
1 2 3 4 5 6 7
Function
Contact, relay 1 Contact, relay 1 Contact, relay 2 Contact, relay 2 Contact, relay 3 Contact, relay 3 Contact, relay 4
X1 pin
8 9 10 11 12 13 14 15 16
Function
Contact, relay 4 Contact, relay 5 Contact, relay 5 Contact, relay 6 Contact, relay 6 Contact, relay 7 Contact, relay 7 Contact, relay 8 Contact, relay 8
Connector X3
xx0100000235
The following table shows the connections to connector X3: Signal name
In ch 1 In ch 2 In ch 3 In ch 4 In ch 5 In ch 6 In ch 7 In ch 8 0 v for inputs Not used Not used Not used Not used Not used Not used Not used
X3 pin
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
Copyright 2004-2010 ABB. All rights reserved.
The input current is 5.5 mA (at 24 V) on the digital inputs. A capacitor connected to ground, to prevent disturbances, causes a short rush of current when setting the input. When connecting outputs, sensitive to pre-oscillation current, a series resistor (100 Ohms) may be used.
xx0100000244
Connector X5 is a DeviceNet connector specified in section Setting DeviceNet bus ID on page 70. LEDs The significance of the LEDs are specified in section DeviceNet Bus and I/O board status LED description on page 65. Input map The following figure shows the digital input mapping.
xx0300000613
Output map The following figure shows the digital output mapping.
en0400000716
3HAC020676-001 Revision: J
87
xx0100000238
Parts The following table refers to the illustration in section Illustration on page 88. Item
X3 X5 X7 X8
Copyright 2004-2010 ABB. All rights reserved.
Description
Back-up feed supply See section Connector X3 on page 89 for connection tables! DeviceNet connector See section Connector X5 on page 89! Analog outputs See section Connector X7 on page 89 for connection tables! Analog inputs See section Connector X8 on page 91 for connection tables!
Unit ID and setup The unit must be given an ID address, and setup parameters must be entered into the system. Connector X3
xx0100000221
The following table shows the connections to connector X3: Signal name
0 VDC NC GND NC + 24 VDC
X3 pin
1 2 3 4 5
Function
Supply voltage GND Not connected Ground connection Not connected Supply voltage + 24 VDC
Connector X5
xx0100000244
Connector X5 is a DeviceNet connector further described in section Setting DeviceNet bus ID on page 70. Connector X7
xx0100000236
X7 pin
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
Function
Analog output 1, -10 V/+10 V Analog output 2, -10 V/+10 V Analog output 3, -10 V/+10 V Analog output 4, 4-20 mA
NOTE! The load on analog outputs on current mode must always be between 500-1000 ohm.
xx0100000237
The following table shows the connections to connector X8: Signal name
ANIN_1 ANIN_2 ANIN_3 ANIN_4 Not used Not used Not used Not used Not used Not used Not used Not used Not used Not used
Copyright 2004-2010 ABB. All rights reserved.
X8 pin
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
Function
Analog input 1, -10 V/+10 V Analog input 2, -10 V/+10 V Analog input 3, -10 V/+10 V Analog input 4, -10 V/+10 V
Not used Not used +24 V out +24 V out +24 V out +24 V out +24 V out +24 V out +24 V out +24 V out GND GND GND GND GND GND
+24 VDC supply +24 VDC supply +24 VDC supply +24 VDC supply +24 VDC supply +24 VDC supply +24 VDC supply +24 VDC supply Analog input 1, 0 V Analog input 2, 0 V Analog input 3, 0 V Analog input 4, 0 V
X8 pin
31 32
Function
Board specific LEDs The designations refer to LEDs shown in the figure in section Illustration on page 88. Designation
RS232 Rx
Color
Green
Description
Indicates the state of the RS232 Rx line. LED is active when receiving data. If there is no light, check communication line and connections. Indicates the state of the RS232 Tx line. LED is active when transceiving data. If there is no light when transmission is expected, check error messages. Check also system boards in rack. Indicates that supply voltage is present and at correct level. If there is no light, check that voltage is present on power unit and that power is present in power connector. If not, check cables and connectors. If power is applied to the unit but it does not work, replace the unit.
RS232 Tx
Green
Green
General LEDs The significance of the LEDs are specified in section DeviceNet Bus and I/O board status LED description on page 65.
NOTE! Pay attention to the order of the bits for the analog signals.
en0400000806
LSB MSB
The least significant bit of the binary number representing the analog signal. The most significant bit of the binary number representing the analog signal.
NOTE! Pay attention to the order of the bits for the analog signals.
en0400000805
LSB MSB
The least significant bit of the binary number representing the analog signal. The most significant bit of the binary number representing the analog signal.
Numerical format The numerical representation of the values are described in the table below: Signal Analog physical value Hexadecimal number
0x7FFF 0x0 0x800 0xFFFF 0x0 0x7FFF 0x0 0x8000
Copyright 2004-2010 ABB. All rights reserved.
Bit value
MaxBitVal = 32767 MinBitVal = -32768 MaxBitVal = 65535 MinBitVal = 0 MaxBitVal = 32767 MinBitVal = -32768
Type
Voltage Voltage Voltage Current Voltage Voltage Voltage Voltage
Range
-10 V .. +10 V -10 V .. +10 V -10 V .. +10 V 4 mA .. 20 mA -10 V .. +10 V -10 V .. +10 V -10 V .. +10 V -10 V .. +10 V
Resolution
12 bit 12 bit 12 bit 12 bit 16 bit 16 bit 16 bit 16 bit
Encoding type
Twos complement Twos complement Twos complement Unsigned Twos complement Twos complement Twos complement Twos complement
3HAC020676-001 Revision: J
95
xx0100000226
Parts The table below refers to the illustration in section Illustration on page 96. Item
X3 X5 X8
Description
Backup feed supply DeviceNet and ID connector RIO in See section Connector X8 on page 97 for connection tables! RIO out See section Connector X9 on page 98 for connection tables!
X9
Baud rate
Connector X3
xx0100000221
The table below shows the connections to connector X3: Signal name
0 VDC NC GND NC + 24 VDC
X3 pin
1 2 3 4 5
Function
Supply voltage GND Not connected Ground connection Not connected Supply voltage + 24 VDC
Connector X5
Copyright 2004-2010 ABB. All rights reserved.
xx0100000244
Connector X5 is a DeviceNet connector specified in section Setting DeviceNet bus ID on page 70. Connector X8
xx0400000718
The table below shows the connections to connector X8: Signal name
LINE1 (blue) LINE2 (clear) Shield Cabinet ground
X8 pin
1 2 3 4
Function
Remote I/O in Remote I/O in Remote I/O in Remote I/O in
xx0400000718
The table below shows the connections to connector X9: Signal name
Blue Clear Shield Cabinet ground
X9 pin
1 2 3 4
Function
Remote I/O out Remote I/O out Remote I/O out Remote I/O out
Board specific LEDs The figure and table below show the location and significance of the the LEDs on the board. Designation
POWER-24 VDC
Color
Green
Description
Indicates that a supply voltage is present, and has a level above 12 VDC. If there is no light, check that voltage is present on power unit and in power connector. If not, check cables and connectors. If power is applied to the unit but it does not work, replace the unit. Steady green indicates RIO link in operation. If there is no light, check network, cables and connections. Also check that PLC is operational. Flashing green indicates that communication is established, but the INIT_COMPLETE bit is not set in NA chip, or configuration, rack size etc. does not match configuration set in PLC. If LED keeps flashing continuously, check setup.
Copyright 2004-2010 ABB. All rights reserved.
NAC STATUS
Green
General LEDs The significance of the LEDs are specified in section DeviceNet Bus and I/O board status LED description on page 65. Unit size The table explains the unit size for the input and output units. Unit size
32+2 DI/32 DO 64+2 DI/64 DO 96+2 DI/96 DO 128+2 DI/128 DO
Rack size
0 1 2 3
Number of bits
32 64 96 128
Number of bytes
4 8 12 16
en0400000720
m RIO Status
The rack size (in 32 bit intervals) that the unit has been configured to, using the Fieldbus Command Type RackSize. The status of the remote I/O communication can be monitored using the signal RIO Status. When RIO Status is set it indicates that the unit is in data communication with the PLC/master controlling it (the NAC STATUS LED is steady green). The status of the remote I/O communication can be monitored using the signal RIO Comm. When RIO Comm is set it indicates that the RIO communication is "partially up" (the NAC STATUS LED is flashing) - that is, the PLC is in programming mode. Not used. The signal position is reserved for future use and shall not be used.
RIO Comm
N.U.
The RIO status signals are located at the first bits of the last byte of the input area. For example, if the RackSize is set to 1 (2 * 32 bit) there are 8 bytes of input data (bit 0-63), and the signals RIO Command RIO Status are located at bit 64 and bit 65 respectively. Output map The figure below shows the digital output mapping.
Copyright 2004-2010 ABB. All rights reserved.
en0400000719
The rack size (in 32 bit intervals) that the unit has been configured to, using the Fieldbus Command Type RackSize.
Allowed values
Usage
Determines the address of the DSQC 350A on the RIO connection. Note! The rack address is entered in decimal form (063) while AllenBradley use octal representation (base 8, range 0-77). Determines the communication speed on the RIO bus.
DataRate
6, 20 64 24 0-2 according to: 01 30 02, C6, 0 = 57.6 kbaud 1 1 = 115.2 kbaud 2 = 230.4 kbaud 6, 20 64 24 0-3 according to: 01 30 03, C6, 0 = First (PLC value 0) 1 1 = Second (PLC value 2) 2 = Third (PLC value 4) 3 = Fourth (PLC value 6)
StartQ
RackSize
6, 20 64 24 0-3 according to: Determines the size of the 01 30 04, C6, 0 = 1/4 rack (32 DO, 32+2 DI) input and output data areas 1 of the RIO gateway. 1 = 1/2 rack (64 DO, 64+2 DI) 2 = 3/4 rack (96 DO, 96+2 DI) 3 = Full rack (128 DO, 128+2 DI) 6, 20 64 24 0 and 1 according to: Determines if the unit is the 01 30 05, C6, 0 = No (this is NOT the last rack) last rack on the RIO bus. 1 1 = Yes (this is the last rack)
Copyright 2004-2010 ABB. All rights reserved.
LastRack
Additional information The data areas of the gateway are "byte-consistent", which means that signals within the same byte (groups of 8 bits) are handled as one piece and are guaranteed to belong to the same buscycle. Normally this does not cause any problems, but if a signal group has been defined across the byte boundaries as e.g. a 16 bit group signal this needs to be considered. It is important to make sure that undesired behaviors are avoided in the case when the group signal is updated at exactly the same time as the gateway is being polled/scanned by one of the masters. The values for the Fieldbus Command Types are stored in flash memory of the gateway module. Any change of these values requires a reset (or power cycle) of the gateway module before it actually assumes these new values. By using the standard configuration files for the gateways, the robot controller will automatically issue a reset command to activate the modified configuration.
100
3HAC020676-001 Revision: J
xx0100000224
A B C D E F
Copyright 2004-2010 ABB. All rights reserved.
Master PLC (customer equipment) Robot 1 controller, word 1-4 Robot 2 controller, word 5-8 Robot 3 controller, word 9-12 128 inputs/128 outputs 64 inputs/64 outputs
Note! A link is connected between pin 5 and 9 in the plug on the interconnection cable connected to the OUT connector (connector X21) of each unit. The link informs the INTERBUS unit that more units are connected further out in the chain. (The last unit does not have a cable connected and therefore no link.)
xx0100000225
Parts The table below refers to Illustration of DSQC 351A/B on page 102. Item
X3 X5 X20 X21
Description
Back-up feed supply See section Connector X3 on page 103 for connection tables! DeviceNet connector See section Connector X5 on page 103!
Copyright 2004-2010 ABB. All rights reserved.
INTERBUS, input See section Connector X20 on page 103 for connection tables! INTERBUS, output See section Connector X21 on page 104 for connection tables!
Facts, DSQC 351A/B This section specifies a number of facts applicable to the DSQC 351A/B. Unless stated otherwise, the data applies to the standard version. Also see the INTERBUS specification, International Standard DIN 19258. Technical data
SW connections Support for the following connections: Polled Change-Of-State Change-Of-State with acknowledge suppression For descriptions of the different types of I/O connections, see I/O messages - connection types on page 12. 500 Kbps
Baud rate
xx0100000221
The table below shows the connections to connector X3: Signal name
0 VDC NC GND NC + 24 VDC
X3 pin
1 2 3 4 5
Function
Supply voltage GND Not connected Ground connection Not connected Supply voltage + 24 VDC
Connector X5
xx0100000244
Connector X5 is a DeviceNet connector specified in section Setting DeviceNet bus ID on page 70. Connector X20
xx0100000220
The table below shows the connections to connector X20: Signal name
TPDO1 TPDI1 GND NC NC
X20 pin
1 2 3 4 5
Function
Communication line TPDO1 Communication line TPDI1 Ground connection Not connected Not connected
X20 pin
6 7 8 9
Function
Communication line TPDO1-N Communication line TPDI1-N Not connected Not connected
Connector X21
xx0100000220
The table below shows the connections to connector X21: Signal name
TPDO2 TPDI2 GND NC +5V TPDO2-N TPDI2-N NC RBST
X21 pin
1 2 3 4 5 6 7 8 9
Function
Communication line TPDO2 Communication line TPDI2 Ground connection Not connected + 5 VDC Communication line TPDO2-N Communication line TPDI2-N Not connected Synchronization
Note! Pin 5 and pin 9 in X21 must be linked together. Board specific LEDs The designations refer to LEDs shown in the figure in the section Illustration of DSQC 351A/ B on page 102. Designation
POWER-24 VDC (upper indicator)
Color
GREEN
Description
Indicates that a supply voltage is present, and has a level above 12 VDC. If there is no light, check that voltage is present on power module. Check also that power is present in power connector. If it is not, check cables and connectors. If power is applied to unit but unit does not work, replace unit. Lit when both 5 VDC supplies are within limits, and no reset is active. If there is no light, check that voltage is present on power module. Check also that power is present in power connector. If it is not, check cables and connectors. If power is applied to unit but unit does not work, replace unit. Lit when this INTERBUS station is last in the INTERBUS network. If it is not, verify the INTERBUS configuration.
GREEN
RBDA
RED
Color
GREEN GREEN
Description
Lit when INTERBUS is active. If there is no light, check network, nodes and connections. Lit when INTERBUS communication runs without errors. If there is no light, check system messages in robot and in INTERBUS net.
General LEDs The significance of the LEDs are specified in section DeviceNet Bus and I/O board status LED description on page 65. Input map The figure below shows the digital input mapping.
en0400000799
m INTERBUS Status
The number of words (16 bit) that the unit has been configured to, using the Fieldbus Command Type DataWidth. The status of the INTERBUS communication can be monitored using the signal INTERBUS Status. When INTERBUS Status is set it indicates that the unit is in data communication with the PLC/master controlling it, i.e. bus is active (the BA LED is lit). Not used. The signal position is reserved for future use and shall not be used.
N.U.
Copyright 2004-2010 ABB. All rights reserved.
The INTERBUS Status signal is located in the last bit of the last byte of the input area. For example, if the DataWidth is set to 4 (words) there are 8 bytes of input data (bit 0-63), and the INTERBUS Status is located in the last bit of the 9th byte i.e. bit 71.
en0400000800
The number of words (16 bit) that the unit has been configured to, using the Fieldbus Command Type DataWidth.
Fieldbus Command Types Following table gives necessary data on the Fieldbus Command Types for DeviceNet communication. Fieldbus Path Command (DeviceNet Type parameter)
DataWidth
Allowed values
Usage
6, 20 65 24 01 0-3 according to: Determines the size of the 30 01, C6, 1 0 = 1 word (16 DO, 16+1 DI) input and output data areas of 1 = 2 words (32 DO, 32+1 DI) the INTERBUS gateway. 2 = 3 words (48 DO, 48+1 DI) 3 = 4 words (64 DO, 64+1 DI)
Additional information The data areas of the gateway are "byte-consistent", which means that signals within the same byte (groups of 8 bits) are handled as one piece and are guaranteed to belong to the same buscycle. Normally this does not cause any problems, but if a signal group has been defined across the byte boundaries as e.g. a 16 bit group signal this needs to be considered. It is important to make sure that undesired behaviors are avoided in the case when the group signal is updated at exactly the same time as the gateway is being polled/scanned by one of the masters. The values for the Fieldbus Command Types are stored in flash memory of the gateway module. Any change of these values requires a reset (or power cycle) of the gateway module before it actually assumes these new values. By using the standard configuration files for the gateways, the robot controller will automatically issue a reset command to activate the modified configuration.
106
3HAC020676-001 Revision: J
xx0100000222
A B C D E F
Master PLC (customer equipment) Robot 1 controller, word 1-8 Robot 1 controller, word 9-16 Robot 2 controller, word 17-24 256 inputs/256 outputs 128 inputs/128 outputs
xx0100000223
Parts The table below refers to the illustration in section Illustration on page 108. Item
X3 X5 X20
Description
Back-up feed supply See section Connector X3 on page 109 for connection tables! DeviceNet connector See section Connector X5 on page 109!
Copyright 2004-2010 ABB. All rights reserved.
PROFIBUS connection See section Connector X20 on page 109 for connection tables
Facts, DSQC 352A This section specifies a number of facts applicable to the DSQC 352A. Unless stated otherwise, the data applies to the standard version. Also see the PROFIBUS-DP specification, International Standard DIN E 19245 part 3. Technical data
SW connections Support for the following connections: Polled Change-Of-State Change-Of-State with acknowledge suppression For descriptions of the different types of I/O connections, see I/O messages - connection types on page 12. 500 Kbps
Baud rate
xx0100000221
The table below shows the connections to connector X3: Signal name
0 VDC NC GND NC + 24 VDC
X3 pin
1 2 3 4 5
Function
Supply voltage GND Not connected Ground connection Not connected Supply voltage + 24 VDC
Connector X5
xx0100000244
Connector X5 is a DeviceNet connector further described in section Setting DeviceNet bus ID on page 70. Connector X20
Copyright 2004-2010 ABB. All rights reserved.
xx0100000220
The table below shows the connections to connector X20: Signal name
Shield NC RxD/TxD-P Control-P GND +5 VDC NC RxD/TxD-N
X20 pin
1 2 3 4 5 6 7 8
Function
Cable screen Not connected Receive/Transmit data P Ground connection Not connected Receive/Transmit data N
X20 pin
9
Function
Not connected
Board specific LEDs The designations refer to LEDs shown in the figure in section Illustration on page 108. Designation
PROFIBUS active
Color
Green
Description
Lit when the node is communicating with the master. If there is no light, check system messages in robot and in PROFIBUS net. Indicates that a supply voltage is present, and has a level above 12 VDC. If there is no light, check that voltage is present in power unit and in the power connector. If not, check cables and connectors. If power is applied to the unit but it does not work, replace the unit.
General LEDs The significance of the LEDs are specified in section DeviceNet Bus and I/O board status LED description on page 65. Input map The following figure shows the digital input mapping.
en0400000804
The number of words (16 bit) that the unit has been configured to, using the Fieldbus Command Type MasterInputSize. The status of the PROFIBUS communication can be monitored using the signal PROFIBUS Status. When PROFIBUS Status is set it indicate that the unit is in data communication with the PLC/master controlling it. Not used. The signal position is reserved for future use and shall not be used.
The PROFIBUS Status signal is located in the last bit of the last byte of the input area. For example, if the MasterInputSize is set to 4 (words) there are 8 bytes of input data (bit 063), and the PROFIBUS Status is located in the last bit of the 9th byte i.e. bit 71.
en0400000912
The number of words (16 bit) that the unit has been configured to, using the Fieldbus Command Type MasterOutputSize.
Fieldbus Command Types Following table gives necessary data on the Fieldbus Command Types for DeviceNet communication. Fieldbus Command Type
MasterInputSize
Allowed values
Usage
6, 20 67 24 01 0-8 (words) Determines the size of the input data area 30 02, C6,1 of the gateway module. The size is expressed in number of words (16 bit groups), which means that the maximum size of input data for one DSQC 352A is 128 bit. By reducing the size, the allocated bandwidth decreases and thus the throughput and performance of the network increase.
MasterOutputSize 6, 20 67 24 01 0-8 (words) Determines the size of the output data area 30 03, C6, 1 of the gateway module. The size is expressed in number of words (16 bit groups), which means that the maximum size of output data for one DSQC 352A is 128 bit. By reducing the size, the allocated bandwidth decreases and thus the throughput and performance of the network increase. StationAddress 6, 20 67 24 01 2-126 30 04, C6, 1 Determines the address of the DSQC 352B on the PROFIBUS connection. The value that StationAddress is set to, is the gateway address found by the external master (PLC) connected to the PROFIBUS side of the gateway.
112
3HAC020676-001 Revision: J
xx0100000222
A B C D E F
Master PLC (customer equipment) Robot 1 controller, word 1-8 Robot controller, word 9-16 Robot 2 controller, word 17-24 512 inputs/512 outputs 256inputs/256 outputs
xx0100000223
Parts The following table refers to the illustration in the section Illustration on page 108 Item
X3 X5 X20
Description
Back-up feed supply See the section Connector X3 on page 115 for connection tables. DeviceNet connector. See the section Connector X5 on page 115.
Copyright 2004-2010 ABB. All rights reserved.
PROFIBUS connection See the section Connector X20 on page 115 for connection tables.
Facts, DSQC 352B The following section specifies a number of facts applicable to the DSQC 352B. Unless stated otherwise, the data applies to the standard version. Also see the PROFIBUS-DP specification, International Standard DIN E 19245 part 3. Technical Data
SW connections Support for the following connections: Polled Change-Of-State Change-Of-State with acknowledge suppression For descriptions of the different types of I/O connections, see I/O messages - connection types on page 12. 500 Kbps
Baud rate
xx0100000221
X3 pin
1 2 3 4 5
Function
Supply voltage GND Not connected Ground connection Not connected Supply voltage + 24 VDC
Connector X5
xx0100000244
Connector X5 is a DeviceNet connector further described in the section Setting DeviceNet bus ID on page 70. Connector X20
Copyright 2004-2010 ABB. All rights reserved.
xx0100000220
The table below shows the connections to connector X20: Signal name
Shield NC RxD/TxD-P Control-P GND +5 VDC NC RxD/TxD-N NC 3HAC020676-001 Revision: J
X20 pin
1 2 3 4 5 6 7 8 9
Function
Cable screen Not connected Receive/Transmit data P Ground connection Not connected Receive/Transmit data N Not connected
Color
Green
Description
Lit when the node is communicating with the master. If there is no light, check system messages in robot and in PROFIBUS net. Indicates that a supply voltage is present, and has a level above 12 VDC. If there is no light, check that voltage is present in power unit and in the power connector. If not, check cables and connectors. If power is applied to the unit but it does not work, replace the unit.
General LEDs The significance of the LEDs are specified in the section. Input map The following figure shows the digital input mapping.
en0400000804
The status of the PROFIBUS communication can be monitored using the signal PROFIBUS Status. When PROFIBUS Status is set it indicate that the unit is in data communication with the PLC/master controlling it. Not used. The signal position is reserved for future use and shall not be used.
The PROFIBUS Status signal is located in the last bit of the last byte of the input area. For example, if the MasterInputSize is set to 4 (words) there are 8 bytes of input data (bit 063), and the PROFIBUS Status is located in the last bit of the 9th byte i.e. bit 71.
The number of words (16 bit) that the unit has been configured to, using the Fieldbus Command Type MasterInputSize.
en0400000912
The number of words (16 bit) that the unit has been configured to, using the Fieldbus Command Type MasterOutputSize.
Fieldbus Command Types The following table gives necessary data on the Fieldbus Command Types for DeviceNet communication. Path Fieldbus (DeviceNet Command Type parameter)
MasterInputSize
Allowed values
Usage
6, 20 67 24 01 0-16 (words) Determines the size of the input data 30 02, C6,1 area of the gateway module. The size is expressed in number of words (16 bit groups), which means that the maximum size of input data for one DSQC 352B is 256 bit. By reducing the size, the allocated bandwidth decreases and thus the throughput and performance of the network increase. 6, 20 67 24 01 0-16 (words) Determines the size of the output data 30 03, C6, 1 area of the gateway module. The size is expressed in number of words (16 bit groups), which means that the maximum size of output data for one DSQC 352B is 256 bit. By reducing the size, the allocated bandwidth decreases and thus the throughput and performance of the network increase. 6, 20 67 24 01 2-126 30 04, C6, 1 Determines the address of the DSQC 352B on the PROFIBUS connection. The value that StationAddress is set to, is the gateway address found by the external master (PLC) connected to the PROFIBUS side of the gateway.
MasterOutputSize
Copyright 2004-2010 ABB. All rights reserved.
StationAddress
118
3HAC020676-001 Revision: J
xx0400000826
A B C D
Copyright 2004-2010 ABB. All rights reserved.
Master PLC (customer equipment) Robot 1 controller Robot 2 controller Robot 3 controller DSQC 378A/B controller Connector X8 controller
E F
Note! The CCLink cable must be terminated with termination resistors (110 ohm) in both ends.
xx0400000825
Parts Item
X3 X5 X8
Description
Back-up feed supply See section Connector X3 on page 121 for connection tables! DeviceNet connector See section Connector X5 on page 121! CCLink network connector See section Connector X8 on page 121 for connection tables!
Copyright 2004-2010 ABB. All rights reserved.
Facts, DSQC 378A/B This section specifies a number of facts applicable to the DSQC 378A/B. Unless stated otherwise, the data applies to the standard version. Technical data
SW connections Support for the following connections: Polled Change-Of-State Change-Of-State with acknowledge suppression For descriptions of the different types of I/O connections, see I/O messages - connection types on page 12. 500 Kbps
Baud rate
Unit setup The unit must be given an ID address, and setup parameters must be entered into the system.
xx0100000221
The table below shows the connections to connector X3: Signal name
0 VDC NC GND NC + 24 VDC
X3 pin
1 2 3 4 5
Function
Supply voltage GND Not connected Ground connection Not connected Supply voltage +24 VDC
Connector X5
xx0100000244
Connector X5 is a DeviceNet connector specified in section Setting DeviceNet bus ID on page 70. Connector X8
xx0200000265
The table below shows the connections to connector X8: Signal name
SLD
Copyright 2004-2010 ABB. All rights reserved.
X8 pin
1 2 3 4 5 6
Function
Shield, connected to power GND/Housing Signal line, A Digital GND, connected to signal GND Signal line, B Not connected Power GND, same as SLD
DA DG DB NC FG
Color
Green
Description
Indicates that a supply voltage is present, and has a level above 12 VDC. If there is no light, check that voltage is present on power module. Check also that power is present in power connector. If it is not, check cables and connectors. If power is applied to unit but unit does not work, replace unit. ON: Receive both refresh and polling signals or just the refresh signal normally, after joining the network. See figure below this table. OFF: 1. Before joining the network. 2. Unable to detect carriers neither for channel 1 or 2. 3. Time out. 4. Resetting hardware. ON: Detecting the carrier for channel 1 or 2. Check cables and terminator. OFF: 1. Unable to detect carriers neither for channel 1 or 2. 2. Resetting hardware. ON: During transmission to During transmission + (0.41 ms * 2(n-1)) n = 1-8 Check setup in both robot controller and PLC. OFF: 1. Other than listed under ON. 2. Resetting hardware. ON: 1. CRC error. Check setup in both robot controller and PLC. 2. Switch setting error during cancellation of reset (0, 65, or greater is set including the number of occupied stations). 3. Baud rate switch setting error during cancellation of reset (5 or greater). OFF: 1. Normal communication. 2. Resetting hardware. BLINKING: The switch setting has been changed from the setting at the reset cancellation (blinks for 0.4 sec.).
Copyright 2004-2010 ABB. All rights reserved.
en0400000827
General LEDs The significance of the LEDs are specified in section DeviceNet Bus and I/O board status LED description on page 65.
en0400000823
The size in bytes (8 bit) that the unit has been configured to, using the Fieldbus Command Types OccStat and BasicIO. See table in section Fieldbus Command Types on page 125. The status of the CCLink communication can be monitored using the signal CCLink Status. When CCLink Status is set it indicates that the CCLink communication is OK. Not used. The signal position is reserved for future use and shall not be used.
CCLink Status
N.U.
The CCLink Status signal is located at the last bit of the last byte of the input area. For example, if OccStat is set to 2 and BasicIO is set to 0 there are 6 bytes of input data (bit 047), and the CCLink Status is located in the last bit of the 7th byte i.e. bit 55. Output map The figure below shows the digital output mapping.
en0400000824
The size in bytes (8 bit) that the unit has been configured to, using the Fieldbus Command Types OccStat and BasicIO. See table in section Fieldbus Command Types on page 125.
Allowed values
Usage
6, 20 68 24 1-64 01 30 01, C6, 1 6, 20 68 24 0-4 according to: 01 30 02, C6, 0 = 156 kbps 1 1 = 625 kbps 2 = 2.5 Mbps 3 = 5 Mbps 4 = 10 Mbps 6, 20 68 24 1-4 according to: 01 30 03, C6, 1 = 1 occupied station 1 2 = 2 occupied stations 3 = 3 occupied stations 4 = 4 occupied stations
Determines the address of the DSQC 378A/B on the CCLink connection. Determines the communication speed on the CCLink bus.
BaudRate
OccStat
Occupied stations. Determines the size of the input and output data areas of the CCLink module. The size, expressed in bits and bytes, also depends on the value of BasicIO. See table in section Size of input/output data areas on page 125. Determines the type of I/O data to be exchanged with the CCLink master. This also affects the size of the input and output data areas of the CCLink module. The size, expressed in bits and bytes, also depends on the value of OccStat. See table in section Size of input/ output data areas on page 125.
BasicIO
6, 20 68 24 0-1 according to: 01 30 04, C6, 0 = Bit I/O only 1 1 = Bit I/O and word I/O
Size of input/output data areas The size of the input/output data areas expressed in bits and bytes are determined by the values of the Fieldbus Command Types OccStat and BasicIO according to following table: Value of OccStat
1 2 3 4
126
3HAC020676-001 Revision: J
xx0400000751
Parts Item
X3 X5 X20
Description
Back-up feed supply See the section Connector X3 on page 129 for connection tables. DeviceNet connector See the section Connector X5 on page 129 Conveyor connection See the section Connector X20 on page 129 for connection tables.
Baud rate
Also see Product specification, IRC5 with FlexPendant. Encoder connections The wiring diagram in the figure below shows how to connect the encoder and sync signal switch to the encoder unit. As can be seen from the illustration, the encoder is supplied with 24 VDC and 0 V. The encoder has two channels. The main unit uses quadrature decoding to compute position and direction information.
xx0100000234
AA AB AC
Connector X3
Connector1-5
The table below shows the connections to connector X3: Signal name
0 VDC NC GND NC + 24 VDC
X3 pin
1 2 3 4 5
Function
Supply voltage GND Not connected Ground connection Not connected Supply voltage + 24 VDC
Connector X5
xx0100000244
Connector X5 is a DeviceNet connector specified in section Setting DeviceNet bus ID on page 70. Connector X20
xx0100000235
X20 is the encoder and digital input connector. The table below shows the connections to connector X20: Signal name
24 VDC supply 0V Encoder 1 - 24VDC Encoder 1 - 0V Encoder 1 - Phase A Encoder 1 - Phase B Digital input 1 - 24 VDC Digital input 1 - 0 V Digital input 1 - Signal Not used Not used
X20 pin
1 2 3 4 5 6 7 8 9 10 11
X20 pin
12 13 14 15 16
Board specific LEDs The table below shows the significance of the LEDs on the board. For location of the LEDs see Illustration of DSQC 377A/B on page 127. Designation Color Description
Indicates that a supply voltage is present, and has a level above 12 VDC. If there is no light, check that voltage is present on power unit and in connector X20. If not, check cables and connectors. If power is applied to the unit but it does not work, replace the unit. Network and module status LEDs. See section DeviceNet Bus and I/O board status LED description on page 65. See section DeviceNet Bus and I/O board status LED description on page 65. Indicates phase 1 and 2 from encoder. Flashes at each Encoder pulse. At frequencies higher than a few Hz, flashing can no longer be observed (light will appear weaker). If there is no light, there is an error due to one or more of the following reasons: Faulty power supply for input circuit (internal or external). Defective input circuit on board. Short circuit or broken wire in external wiring or connectors. Internal error in unit. Constant light indicates constant high level on input and vice versa. No light on one LED indicates fault in one encoder phase. Lit when digital input is active. The input is used for external start signal/conveyor synchronization point. If there is no light, there is an error due to one or more of the following reasons: Faulty power supply for input circuit (internal or external). Faulty limit switch, photocell etc. Short circuit or broken wire in external wiring or connectors. Defective input circuit on board. Not used. Not used.
DIGIN1
Green
en0400000816
Note! The signals CntFromEnc1, CntFromEnc2, and ScaleEncPulse are dependent on the signal PosInJobQ (bit 42 in the output map). DSQC377-mode is obtained by setting the output signal to 1, and DSQC354-mode is obtained by setting the output signal to 0. Generally PosInJobQ concerns only the queue tracking mode. All signals on the 377 are available even in DSQC354-mode (c1PosInJobQ=0). The only thing c1PosInJObQ disables, is that the object position is not sent to the main controller. Following table specifies the input signals. Signal name
Position Speed
Type
AI AI
Bit
0-31 32-63
Description
Position in meters of the first object in the queue. Accuracy: 0.1 mm Speed of the conveyor in m/s. Resolution: 10 m/s
Type
GI
Bit
64-71
Description
Number of objects in queue (0-255). Objects that have entered the queue (passed the sync switch) but have not left the queue (have become connected or gone outside the start window). Counter value from encoder to controller (Low Word). The bit group is valid for DSQC377-mode, i.e. when PosInJobQ is set to 1. Counter value from encoder to controller (High Word). The bit group is valid for DSQC377-mode, i.e. when PosInJobQ is set to 1. Set when an object is being tracked. Set when the conveyor is stopped. Internal handshake signal (toggled). Set when an object has gone outside the start window or has fallen off the conveyor. New position from the encoder node to enter the job queue. The bit is valid for DSQC377-mode, i.e. when PosInJobQ is set to 1. Indicates which encoder is active. 0 = EncA (must be 0) The bit is valid for DSQC377-mode, i.e. when PosInJobQ is set to 1. Encoder A is faulty. The bit is valid for DSQC377-mode, i.e. when PosInJobQ is set to 1. Not used. Module is in simulated mode, i.e. Speed and Position are simulated rather than taken from the actual encoder. The bit is valid for DSQC377-mode, i.e. when PosInJobQ is set to 1. Indicates the direction of the conveyor. 0 = Backward 1 = Forward The encoder pulse scaled down by the factor given by the command ScalingFactor. Indicates how the last shutdown was made. 0 = Abnormal 1 = Normal Not used. Holds the time when following signals were last sampled: Position Speed Connected NullSpeed
CntFromEnc1
GI
72-87
CntFromEnc2
GI
88-103
DI DI DI DI DI
EncSelected
DI
109
EncAFault
DI
110
N.U. Simulating DI
111 112
DirOfTravel
DI
113
ScaleEncPulse
DI
114 115
PowerUpStatus DI
N.U. TimeStamp GI
116-119 120-151
en0400000817
Note! The signals CntToEnc1, CntToEnc2, and CntToEncStr are dependent on the signal PosInJobQ (bit 42 in the output map). DSQC377-mode is obtained by setting the signal to 1, and DSQC354-mode is obtained by setting the signal to 0. Generally PosInJobQ concerns only the queue tracking mode. All signals on the 377 are available even in DSQC-354 mode (c1PosInJobQ=0). The only thing c1PosInJObQ disables, is that the object position is not sent to the main controller. Following table specifies the output signals. Signal name
WaitWObj DropWObj
Copyright 2004-2010 ABB. All rights reserved.
Type
DO DO DO DO DO
Bit
0 1 2 3 4
Description
Set when the robot is waiting for an object to enter the start window. Drop and disconnect the currently tracked object. The object is removed from the queue. Remove first pending object from the queue. (If an object is connected it is not removed.) Remove all pending objects in the queue. (If an object is connected it is not removed.) Select encoder: 0=EncA (must be 0) 1=EncB, not used Soft sync-signal This signal can be used instead of a physical signal connected to Digital input 1 of the module. Not used. If set this signal set the module in simulation mode (simulate Position and Speed instead of using the encoder values). The bit is valid for DSQC377-mode, i.e. when PosInJobQ is set to 1.
SoftSyncSig
DO
N.U. SimMode DO
6 7
Type
GO
Bit
8-23
Description
Counter value from controller to encoder (Low Word). The bit group is valid for DSQC377-mode, i.e. when PosInJobQ is set to 1. Counter value from controller to encoder (High Word). The bit group is valid for DSQC377-mode, i.e. when PosInJobQ is set to 1. Indication to module that the "CntToEncX" signals contain valid values. The bit is valid for DSQC377-mode, i.e. when PosInJobQ is set to 1. Run this job even if checkpoint fails (always set/ reset together with the CntToEncStr signal). The bit is valid for DSQC377-mode, i.e. when PosInJobQ is set to 1. Set if the module shall send encoder values to the controller instead of handling the queue itself. 0=Queue tracking disabled (DSQC354-mode) 1=Queue tracking enabled Not used.
CntToEnc2
GO
24-39
CntToEncStr
DO
40
ForceJob
DO
41
PosInJobQ
DO
42
N.U.
43-47
Additional information For detailed information on using the DSQC 377A/B in an application refer to Application manual - Motion coordination and supervision, see References on page 6.
NOTE! If another DeviceNet Master Address than the default value (2) is used, see detailed information about DeviceNet Master Address on page 42.
Copyright 2004-2010 ABB. All rights reserved.
134
3HAC020676-001 Revision: J
Index
A
Allen Bradley remote I/O gateway 96
F
fieldbus commands 29
B
bus off 63 causes 63 consequences 63 remedy 63
G
gateway Allen Bradley remote I/O gateway 96 DeviceNet/CCLink gateway 119 DeviceNet/INTERBUS gateway 101 DeviceNet/PROFIBUS-DP gateway 107 gateway unit 72
C
cable length 23 CCLink gateway 119 CIP routing 29 coil neutralization 69 connector X5 71 controller software 27
I
I/O messages 11 change-of-state connection 12 change-of-state with acknowledge suppression 12 cyclic connection 12 cyclic with acknowledge suppression 12 polled connection 12 strobe connection 12 I/O units 15, 72 distributed I/O unit 72 DSQC 350A 96 DSQC 351B 101 DSQC 352B 107 DSQC 377B 127 DSQC 378B 119 DSQC 651 73 DSQC 652 78 DSQC 653 83 encoder interface units 72 gateway unit 72 I/O unit type 72 INTERBUS gateway 101 internal DeviceNet slave 30 configuration 30, 37 connecting two IRC5 systems 31 EDS file 31 I/O connection 31 limitations 30 predefined bus 30 predefined Unit Types 30 internal termination 22
D
DeviceNet 11 bus 21 bus ID 70 connector 71 I/O units 72 PCI cards 17 specification overview 14 DeviceNet cable 23 cable type 23 incoming 21 outgoing 21 DeviceNet generic unit type 28, 32 DeviceNet Lean bus ID 70 DeviceNet master 28 configuration 28, 37 EDS file 31 DeviceNet slave, See, internal DeviceNet slave. DeviceNet specific system parameters 29 DeviceNet/Allen Bradley remote I/O gateway 96 DeviceNet/CCLink gateway 119 DeviceNet/INTERBUS gateway 101 DeviceNet/PROFIBUS-DP gateway 107 distributed I/O unit 72 drop line 24 extending the length 25 DSQC 350A 96 DSQC 351B 101 DSQC 352B 107 DSQC 355A 88 DSQC 377B 127 DSQC 378B 119 DSQC 651 73 DSQC 652 78 DSQC 653 83 DSQC 659 17, 21 DSQC 697 17
L
LED 65 common LEDs 65 DeviceNet Rx 66 DeviceNet Tx 66 module status 65 network status 66 specific LEDs 65 test run 67
P
predefined unit type 32 PROFIBUS-DP gateway 107
E
EDS file 31 encoder interface units 72 explicit messages 11 explicit messaging service 29 3HAC020676-001 Revision: J
Q
queue tracking unit 127
135
Index
R
repeaters 25
S
shield grounding 20 system parameters Connection 1 Input Size 55 Connection 1 Interval 53 Connection 1 Output Size 54 Connection 1 Type 52 Device Type 47 DeviceNet Address 44 DeviceNet Communication Speed 30, 43 DeviceNet Master Address 30, 42 DeviceNet specific system parameters 29 Explicit Messaging 51 Internal Slave 57 Major Revision 48 Minor Revision 49 Path 59 Product Code 46 Production Inhibit Time 50 Quick Connect 56 Service 61 Trigger Poll I/O 58 Vendor ID 45
T
T-connector 24 termination resistor 22, 25 topic I/O Bus 30 Unit 30 Unit Type 30 trouble shooting, bus off 63 trunk line 24 extending the length 25
Copyright 2004-2010 ABB. All rights reserved.
136
3HAC020676-001 Revision: J
ABB AB Robotics Products S-721 68 VSTERS SWEDEN Telephone: +46 (0) 21 344000
3HAC020676-001, Revision J, en