You are on page 1of 3

Aerotech Inc. MXH Calibration Rev.

B
2/4/03
Page 1 of 1
mxhcal.doc
Aerotech Inc.
MXH with Calibration

This document explains how to load a calibration file into the MXH multiplier.

Equipment needed:
1) MXH Multiplier Revision C or higher
2) U500PCI ULTRA Rev A or above
3) MXH Calibration kit: Aerotech P/N: MXH CAL CABLE/ES14296
a) Special EPROM: Aerotech P/N ECP01009CA
b) Serial interface cable from U500PCI to MXH (per 630C1925)
c) Shorting plug for MXH J1 (per 630C1925)
4) mxhcal.exe utility program (located in \utility subdirectory)
5) mxhpci.jwp utility program (located in \utility subdirectory)
6) qlb50032.dll system DLL V5.15 or above (located in installation directory)
7) Power source (see notes below)

Figure 1: Shows U500PCI, serial cable, MXH multiplier, shorting plug and cable to external
power supply (power supply not shown)


Figure 2: Shorting plug used during programming
Aerotech Inc. MXH Calibration Rev. B
2/4/03
Page 2 of 2
mxhcal.doc
Aerotech Inc.


Figure 3: Serial programming interface cable



Procedure:
1) Disconnect power from MXH multiplier and remove cover
2) Remove M19 EPROM and place on static conducting material.
(Note the location of pin 1 - to the left of the notch on the IC/silkscreen)
3) Install special EPROM ECP01009CA.
4) Connect 25pin D shorting plug to J1 of MXH
5) Temporarily remove JP5 from MXH
6) Connect programming cable between U500PCI P7 and MXH J3
7) Connect power supply to J2 of MXH ( See notes below )
8) Exit the MMI or other applications which communicate with the U500
9) After generating a calibration file (Absolute Error format from an HP Laser), run the command
line utility mxhcal.exe from PC to load calibration file

10) After programming
a) Remove power from the MXH
b) Remove the 25pin D shorting plug from J1
c) Remove serial programming cable from MXH J3
d) Re-install original EPROM in M19 socket. Note the location of IC pin 1
e) Re-install JP5 on MXH
f) Replace cover

J3 F.S.
1
M11
M10
J1
Female
T
P
4
T
P
5
T
P
6
T
P
7
T
P
8
T
P
9
T
P
1
0
T
P
1
1
T
P
1
2
T
P
1
3
T
P
1
4
T
P
1
5
T
P
1
6
T
P
1
7
T
P
1
8
T
P
1
9
JP2 JP3 JP4 JP5
J2
Male
X1
32 MHz
1
VR1
EZ1086CT
C1
+
M17
1
M16
M15
R15 R16
R17 R18
R14
1
M
1
4
2
6
L
S
3
2
M13
M12
J
P
1
0

O
H
M
M
1
9
X
C
1
7
S
3
0
X
L
M
1
8
A
M
2
6
L
S
3
2
M
2
0
A
M
2
6
L
S
3
2
1
690C1543 Rev. C
M7
M6
M5
M4
M3
M6
M5
M9
M8
Aerotech Inc. MXH Calibration Rev. B
2/4/03
Page 3 of 3
mxhcal.doc
Aerotech Inc.
Programming notes:
1) Pin 1 of M19 is the first pin to the left of the small notch shown in the above figure. Care must
be taken to install M19 correctly, otherwise permanent damage may occur to the MXH.
2) It is not necessary to power off the PC when connecting / disconnecting the programming
cable to the MXH multiplier.
3) A DR300, DR500, DR600, DR800, or BB501 can be used to supply power to the MXH J2
connector during programming. In this case a simple one to one ribbon cable is used to
connect MXH J2 (25D male) to the encoder connector on one of the above boards (25D
female). Alternatively, an external 5V@ 500ma power supply can be connected between J2
pin 3 (+5V) and J2 pin 21 (gnd).
4) The mxhcal.exe utility program cannot be run at the same time as the MMI. Doing so may
cause the PC to hang up.

Calibration overview:
The MXH utility program mxhcal.exe converts an Aerotech calibration file (Absolute Error) into a
format suitable for storage in the MXH flash memory. The MXH multiplier uses this data to send
real-time corrected quadrature back to the controller or data acquisition system.

The calibration does not take effect until the first marker pulse occurs, at which time it resets the
internal calibration table index. This typically occurs during a home cycle. Subsequent marker
pulses also cause this reset to occur. The internal correction data stored in flash is automatically
adjusted so that there is zero correction at the marker location.

During programming, the user is prompted for a home offset. This is a number that represents
the distance from the start of the ASCII calibration (input) file to the marker, and is entered in
encoder counts. The sign of this number should always be positive. This is axis parameter
number 106,206,306,406 for axis 1-4 in the U500 parameter file (Home offset (machine steps)).

The user is also prompted for the home direction. This must correspond to the actual home
direction of the system and the direction that was used when the calibration data was taken. See
axis parameters 102,202,302,402 Home direction is CCW (y/n) for axis 1-4 in the U500
parameter file.

Utility programs:
mxhdump.exe can be used to view the contents of the flash memory which contains the
calibration data. It also requires mxhpci.jwp, software version 5.15 or higher, and associated
hardware described above. The user should enter -1 to select the calibration flash chip. The
calibration is centered around address 0x8000 which corresponds to the marker location. Each
address corresponds to 32768 encoder counts and the correction data is in encoder counts.

Larger table addresses correspond to positive encoder counts, lower addresses correspond to
negative encoder counts. The mxhcal.exe program uses the home offset entered to determine
the marker location. The cal file data is then shifted so that the correction at the marker ( at the
home offset ) is 0. The mxhcal.exe program assumes the cal file starts from the home position
with data points indexing away from home.

address encoder value
0xFFFF positive
0x8000 marker
0x0000 negative

You might also like