These are my test results from a simple basic script
get_zoom z
print "zoom index", z
get_av a
print "aperture index", a
get_focus f
print "focus index", f
get_iso i
print "iso index", i
Zoom index
camera index range zoom range
sd1200 0-6 1x-3x
sd890 0-11 1x-5x
sx240 0-100 1x-20x
Aperture index
sx240
index f-stop
9 3.5
10 4.0
11 4.5
12 5.0
13 5.6
14 6.3
15 7.1
16 8.0
sd1200, sd890 have no iris and always return 0
iso index
index iso-sx240 iso-sd1200 iso-sd890
-1 n/a n/a hi-auto
0 auto auto/3200 auto
1 100 80 80
2 200 100 100
3 400 200 200
4 800 400 400
5 1600 800 800
6 3200 1600 1600
*sd1200 has a scene mode "iso3200" which returns 0. It's not a true ISO but a pixel binning.
focus index
distance index-sx240 index-sd1200 index-sd890
5cm 50 50 60
10cm 99
20cm 191
50cm 660
2m 2240 1978 2500
inf -1 -1 65535
*sd1200, sd890 have macro, normal, and infinity setting. The inf setting didn't return -1 on sd890
**The values are very approximate. sx240 has a focus display bar graph and I read the bar when
it was in the middle of the number next to it. Not clear how to actually read it.