28.11.2012 Views

Table of Contents - TG Drives

Table of Contents - TG Drives

Table of Contents - TG Drives

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.

PL2 MNEMONICS<br />

Standard set Mnemonics<br />

Pos ABS Lval<br />

statement.<br />

Equivalent to:<br />

[LET] Pg.Mode = 0<br />

Position absolute to Lval.<br />

Equivalent to:<br />

[LET] Pg.Mode = 0<br />

[LET] Pg.DPos = Lval<br />

IF Pg.PosSpeed = 0 THEN LBL1<br />

[LET] Pg.Speed = Pg.PosSpeed<br />

LBL1: [LET] Pg.Mode = 1<br />

Pos INC Lval Incremental positioning Lval from the last<br />

positioning statement.<br />

Equivalent to:<br />

[LET] Pg.Mode = 0<br />

ADD Pg.DPos, Lval<br />

IF Pg.POS Speed = 0 THEN LBL1<br />

[LET] Pg.Speed = Pg.PosSpeed<br />

LBL1: [LET] Pg.Mode = 1<br />

Pos REL Lval Position Lval relative to the current position, <strong>of</strong><br />

the pr<strong>of</strong>ile, not the motor.<br />

Equivalent to:<br />

[LET] Pg.Mode = 0<br />

[LET] Pg.DPos = Pg.APos + Lval<br />

IF Pg.PosSPeed = 0 THEN LBL1<br />

[LET] Pg.Speed = Pg.PosSpeed<br />

LBL1: [LET] Pg.Mode = 1<br />

Pos MOD ON [CLR] Allow the set-position to be modified by the<br />

cam/gearbox routines.<br />

Pos MOD OFF[CLR] Disallow the set-position to be modified by the<br />

cam / gearbox routines.If CLR is specified, the<br />

internal position, Pg.APos, is changed so there is<br />

no momentary change in position. If CLR is not<br />

specified, the motor slews toward the new setposition<br />

using a speed that is is determined by<br />

the regulator settings.<br />

PData LRval , SRval Specifies data for the PROFILE statement. The<br />

LRval argument is the desired acceleration, and<br />

SRval is the number <strong>of</strong> servo cycles this<br />

acceleration will use. A value <strong>of</strong> Zero indicates<br />

the end <strong>of</strong> the pr<strong>of</strong>ile. The variable Pg.ProScale<br />

can be used to scale the acceleration.<br />

A value <strong>of</strong> 1024 means no scaling is being done,<br />

and the LRval corresponds to increments/sec 2 .<br />

Pr<strong>of</strong>ile ACC RLine Argument RLine specifies the line number <strong>of</strong> the<br />

first PDATA to use. See PDATA.<br />

RefPos POS Lval Sets the reference position to Lval. This sets the<br />

current position reference relative to RD1.Pos so<br />

that the positioning statements, POS ABS etc.,<br />

refer to this reference position.<br />

The RD1.RPos returns the “referenced” position.<br />

Pg.APos, Pg.DPos are also affected.<br />

The REF POS statement is implemented with the<br />

aid <strong>of</strong> a position <strong>of</strong>fset from the resolver position.<br />

The <strong>of</strong>fset is Pg.PosOffs. To remove the effect <strong>of</strong><br />

User's Manual 5.1 Inmotion Technologies AB<br />

Doc. No.9032 0027 01 (B), Rev. 11.07.2001<br />

43

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

Saved successfully!

Ooh no, something went wrong!