programming epson robots_part1

Upload: jairo-vargas-caleno

Post on 02-Apr-2018

223 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/27/2019 Programming Epson Robots_Part1

    1/32

    Programming Epson Robots

    ME 4135 Fall 2011

    Dr. R. Lindeke

  • 7/27/2019 Programming Epson Robots_Part1

    2/32

    Operating Ideas for EpsonEnvironment

  • 7/27/2019 Programming Epson Robots_Part1

    3/32

    Overview

    Safety and Movement

    Developing A First Program

    Some Cool Tools

    Pallets

    SubRoutines

    Etc.

    Proofing w/ the Simulator

    Running the Robots

  • 7/27/2019 Programming Epson Robots_Part1

    4/32

    Safety And MovementCommands

    For Robots to be operated safely theoperator must clear the workspace

    Each defined location must bemoved to at slow speeds beforeinserting into programs

    Programs must be proofed step bystep at reduced speed

  • 7/27/2019 Programming Epson Robots_Part1

    5/32

    Safety And MovementCommands

    Motion is Either:

    Point to Point where the robot travels

    from a pose to a pose and then stopsbefore executing its next move

    CP (continuous path) where the robottravels thru an intermediate as itdoesnt execute a completedeceleration to a stop before heading toa new point

  • 7/27/2019 Programming Epson Robots_Part1

    6/32

    Safety And MovementCommands

    Operator sets both Speed andAcceleration levels

    In interpolated movements theyfollow SPEEDS and ACCELS rates

    MOVE, BMove or ARC

    For other motions they follow SPEEDand ACCEL rates

    GO, JUMP or BGo

  • 7/27/2019 Programming Epson Robots_Part1

    7/32

    Safety And MovementCommands

    PTP:

    CP:

  • 7/27/2019 Programming Epson Robots_Part1

    8/32

    Safety And MovementCommands

    The Epson RC 5.0 languagesupports the following motion

    commands: GO: (pnt-to-pnt or CP) joint motion

    from current pose to defined target

    pose MOVE: (pnt-to-pnt or CP) linear

    interpolated motion from current Poseto a defined target pose

  • 7/27/2019 Programming Epson Robots_Part1

    9/32

    Safety And MovementCommands

    Epson also includes Relative motioncommands:

    BGo XY(0,0,15,0,0,0) which moves TCP relativein base system by 15 units in Z0 direction;TGo(0,0,15,0,0,0) is relative move in current toolframe

    BMove XY(0,30,15,0,0,0) moves TCP linearly inBase Frame 30 (Y0) by 15 (Z0) units; TMoveXY(0,30,15,0,0,0) moves TCP linearly in toolFrame

  • 7/27/2019 Programming Epson Robots_Part1

    10/32

    Safety and MotionCommands

    Motion along a Spline Path(previously defined in a CURVE

    statement) can be executed usingthe CVMove motion command

  • 7/27/2019 Programming Epson Robots_Part1

    11/32

    Safety And MovementCommands

    It is always best to approach objects withoutslewing and at controlled rates

    To accomplish this, Epson has included Jump (SCARA)

    Jump3 (6 Axis Art Arm)

    These commands are combinational motions that can

    be executed either PTP or CP They use ARCH table from how high to Jump during

    the motion

  • 7/27/2019 Programming Epson Robots_Part1

    12/32

    Using A connection, and the Robot Manager tools we can access and setthe values of the ARCH setting for use with the Jump and Jump3 Jump3CD

    commands

  • 7/27/2019 Programming Epson Robots_Part1

    13/32

    Safety And MovementCommands

    It is seen that the motion is in 3 parts:

    movement away from the current position to a clear planedepart is set in ARCH table

    movement toward the target position drop to the target position from the clear plane approach

    motion also in ARCH table

  • 7/27/2019 Programming Epson Robots_Part1

    14/32

    Safety And MovementCommands

    ARC and ARC3 are circularinterpolated motion from the current

    position They require a midpoint and end

    point to be specified

    They can operate PTP or CP

  • 7/27/2019 Programming Epson Robots_Part1

    15/32

    Safety And MovementCommands

  • 7/27/2019 Programming Epson Robots_Part1

    16/32

    Safety And MovementCommands

    Examining Syntax Go:

  • 7/27/2019 Programming Epson Robots_Part1

    17/32

    Safety and MovementCommands

    Examining Syntax for Move:

  • 7/27/2019 Programming Epson Robots_Part1

    18/32

    Safety and MovementCommands

    Examining Syntax forBGo or TGo:

  • 7/27/2019 Programming Epson Robots_Part1

    19/32

    Safety and MotionCommands

    Examining Syntax for BMove orTMove:

  • 7/27/2019 Programming Epson Robots_Part1

    20/32

    Safety and MotionCommands

    Examining Syntax for JUMP and JUMP3

  • 7/27/2019 Programming Epson Robots_Part1

    21/32

    Safety and MotionCommands

  • 7/27/2019 Programming Epson Robots_Part1

    22/32

    Safety and MotionCommands

    Examining Syntax for ARC and ARC3

  • 7/27/2019 Programming Epson Robots_Part1

    23/32

    Motion Commonalities

    All require some formof geometry as a target

    In common use, theseare defined as storedpoint targets either as

    P#s or point labels.

  • 7/27/2019 Programming Epson Robots_Part1

    24/32

    Defining Points:

    If known apriori (though IKSing

    Robot Maps) They can be directlyentered into the robot point tables

  • 7/27/2019 Programming Epson Robots_Part1

    25/32

  • 7/27/2019 Programming Epson Robots_Part1

    26/32

    Defining Points

    Points can also be defined using theTeach and Jog Mode in the Teach

    Pendent

  • 7/27/2019 Programming Epson Robots_Part1

    27/32

  • 7/27/2019 Programming Epson Robots_Part1

    28/32

    As seen earlier when connected we can use the Robot Manager tool to jog therobot about and define point geometry as well. If points are already defined, thejog & teach tab of manager also allow the user to drive the robot among and

    around points using the various motion types

  • 7/27/2019 Programming Epson Robots_Part1

    29/32

    Defining a New Project

    Epson RC 5.0+ uses projects tobundle the various parts of a robot

    executable program together. It couples Points with Programs and

    simulations or Vision Tools

    It includes all of the various main andsub-routines needed to completetasks

  • 7/27/2019 Programming Epson Robots_Part1

    30/32

    Simply click Project Tab select new and then give project a name and filelocation. After saving the project a build window (as seen here) is generated

  • 7/27/2019 Programming Epson Robots_Part1

    31/32

    Once it is initialized it contains all ofthe standard files and a main function

    for our use

    From here it is mandatory that we dosome planning (flow charting) of thedesired activity; develop a map of theexpected solution identifying relevantpoints; and finally an I/O map for use

    with the solution.

    And only then do we start to build theprogram and sub-routines, tills and

    traps

  • 7/27/2019 Programming Epson Robots_Part1

    32/32

    Defining a New Project

    We pre-define variables names (up to 32characters in length):

    Integers (as singles or arrays)

    Longs (as singles or arrays)

    Strings (as singles or arrays) & up to 255 characters

    Booleans (as singles or arrays)

    Reals (as singles or arrays) Double (as singles or arrays)

    Byte

    Global variables that can be used anywhere in

    program must be declared outside of functions