You have an aluminum bar of 116 mm length and 50 mm diameter
Solution
G-Code which has many variants ,is the common name for the most widely used numerical control (NC) programming language.it is used mainly in computer aided manufacturing to control automated machine tools.G-code is sometimes called G programming language,not to be confused with lab VIEW\'s G programming language.
G-code is a language in which people tell computized machine tools how to make something.the \"how\" is defined by instructions on wher to move ,how fast to move,and what path to move.the most common suitation is that,within the machine tool,cutting tool is moved according to these instructions through a toolpath and cuts away material toleave only the finished workpiece.the same concept also extends to non cutting tools such as forming or burnishing tools,photoplotting,additive methods such as 3D printing,and measuring instruments.
several points to note:
1. there is a room for some progrmming style,even in this short program.the grouping of codes in line NO6 could have been put on multiple lines.doing so mayhave made it easier to follow program execution.
2. many codes are \"modal\",meaning that they stay in effect until they are cancelled or replaced by a contradictorycode.for example once variable speed cutting(CSS) had been selected (G96).it stayed in effect until the end of the program.in operation,the spindle speed would increase as the tool neared the center of the work in order to maintain a constant surface speed.similarly,once rapid feed was selected(GOO), all tools movements would be rapid until a feed rate code(G01,G02,G03)was selected.
3.it is common practice to use a load monitor with CNC machinery.the load monitor will stop the machine if the spindle or feed loads exceed a presest value that is setduring the set-up operations.the jog of the load monitors are various:
1.prevent machine damage in the event of the tool breakageor a programming mistake.
2.warm of the tool that is becoming dull and that is needs to be replaced or sharpened .thus the operator who is busy tending multiple machines will be told by a machine essentiality
4.it is common practice to bring the tool in rapidly to a safe [o[int that is close to the part-in this case 0.1\"away_and then start feeding the tool.how close that \"safe\" distance is depends on the preference of the programmer and operator and the maximum material condition from the raw stack.

