Table of Contents - TG Drives
Table of Contents - TG Drives
Table of Contents - TG Drives
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
168<br />
XENDAT,<br />
XENDAT.Rdy is 1.<br />
0 Read<br />
absolute position from sensor.<br />
Setup: None<br />
EXTENDED REGISTER GROUPS<br />
Check: XENDAT.Status -> ALRMbit, CRCbit and<br />
PWRbit<br />
Result: If the check passed then, ENDAT.Pos = The<br />
32bit signed position.<br />
1 Select memory<br />
area.<br />
The selected memory area will be valid until a new is<br />
choosen.<br />
Setup:<br />
Set ENDAT.Addr with the wanted MRS code. For MRScodes<br />
see the ENDAT manual.<br />
Check:<br />
After the transfer is completed then verify that<br />
ENDAT.Addr holds the wanted MRS code.<br />
Result:<br />
If the check passed then the wanted MRS code,<br />
memory area is selected within the sensor.<br />
2 Receive test values from sensor. NYI<br />
3 Send parameter<br />
to sensor.<br />
Setup:<br />
Select the appropriate memory area, MRS-code, using<br />
a type 1 transfer.<br />
ENDAT.Addr = address<br />
<strong>of</strong> the parameter to write to.<br />
ENDAT.Data = 16-bit data to write.<br />
Check:<br />
After the transfer is completed verify that ENDAT.Addr<br />
holds the address <strong>of</strong> the parameter and check<br />
XENDAT.Status PWRbit,<br />
CRCbit. (ALRMbit is not valid at this time and must be<br />
ignored).<br />
Result:<br />
If the check passed then the data has been written to<br />
the parameter.<br />
4 Receive<br />
parameter from sensor.<br />
Setup:<br />
Select the appropriate memory area, MRS-code, using<br />
a type 1 transfer.<br />
XENDAT.Addr = the address<br />
<strong>of</strong> the parameter to read.<br />
Check:<br />
User's Manual 5.1 Inmotion Technologies AB<br />
Doc. No.9032 0027 01 (B), Rev. 11.07.2001