09.12.2012 Views

Basic Characteristics RAPID

Basic Characteristics RAPID

Basic Characteristics RAPID

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Program execution<br />

Tool Data type: tooldata<br />

The tool used during programming, i.e. the TCP to which the ProgPoint position<br />

is related.<br />

[ \WObj] (Work Object) Data type: wobjdata<br />

The work object (coordinate system) to which the ProgPoint position is related.<br />

This argument can be omitted and, if it is, the position is related to the world coordinate<br />

system. However, if a stationary TCP or coordinated external axes are<br />

used, this argument must be specified.<br />

The arguments Tool and \WObj are used both to calculate the ProgPoint during<br />

programming and to calculate the current position during program execution if<br />

no ExeP argument is programmed.<br />

Program displacement means that the ProgDisp coordinate system is translated in relation<br />

to the object coordinate system. Since all positions are related to the ProgDisp<br />

coordinate system, all programmed positions will also be displaced. See Figure 1.<br />

y<br />

Original<br />

position, ProgPoint<br />

Program displacement<br />

x<br />

Object Coordinate System<br />

y<br />

New<br />

position, ExeP<br />

Program Displacement Coordinate System<br />

(ProgDisp)<br />

Figure 1 Displacement of a programmed position using program displacement.<br />

Program displacement is activated when the instruction PDispOn is executed and<br />

remains active until some other program displacement is activated (the instruction<br />

PDispSet or PDispOn) or until program displacement is deactivated (the instruction<br />

PDispOff).<br />

Only one program displacement can be active at any one time. Several PDispOn<br />

instructions, on the other hand, can be programmed one after the other and, in this case,<br />

the different program displacements will be added.<br />

Program displacement is calculated as the difference between ExeP and ProgPoint. If<br />

ExeP has not been specified, the current position of the robot at the time of the program<br />

execution is used instead. Since it is the actual position of the robot that is used, the<br />

robot should not move when PDispOn is executed.<br />

If the argument \Rot is used, the rotation is also calculated based on the tool orientation<br />

8-PDispOn-2 <strong>RAPID</strong> Reference Manual<br />

x

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!