The procedure for setting the SOS Hall probe zero-offsets is as follows.
To accurately set the zero registers, you need to degauss the SOS and then follow this procedure:
stopsos
cd "~cvxwrks/SLOWC/SOS"
(DOUBLE QUOTES NEEDED)
ld < hallcmd.o
hallcmd
a03 ia
(This addresses probe 3, ie, the quad, and asks for
the autorange status: 0 for off, 1 for on. It should be on and
return a value of 1.)
sb1
, and then check it by typing ia
.
z
to initiate zeroing. In autorange mode, this causes
all field range zero registers to be updated such that the
hall probe reads 0.0 Gauss on all ranges. This takes about 10
seconds during which the hall probes will ignore new commands,
so DON'T TYPE ANYTHING FOR 15 SECONDS!!!
iz
to see what the zero register is on range 0. It should
return a number within a few Gauss of 170 Gauss.
sos
to restart the normal control program.