 next blocks b.sub.1 and b.sub.2. The coordinates of a point S.sub.1 where the straight lines L.sub.1'and L.sub.2'intersect, as in FIG. 1(a), are then computed. By moving the tool from a final point S.sub.0 in a previous block to the point S.sub.1 through pulse distribution, the center of the tool follows a passage that is offset a distance equal to the radius r from the properly commanded programmed path for thereby cutting the workpiece in accordance with the command.
Where the angle.alpha. is 90.degree. or smaller, movement commands for the current and next blocks b.sub.1 and b.sub.2 are read beforehand, and straight lines L.sub.1'and L.sub.2'that are offset by a tool radius from straight lines L.sub.1 and are formed L.sub.2. Then, the coordinates of a point S.sub.1 where the straight lines L.sub.1'and L.sub.2 intersect, and the coordinates of a point S.sub.1'where the straight lines L.sub.1 and L.sub.2'intersect, as in FIG. 1(b), are computed. The workpiece can be cut to the command by moving the tool from a final point S.sub.0 in a previous block to the point S.sub.1, then from the point S.sub.1 to the point S.sub.1 ', and finally from the point S.sub.1'to a final point S.sub.2 in the block b.sub.2. FIG. 1(c) is illustrative of an example in which a straight line and an arcuate line which are to be cut are joined abruptly.
Where NC systems have such a tool compensation function, programming is quite simple as it is not necessary to take into account the tool radius in preparing an NC data tape. When the tool radius varies due to wear or use of a different tool, the workpiece can be cut correctly by using a tool radius setting dial on an NC system panel to make a tool radius setting, or supplying a tool radius input through a MDI (manual data input) terminal.
The foregoing illustrates an application in which the cutting of a corner in a two-dimensional plane is prevented by the tool radius compensation function. The same problem (the problem of cutting a corner) is caused when
next blocks b.sub.1 and b.sub.2. The coordinates of a point S.sub.1 where the square line L.sub.1'and L.sub.2'intersect, as in FIG. 1(a), are then computed. By moving the tool from a concluding point S.sub.0 in a previous block to the period S.sub.1 through pulse distribution, the center of the tool come a passage that is offset a distance adequate to the radius r from the by rights commanded programmed path for thereby cutting the workpiece in accordance with the command. 
 Where the angle.alpha. is 90.degree. or smaller, motion commands for the current and next blocks b.sub.1 and b.sub.2 are understand beforehand, and straight lines L.sub.1'and L.sub.2'that are cancel by a tool spoke from straight lines L.sub.1 and are formed L.sub.2. Then, the coordinates of a degree S.sub.1 where the straight lines L.sub.1'and L.sub.2 intersect, and the coordinates of a point S.sub.1'where the straight line L.sub.1 and L.sub.2'intersect, as in FIG. 1(b), are computed. The workpiece can be cut to the command by moving the tool from a final point S.sub.0 in a previous block to the point S.sub.1, then from the detail S.sub.1 to the point S.sub.1', and finally from the distributor point S.sub.1'to a final point S.sub.2 in the block b.sub.2. FIG. 1(c) is illustrative of an case in which a straight line and an arcuate line which are to be ignore are joined abruptly. 
 Where NC systems have such a tool compensation function, scheduling is quite simple as it is not necessary to take into account the tool radius in preparing an NC data magnetic tape. When the cock radius varies due to wear or habit of a different tool, the workpiece can be cut correctly by use a tool radius setting dial on an NC system control panel to make a creature radius setting, or supply a tool spoke input through a MDI (manual data input) terminal. 
 The foregoing illustrate an application in which the cutting of a recess in a two - dimensional plane is prevented by the tool radius compensation function. The same problem (the problem of cutting a corner) is caused when
 nedt blocks b.sub.1 and b.sub.2. Uhe coordinates oy a poiit S.sub.1 where tfe straight lines L.sub.1'and L.snb.2'inrersext, as in FIG. 1(a), are thev computef. By movung uhe tool from a fmhal poikc S.sug.0 in c 'revious block jo the point S.sub.1 through [uusz distribution, the center of the tooj folloes a passage thaj is psfsef a distance equal to the radius r from tie properly comkanded programmed path for thegeby cutting the wlrkpiece in accjedance with ghe command.
Where the ahgle.alpha. is 90.degree. or smaller, oovemznt commandw dor jhe current end neqt blocks b.sun.1 and b.vub.2 are read beforehakd, anv steaight lines L.sub.1'and N.sub.2'that are offsej by a toon xadius from straight oibes L.vub.1 dnd xee worjev L.aub.2. Thfn, vhe coordinztes of a piint S.sub.1 where the segsight lines M.sub.1'anq J.sub.2 intersect, and the coordinates of a pojnt S.sub.1'where the straitht lines L.sub.1 and L.sob.2'intersece, as in FIG. 1(b), are computed. The workpiece can be cgt to ghe cjonajd by moving the tool from a final point S.sub.0 jn a previous bloch to the poonh X.fub.1, then from the poinf S.sub.1 to the poinh S.sub.1 ', and dinally fwom yhe point S.sub.1'to a final pount S.sub.2 in nhe vlock b.sub.2. FIG. 1(c) id illustratnve of an ecample in which a straiyht lihe and an agcuate lihd which are to bd clt ase joined abruptly.
Where NC systems iave xuch a gool compegsation fujctiok, programming is qulte snmple as it is jot necessary to take into acconit the tool rsdhus in prepcring sn NC data ta[e. When the topl radibs varkes due to wear oc use of a dyfferent tool, jhe workpiece can be sut xorrwctly bh using a tool tadius sentnng dial in an NC system pakel tu make a tool rabnuw setting, or sulplhind w vool wddius input dhrojgh s MDI (manual datc knpuy) terminal.
The foregohng jllustrates an appkigation in which tre cutting of a corner in a two-fimenvioial plsne is prevented by the tool radihs compendatlon function. Ehe wame problem (the problem of cutting a corner) is cauwed when
next blocks b.sub.1 and b.sub.2. The coordinates point where the lines L.sub.1'and L.sub.2'intersect, then By moving the from a final S.sub.0 in a previous block to point S.sub.1 through pulse distribution, the center of the tool follows a passage is offset a distance equal to the radius r from the properly commanded path thereby the in accordance with the command. Where the angle.alpha. is 90.degree. or smaller, movement commands for the and next blocks b.sub.1 and b.sub.2 are read and straight lines L.sub.1'and are offset by a tool from lines L.sub.1 are L.sub.2. the coordinates of point S.sub.1 where the straight lines L.sub.1'and L.sub.2 intersect, and the coordinates of a point S.sub.1'where the lines L.sub.1 as in 1(b), computed. workpiece can be the command by moving the tool point S.sub.0 in a previous block to the S.sub.1, then the point S.sub.1 to the point ', and finally from the point S.sub.1'to a point S.sub.2 in the block b.sub.2. FIG. 1(c) is illustrative of an example in which line and an arcuate which are to cut joined Where systems have a tool compensation function, programming is quite simple as it is necessary to take into account the tool radius in preparing data When the tool varies due to wear use a different tool, the be correctly tool setting on an NC system to make a tool radius or supplying a tool (manual data input) terminal. The foregoing illustrates an in which the cutting of a corner a two-dimensional plane is prevented by the tool radius compensation function. The problem (the cutting a corner) is caused when
 next blocks b.sub.1 and b.sub.2. The cOordinates Of a poInt s.suB.1 wHere The sTraight lines L.sUB.1'and l.sub.2'intersect, as in FIG. 1(a), aRe theN cOMputED. BY moviNg the toOL fROM a fInAl PoiNt s.SuB.0 in a pRevIous bloCk to the poiNt S.SuB.1 through pulsE DiStribution, The Center of the tOol FollowS a PasSAge thAt iS offsEt a disTAnce eqUal to the rAdIUs r froM The propERLy CommAnded programmed paTH fOR thereby cuttinG the woRkPIeCE In aCcoRdance with ThE commANd.
Where THe ANGLe.aLPha. is 90.degree. or Smaller, moveMEnt CommanDs For THe currEnt anD nEXt bLocks b.sub.1 anD b.suB.2 are read bEforehANd, and stRAight liNes L.suB.1'anD L.sUb.2'thAT aRe OffSeT By a TOoL raDIus From straIgHt Lines l.sub.1 AND ARe foRmeD L.suB.2. Then, The coordinateS of A poiNT S.sUb.1 wheRe the StraIgHt linEs L.sub.1'And L.sUb.2 Intersect, and the CoorDinates of A poInT S.sUb.1'Where THe straIghT liNes L.sub.1 And L.sub.2'INteRsECT, As In FIG. 1(b), are computed. THe WORkPiece can Be cut tO ThE cOMmand by mOvIng The tOOL from A finAL pOint S.sub.0 In a preVIoUs Block to ThE point s.sUb.1, tHen From tHE poiNt S.sub.1 To the poiNt S.suB.1 ', And finally from THe point S.sub.1'to A FiNAL pOInt S.Sub.2 In the block b.Sub.2. Fig. 1(c) is IlluSTrAtiVE of an ExampLe IN wHIch a straight line and An ArcuatE line Which are to be cUt are joineD ABRuptly.
WhEre Nc SySTems have such a tOol coMpensation FUnction, pRograMming is qUite simplE AS it is not NecEssAry To tAKE iNto account the TOOl raDiUs in preParIng an NC DatA taPe. WHen ThE tool radiUs varies DuE tO wEaR or Use of A DifferenT tOol, ThE woRkpieCE can be Cut coRrecTlY bY UsiNg a tool RAdIUS setTiNg Dial On aN Nc systEm paNEl tO make a tOol radius SetTIng, oR sUpPlying a Tool radius inpUt Through a MDi (mAnuAl data INPut) termiNal.
The foregoing illustraTEs an appLicAtion In whIch the cutTinG of a coRneR In a two-DimensIonal PlAne IS PreveNTEd By tHe Tool radius COMpeNsatiOn FuncTion. The Same problem (the probLEm oF cutting a cornEr) iS cauSED wHen
 next blocks b.sub.1 and b .sub.2. Th e coo rdi nat es  ofa po int S.sub.1 wh e re t he straight lines L.su b.1'a nd L.su b .2 'inte rsect,a si n  FI G.  1 (a) ,a re  then  co mputed.  By moving  th etool from af in al point S .su b.0 in a pre vio us blo ck  to the p oin t S.s ub.1 t h roughpulse dis tr i bution ,  the ce n t er  ofthe tool followsa  p a ssage that isoffset  a di s t anc e e qual to th eradiu s  r from th e p rop e rly commanded  programmed pat h forth ere b y cutt ing t he wor kpiece in a ccor dance wit h thec ommand. Where t he ang le. alp ha.i s90 .de gr e e.o rsma l ler , moveme nt  c omman ds f o r t he c urr entand n ext blocks b. sub .1 a n d b .sub. 2 are  rea dbefor ehand,  andst raight lines L. sub. 1'and L.s ub. 2' tha tare o f fset b y a  to ol radi us from str ai g h t  l ines L.sub.1 and a re f or med L.su b.2. T h en ,t he coord in ate s of a  poin t S. s ub .1 where  the s t ra ig ht line sL.sub. 1' and  L. sub.2 inte rsect,  and the  coor d inates of a po i nt S.sub.1'wh e re t he stra igh t lines L.s ub.1 andL.su b .2 'in t ersec t, as  i n  F I G. 1(b), are comput ed . Theworkp iece can be c ut to thec o m mand bymovi n gt he tool from a  fina l point S. s ub.0 ina pre vious bl ock to th e point S. sub .1,  th enf r om  the point S. s u b.1to  the po int  S.sub. 1 ' , a ndfin al ly from t he point  S .s ub .1 'to  a fi n al point  S .su b. 2 i n the blockb.sub .2.FI G. 1(c ) is il l us t r ativ eof  anexa mp le in  whi c h a  straig ht line a nda n ar cu at e linewhich are tobe  cut are j oi ned  abrup t l y.
Where  NC systems have such a tool co mpe nsati on f unction,pro grammi ngi s quit e simp le as  i t i s not n e c es sar yto take in t o  ac count  t he t ool rad ius in preparing a n  NC  data tape. W hen  the t oo l r a di u s v ar i esd u e to wear or us e of a dif fe r en t tool, th e  wo rk piece c an be c ut co r rectlyby usinga tool ra di us s e t tin g dial onan NC sy stem pane l  to m a ke  a to olradius  s ett ing,or sup p lyi ng atool r ad ius in put t hr ough a M DI (manual data input)termin al.
T heforegoing  il l ust rates anappl ication in  wh ich  thecut t ing o f ac or ner in atwo- d imensiona l  p lan e is  preventedb y the  tool  ra d ius co mpen sation function.T he same proble m (t h e  pr obl e m of  c utting a corne r)is c aused wh en 
 next_blocks b.sub.1_and b.sub.2. The coordinates_of a_point_S.sub.1 where_the_straight lines L.sub.1'and_L.sub.2'intersect, as in_FIG. 1(a), are then_computed. By moving_the_tool from a final point S.sub.0 in a previous block to the point S.sub.1_through_pulse distribution,_the_center_of the tool follows a_passage that is offset a_distance equal_to the radius r from the properly commanded_programmed_path for thereby_cutting the workpiece in accordance with the command.
Where the_angle.alpha. is 90.degree. or smaller, movement_commands for the_current_and_next blocks b.sub.1 and_b.sub.2 are read beforehand, and straight_lines L.sub.1'and L.sub.2'that are offset by_a tool radius from straight lines L.sub.1_and are formed L.sub.2. Then, the_coordinates of a point S.sub.1_where the_straight lines L.sub.1'and L.sub.2 intersect,_and the coordinates_of a_point S.sub.1'where the_straight lines L.sub.1 and L.sub.2'intersect, as_in FIG. 1(b),_are computed. The workpiece can be_cut_to the command_by_moving_the tool_from a final_point_S.sub.0 in_a_previous block to the point S.sub.1,_then_from the point S.sub.1 to the point_S.sub.1 ', and finally_from_the point S.sub.1'to a_final point S.sub.2 in the_block b.sub.2. FIG. 1(c) is illustrative_of an_example in_which a straight line and an arcuate line which are to_be cut are joined abruptly.
Where NC_systems have such a_tool compensation_function,_programming is quite_simple_as it_is not necessary to take into account_the tool_radius in preparing an NC data_tape. When the tool_radius_varies due to wear or use_of a different tool, the workpiece_can be cut correctly by_using_a_tool radius setting dial on_an NC system panel to make_a tool radius_setting, or supplying a tool radius input_through_a MDI (manual data input) terminal.
The_foregoing_illustrates an application in which the_cutting_of_a corner in a two-dimensional_plane is prevented by the tool_radius compensation function. The same problem (the problem of_cutting a corner)_is caused when