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.

EXTENDED REGISTER GROUPS<br />

Pos Inc<br />

Pr<strong>of</strong>ile Acc<br />

PData<br />

Pos Mod On<br />

EXAMPLE USAGE<br />

.<br />

.<br />

Pg.Acc ,1 000 000<br />

Pg.Ret ,500 000<br />

Pg.PosSpeed ,200 000<br />

Pg.RSlope ,16<br />

pos abs 81920<br />

wait Pg.RDY<br />

.<br />

.<br />

pr<strong>of</strong>ile acc @Custom<br />

wait Pg.RDY<br />

.<br />

.<br />

Pg, Pr<strong>of</strong>ile generator<br />

Move to the absolute position ( + Pg.DPos)¨.<br />

Generate pr<strong>of</strong>ile based on array defined at line<br />

.<br />

, Defines one segment <strong>of</strong> customised pr<strong>of</strong>ile.<br />

<br />

(clr) Connects additional command values from<br />

gearbox function.<br />

; Array <strong>of</strong> acc. segments defining a pr<strong>of</strong>ile<br />

Custom:<br />

;set up<br />

;the pr<strong>of</strong>ile generator<br />

;for a simple movement<br />

;<br />

;move ...<br />

;wait for completion<br />

;start the custom pr<strong>of</strong>ile<br />

;wait for completion<br />

leration [incs/s 2 pdata acc1 ,time1 ;first segment (acce<br />

] ;time [ms])<br />

pdata acc2 ,time2 ;second segment<br />

pdata<br />

.<br />

acc3 ,time3 ;third segment<br />

pdata 0 0 ;end <strong>of</strong> array<br />

IMPROVEMENTS TO 4.0<br />

The instruction ’Wait rator to be finished, this<br />

is not the same as saying that the position has been physically reached. The pr<strong>of</strong>ile<br />

generator generates set point values to the regulator and it’s up to the regulator to<br />

follow the pr<strong>of</strong>ile based on the regulator settings.<br />

To test these examples a ’stiff’ regulator setting is required.<br />

The code examples below, executed on the DMC 2 Pg.RDY’ will wait for the pr<strong>of</strong>ile gene<br />

, will behave as expected. That<br />

was not the case on the old DMC. All examples use the resolver high-resolution<br />

mode.<br />

MODIFY DESTINATION POSITION WHILE POSITIONING.<br />

Let Pg.Acc, 18784200 ; Setup the pr<strong>of</strong>ile generator<br />

Let Pg.Decel, Pg.Acc<br />

Let Pg.PosSpeed, 3276800<br />

Pos Abs 1000000<br />

Wait Pg.APos > 500000<br />

Let Pg.DPos, 200000<br />

; Start positioning.<br />

; Wait until we reached a certain position.<br />

; Now, modify the destination position.<br />

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

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

69

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

Saved successfully!

Ooh no, something went wrong!