Docsity

Deskware - spotware, Notas de estudo de Engenharia Elétrica

Toggle sidebar
bg1
ABB Flexible Automation
ProcessWare
SpotWare On-line
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33

Pré-visualização parcial do texto

Baixe Deskware - spotware e outras Notas de estudo em PDF para Engenharia Elétrica, somente na Docsity!

ABB Flexible Automation

ProcessWare

SpotWare On-line

ABB Robotics Products AB DPT / MT S-72168 VÄSTERÅS SWEDEN Telephone: (0) 21 344000 Telefax: (0) 21 132592

SpotWare

Programming SpotWare

Programming SpotWare

The SpotWare package is added to the base system and is ready to use. However, in order to be able to adapt the package to special needs, the I/O configuration and application specific program data and routines can be modified. See Customizing the spot weld instruction on page 6.

Programming Spot Welding

Spot weld instructions

A spot weld instruction comprises both motion and process. It contains basically the same types of information as a positioning instruction. However, each spot weld instruction includes further arguments, spot and gun , that serve as data for the spot weld process (data types: spotdata and gundata ).

Each SpotL instruction includes a movement to the weld position and one weld.

Since the spot weld is always carried out at a stop point the zone argument is omitted.

Note. gun1 and tool1 contain data for the same tool, i.e. the spot weld gun, where tool contains the motion-specific data known from the MoveL instruction.

Defining spot weld data

Before starting to program the instructions, you should define the spot weld data that is to be used. This data is divided into two types:

  • spotdata ; describes the spot weld process-specific data - gundata; describes spot weld gun setup.

There is already data defined in the spot weld system module SWURSF. If the new data that is being defined belongs to the spot weld application, it should also be stored in SWUSRF.

Switch inhibiting gun pre-closing Switch inhibiting concurrent execution Choice for opening gap after the weld

SpotL p1, v100, spot1 \ Inpos \ NoConc \ Retract, gun1 , tool1 \ frame

Arguments as in L = Linear the MoveL instruction

Data for the spot weld process

Gun specific spot weld data

Programming SpotWare

  • Change the arguments if necessary.

Testing a spot weld instruction

To prevent the spot weld process executing during programming, it is possible to run SpotL in simulation mode.

This can be done by setting sw_inhib_weld TRUE. This will set the output current_enable low and the simulation will be carried out by the weld timer.

If such a signal is not connected the spot weld can be internally inhibited by setting sw_sim_weld TRUE. The simulated weld time is then stored in sw_sim_time. In this simulation mode the start signal is never sent to the welding timer.

Note. The gun will be opened and closed as normal.

Defining gun closing times

The SpotL instruction has a built-in pre-closing of the weld gun, i.e. when approaching the position the gun will start to close in advance, in order to save time. The pre_closing relates to closing the gun from the work stroke. Closing the retract stroke should be handled in the user program, by a fly-by position.

The gun closing times are defined in gundata. It is possible to define a closing time for each gun pressure (max. 4).

The pressure to use in the actual SpotL instruction is stored in spotdata. It will also pick the accurate closing time.

Note. The pre-closing can be disabled by choosing the \InPos argument in the instruction or by setting sw_inpos TRUE in SWURSF (global disabling).

Programming SpotWare

Defining the closing time manually

  • First, define a rough guess in the actual gundata
  • Look up the pressure in spotdata
  • Move to the test window
  • Choose execution mode Instruction
  • Run SpotL forward and check the closing. The gun should be just about closed when the robot stops in the position.
  • If the result is not OK, execute SpotL backwards. The gun will open automatically before it moves.
  • Adjust the corresponding closing time.
  • Repeat the test until the result is OK.
  • Repeat the whole sequence for a different pressure and different stroke until all closing times are defined.

Defining the closing time automatically

It is possible to measure and store the closing times using a RAPID program.

Customizing the spot weld instruction

Customizing can be done at different levels:

  • SWUSRF, SWUSRC: Modules containing routines and data used by SpotL
  • I/O configuration.

SWUSRF

Global data, service and equipment routines affecting the entire program. (See Predefined Data and Programs in RAPID Reference Manual).

SWUSRC

Global data, service and equipment routines affecting the entire program. (See Predefined Data and Programs in RAPID Reference Manual).

I/O configuration

Mirroring the connected equipment. (See System Parameters).

Programming SpotWare

Running spot weld instructions

In continuous mode the spot weld instructions are by default running in concurrent execution, i.e. the program execution is continuing whilst welding is in progress, and it will not stop until the next motion instruction.

Therefore if the running is stopped during welding, the program pointer is normally moved to next SpotL or motion instruction. This fact is important to remember when SpotL positions are modified with ModPos.

To avoid problems it is recommended to execute the program in step-by-step mode when positions are modified. In this mode the program pointer is in agreement with the robot position. If a strictly sequential execution is desired also in continuous mode the NoConc flag must be set in the instruction.

Tip-dressing

The gundata contains counters and limits for each pair of tips. The counters will be incremented for each spot.

A tip-dress supervision can however be programmed in the main program or in the SpotL supervision routines.

In this way, an automatic tip-dressing can be performed.

Spot Welding

Spot Welding

The spot welding system parameters are defined by input and output signals.

  • Choose Topics: IO Signals
  • Choose Types: User Signals

See Chapter 12, System Parameters.

IO configuration

The SpotWare package can be configured for different equipment setups. This chapter describes the signals used by SpotWare and their dependency of the equipment.

The physical connections can be freely changed. To save physical signals, signals not in use can be connected to a virtual unit (type eip000).

If different signal names are required, new logical signals can be added and connected to the corresponding physical signal. The predefined logical name must remain in the configuration as it is used internally by the SpotL instruction.

Basic setup

There are two predefined units:

-one physical unit named SW_BOARD with default setup:

  • digital I/O unit
  • address 1 (S4) / 10 (S4C)

-one virtual, named SIM_BOARD.

The basic setup signals are connected to the SW_BOARD. All others are connected to the SIM_BOARD which makes them easy to activate.

Start and monitoring of the weld

start1 output 7 Start signal to the weld timer (Tip1 if a dual gun is used)

Spot Welding

Timer reset

Process error

Current signal

Equipment supervision

By default, the following input signals are tested in every welding position before the weld start. If desired, other user defined signals can be tested, before or after the weld- ing process. (See also Predefined Data)

Double gun

If a double gun is used it has to be indicated in gundata by nof_tips = 2. Tip_no in spot- data chooses the tip (tip_no = 12 or 21 closes both tips together). Close_tip1, work_select and close_tip2 must be defined as consecutive physical signals.

reset_fault output 1 Reset signal. Can be used to reset the welding controller after a weld error. The signal is pulsed with a user defined pulse length. (sw_reset_time1) before manual or automatic rewelding.

process_error output 9 Operator request is set when an error situation occurs.

current_enable output 8 Current enable signal. Used for the weld inhibit function. See Predefined Data and Programs (sw_inhib_weld).

timer_ready input 8 The timer is ready to weld.

flow_ok input 9 Signal indicating problems with the water sup- ply.

temp_ok input 10 Signal indicating over-temperature.

current_ok input 11 Signal indicating that the weld current exceeds the permissible tolerances.

close_tip2 sim output Close gun request, tip 2

Spot Welding

Equipment control

By default, the following input signals are set depending on the motor on state and the output signals current_enable and process_error. (See also Predefined Data)

Manual Actions

The manual action signals are internally triggering RAPID routines to execute. The sig- nal are defined on the SIM_BOARD.

The manual actions operate on local data. This data may be updated in three ways:

  • Running SpotL - local data contains the contents of the SpotL-parameters.
  • Set the output SwNew Data - local data contains the contents of the manual data man_spot , man_gun and man_retr.
  • Using the utility routines SwSetCurrSpot , etc. (See also “Predefined data”.)

SwNewData sim output Transfers manual data to the manual actions

SwCloseGun sim output Close the gun, runs sw_close_gun

SwOpenGun sim output Open the gun, runs sw_open gun

SwRunProc sim output Runs complete spot weld including opening/ closing of the gun. This action may also be used to run a reweld when the process has stopped in a weld ready timeout situation.

SwSkipProc sim output Skip the ongoing action and be ready for a new action. This signal is also used by SpotWare for internal process abortion.

weld_power sim output Possible to use for a weld power unit contactor

water_start sim output Possible to use to activate water cooling

Table 1 Default functionality of water_start and weld_power

Activators motors on 0 1 0 1 0 1 0 1

process_error 0 0 1 1 0 0 1 1

current_enable 0 0 0 0 1 1 1 1

Result water_start 0 0 0 0 0 pulse 0 0

weld_power 0 0 0 0 0 1 0 0

Spot Welding

gundata - Spot weld gun data...........................................................................................

gundata Spot weld gun data

Gundata is used to define spot weld gun specific data, to control the gun in an optimal way in the weld process.

Description

Gundata is used in spot weld instructions and has the following structure:

  • Number of electrode pairs.
  • Number of pressure levels.
  • Flag to indicate if a signal is required to test accurate gun closure.
  • Flag to indicate if a signal is required to test accurate gun opening.
  • Counter for the number of welds done and maximum allowed number (one counter and maximum value for each pair).
  • Closing times.
  • Opening times.

Components

nof_tips (number of tips) Data type: num

Number of electrode pairs (1 or 2)

nof_plevels (number of pressure levels) Data type: num

Number of pressure levels (1 - 4)

close_request (closure request) Data type: bool

If the flag is TRUE, the ordered pressure level is tested before the weld may start.

open_request (opening request) Data type: bool

If the flag is TRUE, the gun open signal is tested before the next motion is released. The time out is defined by sw_go_timeout. (See Predefined Data and Programs - System Module SWUSER )

Note. The open_time must elapse before the test is done (see below).

If the flag is FALSE, the next motion is always released after open_time (see below).

gundata Spot weld gun data

build_up_p3^1 Data type: num

Time [s] elapsed to build up the pressure from the moment when the gun has just about closed. The pressure p3 has to be set in advance.

build_up_p4^1 Data type: num

Time [s] elapsed to build up the pressure from the moment when the gun has just about closed. The pressure p4 has to be set in advance.

open_time Data type: num

The time [s] that always elapses between the gun opening order and the release of the next motion or the test of gun open (see above).

Structure

< dataobject of gundata > < nof_tips of num > < nof_plevels of num > < close_request of bool > < open_request of bool > < tip1_counter of num > < tip2_counter of num > < tip1_max of num > < tip2_max of num > < close_time1 of num > < close_time2 of num > < close_time3 of num > < close_time4 of num > < build_up_p1 of num > < build_up_p2 of num > < build_up_p3 of num > < build_up_p4 of num > < open_time of num >

. Related information

Described in: Spot weld instruction Instructions - SpotL Definition of tool TCP, weight etc. Data types - tooldata

  1. To be defined only if used by the user program.

gundata Spot weld gun data