In the metric system of units, the small est unit in crement is 0001 of a millimeter

glish mode


#101 = 19/64


Returns 0296875 (English units)


G91 G01 X[ROUND[#101]] F100


Uses X02969 motion


In the metric system of units, the small est unit in crement is 0001 of a millimeter (one mi cron),


so the copper busbar bending machine round ing will be to the three dec i mal place ac cu racy (to the least in cre ment) In a CNC


state ment, the round ing will be ac cu rate to 3-dec i mal places:


G21


Metric mode


#101 = 19/64


Returns 0296875 (Metric units)


G91 G01 X[ROUND[#101]] F2500


Uses X0297 motion


As a sim pli fied ex am ple of a pos si ble ap pli ca tion, sev eral sim u lated mo tions will be pro –


grammed us ing a pre de fined Busway Press Clamp Machine frac tional di men sions The tool will move in three stages – rapid out


from the start po si tion, feed out a lit tle fur ther, and rapid back in to the start po si tion (only one


axis custom processing machine is used in the demonstration) In or der to test the us age of the ROUND func tion on the ma chine


con trol, first en ter the fol low ing pro gram into the con trol sys tem, then reg is ter the cur rent XY co –


or di nate of the tool po si tion at the start of pro cess ing:


N1 G20


English units input


N2 #100 = 3 + 19/64


Input value of 3296875


(motion A)


N3 #101 = 2 + 5/64


Input value of 2078125


(motion B)


N4 G91 G00 X-#100


Incremental motion A to the left X-32969


N5 G01 X-#101 F200


Incremental motion B to the left X-20781


N6 G00 X[#100+#101]


Incremental motion A+B to the right may not be rounded


N7 M00


End of example


Com pare the tool po si tion at the be gin ning of the test, be fore run ning the pro gram, and com –


pare it with the tool po si tion af ter the pro gram has been ex e cuted The tool po si tion co or di nates


XY may or may not be the same The start po si tion and the end po si tion of the tool may be off, de –


pend ing on the type of value to be rounded This prob lem is com pounded by the fact that the er ror


is ac cu mu la tive – the more parts are ma chined, the more se vere the de vi a tion er ror will be This is


due to the round ing ef fect of the con trol sys tem

You can leave a response, or trackback from your own site.

Leave a Reply

Sorry, no posts matched your criteria.