Table of Contents - TG Drives
Table of Contents - TG Drives
Table of Contents - TG Drives
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
196<br />
ModEn3-ModEn4<br />
EXTENDED REGISTER GROUPS<br />
Controls various aspects <strong>of</strong> this group.<br />
Bit0 (1) - Enable.<br />
Bit1 (2) - Enable hardware capture into CapCount and<br />
CapPos.<br />
On hardware capture, see Capture group, the CapPos<br />
and CapCount will be updated.<br />
Bit2 (4) - Reserved.<br />
Bit3 (8) - Reserved.<br />
Bit4 (16) - Ganged reset <strong>of</strong> ModEN3 and ModEN4<br />
simultaneously.<br />
Bit5 (32) - Ganged capture as b6 but done for all ModEN<br />
groups simultaneously.<br />
Bit6 (64) - Manual capture <strong>of</strong> ModEN3.Pos and<br />
ModEN3.Count into ModEN3.CapPos and<br />
ModEN3.CapCount.<br />
Bit7 (128) - Reset ModEN3.Pos and ModEN3.Count to<br />
zero.<br />
When writing to the Mode member the bits are evaluated<br />
in this order:<br />
Bit6 Manual capture<br />
Bit5 Ganged capture<br />
Bit7 Reset<br />
Bit4 Ganged reset<br />
This allowes for setting many bits at the same time.<br />
Note. Only bit b0 and b1 are present when read.<br />
ModEN3.Module 1 32 bit RW 0<br />
The position range <strong>of</strong> ModEN3.Pos. This value is always<br />
positive. (The period for this counter)<br />
ModEN3.Count 2 ±31 bit RW 0<br />
Number <strong>of</strong> period since last reset.<br />
ModEN3.Pos 3 32 bit RW 0<br />
The current position within tModEn3. Module. Thi<br />
sposition is always positive. A user can write a new<br />
position and the value will automatically be fitted within<br />
the period. ModeEn3.Pos and ModEn3.count will be<br />
updated. Example: If ModEn3.Module = 10000 and<br />
ModEn3.Mode = 1 an attempt to write the value 1234561<br />
to ModEn3.pos will read back as<br />
ModEn3.Pos = 3456<br />
ModEn3.Count = 12<br />
User's Manual 5.1 Inmotion Technologies AB<br />
Doc. No.9032 0027 01 (B), Rev. 11.07.2001