























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!
























The information in this document is subject to change without notice and should not be construed as a commitment by ABB Robotics Products AB. ABB Robotics Products AB assumes no responsibility for any errors that may appear in this document.
In no event shall ABB Robotics Products AB be liable for incidental or consequential damages arising from use of this document or of the software and hardware described in this document.
This document and parts thereof must not be reproduced or copied without ABB Robotics Products AB´s written permission, and contents thereof must not be imparted to a third party nor be used for any unauthorized purpose. Contravention will be prosecuted.
Additional copies of this document may be obtained from ABB Robotics Products AB at its then cur- rent charge.
© ABB Robotics Products AB
Article number: 3HAC 0966- Issue: For BaseWare OS 3.
ABB Robotics Products AB S-721 68 Västerås Sweden
GlueWare
Page
GlueWare Programming GlueWare
Programming GlueWare
The GlueWare package is added to the base system and is ready to use. However, in order to adapt the package to special needs, the I/O configuration and application specific program data and routines can be modified. See Customizing the glue instruction on page 5.
Glue instructions
A glue instruction includes both motion and process. It basically contains the same types of information as a positioning instruction. However, each glue instruction also includes further arguments for the glue process.
NB: gun1 and tool1 are containing data for the same tool i.e. the glue gun where tool contains the motion specific data known from the MoveL instruction and gun1 contains process specific data.
Glue data
Before starting to program the instructions, you should define the ggundata (glue gun data) that is to be used.
Ggundata has the following structure:
Glue gun data Flow1 value
GlueL __ On __ Conc p1, v100, gun1 __ F1:=100 __ F2:=100 __ D:=10, z10 , tool1 \wobj
Arguments as in L = Linear the^ MoveL^ instruction
Switch (On or Off) to start or stop the gluing process
Preaction displacement
Flow2 value
C = Circular
GlueWare Programming GlueWare
The gun control is done by digital and analog outputs.
To have a fast access to the gun make sure to design your most common I/O list with the gun control on top.
DO_Ggun1 for closing and opening the gun1.
AO_G1Flow1 for setting the flow1 values.
AO_G1Flow2 for setting the flow2 values.
If two guns are used, define also desired signals for gun two in the list.
The customizing can be done on different levels.
Program memory
Program
Main module System module GLUSER
Main routine
Program data
gleio.cfg
eio
System Parameters
System modules
GlobalData
Routines Routines
Programming GlueWare GlueWare
Instruction parameters
Data and switches are affecting the actual instruction as well as the following ones, if these are not using new data.
Global data and routines affecting the entire program (see RAPID Reference Manual, Predefined Programs and Data.
I/O configuration
As default all Glue outputs are defined but connected to a simulated board. Used glue outputs have to be connected to physical signals. Not used signals shall remain on the standard simulated board ( see System Parameters ).
Gluing GlueWare
Error signals
DO_GL_Err digital output 3 A high signal indicates any glue specific error when gluing is active.
DO_GL_OvrSpd digital output 4 A high signal indicates that the calculated value for one analog output signal exceeds the logical maxi- mum value.
Other signals
DO_GL_Active digital output 5 A high signal indicates that the glue process is active. Used internally by the GlueL and GlueC instructions.
The analog output signals above are defined with the following default values:
Logical Min: 0
Logical Max: 1000
Physical Min: 0 V
Physical Max: 10 V
Normally, the user only needs to adapt the Physical Min and Max to the equipment in use. See Calculation of the glue flow values in RAPID Reference Manual, Instructions
- GlueL
GlueWare ggundata
ggundata Gluing gun data
Ggundata is used to define gluing gun specific data, which is then to be used to control the gun in an optimal way during the gluing process.
Note that the TCP and weight of the gluing gun are defined in tooldata.
Ggundata is used in glue instructions and has the following structure:
ggun_no (number of gun to use) Data type: num
Number to define if this ggundata is for gun 1 or gun 2.
gl_on_time (preopen time for the gun) Data type: num
Time in s needed for the gun to open.
gl_off_time (preclose time for the gun) Data type: num
Time in s needed for the gun to close.
fl1_type (type of flow1) Data type: num
Type of flow1 signal, set to none, fixed or speed proportional, where none = 0, fixed = 1 and speed proportional = 2.
fl1_on_time (preset on time flow1) Data type: num
Time in s needed to set up the flow1 in the gun when the instruction is programmed with the \On argument.
GlueWare ggundata
Max. number of guns: 2
Max. real lag compensation ( fl1_delay and fl2_delay ) is normally: 40 - 60ms
If the system parameter (EventPresetTime ) is changed, the compensation for lag will increase to a corresponding degree.
The values for the different times within the dataset must be between 0 to 1 seconds.
The value for the reference speed has to be > 0.
The predefined data ggun1 defines the use of gun no 1 , a flow1 and flow2 of type 2 , i.e. proportional flow values are used, all belonging times are set to zero and the reference speed is 1000 mm/s for each flow. 1
PERS ggun1 := [1,0,0,2,0,1,0,0,0,1000,2,0,1,0,0,0,1000];
< dataobject of ggundata > < ggun_no of num > < gl_on_time of num > < gl_off_time of num > < fl1_type of num > < fl1_on_time of num > < fl1_time of num > < fl1_off_time of num > < fl1_delay of num > < fl1_refspeed of num > < fl2_type of num > < fl2_on_time of num > < fl2_time of num > < fl2_off_time of num > < fl2_delay of num > < fl2_refspeed of num >
ggundata GlueWare
Described in: Glue instruction Instructions - GlueL / GlueC
GlueC GlueWare
[\On] Data type: switch
The argument \On is used in the first Glue instruction to start the glue process (see Figure 1).
The argument may only be used in the first glue instruction to perform the necessary gun opening and setting of the flow in advance. Executing two consecutive instructions with \On argument will result in an error message.
As the instruction cannot contain the arguments \On and \Off together, the gluing path must have at least 2 instructions, one containing the \On and one containing the \Off argument.
The pre-actions, which are performed on the path to the programmed position, are setting of the gun opening output and setting of the analog glue outputs.
[\Off] Data type: switch
The argument \Off is used in the last gluing instruction to terminate the gluing when the programmed position is reached. On the way to the end position the output for opening the gun as well as the flow outputs will be reset according to the given time within the specified ggundata.
So it is not possible to terminate gluing without using the \Off argument during movements.
[\Conc] (Concurrent) Data type: switch
Subsequent instructions are executed while the robot is moving. This argument is used in the same situations as corresponding argument in other Move instruc- tions but for gluing it is also useful to permit higher speeds when consecutive glue instructions are close to each other.
Using the argument \Conc , the number of movement instructions in succession is limited to 5. In a program section that includes StorePath-RestoPath , movement instructions with the argument \Conc are not permitted.
If this argument is omitted, the subsequent instruction is only executed after the robot has reached the specified zone.
CirPoint Data type: robtarget
The circle point of the robot. The circle point is a point on the circle between the start point and the destination point. To obtain the best accuracy, it should be placed about halfway between the start and destination points. If it is placed too close to the start or end point, the robot may give a warning. The circle point is defined as a named position or stored directly in the instruction (if marked with
GlueWare GlueC
an * in the instruction).
ToPoint Data type: robtarget
The destination point of the robot and the external axes. It is defined as a named position or stored directly in the instruction (if marked with an * in the instruct- ion).
Speed Data type: speeddata
The speed data that applies to movements. Speed data defines the velocity for the tool centre point, the tool reorientation and external axes.
GlueGun Data type: ggundata
Gun specific data, e.g. the reaction time for setting a flow etc., for the gun in use.
[\F1] (Flow1) Data type: num
The argument \F1 gives a value in percent to adjust the flow1 for the next part of the path. If no value is programmed the same value as in previous glue instruction is used. If no value is programmed in a glue instruction with \On argument the value 0 is used.
[\F2] (Flow2) Data type: num
The argument \F2 gives a value in percent to adjust the flow2 for the next part of the path. If no value is programmed the same value as in previous glue instruction is used. If no value is programmed in a glue instruction with \On argument the value 0 is used.
The optional argument \D gives the possibility to perform all pre-actions during the instruction the given distance (mm) in advance of the programmed position.
Zone Data type: zonedata
Zone data for the movement. Zone data describes the size of the generated corner path.
Tool Data type: tooldata
The tool in use when the robot moves. The tool centre point is the point moved to the specified destination position, and should be the position of the tip when the gun is open.
[\WObj] (Work Object) Data type: wobjdata
The work object (coordinate system) to which the robot position in the instruction is related.
GlueWare GlueC
Forwards
The gun is closed and motion without gluing is done.
Backwards
The gun is closed and the motion is performed backwards without gluing.
Activated by setting the variable gl_sim_glue to TRUE. This will inhibit the gun opening and the flow signals. (See Predefined Data and Programs - System Module GLUSER )
It is not possible to restart the current glue sequence after a stop. The gluing is restarted with the next glue instruction with an \On argument.
The max. gluing speed is dependent on the distance between the programmed positions. If the speed programmed is too high, the error message 50082 will appear. Avoid this error message by:
Error situations
The following error situations are handled:
The faulty instruction or data must be changed and the current set of glue instructions
GlueC GlueWare
must be restarted from the beginning.
GlueC [[‘\’On ]|[‘\’Off ] [’\’ Conc]’,’] [CirPoint‘:=’]<expression ( IN ) of robtarget >‘,’ [ToPoint‘:=’]<expression ( IN ) of robtarget >‘,’ [Speed‘:=’]<expression ( IN ) of speeddata >’,’ [Gluegun‘:=’]<persistent ( PERS ) of ggundata> [’\’F1’:=’<expression ( IN ) of num>] [’\’F2’:=’<expression ( IN ) of num>] [’\’D’:=’<expression ( IN ) of num >]’,’ [Zone‘:=’]<expression ( IN ) of zonedata> ’,’ [Tool‘:=’]<persistent ( PERS ) of tooldata > [’\’WObj’:=’<persistent ( PERS ) of wobjdata >]’;’
Described in: Other positioning instructions RAPID Summary - Motion Definition of velocity Data types - speeddata Definition of zone data Data types - zonedata Definition of tool Data types - tooldata Definition of work objects Data types - wobjdata Definition of gluegun data Data types - ggundata Overview Gluing RAPID Summary - GlueWare Customizing tools Predefined data and programs - System Module GLUSER I/O configuration System parameters - GlueWare Motion in general Motion and I/O Principles