You likely have the Z steps per unit set wrong. It will depend on your encoder count, the reduction and the ballscrew pitch.
So encoder x reduction divided by pitch = steps per unit.
Z up is a positive move, down a negative. Fully up in machine coordinates for Z is zero and thus all moves in machine coords are a negative value.
Chattering/buzzing when stationary is a servo tuning issue, you may have to tune your drives or possibly just have to fine tune the CSMIO.
Hood