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.

162<br />

ParArea,<br />

EXTENDED REGISTER GROUPS<br />

ParArea.Load, 4 ; Load from window #4<br />

wait ParArea.Mode and 1<br />

<br />

ParArea.Store 2 32bit=0..31<br />

16bit=0..63<br />

RW<br />

Store all Raw members into specified window.<br />

After a Load/Store operation a wait instruction should follow<br />

to make sure that the operation has finished before<br />

executing the next instruction. The CSum member is<br />

automatically calculated by the firmware.<br />

Ex.<br />

ParArea.Store, 4 ;Store from window #4<br />

wait ParArea.Mode and 1<br />

ParArea.Raw0..10 3 - 13 -2 31 ..2 31 -1 RW<br />

Parameter #n <strong>of</strong> the currently loaded window.<br />

ParArea.CSum 14 -2 31 ..2 31 -1 RW<br />

Checksum value.<br />

ParArea.S0..S10 15 - 25 -2 31 ..2 31 -1 RW<br />

Scaled RawX value. When this member is read then the<br />

following calculation is performed,<br />

RawX * ScaleX<br />

sX =<br />

65536<br />

The intention is to use the DIVMUL operation to calculate<br />

the scale value as, ParArea.scale2 = 7400 DIVMUL 800<br />

Scale s2 to return a full-scale reading <strong>of</strong> 7400 for a Raw<br />

value <strong>of</strong> 800.<br />

ParArea.S0..S10 26 - 36 -2 31 ..2 31 -1 RW<br />

The scale value used in the calculation when a sX member<br />

is read.<br />

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

Doc. No.9032 0027 01 (B), Rev. 11.07.2001

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

Saved successfully!

Ooh no, something went wrong!