Originally posted by jeffkrol hmmm... can't be correct. The f range pins are (as far as I know) just 0 or 1 state.
A code for f5.6-22 does not exist. I also suspect that mechanism you saw changes chip data and sends aperature range through the data bus.
From Mr. Dimitrov
Features and Operation of the Ka Mount But why does this not happen in the M and Av modes? After all, knowing the positions of its stop-down coupler, the body should be able to calculate how many f-stops the lens is closed down. Knowing the narrowest aperture and the number of f-stops, the body could calculate the widest aperture, and then the manually-selected f-stop. Yes, but only for prime lenses! Variable-aperture zooms have fixed contact patterns, and can therefore only indicate a fixed aperture range. In this case, the incorrect f-stop may be displayed in the viewfinder, and I guess that because of this, Pentax left the feature completely out. Note that due to the TTL exposure metering, the film will be exposed properly regardless of the fact that the f-stop's numerical value may be calculated incorrectly.
They must have "worked around" this a some point but I do not believe it's w/ the 3-2 pins.
sorry for the technical term
the contacts are organized such that a simple sliding switch at 1/2 stop increments can update both the maximum and minimum apatures in what is called a "grey scale encoder" technically. This simple switch which reconnects the 5 data bits (pins) as focal length changes is included in the lens.
If I can find the part in my junk bin, I will photograph it so you can see and understand how this works. I bought the lens with the front group missing because I was looking to play with the conversion of a K mount lens to KA
Edit note, in early KA mount variable apature lenses, they simply didn't care because cameras hat TTL metering that corrected for different F stops automatically, and for flash they had true TTL.
the need to have a switch and correct apature came about with P-TTL flash, that is required to know the real apatures for flash calculation.