What did you have to do to get it to work?
I looked here http://www.aemelectronics.com/Images...%2030-4100.pdf ...page 3 shows the wiring diagram for the unit...based on how they're grounding it...I'd say you might want to connect the reference ground pin from the PCM (pin 41) to the same chassis ground that you connected the AEM unit to...which may correct the 0.2-0.4 difference...right now there's probably some resistance between wherever the PCM is grounded and wherever your AEM controller is grounded...making the 2 ground planes different...which will cause some error in your readings.
Further down in that manual, on page 5, they show a table of voltage versus AFR...you showed above that you were playing with 2 versions of your equation...one with 10 and one with 9.8...looks like 0 volts on that controller is 10.0:1 on gasoline...at 4.99 volts (the last given value on the table) the AFR is 19.98...given those numbers, you have a known voltage range of 4.99, and a known AFR range of 9.98...your equation should be ([PID.2811]/(4.99/9.98))+10. That simplifies to ([PID.2811]/.5)+10...so make sure thats the version you have in there.
After that (making sure the equation is correct and allowing the PCM to reference the same ground plane as the AEM), if you still find that it's off a little bit...I'd say take the car out of closed loop to allow yourself to try to stabilize the AFR at a bunch of different points (use the VCM controls in the scanner) just to make sure it's the same error across the board...add fuel until the wideband says 12.0 and see what your software says...then 12.5 then 13.0 then 13.5 then 14.0 and so on...if you do it at idle, you're not going to hurt it going lean either...I'd go all the way up to 16.5 or even 17.0 if it'll idle up there...depending on your engine setup, you may need to hold the engine up at 2000 RPM or something to get stable consistent AFR readings...but even then...holding it at 2000 RPM and no load at all (just in neutral)...you won't be able to hurt it from being lean momentarily while you make notes on the error.
Once you're satisfied that the error is the same across the board...add the error to the 10 in your equation and you should be all set.