Docsity

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

Toggle sidebar
bg1
ABB Flexible Automation
ProcessWare
ArcWare Plus 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

Pré-visualização parcial do texto

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

ABB Flexible Automation

ProcessWare

ArcWare Plus On-line

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

ArcWare Plus

  • ArcKill - Kill the AW process........................................................................................... Page
    • Syntax
    • Related information
  • ArcRefresh - Refresh arcweld data..................................................................................
    • Syntax
    • Related information
  • corrdescr - Correction generator descriptor
    • Description...................................................................................................................
    • Characteristics
    • Related information
  • CorrCon - Connects to a correction generator...............................................................
    • Arguments
  • CorrWrite - Writes to a correction generator
    • Arguments
    • Limitations...................................................................................................................
    • Syntax
    • Related information
  • CorrRead - Reads the current total offsets.....................................................................
    • Syntax
    • Related information
  • CorrDiscon - Disconnects from a correction generator.................................................
    • Arguments
    • Syntax
    • Related information
  • CorrClear - Removes all correction generators
    • Syntax
    • Related information
  • SpcWrite - Writes to a statistical process controller......................................................
    • Arguments
    • Syntax
    • Related information
  • spcstat - Statistical process control status
    • Description...................................................................................................................
    • Predefined data
    • Characteristics
    • Related information
  • SpcRead - Reads the current process status
    • Arguments Page
    • Syntax..........................................................................................................................
    • Related information
  • SpcDump - Dump statistical process control information
    • Arguments
  • SpcDiscon - Disconnects from a statistical process controller
    • Arguments
    • Syntax..........................................................................................................................
    • Related information
  • spcdescr - Statistical process controller descriptor........................................................
    • Description
    • Characteristics
    • Related information
  • spcdata - Statistical process control data
    • Description
  • SpcCon - Connects to a statistical process controller
    • Arguments
  • Index...................................................................................................................................

ArcWare Plus ArcKill

ArcKill Kill the AW process

ArcKill is used in advanced error handlers to kill the AW process.

Example

PROC main()

WeldSeam1; WeldSeam2;

ERROR TPReadFk ans “The weld failed”, ““, ““, ““,”Service”,”OK”;

TEST ans CASE 4: service_routine; TRYNEXT;

DEFAULT: TRYNEXT ENDTEST

ENDPROC

PROC WeldSeam1()

! Weld the seam ArcL \On, p1, v100, seam1, weld5, noweave, fine, gun1; ArcL \Off, p2, v100, seam1, weld5, noweave, fine, gun1;

ERROR TEST ERRNO CASE AW_IGNI_ERR: ! Try to restart the process if this was an ignition error. RETRY;

DEFAULT: ! Kill the aw process and raise the error to the main routine ArcKill; RAISE ENDTEST

ENDPROC

ArcWare Plus ArcRefresh

ArcRefresh Refresh arcweld data

ArcRefresh is used to tune aw process parameters during program execution.

Example

PROC PulseWeld()

! Setup a two Hz timer interrupt CONNECT intno1 WITH TuneTrp; ITimer ,0.5 ,intno1;

! Weld the seam ArcL \On, p1, v100, seam1, weld5, noweave, fine, gun1; ArcL \Off, p2, v100, seam1, weld5, noweave, fine, gun1;

IDelete intno1;

ENDPROC

TRAP TuneTrp

! Modify the weld_voltage component of active welddata.

IF HighValueFlag =TRUE THEN weld5.weld_voltage := 10; HighValueFlag := FALSE; ELSE weld5.weld_voltage := 15; HighValueFlag := TRUE; ENDIF

! Order the process control to refresh process parameters ArcRefresh;

ENDTRAP

The weld voltage will be switched between 10 and 15 volts by the trap routine at a two Hz rate.

Syntax

ArcRefresh ‘;’

ArcRefresh ArcWare Plus

Related information

Described in: Performing a circular weld Instructions - ArcC Performing a linear weld Instructions - ArcL Definition of weld data Data Types - welddata Definition of weave data Data Types - weavedata Installation parameters for welding System Parameters - Arc Welding equipment and welding functions

corrdescr ArcWare Plus

Related information

Described in: Connects to a correction generator Instructions - CorrCon Disconnects from a correction generator Instructions - CorrDiscon Writes to a correction generator Instructions - CorrWrite Reads the current total offsets Functions - CorrRead Removes all correction generators Instructions - CorrClear Characteristics of non-value data types Basic Characteristics - Data Types

ArcWare Plus CorrCon

CorrCon Connects to a correction generator

CorrCon is used to connect to a correction generator.

Example

VAR corrdescr id; ... CorrCon id;

The correction generator reference corresponds to the variable id reservation.

Arguments

CorrCon Descr

Descr Data type: corrdescr

Descriptor of the correction generator.

Example

Path coordinate system

All path corrections (offsets on the path) are added in the path coordinate system. The path coordinate system is defined as:

Figure 1 Path coordinate system.

P = Path coordinate system T = Tool coordinate system

Path direction ->

Z (^) T

Y (^) T

X (^) T

Y (^) P

Z (^) P

X (^) P

Tool

ArcWare Plus CorrCon

! Position for start of contour tracking MoveJ p10,v100,z10,tool1;

! Run MoveL with both vertical and horizontel correction. MoveL p20,v100,z10,tool1\Corr; ! Read the total corrections added by all connected correction generators. total_offset := CorrRead(); ! Write the total vertical correction on the TeachPendant. TPWrite “The total vertical correction is: ”\Num:=total_offset.z; ! Disconnect the correction generator for vertical correction. ! Horizontal corrections will be unaffected. CorrDiscon vert_id; ! Run MoveL with only horizontel correction. MoveL p30,v100,z10,tool1\Corr;

! Remove all outstanding connected correction generators. ! In this case, the only connected correction generator is the one for horizontal ! correction. CorrClear;

! Remove the timer interrupt. IDelete intno1;

ENDPROC

TRAP ReadSensors

! Compute the horizontal correction values and execute the correction. write_offset.x := 0; write_offset.y := (hori_sig - TARGET_DIST)*SCALE_FACTOR; write_offset.z := 0; CorrWrite hori_id, write_offset;

! Compute the vertical correction values and execute the correction. write_offset.x := 0; write_offset.y := 0; write_offset.z := (vert_sig - TARGET_DIST)*SCALE_FACTOR; CorrWrite vert_id, write_offset;

!Setup interupt again IDelete intnol; CONNECT intno1 WITH ReadSensors; ITimer\singel 0.2, intno1;

ENDTRAP

Program explanation

Two correction generators are connected with the instruction CorrCon. Each correction generator is referenced by a unique descriptor ( hori_id and vert_id ) of the type corrdesc. The two sensors will use one correction generator each.

A timer interrupt is set up to call the trap routine ReadSensors with a frequency of 5

CorrCon ArcWare Plus

Hz. The offsets, needed for path correction, are computed in the trap routine and written to the corresponding correction generator (referenced by the descriptors hori_id and vert_id ) by the instruction CorrWrite. All the corrections will have immediate effect on the path.

The MoveL instruction must be programmed with the switch argument Corr when path corrections are used. Otherwise, no corrections will be executed.

When the first MoveL instruction is ready, the function CorrRead is used to read the sum of all the corrections (the total path correction) given by all the connected correction generators. The result of the total vertical path correction is written to the TeachPendant with the instruction TPWrite.

CorrDiscon will then disconnect the correction generator for vertical correction (referenced by the descriptor vert_id ). All corrections added by this correction generator will be removed from the total path correction. The corrections added by the correction generator for horizontal correction will still be preserved.

Finally, the function CorrClear will remove all outstanding connected correction generators and their previously added corrections. In this case, it is only the correction generator for horizontal correction that will be removed. The timer interrupt will also be removed by the instruction IDelete.

The correction generators

Figure 3 Correction generators.

Limitations

A maximum number of 5 correction generators can be connected simultaneously.

Syntax

CorrCon

0 0 3

0 1 0




0 1 3

x y z

Vertical correction generator, with the sum of all its own path corrections.

Horizontal correction generator, with the sum of all its own path corrections.

Not connected correction generator.

Not connected correction generator.

Not connected correction generator.

The sum of all corrections done by all connected correction generators.

Path coordinate axis.

CorrCon ArcWare Plus

ArcWare Plus CorrWrite

CorrWrite Writes to a correction generator

CorrWrite is used to write offsets in the path coordinate system to a correction generator.

Example

VAR corrdescr id; VAR pos offset; ... CorrWrite id, offset;

The current offsets, stored in the variable offset , are written to the correction generator referenced by the descriptor id.

Arguments

CorrWrite Descr Data

Descr Data type: corrdescr

Descriptor of the correction generator.

Data Data type: pos

The offset to be written.

Example

See Instructions - CorrCon

Limitations

The best performance is achieved on straight paths. As the speed and angles between to consecutive linear paths increase, the deviation from the expected path will also increase. The same applies to circles with decreasing circle radius.

Syntax

CorrWrite

ArcWare Plus CorrRead

CorrRead Reads the current total offsets

CorrRead is used to read the total corrections delivered by all connected correction generators.

CorrRead can be used to:

  • find out how much the current path differs from the original path.
  • take actions to reduce the difference.

Example

VAR pos offset; ... offset := CorrRead();

The current offsets delivered by all connected correction generators are available in the variable offset.

Return value Data type: pos

The total absolute offsets delivered from all connected correction generators so far.

Example

See Instructions - CorrCon

Syntax

CorrRead ’(’ ’)’

A function with a return value of the data type pos.

CorrRead ArcWare Plus

Related information

Described in: Connects to a correction generator Instructions - CorrCon Disconnects from a correction generator Instructions - CorrDiscon Writes to a correction generator Instructions - CorrWrite Removes all correction generators Instructions - CorrClear Correction descriptor Data types - corrdescr