int ServoOnNMCModule3AxisStatic(Stage & stage)
{
	stage.StopMotor(eXAxis, AMP_ENABLE | STOP_ABRUPT | ADV_FEATURE);
	stage.StopMotor(eYAxis, AMP_ENABLE | STOP_ABRUPT | ADV_FEATURE);
	stage.StopMotor(eZAxis, AMP_ENABLE | STOP_ABRUPT | ADV_FEATURE);

//Reset position counters to zero:
//	g_stage.ResetPos();

//Clear any error bits
//	ServoClearBits(1);
//	ServoClearBits(2);
//	ServoClearBits(3);
	
	return 0;
};
int ServoOnNMCModule3AxisNoReset()
{
	g_stage.StopMotor(eXAxis, AMP_ENABLE | STOP_SMOOTH );
	g_stage.StopMotor(eYAxis, AMP_ENABLE | STOP_SMOOTH );
	g_stage.StopMotor(eZAxis, AMP_ENABLE | STOP_SMOOTH );

//	ServoResetPos(1);
//	ServoResetPos(2);
//	ServoResetPos(3);

//Clear any error bits
//	ServoClearBits(1);
//	ServoClearBits(2);
//	ServoClearBits(3);
	
	return 0;
};