User's Manual

Table Of Contents
16-Axis MACRO CPU User Manual
16-Axis MACRO CPU Software Setup 35
Binding the Servo ICs to the MACRO ICs
Using the bits in X:MI200, the firmware attaches to each MACRO IC up to two Servo ICs and up to two
Encoder ICs. This allows up to eight servo channels and six encoder feedback channels per MACRO IC.
The Servo IC’s base addresses are registered in read-only MI179 (Servo IC 1) and MI180 (Servo IC 1).
The Encoder IC’s base addresses are registered in read-only MI189 (Encoder IC 1) and MI190 (Encoder IC
1). The logic that is used to assign the detected Servo IC’s to each of the MACRO ICs is defined below.
BITn System Status (MI4)
15 Detected Ubus Encoder IC 7 Attached to MACRO IC 0 and 1 (two channels each)
16 Detected Ubus Encoder 6 Attached to MACRO IC 1
17 Detected Ubus Encoder 5 Attached to MACRO IC 0
18 Detected Ubus Servo IC 4 Attached to MACRO IC 1
19 Detected Ubus Servo IC 3 Attached to MACRO IC 1
20 Detected Ubus Servo IC 2 Attached to MACRO IC 0
21 Detected Ubus Servo IC 1 Attached to MACRO IC 0
22 Detected CPU MACRO IC 1 ($C0C0)
23 Detected CPU MACRO IC 0 ($C080)
Mapping Machine Interface Channels to MACRO Servo Nodes
MACRO IC 0
From MI179 and MI180 and SW1, the 48-bit MI181 – MI188 variables are created. These variables bind
each of the machine interface channels (four channels per IC) to a MACRO Servo Node. The Y:MI18n
portion has the machine interface channel base address and the X:MI18n portion has the MACRO Servo
Node flag word address. These MI181 – MI188 are 48-bit status only variables and are read only, so this
binding cannot be changed. $$$ or $$$*** is done for each power-on. The following describes the
assignment for the Servo ICs in the standard address settings:
MACRO Node Address for
the Command/Status Flag
X:I181…188
$C0A3 MI181
$C0A7 MI182
$C0AB MI183
$C0AF MI184
$C0B3 MI185
$C0B7 MI186
$C0BB MI187
$C0BF MI188