Download SW manual - TG Drives

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