贴上它:
global machine_limits
MOM_output_literal "(X Min:[ format "%.2f" $machine_limits(0,0)])"
MOM_output_literal "(X Max:[ format "%.2f" $machine_limits(0,1)])"
MOM_output_literal "(Y Min:[ format "%.2f" $machine_limits(1,0)])"
MOM_output_literal "(Y Max:[ format "%.2f" $machine_limits(1,1)])"
MOM_output_literal "(Z Min:[ format "%.2f" $machine_limits(2,0)])"
MOM_output_literal "(Z Max:[ format "%.2f" $machine_limits(2,1)])" |