I've stopped using SB3 on my machine going on two years now, so I can't dig through the files, but I seem to remember finding a similar problem with the 3.8 beta versions in the standard C2 zeroing script where they were performing some wrong math with the pullback after the first touch. I wonder if that bad code was copied over to the scripts that are being used for the three axis plate. It had to do with adding a negative value to a variable or something like that, that actually commanded the Z axis to go down (negative) instead of up. If you compare the C2 script with the one you are trying to use, I'm guessing it will be different in the block of code I'm thinking of.
I could be wrong, but it sounds awfully familiar.
Scott
"He who would trade liberty for some temporary security, deserves neither liberty nor security" - Benjamin Franklin
"Make yourself sheep and the wolves will eat you" - Benjamin Franklin