B kind grand program uses give an example

  • Time:
  • Click:120
  • source:LENA CNC Machining
The cirque that following plan institute show chooses the treatment of each aperture in Zhen Kongqun, we once used A kind grand program has solved this kind of problem, retry here with B kind grand program method will solve a problem. The treatment that cirque chooses Zhen Kongqun pursues grand program lieutenant general uses following variable: # 1 -- the A of initial point of view of the first aperture, in the literal variable that correspondence uses in the main program A assigns; # 3 -- Kong Jia is versed in plane of the R in fixed loop is worth C, in the literal variable that correspondence uses in the main program C assigns; # 9 -- the F of feed value of a quantity that Kong Jia is versed in, in the literal variable that correspondence uses in the main program F assigns; # 11 -- the Kong Shu H that should machine aperture, in the literal variable that correspondence uses in the main program H assigns; # 18 -- the cirque radius with treatment located aperture is worth R, in the literal variable that correspondence uses in the main program R assigns; # 26 -- hole depth coordinate is worth Z, in the literal variable that correspondence uses in the main program Z assigns; # 30 -- datum mark, namely the X coordinate of cirque body center is worth XO; # 31 -- datum mark, namely the Y coordinate of cirque body center is worth YO; # 32 -- the serial number I that machines aperture currently; # 33 -- the angle that machines I aperture currently; # 100 -- the amount that already processed aperture; # 101 -- the X coordinate value that machines aperture currently, initial value installs the X coordinate that is cirque body center to be worth XO; # 102 -- the Y coordinate value that machines aperture currently, initial value installs the Y coordinate that is cirque body center to be worth YO. Grand program writes the user as follows: # of 30= of O8000N8010   #   of   of   of   of   of   of   of   of   of   of   of   of   of   of   of   of 101     / / datum mark saves # of 31= of N8020 #   of   of   of   of   of   of   of   of   of   of   of   of   of   of   of   of   of 102     /The value after each character is variable in afore-mentioned block of ~ of Z of ~ of R of ~ of H of ~ of F of ~ of C of ~ of G65 P8000 A all should press the set-point in part drawing appearance to assign. CNC Milling