PowerMILL aftertreatment

  • Time:
  • Click:59
  • source:SCHOCH CNC Machining
To aftertreatment format, average user has the demand of 3 administrative levels: One, Powermill has those who fit requirement of him machine tool in the aftertreatment of the belt oneself, should revise nevertheless, additions and deletions some code. 2, did not suit, need adapting aftertreatment. 3, the code format of the machine tool differs completely with format of common G code, need to build brand-new aftertreatment. The article is aimed at only 1, 2 kinds of demand will undertake explaining, as to the 3rd kind is advanced piece category (ha, actually I also do not know, had not done) begin to intend the work now: 1, try to handle document of code of a few G with different controller, undertake comparative with the code of own machine tool next, choose to be close to his most. 2, open Ductpostdp-index.

Html, accurate stock issue sees a help. 3, move: Type of controller of Ductpost -w []>[Controller type] .

Opt, make OPT file thereby, this chooses the controller that is close to your machine tool most. Be like: Ductpost -w Hurco>Hurco.

Opt. Can open this Opt file at this moment with text editor: 1, of remaining part of program head, order adapt: This is inside the following definition: Define Block Tape Start ******************** End Define Define Block Tape End ******************* End Define you can be added according to your need, be like: Define Block Tape Start "%" N; "G17G90G80G40G49" End Define Define Block Tape End N; "M05" N; "M30" End Define notices advantage of method of this kind of quote is simple palpability nevertheless, but controller just handles it when character, and cannot exist with mode, specific can refer to other specification. 2, whether to need N firm? % :0001 N10G28G91X0Y0Z0 N30T1M6 N40G0G90X-25.

Y-40.

S800 M3 is like the N10 above this, N30, N40, the initiative, increment of other dilettante name, can define mostly most. If do not want a firm, can repair instead to be worth below: Define Format (N) Not Permanent End Define 3, whether to need Message? N60(MSG, toolpath Name: ET) N70(MSG, xyzxyz_cut_1 ET) N80(MSG, output: ET) N90(MSG, UNITS: MILLIMETRES ET) N100(MSG, TOOL COORDINATES: TIP ET) N110(MSG, the information above LOAD TOOL ET) , can revise what need for you, specific refer to a help. Optional also choose is not outputted, be like: The output format of Message Output = False 4, circular arc: This need is told, those who output R did not tell, say the output of I, J, K only. Have 3 kinds big roughly: A, I, J exports the absolutely coordinate worth that is the centre of a circle. Output of B, I, J is opposite coordinate value, particular value is: Coordinate of the centre of a circle is worth - circular arc only then dot coordinate (commonly used) output of C, I, J is opposite coordinate value, particular value is: Circular arc only then dot coordinate - value of coordinate of the centre of a circle is about this to see format of your machine tool come so specific setting, revise the following value to need for your place: Incremental Centre = True (opposite, conversely False is absolutely) have two kinds relatively, so: Scale Factor = 1 or - the circular arc that 1 have some of machine tool to cannot output 360 degrees additionally, need to be its cent a few paragraphs of output at this moment: The Full Circle = False 5, pattern that changes a knife: Be like: Inside Define Block Tool Change First N; OP; Change Tool; T ToolNum N; "G48" N; G1 0; Z FromZ End Define the code that when oneself add your machine tool to change a knife, can require, if open cutting tool length,compensate. 6, the code of rapid movement, sharp movement, circular arc motion: Refer to: Define block move circle N; G1; G2; G3; X; Y; Z; I; J; K; F; D end define define block move linear N; G1; G2; G3; G5; G6; X; Y; Z; ; T; S; M1; M2 end define define block move rapid N; G1; G2; G3; G5; G6; X; Y; Z; T; S; M1; M2 end define Ni Ye Ke Zai Bang Zhu Wen Jian De Zhi Yin Xia , amend the code above, be like: Do not want to output G17 and so on every time, can expunge G3. . . Understanding wants to be clear that what this code does before be being revised of course, notice backup additionally, restore at any time. 7, much axis: What Powermill does at this o'clock is first-rate, a few kinds of a few kinds of means that are like 4 axes, means of 5 axes have code to be able to consult. Be like: A of a disc is added in X axis, need to add only, revise the following: Fourth Rotary Table Axis:-(A.

Rotating About X.

) Define Format (A) Decimal Point = True Decimal Places = 3 End Define Word Order = (+ A) Define Keys Azimuth Axis Not Used Elevation Axis = A End Define Spindle Elevation Rotation = False ## Default Elevation Units = Degrees Elevation Axis Direction = .

0.

0.

0.

0.

0.

) Elevation Axis Parameters = (0.

0.

0.

1.

0.

0.

) Define Block Move Rapid N; G1; G2; G3; G6; X; Y; Z; A; H; M1; M2 End Define Define Block Move Linear N; G1; G2; X; Y; Z; A; F; M1; M2 End Define CNC Milling CNC Machining