training textbook rev.0

Upload: kitipong-dawongsa

Post on 04-Apr-2018

221 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/30/2019 Training Textbook Rev.0

    1/75

    Training Textbook

    RC620 , RC180

    EPSON RC+ 6.0 , 5.0Rev.0

  • 7/30/2019 Training Textbook Rev.0

    2/75

    Safety WARNING , CAUTION

  • 7/30/2019 Training Textbook Rev.0

    3/75

    Robot Coordinate Systems

  • 7/30/2019 Training Textbook Rev.0

    4/75

    Robot Coordinate Systems

  • 7/30/2019 Training Textbook Rev.0

    5/75

    Robot Arm Orientations

    SCARA

  • 7/30/2019 Training Textbook Rev.0

    6/75

    Robot Arm Orientations

    6-Axis

  • 7/30/2019 Training Textbook Rev.0

    7/75

    Hardware Overview(RC620)* System Configuration

  • 7/30/2019 Training Textbook Rev.0

    8/75

    RC620(PC Base Controller)

    Front

    Back

  • 7/30/2019 Training Textbook Rev.0

    9/75

    Hardware Overview(RC180)* System Configuration

  • 7/30/2019 Training Textbook Rev.0

    10/75

  • 7/30/2019 Training Textbook Rev.0

    11/75

    Seven-Segment Massage

    Particular Status Display

  • 7/30/2019 Training Textbook Rev.0

    12/75

    Cable Connection

  • 7/30/2019 Training Textbook Rev.0

    13/75

    Starting EPSON RC+ 6.0

    System Power Up

    Starting RC+

  • 7/30/2019 Training Textbook Rev.0

    14/75

    EPSON RC+ 6.0 Overview

    Emergency Stop StatusError StatusWarning Status.etc

    Online Help

    ~ 22 P

  • 7/30/2019 Training Textbook Rev.0

    15/75

    Writing your first program

    Step-1 : Create a new project

    Step-2 : Edit the programStep-3 : Run the program

    a. Press F5 to run the program

    b. Run by run window

  • 7/30/2019 Training Textbook Rev.0

    16/75

    RC+ 6.0 Robot ManagerControl Panel

  • 7/30/2019 Training Textbook Rev.0

    17/75

    RC+ 6.0 Robot ManagerJog & Teach

  • 7/30/2019 Training Textbook Rev.0

    18/75

    RC+ 6.0 Robot ManagerSpeed & Accel

    * Continuous joint speed and acceleration depends on robot model.

  • 7/30/2019 Training Textbook Rev.0

    19/75

    RC+ 6.0 Robot ManagerEditing Points

    Click here to select a line.

    ~34P

  • 7/30/2019 Training Textbook Rev.0

    20/75

    Controller Status Storage

    What is Controller Status Storage Function ?

  • 7/30/2019 Training Textbook Rev.0

    21/75

    Controller Status StorageController Status Storage With Trigger Button

  • 7/30/2019 Training Textbook Rev.0

    22/75

    Controller Status StorageController Status Storage & Load Data & View Status with EPSON

    RC+ 6.0

    EpsonRC620/Status/S_serial number_date timeEx :EpsonRC620/Status/S_12345_201006181230

  • 7/30/2019 Training Textbook Rev.0

    23/75

    Controller Status StorageTransfer with E-mail

    ~90P

  • 7/30/2019 Training Textbook Rev.0

    24/75

    How to Jog & Teach

    Practice ( Direct Teach etc )

  • 7/30/2019 Training Textbook Rev.0

    25/75

    The SPEL+ Language

  • 7/30/2019 Training Textbook Rev.0

    26/75

    The SPEL+ Language

    Overview

    - SPEL+ is a BASIC-like programming language.

    - It supports multitasking, motion control, I/O control.

    Program Structure- Every program file has a .PRG extension.

    - Function ,Fend

    - 200 characters for one line including the line No.

    - Must be one function celled main

    Function main

    Fend

  • 7/30/2019 Training Textbook Rev.0

    27/75

    The SPEL+ Language

    Function Name

    Multi-Statements & CommentFunction Test

    Jump P1 ; Go P2 ; Go P3 Multi - StatementFend

    Notice

  • 7/30/2019 Training Textbook Rev.0

    28/75

    The SPEL+ LanguageOperators Numeral System

    &B &H

  • 7/30/2019 Training Textbook Rev.0

    29/75

    The SPEL+ Language

    Variables

    Data Type

  • 7/30/2019 Training Textbook Rev.0

    30/75

    The SPEL+ Language

    Variable scopes

    project

    main.prg

    Global Integer g_i

    Function mainInteger i

    Fend

    Integer m_j

    Function testFend

    Sub.prg

    Sub1.prg

    LocalModuleGlobal

    Global Preserve Integer g_i

    Preserved variables are storedIn the controllers SRAM.

  • 7/30/2019 Training Textbook Rev.0

    31/75

    Motion Command The SPEL+ LanguageMotion Command

  • 7/30/2019 Training Textbook Rev.0

    32/75

    Motion Command The SPEL+ Language

    PTP motion command

  • 7/30/2019 Training Textbook Rev.0

    33/75

    Motion Command The SPEL+ LanguageModifier for Jump command 1/2

    - If you want to change the a and b value corresponding to C0 to C6,use Arch command.

    -You can also select menu|Tools|Robot Manager|Arch panel to change the values.Example

    Arch 0, 10, 60 Arch ( 0~6 ), ? mm, ?mm

  • 7/30/2019 Training Textbook Rev.0

    34/75

    Motion Command The SPEL+ LanguageModifier for Jump command 2/2

    LimZ

    FunctionDetermines the default value of the Z joint height for Jump commands.

    Syntax Example1. LimZ zLinit 1. LimZ -10

    Jump P1Jump destination

    2. Jump destinationLimZ zLimit 2. Jump P1 LimZ -10

    ( -10 )

  • 7/30/2019 Training Textbook Rev.0

    35/75

    Motion Command The SPEL+ Language

    CP motion command 1/2

  • 7/30/2019 Training Textbook Rev.0

    36/75

    Motion Command The SPEL+ Language

    CP motion command 2/2

  • 7/30/2019 Training Textbook Rev.0

    37/75

    Motion Command The SPEL+ Language

    Command for 6-axis robot ( PTP + CP )

  • 7/30/2019 Training Textbook Rev.0

    38/75

    Motion Command The SPEL+ Language

    Go & Move command

    - Go Each joint interpolates the current point and the target coordinate.

    The trajectory is uncertain. Be careful that the robot doesnt collide

    with peripheral equipment

    - Move Move moves the arm from the current position to destination in a

    Straight line.

    Move coordinates all axes to start and stop at the same time.

    P1 P2

    Move

    Go

  • 7/30/2019 Training Textbook Rev.0

    39/75

    Motion Command The SPEL+ Language

    Speed Specification Commands

  • 7/30/2019 Training Textbook Rev.0

    40/75

    Motion Command The SPEL+ Language

    Speed Specification for PTP motion Command 1/3

    S

    a b

    Speed

  • 7/30/2019 Training Textbook Rev.0

    41/75

    Motion Command The SPEL+ Language

    Speed Specification for PTP motion Command 2/3

    a bJump

    c

    d e

    f

  • 7/30/2019 Training Textbook Rev.0

    42/75

    Motion Command The SPEL+ Language

    Speed Specification for PTP motion Command 3/3

  • 7/30/2019 Training Textbook Rev.0

    43/75

    Motion Command The SPEL+ Language

    Speed Specification for CP motion Command 1/2

  • 7/30/2019 Training Textbook Rev.0

    44/75

    Motion Command The SPEL+ Language

    Speed Specification for CP motion Command 2/2

    *Units = mm/sec^2

  • 7/30/2019 Training Textbook Rev.0

    45/75

    Motion Command The SPEL+ Language

    Power Speed TorqueLow 1~5% LowHigh 1~100% High

    ~48P

  • 7/30/2019 Training Textbook Rev.0

    46/75

    Motion Command The SPEL+ LanguageCommand Window

  • 7/30/2019 Training Textbook Rev.0

    47/75

    I/O The SPEL+ Language

    Input/Output Control ( ex.RC180)

    PS : Expansion I/O card : Input 32 , output 32 / pcs Max 4 pcs.

  • 7/30/2019 Training Textbook Rev.0

    48/75

    I/O The SPEL+ Language

    Input/Output Control

    Example :On 1, 0.5, 0Jump P2

    Example :

    On 1, 0.5, 1Jump P2

    off

    on0.5s

  • 7/30/2019 Training Textbook Rev.0

    49/75

    I/O The SPEL+ Language

    Input/Output Control

    Example :Off 1, 0.5, 0Jump P2

    Example :

    Off 1, 0.5, 1Jump P2

    off

    on

    0.5s

  • 7/30/2019 Training Textbook Rev.0

    50/75

    I/O The SPEL+ LanguageInput/Output Control

  • 7/30/2019 Training Textbook Rev.0

    51/75

    I/O The SPEL+ LanguageInput Statement

  • 7/30/2019 Training Textbook Rev.0

    52/75

    I/O The SPEL+ LanguageInput Statement

  • 7/30/2019 Training Textbook Rev.0

    53/75

    I/O The SPEL+ LanguageWait Statement

  • 7/30/2019 Training Textbook Rev.0

    54/75

    I/O Label Editor The SPEL+ LanguageI/O Label Editor

  • 7/30/2019 Training Textbook Rev.0

    55/75

    I/O Monitor The SPEL+ LanguageI/O Monitor

    ~55P

  • 7/30/2019 Training Textbook Rev.0

    56/75

    Program Control Statements The SPEL+ Language

  • 7/30/2019 Training Textbook Rev.0

    57/75

    Program Control Statements The SPEL+ Language

    * For NextExample:

    Fori = 1 To 5Jump p( i )

    Next

    * IfThenElseExample:

    IfSw(0) = onThem

    On 0

    Else

    Off 0EndIf

    * CallExample :

    Function main

    Call subJump P0Jump P1

    Fend

    Function submotor onPower HighSpeed 100

    Accel 100, 100Fend

    - Exercise - 57P,59P,61P

  • 7/30/2019 Training Textbook Rev.0

    58/75

    Program Control Statements The SPEL+ Language

    * DoLoopExample:

    DoUntil Sw(0) = on

    Jump P0

    Loop

    * Print , InputExample:

    Function InputNumber

    Integer a

    Print Please enter number

    Inputa

    Print a = , a Fend

    * Print# , Input# , Cls ( 64P , 65P )- Print , input , clean the data to specified communications port or device.

    Device ID 21 RC+23 OP24 TP

    TCP/IP RS232~65P

  • 7/30/2019 Training Textbook Rev.0

    59/75

    Pallet The SPEL+ Language

    Pallet Definition

  • 7/30/2019 Training Textbook Rev.0

    60/75

    Pallet The SPEL+ LanguageSpecifying Positions in the Pallet

    Exercise Pallet ( 67P )

  • 7/30/2019 Training Textbook Rev.0

    61/75

    Parallel Process The SPEL+ Language

    -Go-Move-Arch

  • 7/30/2019 Training Textbook Rev.0

    62/75

    Multi-tasking The SPEL+ Language

    ~70P

    - RC180 16 tasks

    - RC620 32 tasks

  • 7/30/2019 Training Textbook Rev.0

    63/75

    Multi-tasking The SPEL+ LanguagePausing and Continuing Tasks

    Exercise: Multi-tasking( 72,73P)

  • 7/30/2019 Training Textbook Rev.0

    64/75

    Multi-tasking The SPEL+ LanguageTask Manager

  • 7/30/2019 Training Textbook Rev.0

    65/75

    Multi-tasking The SPEL+ LanguageMemory I/O

    Exercise: memo I/O 76P

  • 7/30/2019 Training Textbook Rev.0

    66/75

    Project Control

    Refer to page 77~79.

  • 7/30/2019 Training Textbook Rev.0

    67/75

    Remote Control

  • 7/30/2019 Training Textbook Rev.0

    68/75

    Remote ControlAuto Cycle Remote Control

    Teach Mode with Remote Control

  • 7/30/2019 Training Textbook Rev.0

    69/75

    Remote ControlDebugging Remote Control

  • 7/30/2019 Training Textbook Rev.0

    70/75

    Remote ControlSelecting Programs

  • 7/30/2019 Training Textbook Rev.0

    71/75

    Remote ControlRemote Inputs 1/2

  • 7/30/2019 Training Textbook Rev.0

    72/75

    Remote ControlRemote Outputs

  • 7/30/2019 Training Textbook Rev.0

    73/75

    Remote ControlRemote Control Software Configuration

  • 7/30/2019 Training Textbook Rev.0

    74/75

    Maintenance

  • 7/30/2019 Training Textbook Rev.0

    75/75

    Greasing

    Robot Type Axis Greasing Part Grease Type Greasing IntervalJ1,2,3,4 Reduction Gear Units SK1-A Replacement of motor : 15,000~20,000h

    J6 Bevel Gear SK2 Once a year or every 8,000 h

    First Time : after 50km operation : 30 day2nd or more : after 100km operation : 90 day

    J1,2 Reduction Gear Units SK1-A Replacement of motor : 15,000~20,000h

    C3

    G-SeriesJ3 Ball Screw Spline Shaft AFB

    Greasing