Denso RC5 Specifications


Add to my manuals
182 Pages

advertisement

Denso RC5 Specifications | Manualzz

ROBOT

RC5 CONTROLLER

INTERFACE MANUAL

Copyright © DENSO WAVE INCORPORATED, 2002

All rights reserved. No part of this publication may be reproduced in any form or by any means without permission in writing from the publisher.

Specifications are subject to change without prior notice.

All products and company names mentioned are trademarks or registered trademarks of their respective holders.

Preface

Thank you for purchasing this high-speed, high-accuracy assembly robot.

This manual covers interfacing required when you integrate your robot system configured with the RC5 robot controller into your facilities.

Before use, read this manual carefully together with related manuals to safely get the maximum benefit from your robot in your assembling operations.

Robot models covered by this manual

All robot models configured with RC5 controller

Important

To ensure operator safety, be sure to read the precautions and instructions in "SAFETY PRECAUTIONS." i

How the documentation set is organized

The documentation set consists of the following books. If you are unfamiliar with this robot and option(s), please read all books and understand them fully before operating your robot and option(s).

GENERAL INFORMATION ABOUT ROBOT

Provides the packing list of the robot and outlines of the robot system, robot unit, and robot controller.

INSTALLATION & MAINTENANCE GUIDE

Provides instructions for installing the robot components and customizing your robot, and maintenance & inspection procedures.

BEGINNER'S GUIDE

Introduces you to the DENSO robot. Taking an equipment setup example, this book guides you through running your robot with the teach pendant, making a program in WINCAPSII, and running your robot automatically.

SETTING-UP MANUAL

Describes how to set-up or teach your robot with the teach pendant, operating panel, or mini-pendant.

WINCAPSII GUIDE

Provides instructions on how to use the teaching system WINCAPSII which runs on the PC connected to the robot controller for developing and managing programs.

PROGRAMMER'S MANUAL (I), (II)

Describes the PAC programming language, program development, and command specifications in PAC.

RC5 CONTROLLER

INTERFACE MANUAL - this book -

Describes the RC5 controller, interfacing with external devices, system- and user-input/output signals, and I/O circuits.

ERROR CODE TABLES

List error codes that will appear on the teach pendant, operating panel, or PC screen if an error occurs in the robot series or WINCAPSII. These tables provide detailed description and recovery ways.

OPTIONS MANUAL

Describes the specifications, installation, and use of optional devices. ii

How this book is organized

This book is just one part of the robot documentation set. This book consists of SAFETY PRECAUTIONS and chapters one through nine.

SAFETY PRECAUTIONS

Defines safety terms and related symbols and provides precautions that should be observed. Be sure to read this section before operating your robot.

Chapter 1 Outline of the RC5 Controller

Provides an outline of the RC5 controller. The robot controller is available in several models that will differ in detailed specifications to match robot models to be connected.

Chapter 2 General Information about the Interface

Introduces you to the interface required for connecting the robot controller with a PLC or other external equipment. It describes two I/O allocation modes available--standard mode and compatible mode, and the switching procedure between those modes.

Describes declaration of I/O variables and user I/O signals.

Chapter 3 System I/O Signals in Standard Mode

Describes system I/O signals available in standard mode, and describes I/O signals that execute I/O commands.

Chapter 4 System I/O Signals in Compatible Mode

Describes the functions, terminal numbers, and on/off conditions of system I/O signals in compatible mode.

Chapter 5 I/O Circuits and Connectors (NPN type)

Describes the I/O circuits and connector pin layout of an NPN I/O board (source input and sink output).

The NPN I/O board is designed for the use in Japan.

Chapter 6 I/O Circuits and Connectors (PNP type)

Describes the I/O circuits and connector pin layout of a PNP I/O board (sink input and source output).

Chapter 7 I/O Wiring

Describes I/O cables and wiring. iii

SAFETY PRECAUTIONS

SAFETY PRECAUTIONS

Be sure to observe all of the following safety precautions.

Strict observance of these warning and caution indications are a MUST for preventing accidents, which could result in bodily injury and substantial property damage. Make sure you fully understand all definitions of these terms and related symbols given below, before you proceed to the text itself.

WARNING

Alerts you to those conditions, which could result in serious bodily injury or death if the instructions are not followed correctly.

CAUTION

Alerts you to those conditions, which could result in minor bodily injury or substantial property damage if the instructions are not followed correctly.

Terminology and Definitions

Maximum space: Refers to the space which can be swept by the moving parts of the robot as defined by the manufacturer, plus the space which can be swept by the end-effector and the workpiece. (Quoted from the ISO 10218-1:2006.)

Restricted space: Refers to the portion of the maximum space restricted by limiting devices (i.e., mechanical stops) that establish limits which will not be exceeded. (Quoted from the ISO 10218-1:2006.)

Motion space: Refers to the portion of the restricted space to which a robot is restricted by software motion limits. The maximum distance that the robot, end-effector, and workpiece can travel after the software motion limits are set defines the boundaries of the motion space of the robot. (The "motion space" is DENSO WAVE-proprietary terminology.)

Operating space: Refers to the portion of the restricted space that is actually used while performing all motions commanded by the task program. (Quoted from the ISO 10218-1:2006.)

Task program: Refers to a set of instructions for motion and auxiliary functions that define the specific intended task of the robot system. (Quoted from the ISO 10218-1:2006.)

2. Warning Labels

1. Introduction

(Example: Location of labels)

This section provides safety precautions to be observed for the robot system.

The installation shall be made by qualified personal and should confirm to all national and local codes.

The robot unit and controller have warning labels. These labels alert the user to the danger of the areas on which they are pasted.

Be sure to observe the instructions printed on those labels.

Warning label Instructions printed on the label

Risk of injury.

Never enter the restricted space.

Label (1)

Label (2)

Label (3)

Label (4)

For UL-Listed robot units only

Risk of injury.

This label alerts the user that pressing the brake release switch could drop the arm.

Risk of electrical shock.

Never open the controller cover when the power is on.

Never touch the inside of the controller for at least 3 minutes even after turning the power off and disconnecting the power cable.

Risk of injury.

Be sure to perform lockout/tagout before starting servicing.

Turning the power ON when a person is inside the safety fence may move the arm, causing injuries.

SAFETY PRECAUTIONS

3. Installation Precautions

3.1 Insuring the proper installation environment

„ For standard type

„ For dust- & splash-proof type

The standard type has not been designed to withstand explosions, dust-proof, nor is it splash-proof. Therefore, it should not be installed in any environment where:

(1) there are flammable gases or liquids,

(2) there are any shavings from metal processing or other conductive material flying about,

(3) there are any acidic, alkaline or other corrosive gases,

(4) there is cutting or grinding oil mist,

(5) it may likely be submerged in fluid,

(6) there is sulfuric cutting or grinding oil mist, or

(7) there are any large-sized inverters, high output/high frequency transmitters, large contactors, welders, or other sources of electrical noise.

The dust- & splash-proof type has an IP54-equivalent structure, but it has not been designed to withstand explosions. (The

HM/HS-G-W and the wrist of the VM/VS-G-W are an

IP65-equivalent dust- and splash-proof structure.)

Note that the robot controller is not a dust- or splash-proof structure. Therefore, when using the robot controller in an environment exposed to mist, put it in an optional protective box.

The dust- & splash-proof type should not be installed in any environment where:

(1) there are any flammable gases or liquids,

(2) there are any acidic, alkaline or other corrosive gases,

(3) there are any large-sized inverters, high output/high frequency transmitters, large contactors, welders, or other sources of electrical noise,

(4) it may likely be submerged in fluid,

(5) there are any grinding or machining chips or shavings,

(6) any machining oil not specified in this manual is in use, or

Note: Yushiron Oil No. 4C (non-soluble) is specified.

(7) there is sulfuric cutting or grinding oil mist.

The robot and peripheral equipment should be installed so that sufficient service space is maintained for safe teaching, maintenance, and inspection.

outside the robot's restricted space

The robot controller, teach pendant and mini-pendant should be installed outside the robot's restricted space and in a place where you can observe all of the robot’s movements when operating the robot controller, teach pendant, or mini-pendant.

3.4 Positioning of gauges

Pressure gauges, oil pressure gauges and other gauges should be installed in an easy-to-check location.

3.5 Protection of electrical wiring and hydraulic/pneumatic piping

If there is any possibility of the electrical wiring or hydraulic/pneumatic piping being damaged, protect them with a cover or similar item.

3.6 Grounding

The grounding resistance of the robot power supply should not be more than 100 Ω.

emergency stop switches

Emergency stop switches should be provided in a position where they can be reached easily should it be necessary to stop the robot immediately.

(1) The emergency stop switches should be red.

(2) Emergency stop switches should be designed so that they will not be released after pressed, automatically or mistakenly by any other person.

(3) Emergency stop switches should be separate from the power switch.

operating status indicators

Operating status indicators should be positioned in such a way where workers can easily see whether the robot is on a temporary halt or on an emergency or abnormal stop.

Note: The UL-Listed robot units have motor ON lamps on their robot arms.

3.9 Setting-up a safety fence

SAFETY PRECAUTIONS

A safety fence should be set up so that no one can easily enter the robot's restricted space.

(1) The fence should be constructed so that it cannot be easily moved or removed.

(2) The fence should be constructed so that it cannot be easily damaged or deformed through external force.

(3) Establish the exit/entrance to the fence. Construct the fence so that no one can easily get past it by climbing over the fence.

(4) The fence should be constructed to ensure that it is not possible for hands or any other parts of the body to get through it.

(5) Take any one of the following protections for the entrance/ exit of the fence:

1) Place a door, rope or chain across the entrance/exit of the fence, and fit it with an interlock that ensures the emergency stop device operates automatically if it is opened or removed.

2) Post a warning notice at the entrance/exit of the fence stating "In operation--Entry forbidden" or "Work in progress--Do not operate" and ensure that workers follow these instructions at all times.

When making a test run, before setting up the fence, place an overseer in a position outside the robot’s restricted space and one in which he/she can see all of the robot’s movements. The overseer should prevent workers from entering the robot's restricted space and be devoted solely to that task.

3.10 Setting the robot's motion space

The area required for the robot to work is called the robot's operating space.

If the robot’s motion space is greater than the operating space, it is recommended that you set a smaller motion space to prevent the robot from interfering or disrupting other equipment.

Refer to the INSTALLATION & MAINTENANCE GUIDE, Chapter

2.

3.11 No robot modification allowed

Never modify the robot unit, robot controller, teach pendant or other devices.

3.12 Cleaning of tools

If your robot uses welding guns, paint spray nozzles, or other end-effectors requiring cleaning, it is recommended that the cleaning process be carried out automatically.

3.13 Lighting

3.15 Affixing the warning label

Sufficient illumination should be assured for safe robot operation.

3.14 Protection from objects thrown by the end-effector

If there is any risk of workers being injured in the event that the object being held by the end-effector is dropped or thrown by the end-effector, consider the size, weight, temperature and chemical nature of the object and take appropriate safeguards to ensure safety.

Place the warning label packaged with the robot on the exit/entrance of the safety fence or in a position where it is easy to see.

4. Precautions while Robot is

Running

SAFETY PRECAUTIONS

Warning

Touching the robot while it is in operation can lead to serious injury. Please ensure the following conditions are maintained and that the cautions listed from Section

4.1 and onwards are followed when any work is being performed.

1) Do not enter the robot's restricted space when the robot is in operation or when the motor power is on.

2) As a precaution against malfunction, ensure that an emergency stop device is activated to cut the power to the robot motor upon entry into the robot's restricted space.

3) When it is necessary to enter the robot's restricted space to perform teaching or maintenance work while the robot is running, ensure that the steps described in Section 4.3

"Ensuring safety of workers performing jobs within the robot's restricted space" are taken.

4.1 Creation of working regulations and assuring worker adherence

When entering the robot’s restricted space to perform teaching or maintenance inspections, set "working regulations" for the following items and ensure workers adhere to them.

(1) Operating procedures required to run the robot.

(2) Robot speed when performing teaching.

(3) Signaling methods to be used when more than one worker is to perform work.

(4) Steps that must be taken by the worker in the event of a malfunction, according to the contents of the malfunction.

(5) The necessary steps for checking release and safety of the malfunction status, in order to restart the robot after robot movement has been stopped due to activation of the emergency stop device

(6) Apart from the above, any steps below necessary to prevent danger from unexpected robot movement or malfunction of the robot.

1) Display of the control panel (See Section 4.2 on the next page.)

2) Assuring the safety of workers performing jobs within the robot's restricted space (See Section 4.3 on the next page.)

3) Maintaining worker position and stance

Position and stance that enables the worker to confirm normal robot operation and to take immediate refuge if a malfunction occurs.

4) Implementation of measures for noise prevention

5) Signaling methods for workers of related equipment

6) Types of malfunctions and how to distinguish them

Please ensure "working regulations" are appropriate to the robot type, the place of installation and to the content of the work.

Be sure to consult the opinions of related workers, engineers at the equipment manufacturer and that of a labor safety consultant when creating these "working regulations".

4.2 Display of operation panel

To prevent anyone other than the worker from accessing the start switch or the changeover switch by accident during operation, display something to indicate it is in operation on the operation panel or teach pendant. Take any other steps as appropriate, such as locking the cover.

4.3 Ensuring safety of workers performing jobs within the robot's restricted space

When performing jobs within the robot’s restricted space, take any of the following steps to ensure that robot operation can be stopped immediately upon a malfunction.

(1) Ensure an overseer is placed in a position outside the robot’s restricted space and one in which he/she can see all robot movements, and that he/she is devoted solely to that task. c An emergency stop device should be activated immediately upon a malfunction. d Do not permit anyone other than the worker engaged for that job to enter the robot’s restricted space.

(2) Ensure a worker within the robot's restricted space carries the portable emergency stop switch so he/she can press it

(the emergency button on the teach pendant) immediately if it should be necessary to do so.

commencing work such as teaching

Before starting work such as teaching, inspect the following items, carry out any repairs immediately upon detection of a malfunction and perform any other necessary measures.

(1) Check for any damage to the sheath or cover of the external wiring or to the external devices.

(2) Check that the robot is functioning normally or not (any unusual noise or vibration during operation).

(3) Check the functioning of the emergency stop device.

(4) Check there is no leakage of air or oil from any pipes.

(5) Check there are no obstructive objects in or near the robot’s restricted space.

SAFETY PRECAUTIONS

4.5 Release of residual air pressure

Before disassembling or replacing pneumatic parts, first release any residual air pressure in the drive cylinder.

4.6 Precautions for test runs

Whenever possible, have the worker stay outside of the robot's restricted space when performing test runs.

automatic operation

Before the robot is to be started up, first check the following items as well as setting the signals to be used and perform signaling practice with all related workers.

1) Check that there is no one inside the robot’s restricted space.

2) Check that the teach pendant and tools are in their designated places.

3) Check that no lamps indicating a malfunction on the robot or related equipment are lit.

(2) Check that the display lamp indicating automatic operation is lit during automatic operation.

(3) Steps to be taken when a malfunction occurs

Should a malfunction occur with the robot or related equipment and it is necessary to enter the robot's restricted space to perform emergency maintenance, stop the robot’s operation by activating the emergency stop device. Take any necessary steps such as placing a display on the starter switch to indicate work is in progress to prevent anyone from accessing the robot.

4.8 Precautions in repairs

(1) Do not perform repairs outside of the designated range.

(2) Under no circumstances should the interlock mechanism be removed.

(3) When opening the robot controller's cover for battery replacement or any other reasons, always turn the robot controller power off and disconnect the power cable.

(4) Use only spare tools specified in this manual.

5. Daily and Periodical

Inspections

6. Management of

Floppy Disks

7. Safety Codes

(1) Be sure to perform daily and periodical inspections. Before starting jobs, always check that there is no problem with the robot and related equipment. If any problems are found, take any necessary measures to correct them.

(2) When carrying out periodical inspections or any repairs, maintain records and keep them for at least 3 years.

(1) Carefully handle and store the "Initial settings" floppy disks packaged with the robot, which store special data exclusively prepared for your robot.

(2) After finishing teaching or making any changes, always save the programs and data onto floppy disks.

Making back-ups will help you recover if data stored in the robot controller is lost due to the expired life of the back-up battery.

(3) Write the names of each of the floppy disks used for storing task programs to prevent incorrect disks from loading into the robot controller.

(4) Store the floppy disks where they will not be exposed to dust, humidity and magnetic field, which could corrupt the disks or data stored on them.

The safety standards relating to robot systems are listed below.

As well as observing the safety precautions given in this manual, ensure compliance with all local and national safety and electrical codes for the installation and operation of the robot system.

Standards Title

ANSI/RIA R15.06-1999 Industrial Robots and Robot Systems--Safety Requirements

ANSI/UL1740:1998 Safety for Robots and Robotic Equipment

CAN/CSA Z434-03

ISO10218-1: 2006

NFPA 79: 2002

Industrial Robots and Robot Systems--General Safety Requirements

Robots for industrial environments--Safety requirements--Part 1: Robot

Electrical Standard for Industrial Machinery

Contents

Preface ................................................................................................................................................................................i

How the documentation set is organized ........................................................................................................................ii

How this book is organized .............................................................................................................................................iii

SAFETY PRECAUTIONS

Chapter 1 General Information about RC5 Controller ....................................................................................... 1

1.1 Controller Model Name on Nameplate............................................................................................................1

1.2 Names of the Robot Controller Components...................................................................................................4

1.4 Controller System Configuration...................................................................................................................11

1.4.1 Internal Circuits of the Controller (Typical configuration) .............................................................. 11

1.4.2 Typical Robot System Configurations ............................................................................................. 12

Chapter 2 General Information about the Interface .......................................................................................... 14

2.1 Standard Mode and Compatible Mode ..........................................................................................................14

2.3 Types and General Information about I/O Signals.........................................................................................22

2.3.1 Standard Mode ................................................................................................................................. 22

2.4 Using User I/O Signals (common to both modes) .........................................................................................24

2.4.1 I/O Type Variable Declaration.......................................................................................................... 24

2.4.3 I/O Type Local Variables.................................................................................................................. 24

2.4.4 User Input Commands ..................................................................................................................... 24

2.4.5 User Output Commands................................................................................................................... 25

Chapter 3 System I/O Signals Standard Mode.................................................................................................... 26

3.1 Types and Functions of System Output Signals (Standard Mode).................................................................26

3.2 Usage of System Output Signals (Standard Mode)........................................................................................27

3.2.1 Robot Initialization Complete (Output) ........................................................................................... 27

3.2.5 Robot-in-operation (Output) ............................................................................................................ 31

3.2.6 Normal CPU (Output)...................................................................................................................... 32

3.2.10 Continue Start Permitted (Output) ................................................................................................... 36

3.2.11 SS mode (Output) ............................................................................................................................ 36

3.2.12 Emergency Stop (Output from a contact)......................................................................................... 37

3.3 Types and Functions of System Input Signals (Standard Mode) ...................................................................38

3.4 Usage of System Input Signals (Standard Mode) ..........................................................................................39

3.4.3 Step Stop (All Tasks) (Input)............................................................................................................ 41

3.4.4 Instantaneous Stop (All Tasks) (Input)............................................................................................. 42

3.5 Command Execution I/O Signals Dedicated to Standard Mode ....................................................................45

3.5.1 General Information about Commands............................................................................................ 45

3.5.2 Processing I/O Commands............................................................................................................... 46

3.6 Example of Using System I/O Signals in Standard Mode .............................................................................65

Chapter 4 System I/O Signals Compatible Mode ............................................................................................... 69

4.1 Types and Functions of System Output Signals (Compatible Mode) ............................................................69

4.2 Usage of System Output Signals in the Compatible Mode............................................................................70

4.2.1 Robot Power ON Complete ............................................................................................................. 70

4.2.4 CAL Complete (Output) .................................................................................................................. 73

4.2.6 Teaching (Output) ............................................................................................................................ 75

4.2.8 Robot-in-operation (Output) ............................................................................................................ 77

4.2.10 Normal CPU (Output)...................................................................................................................... 79

4.2.11 Robot Failure (Output)..................................................................................................................... 80

4.2.12 Robot Warning (Output) .................................................................................................................. 81

4.2.13 Dead Battery Warning (Output) ....................................................................................................... 82

4.2.14 Error No. (Output) ........................................................................................................................... 83

4.2.15 Continue Start Permitted (Output) ................................................................................................... 84

4.2.16 SS mode (Output) ............................................................................................................................ 84

4.2.17 Emergency Stop (Output from a contact)......................................................................................... 85

4.3 Types and Functions of System Input Signals (Compatible Mode)..............................................................86

4.4 Usage of System Input Signals in Compatible Mode ....................................................................................87

4.4.2 Operation Preparation Start (Input).................................................................................................. 88

4.4.4 Program Start (Input) ....................................................................................................................... 92

4.4.5 Program Reset (Input)...................................................................................................................... 98

4.4.7 Step Stop (All Tasks) (Input).......................................................................................................... 101

4.4.8 Instantaneous Stop (All Tasks) (Input)........................................................................................... 102

4.4.9 Clear Robot Failure (Input)............................................................................................................ 103

4.4.10 Interrupt Skip (Input) ..................................................................................................................... 104

4.4.11 Continue Start (Input) .................................................................................................................... 105

4.5 Example of Using System I/O Signals in Compatible Mode.......................................................................106

4.6 Selectable I/O Mode [Ver 1.95 or later].......................................................................................................110

4.6.1 What is a selectable I/O mode?...................................................................................................... 110

4.6.2 Setting up the selectable I/O mode..................................................................................................111

4.6.3 System input signal lines that can serve as user I/O signal lines ................................................... 113

4.6.4 System output signal lines that can serve as user I/O signal lines ................................................. 115

4.6.5 Sample usage of selectable I/O mode ............................................................................................ 117

Chapter 5 Connector Pin Assignment and I/O Circuits (NPN type)................................................................118

5.1.1 Connector Pin Assignment Common to Both Modes (NPN type)................................................. 118

5.2.1 User-Input, System-Input and Hand-Input Circuits (NPN type).................................................... 124

5.2.2 Robot Stop and Enable Auto Input Circuits ................................................................................... 127

5.2.3 User-Output, System-Output, and Hand-Output Circuits (NPN type)........................................... 128

5.2.5 I/O Power Connector (NPN type).................................................................................................. 134

5.3 Wiring Notes for Robot Controller I/O Connectors (NPN type) .................................................................136

Chapter 6 Connector Pin Assignment and I/O Circuits (PNP type)................................................................ 138

6.1.1 Connector Pin Assignment Common to Both Modes (PNP type).................................................. 138

6.2.1 User-Input, System-Input and Hand-Input Circuits (PNP type)..................................................... 144

6.2.2 Robot Stop and Enable Auto Input Circuits ................................................................................... 147

6.2.3 User-Output, System-Output, and Hand-Output Circuits (PNP type)............................................ 148

6.2.5 I/O Power Connector (PNP type)................................................................................................... 154

6.3 Wiring Notes for Robot Controller I/O Connectors (PNP type) ..................................................................156

Chapter 7 I/O Wiring .......................................................................................................................................... 158

7.2 Wiring of Primary Power Source.................................................................................................................160

Chapter 1

General Information about RC5 Controller

The RC5 controller is available in several models which differ in detailed specifications to match robot models of **-D/-E series.

1.1 Controller Model Name on Nameplate

The model name of the controller is printed on the nameplate attached to the side of the controller as shown below. The model name is coded as listed below.

Nameplate

(Sample)

Position

(a)

(b)

(c)

(d)

(e)

Coding of Controller Model Name

RC5 - VSE 6 B A - P

(a) (b) (c) (d) (e)

Code sample

Denotes: Coding

VSE Robot model name VM: VM-D, VS: VS-D, VSE: VS-E, VC: VC-E,

H: HM/HS-D, HSE: HS-E, HME: HM-E, HC: HC-D,

XYC:XYC-D

EAH: HM/HS-D with extended-joint support

EAHC: HC-D with extended-joint support

EAXYC: XYC-D with extended-joint support

EAVS: VS-D with extended-joint support

6

B

A

P

No. of controllable axes 4: 4 axes, 5: 5 axes, 6: 6 axes

Engineering symbol 1

Engineering symbol 2

A: Encoders connected via parallel interface to CN13

B: Encoders connected via bus to CN12

Blank or A

Types Blank: I/O of NPN type

P: I/O of PNP type

AN: Robot System "Type A" and I/O of NPN type

(Note: For Robot System "Type A, refer to next page.)

AP: Robot System "Type A" and I/O of PNP type

BN: Global type (:Dual emergency stop type + Robot

System "Type A" ) and I/O of NPN type

BP: Global type (:Dual emergency stop type + Robot

System "Type A" ) and I/O of PNP type

1

<Notes for Robot System “ Type A”>

1 Modified Deadman Switch Functions in Robot System "Type A"

In Robot System "Type A" designed for the RC5 controller, the functions of the deadman switches provided on the optional devices have been partially modified regarding the motor power ON/OFF control. Accordingly, the description given in the instruction manuals that come with "Type A" is different from the actual functions.

When reading the deadman switch related sections, be careful with the following modification.

1.1 Deadman switches on optional devices

(Teach pendant, operating panel, and mini-pendant)

Deadman switches are located as shown below.

Deadman switches

Deadman switch

Deadman switch

Teach pendant

Operating panel Mini-pendant

1.2 Modified deadman switch functions

When you operate the teach pendant, operating panel, or mini-pendant in Manual mode or Teach check mode, the deadman switch controls the motor power ON/OFF function in Robot System "Type A," while it does not in the description given in the instruction manuals.

Robot System "Type A" Description given in the instruction manuals

(1) Unless the deadman switch is held down, you may neither operate the robot nor turn the motor power ON.

(1) Unless the deadman switch is held down, you may not operate the robot, but you may turn the motor power ON.

(2) When the robot is in operation, releasing the deadman switch will stop not only the robot but also turn the motor power OFF.

(2) When the robot is in operation, releasing the deadman switch will stop the robot but not turn the motor power OFF (servo lock).

How to identify your robot system as "Type A"

Check the controller model on the nameplate located on the side of the robot controller or the robot model shown on the status bar of the teach pendant screen. The model name of "Type A" contains letter "A" as shown below.

Robot controller example: RC5-H4A-A N

Robot example: HM-40702D A

Symbol denoting "Type A"

2

2 “Single point of control” function

The “Single point of control” function is added only for Robot System “Type A”.

This function limits the robot-start that other equipments except specified one device

(for example: Teach Pendant) cannot enable to start the robot.

The “Auto mode” of this function is usable in either “Internal Auto Limited Mode” or

“External Auto Limited Mode” by setting the parameter.

2.1 Internal Auto Limited Mode

The operational permit of “Internal Auto Limited Mode” is the same range as the

“Internal Auto Mode”. Program Start can be executed from the teach pendant, but cannot be executed from the external device.

The switching between Internal Auto and External Auto cannot be operated by the teach pendant.

2.2 External Auto Limited Mode

The operational permit of “External Auto Limited Mode” is the same range as the

“External Auto Mode”. Program Start can be executed from the external device, but cannot be executed from the teach pendant.

The switching between Internal Auto and External Auto cannot be operated by the teach pendant.

2.3 Setting the parameter

Access: [Top screen] - [F4 I/O] - [F6 Aux.] - [F1 Set H/W] - [F3 Jump To] - “31”

Select the Internal Auto Limited Mode (Int:0) or the External Auto Limited Mode (Ext:1).

TIP: Before shipping from the factory, the single point of control is set to 0

(Internal Auto Limited Mode) by default.

Type A

Setting parameter

3

1.2 Names of the Robot Controller Components

The following figures show the names of the robot controller components.

For VM-D /HM-E series

<Front>

CN1 CN2 CN3 CN4

Floppy disk drive (option)

CN5

FG terminal

Robot stop button

Memory backup battery holder

Pilot lamp

CN12

CN8

Output IC box

<Left side>

CN6

CN9

CN7

CN10

Fuse box

Power switch

CN11

<Right side>

Filters (exhaust)

Filters (air intake)

Names of Robot Controller Components (VM-D/HM-E series)

Radiating fin

4

For robot series except VM-D /HM-E

<Front>

Floppy disk drive (option)

Robot stop button

Memory backup battery holder

Pilot lamp

<Left side>

Output IC box

Fuse box

Power switch

<Right side>

FG terminal

Filters (air intake)

Radiating fin

Filters (exhaust)

Note: CN13 is not provided on the VS-E and HS-E series.

Names of Robot Controller Components (Robot series except VM-D/HM-E)

5

Connectors for the VM-D, VS-E, and H ∗-E series (Encoders connected via bus)

Connector

No. No.

Serial interface connector

POWER

Power connector for

I/O

Connector for user input or system input

CN9 HAND Connector for end-effector

I/O

Connector for PS/2 mouse

Connector for teach pendant

CN11 INPUT

Connector for user output or system output

Power connector

Printer connector

(Not used.)

Connector for motor/encoder

Connectors for the VS-D, VC-E, H ∗-D and XYC-D series (Encoders connected via parallel interface)

Connector

No.

CN1 RS232C connector

No.

CN8 INPUT or system input

Connector for end-effector I/O

CN10 OUTPUT or system output

CN11 INPUT Power connector CN4 MOUSE mouse

CN5 PENDANT pendant

CN6 PRINTER

(Not used.)

CN7 I/O

POWER I/O

CN13 ENCODER Encoder connector

Caution: The robot controller connectors are of a screw-lock type or ring-lock type. Lock the connectors securely. If even one of the connectors is not locked, weak contact may result thereby causing an error.

Be sure to turn the robot controller OFF before connecting/ disconnecting the power connector or motor connector.

Otherwise, the internal circuits of the robot controller may be damaged.

6

1.3 Robot Controller Specifications

[ 1 ] Specifications

The table below lists the robot controller specifications.

Robot Controller Specifications

Item Specifications

Control system

(NOTE 1)

PTP, CP 3-dimensional linear, 3-dimensional circular

No. of controllable axes

(NOTE 1)

Drive system

Memory capacity

H ∗-D/-E, XYC-D: Up to four axes simultaneously

VC-E (5-axis models): Up to five axes simultaneously

V ∗-D/-E: Up to six axes simultaneously

All axes: Full-digital AC servo

1.25 MB (equivalent to 5000 steps, 13,000 points)

DENSO robot language (conforming to SLIM) Language used

No. of teach programs loadable to the memory

255

Teaching system

External signals

(I/O)

Input signal

Output signal

External communication

1) Remote teaching 2) Numerical input (MDI)

20 user open points (PLC 12, hand input 8) + 36 fixed system points

32 user open points (PLC 24, hand output 8) + 33 fixed system points

RS-232C: 1 line

Ethernet: 1 line (option)

Timer function

Self-diagnosis function

0.02 to 10 sec. (in units of 1/60 sec.)

Overrun, servo error, memory error, input error, etc.

Error display

Power source

Power capacity

(NOTE 1)

Environmental conditions

(in operation)

Error codes will be displayed on the external I/O or the operating panel (option).

Error messages will be displayed in English on the teach pendant (option).

All RC5 models: 3-phase, 200 VAC-15% to 230 VAC+10%, 50/60 Hz

RC5 for VS-D/-E, H ∗-D/-E, XYC-D: Single-phase, 230 VAC-10% to 230 VAC+10%, 50/60

Hz

RC5 for VC-E: Single-phase, 200 VAC-10% to 230 VAC+10%, 50/60

Hz

VM-D: 3.3 kVA

HS-E: 1.8 kVA

HM-E: 2.5 kVA H ∗-D: 2.0 kVA VS-E: 1.9 kVA

VS-D, XYC-D: 1.5 kVA VC-E: 0.6 kVA

Temperature: 0 to 40 °C

Humidity: 90% RH or less (no condensation allowed)

Degree of protection

Cables

(option)

Robot control cable

I/O cable

IP20

VM-D, VS-E, H ∗-E: Standard: 4 m, 6 m High strength: 6 m, 12 m (selectable)

VS-D, H ∗-D, XYC-D: 3 m, 6 m (selectable)

VC-E: 4 m, 6 m (selectable)

8 m, 15 m

Power cable

Weight

5 m

VM-D: Approx. 19 kg (excluding attached cables)

VS-D/-E, VC-E, HS-E: Approx. 17 kg (excluding attached cables)

H ∗-D/E, XYC-D: Approx. 16 kg (excluding attached cables)

NOTE 1: For extended-joint support controllers, refer to the manual "SUPPLEMENT

Extended-Joints Support" separately issued.

7

WARNING

DO NOT touch fins. Their hot surfaces may cause severe burns.

DO NOT insert fingers or foreign objects into openings.

Doing so may cause bodily injury.

Before opening the controller cover and accessing the inside of the controller for maintenance, be sure to turn off the power switch, disconnect the power cable, and wait 3 minutes or more. This is for protecting you from electric shock.

DO NOT connect or disconnect connectors to/from the controller while the power switch is on. Doing so may cause electric shock or controller failure.

CAUTION IN INSTALLATION

This controller is not designed to be dust-proof, splash-proof, or explosion-proof.

Read operation manuals before installation.

Do not place anything on the controller.

8

[ 2 ] Outer Dimensions

The outer dimensions of the robot controller are shown below.

Outer Dimensions of Robot Controller (for VM-D/HM-E series and extended-joint support)

Outer Dimensions of Robot Controller (for robot series except VM-D/HM-E)

9

Location of IPM boards

The table below shows the location of IPM boards for robot series or models.

Rear view of the controller

Series & models

VM-6070D

VM-6083D/

VM-60B1D

VS-D

VS-E

VC-E

HM/HS-D

HM-E

HS-E

HC-D

XYC-D

Location

(8)

Item

(7) (6) (5) (4) (3) (2) (1)

Joints

IPM model

Joints

IPM model

Joints

IPM model

Joints

IPM model

Joints

IPM model

Joints

IPM model

IPM model

-

-

-

-

-

1

M

Motor capacity (W) - 750

2

M

Motor capacity (W) - 750

- -

Motor capacity (W) - -

Joints - -

IPM model -

Motor capacity (W) - -

-

- -

- -

Motor capacity (W) - -

Joints - -

IPM model -

Motor capacity (W) - -

-

- -

-

Motor capacity (W) - -

Joints - -

IPM model -

Motor capacity (W) - -

-

-

-

Motor capacity (W) - -

Joints - -

-

Motor capacity (W) - -

-

-

-

-

-

6

SS

100

6

SS

100

6

SS

50

6

SS

50

6

SS

30

-

-

-

4

M

300

-

-

-

-

-

-

-

-

-

5

SS

200

5

SS

200

5

SS

50

5

SS

80

5

SS

30

3

M

300

-

-

-

-

-

-

-

-

-

-

-

-

4

SS

30

4

50

4

SS

100

SS

200

SS

200

4

SS

4

SS

200

4

3

S

3

S

S

S

2

L

1

L

S

S

S

400

M

750

SS SS SS

80 80 80

3

S

2

M

1

M

750

4

S

150

4

SS

50

2

LL

600

3

S

3

SS

4

SS

50

3

S

2

M

2

S

1

LL

1000

1

L

750

1

2

S

M

750

1

S

200

-

-

-

-

-

-

NOTE 1: No IPM board are installed to locations marked with "-." Those locations are covered with blank caps.

NOTE 2: For details about extended-joint support controllers, refer to the manual

"SUPPLEMENT Extended-Joints Support."

10

1.4 Controller System Configuration

1.4.1 Internal Circuits of the Controller (Typical configuration)

The block diagram below shows the internal circuits of an RC5 controller designed for a 6-joint robot.

11

1.4.2 Typical Robot System Configurations

The block diagrams below show typical robot system configurations.

To connect encoders via a time-division multiplexed bus: Connect the robot controller

(CN12) to the robot unit with a motor/encoder cable (see below).

To connect encoders via parallel interface: Connect the robot controller (CN12 and

CN13) to the robot unit with a motor cable and encoder cable, respectively.

Robot system configuration with encoders connected via a multiplexed bus

(VM-D, VS-E, HS-E, and HM-E)

Robot System Configuration

12

Robot system configuration with encoders connected via a parallel interface

(VS-D, VC-E, H*-D, and XYC-D)

System Configuration Example

13

Chapter 2

General Information about the Interface

2.1 Standard Mode and Compatible Mode

The robot controller can be operated in two different modes – standard mode and compatible mode. The default is standard mode. Select either mode before operating the robot controller.

In the standard mode, all of the advantages can be expected from the new model of the robot controller by simultaneously running two or more programs with multitasking.

The compatible mode focuses on compatibility with conventional DENSO robots. Use this mode whenever compatibility is required. For example, when replacing a conventional robot with a new model. However, there are some restrictions on the use of new functions, such as multitasking, in this mode.

2.2 Switching between Modes

Switch from one mode to the other using the teach pendant or the PC teaching system.

Caution: After switching between those modes, restart the robot controller to make the new setting go into effect.

14

[ 1 ] Switching from the Teach Pendant

4 STEP 1

Follow the procedure below when switching from one mode to the other from the teach pendant:

On the top screen, press [F4 I/O].

The I/O Monitor window appears.

4 STEP 2

Press [F6 Aux.].

F6

The Auxiliary Functions (I/O) window appears as shown below.

F2

Press [F2 I/O Assign]. (For Version 1.6 or later)

NOTE: For Version 1.5 or earlier, press [F1 Set H/W] and select the

Allocation mode field in the I/O Hardware Settings window.

15

4 STEP 3 The Choose allocation window appears as shown below.

NOTE: If your robot controller has a built-in DeviceNet master, the Select

Port Assignment window will appear instead of the Select I/O Assignment

Mode window. Refer to the DeviceNet Master Unit user's manual, Chapter

3, "I/O Assignment."

4 STEP 4

Using the jog dial or cursor keys, select the desired assignment mode.

Then press OK.

The following system message appears.

4 STEP 5

4 STEP 6

Press OK.

The screen returns to the Auxiliary Functions (I/O) window.

Turn the controller power OFF.

Turn the controller power ON again.

The I/O assignment mode is switched.

16

[ 2 ] Switching from the Computer

4 STEP 1

4 STEP 2

Follow the procedure below when switching from one mode to the other from the computer.

Start WINCAPSII on the computer. Log in with Programmer.

Start WINCAPSII according to the procedure given in WINCAPSII GUIDE,

Chapter 3, Section 3.1.

For details on the user level of Programmer, refer to the WINCAPSII GUIDE,

Chapter 1, Section 1.3.

Click on the DIO Manager button in the System Manager.

DIO Manager starts and the DIO Manager window opens.

17

4 STEP 3 Select the SETTING command from the Tools menu of DIO Manager.

The Options window will appear as shown below.

4 STEP 4

Click on the Hardware tab in the Options window.

The hardware settings will appear.

18

4 STEP 5 Select the desired assignment mode from the right-hand popup menu

in the I/O Allocation frame (Ver. 1.6 or later).

4 STEP 6

4 STEP 7

Click on OK in the Options window.

The Options window closes.

Click on the Connect button to connect the computer to the robot controller.

The Connect button appears in a pressed state.

19

4 STEP 8 Click on the Transfer button.

The Transfer Environment Table window appears.

4 STEP 9

Check off the check box by clicking on the Hard setting field.

4 STEP 10

Click on the Transfer button.

The following message window appears confirming that you are sure to update the data.

Click on the Yes button.

20

4 STEP 11 The Transmitting hard setting table window appears displaying a bar graph that indicates the transfer progress.

Turn the controller power ON.

The I/O assignment mode is switched.

4 STEP 12

After the Transmitting hard setting table window disappears, turn the controller power OFF.

4 STEP 13

21

2.3 Types and General Information about I/O Signals

This section describes the I/O signals for the Robot Controller.

The I/O signals are grouped into user I/O signals and system I/O signals.

User I/O signals are compatible with conventional signals, including the pin pattern, in compatible mode. Note that the connector pin meanings are different between standard mode and compatible mode. Some of the signal lines used for user I/O in compatible mode are used for system input in standard mode.

Additionally, part of the signal lines used for system I/O in compatible mode is used for command execution I/O signals in standard mode.

2.3.1 Standard Mode

In standard mode, 30 input points for command execution are used to direct program start and other instructions as I/O commands.

The table below lists the types of I/O signals used in standard mode.

Types of System I/O Signals Used in Standard Mode

Type

System input

System output

Input for command execution

Output for command execution

Fixed by system

No. of points

5

12

30

18

Function

Robot stop, Enable Auto, interrupt skip, instantaneous stop (all tasks), step stop (all tasks)

Robot initialization complete, automatic operation mode, external mode, servo ON, robot-in-operation, normal CPU, robot failure, robot warning, dead battery warning, continue start permitted, SS mode, emergency stop

Command (4 bits) data area 1 (8 bits), data area 2 (16 bits), odd parity bit, strobe signal

Command processing complete, status area (16 bits), odd parity bit

Controlled by user program

Type

No. of points

User input

User output

Hand input

Hand output

12

24

8

8

Function

Inputs to read the external I/O status with an IN command or IO [ ] variable.

Used for analysis condition identification, condition satisfaction wait, data input from the external device, etc.

Outputs to issue a signal to the external device during program execution with a SET command, RESET command, etc.

Inputs to read the external I/O status with an IN command or IO [ ] variable.

Used to confirm the end-effector check status, etc.

Outputs to issue a signal to the external device with a SET command,

RESET command, etc.

Used to control the opening and closing of the end-effector.

22

2.3.2 Compatible Mode

In the compatible mode, the input and output points are arranged in disregard of compatibility with conventional VS series robots.

The table below lists the types of I/O signals used in compatible mode.

Types of I/O Signals Used in Compatible Mode

Fixed by system

Type

No. of points

Function

System input 22

Inputs to turn ON the power to the robot from the external device (PLC), start CAL or select and start a program instead of operations by the operating panel or teach pendant.

System output

Type

User input

User output

Hand input

Hand output

27

Outputs to inform the external device (PLC) of the robot status, such as robot-in-operation or occurrence of an error.

Controlled by user program

No. of points

25

24

8

8

Function

Inputs to read the external I/O status with an IN command or IO [ ] variable.

Used for analysis condition identification, condition satisfaction wait, data input from the external device, etc.

Outputs to issue a signal to the external device during program execution with a SET command, RESET command, etc.

Inputs to read the external I/O status with an IN command or IO [ ] variable.

Used to confirm the end-effector check status, etc.

Outputs to issue a signal to the external device (valve) with a SET command, RESET command, etc.

Used to control the opening and closing of the end-effector.

23

2.4 Using User I/O Signals (common to both modes)

To use user I/O signals you need to first declare, in the program, the use of user I/O as

I/O type variables with a DEFIO command. Next, access the user I/O by writing it to the

I/O type variables or reading it.

2.4.1 I/O Type Variable Declaration

I/O type variables are classified into I/O type global variables that are available without any declaration, and I/O type local variables that are not available without a declaration.

2.4.2 I/O Type Global Variables

I/O type global variables are used to refer to or change user I/O signals bit by bit. Since they are global variables, they can be used without any declaration.

I/O type global variables are expressed in either of the following two ways:

IOnn (nn: terminal number) Example: IO104

2.4.3 I/O Type Local Variables

I/O type local variables are used to collectively refer to or change 1-bit, 8-bit, 16-bit or

32-bit user I/O signals starting from a specified terminal number.

I/O type local variables require a declaration, which will be made with a DEFIO command, before they are used. For further information about declarations with a

DEFIO command, refer to the PROGRAMMER'S MANUAL (I), Chapter 9, Section 9.7

"DEFIO (Statement) [Conforms to SLIM]."

2.4.4 User Input Commands

There are two types of user input commands, IN and WAIT. The IN command substitutes the input result for a variable. The WAIT command waits until the input result meets specified conditions.

IN Command

The IN command inputs a signal from the user input specified by an IO type variable and substitutes it for an arithmetic variable.

For further information about the IN command, refer to the PROGRAMMER'S

MANUAL (I), Chapter 13, Section 13.1 "IN."

WAIT Command

The WAIT command suspends the execution of the program until specified conditions are met. If an I/O type variable is used for the conditional statement, this command suspends the execution of the program until the status of the signal from a specified user input is checked and meets the specified conditions. For further information about the WAIT command, refer to the PROGRAMMER'S MANUAL (I), Chapter 12, Section

12.5 "WAIT."

24

2.4.5 User Output Commands

There are three types of user output commands, SET, RESET and OUT. The SET and

RESET commands turn ON and OFF all user outputs specified by I/O type variables.

The OUT command outputs data to a specified user output.

SET Command

The SET command turns ON all user outputs specified by I/O type variables.

For further information about the SET command, refer to the PROGRAMMER'S

MANUAL (I), Chapter 13, Section 13.1 "SET."

RESET Command

The RESET command turns OFF all user outputs specified by I/O type variables.

For further information about the RESET command, refer to the PROGRAMMER'S

MANUAL (I), Chapter 13, Section 13.1 "RESET."

OUT Command

The OUT command outputs data to the user output specified by an I/O type variable.

For further information about the OUT command, refer to the PROGRAMMER'S

MANUAL (I), Chapter 13, Section 13.1 "OUT."

2.4.6 Note When Using Input Signals

When using an input signal (e.g. IO[34]) as a trigger signal to check the state of another input signal (e.g. IO [35]) as shown in the example below, the data (e.g. IO[34]) should be set at least 1 msec before.

NOTE: See also Chapter 3, Subsection 5.2.1 "General Information about Processing" and Chapter 4, Subsection 4.2 "Operation Preparation Start (Input)" for related explanations.

When there is chattering in the input signal (e.g. relay contact), the length of A should be made longer.

1 msec or more

Important Note When Using Input Signals

25

Chapter 3

System I/O Signals Standard Mode

3.1 Types and Functions of System Output Signals (Standard

Mode)

The table below lists the system output signals used in standard mode.

Types and Functions of System Output Signals to be Used in Standard Mode

Robot initialization complete

Auto mode

Function

Outputs when preparations for operation are ready to start.

Outputs when the robot is in Auto mode.

Start-up

External mode Outputs when the robot is in external mode.

Program execution

Error/Warning

Continue start

Safe start function

Emergency stop

Servo ON

Robot-in-operation

Normal CPU

Robot failure

Outputs when the power to the motor is turned ON.

Outputs when the robot is in operation (the program is being executed).

Outputs when the CPU (hardware) of the Robot

Controller is normal.

Outputs when a serious error, such as a servo error and a program error, occurs.

Robot warning Outputs when a slight error occurs.

Dead battery warning

Outputs when the voltage of the encoder back-up battery or memory back-up battery dangerously low.

Continue start permitted Outputs when Continue Start is enabled.

SS mode

Emergency stop

Outputs when the robot is in SS mode. Refer to the

SETTING-UP MANUAL, Chapter 3, Subsection 3.4.6

"SS (Safe Start) Function."

Outputs from a contact exclusively designed for an emergency stop circuitry.

26

3.2 Usage of System Output Signals (Standard Mode)

The usage of each system output signal in standard mode is described below:

3.2.1 Robot Initialization Complete (Output)

(1) Function

The signal outputs to the external device that a MODE SWITCHING

COMMAND is ready to execute from the device.

(2) Terminal number

No.5 of connector CN10.

(3) Usage

The "mode switching command" will be executed as soon as this signal and the auto mode signal are turned ON, after the power is turned ON.

(4) ON conditions

The signal will be turned ON when the system program for the Robot

Controller normally starts, after the power, is turned ON and the mode switching command is ready to execute.

The signal will be turned ON when a robot failure is cleared by the

CANCEL key of the operating panel or teach pendant or by a CLEAR

ROBOT FAILURE command, after the power is turned OFF.

(5) OFF condition

The signal will be turned OFF when a robot failure or robot warning signal is turned ON.

⋅ The system properly started to operate after the power was turned ON.

⋅ A robot error is cleared with the OK or CANCEL key of the operating panel or teach pendant.

⋅ A robot error is cleared with a CLEAR ROBOT

FAILURE command from an external device.

ROBOT POWER ON

COMPLETE output

⋅ Robot error or robot warning

Robot Power ON Complete Output

27

3.2.2 Auto Mode (Output)

(1) Function

The signal outputs to the external device that the robot is in auto mode.

(2) Terminal number

No.6 of connector CN10.

(3) Usage

Starting the program from the external device requires an EXTERNAL MODE

SWITCHING BY MODE SWITCHING COMMAND input and a PROGRAM

START BY PROGRAM OPERATION COMMAND input. The signal is used to monitor the auto mode output signal and determine whether to execute the command.

(4) ON condition

The signal will be output when the robot enters auto mode by setting the mode selector switch of the operating panel or teach pendant to AUTO.

(5) OFF conditions

The signal will be turned OFF under the following conditions.

The mode selector switch of the operating panel is set to MANUAL or the teach pendant is set to MANUAL or TEACH CHECK.

The Enable Auto OFF is input..

(Note: The signal will not be turned OFF in the pendantless state described in the OPTIONS MANUAL, Chapter 1, Subsection 1.3.3.)

Caution: The signal will not be turned OFF with INSTANTANEOUS STOP,

STEP STOP or CYCLE STOP commands.

⋅ When the mode selector switch of the operating panel or teach pendant is set to AUTO.

Auto mode

output

⋅ When the mode selector switch of the operating panel is set to MANUAL or that of the teach pendant is set to MANUAL or TEACH CHECK.

⋅ When Enable Auto OFF is input

Auto mode Output

28

3.2.3 External Mode (Output)

(1) Function

The signal outputs to the external device that the robot is in external mode.

(2) Terminal number

No.7 of connector CN10.

(3) Usage

Starting the program from the external device requires an EXTERNAL

MODE SWITCHING BY MODE SWITCHING COMMAND input and a

PROGRAM START BY PROGRAM OPERATION COMMAND input. The signal is used to confirm that the robot is in external mode.

(4) ON conditions

The signal will be turned ON under the following conditions.

The external mode is selected on the teach pendant.

The EXTERNAL/INTERNAL is input on the operating panel in AUTO

MODE and in the INTERNAL CONTROL ON state.

The EXTERNAL MODE SWITCHING BY MODE SWITCHING

COMMAND is input from the external device.

(5) OFF conditions

The signal will be turned ON under the following conditions.

When internal mode is selected on the teach pendant.

When the mode selector switch of the teach pendant is set to MANUAL or

TEACH CHECK in external mode.

When EXTERNAL/INTERNAL is input on the operating panel in AUTO

MODE and in the INTERNAL CONTROL OFF state.

When ROBOT STOP is input.

When ROBOT FAILURE is outputted.

Caution: The signal will not be turned OFF with INSTANTANEOUS STOP,

STEP STOP or CYCLE STOP.

When an Enable Auto input is turned OFF.

⋅ When the mode is switched to external mode on the teach pendant.

⋅ When EXTERNAL/INTERNAL is input on the operating panel.

⋅ When a MODE SWITCHING COMMAND (EXTERNAL MODE SWITCHING) is input from an external device.

External mode

output

⋅ When internal mode is selected on the teach pendant.

⋅ When the mode selector switch of the teaching pendant is set to

MANUAL or TEACH CHECK.

⋅ When EXTERNAL/INTERNAL is input on the operating panel.

⋅ ROBOT STOP or ROBOT ERROR

⋅ When an Enable Auto input is turned OFF.

External Mode Output

29

3.2.4 Servo ON (Output)

(1) Function

The signal outputs to the external device that the power to the motor of the robot is turned ON.

(2) Terminal number

No.4 of connector CN10.

(3) Usage

Starting the program requires the power to the motor to be turned ON. This signal is used to light the motor power ON indicator lamp on an external operating panel.

(4) ON conditions

The signal will be turned ON when the power to the motor is turned ON.

When the MOTOR key of the operating panel or teach pendant is activated; or

When the motor runs with a MOTOR ON AND CAL EXECUTION BY

MODE SWITCHING COMMAND input from the external device.

(5) OFF conditions

The signal will be turned OFF when the power to the motor is turned OFF.

When the MOTOR key of the operating panel or teach pendant is deactivated and the ROBOT STOP button is operated;

When ROBOT STOP is input from the external device; or

When a ROBOT FAILURE is outputted. If errors 0 × 6071 to 607B, 0 ×

6671 to 667B, 0 × 607F occur, the servo will be turned OFF in automatic or external mode but will not be turned OFF in the manual or the teach check mode.

⋅ When the MOTOR key of the operating panel or teach pendant is activated.

⋅ When MOTOR ON AND CAL EXECUTION WITH MODE SWITCHING

COMMAND is input from an external device.

ON

Servo ON output OFF

⋅ When the MOTOR key of the operating panel or teach pendant is deactivated and the ROBOT STOP button is operated.

⋅ When ROBOT STOP is input from an external device.

⋅ When a ROBOT FAILURE occurs.

Servo ON Output

30

3.2.5 Robot-in-operation (Output)

(1) Function

This signal outputs to the external device that the robot is in operation.

(2) Terminal number

No.2 of connector CN10.

(3) Usage

The signal is used to light the robot operating indicator lamp of an external operating panel.

Since the signal is turned OFF with STOP ALL PROGRAMS, outputs to the external device that all programs are stopped.

(4) ON conditions

The signal will be turned ON during execution of the program and also while in the WAIT STATE with a condition branch or timer command.

(5) OFF conditions

The signal will be turned OFF with STOP ALL PROGRAMS.

Caution: STOP ALL PROGRAMS means the operation of the ROBOT

STOP or STOP button of the operating panel or teach pendant and INSTANTANEOUS STOP (ALL TASKS), STEP STOP (ALL

TASKS) and ROBOT STOP inputs.

31

3.2.6 Normal CPU (Output)

(1) Function

The signal outputs to the external device that the Robot Controller CPU

(hardware) is normal.

(2) Terminal number

No.1 of connector CN10.

(3) Usage

The signal is used to light the Robot Controller external operating panel error indicator lamp.

The signal is used when a normal CPU SIGNAL is turned OFF because of an error and the PLC corrects it.

(4) ON conditions

The signal will be turned ON by the hardware when the Robot Controller

CPU operates normally with the power turned ON.

(5) OFF conditions

The signal will be turned OFF by the hardware when the CPU does not operate normally.

Caution: The OFF state of this signal indicates that the Robot Controller internal arithmetic circuit may be damaged. Therefore, ROBOT

ERROR, ERROR NUMBER, and other outputs may not be correct.

⋅ Power ON (CPU operating properly)

Normal CPU output

Abnormal CPU (hardware error)

Normal CPU Output

32

3.2.7 Robot Failure (Output)

(1) Function

The signal outputs to the external device that a problem (such as a servo error or a program error) occurs with the robot.

(2) Terminal number

No.3 of connector CN10.

(3) Usage

The signal is used to light the robot external operating panel error indicator lamp of an.

The signal is used to help the PLC clear an error in response to a

ROBOT FAILURE signal.

(4) ON conditions

As shown below, the signal will be turned ON under the following conditions.

When an error, such as a servo error, a program error or program undefined, occurs at the start of the program and during execution of the program.

When an error occurs during execution of the program in internal operation by the operating panel or the teach pendant or in external operation by the PLC.

Caution: The signal will not be outputted when an error, such as a program input error occurs in manual operation, except when a servo error occurs in manual operation. For further information, see the "ERROR CODE TABLES."

(5) OFF conditions

As shown below, the signal will be turned OFF under the following conditions.

When a CLEAR ROBOT FAILURE command is inputted and the existing error is cleared.

When the existing error is cleared by operating the OK or Cancel key on the operating panel or the teach pendant.

⋅ Program number, parity error, or undefined program number, at external start.

パリティーエラー、

⋅ Robot failure during automatic operation (both internal operation and external operation)

Robot failure

⋅ When a CLEAR ROBOT FAILURE command is inputted.

⋅ When the OK or Cancel key of the operating panel or teach pendant is operated.

Robot Failure Output

33

3.2.8 Robot Warning (Output)

(1) Function

The signal outputs to the external device that a minor error occurs with an

I/O command or during servo processing.

Caution: The signal will not be outputted if a minor error, such as a program selection error occurs by the operation of the teach pendant or operating panel.

(2) Terminal number

No.9 of connector CN10.

(3) Usage

⋅ The signal is used to light the robot warning indicator lamp of the external operating panel.

⋅ The signal is used to help the PLC clear an error in response to a ROBOT

WARNING signal.

(4) ON condition

As shown below, the signal will be turned ON if a minor error occurs during

I/O processing, execution of the program or servo processing, irrespective of the operation mode.

(5) OFF conditions

As shown below, the robot-warning signal will be turned OFF under the following conditions.

⋅ When a CLEAR ROBOT WARNING command is inputted from the external device and the existing error is cleared.

⋅ When operating the OK or Cancel key on the operating panel or the teach pendant clears the existing error.

⋅ When a slight error occurs during I/O processing, execution of the program or servo processing.

Robot warning

⋅ When a CLEAR ROBOT WARNING command is inputted from an external device and the existing error is cleared .

⋅ When the existing error is cleared by operating the OK or Cancel key of the operating panel or teach pendant.

Robot Warning Output

34

3.2.9 Dead Battery Warning (Output)

(1) Function

The signal will be output when the voltage of the encoder back-up battery or memory back-up battery becomes lower than acceptable.

(2) Terminal number

No.8 of connector CN10.

(3) Usage

The signal is used to check the timing battery replacement. For example, the battery voltage becomes lower than acceptable.

(4) ON condition

The signal will be turned ON when the voltage of the encoder back-up battery or memory back-up battery becomes lower than acceptable.

Caution: The operating panel shows any of ERROR64A1 to 64A6 when the encoder back-up battery voltage is low. Meanwhile, the teach pendant shows ERROR6103 when the memory back-up battery voltage is low.

Robot power ON state

(5) OFF condition

The signal will be turned OFF when the power is turned ON after the dead battery was replaced.

Power ON Power OFF Power ON Power OFF Power ON

⋅ The voltage of the encoder backup battery or memory back-up battery becomes dangerously low.

Dead battery warning output

⋅ Battery replaced

Dead Battery Warning Output

35

3.2.10 Continue Start Permitted (Output)

(1) Function

The controller will output this signal when the continue start is permitted.

(2) Terminal number

No.10 of connector CN10.

(3) Usage

Use this signal when you want to know whether the continue start is permitted.

(4) ON condition

This signal comes on when the continue start is permitted. For details, refer to the SETTING-UP MANUAL.

(5) OFF condition

This signal goes off by carrying out the "Task Status Change Operation."

3.2.11 SS mode (Output)

(1) Function

The controller will output this signal during the SS mode.

This mode is effective when the slow mode is selected.

(2) Terminal number

No.11 of connector CN10

(3) Usage

This signal is used to warn workers that the robot is in the SS mode by beeping or lighting the lamp.

(4) ON condition

This signal comes on when the SS mode is selected.

(5) OFF condition

The signal goes off when the TS time passes so as to cancel SS mode. This function is effective when the slow mode is selected.

Note: If the TS time passes, this signal goes off even when the robot is operation in the slow mode. After this signal goes off, the robot runs at the original speed.

36

3.2.12 Emergency Stop (Output from a contact)

(1) Function

This signal outputs from a contact exclusively designed for an emergency stop circuitry you may configure. It allows red mushroom buttons provided on the front panel of the robot controller, on the teach pendant, and on the operating panel to be used as emergency stop buttons of the facilities.

A 0.3A fuse is built in the contact.

(2) Terminal number

No. 65 of connector CN10: Emergency stop (+)

No. 66 of connector CN10: Emergency stop (-)

(3) Usage

This signal is used to stop the facilities or robot in an emergency. (Refer to

Subsection 5.2.4 "Emergency Stop Circuit.")

(4) Contact

This contact is a normal close one (b contact). If any of the emergency stop buttons is pressed, then the contact turns off to output an emergency stop signal.

37

3.3 Types and Functions of System Input Signals (Standard

Mode)

The table below lists the system input signals to be used in standard mode:

Types and Functions of System Input Signals to be Used in Standard Mode

Function

Stop

Program interrupt

Robot stop

Instantaneous stop

(all tasks)

Step stop (all tasks)

Interrupt skip

Stops the robot with canceling signals.

Immediately stops all programs being executed with canceling signals.

Step-stops all programs being executed with canceling signals.

Interrupts the execution of the current step and starts executing the next step.

38

3.4 Usage of System Input Signals (Standard Mode)

The usage of each system input signal in standard mode is described below.

3.4.1 Enable Auto (Input)

(1) Function

The signal enables switching of the robot mode to auto mode (shorted state).

The signal enables switching of the robot mode to manual mode or teach check mode (open state).

(2) Terminal number

No. 4 of connector CN8.

(3) Usage

The signal is used for the AUTO/TEACHING selector switch of an external operating panel and can be combined with a safety fence switch.

(4) Input conditions and operation

As shown below, the selectable operation mode depends on whether this input is shorted or open.

If the input becomes open during automatic operation, the mode will be switched to manual mode and ERROR21FC will be displayed.

If manual operation or a teach check is conducted with this input shorted,

ERROR21F2 will be displayed.

If the mode selector switch of the teach pendant or operating panel is set to AUTO with this input open, ERROR21F3 will be displayed.

Since this state is shown as × in the table below, this error will remain displayed until the robot exits this state.

Although ERROR21FD or ERROR21FC will be displayed when the state is changed from to Δ or ×, they will not be displayed when the state is changed from Δ or × to .

When the input is turned OFF (open) in external mode, the external mode output will also be turned OFF.

Relationship Between Enable Auto Input and Selectable Mode

Enable Auto

Operation mode Application

ON (shorted) OFF (open)

Manual mode

Manual operation with the operating panel or the teach pendant.

Δ

Teach check mode Program check with the teach pendant. Δ

Internal auto mode

Automatic operation with the operating panel or teach pendant.

×

External auto mode Automatic operation with the external device. ×

Note: = Mode selectable × = Mode not selectable

Δ = Mode selectable but manual operation program not executable

Caution: In the pendantless state, auto mode is valid even if the Enable Auto input is open. (The external mode cannot be switched and the program cannot begin execution.)

Perform the following when operating the robot in the pendantless state:

Set the robot so that it will not start to operate when the Enable

Auto input is open.

Enable Auto input open state and auto mode output (See

Subsections 4.2.2 and 6.2.2 "Auto Mode".)

Set the equipment to make an emergency stop in an AND state.

Add

39

3.4.2 Robot Stop (Input)

(1) Function

The signal stops the robot from the external device by opening the robot stop input.

The signal readies the power to the robot motor to be turned ON by shorting the robot stop input.

(2) Terminal number

No.2 of connector CN8.

(3) Input conditions and operation

The robot stops with this input OFF (open).

The power to the robot motor is made ready to be turned ON with this input ON (shorted).

Irrespective of whether internal mode, operation by the teach pendant, or external mode, remote operation by the external device, is selected, the power to the robot motor cannot be turned ON with this input OFF (open) and neither manual nor automatic operation can be performed until this input is turned ON (shorted). (ERROR2008 will be displayed.)

By turning OFF (open) this input the following conditions may result.

1) The power to the motor will be turned OFF irrespective of whether manual, automatic, internal or external mode is selected.

2) During execution of the program (Robot-in-operation signal ON), the power to the motor will be turned OFF and the mode will be switched to internal mode after the robot decelerates to a stop;

3) When the program is not executed in manual and auto modes in manual and auto modes, everything will be the same except the power to the motor will be turned OFF. The power to the motor can be turned ON and the suspended operation can, therefore, be resumed by shorting the ROBOT STOP input. (However, the program will be executed from the beginning.)

Opening the ROBOT STOP input and pressing the ROBOT STOP button of the operating panel or the teach pendant function is the same.

(4) Timing of the input

This input will be processed prior to all commands and input signals.

40

3.4.3 Step Stop (All Tasks) (Input)

Robot status

(1) Function

Input this signal to step-stop the program being executed from the external device. All tasks will be step-stopped.

(2) Terminal

No.5 of connector CN8.

(3) Input conditions and operation

If the state of this signal is changed from ON (shorted) to OFF (open), the robot will stop all tasks as soon as the ongoing step is completed, and the Robot-in-operation signal will be turned OFF. However, auto mode or external mode will remain valid, and the suspended program will be resumed by inputting a program operation command (start). See the figure given below.

For resuming the program after a step stop, see Chapter 5, Subsection

5.3.2 "Program Operation Command (0001)".

1-cycle operation

Operating halfway At step-stop

Performing

Remaining operation

Program start signal (input) ON (shorted)

(open)

Step-stop signal (input) ON (shorted)

(open)

Robot-in-operation (output) ON (shorted)

(open)

Step Stop Signal

41

3.4.4 Instantaneous Stop (All Tasks) (Input)

(1) Function

Input this signal to instantaneously stop the running programs from an external device. All tasks will stop.

(2) Terminal number

No.7 of connector CN8.

(3) Input conditions and operation

If the state of this signal is turned from ON (shorted) to OFF (open), the robot will immediately stop in the middle of the ongoing step, and the

Robot-in-operation signal will be turned OFF. However, auto mode or external mode will remain valid, and the suspended programs will be resumed by inputting Program start signal.

For resuming the program after an instantaneous stop, see Chapter 5,

Subsection 5.3.2 "Program Operation Command (0001)".

The minimum required pulse width is 50 milliseconds (msec.) or more.

ON (shorted)

50 ms. or more required

Minimum Instantaneous Stop Pulse Width

42

3.4.5 Interrupt Skip (Input)

(1) Function

If this signal is turned ON (shorted) during execution of the robot operation command, within the range between INTERRUPT ON and INTERRUPT

OFF in the program, the correct step operation will immediately stop and the next step will start.

Caution: For further information about the INTERRUPT ON and OFF commands, see the PROGRAMMER'S MANUAL (I), Chapter 12,

"12.3 INTERRUPT ON/OFF (Statement)."

For further information about the robot operation command, see the PROGRAMMER'S MANUAL (I), Chapter 12, "Robot

Control Statements."

(2) Terminal number

No.9 of connector CN8.

(3) Usage

See the PROGRAMMER'S MANUAL (I), Chapter 12, "12.3 INTERRUPT

ON/OFF."

(4) Input conditions and operation

If this signal is turned ON (shorted), the robot will immediately stop the current operation and start executing the next step.

INTERRUPT ON

Command Operating halfway

Robot status

Next operation

Interrupt skip signal (input) ON (shorted)

(open)

Input Conditions and Operation of Interrupt Skip

50 ms. or more required

43

Robot status

Caution: When turning ON (shorting) the interrupt skip signal, at a minimum either the program reset signal or the program start signal must be turned OFF (open). If the interrupt skip signal is turned ON, the robot interprets the program start signal as immediately turned OFF (open).

Consequently, the program selected with the program No. selection signal will be executed from the beginning. (See the figure given below.)

Executing cycle halfway Executing cycle from beginning

Interrupt skip signal (input) ON (shorted)

(open)

Program start signal (input) ON (shorted)

(open)

WRONG

Program reset signal (input) ON (shorted)

(open)

Program No. select signal (input) ON (shorted)

(open)

Example of Operation When an Interrupt Skip is Input

44

3.5 Command Execution I/O Signals

Dedicated to Standard Mode

In standard mode the I/O commands can be executed using command execution I/O signals. I/O commands execute the following.

⋅ Operate (start and stop) a program for each task.

⋅ Refer to or change variables from the external device.

⋅ Refer to or change inputs and outputs from the external device.

3.5.1 General Information about Commands

The table below shows the I/O commands functions.

I/O Command Functions

Command

Program operation

Speed setting

Error number read

Type I variable write

Type I variable read

Mode switching

Clear robot failure

Internal I/O write

Internal I/O read

Description of function

⋅ Starts the program cycle (specified program).

⋅ Step-stops the program (specified program/all programs).

⋅ Immediately stops the program (specified program/all programs).

⋅ Resets the program (specified program/all programs).

⋅ Sets the external speed.

⋅ Sets the external acceleration.

⋅ Sets the external deceleration.

⋅ Outputs the error number to the system I/O area.

⋅ Reads a value from the system I/O area and substitutes it for a

Type I variable.

⋅ Outputs a Type I variable to the system I/O area.

⋅ Switches the robot operation mode.

⋅ Clears a robot failure from the external device.

⋅ Sets the state of internal inputs and outputs.

⋅ Outputs the state of internal inputs and outputs to the system I/O area.

45

3.5.2 Processing I/O Commands

3.5.2.1 General Information about Processing

I/O commands to be executed are processed as shown below.

⋅ Command Area (input)

⋅ Data Area (input)

⋅ Command and Data Area

Odd Parity (input)

Strobe Signal (input)

Status Area (output)

⋅ Status Parity (output)

Note 1 ms or more

⋅ Command processing complete (output)

⋅ Robot Error (output)

Outline of I/O Command Processing

Note 100 ms. or less

46

Set a command area, a data area (if necessary) and command and data area odd parity for the command execution I/O signal from the external device to the Robot Controller.

After the setting is completed, turn ON the strobe signal.

Caution: The data to be set in must be defined more at least 1 msec. before the strobe signal is turned ON.

Perform command input with a strobe signal after the system output signal ROBOT INITIALIZATION COMPLETE is output.

The controller reads the command area, the data area and the command and data area odd parity as the strobe signal is input.

The controller starts processing based on the command it read.

If the command is one that outputs a status, the controller sets the status area and status parity.

After command processing has been completed and a status area has been set, the controller turns ON the command processing complete signal.

If an error occurs in the while processing, a robot failure signal will be outputted together with the command processing complete signal.

The PLC waits until the command processing complete signal is input, and receives the status of the status area, if necessary. In this case, confirmation that no error exists with the robot.

After the PLC has read the status, it turns OFF the command and data areas and the strobe signal.

As soon as the strobe signal is turned OFF, the controller turns OFF the status area and the command processing complete signal.

The robot failure signal, which is outputted due to a command processing error, remains ON until a CLEAR ROBOT FAILURE command is executed.

Caution: The maximum time taken until the status area and the command processing complete signal are turned OFF, after the strobe signal is turned OFF in , is 100 msec.

If the strobe signal is turned OFF before the command processing complete signal is turned ON in , the command processing complete signal and the status area will be output and then turned OFF within 100 msec.

47

3.5.2.2 Using Each Signal Line

[ 1 ] Command and Data Areas

This section describes the usage of the command area (4 bits, input), data area

1 (8 bits, input), data area 2 (16 bits, input) and command and data area odd parity (input).

(1) Function

Specifies the commands to be executed by the Robot Controller.

Sets the command area at all times, and data areas 1 and 2, if necessary.

(2) Terminal numbers

Command area: No.35 to No.38 of connector CN8.

Data area 1: No.11 to No.18 of connector CN8.

Data area 2: No.19 to No.34 of connector CN8.

Command and data area odd parity: No.10 of connector CN8.

(3) Input conditions and operation

Set the command area whenever I/O commands are to be executed.

Set data for data areas 1 and 2 if commands require them.

"Shorted" represents the bit value = 1.

"Open" represents the bit value = 0.

"Parity bit " is odd parity.

Input the command area, data areas 1 and 2, and command and data area odd parity before the strobe signal (1 msec. or more). Retain the status until the command processing complete signal is output.

Input 1 or 0 as the parity bit so that the total of 1s existing in the command area, data areas 1 and 2 and the command and data area odd parity will be odd

The data areas count even commands, which do not require any data area, in a check sum calculation.

Checksum can be set valid or invalid using a parameter. When checksum is invalid, no checksum check will be performed.

48

[ 2 ] Strobe Signal (Input)

(1) Function

This signal informs the Robot Controller that the command area, data areas

1 and 2, and the command and data area odd parity bit have been set.

Additionally it directs the start of command processing.

Caution: Perform command input with a strobe signal after the system output signal ROBOT INITIALIZATION COMPLETE is output.

(2) Terminal number

No. 8 of connector CN8.

(3) Input conditions and operation

By turning ON this input in automatic or external mode, the Robot

Controller reads the command area, data areas 1 and 2, and the command and data area odd parity bit starts processing.

Retain the status until a command processing complete signal is output and the necessary status data is read. If the strobe signal is turned OFF before a command processing complete signal is output, the status area will not be output.

By turning OFF this input after the status is read, the command processing complete output, the status area and the status parity will be turned OFF.

49

[ 3 ] Command Processing Complete (Output)

(1) Function

The signal outputs to the external device that I/O command processing is completed.

(2) Terminal number

No. 15 of connector CN10.

(3) Usage

The signal is used to confirm that I/O command processing is complete, or as a timing signal for obtaining the result of I/O command processing.

(4) ON conditions

The signal will be turned ON upon completion of processing the I/O command given and determination of outputting the status area.

If an error occurs as a result of executing an I/O command, the result will not be output to the status area, but the robot failure signal and the command processing complete signal will be turned simultaneously ON.

(5) OFF conditions

The signal will be turned OFF when the strobe signal is turned OFF.

If the strobe signal is turned OFF, before command processing is completed, the command processing complete signal will be output and then turned OFF within 100 msec.

50

[ 4 ] Status Area

This section describes the usage of the status area (16 bits, output) and of status area odd parity (output).

(1) Function

The signal outputs the result of I/O command processing to the external device.

(2) Terminal numbers

Nos. 17 to 32 of connector CN10.

(3) Usage

The signal is used to execute an I/O command and obtain the result of the

PLC.

(4) ON conditions

When processing of the I/O given is completed, the status corresponding to the command will be set.

"ON" represents the bit value = 1.

"OFF" represents the bit value = 0.

"Parity bit" is odd parity.

Input 1 or 0 as the parity bit so that the total of 1s existing in the command area and status area parity will be odd.

The status area counts even commands, which do not require any data area, in a parity calculation.

Parity can be set valid or invalid with a parameter. When parity is invalid, no parity check will be performed.

(5) OFF conditions

The signal will be turned OFF when the strobe signal is turned OFF.

If the strobe signal is turned OFF, before command processing is completed, the status signal will be output and then turned OFF within

100 msec.

51

3.5.3 I/O Commands Details

3.5.3.1 List of I/O Commands

The table below lists I/O commands.

List of I/O Commands

Command area

0001

Program operation

0010

External speed and acceleration setting

Data area 1

00000001 Program reset start

00000010 Program start

00000100 Continue start

00010000 Step stop

00100000 Instantaneous stop

01000000 Reset

00000001 Speed setting

00000010 Acceleration setting

00000100 Deceleration setting

Data area 2 Status area

Program number

Program number

(Note)

Program number

Program number

Program number

Set speed value

Set acceleration value

Set deceleration value

⎯ Error number

Set variable value

(lower 16 bits)

0100

Error read

0101

Type I variable write

0110

Type I variable read

Type I variable number

Type I variable number ⎯ Variable value (lower

16 bits)

⎯ ⎯ 0111

Mode switching

00000001 Motor ON, CAL execution

00000010 External speed 100

10000000 External mode switching

10000011 Execution of all above

(Motor ON →CAL→SP100→External)

⎯ 1000

Clear robot failure

1001

I/O write

1010

I/O read

Set I/O value

First internal I/O port address

⎯ First internal I/O port address

I/O

(Note) In execution of Continue Start command, program numbers will be ignored.

52

3.5.3.2 Program Operation Command (0001)

(1) Function

This command controls the operating state of the program specified in data area 2 based on the setting of data area 1.

(2) Format

Command area (4 bits, input)

0001

Data area 1 (8 bits, input)

00000001: Program reset start

00000010: Program start

00000100: Continue start

00010000: Step stop

00100000: Instantaneous stop

01000000: Reset

An error (ERROR2032) will occur if data is other than the above is set.

Data area 2 (16 bits, input)

Program number: Program number to start

When the number given in data area 2 is nn, the operating state of PR0nn will be controlled as given in data area 1. If the program number is negative in the case of a step stop, instantaneous stop or reset command, all programs will stop or be reset. If the program number is negative with a program reset start or program start command, ERROR73E4 will result.

Status area (16 bits, output)

Nothing will be output.

(3) Description

Program reset start

This command is executable only in external mode. If executed in other mode an error will occur.

This command initializes and starts the program of the program number specified in data area 2. PRO0 to PRO32767 can be started.

If the program number specified in data area 2 is negative, an error

(ERROR73E4) will occur.

Either of the following operations takes place according to the operating status of the program:

⋅ If the specified program is terminated (stopped), step-stopped or immediately stopped, it will start from the beginning.

⋅ If the specified program is running, an error (ERROR21F5) will be displayed, and the program will stop.

53

Program start

This command is executable only in external mode. An error

(ERROR2032) will occur in other modes.

This command starts the program of the program number specified in data area 2. PRO0 to PRO32767 can be started.

If the program number specified in data area 2 is negative, an error

(ERROR73E4) will occur.

One of the following operations takes place according to the operating status of the program.

⋅ If the specified program is terminated (stopped), it will start from the beginning.

⋅ If the specified program is step-stopped, it will resume from the step following the suspended step.

⋅ If the specified program is immediately stopped, it will resume from the step following the suspended step. When the program is instantaneously stopped in while in execution of an operation command, it will resume from the operation still undone.

⋅ If the specified program is running, an error (ERROR21F5) will be displayed, and the program will stop.

Continue start

This command is executable only in external mode when the Continue

Start Permitted signal is on. The data area will be ignored.

Step stop

This command step-stops the program of the program number specified in data area 2. PRO0 to PR032767 can be step-stopped.

If the program number specified in data area 2 is negative, all programs being executed will step-stop.

Either of the following operations takes place according to the operating status of the program.

⋅ If the specified program is terminated (stopped), step-stopped or immediately stopped, nothing will happen.

⋅ If the specified program is running, it will step-stop. If started after a step stop, the stopped program will resume from the step following the suspended step.

Instantaneous top

This command immediately stops the program of the program number specified in data area 2. PRO0 to PR032767 can be stopped immediately.

If the program number specified in data area 2 is negative, all programs being executed will step-stop.

Either of the following operations takes place according to the operating status of the program:

⋅ If the specified program is terminated (stopped), step-stopped or immediately stopped, nothing will happen.

⋅ If the specified program is running, it will immediately stop. If started after an instantaneous stop, the stopped program will resume from the suspended step. If the program is immediately stopped in the middle of execution of an operation command, it will resume, starting from the last uncompleted operation.

54

Reset

This command immediately stops and also initializes the program of the program number specified in data area 2. PRO0 to PR032767 can be stopped.

This command cannot be used together with the program start command.

To start a step-stopped or cycle-stopped program from the beginning, use the program reset start command.

If the program number specified in data area 2 is negative, all programs being executed will be reset.

One of the following operations takes place according to the operating status of the program.

⋅ When the specified program is terminated (stopped), nothing will happen.

⋅ When the specified program is step-stopped or immediately stopped, it will be initialized. The initialized program will resume from the beginning.

⋅ When the specified program is running, it will immediately stop and also be initialized. If started after an instantaneous stop, the stopped program will resume from the beginning.

55

3.5.3.3 External Speed and Acceleration Setting (0010)

(1) Function

This command sets the external speed, acceleration and deceleration values selected in data area 1 to the values specified in data area 2.

This command is executable only in external mode. An error will occur in other modes.

(2) Format

Command area (4 bits, input)

0010

Data area 1 (8 bits, input)

00000001: Speed setting

00000010: Acceleration setting

00000100: Deceleration setting

An error (ERROR2032) will occur if data other than the above is set.

Data area 2 (16 bits, input)

Set values: Speed, acceleration and deceleration to be set

Enter any of the external speed, acceleration and deceleration values specified in data area 1.

The values must be between 1 and 100. If they are out of this range, an error (ERROR2003) will occur.

Status area (16 bits, output)

Nothing will be output.

(3) Description

Speed setting

The external speed is set to the value specified in data area 2. The value must be between 1 and 100. An error (ERROR2003) will occur if the value is out of this range.

The external acceleration and deceleration will be set simultaneously as shown below by setting the external speed:

2 /100 External acceleration and external deceleration = External speed

(minimum value: 1)

Acceleration setting

The external acceleration is set to the value specified in data area 2. The value must be between 1 and 100. An error (ERROR2003) will occur if the value is out of this range.

Deceleration setting

The external deceleration is set to the value specified in data area 2.

The value must be between 1 and 100. An error (ERROR2003) will occur if the value is out of this range.

56

3.5.3.4 Error Read (0100)

(1) Function

This command outputs the existing error number to the status area.

This command is output to the status area only when the strobe signal remains ON.

Caution: This command will not be output if a minor error occurs, such as a program selection error, caused by the operation of the teach pendant or the operating panel.

(2) Format

Command area (4 bits, input)

0100

Data area 1 (8 bits, input)

Nothing will be input.

Data area 2 (16 bits, input)

Nothing will be input.

Status area (16 bits, output)

The existing error code will be output.

(3) Hexadecimal codes

Refer to the figure given below.

×××× → 0

××× → 1

×× × → 2

×× → 3

× ×× → 4

× × → 5

×

×

× → 6

→ 7

××× → 8

×× → 8

× × → A

× → B

×× → C

× → D

× → E

→ F

⋅⋅⋅ON

×⋅⋅⋅⋅OFF

ERROR 6

The following figure shows an example of error number output when

ERROR6174 (overload error with the fourth axis) occurs.

Thousands of error No.

32 31 30 29

Terminal No.

× ×

(Connector CN10)

Hundreds of error No.

28 27 26 25

× × ×

1

Tens of error No.

24 23 22 21

×

7

Units of error No.

20 19 18 17

× × ×

4

Example of Error Number Output

(4) Description

If a command is executed when a robot failure or the robot warning signal is output, the error number, which caused the robot failure or robot warning signal to be output, will be output to the status area.

If no error exists after an error has been cleared, 0 will be output to the status area. Also, when there is an error that does not output any robot failure or robot warning signal, 0 will be outputted.

57

3.5.3.5 Type I Variable Write (0101)

(1) Function

This command substitutes the value specified in data area 2 for the Type I

(integer type) global variable of the number specified in data area 1.

(2) Format

Command area (4 bits, input)

0101

Data area 1 (8 bits, input)

The number of the Type I variable for which a value will be substituted. Any number between I[0] and I[255] can be specified. When the input data in data area 1 is nn, the value specified in data area 2 will be substituted for the Type I variable I [nn].

Data area 2 (16 bits, input)

The value to be substituted for the Type I variable specified in data area 1.

Any value between -32768 and 32767 can be set.

Status area (16 bits, output)

Nothing will be output.

(3) Description

The value specified in data area 2 is substituted for the Type I variable specified in data area 1.

Although the type I variable has a storage area of 32 bits, the 16-bit data in data area 2 will be substituted for the lower 16 bits. Zero will be substituted for the upper 16 bits of the Type I variable.

58

3.5.3.6

Type I Variable Read (0110)

(1) Function

This command outputs to the status area the value of the Type Ι (integer type) global variable of the number specified in data area 1.

(2) Format

Command area (4 bits, input)

0110

Data area 1 (8 bits, input)

The number of the Type I variable for which a value will be substituted. Any number between I [0] and I [255] can be specified. When the input data in data area 1 is nn, the value specified in data area 2 will be substituted for the Type I variable I [nn].

Data area 2 (16 bits, input)

Nothing will be input.

Status area (16 bits, output)

The lower 16 bit value of the Type I variable specified in data area 1 will be output.

(3) Description

The value of the Type I variable specified in data area 1 is output to the status area.

Although the Type I variable has a storage area of 32 bits, the lower 16 bits will be output to the status area.

Therefore, any value between -32768 and 32767 can be output properly.

However, if the value is out of this range, only the lower 16 bits of the data will be output.

59

3.5.3.7 Mode Switching (0111)

(1) Function

This command switches the robot mode from the external device to prepare the robot for operation.

This command is executable only in auto mode. An error will occur in other modes. Before executing this command, select auto mode on the operating panel or the teach pendant.

(2) Format

Command area (4 bits, input)

0111

Data area 1 (8 bits, input)

Bit 0 (00000001): Motor ON, CAL execution

Bit 1 (00000010): External speed 100

Bit 7 (10000000): External mode switching

These bits can be set together to execute commands. When two or more bits are set, commands will be executed one after another.

For example, when bits 0, 1 and 7 are set, motor ON, CAL execution, external speed 100 and external mode will be executed in this order.

If bits other than the above are set, an error will result.

Data area 2 (16 bits, input)

Nothing will be input.

Status area (16 bits, output)

Nothing will be output.

(3) Description

This command is used for equipment using the robot to switch the operation mode of the robot to external mode from the external device

The processing operations to be executed are specified by the bits set in data area 1 and will be executed from bit 0 to bit 7.

Motor ON, CAL execution (bit 0)

When this bit is set, the power to the Robot Controller motor will be turned ON and CAL will be executed. If CAL is executed once after the power is turned ON, no processing will take place.

60

External speed 100 (bit 1)

When this bit is set, the external speed, external acceleration and external deceleration of the Robot Controller will be set to 100.

External mode switching (bit 7)

When this bit is set, the mode of the Robot Controller will be switched from automatic to external.

61

3.5.3.8 Clear Robot Failure (1000)

(1) Function

This command clears a robot failure that has been caused.

(2) Format

Command area (4 bits, input)

1000

Data area 1 (8 bits, input)

Nothing will be input.

Data area 2 (16 bits, input)

Nothing will be input.

Status area (16 bits, output)

Nothing will be output.

(3) Description

If a robot failure occurs, this command clears it. When there is no failure, no processing will take place

When an error is displayed, the same processing as when the OK or

Cancel key of the operating panel or the teach pendant is operated will be performed.

62

3.5.3.9 I/O Write (1001)

(1) Function

This command substitutes the status specified in data area 1 for the 8-bit internal I/O area starting from the number specified in data area 2.

(2) Format

Command area (4 bits, input)

1001

Data area 1 (8 bits, input)

The status to be set will be specified in the internal I/O area starting from the number specified in data area 2.

Data area 2 (16 bits, input)

This is first number of the internal I/O (8-bit) area for which the status will be substituted. The number can be set between 128 and 504. If the number is out of this range, an error (ERROR2034) will occur.

Status area (16 bits, output)

Nothing will be output.

(3) Description

This command substitutes the status specified in data area 1 for the 8-bit internal I/O area starting from the number specified in data area 2.

63

3.5.3.10 I/O Read (1010)

(1) Function

This command outputs to the lower 8 bits of the status area the status of the

8-bit internal I/O area starting from the number specified in data area 2.

(2) Format

Command area (4 bits, input)

1010

Data area 1 (8 bits, input)

Nothing will be input.

Data area 2 (16 bits, input)

This is the first number of the internal I/O (8-bit) area whose status will be output. The number can be set between 128 and 504. If the number is out of this range, an error (ERROR2034) will occur.

Status area (16 bits, output)

The status of the 8-bit internal I/O area starting from the number specified in data area 2 will be output to the lower 8 bits of this area.

(3) Description

This command outputs to the lower 8 bits of the status area the status of the

8-bit internal I/O area starting from the number specified in data area 2.

Zero will be output to the upper 8 bits.

64

3.6 Example of Using System I/O Signals in Standard Mode

This section illustrates an example of starting and stopping the robot using system I/O signals.

(1) Equipment setup example

This example shown below assumes an equipment setup which allows you to run the robot by operating an external equipment’s operation panel connected via the PLC to the robot controller. It is assumed that the operation panel has a display, lamps and switches listed on the next page.

Robot

Robot controller

PLC

Other equipment

(e.g. conveyor)

Operating panel

Example of Equipment Setup Using a Robot

65

Function Example of Equipment Operating Panel

Classificati on

Display

Lamp

Display

Part Application

Automatic operation indicator lamp

Robot external mode indicator lamp

Operation OK indicator lamp

Robot preparation button

Displays messages, such as ROBOT PREPARATION

OK.

⋅ Lights during automatic operation.

⋅ Turned OFF when the robot is not in automatic operation.

⋅ Lights when the robot is in external mode.

⋅ Turned OFF when the robot is not in external mode.

⋅ Lights when the Enable Auto signal is ON.

⋅ Turned OFF when the Enable Auto signal is OFF.

Starts the preparation of the robot.

Automatic start button Starts the operation of the equipment.

Switch

Cycle stop button

Stops the equipment after a cycle of operations is completed.

Operation/Adjustment selector switch

Automatic operation of the robot possible when

OPERATION is selected.

Manual operation or teach check of the robot possible when ADJUSTMENT is selected.

Caution: Actual equipment requires emergency stop, interlock and other functions; however, described here are the necessary functions.

(2) Outline of procedure

Described below is the outline of the procedure when using the equipment taken as an example shown on the previous page.

Follow steps to .

Operation preparation start

After setting the MOTOR ON, CAL EXECUTION, EXTERNAL SPEED

100 and EXTERNAL MODE SWITCHING bits, execute the mode switching command to bring the robot into external automatic operation mode. This operation will be completed when the EXTERNAL MODE output signal is turned ON.

Automatic operation

Start the program by which the robot starts from the operation origin, performs operations, and returns to the operation origin.

Operation end

Terminate the day’s operations with a cycle stop, and turn OFF the power.

(3) Start and stop procedure, and system I/O signals

The following pages show the relationship between the system I/O signals for start and stop, worker’s operation, display on the equipment operation panel, PLC proceeding, and robot motion.

66

Step

Worker’s operation and display on equipment’s operation panel

Equipment power ON

PLC processing

Setting operation/adjustment selector switch to operation

Operation OK indicator lamp ON

Setting Mode selector switch of the operating panel or the teach pendant to AUTO

Robot preparation button ON

Enable Auto ON

(Note )

Data area 1 input ON

Executing mode switching command

Robot operation

(Internal processing)

Motor power ON

Executing CAL

Setting SP 100

Switching mode to external mode

External mode ON

Robot external mode indicator lamp ON

Moving robot arm close to operation origin, when external mode indicator lamp is ON and operation position

1 indicator lamp is OFF.

Robot operation origin indicator lamp ON

Robot preparation OK display

(Internal processing)

(Internal processing)

When both are ON

(Internal processing)

Operation position 1 ON

Start and Stop Procedure and System I/O Signals-1

(Continued on following page)

67

(Continued from preceding page)

Step

Worker’s operation and display on equipment’s operation panel

Equipment’s Automatic

Automatic Operation indicator lamp ON

PLC processing

Program No. Select ON

Regular operation program is selected and output to data area 2.

Executing Program

Operation Command

(Program start)

Robot operation

Program start

END

Robot-in-operation signal OFF

Program No. select ON

Regular operation program is selected and output to data area 2.

Program start ON

Repeated

Equipment’s Cycle

Stop button ON

Cycle Stop ON Executing 1-cycle

END

Automatic operation indicator lamp OFF

(Internal processing)

Robot-in-operation signal OFF

Equipment power OFF

Note In data area 1, the bit to each of "motor ON, CAL execution," "external speed 100" and

"External Mode switching" will be turned ON. Refer to Chapter 5, Subsection 5.3.7

"Mode Switching (0111)".

in the above figure indicates a system I/O signal, and ←represents the flow of

signals.

Start and Stop Procedure and System I/O Signals-2

68

Chapter 4

System I/O Signals Compatible Mode

4.1 Types and Functions of System Output Signals (Compatible

Mode)

The table below lists the system output signals used in the compatible mode.

Types and Functions of System Output Signals to be Used in Compatible Mode

Robot power ON complete

Auto mode

Function

Outputs when preparations for operation are ready to start.

Outputs when the robot is in auto mode.

Start-up Servo ON Outputs when the power to the motor is turned ON.

CAL complete Outputs when calibration is completed.

Program pre-execution check

Program execution

Program end

Error/warning

Continue start

Safe start function

Emergency stop

External mode Outputs when the robot is in external mode.

Teaching

Program start reset

Robot-in-operation

Continue start permitted

Single cycle end

Outputs when the robot is in manual or teach check mode.

Outputs when execution of the program starts in response to the program start signal received.

Outputs when the robot is in operation (the program is being executed).

Outputs when the continue start is permitted.

Normal CPU

Robot failure

Outputs when the program completes a cycle.

Outputs when the CPU (hardware) of the Robot

Controller is normal.

Outputs when a failure (such as a servo failure and program error) occurs in the robot.

Robot warning

Dead battery warning

Error No.

Outputs when a slight error occurs.

Outputs when the voltage of the encoder backup battery or memory backup battery lowers.

An error number will be outputted in BCD code if an error occurs.

Continue start permitted Outputs when Continue Start is enabled.

SS mode

Emergency stop

Outputs when the robot is in SS mode. Refer to the

SETTING-UP MANUAL, Chapter 3, Subsection 3.4.6

"SS (Safe Start) Function."

Outputs from a contact exclusively designed for an emergency stop circuitry.

69

4.2 Usage of System Output Signals in the Compatible Mode

The usage of each system output signal in the compatible mode is described below.

4.2.1 Robot Power ON Complete

(1) Function

The signal outputs to the external device that OPERATION PREPARATION

START is possible.

(2) Terminal number

No.9 of connector CN10.

(3) Usage

OPERATION PREPARATION START will be executed after this signal and the auto mode signal are turned ON after the power was turned ON.

(4) ON conditions

The signal will be turned ON when the Robot Controller system program properly starts. Preparations for operation can be started after the power was turned ON.

The signal will be turned ON when the robot failure is cleared by the OK or Cancel key of the operating panel or the teach pendant or by CLEAR

ROBOT FAILURE and OPERATION PREPARATION START signals, after the power was turned OFF.

(5) OFF conditions

The signal will be turned OFF when a robot failure or robot warning signal is turned ON.

⋅ The system properly starts to operate after the power is turned

ON.

⋅ A robot error is cleared by the OK or Cancel key of the operating panel or teach pendant.

⋅ When a robot error was cleared with CLEAR

ROBOT FAILURE and OPERATION PRE-

PARATION START signals from the external device.

ROBOT POWER ON

COMPLETE output

⋅ Robot error

Robot Power ON Complete Output

70

4.2.2 Auto Mode (Output)

(1) Function

The signal outputs to the external device that the robot is in the auto mode.

(2) Terminal number

No.4 of connector CN10.

(3) Usage

Starting the program from the external device requires an SWITCH EXT

MODE input, a PROGRAM NO. SELECT input and a PROGRAM START input. The signal is used to confirm that the robot is in the auto mode.

(4) ON conditions

The signal will be output when the robot enters the auto mode under the following conditions.

The mode selector switch of the operating panel or the teach pendant is set to AUTO.

(5) OFF conditions

The signal will be turned OFF under the following conditions.

When the mode selector switch of the operating panel is set to MANUAL or the teach pendant is set to MANUAL or TEACH CHECK.

When Enable Auto OFF is input.

(Caution: The signal will not be turned OFF in the pendantless state described in the OPTIONS MANUAL, Chapter 1, Subsection 1.3.3.)

Caution: The signal will not be turned OFF with INSTANTANEOUS STOP,

STEP STOP or CYCLE STOP.

⋅ The Mode selector switch of the operating panel or the teach pendant is set to AUTO.

⋅ SWITCH AUTO MODE and OPERATION PREPARATION START are input from the external device.

Auto mode output

⋅ The mode selector switch of the operating panel is set to

MANUAL or that of the teach pendant is set to MANUAL or

TEACH CHECK.

⋅ Enable Auto OFF is input.

Auto Mode Output

71

4.2.3 Servo ON (Output)

(1) Function

The signal outputs to the external device that the power to the robot motor is turned ON.

(2) Terminal number

No. 10 of connector CN10.

(3) Usage

Executing CAL from the external device or starting the program requires the power to the motor to be turned ON. This signal is used to confirm that the power to the motor is turned ON and to light the motor power ON indicator lamp on an external operating panel.

(4) ON conditions

The signal will be turned ON when the power to the motor is turned ON under the following conditions.

The MOTOR switch on the operating panel or the teach pendant is activated.

MOTOR POWER ON + OPERATION PREPARATION START signals are input from the external device.

(5) OFF conditions

The signal will be turned OFF when the power to the motor is turned OFF under the following conditions.

The MOTOR switch of the operating panel or the teach pendant is deactivated and the ROBOT STOP button is operated.

ROBOT STOP is input from the external device.

ROBOT FAILURE is outputted. If any of errors 0 × 6071 to 607B, 0 ×

6671 to 667B, 0 × 607F occurs, the servo ON signal will be turned OFF in

External Auto mode but will not be turned OFF in manual or teach check mode.

⋅ When the MOTOR button of the operating panel or the teach pendant is

「MOTOR」ON 操作 signals are input from the external device.

Servo ON output

⋅ When the MOTOR button of the operating panel or the teach pendant is

「MOTOR」OFF

⋅ When a ROBOT FAILURE occurs.

Servo ON Output

72

4.2.4 CAL Complete (Output)

(1) Function

The signal outputs to the external device that CAL is completed.

(2) Terminal number

No. 11 of connector CN10.

(3) Usage

This signal is used to determine whether to execute CAL.

Once CAL is completed, it does not need to be executed again as long as the power to the Robot Controller is turned ON.

(4) ON conditions

The signal will be turned ON upon proper completion of CAL under the following conditions.

When CAL is performed by the operating panel or teach pendant.

When CAL EXECUTION and OPERATION PREPARATION START signals are input from the external device.

(5) OFF conditions

The signal will be turned OFF when CAL is not properly completed as shown below.

It will remain OFF until CAL is performed again and properly completed.

⋅ CAL is performed by the teach pendant.

⋅ CAL EXECUTION and OPERATION

PREPARATION START commands are input from the external device.

(Prerequisite: MOTOR POWER ON) ⋅ CAL is executed again.

When CAL has properly ended

CAL complete

⋅ Normal CAL end

When a CAL error occurs.

CAL Complete Output

73

4.2.5 External Mode (Output)

(1) Function

The signal outputs to the external device that the robot is in the external mode.

(2) Terminal number

No. 5 of connector CN10.

(3) Usage

Starting the program from the external device requires an SWITCH EXT

MODE input, PROGRAM NO. SELECT input and a PROGRAM START input. The signal is used to confirm to the external device that the robot is in external mode.

(4) ON conditions

The signal will be turned ON under the following conditions.

When INTERNAL/EXTERNAL is input on the teach pendant and the external mode is selected.

When EXTERNAL/INTERNAL is input on the operating panel in AUTO

MODE and in the INTERNAL CONTROL ON state.

When SWITCH EXT MODE and OPERATION PREPARATION START signals are input from the external device.

(5) OFF conditions

The signal will be turned OFF under the following conditions.

When the mode selector switch of the teach pendant is set to MANUAL or TEACH CHECK in external mode.

When EXTERNAL/INTERNAL is input on the teach pendant and external mode is selected.

When EXTERNAL/INTERNAL is input on the operating panel in AUTO

MODE and in the INTERNAL CONTROL OFF state.

When ROBOT STOP is input.

When ROBOT FAILURE is outputted.

Caution: The signal will not be turned OFF with STEP STOP.

When an Enable Auto input is turned OFF.

⋅ When INTERNAL/EXTERNAL is input on the teach pendant and external mode is selected.

⋅ When INTERNAL/EXTERNAL is input on the operating panel in AUTO MODE and in the

INTERNAL CONTROL ON state.

⋅ When EXTERNAL MODE SWITCHING and OPERATION PREPARATION START signals are input from the external device.

ON

External mode output OFF

⋅ When internal mode is selected on the teach pendant.

⋅ When INTERNAL/EXTERNAL is input on the teach pendant and external mode is selected.

⋅ When INTERNAL/EXTERNAL is input on the operating panel in

AUTO MODE and in the INTERNAL CONTROL ON state.

⋅ When ROBOT STOP is input.

⋅ When ROBOT ERROR is output.

⋅ When an Enable Auto input is turned OFF.

External Mode Output

74

4.2.6 Teaching (Output)

(1) Function

The signal outputs to the external device that the robot is in the manual mode or teaches check mode.

(2) Terminal number

No. 12 of connector CN10.

(3) Usage

This signal is used to inform an external operating panel that the robot is teaching when they are installed separately from each other.

(4) ON conditions

The signal will be turned ON when the mode selector switch of the operating panel or the teach pendant is set to MANUAL or TEACH CHECK, as shown below.

(5) OFF conditions

The signal will be turned OFF when the mode selector switch of the operating panel or teach pendant is set to AUTO and the Enable Auto input is turned ON.

・ オペレーティングパネルで「Manual」操作

・ テ ィ ー チ ン グ ペ ン ダ ン ト で 「 MANUAL 」・「 Teach

Check」操作

MANUAL or TEACH CHECK.

Teaching

・オペレーティングパネルまたはティーチング

ペンダントで「Auto」操作、かつ外部より自

動運転イネーブル入力が ON

Teaching Output

75

4.2.7 Program Start Reset (Output)

(1) Function

This signal is output to the external device when the robot receives a start signal from the external device and starts to operate.

(2) Terminal number

No. 6 of connector CN10.

(3) Usage

The signal is used to prompt the external device to receive information that the robot program has started to run, and to process subsequent sequence programs.

The signal is used as a condition to turn OFF the PROGRAM START signal sent from the external device to the robot.

(4) ON conditions

The signal will be turned ON immediately after the robot program starts to run, as shown below.

(5) OFF conditions

The signal will be turned OFF automatically when the PROGRAM START signal sent to the robot is turned OFF.

Robot status

Single-cycle operation Single-cycle operation

Program start signal (input) ON (shorted)

(open)

Program start

Reset (output)

Program Start Reset Output ON Condition

76

4.2.8 Robot-in-operation (Output)

(1) Function

The signal outputs to the external device that the robot is in operation

(executing more than one task ).

(2) Terminal number

No. 2 of connector CN10.

(3) Usage

The signal is used to light the robot operating indicator lamp of the external operating panel.

Since the signal is turned OFF with STOP ALL PROGRAMS, it outputs to the external device that all programs are stopped.

(4) ON conditions

The signal will be turned ON while executing the program and also in the

Wait State with a condition branch or timer command.

(5) OFF conditions

The program will be turned OFF with STOP ALL PROGRAMS.

Caution: STOP ALL PROGRAMS means the operation of the ROBOT

STOP or STOP button of the operating panel or the teach pendant and INSTANTANEOUS TOP (ALL TASKS), STEP STOP

(ALL TASKS) and ROBOT STOP inputs.

77

4.2.9 Single-Cycle End (Output)

Robot status

(1) Function

The signal outputs to the external device that a single-cycle of the program is completed.

Caution The single-cycle end signal will be output upon reading END of the program. However, it will be output earlier than the end of the actual robot operation because the Robot

Controller pre-reads the program.

The single-cycle end signal will be output on the premise that only one program is executed at a time. If two or more programs are executed simultaneously (multi-tasks), the single-cycle end signal will be turned ON immediately after any of the programs reads an END command.

(2) Terminal number

No. 13 of connector CN10.

(3) Usage

The signal is used to operate another equipment in synchronization with a single-cycle end of the program.

(4) ON conditions

The signal will be turned ON when the program is read to the end.

(5) OFF conditions

The signal will be turned OFF immediately after the program starts to run.

Single-cycle operation

Wait for start

Single-cycle operation

PROGRAM START input

1-CYCLE END

Single-Cycle End Output

78

4.2.10 Normal CPU (Output)

(1) Function

The signal outputs to the external device that the CPU (hardware) of the

Robot Controller is normal.

(2) Terminal number

No. 1 of connector CN10.

(3) Usage

The signal is used to light the Robot Controller error indicator lamp of an external operating panel.

The signal is used when the NORMAL CPU signal is turned OFF because of an error and the PLC corrects it.

(4) ON conditions

The signal will be turned ON by the hardware when the CPU of the Robot

Controller operates normally with the power turned ON.

(5) OFF conditions

The signal will be turned OFF by the hardware when the CPU does not operate normally.

Caution: The OFF state of this signal indicates that the internal arithmetic circuit of the Robot Controller may be damaged and

ROBOT ERROR, ERROR NUMBER and other outputs may not

be correct.

⋅ Power ON (CPU operates properly)

Normal CPU output

⋅ CPU error (hardware error)

Normal CPU Output

79

4.2.11 Robot Failure (Output)

(1) Function

The signal outputs to the external device that a problem, such as a servo error and a program error, occurs with the robot.

(2) Terminal number

No. 3 of connector CN10.

(3) Usage

The signal is used to light the robot failure indicator lamp of an external operating panel.

The signal is used to help the PLC clear an error in response to a

ROBOT FAILURE signal.

(4) ON conditions

As shown below, the signal will be turned ON under the following conditions.

When an error, such as a servo error, a program error and undefined program, occurs at the start of the program and during execution of the program.

When an error occurs during execution of the program in internal operation by the operating panel or the teach pendant or in external operation by the PLC.

When an error, such as undefined program, occurs at the start of the program only in external operation.

Caution: The signal will not be output when an error, such as a program input error occurs in manual operation, except when a servo error occurs in manual operation. For further information, see

"ERROR CODE TABLES."

(5) OFF conditions

As shown below, the signal will be turned OFF under the following conditions.

When a CLEAR ROBOT FAILURE command is input from the external device and the existing error is cleared.

When the existing error is cleared by operating the Cancel key of the operating panel or the teach pendant.

⋅ Program number, parity error, or an undefined program number at external start.

バリティーエラー、

⋅ The robot errors during automatic operation (both internal operation and external operation).

Robot failure

⋅ When CLEAR ROBOT FAILURE and OPERATION PREPARATION

START signals are input.

⋅ When the Cancel key of the operating panel or the teach pendant is operated.

「Cancel」キー操作

Robot Failure Output

80

4.2.12 Robot Warning (Output)

(1) Function

The signal outputs to the external device that a minor error has occurred with an I/O command or during servo processing.

Caution: The signal will not be output in case of a minor error, such as a program selection error, caused by the operation of the teach

pendant or operating panel.

(2) Terminal number

No. 15 of connector CN10.

(3) Usage

The signal is used to light the robot warning indicator lamp of an external operating panel.

The signal is used to help the PLC clear an error in response to a

ROBOT WARNING signal.

(4) ON conditions

As shown below, the signal will be turned ON when a minor error occurs during I/O processing, execution of the program or servo processing, irrespective of the operation mode.

(5) OFF conditions

As shown below, the robot-warning signal will be turned OFF under the following conditions.

When CLEAR ROBOT FAILURE and OPERATION PREPARATION

START signals are input from the external device and the existing error is cleared.

When the existing error is cleared by operating the OK or Cancel key of the operating panel or the teach pendant.

⋅ When a slight error occurs during I/O processing, execution of the program or servo processing.

Robot warning

⋅ When a CLEAR ROBOT FAILURE command is inputted from the external device and the existing error is cleared.

⋅ When the existing error is cleared by operating the OK or Cancel key of the operating panel or teach pendant.

Robot Warning Output

81

4.2.13 Dead Battery Warning (Output)

(1) Function

The signal will be output when the voltage of the encoder back-up battery or memory back-up battery becomes dangerously low.

(2) Terminal number

No. 14 of connector CN10.

(3) Usage

The signal is used to check the timing of battery replacement (lowering of the battery voltage).

(4) ON conditions

The signal will be turned ON when the voltage of the encoder back-up battery or memory backup battery becomes dangerously low.

Caution: Any error of ERROR64A1 to 64A6 indicating the dead encoder back-up battery or ERROR6103 informing the dead memory back-up battery will be displayed on the operating panel and the teach pendant.

(5) OFF conditions

The signal will be turned OFF when the power is turned ON after the dead battery was replaced.

Robot power ON state

Power ON Power OFF Power ON Power OFF Power ON

⋅ The voltage of the encoder backup battery or memory back-up battery becomes dangerously low.

Dead battery warning output

⋅ Battery replaced

Dead Battery Warning Output

82

4.2.14 Error No. (Output)

(1) Function

When an error occurs, the signal outputs the error number in a 3-digit

(12-bit) hexadecimal code.

(2) Terminal numbers

No.17 to No.28 of connector CN10.

(3) Usage

The signal is used to display an error number on the external device.

(4) Output conditions

The signal will be output when an error occurs.

(5) Clear conditions

The signal will be cleared when CLEAR ROBOT FAILURE and

OPERATION PREPARATION START signals are inputted or by operating the Cancel key of the operating panel or the teach pendant. When this signal is cleared, all states will become OFF (0).

(6) Hexadecimal codes

See the following figure.

×××× → 0

××× → 1

×× × → 2

×× → 3

× ×× → 4

× × → 5

× × → 6

× → 7

××× → 8

×× → 9

× × → A

× → B

×× → C

× → D

× → E ⋅⋅⋅ON

→ F ×⋅⋅⋅⋅OFF

Hexadecimal Codes

The figure below shows an example of error number output, when ERROR174

(overload error with the fourth axis) occurs.

Terminal No.

(connector CN10)

Hundreds of error No.

28 27 26 25

Tens of error No.

24 23 22 21

Units of error No.

20 19 18 17

Example of Error Number Output

83

4.2.15 Continue Start Permitted (Output)

(1) Function

The controller will output this signal when the continue start is permitted.

(2) Terminal number

No.16 of connector CN10.

(3) Usage

Use this signal when you want to know whether the continue start is permitted.

(4) ON condition

This signal comes on when the continue start is permitted. For details, refer to the SETTING-UP MANUAL.

(5) OFF condition

This signal goes off by carrying out the "Task Status Change Operation."

4.2.16 SS mode (Output)

(1) Function

The controller will output this signal during the SS mode.

This mode is effective when the slow mode is selected.

(2) Terminal number

No. 29 of connector CN10

(3) Usage

This signal is used to warn workers that the robot is in the SS mode by beeping or lighting the lamp.

(4) ON condition

This signal comes on when the SS mode is selected.

(5) OFF condition

The signal goes off when the TS time passes so as to cancel SS mode. This function is effective when the slow mode is selected.

Note: If the TS time passes, this signal goes off even when the robot is operation in the slow mode. After this signal goes off, the robot runs at the original speed.

84

4.2.17 Emergency Stop (Output from a contact)

(1) Function

This signal outputs from a contact exclusively designed for an emergency stop circuitry you may configure. It allows red mushroom buttons provided on the front panel of the robot controller, on the teach pendant, and on the operating panel to be used as emergency stop buttons of the facilities.

A 0.3A fuse is built in the contact.

(2) Terminal number

No. 10 of connector CN10: Emergency stop (+)

No. 10 of connector CN10: Emergency stop (-)

(3) Usage

This signal is used to stop the facilities or robot in an emergency. (Refer to

Subsection 5.2.4 "Emergency Stop Circuit.")

(4) Contact

This contact is a normal close one (b contact). If any of the emergency stop buttons is pressed, then the contact turns off to output an emergency stop signal.

85

4.3 Types and Functions of System Input Signals

(Compatible Mode)

The table below lists the system input signals to be used in compatible mode.

Types and Functions of System Input Signals to be Used in Compatible Mode

Function

Start-up

Program execution

Stop

Error clear

Program interrupt

Continue start

Enable Auto Enables switching to Auto mode.

Motor power ON

+ operation preparation start

CAL execution

+ operation preparation start

SP100

+ operation preparation start

Switch Ext Mode

+ operation preparation start

Turns ON the power to the motor.

Executes calibration.

Sets the speed to 100%.

Switches the mode to external mode.

Program reset

+ operation preparation start

Initializes all programs on halt. Starting a program after initialization will execute the program from the beginning.

Program No. select

+ program start

Program reset

+ program No. select

+ program start

Robot stop

Robot stop

Step stop

Instantaneous stop

Executes a specified program.

Cancels the current program and starts executing a specified program from the beginning.

Stops the robot by opening signals.

Stops the robot by canceling signals.

Step-stops all programs by opening signals.

Instantaneously stops all programs by opening signals.

Clear robot failure

+ operation preparation start

Clears an error.

Interrupt skip

Interrupts the execution of the current step and starts the next step.

Continue start

+ program start

Executes continue start.

Caution: Two or more signal names listed in the signal name field indicate that they should be used in combination.

86

4.4 Usage of System Input Signals in Compatible Mode

The usage of each system input signal in compatible mode is described below:

4.4.1 Enable Auto (Input)

(1) Function

The signal enables switching of the robot mode to the Auto mode (shorted state).

The signal enables switching of the robot mode to the manual mode or the teach check mode (open state).

(2) Terminal number

No.4 of connector CN8.

(3) Usage

The signal is used for the AUTO/TEACHING selector switch of the external operating panel and can be combined with the safety fence switch.

(4) Input conditions and operation

As shown below, the selectable operation mode depends on whether this input is shorted or open.

If the input becomes open during automatic operation, the mode will be switched to manual mode and ERROR21FC will be displayed.

If manual operation or a teach check is conducted with this input shorted,

ERROR21F2 will be displayed.

If the mode selector switch of the teach pendant or the operating panel is set to AUTO with this input open, ERROR21F3 will be displayed.

Since this state is × in the table below, this error will remain displayed until the robot leaves this state.

Although ERROR21FD or ERROR21FC will be displayed when the state is changed from to Δ or × shown in the table below, they will not be displayed when the state is changed from Δ or × to .

When the input is turned OFF (open) in external mode, the external mode output will also be turned OFF.

Relationship Between Enable Auto Input and Selectable Mode

Operation Mode Application

Enable Auto

ON

(shorted)

OFF

(open)

Manual mode

Teach check mode

Internal Auto mode

Manual operation with the operating panel or teach pendant

Program check with the teach pendant

Automatic operation with the operating panel or teach pendant

Δ

Δ

×

External Auto mode Automatic operation with the external device ×

Note: = Mode selectable × = Mode not selectable

Δ = Mode selectable, but manual operation and program execution impossible

Caution: In the pendantless state, auto mode is valid even if the Enable Auto input is open (external mode cannot be switched and the program cannot start to run).

Perform the following when operating the robot in the pendantless state:

Set the robot not to start to operate when the Enable Auto input is open.

Enable Auto input open state and auto mode output (See

Subsections 4.2.2 and 6.2.2 "Auto Mode ".)

Set the equipment to make an emergency stop in an AND state.

and with the external sequence circuit.

87

4.4.2 Operation Preparation Start (Input)

(1) Function

⋅ By turning ON (short) this signal, input signals to described in (3), input conditions and operation will be detected and the robot will automatically start to operate. Input these signals with the system output

ROBOT POWER ON COMPLETE turned ON.

⋅ By turning ON (short) CLEAR ROBOT FAILURE, an error that has occurred will be cleared.

(2) Terminal number

No.8 of connector CN8.

(3) Input conditions and operation

Before inputting an operation preparation start signal, turn ON (short) inputs

to below:

Motor power ON (input)

⋅ Terminal number: No.19 of connector CN8

⋅ By turning ON (short) the operation preparation start signal with this signal turned ON (shorted), the power to the motor will be turned ON.

However, this signal can be used only in the Auto mode.

CAL execution (input)

⋅ Terminal number: No.20 of connector CN8

⋅ By turning ON (short) the operation preparation start signal with this signal turned ON (shorted), calibration takes place. However, this signal cannot be used when the power to the motor is turned OFF ( not executed).

SP100 (input)

⋅ Terminal number: No.22 of connector CN8

⋅ By turning ON (short) the operation preparation start signal with this signal turned ON (shorted), SP100% will be set.

Switch Ext Mode (input)

⋅ Terminal number: No.23 of connector CN8

⋅ By turning ON (short) the operation preparation start signal with this signal turned ON (shorted), the mode will be set to the external mode.

However, this signal cannot be used when the power to the motor is turned OFF and CAL is not completed.

Program reset (input)

⋅ Terminal number: No.24 of connector CN8

⋅ By turning ON (short) the operation preparation start signal with this signal turned ON (shorted), all programs will be initialized.

NOTE: By turning ON (short) the operation preparation start signal with all inputs to turned ON (shorted), to will be executed one by one. Input cannot be executed until input is completed. Inputs to will also become valid when part of them are executed by the operating panel or teach pendant.

88

For the input timing of the operation preparation start signal and to , see the figure given below.

Caution: The operation preparation start signal and each input signal, except the Enable Auto signal, will be turned OFF (falling) upon turning ON of the external mode output is turned ON.

Although the robot is made to execute all items at start-up, execute only necessary items at the time of recovery from

suspension during operation to reduce recovery time.

The required time to execute all items may be about 5 seconds depending on CAL time. The time is about 1.3 seconds without

CAL. (Once CAL is completed, it does not need to be executed again as long as the power to the Robot Controller is turned

ON.) Determine whether to execute CAL according to the CAL complete output.

Automatic operation enable

Operation preparation start

ON (shorted)

OFF (open)

ON (shorted)

OFF (open)

Motor power ON ON (shorted)

OFF (open)

CAL execution

SP100

ON (shorted)

OFF (open)

ON (shorted)

OFF (open)

External mode switching

ON (shorted)

OFF (open)

1 ms. or more

The power to the motor is turned ON.

CAL starts

CAL ends

SP is set to 100.

The mode is switched to

external mode.

Automatic mode output

Servo ON

CAL complete

ON (shorted)

OFF (open)

ON (shorted)

OFF (open)

ON (shorted)

OFF (open)

ON (shorted)

OFF (open)

Approx.2.0s

Approx. 2.5s

CAL time

External mode output

Approx. 0.5s

Note indicates the input or output of the signal, and indicates robot operation.

Example of Operation Preparation Start Signal Timing Chart

89

4.4.3 Program No. Select (Input)

Robot status

(1) Function

The program number to be executed can be specified from the external device by inputting this signal.

(2) Terminal numbers

No.11 to No.18 of connector CN8.

(3) Input conditions and operation

This signal is executable only in the external mode. In other modes, an error (ERROR21E2, 21E4, 21E6) will be displayed, and the terminal motor power will be turned OFF.

As shown in the table given on the next page, the program No. select signal is made up of eight bits of 2

0

to 2

6

and the parity bit.

Input a decimal program number by converting it into binary 2

0

to 2

6

and parity bit.

"Short" represents the bit value = 1, "open" represents the bit value = 0, and the parity bit is odd parity.

As shown below, input the program No. select signal before the program start signal (1 msec. or more), and hold the state until the robot starts to operate. If this condition is not met, ERROR2031 or ERROR2033 will be displayed, the power to the motor will be turned OFF.

Wait for start or preceding cycle Single-cycle operation

Program start (input)

ON (shorted)

OFF (open)

1 ms. or more required

Program No. select signal

2 0 to 2 6 ON (shorted)

Parity OFF (open)

Program No. Select Signal

Input 1 or 0 as the parity bit so that the total of 1’s existing in the eight bits of 2

0

to 2

6

and the parity bit will be odd.

Example: When the program number is 15, the bit status of 2

0

to 2

6

is

(001111), and the total number of 1s is four, an even number.

Set 1 as the parity bit to make the total number of 1s five, an odd number.

Caution The bit value =1 represents short, and the bit value =0 represents open.

The program numbers executable from the external device

are limited to Pro0 to Pro127.

90

Example of Program No. Select Signals

Input signal

Program No. (decimal)

1 15 26 65

2

0

=

2

1

=

2

2

=

2

3

=

2

4

=

2

5

=

2

6

=

Parity 0 1 0 1

The figure below shows an example of a program No. select signal sequence circuit considering parity.

Example of Program No. Select Signal Sequence Circuit

91

4.4.4 Program Start (Input)

(1) Function

This signal starts the program specified with the program No. select signal from the external device.

(2) Terminal number

No.10 of connector CN8.

(3) Input conditions and operation

By switching the status of this signal from ON (open) to ON (shorted) in external mode, operations , and described below will take place.

(The status of the signal must be switched from OFF to ON.)

If the program start signal is input (switched from OFF to ON) when the robot has not yet completed the program or is at rest after it has completed a cycle of the program, the program No. select signal will be read, the program will execute a cycle, and the robot will come to a stop.

Tip: Input the program No. select signal before the program start signal (1 msec. or more), and hold the state until the robot starts to operate. If this condition is not met, ERROR2031 or

ERROR2033 will be displayed, the power to the motor will be turned OFF.

Wait for start

Single-cycle operation

Wait for start

Single-cycle operation

Program start signal

ON (shorted)

OFF (open)

50 ms. or more required

Program Start Operation-1

Caution: The program start signal requires program start preparation time (50 msec. or more) before input from OFF (open) to ON

(shorted).

The program start signal must remain OFF (open) during the program start preparation time. If it is turned ON (shorted) during that time, the next cycle will not start to run.

To start a new cycle, the status of the external start signal must be switched from OFF to ON before each cycle.

92

Robot status

When the status of the program start signal is switched from OFF to ON with the program step-stopped, the program will resume from the step following the suspended step and stop at the cycle end.

Operating halfway

Single-cycle operation

At step-stop

Performing remaining operation

Program start signal (input)

ON (shorted)

OFF (open)

Step-stop signal (input)

ON (shorted)

OFF (open)

Program Start Operation-2

Caution: To cancel the execution of the remaining steps of a step-stopped program and start it from the beginning, input a program reset signal, a program No. select signal and a program start signal at the same time. For further information, refer to Subsection 6.4.5 "Program Reset (Input)".

93

When the status of the program start signal is switched from OFF to ON with the program immediately stopped, the program will resume from the suspended step and stop at the cycle end.

Robot status

Operating halfway

Single-cycle operation

On halt

Performing remaining operation

Program start signal (input)

ON (shorted)

OFF (open)

Instantaneous stop ON (shorted) signal (input) OFF (open)

Program Start Operation-3

Caution: To cancel the execution of the remaining steps of an instantaneously stopped program and start it from the beginning, input a program reset signal, a program No. select signal and a program start signal at the same time. For further information, refer to Subsection 6.4.5 "Program Reset (Input)".

94

Robot status

(4) Example of program start signal (rise) ON and (fall) OFF timing

Example of program start signal rise (ON) timing

The figure below shows how to make the program start signal rise with robot system outputs (external mode output and single-cycle end output).

Wait for start

Single-cycle operation

Next cycle operation

External mode

(output)

ON

OFF

1-cycle end

(output)

Program start signal (input)

ON

OFF

200 ms. or more required

ON (shorted)

OFF (open)

Example of Program Start Signal Rise Timing

Caution: The program start signal for the first cycle rises as soon as the external mode becomes valid and the conditions of the peripheral devices are met. The program start signal for subsequent cycles rises after output of a single-cycle end signal.

95

Robot status

Program start reset (output)

Program start signal (input)

Robot status

Example of program start signal fall (OFF) timing a) The following figure shows how to make the program start signal fall with a robot system output (program start reset output).

When the robot program starts to run, a program start reset signal is output. The external device receives it and makes the program start signal fall (OFF).

Wait for start or preceding cycle Single-cycle operation

ON

OFF

ON (shorted)

OFF (open)

Example of Program Start Signal Fall Timing-1 b) The figure below shows how to make the program start signal fall with the simplified method (1 shot method using a timer).

Wait for start Single-cycle operation

Program start signal (input)

50 ms. or more required

ON (shorted)

OFF (open)

Example of Program Start Signal Fall Timing-2

Caution Although the 1 shot method is easy, the timer setting for falling to raise the program start signal in the middle of the preceding cycle is difficult.

Use this method only to raise the program start signal after the robot stops at the end of each cycle.

The status of the robot-in-operation, program start reset and single cycle end output signals changes in sequence after the program start signal is input (T

1

T

2

T

3

in the figure given on the next page).

The change of the status of these signals takes place within

100 msec. after the program start signal rises (ON). See the next page.

96

T

1

, T

2

, T

3

: within 100 ms.

Program start signal (input)

ON (shorted)

OFF (open)

Robot in operation

(output)

Program start reset

(output)

Single-cycle end

(output)

Program Start Signal Rise Output Signal Timing

97

4.4.5 Program Reset (Input)

(1) Function

By turning ON (short) this signal, any program can be forcibly executed from the beginning in a step-stopped state and a suspended state.

Caution: Generally, a step-stopped or suspended program resumes from where it stopped.

(2) Terminal number

No.24 of connector CN8.

(3) Input conditions and operation

When issued with the Program Start

The figure below shows the input conditions and an operation timing chart.

Use the program reset signal together with a program No. select signal, and input it before the program start signal (1 msec. or more).

Turn OFF the program reset signal after the robot starts to operate (after a program start reset signal is output).

A program No. select signal is required to execute the same program number as the suspended one from the beginning.

Input Conditions and Operation of Program Reset Signal

98

When issued with the Operation Preparation Start

The figure below shows the input conditions and an operation timing chart.

Input Program Reset before Operation Preparation Start (1 msec. or more).

After turned ON, this signal may take a maximum of one second for initializing all programs. During the period, do not input signals to the robot.

Input Conditions and Operation of Program Reset Signal

99

4.4.6 Robot Stop (Input)

(2) Function

The signal stops the robot with the external device by opening the robot stop input

The signal readies the power to the robot motor to be turned ON by shorting the robot stop input.

(2) Terminal number

No.2 of connector CN8.

(3) Input conditions and operation

The robot stops with this signal OFF (open).

The power to the robot motor is ready to be turned ON with this signal ON

(shorted).

Irrespective of whether internal mode (operation with the teach pendant) or external mode (remote operation by the external device) is selected, the power to the robot motor cannot be turned ON with this signal OFF

(open). Neither manual nor automatic operation can be performed until this signal is turned ON (shorted). (ERROR2008 will be displayed.)

By turning OFF (open) this signal under the following conditions.

1) The power to the motor will be turned OFF, irrespective of whether

Manual, Internal Auto, or External Auto mode is selected.

2) During execution of the program (Robot-in-operation signal ON), the power to the motor will be turned OFF and the mode will be switched to internal mode after the robot decelerates to a stop.

3) When the program is at a stop in the Manual and the Auto mode the power to the motor will be turned OFF. The suspended operation can be resumed by turning ON the power to the motor and shorting the

ROBOT STOP signal.

Opening the ROBOT STOP signal and pressing the ROBOT STOP button of the operating panel or the teach pendant function the same.

(4) Input timing

This signal will be processed prior to all commands and input signals.

100

4.4.7 Step Stop (All Tasks) (Input)

Robot status

(1) Function

Input this signal to step-stop the program being executed from the external device. All tasks will be step-stopped.

(2) Terminal number

No.5 of connector CN8.

(3) Input conditions and operation

If the status of this signal is changed from ON (shorted) to OFF (open), the robot will stop all tasks immediately after the ongoing step is completed, and the Robot-in-operation signal will be turned OFF.

However, External Auto mode will remain valid, and the suspended program will be resumed by inputting a program start signal. See the figure given below.

Turning OFF (open) this signal when inputting a program start signal makes the robot stop step by step.

Internal operation with the teach pendant is valid only when the status of this signal is changed from ON (shorted) to OFF (open).

For resuming the program after a step stop, refer to Subsection 4.4.4

"Program Start (Input)".

Single-cycle operation

Operating halfway Step-stop

Performing remaining operation

Program start signal (input)

Step-stop signal (input)

ON (shorted)

OFF (open)

ON (shorted)

OFF (open)

Robot-in-operation

(output)

ON

OFF

Step Stop Signal

101

4.4.8 Instantaneous Stop (All Tasks) (Input)

(1) Function

Input this signal to instantaneously stop the program being executed from the external device. All tasks will instantaneously stop.

(2) Terminal number

No.7 of connector CN8.

(3) Input conditions and operation

If the status of this signal is changed from ON (shorted) to OFF (open), the robot will instantaneously stop in the middle of the ongoing step, and the Robot-in-operation signal will be turned OFF. However, Auto mode or external mode will remain valid, and the suspended program will be resumed by inputting a program start signal.

Internal operation by the teach pendant is valid only when the status of this signal is changed from ON (shorted) to OFF (open).

For resuming the program after an instantaneous stop, refer to

Subsection 4.4.4 "Program Start (Input)".

The minimum required pulse width is 50 msec. or more.

ON (shorted)

Instantaneous stop OFF (open)

50 ms. or more required

Minimum Instantaneous Stop Pulse Width

102

4.4.9 Clear Robot Failure (Input)

(1) Function

The robot can recover from a stopped state, resulting from a robot failure by turning ON (shorted) the operation preparation start signal with this signal

ON (shorted).

(2) Terminal number

No.25 of connector CN8.

Robot status

NOTE: Operation preparation start signal is inputted through No. 8 of connector CN8.

(3) Usage

The signal is used to clear an error that brought the robot to a stop.

(4) Input conditions and operation

When a robot failure occurs, clear the error display on the teach pendant and the external output ERROR NUMBER to ready the robot to operate.

When the Clear robot failure signal is turned ON (shorted), other input signals (MOTOR POWER ON, CAL EXECUTION, SP100 and SWITCH

EXT MODE), which are to be used in combination with the operation preparation start signal, will be ignored.

To turn ON the power to the motor after a robot failure is cleared, turn

OFF (open) the Clear robot failure signal after turning OFF the Robot failure signal (output) as shown below.

Input the Clear robot failure signal before (1 msec. or more) the operation preparation start signal.

Stop due to a robot failure

Clear robot failure Motor power ON

Operation preparation ON start (input) OFF

Clear robot failure (input)

ON

OFF

1 ms.

or more required

Motor power

ON (input)

ON

OFF

50 ms. or more required

Robot failure

(output)

ON

OFF

Servo ON

(output)

ON

OFF

Input Conditions and Operation of Clear Robot Failure Signal

103

4.4.10 Interrupt Skip (Input)

(1) Function

If this signal is turned ON (shorted) during execution of the robot operation command within the range between INTERRUPT ON and INTERRUPT

OFF in the program, the operation of the ongoing step will stop and the next step will start.

Note: For further information about the INTERRUPT ON and OFF commands, refer to the PROGRAMMER'S MANUAL (I), Chapter 12

"12.3 INTERRUPT ON/OFF (Statement)."

For further information about robot motion commands, refer to the PROGRAMMER'S MANUAL (I), Chapter 12, "Robot Control

Statements."

(2) Terminal number

No.9 of connector CN8.

(3) Usage

Refer to the PROGRAMMER'S MANUAL (I), Chapter 12 "12.3 INTERRUPT

ON/OFF."

Robot status

(4) Input conditions and operation

If this signal is turned ON (shorted), the robot will immediately stop the ongoing operation and start executing the next step.

INTERRUPT ON command

Operating halfway Next operation

50 ms. or more required

Interrupt skip signal (input)

ON (shorted)

OFF (open)

Input Conditions and Operation of Interrupt Skip

104

Robot status

Caution: When turning ON (shorted) the interrupt skip signal, at least either the program reset signal or the program start signal must be turned OFF (open).

If the interrupt skip signal is turned ON, the robot interprets the program start signal as instantaneously turned OFF

(open). Consequently, the program selected with the program No. select signal will be executed from the beginning. (See the figure given below.)

Executing cycle halfway

Executing cycle from beginning

Interrupt skip signal (input)

ON (shorted)

OFF (open)

Program start signal (input)

ON (shorted)

OFF (open)

WRONG

Program reset signal (input)

ON (shorted)

OFF (open)

Program No. select ON (shorted) signal (input) OFF (open)

Example of Operation When an Interrupt Skip Signal is Input

4.4.11 Continue Start (Input)

(1) Function

Turning the program start signal ON when this continue start signal is ON will resume the current program being on halt.

(2) Terminal number

No.6 of connector CN8.

(3) Input conditions and operation

This signal is executable only in external mode. If this signal is on, program numbers will be ignored at execution of Program start and the current program being on halt will be resumed. If Continue Start Permitted signal is not ON, the controller will issue ERROR27A8.

105

4.5 Example of Using System I/O Signals in Compatible Mode

This section describes an example of starting and stopping the robot using system I/O signals.

(1) Equipment setup example

The example shown below assumes an equipment setup which allows you to run the robot by operating an external equipment’s operation panel connected via the PLC to the robot controller. It is assumed that the operation panel has a display, lamps and switches listed on the next page.

Robot

Robot controller

PLC

Other equipment

(e.g., conveyor)

External equipment’s operation panel

Example of Equipment Setup Using a Robot

106

Function Example of Equipment Operating Panel

Classification Part

Display Display

Lamp

Automatic operation indicator lamp

Robot external mode indicator lamp

Operation OK indicator lamp

Application

Displays messages, such as ROBOT PREPARATION

OK.

⋅ Lights during automatic operation.

⋅ Not illuminated when the robot is not in automatic operation.

⋅ Lights when the robot is in external mode.

⋅ Turned OFF when the robot is not in external mode.

⋅ Lights when the Enable Auto signal is ON.

⋅ Turned OFF when the Enable Auto signal is OFF.

Robot operation button Starts the robot preparation.

Automatic start button Starts the operation of the equipment.

Switch

Cycle stop button

Stops the equipment after a cycle of operations is completed.

Operation/Adjustment selector switch

Automatic operation of the robot possible when

OPERATION is selected.

Manual operation or teach check of the robot possible when ADJUSTMENT is selected.

Note: Actual equipment requires emergency stop, interlock and other functions. However,

described here are only necessary functions and others are omitted.

(2) Outline of procedure

Described below is the outline of the procedure when using the equipment, as shown on the previous page.

Follow steps to .

Operation preparation start

Setting the MOTOR POWER ON, CAL EXECUTION, SP100 and

SWITCH EXT MODE bits, brings the robot into the External Auto mode.

This operation will be completed when the EXTERNAL MODE output signal is turned ON.

Automatic operation

Start the program by which the robot starts from the operation origin, performs operations, and returns to the operation origin.

Operation end

Terminate the day’s operations with a cycle stop, and turn OFF the power.

(3) Start and stop procedure and system I/O signals

The following pages show the relationship between the system I/O signals for start and stop, worker’s operation, display on the equipment operation panel, PLC proceeding, and robot motion.

107

Step

Worker’s operation and display on equipment’s operation panel

Equipment power ON

Setting operation/adjustment selector switch to operation

PLC processing

Enable Auto ON

Robot operation

(Internal processing)

Operation OK indicator lamp ON

Robot preparation button ON

(Note )

System input for start-up ON

Operation

Preparation Start ON

Motor power ON

Executing CAL

Setting SP 100

Switching mode to external mode

Robot external mode indicator lamp ON

Moving robot arm close to operation origin, when external mode indicator lamp is ON and operation position

1 indicator lamp is OFF.

Robot operation origin indicator lamp ON

Robot preparation OK display

(Internal processing)

(Internal processing)

When both are ON

(Internal processing)

Motor power ON

Operation position 1 ON

Start and Stop Procedure and System I/O Signals-1

(Continued on the next page)

108

(Continued from preceding page)

Step

Worker’s operation and display on equipment’s operation panel

Equipment’s

Automatic Start

Automatic Operation indicator lamp ON

PLC processing

Program No. Select ON

Regular Operation

Program is selected.

Program start ON

Robot operation

Program start

END

Single-cycle End ON Program No. select ON

Regular Operation

Program is selected.

Program start ON

Repeated

Equipment’s Cycle

Stop button ON

Cycle Stop ON Executing single-cycle

END

Automatic operation indicator lamp OFF

(Internal processing) Single-cycle End ON

Equipment power OFF

Note The system inputs for startup here are four types of system inputs – "motor power ON,"

"CAL execution," "SP100" and "External Mode switching." Refer to Subsection 6.4.2

"Operation Preparation Start (Input)".

: in the above figure indicates a system I/O signal, and ← represents the flow of the

signal.

Start and Stop Procedure and System I/O Signals-2

109

4.6 Selectable I/O Mode [Ver 1.95 or later]

4.6.1 What is a selectable I/O mode?

Version 1.95 has added a selectable I/O mode, a mode that allows you to release system I/O signal lines not used in compatible mode and make them serve as user I/O signal lines.

To extend user I/O signal lines in the selectable I/O mode, you need to choose or set up the following parameters with the teach pendant or in WINCAPSII:

(1) Selectable I/O mode (0: disable, 1: enable)

(2) Step Stop

(3) Interrupt Skip

(4) Program Select

(0: enable, 1: change)

(0: enable, 1: new, 2: change)

(0: enable, 1: new, 2: change)

(5) Run Ready

(6) State Output

(7) Run Ready Output

(8) Run Program

(9) Error Output

(0: enable, 1: new, 2: change)

(0: enable, 1: new, 2: change)

(0: enable, 1: new, 2: change)

(0: enable, 1: new, 2: change)

(0: enable, 1: new, 2: change)

(10) Start Program No. (0: enable, 1: new, 2: change)

You may make one of three choices (0: enable, 1: new, 2: change).

0: enable Enable this signal line as is; that is, as a system I/O signal line.

1: new Release this signal line and make it serve as a user I/O signal line.

The user I/O area will be reconfigured so that port addresses and line numbers will be newly assigned--Continuous assignment.

2: change Release this signal line and make it serve as a user I/O signal line.

The port address and line number of the released signal line will be used as is and just relocated in the user I/O area--Discrete assignment.

Enable the selectable I/O mode (1) and set up parameters (2) through (10) above as you want. Then reboot the robot controller to make those settings go into effect. In the selectable I/O mode, you may make those released I/O signal lines serve as user I/O signal lines.

The reconfigured or relocated hardware I/O assignment will be listed in I/O manager of

WINCAPSII.

110

4.6.2 Setting up the selectable I/O mode

[ 1 ] From the teach pendant

(1) In the Choose allocation window, choose "Compatible Allocation."

Access: [F4 I/O.]—[F6 Aux.]—[F2 AlocMode]

(2) In the I/O Hardware Settings window, modify parameters as you want.

Access: [F4 I/O.]—[F6 Aux.]—[F1 Set H/W]

(3) Reboot the robot controller to make new settings go into effect.

111

[ 2 ] In WINCAPSII

(1) From the Tool menu of DIO Manager, select the Options command.

(2) Click on the Hardware tab in the Options window.

(3) In the I/O Allocation, choose the Parallel and Selectable.

112

(4) In the Selectable I/O Setting window, select the I/O allocation type (New or

Modify) and check off the check boxes as you want.

(5) To fix your settings, click on the OK button.

(6) Transmit the hardware allocation to the robot controller.

(7) Reboot the robot controller to make new settings go into effect.

4.6.3 System input signal lines that can serve as user I/O signal lines

In the selectable I/O mode, you may modify the following parameters to make system input signal lines serve as user I/O signal lines.

Parameters

Step Stop

Interrupt Skip

Program Select

Run Ready

Signal lines that can serve as user ones

Step Stop (All tasks)

Interrupt Skip

Program No. select bit 0

Program No. select bit 1

Program No. select bit 2

Program No. select bit 3

Program No. select bit 4

Program No. select bit 5

Program No. select bit 6

Program No. select odd parity bit

Motor power ON

CAL execution

SP100

Switch to Ext Mode

113

Parameter details

No. Parameters

1

2

3

4

5

Step Stop

Interrupt Skip

Program Select

Run Ready

Start Program

No.

Function

If you will not use the Step Stop function in running your robot, you may set this parameter to any choice other than "enable."

Then the Step Stop input port may serve as a user I/O port.

Note that this parameter provides no "new" choice, so port addresses or line numbers in the user I/O area will not be continuously assigned.

If you will not use the Interrupt Skip function in running your robot, you may set this parameter to any choice other than

"enable." Then the Interrupt Skip input port may serve as a user

I/O port.

If you will predetermine a particular program to be driven by external equipment and run your robot with the single program, then you may set this parameter to any choice other than

"enable." Then the Program Select input port may serve as a user I/O port.

If initiated by the Program Start signal, the particular program you have predetermined with the Start Program No. will run.

If it is possible to set up all of these four functions--Motor power

ON, CAL execution, SP100, and Switch to Ext Mode--at one time (not to set them individually), then you may set this parameter to any choice other than "enable." Those input ports may serve as user I/O ports.

When those ports serve as user I/O ports, receiving the

Operation preparation start signal will carry out the above four functions independently of the current input states.

Note that when the robot is in machine lock, no Motor power ON or CAL execution will be carried out.

If the Program Select parameter is set to any choice other than

"enable," a program specified by this Start Program No. parameter will be initiated by the Program Start signal.

114

4.6.4 System output signal lines that can serve as user I/O signal lines

In the selectable I/O mode, you may modify the following parameters to make system output signal lines serve as user I/O signal lines.

Parameters

State Output

Run Ready Output

Run Program Output

Error Output

Signal lines that can serve as user ones

Robot power ON complete

External mode

CAL complete

Teaching

Program start reset

Single-cycle complete

Continue start permit

Error units bit 0

Error units bit 1

Error units bit 2

Error units bit 3

Error tens bit 0

Error tens bit 1

Error tens bit 2

Error tens bit 3

Error hundreds bit 0

Error hundreds bit 1

Error hundreds bit 2

Error hundreds bit 3

115

Parameter details

No. Parameters

1

2

3

State Output

Run Ready

Output

Run Program

Output

Function

If you do not need to confirm the Robot power ON complete signal with the external equipment (e.g., when using the robot controller standalone in running your robot), then you may set this parameter to any choice other than "enable." The Robot power ON complete port may serve as a user I/O port.

You may set this parameter to any choice other than "enable" if:

- it is possible to set up all of the Motor power ON, CAL execution, SP100, and Switch to Ext Mode functions at one time so that you do not need to manage those signal lines individually or

- if the system can treat the Auto mode output being OFF as a condition required for teaching.

The External mode, CAL complete, and Teaching signal lines may serve as user I/O signal lines.

When those signal lines serve as user I/O signal lines, the ON conditions of the Servo ON output signal (displayed as Run

Ready) are: Servo ON + CAL complete + External mode. If one or more of those three signal lines are turned OFF, the Servo ON output signal goes OFF.

And when the Auto mode output signal is OFF, the system will interpret it as in teaching.

If you will not run more than one programs concurrently or use the Continue function, then you may set this parameter to any choice other than "enable." The Program start reset,

Single-cycle complete, and Continue start permit ports may serve as user I/O ports.

When those ports serve as user I/O ports, the system may use the Robot running signal instead of Program start reset signal for starting a program from the external equipment.

And the system may use the Robot running signal being OFF instead of a Single-cycle complete signal.

Note that the above signal substitution may be allowed only when you will not run programs concurrently.

4 Error Output

If you do not need to get error codes from the external equipment (e.g., when using the robot controller standalone in running your robot), then you may set this parameter to any choice other than "enable." The error code output ports may serve as user I/O ports.

116

4.6.5 Sample usage of selectable I/O mode

The sample below gives instructions on how to add user I/O signal lines.

(1) From the teach pendant, choose "Compatible Allocation" in the Choose allocation window.

Access: [F4 I/O.]—[F6 Aux.]—[F2 AlocMode]

(2) In the I/O Hardware Settings window, modify parameters as shown below.

Access: [F4 I/O.]—[F6 Aux.]—[F1 Set H/W]

21: Selectable IO mode 1

24: Selectable IO--Program Select 2

(3) Reboot the robot controller to make new settings go into effect.

You may check that #6 through #13 signal lines may serve as user input signal lines as shown below.

User I/O signal lines reconfigured

117

Chapter 5

Connector Pin Assignment and I/O Circuits

(NPN type)

This chapter explains the connector pin assignment and circuits of NPN type (source input and sink output) on an I/O board. I/O boards designed for the use in Japan are of an NPN type.

For a PNP type (sink input and source output), refer to Chapter 6, "Connector Pin

Assignment and I/O Circuits (PNP type)."

5.1 Connector Pin Assignment (NPN type)

This section describes the pin assignment of connectors on the robot controller. The signals and pin assignments of output connector CN10 and input connector CN8 are differently defined in standard mode and compatible mode. As for other connectors, the definitions of pins are common to standard mode and compatible mode.

5.1.1 Connector Pin Assignment Common to Both Modes (NPN type)

(1) HAND I/O CN9: Connector for end-effector I/O (common to both modes)

CN9 Pin Assignment, common to both modes (NPN type)

View from the cable side

Terminal

No.

Name

Port number

Wire color

Standard

High strength

Terminal

No.

Name

Wire color

Port number

Standard

High strength

3

4

1

2

5

Hand output

Hand output

Hand output

Hand output

Hand output

Hand output

8

9

6

7

10

Hand output

Hand output

Hand input

Hand input Not connected

White Brown

White Brown

White Brown

White Brown

NOTE: The optional I/O cable for the above connector consists of twisted pair wires--pairs of #1 and #11, #2 and #12,…#10 and #20.

118

(2) I/O POWER CN7: Power connector for I/O (common to both modes)

CN7 Pin Assignment, common to both modes (NPN type)

View from the cable side

Terminal No.

1

2

3

6

7

4

5

8

9

Internal power source output +24V

Internal power source output +24V

Internal power source output 0V

Internal power source output 0V

FG

Power input E24V

Power input E24V

Power input E0V

Power input E0V

Name

Caution: When using the internal power source, keep the total current capacity below 1.3 A. To use the internal power source of the robot controller, connect the wiring so that the internal power source will be separated from the external power source. Improper wiring may damage the internal circuit.

(3) RS232C CN1: RS232C connector

CN1 Pin Assignment

Terminal No.

1

2

3

4

5

Name

Terminal No.

Name

6 DSR

SG

119

5.1.2 Connector Pin Assignment in Standard Mode

(1) OUTPUT CN10: User-/System-output connector (standard mode)

CN10 Pin Assignment, in standard mode (NPN type)

View from the cable side

Terminal number

3

4

1

2

5

6

Name

Normal CPU

Robot in operation

Robot failure

Servo ON

Robot initialization complete

Automatic mode

7

8

External mode

Dead battery warning

19

20

21

22

23

15

16

17

18

10

11

Continue start permitted

SS mode

12 Reserved

13 Reserved

14 Reserved

24

Command processing complete

Status area odd parity

Status area bit 0

Status area bit 1

Status area bit 2

Status area bit 3

Status area bit 4

Status area bit 5

Status area bit 6

Status area bit 7

25

26

27

31

32

33

34

28

29

30

Status area bit 8

Status area bit 9

Status area bit 10

Status area bit 11

Status area bit 12

Status area bit 13

Status area bit 14

Status area bit 15

User output

User output

Port number

72

73

74

75

76

77

Wire color

Black

Brown

Red

Orange

Yellow

Black

Terminal number

35

36

37

38

39

40

Name

User output

User output

User output

User output

User output

User output

78

79

Brown

Red

41

42

User output

User output

80 Orange

81

82

Yellow

Green

44

45

User output

User output

83 Blue 46 User

99

100

101

102

103

104

105

85 Gray 48 User

90

91

92

93

94

86

87

88

89

95

Pink

Black

Black

Brown

Red

Orange

Yellow

Green

Blue

Gray

49

50

51

52

53

54

55

56

57

58

User output

User output

User output

User output

User output

User output

User output

User output

Not used.

96

97

98

Pink

Brown

Red

Orange

Yellow

Green

Blue

Pink

Black

Brown

*59

*60

*61

*62

*63

*64

65

66

*67

*68

Not used.

[ Power supply for Robot stop 1 (Internal +24V) ]

[ Robot stop 1 ]

[ Power supply for Robot stop 2 (Internal +24V) ]

[ Robot stop 2 ]

[ Emergency stop (+) ]

[ Emergency stop (-) ]

Emergency stop 2 (+)

Emergency stop 2 (-)

[ Deadman switch (+) ]

[ Deadman switch (-) ]

Port number

106

107

108

109

110

111

112

113

White

White

114 White

115 White

116 White

117 White

118 White

119 White

120

121

122

123

White

Gray

Violet

Violet

124

125

Violet

Violet

126 Violet

127 Violet

⎯ Violet

⎯ Violet

Wire color

Pink

Pink

Pink

Pink

Pink

White

⎯ Violet

⎯ Gray

⎯ Gray

⎯ Gray

⎯ Gray

⎯ Gray

⎯ Gray

⎯ Gray

⎯ Blue

⎯ Blue

NOTE 1: The optional I/O cable for the above connector consists of twisted pair wires--pairs of #1 and #35, #2 and #36, #34 and #68.

NOTE 2: The terminal number marked with ( * ) is used only for “Dual emergency stop type”.

120

(2) INPUT CN8: User-/System-input connector (standard mode)

CN8 Pin Assignment, in standard mode (NPN type)

View from the cable side

Terminal number

Name

Port number

Wire color

Terminal number

Name

Port number

Wire color

*1

Power for robot stop

(internal +24V)

⎯ Black 26 Data area 2 bit 7 21 Pink

⎯ Brown 27 Data area 2 bit 8 22 Pink

3

Power for Enable Auto

(internal +24V)

⎯ Red 28 Data area 2 bit 9 23 Pink

18

19

20

21

14

15

16

17

22

23

24

25

5 Step-stop (all tasks)

6

7

Not used.

Instantaneous stop

(all tasks)

8

9

Strobe signal

Interrupt skip

10 Command and data odd parity

11 Data area 1 bit 0

12

13

Data area 1 bit 1

Data area 1 bit 2

Data area 1 bit 3

Data area 1 bit 4

Data area 1 bit 5

Data area 1 bit 6

Data area 1 bit 7

Data area 2 bit 0

Data area 2 bit 1

Data area 2 bit 2

Data area 2 bit 3

Data area 2 bit 4

Data area 2 bit 5

Data area 2 bit 6

0

1

2

13

14

15

16

9

10

11

12

17

18

19

20

5

6

3

4

7

8

Black

Brown

Red

Orange

Red

Orange

Yellow

Green

Blue

Violet

White

Pink

Yellow

Green

Blue

Violet

Black

Brown

Black

Brown

Red

Orange

29

30

31

32

43

44

45

46

39

40

41

42

47

48

49

50

33

34

35

36

37

38

Data area 2 bit 10

Data area 2 bit 11

Data area 2 bit 12

Data area 2 bit 13

Data area 2 bit 14

Data area 2 bit 15

Command area 0 bit 0

Command area 0 bit 1

Command area 0 bit 2

Command area 0 bit 3

User input

User input

User input

User input

User input

User input

User input

User input

User input

User input

User input

User input

24

25

26

27

38

39

40

41

34

35

36

37

42

43

44

45

28

29

30

31

32

33

White

White

White

White

Gray

Gray

Gray

Gray

Gray

Gray

Gray

Gray

White

White

White

White

Gray

Gray

Violet

Violet

Violet

Violet

NOTE 1: The optional I/O cable for the above connector consists of twisted pair wires--pairs of #1 and #26, #2 and #27,…#25 and #50.

NOTE 2: The terminal number marked with ( * ) is not used for “Dual emergency stop type”.

121

5.1.3 Connector Pin Assignment in Compatible Mode

(1) OUTPUT CN10: User-/System-output connector (compatible mode)

CN10 Pin Assignment, in compatible mode (NPN type)

View from the cable side

Terminal number

Name

Port number

Wire color

Terminal number

Name

Port number

Wire color

20

21

22

23

16

17

18

19

24

25

26

27

32

33

34

28

29

30

31

5

6

3

4

1 Normal CPU

2 Robot-in-operation

Robot failure

Auto mode

External mode

Program start reset

7

8

9

10

Not used.

Not used.

Robot power ON complete

Servo ON

11 CAL complete

12 Teaching

13

14

Single-cycle complete

Dead battery warning

Continue start permitted

Error units bit 0

Error units bit 1

Error units bit 2

Error units bit 3

Error tens bit 0

Error tens bit 1

Error tens bit 2

Error tens bit 3

Error hundreds bit 0

Error hundreds bit 1

Error hundreds bit 2

Error hundreds bit 3

SS mode

Not used.

Not used.

Not used.

User output

User output

72 Black 35 User output

74

75

76

77

Red

Orange

Yellow

Black

37

38

39

40

User output

User output

User output

User output

78

79

80

81

Brown

Red

Orange

Yellow

41

42

43

44

User output

User output

User output

User output

82 Green 45 User output

83 Blue 46 User

84

85

Violet

Gray

47

48

User output

User output

99

100

101

102

103

104

105

89

90

91

92

86 Pink 49 User

87

88

Black

Black

50

51

User output

User output

93

94

Brown

Red

Orange

Yellow

Green

Blue

52

53

54

55

56

57

User output

User output

User output

User output

User output

Not connected

95 Gray 58

96

97

98

Pink

Brown

Red

Orange

Yellow

Green

Blue

Pink

Black

Brown

*59

*60

*61

*62

*63

*64

65

66

*67

*68

Not connected

[ Power supply for Robot stop 1 (Internal +24V) ]

[ Robot stop 1 ]

[ Power supply for Robot stop 2 (Internal +24V) ]

[ Robot stop 2 ]

[ Emergency stop (+) ]

[ Emergency stop (-) ]

Emergency stop 2 (+)

Emergency stop 2 (-)

[ Deadman switch (+) ]

[ Deadman switch (-) ]

⎯ Violet

⎯ Gray

⎯ Gray

⎯ Gray

⎯ Gray

⎯ Gray

⎯ Gray

⎯ Gray

⎯ Blue

⎯ Blue

NOTE 1: The optional I/O cable for the above connector consists of twisted pair wires--pairs of #1 and #35, #2 and #36, #34 and #68.

NOTE 2: The terminal number marked with ( * ) is used only for “Dual emergency stop type”.

106 Pink

107 Pink

108

109

Pink

Pink

110

111

Pink

White

112

113

114

115

White

White

White

White

116 White

117 White

118

119

White

White

120 White

121 Gray

122

123

Violet

Violet

124

125

Violet

Violet

126 Violet

127 Violet

⎯ Violet

⎯ Violet

122

(2) INPUT CN8: User-/System-input connector (compatible mode)

CN8 Pin Assignment, in compatible mode (NPN type)

View from the cable side

Terminal number

*1

*2

3

Name

Robot stop

Power for Enable Auto (internal +24V)

5

10

11

12

13

8

9

6

7

Step-stop (all tasks)

Continue start

Instantaneous stop (all tasks)

Operation preparation start

Interrupt skip

Program start

Program No. select bit 0

Program No. select bit 1

Program No. select bit 2

14

15

16

17

Program No. select bit 3

Program No. select bit 4

Program No. select bit 5

Program No. select bit 6

18

19

Program No. select odd parity bit

Motor power ON

20 CAL execution

21 Reserved

22 SP100

23 Switch Ext Mode

Port number

Wire color

Terminal number

9

10

11

12

Red

Orange

Yellow

Green

13

14

Blue

Violet

15 White

16 Pink

17 Black

18 Brown

19 Red

20 Orange

7

8

5

6

3

4

1

2

- Brown

- Red

- Black

0 Brown

Red

Orange

Yellow

Green

Blue

Violet

Black

Brown

27

30

35

36

37

38

31

32

33

34

43

44

45

39

40

41

42

48

Name

User input

User input

User input

User input

User input

User input

User input

User input

User input

User input

User input

User input

User input

User input

User input

User input

User input

User input

Port number

Wire color

22 Pink

25

30

31

32

33

26

27

28

29

34

35

36

37

38

39

Gray

Gray

40 Gray

41 Gray

Gray

Gray

Gray

Gray

42 Violet

43 Violet

44 Violet

45 Violet

White

White

White

White

White

White

White

Gray

Gray

25 Clear robot failure 50 User input

NOTE 1: The optional I/O cable for the above connector consists of twisted pair wires--pairs of #1 and #26, #2 and #27,…#25 and #50.

NOTE 2: The terminal number marked with ( * ) is not used for “Dual emergency stop type”.

123

5.2 Robot Controller I/O Circuits (NPN type)

5.2.1 User-Input, System-Input and Hand-Input Circuits (NPN type)

The following two pages show examples of the user-input, system-input, and hand-input circuit configurations and connections of the robot controller.

The maximum allowable capacity of the robot controller's internal power source is 1.3

A. Use the internal power source within this range.

Caution Either an external power supply type or built-in power type

Output card is available for the PLC. However, an external power supply type requires an additional power source (24V) to be installed. The power capacity is 15W or more.

When controlling two or more robots with a single PLC using the internal power source of the Robot Controller, set a PLC

Output card for each robot.

Other than a PLC, a proximity switch, or a relay contact may be connected directly to the input terminal of the Robot Controller.

In such a case, use the power input to pins 6 to 9 of the I/O power connector. A two-wire photoelectric switch or proximity switch can be connected if its leakage current is 1 mA or less.

Use a multi-core shielding cable for the purpose of protecting the Robot Controller from noise. Ground it to the Robot

Controller.

124

(When the internal power source is used)

(When an external power source is used)

User-Input and System-Input Circuits (NPN type)

125

(When the internal power source is used)

(When an external power source is used)

Hand-Input Circuits (NPN type)

126

5.2.2 Robot Stop and Enable Auto Input Circuits

The Robot Stop and Enable Auto signals are important for safety. The input circuit for these signals must have contacts as shown below.

Use the INPUT CN8 (pins 1 and 3) of the robot controller for the power source, irrespective of whether the power source to be used for other I/O signals is the internal power source or an external power source.

(Note: For the “Dual emergency stop type”, refer to Subsection 5.2.4.2.)

Robot Stop and Enable Auto Input Circuits

TIP: For the configuration sample of an emergency stop output circuitry, refer to

Subsection 5.2.4 "Emergency Stop Circuit."

127

5.2.3 User-Output, System-Output, and Hand-Output Circuits (NPN type)

The following two pages show an example of the configuration and connection of the

Robot Controller's user-input output, system-output and hand-output circuit.

Since the initial resistance of a lamp is small, the output circuit may be damaged by rush current that flows when the lamp lights.

When directly turning ON and OFF a lamp, use a lamp whose rating is 0.5W or less.

To reduce rush current, select and connect a resistor R that allows dark current 1/3 or less of the rated current to flow when the lamp goes OFF.

An example of connecting a lamp is shown on page 121.

(1) The User-Output, System-Output and Hand-Output Circuit are open collector output circuits.

(2) The maximum allowable source current is 70 mA.

Keep the current consumption of a device to be connected to the Robot

Controller, such as a PLC and a relay coil, below the allowable current.

(3) Select an induction load, such as a relay coil, which has a built-in diode (for absorbing inverse electromotive force).

To use an induction load without a built-in diode, add a diode equivalent to

the 1S1888 (Toshiba) in close vicinity to the coil.

Caution: When externally attaching a diode, connect it with correct polarity. Incorrect polarity may damage the Output circuit.

(4) Connecting a lamp requires a circuit through which dark current flows.

Caution: Since the initial resistance of a lamp is small, the output circuit may be damaged by rush current that flows when the lamp lights.

Refer to page 121.

(5) When using the internal power source, prepare a PLC input circuit unit that does not contain a power source.

Caution: Keep the total current capacity of the internal power source below 1.3A.

(6) Use a multi-core shielding cable for the purpose of protecting the devices from external noise. Ground it to the robot controller.

(7) +24V internal power source of the robot controller must not be grounded.

Caution: If the output terminal +24V of internal power source is grounded, there may be a case where the controller is damaged.

128

(When the internal power source is used)

(When an external power source is used)

User-Output and System-Output Circuits (NPN type)

129

(When the internal power source is used)

(When an external power source is used)

Hand-Output Circuits (NPN type)

130

Lamp

Supplied from the I/O power connector when the internal power source is used

Transistor array

Controller

Example of Circuit with Lamp (NPN type)

131

5.2.4 Emergency Stop Circuit

The following figures show the examples of configuration and connection of emergency stop circuit for the robot controller.

The red mushroom-shaped switch provided on the robot controller front panel, on the teach pendant, or on the operating panel can be used as a switch for stopping the equipment in case of emergency.

5.2.4.1 Standard type

Robot controller

Internal 24V

F1

Fuse (1.3A)

CN7

Internal 0V

F9

Fuse (0.3A)

Fuse (1.3A)

F2

Emergency

Stop +

CN10

Emergency

Stop +

Internal

24V F8

Fuse (1.3A)

Output

CN8

Emergency stop switch on the front panel of the controller

Input

Emergency stop circuit

(prepared by customers)

Robot stop switch circuit

(prepared by customers)

CN5

Teach pendant

Emergency stop switch on teach pendant

Internal 0V

(When the internal power source is used)

Robot controller

F9

Fuse (0.3A)

Emergency

Stop +

CN10

Emergency stop circuit

(prepared by customers)

External 24V

Emergency

Stop -

Internal

24V F8

Fuse (1.3A)

Output

CN8

External 0V

Robot stop switch circuit

(prepared by customers)

Emergency stop switch on the front panel of the controller

Input

CN5

Teach pendant

Emergency stop switch on teach pendant

Internal 0V

(When an external power source is used)

Emergency Stop Circuit (Standard type)

132

5.2.4.2 Dual emergency stop type

Emergency Stop Circuit (“Dual emergency stop type”)

133

5.2.5 I/O Power Connector (NPN type)

For the power source to communicate signals between the robot controller and the external device, the internal power source of the robot controller or an external power source is used.

The figure below shows an example of connecting I/O power connectors when the internal power source is used, and the figure on the next page shows an example of connecting I/O power connectors when an external power source is used.

I/O Power Connection Sample (When the internal power source is used) (NPN type)

Caution: To use the internal power source of the robot controller, connect the wiring so that the internal power source will be separate from the external power source. Improper wiring may damage the internal circuit.

134

I/O Power Connection Sample (When an external power source is used) (NPN type)

Caution: Use a cable of 0.5 mm robot controller.

2 or more in size for the wiring between the external power source and the I/O power input connectors of the

135

5.3 Wiring Notes for Robot Controller I/O Connectors (NPN type)

After the wiring of the controller's I/O connectors is completed, check the following before turning ON the power:

Check point (1)

Using a circuit tester, check across the "+24V terminal" and "0V terminal" of each connector and across the "E24V terminal" and the "E0V terminal" to see that there is no continuity. See the figure below and the table given on the next page.

Caution: If the connector wiring between the Robot Controller's "+24V terminal" and "0V terminal" and between the "E24V terminal" and the "E0V terminal" is shorted, damage to the power circuit of the

Robot Controller will result.

Check point (2)

Using a tester, check across "each signal Output terminal" and "+24V terminal" or

"E24V terminal" of each connector to see that there is no continuity. See the figure below and the table given on the next page.

Caution: If the wiring between "each signal Output terminal" and "+24V terminal" or "E24V terminal" of each connector is shorted, damage to the Output circuit and power circuit of the Robot

Controller will result.

Caution: Wind adhesive vinyl tape around all ends of the unconnected wiring of each connector to prevent them from contacting other wiring and parts, which results in shorting.

Circuit tester

Robot controller

“+24V terminal” and

“E24V terminal” of the controller

External device

“0V terminal” and

“E0V terminal” of the controller

Checking Example

136

Connector for hand I/O

Connector Terminals and Check Points (NPN type)

Connector for user/system input

View from cable side engaging face

Terminal

Number

1 to 8

Hand output terminal

0V (GND) at output

(2)

17

Power terminal for hand (E24V)

24V power output

18

Power terminal for hand (E0V)

Power (GND) output

Connector for user/system output

(1)

(1)

View from cable side engaging face

Terminal

Number

1, 3

+24V internal power source terminal

+24V internal power source output

(1)

Connector for I/O power source

View from cable side engaging face

Terminal number

1 to 56

Signal output terminal

0V (GND) at output

(2)

View from cable side engaging face

Terminal number

1, 2

+24V internal power source terminal

+24V internal power source output

(1)

3, 4

0V internal power source terminal

0V internal power source output

(1)

6, 7

E24V input terminal

24V power input

(1)

8, 9

E0V (GND) input terminal

Power (GND) input

(1)

137

Chapter 6

Connector Pin Assignment and I/O Circuits

(PNP type)

This chapter explains the connector pin assignment and circuits of PNP type (sink input and source output) on an I/O board.

For an NPN type (source input and sink output), refer to Chapter 5, "Connector Pin

Assignment and I/O Circuits (NPN type)."

6.1 Connector Pin Assignment (PNP type)

This section describes the pin assignment of connectors on the robot controller. The signals and pin assignments of output connector CN10 and input connector CN8 are differently defined in standard mode and compatible mode. As for other connectors, the definitions of pins are common to standard mode and compatible mode.

6.1.1 Connector Pin Assignment Common to Both Modes (PNP type)

(1) HAND I/O CN9: Connector for end-effector I/O (common to both modes)

CN9 Pin Assignment, common to both modes (PNP type)

View from the cable side

Terminal

No.

Name

Port number

Wire color

Standard

High strength

Terminal

No.

Name

Wire color

Port number Standard High strength

8

9

10

6

7

4

5

1

2

3

Hand output

Hand output

Hand output

Hand output

Hand output

Hand output

Hand output

Hand output

Hand input

Hand input Not connected

White Brown

White Brown

White Brown

NOTE: The optional I/O cable for the above connector consists of twisted pair wires--pairs of #1 and #11, #2 and #12,…#10 and #20.

138

(2) I/O POWER CN7: Power connector for I/O (common to both modes)

CN7 Pin Assignment, common to both modes (PNP type)

View from the cable side

Terminal No. Name

1

2

3

4

5

6

7

8

9

Internal power source output +24V

Internal power source output +24V

Internal power source output 0V

Internal power source output 0V

FG

Power input E0V

Power input E0V

Power input E24V

Power input E24V

Caution: When using the internal power source, keep the total current capacity below 1.3 A. To use the internal power source of the robot controller, connect the wiring so that the internal power source will be separated from the external power source. Improper wiring may damage the internal circuit.

(3) RS232C CN1: RS232C connector

CN1 Pin Assignment

Terminal No.

1

2

Name

Terminal No.

Name

6 DSR

3

4 DTR 9 ⎯

5 SG

139

6.1.2 Connector Pin Assignment in Standard Mode

(1) OUTPUT CN10: User-/System-output connector (standard mode)

CN10 Pin Assignment, in standard mode (PNP type)

View from the cable side

Terminal number

1

2

Name

Normal CPU

Robot in operation

5

6

3

4

7

8

Robot failure

Servo ON

Robot initialization complete

Automatic mode

External mode

Dead battery warning

10

20

21

22

23

24

Continue start permitted

15

16

17

18

19

11 SS mode

12 Reserved

13 Reserved

14 Reserved

Command processing complete

Status area odd parity

Status area bit 0

Status area bit 1

Status area bit 2

Status area bit 3

Status area bit 4

Status area bit 5

Status area bit 6

Status area bit 7

25

26

27

32

33

34

28

29

30

31

Status area bit 8

Status area bit 9

Status area bit 10

Status area bit 11

Status area bit 12

Status area bit 13

Status area bit 14

Status area bit 15

User output

User output

Port number

72

73

Wire color

Black

Brown

Terminal number

35

36

Name

User output

User output

74

75

76

77

Red

Orange

Yellow

Black

78

79

Brown

Red

80 Orange

81 Yellow

37

38

39

40

41

42

User output

User output

User output

User output

User output

User output

44 User output

82 Green 45 User output

83 Blue 46 User

91

92

93

94

95

88

89

90

85 Gray 48 User

86

87

Pink

Black

49

50

User output

User output

Black

Brown

Red

51

52

53

User output

User output

User output

96

97

Orange

Yellow

Green

Blue

Gray

Pink

Brown

54

55

56

57

58

*59

*60

User output

User output

User output

Not used.

Not used.

[ Power supply for Robot stop 1 (Internal +24V) ]

[ Robot stop 1 ]

98

99

100

101

102

103

104

105

Red

Orange

Yellow

Green

Blue

Pink

Black

Brown

*61

*62

*63

*64

65

66

*67

*68

[ Power supply for Robot stop 2 (Internal +24V) ]

[ Robot stop 2 ]

[ Emergency stop (+) ]

[ Emergency stop (-) ]

Emergency stop 2 (+)

Emergency stop 2 (-)

[ Deadman switch (+) ]

[ Deadman switch (-) ]

Port number

106

107

Wire color

Pink

Pink

108

109

110

111

Pink

Pink

Pink

White

112

113

White

White

114 White

115 White

120

121

122

123

124

116 White

117 White

118 White

119 White

White

Gray

Violet

Violet

Violet

125

126

Violet

Violet

127 Violet

⎯ Violet

⎯ Violet

⎯ Violet

⎯ Gray

⎯ Gray

⎯ Gray

⎯ Gray

⎯ Gray

⎯ Gray

⎯ Gray

⎯ Blue

⎯ Blue

NOTE 1: The optional I/O cable for the above connector consists of twisted pair wires--pairs of #1 and #35, #2 and #36, #34 and #68.

NOTE 2: The terminal number marked with ( * ) is used only for “Dual emergency stop type”.

140

(2) INPUT CN8: User-/System-input connector (standard mode)

CN8 Pin Assignment, in standard mode (PNP type)

View from the cable side

Terminal number

Name

Port number

Wire color

Terminal number

Name

Port number

Wire color

*1

Power for robot stop

(internal +24V)

⎯ Black 26 Data area 2 bit 7 21 Pink

⎯ Brown 27 Data area 2 bit 8 22 Pink

3

Power for Enable Auto

(internal +24V)

⎯ Red 28 Data area 2 bit 9 23 Pink

22

23

24

25

18

19

20

21

5

6

7

8

9

Step-stop (all tasks)

Not used.

Instantaneous stop

(all tasks)

Strobe signal

Interrupt skip

14

15

16

17

10 Command and data odd parity

11 Data area 1 bit 0

12

13

Data area 1 bit 1

Data area 1 bit 2

Data area 1 bit 3

Data area 1 bit 4

Data area 1 bit 5

Data area 1 bit 6

Data area 1 bit 7

Data area 2 bit 0

Data area 2 bit 1

Data area 2 bit 2

Data area 2 bit 3

Data area 2 bit 4

Data area 2 bit 5

Data area 2 bit 6

2

3

4

9

10

11

12

7

8

5

6

17

18

19

20

13

14

15

16

0

1

Black

Brown

Red

Orange 32

33

34

39

40

41

42

35

36

37

38

47

48

49

50

43

44

45

46

Yellow

Green

Blue

Violet

Black

Brown

Red

Orange

Yellow

Green

Blue

Violet

White

Pink

Black

Brown

Red

Orange

29

30

31

Data area 2 bit 10

Data area 2 bit 11

Data area 2 bit 12

Data area 2 bit 13

Data area 2 bit 14

Data area 2 bit 15

Command area 0 bit 0

Command area 0 bit 1

Command area 0 bit 2

Command area 0 bit 3

User input

User input

User input

User input

User input

User input

User input

User input

User input

User input

User input

User input

24

25

26

27

White

White

White

White

NOTE 1: The optional I/O cable for the above connector consists of twisted pair wires--pairs of #1 and #26, #2 and #27,…#25 and #50.

NOTE 2: The terminal number marked with ( * ) is not used for “Dual emergency stop type”.

28

29

34

35

36

37

30

31

32

33

42

43

44

45

38

39

40

41

White

White

White

White

Gray

Gray

Gray

Gray

Gray

Gray

Gray

Gray

Gray

Gray

Violet

Violet

Violet

Violet

141

6.1.3 Connector Pin Assignment in Compatible Mode

(1) OUTPUT CN10: User-/System-output connector (compatible mode)

CN10 Pin Assignment, in compatible mode (PNP type)

View from the cable side

Terminal number

Name

Port number

Wire color

Terminal number

Name

Port number

Wire color

20

21

22

23

16

17

18

19

24

25

26

27

32

33

34

28

29

30

31

5

6

3

4

1 Normal CPU

2 Robot-in-operation

Robot failure

Auto mode

External mode

Program start reset

7

8

9

10

Not used.

Not used.

Robot power ON complete

Servo ON

11 CAL complete

12 Teaching

13

14

Single-cycle complete

Dead battery warning

Continue start permitted

Error units bit 0

Error units bit 1

Error units bit 2

Error units bit 3

Error tens bit 0

Error tens bit 1

Error tens bit 2

Error tens bit 3

Error hundreds bit 0

Error hundreds bit 1

Error hundreds bit 2

Error hundreds bit 3

SS mode

Not used.

Not used.

Not used.

User output

User output

72 Black 35 User output

74

75

76

77

Red

Orange

Yellow

Black

37

38

39

40

User output

User output

User output

User output

78

79

80

81

Brown

Red

Orange

Yellow

41

42

43

44

User output

User output

User output

User output

82 Green 45 User output

83 Blue 46 User

84

85

Violet

Gray

47

48

User output

User output

99

100

101

102

103

104

105

89

90

91

92

86 Pink 49 User

87

88

Black

Black

50

51

User output

User output

93

94

Brown

Red

Orange

Yellow

Green

Blue

52

53

54

55

56

57

User output

User output

User output

User output

User output

Not connected

95 Gray 58

96

97

98

Pink

Brown

Red

Orange

Yellow

Green

Blue

Pink

Black

Brown

*59

*60

*61

*62

*63

*64

65

66

*67

*68

Not connected

[ Power supply for Robot stop 1 (Internal +24V) ]

[ Robot stop 1 ]

[ Power supply for Robot stop 2 (Internal +24V) ]

[ Robot stop 2 ]

[ Emergency stop (+) ]

[ Emergency stop (-) ]

Emergency stop 2 (+)

Emergency stop 2 (-)

[ Deadman switch (+) ]

[ Deadman switch (-) ]

⎯ Violet

⎯ Gray

⎯ Gray

⎯ Gray

⎯ Gray

⎯ Gray

⎯ Gray

⎯ Gray

⎯ Blue

⎯ Blue

NOTE 1: The optional I/O cable for the above connector consists of twisted pair wires--pairs of #1 and #35, #2 and #36, #34 and #68.

NOTE 2: The terminal number marked with ( * ) is used only for “Dual emergency stop type”.

106 Pink

107 Pink

108

109

Pink

Pink

110

111

Pink

White

112

113

114

115

White

White

White

White

116 White

117 White

118

119

White

White

120 White

121 Gray

122

123

Violet

Violet

124

125

Violet

Violet

126 Violet

127 Violet

⎯ Violet

⎯ Violet

142

(2) INPUT CN8: User-/System-input connector (compatible mode)

CN8 Pin Assignment, in compatible mode (PNP type)

View from the cable side

Terminal number

Name

Port number

Wire color

Terminal number

Name

Port number

Wire color

*1

*2

3

Robot stop

Power for Enable Auto (internal +24V)

5

10

11

12

13

8

9

6

7

Step-stop (all tasks)

Continue start

Instantaneous stop (all tasks)

Operation preparation start

Interrupt skip

Program start

Program No. select bit 0

Program No. select bit 1

Program No. select bit 2

14

15

16

17

Program No. select bit 3

Program No. select bit 4

Program No. select bit 5

Program No. select bit 6

18

19

Program No. select odd parity bit

Motor power ON

20 CAL execution

21 Reserved

22 SP100

23 Switch Ext Mode

9

10

11

12

Red

Orange

Yellow

Green

13

14

Blue

Violet

15 White

16 Pink

17 Black

18 Brown

19 Red

20 Orange

7

8

5

6

3

4

1

2

- Brown

- Red

- Black

0 Brown

Red

Orange

Yellow

Green

Blue

Violet

Black

Brown

27

User input

User input

User input

User input

User input

User input

User input

User input

User input

User input

User input

User input

User input

User input

User input

User input

30

35

36

37

38

31

32

33

34

43

44

45

39

40

41

42

48

User input

User input

22 Pink

25

30

31

32

33

26

27

28

29

34

35

36

37

38

39

Gray

Gray

40 Gray

41 Gray

Gray

Gray

Gray

Gray

42 Violet

43 Violet

44 Violet

45 Violet

White

White

White

White

White

White

White

Gray

Gray

25 Clear robot failure 50 User input

NOTE 1: The optional I/O cable for the above connector consists of twisted pair wires--pairs of #1 and

#26, #2 and #27,…#25 and #50.

NOTE 2: The terminal number marked with ( * ) is not used for “Dual emergency stop type”.

143

6.2 Robot Controller I/O Circuits (PNP type)

6.2.1 User-Input, System-Input and Hand-Input Circuits (PNP type)

The following two pages show examples of the user-input, system-input and hand-input circuit configurations and connections of the robot controller.

The maximum allowable capacity of the robot controller's internal power source is 1.3

A. Use the internal power source within this allowable range.

Caution Either an external power supply type or built-in power type Output card is available for the PLC. However, an external power supply type requires an additional power source (24V) to be installed. The power capacity is 15W or more.

When controlling two or more robots with a single PLC using the internal power source of the robot controller, set a PLC Output card for each robot.

Other than a PLC, a proximity switch, or a relay contact may be connected directly to the input terminal of the Robot Controller. In such a case, use the power input to pins 6 to 9 of the I/O power connector. A two-wire photoelectric switch or proximity switch can be connected if its leakage current is 1 mA or less.

Use a multi-core shielding cable for the purpose of protecting the robot controller from noise. Ground it to the robot controller.

144

(When the internal power source is used)

(When an external power source is used)

User-Input and System-Input Circuits (PNP type)

145

(When the internal power source is used)

(When an external power source is used)

Hand-Input Circuits (PNP type)

146

6.2.2 Robot Stop and Enable Auto Input Circuits

The Robot Stop and Enable Auto signals are important for safety. The input circuit for these signals must have contacts as shown below.

Use the INPUT CN8 (pins 1 and 3) of the robot controller for the power source, irrespective of whether the power source to be used for other I/O signals is the internal power source or an external power source.

(Note: For the “Dual emergency stop type”, refer to Subsection 6.2.4.2.)

Robot Stop and Enable Auto Input Circuits

TIP: The configuration sample of an emergency stop output circuitry is shown in

Subsection 6.2.4 "Emergency Stop Circuit."

147

6.2.3 User-Output, System-Output, and Hand-Output Circuits (PNP type)

The following two pages show an example of the configuration and connection of the

Robot Controller's user-input output, system-output and hand-output circuit.

Since the initial resistance of a lamp is small, the output circuit may be damaged by rush current that flows when the lamp lights.

When directly turning a lamp ON or OFF, use a lamp whose rating is 0.5W or less.

To reduce rush current, connect a resistor R that allows dark current 1/3 or less of the rated current to flow when the lamp goes OFF.

An example of connecting a lamp is shown on page 140.

(1) The User-Output, System-Output and Hand-Output Circuit are open collector output circuits.

(2) The maximum allowable sink current is 70 mA.

Keep the current consumption of a device to be connected to the Robot

Controller, such as a PLC and a relay coil, below the allowable current.

(3) Select an induction load, such as a relay coil, which has a built-in diode (for absorbing inverse electromotive force).

To use an induction load without a built-in diode, add a diode equivalent to the 1S1888 (Toshiba) in close vicinity to the coil.

Caution: When externally attaching a diode, connect it with correct polarity. Incorrect polarity may damage the Output circuit.

(4) Connecting a lamp requires a circuit through which dark current flows.

Caution: Since the initial resistance of a lamp is small, the output circuit may be damaged by rush current that flows when the lamp lights.

Refer to page 140.

(5) When using the internal power source, prepare a PLC input circuit unit that does not contain a power source.

Caution: Keep the total current capacity of the internal power source below 1.3A.

(6) Use a multi-core shielding cable for the purpose of protecting the devices from external noise. Ground it to the robot controller.

(7) 24V internal power source of the robot controller must not be grounded.

Caution: If the output terminal +24V of internal power source is grounded, there may be a case where the controller is damaged.

148

(When the internal power source is used)

(When an external power source is used)

User-Output and System-Output Circuits (PNP type)

149

(When the internal power source is used)

(When an external power source is used)

Hand-Output Circuits (PNP type)

150

Supplied from the II/O power connector when the internal power source is used

Lamp

Transistor array

Controller

Example of Circuit with Lamp (PNP type)

151

6.2.4 Emergency Stop Circuit

The following figures show the examples of configuration and connection of emergency stop circuit for the robot controller.

The red mushroom-shaped switch provided on the robot controller front panel, on the teach pendant, or on the operating panel can be used as a switch for stopping the equipment in case of emergency.

6.2.4.1 Standard type

Robot controller

Internal 24V

F1

Fuse (1.3A)

CN7

Internal 0V

F9

Fuse (0.3A)

Fuse (1.3A)

F2

Emergency

Stop +

CN10

Emergency

Stop +

Internal

24V F8

Fuse (1.3A)

Output

CN8

Emergency stop switch on the front panel of the controller

Input

Emergency stop circuit

(prepared by customers)

Robot stop switch circuit

(prepared by customers)

CN5

Teach pendant

Emergency stop switch on teach pendant

Internal 0V

(When the internal power source is used)

Robot controller

F9

Fuse (0.3A)

Emergency

Stop +

CN10

Emergency stop circuit

(prepared by customers)

External 24V

Emergency

Stop -

Internal

24V F8

Fuse (1.3A)

Output

CN8

External 0V

Robot stop switch circuit

(prepared by customers)

Emergency stop switch on the front panel of the controller

Input

CN5

Teach pendant

Emergency stop switch on teach pendant

Internal 0V

(When an external power source is used)

Emergency Stop Circuit (Standard type)

152

6.2.4.2 Dual emergency stop type

Emergency Stop Circuit (“Dual emergency stop type”)

153

6.2.5 I/O Power Connector (PNP type)

For the power source to communicate signals between the robot controller and the external device, the internal power source of the robot controller or an external power source is used.

The figure below shows an example of connecting I/O power connectors when the internal power source is used, and the figure on the next page shows an example of connecting I/O power connectors when an external power source is used.

I/O Power Connection Sample (When the internal power source is used) (PNP type)

Caution: To use the internal power source of the robot controller, connect the wiring so that the internal power source will be separate from the external power source. Improper wiring may damage the internal circuit.

The +24V internal power source of the robot controller must not be grounded.

154

I/O Power Connection Sample (When an external power source is used) (PNP type)

Caution: Use a cable of 0.5 mm controller.

2 or more in size for the wiring between the external power source and the I/O power input connectors of the robot

155

6.3 Wiring Notes for Robot Controller I/O Connectors (PNP type)

After the wiring of the controller's I/O connectors is completed, check the following before turning ON the power:

Check point (1)

Using a circuit tester, check across the "+24V terminal" and "0V terminal" of each connector and across the "E24V terminal" and the "E0V terminal" to see that there is no continuity. See the figure below and the table given on the next page.

Caution: If the connector wiring between the robot controller's "+24V terminal" and "0V terminal" and between the "E24V terminal" and the "E0V terminal" is shorted, damage to the power circuit of the

Robot Controller will result.

Check point (2)

Using a circuit tester, check across "each signal Output terminal" and "+24V terminal" or "E24V terminal" of each connector to see that there is no continuity. See the figure below and the table given on the next page.

Caution: If the wiring between "each signal Output terminal" and "+24V terminal" or "E24V terminal" of each connector is shorted, damage to the Output circuit and power circuit of the robot controller will result.

Caution: Wind adhesive vinyl tape around all ends of the unconnected wiring of each connector to prevent them from contacting other wiring and parts, which results in shorting.

Circuit tester

Robot controller

“+24V terminal” and

“E24V terminal” of the controller

External device

“0V terminal” and

“E0V terminal” of the controller

Checking Example

156

Connector for hand I/O

Connector Terminals and Check Points (PNP type)

Connector for user/system input

View from cable side engaging face

Terminal

Number

1 to 8

Hand output terminal

24V at output (2)

17

Power terminal for hand (E0V)

Power (GND) output

18

Power terminal for hand (E24V)

24V power output

Connector for user/system output

(1)

(1)

View from cable side engaging face

Terminal

Number

1, 3

+24V internal power source terminal

+24V internal power source output

(1)

Connector for I/O power source

View from cable side engaging face

Terminal number

1 to 56

Signal output terminal

24V at output

(2)

View from cable side engaging face

Terminal number

1, 2

+24V internal power source terminal

+24V internal power source output

(1)

3, 4

0V internal power source terminal

0V internal power source output

(1)

6, 7

E0V (GND) input terminal

Power (GND) input

(1)

8, 9

E24V input terminal

24V power input

(1)

157

Chapter 7 I/O Wiring

7.1 Multi-core Cables with Connectors

Multi-core cables with connectors to be used for the I/O wiring of the Robot Controller are options. Select an appropriate cable from the table given below if necessary.

I/O Cables (Optional items)

Classification No.

I/O Cable

I/O Cable

1 I/O Cable Set

Name

(8m) (3-cable set of Nos. 1-1 to 1-3)

(8m)

(8m)

(8m) 1-3 Hand I/O Cable

2

I/O Cable Set

(hand I/O cable: high strength type)

(8m) (3-cable set of Nos. 2-1 to 2-3)

(8m)

(8m)

2-3 Hand I/O Cable (high strength type) (8m)

3 I/O Cable Set (15m) (3-cable set of Nos. 3-1 to 3-3)

(15m)

(15m)

(15m) 3-3 Hand I/O Cable

4

I/O Cable Set

(hand I/O cable: high strength type)

(15m) (3-cable set of Nos. 4-1 to 4-3)

(15m)

(15m)

4-3 Hand I/O Cable (high strength type) (15m)

410149-0330

410141-1630

410141-1650

410141-1740

410149-0350

410141-1630

410141-1650

410141-1670

410149-0340

410141-1640

410141-1660

410141-1750

410149-0360

410141-1640

410141-1660

410141-1680

158

If you do not use optional cables listed on the previous page, use the recommended connectors and cables listed below.

Recommended Connectors for I/O Cables and Cable Standards

Connector name

OUTPUT

HAND I/O

INPUT

I/O

POWER

Connector model/manufacturer

PCR-E68FS connector

PCS-E68LA cover

Honda Communications

Industry Co., Ltd.

PCR-E20FS connector

PCS-E20LA cover

Honda Communications

Industry Co., Ltd.

PCR-E50FS connector

PCS-E50LA cover

Honda Communications

Industry Co., Ltd.

DE-9P connector

DE-C4-J6 cover

Japan Aviation

Electronics Industry, Ltd.

Cable Standards

UL2789 - With shield

Equivalent to AWG28-68P

UL2789 - With shield

Equivalent to AWG28-20P

UL2789 - With shield

Equivalent to AWG28-50P

UL2405 - With shield

Equivalent to AWG20-2P

Crimp terminal

Remarks

Caution: Be sure to modify the shielding wire at the end of the cable to be used, as shown below. Without this modification, the robot may malfunction due to noise.

Vinyl tube

Shielding wire

The connector shell should be made of conductive metal.

I/O cable

Braided shielding wire

Fasten to the connector

I/O power connector

Modifying the Shielding Wire (Example)

Vinyl tube

159

7.2 Wiring of Primary Power Source

Observe the following precautions when wiring the primary power source of the robot controller:

(1) Connect the robot power cable to a power source separate from the welder power source.

(2) Ground the grounding wire (green) of the robot power cable.

(3) Ground the grounding terminal of the robot controller using a wire of 1.25 mm 2 more in size.

or

(4) For the robot power supply, use a grounding wire with grounding resistance of 100

Ω or less.

(5) If the supply power source for the robot controller requires a leakage breaker, use a high frequency-proof leakage breaker for inverters.

(6) Prepare wires of an appropriate capacity for the 200 VAC main line and other cables according to the tables given below.

Item

Robot Controller Power Supply Specifications

Specifications

Pin assignment on power connector (CN11)

(View from the pin face of cable)

3-phase power supply

(RC5 all models)

3-phase, 200 VAC -15% to

230 VAC + 10%, 50/60 Hz

A: 200 VAC, phase R

B: 200 VAC, phase S

C: 200 VAC, phase T

D: Ground

Single-phase power supply

(RC5 for VS-D/-E, H ∗-/-D,

XYC-D)

Singe-phase, 230 VAC -10% to 230 VAC + 10%, 50/60 Hz

A: 230 VAC, phase R

B: 230 VAC, phase S

C: Not used.

D: Ground Single-phase power supply

(RC5 for VC-E)

Max. rush current when the power is turned ON

Power consumption of robot

Singe-phase, 200 VAC -10% to 230 VAC + 10%, 50/60 Hz

50 A (for 1/50 or 1/60 second)

3.3 kVA (VM-D/HM-E)

2.5 kVA (HM-E)

2.0 kVA (H ∗-D)

1.9 kVA (VS-E)

1.8 kVA (HS-E)

1.5 kVA (VS-D, XYC-D)

0.6 kVA (VC-E)

Caution: If ERROR6102 (power voltage drop) occurs when the robot is in operation, then it may be due to an insufficient capacity of the primary power source.

(7) Do not bundle the teach pendant cables, I/O cables or motor cables together with high power lines such as 200 VAC lines and peripheral device cables, or route the motor cables near high power devices (motor, welder, parts feeder, etc.).

(8) Do not route any additional cables or air tubes of end-effectors through the robot unit. Doing so will result in broken cables or tubes.

(9) Do not stress on the power connector or the power cable by pulling or bending.

160

RC5 CONTROLLER

INTERFACE MANUAL

First Edition February 2002

Third Edition September 2002

Fourth Edition January 2006

DENSO WAVE INCORPORATED

1H40C

The purpose of this manual is to provide accurate information in the handling and operating of the robot. Please feel free to send your comments regarding any errors or omissions you may have found, or any suggestions you may have for generally improving the manual.

In no event will DENSO WAVE INCORPORATED be liable for any direct or indirect damages resulting from the application of the information in this manual.

advertisement

Was this manual useful for you? Yes No
Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Related manuals

advertisement

Table of contents