












































Estude fácil! Tem muito documento disponível na Docsity
Ganhe pontos ajudando outros esrudantes ou compre um plano Premium
Esta página não é visível na pré-visualização
Não perca as partes importantes!













































ABB Robotics Products AB DPT / MT S-72168 VÄSTERÅS SWEDEN Telephone: (0) 21 344000 Telefax: (0) 21 132592
1 Introduction
This document contains a description of the Conveyor Tracking functionality for S4C.
Conveyor Tracking, or Line Tracking, is the function whereby the robot follows a work object which is mounted on a moving conveyor. This document describes how a conveyor tracking application is installed, programmed, and operated.
The document is organised as follows:
Section 2 presents an overview of the conveyor tracking features and necessary physical components.
Section 3 describes the principles of conveyor tracking in S4C, the coordinate systems, and object queues.
Section 4 provides information on how conveyor tracking is to be programmed.
Section 5 presents the new RAPID instructions.
Section 6 describes the features available with the Revision 2 of the DSQC 354.
Sections 7 and 8 present information on the hardware requirements and software installation.
Section 9 goes through the configuration and calibration of a linear conveyor.
Section 10 marks the differences for configuration and calibration of a circular conveyor.
Finally, a complete listing of all conveyor system parameters is provided in Section 11.
Follow Section 9 Conveyor Setup and Calibration for the steps in configuring a standard linear conveyor.
2 Overview of Conveyor Tracking
In conveyor tracking, the robot’s Tool Centre Point (TCP) will automatically follow a work object that is defined on the moving conveyor. While tracking the conveyor the S4C will maintain the programmed TCP speed relative to the work object even if the conveyor runs at different speeds.
A program can choose to wait for an object that is within a window past the normal starting point, or wait for an object to pass a specific distance, or immediately take the first object in the object tracking queue. Objects that go beyond the start window are automatically skipped.
RAPID Access to Queue and Conveyor Data:
A RAPID program has access to the number of objects in the object queue, and the current position and speed of the conveyor. A RAPID program may also remove the first object in the tracking queue or all objects in the queue.
Maximum Distance:
A maximum tracking distance may be specified to stop the robot from tracking outside of the working or safety area.
Track follows Conveyor
If the robot is mounted on a linear track, then the system can be configured such that the track will follow the conveyor and maintain the relative position to the conveyor. The TCP speed relative the work object on the conveyor will still be the programmed speed.
Enter and Exit Conveyor Tracking in Corner Zones
It is possible to enter and exit conveyor tracking via corner zones as well as via fine points. Using corner zones allows a minimum cycle time to be achieved.
Exit and Re-enter Conveyor Tracking to Same Object
It is possible to exit and re-enter to the same object on the conveyor unlimited times until the object moves outside the working area, reaches the maximum distance, or is explicitly dropped by the RAPID program.
Multiple Conveyors
Up to 2 conveyors are supported via the standard option. Each conveyor must have a DSQC 354.
Coordinated Finepoint
A finepoint may be programmed while making motions relative to the conveyor. This conveyor coordinated finepoint will ensure that the robot stops moving relative to the conveyor and will follow the conveyor while the RAPID program continues execution. The robot will hold the position within +/- 0.7 mm depending upon calibration of the robot and conveyor.
Calibration of Linear Conveyors
A calibration method is provided for easy calibration of the position and direction of the conveyor motion in the robot’s workspace. The linear conveyor may take any position and orientation.
Small Orientation Error with SingArea\Wrist
There can be a small orientation error of the TCP while following the conveyor and make long motions with SingArea\Wrist. This error can be eliminated by making several short motions with SingArea\Wrist.
Track Parallel to Conveyor
If the robot is mounted on a track and the track is to be used to follow the conveyor motions, then the track and conveyor must be parallel.
The motion on the track and the motion on the conveyor must have the same direction of positive motion. See Section 9.10 Configuration for Track Motion following Conveyor.
Calibration of Circular Conveyors
There are no built-in methods for the calibration of circular conveyors. This limitation can be relaxed if the user is willing to calculate a quaternion orientation manually or with other tools during base frame calibration.
Limitation on External Axes
Each conveyor is considered an external axis. Thus the system limitation of 6 active external axes must be reduced by the number of active and installed conveyors.
The first installed conveyor will use measurement node 6 and the second conveyor will use measurement node 5. These measurement nodes are not available for external axes and no resolvers should be connected to these nodes on any external axes measurement boards.
Object Queue Lost on Warm Start or Power Failure
The object queue is kept on the DSQC 354. If the system is restarted with a Warm Start or if the power supply to either the S4C controller or the DSQC 354 fails, then the object queue will be lost.
Minimum and Maximum Speed
There is a minimum conveyor speed in order to maintain smooth and accurate motions. This speed is dependant upon the encoder selection and can vary from 4 mm/s to 8 mm/ s. See Minimum Number of Counts per Second - Minimum Conveyor Speed.
There is no explicit maximum speed for the conveyor. Accuracy will degrade at speeds above the specification and with high speed robot motions or with very high conveyor speeds (> 500 mm/s) and the robot will no longer be able to follow the conveyor.
WaitWObj after DropWObj
If a WaitWObj instruction is used immediately after a DropWObj instruction, it may be necessary to add a WaitTime 0.1; after the DropWObj instruction.
work object. When using the conveyor connected coordinated work object then all motions are relative to the work object on the conveyor. The user may change work objects several times and thus coordinate the robot to other work objects in the system and still return to the conveyor coordinated work object.
Disconnecting from a Work Object
The S4C controller and Encoder Interface Unit will maintain the connection to the work object until one of the following events occurs:
A DropWObj instruction is issued,
the Maximum Distance, as defined for the conveyor, is reached,
restart of the controller,
power supply failure to either the Encoder Interface Unit or controller.
The connection to the work object will not be lost with deactivation of the conveyor mechanical unit and will return upon re-activation.
The DropWObj instruction is used to end the connection before the Maximum Distance is reached. After a DropWObj instruction is issued it is possible to immediately wait for and connect to the next work object in the conveyor object queue.
If a DropWObj instruction is not issued, then the object will be automatically disconnected and dropped when the Maximum Distance is reached.
The S4C controller and DSQC 354 will maintain the object queue based upon a set of distances relative to the conveyor and synchronization switch. The following figure shows these relationships:
Conveyor Direction
Synchronization Switch
Start Window Width^ Working Area Queue Track. Dist.
0.0 m
Maximum Distance
Minimum Dist.
x
y
z
7 6 5 4 3 2 1
Work Object User Frame
Figure 2 Relationships between Distances along the Conveyor
Using the above distance definitions the conditions and states of objects 1...7 in Figure 2 may be described:
Queue Tracking Distance This distance defines the placement of the 0.0 meter point relative to the synchronization switch on the conveyor. The Encoder Interface Unit tracks all objects in this distance. The position returned from the Encoder unit for the object will be negative, relative to the 0.0 m point.
Start Window Width This distance defines the start window. The start window defines the area that if a program starts using an object within the window, then all program coordination can end before the Maximum Distance or work area is reached. All objects within this window are tracked and are eligible for use in a coordinated work object. A WaitWObj instruction will connect to the first object in the window.
Maximum Distance This distance is the maximum distance that a connected object may have before being automatically dropped. If an object is dropped, then any coordinated motions are terminated with an error message.
Minimum Distance This is the minimum distance that a connected object may have before being automatically dropped. If the conveyor stops and runs backwards, then there will be an automatic drop when the connected object goes past the minimum distance. This may be greater than or less than the Queue Tracking Distance.
Object 1 This object is connected as indicated by the coordinate frame attached to the object’s position on the conveyor.
Object 2 Object 2 is outside the start window and is no longer tracked by the Encoder unit. This object will be skipped and cannot be connected by a WaitWObj instruction. It is skipped because the conveyor speed is such that coordination with the object could not be completed before the object moved outside the maximum distance or work area of the robot.
Objects 3 and 4 These objects are within the start window and are tracked by the Encoder unit. If Object 1 was dropped via a DropWObj instruction then Object 3 would be the next object to be connected when a WaitWObj instruction was issued. Because Objects 3 and 4 were in the start window, the WaitWObj instruction will not wait but return immediately with object 3.
The two key frames in conveyor tracking are the Base Frame of the conveyor and the User Frame in the conveyor coordinated work object.
The position of User Frame in the conveyor coordinated work object is determined from the position of the conveyor Base Frame and the linear position of the conveyor in meters.
The DSQC 354 Encoder Interface Unit provides the position of the conveyor relative the synchronization switch and the Queue Tracking Distance. When the encoder unit sends a value of 0.0 meters to the S4C controller, then the User Frame for the conveyor coordinated work object is coincident with the Base Frame of the conveyor. As the conveyor moves, then the User Frame in the conveyor coordinated work object moves along the X-axis of the conveyor Base Frame.
4 Programming Conveyor Tracking
In order to make a program that uses conveyor tracking and a conveyor coordinated work object, one must first make sure that a work object is present within the start window of the Encoder Interface Unit. To accomplish this an object must be moved past the synchronization switch and into the start window. If there are several objects already on the conveyor, then it may be necessary to first clear the object queue and then move the conveyor.
The S4C conveyor option provides several I/O signals which allow a user or RAPID program to monitor and control the Object Queue on the encoder unit. The following table shows the I/O signals which impact the Object Queue.
User Frame, coordinated to conveyor
Program/View: Data Types - wobjdata
Select conveyor mechanical unit
World Frame via Base Frame of conveyor.
Object Frame (not shown) Program/View: Data Types - wobjdata User Frame
I/O Signal Description
c1ObjectsInQ Group input showing the number of objects in the Object Queue. These objects have passed the synchronization switch but have not gone outside the startwindow.
Coordinate System Defined Where Relative to
As an external axis and mechanical unit the conveyor must be activated before it may be used for work object coordination. The usual ActUnit instruction is used to activate the conveyor and DeactUnit may be used to deactivate the conveyor.
By default, the conveyor is installed non-active on start. If desired, the conveyor may be configured to be always active upon start. See Section 9.9 Motion Mechanical Unit Parameters below.
Automatic Connection upon Activation:
When a conveyor mechanical unit is activated, it first checks the state of the encoder unit to see whether the object was previously connected. If the encoder unit, via the I/ O signal c1Connected, indicates connection, then the object on the conveyor will automatically be connected upon activation. The purpose of this feature is to automatically reconnect in case of a power failure with power backup on the Encoder Interface Unit.
From the programming window, view the wobjdata and create a new work object, wobjcnv1. Set the ufprog and ufmec as follows:
ufprog (user frame programmed) Data type: bool
Defines whether or not a fixed user coordinate system is used:
ufmec (user frame mechanical unit) Data type: string
The conveyor mechanical unit with which the robot movements are coordinated.
c1Rem1PObj Remove First Pending Object from the Object Queue. Setting this signal will cause the first pending object to be dropped from the Object Queue. Pending objects are objects that are in the queue but are not connected to a work object.
c1RemAllPObj Remove All Pending Objects. Setting this signal will cause the Encoder Interface Unit to empty all objects from the Object Queue. If an object is connected, then it is not removed.
c1DropWObj Setting this signal will cause the encoder unit to drop the tracked object and disconnect that object. The object is removed from the queue.
MoveL p40, v500, fine, tool1; DropWObj wobjcnv1; MoveL p0, v500, fine; DeactUnit CNV1;
A connected work object may be dropped once conveyor coordinated motion has ended. It is important to make sure that the robot motion is no longer using the conveyor positions when the work object is dropped. If motion still requires the positions then a Stop will occur when the object is dropped.
Conveyor coordinated motion does not end in a finepoint. As long as the work object is coordinated to the conveyor, the robot motion will be coupled to the conveyor even in a finepoint. A fixed-frame or non-conveyor work object must be used in a motion instruction before dropping the conveyor work object.
Care must be taken when ending coordination in a corner zone and executing the DropWObj instruction as the work object will be dropped before the robot has left the corner zone and the motion still requires the conveyor coordinated work object.
It is not necessary to be connected in order to execute a DropWObj instruction. No error will be returned if there was no connected object.
Once a WaitWObj instruction has connected to a work object on the conveyor then it is possible to enter and exit coordinated motion with the conveyor via corner zones.
The following is an example:
MoveL p10, v1000, fine, tool1; WaitWObj wobjcnv1; MoveL p20, v1000, z50, tool1; - enter coordination in zone MoveL p30, v500, z1, tool1\Wobj:=wobjcnv1; MoveL p40, v500, z1, tool1\Wobj:=wobjcnv1; MoveL p50, v500, z20, tool1\Wobj:=wobjcnv1; MoveL p60, v1000, z50, tool1; - exit coordination in zone MoveL p70, v500, fine, tool1; DropWObj wobjcnv1; MoveL p10, v500, fine, tool1;
The move instruction ending coordination must be a ‘fixed’ work object. e.g. ufprog is TRUE.
As noted above, care must be taken when exiting coordination in a corner zone and executing a DropWObj instruction. The following example shows an incorrect method for ending coordination in corner zones:
...
MoveL p50, v500, z20, tool1\Wobj:=wobjcnv1; MoveL p60, v1000, z50, tool1; - exit coordination in zone DropWObj wobjcnv1;
The user has access to the conveyor position and speed via the Teach Pendant.
Jog Window:
The position in millimeters of the conveyor object is shown in the jog window. This value will be negative if a Queue Tracking Distance is defined. When an object passes the synchronization switch then the position will be automatically updated in the jog window.
I/O Window:
From the I/O Window the user has access to all the signals that are defined on the Encoder Interface Unit. From this window it is possible to view the conveyor position in meters, and the conveyor speed in meters/s. The speed will be 0 m/s until an object has passed the synchronization switch.
WaitTime 0.1; MoveL p3, v500, z20, tool1\Wobj:=wobjcnv1; MoveL p4, v500, fine, tool1; DropWObj wobjcnv1;
In the above example the SetDO will be executed after the robot arrives at p2. The robot will then track the conveyor for 0.1 seconds while the WaitTime instruction is executed. It will then move to p3 and on to p4 via a corner zone before ending coordination with a fixed work object (wobj0 in this case).
Operation under Manual Reduced Speed Mode (< 250 mm/s)
When the conveyor is not moving, then the FWD, BWD buttons may be used to step through the program. New instructions may be added and MODPOS may be used to modify programmed positions.
In order to facilitate programming, the conveyor may be moved to new positions between instructions. The robot will return to the correct position when FWD or BWD is pressed.
The robot will recover as normal if the Enable switch is released during motion.
The robot cannot perform coordinated motions to the conveyor while in Manual Reduced Speed mode and the conveyor is moving.
Operation under AUTO
Once a WaitWObj instruction has been executed, then it is no longer possible to step through the program with FWD and BWD while the conveyor is moving.
The robot will stop and no longer track the conveyor if the STOP button is pressed or Stop, StopMove RAPID instructions are executed between the WaitWObj and DropWObj instructions.
The conveyor coordinated work object will not be lost but if the conveyor is moving then the object will quickly move out of the working area. RESTART from the current instruction is not possible and the program must be restarted from either from MAIN or a WaitWObj instruction.
When the Emergency Stop is pressed the robot will stop immediately. If the program was stopped after a WaitWObj then the coordinated work object will not be lost but
if the conveyor is moving then the object will quickly move out of the working area. RESTART from the current instruction is not possible and the program must be restarted either from MAIN or a WaitWObj instruction.
Operation under Manual Full Speed Mode (100%)
Operation under Manual (100%) is similar to operation under AUTO. The program may be run by holding the START button, but once a WaitWObj instruction has been executed then it is no longer possible to step through the program with the FWD and BWD buttons while the conveyor is moving.
When the START button is released, or Emergency Stop is pressed, the robot will stop immediately. If the program was stopped after a WaitWObj then the coordinated work object will not be lost but if the conveyor is moving then the object will quickly move out of the working area. RESTART from the current instruction is not possible and the program must be restarted either from MAIN or a WaitWObj instruction.