Reference Manual

Turbo PMAC/PMAC2 Software Reference
Turbo PMAC Global I-Variables 138
Ixx91 tells how the data at the address specified by Ixx81 is to be interpreted. It also determines whether
the location specified by Ixx81 is a multiplexer (thumbwheel) port address, an address in Turbo PMAC’s
own memory and I/O space, or a MACRO node number.
Note:
It is easier to specify this parameter in hexadecimal form ($ prefix). If I9 is set to 2
or 3, the value of this variable will be reported back to the host in hexadecimal
form.
R/D Converter Read: If Ixx91 contains a value from $000000 to $070000, Ixx81 contains the
multiplexer port address of an Acc-8D Option 7 R/D-converter board. The value of Ixx81 matches the
base address of the board (0 to 248 decimal, $0 to $F8 hex) on the port as set by its DIP switches. If the
base address is 0, Ixx81 should be set to $100, because a value of 0 in Ixx81 disables the absolute read.
The following table lists the possible values of Ixx81 in this mode.
Ixx81 for Acc-8D Option 7 Resolver/Digital Converter
(Ixx91=$000000 - $070000)
Addresses are Multiplexer Port Addresses
Board
Mux.
Addr.
Ixx81
Board
Mux.
Addr.
Ixx81
Board
Mux.
Addr.
Ixx81
Board
Mux.
Addr.
Ixx81
0
$000100
64
$000040
128
$000080
192
$0000C0
8
$000008
72
$000048
136
$000088
200
$0000C8
16
$000010
80
$000050
144
$000090
208
$0000D0
24
$000018
88
$000058
152
$000098
216
$0000D8
32
$000020
96
$000060
160
$0000A0
224
$0000E0
40
$000028
104
$000068
168
$0000A8
232
$0000E8
48
$000030
112
$000070
176
$0000B0
240
$0000F0
56
$000038
120
$000078
184
$0000B8
248
$0000F8
Parallel Data Read: If Ixx91 contains a value from $080000 to $180000 or from $480000 to $580000,
Ixx81 specifies the address of a Turbo PMAC memory or I/O register where it will read the power-on
phase position. Bits 16 to 21 of Ixx91, which can take a value of $08 to $18 (8 to 24) in this mode,
specify the number of bits, starting at bit 0, of the register to be read for the absolute position.
Bit 22 of Ixx91 controls whether the address specified in Ixx81 is an X-register or a Y-register. If bit 22
of Ixx91 is set to 0, it is a Y-register. If bit 22 of Ixx91 is set to 1, it is an X-register.
There are four common sources of parallel data for absolute power-on phase position read. The first
source is an Acc-14D/V parallel I/O board. Acc-14D/V boards map into Y-registers, so bit 22 of Ixx91 is
set to 0. The settings of Ixx81 for each port of each possible Acc-14DV board are shown in the following
table: