WIA8.310.0001驅動軸工藝及銑鍵槽夾具設計(含全套CAD圖紙)
WIA8.310.0001驅動軸工藝及銑鍵槽夾具設計(含全套CAD圖紙),wia8,驅動,工藝,鍵槽,夾具,設計,全套,cad,圖紙
B64114EN/01PROGRAMMING8. COORDINATE VALUE AND DIMENSION298.3DECIMAL POINT PROGRAMMINGExplanationsExamplesNumerical values can be entered with a decimal point. A decimal point can be used when entering a distance, time, or speed. Decimal points can be specified with the following addresses:X, Y, Z, U, V, W, A, B, C, I, J, K, R, and F.There are two types of decimal point notation: calculatortype notation and standard notation.When calculatortype decimal notation is used, a value without decimal point is considered to be specified in millimeters. When standard decimal notation is used, such a value is considered to be specified in least input increments. Select either calculatortype or standard decimal notation by using the DPI bit (bit 0 of parameter 3401).Values can be specified both with and without decimal point in a single program.Program commandPocket calculator type decimal point programmingStandard type decimal point programmingX1000Command value with- out decimal point1000mmUnit : mm1mmUnit : Least input increment(0.001 mm)X1000.0Command value with decimal point1000mmUnit : mm1000mmUnit : mmWARNINGIn a single block, specify a G code before entering a value. The position of decimal point may depend on the command.Examples:G20;Input in inchesX1.0 G04;X1.0 is considered to be a distance and processed as X10000. This command is equivalent to G04 X10000. The tool dwells for 10 seconds.G04 X1.0;Equivalent to G04 X1000. The tool dwells for one second.NOTE1 Fractions less than the least input increment are truncated.Examples:X1.23456;Truncated to X1.234 when the least input increment is 0.001 mm.Processed as X1.2345 when the least input increment is 0.0001 inch.2 When more than eight digits are specified, an alarm occurs. If a value is entered with a decimal point, the number of digits is also checked after the value is converted to an integer according to the least input increment.Examples:X1.23456789; P/S alarm 003 occurs because more than eight digits are specified.X123456.7;If the least input increment is 0.001 mm, the value is converted to integer123456700. Because the integer has more than eight digits, an P/S alarm 003 occurs.B-64114CM/01編程8. 坐標值和尺寸8.3小數(shù)點編程數(shù)值可以用小數(shù)點輸入。距離、時間或速度的輸入可使用小數(shù)點。下列地 址可用小數(shù)點:X,Y,Z,U,V,W,A,B,C,I,J,K,R和F。說明有兩種類型的小數(shù)點表示法:計算器型表示法和標準表示法。當用計算 器型表示法時,不帶小數(shù)點的值的單位認為是mm。當用標準表示法時,這樣的值以最小輸入增量為單位指定。小數(shù)點表示法的選擇由3401號參數(shù) 的第0位(DPI)確定。帶小數(shù)點和不帶小數(shù)點的值可在一個程序中指定。例程序指令袖珍計算器型 小數(shù)點編程標準型小 數(shù)點編程X1000不帶小數(shù) 點指令值1000mm單位:mm1mm單位:最小輸入增量單位(0.001mm)X1000.0 帶小數(shù) 點指令值1000mm單位:mm1000mm單位:mm警告在一個單獨的程序段中,輸入數(shù)值之前指定G20/G21代碼。小數(shù)點的位置取決于指令。 例如:G20;英輸入X1.0 G04;X1.0被當做距離并且被處理為X10000.該指令等效于G04X10000.刀具暫停10秒G04X1.0;等效于G04 X1000.刀具暫停1秒注1. 小于最小輸入增量單位的小數(shù)被舍去 例如: X1.23456;當最小輸入增量單位是0.001mm時,處理為X1.234,當最小輸入增量單位是0.0001inch時,處理成X1.23452. 當指定多于8位數(shù)時,產生報警。如果輸入帶小數(shù)點的值,將該值按照最小輸入增量單位轉換為整數(shù)后 也要檢查其位數(shù)。例如: X1.23456789;產生003號P/S報警,因為指定了多于8位的數(shù)。 X123456.7;如果最小輸入增量單位是0.001mm,該值轉換為整數(shù)是123456700。因為整數(shù)超過8位,產生003號P/S報警8. COORDINATE VALUE AND DIMENSIONPROGRAMMINGB64114EN/018.4DIAMETER AND RADIUS PROGRAMMINGSince the work cross section is usually circular in CNC lathe control programming, its dimensions can be specified in two ways :Diameter and RadiusWhen the diameter is specified, it is called diameter programming and when the radius is specified, it is called radius programming.ABR2R1D1D2X axisD1, D2 : Diameter programmingR1, R2 : Radius programmingZ axisExplanationsNotes on diameter programming/radius programming for each commandRadius programming or diameter programming can be specified by parameter DIA (No.1006#3). When using diameter programming, note the conditions listed in the table 8.4.Table 8.4 Notes on specifying diameter valueItemNotesX axis commandSpecified with a diameter valueIncremental commandSpecified with a diameter valueIn the above figure, specifies D2 minus D1 for tool path B to A.Coordinate system setting (G50)Specifies a coordinate value with a diame- ter valueComponent of tool offset valueParameter (No.5004#1) determines either diameter or radius valueParameters in canned cycle, such as cutting depth along X axis. (R)Specifies a radius valueRadius designation in circular in- terpolation (R, I, K, and etc.)Specifies a radius valueFeedrate along axisSpecifies change of radius/rev. or change of radius/min.Display of axis positionDisplayed as diameter valueB-64114CM/01編程8. 坐標值和尺寸8.4 直徑編程和 半徑編程因為在CNC車床控制程序中工件橫截面通常是圓,所以其尺寸可用兩種方 法指令:直徑和半徑 當用直徑指令時,叫做直徑編程;當用半徑指令時,叫做半徑編程。說明 關于直徑編程/半徑編程半徑編程或直徑編程由1006號參數(shù)的第3位(DIA)設定。使用直徑編程 注意事項時,注意表8.4中所列的條件。表8.4 關于指令直徑值的注意事項項目注釋X軸指令用直徑值指定增量指令用直徑值指定。在上圖中,對刀具軌跡B到A用D2減D1指定坐標系設定(G50)用直徑值指定坐標值刀偏值分量由5004號參數(shù)的第1位決定是直徑值或半徑 值固定循環(huán)參數(shù),如沿X軸切深(R)指定半徑值圓弧插補中的半徑(R,1,K等)指定半徑值沿軸進給速度指定半徑的變化/轉或半徑的變化/分軸位置顯示按直徑值顯示B64114EN/01PROGRAMMING9. SPINDLE SPEED FUNCTION9SPINDLE SPEED FUNCTIONThe spindle speed can be controlled by specifying a value following address S.In addition, the spindle can be rotated by a specified angle. This chapter contains the following topics.9.1 SPECIFYING THE SPINDLE SPEED WITH A CODE9.2 SPECIFYING THE SPINDLE SPEED VALUE DIRECTLY (S5DIGIT COMMAND)9.3 CONSTANT SURFACE SPEED CONTROL (G96, G97)9.4 SPINDLE SPEED FLUCTUATION DETECTION FUNCTION (G25, G26)9.5 SPINDLE POSITIONING FUNCTIONB-64114CM/01編程9. 主軸速度功能9 主軸速度功能用地址 S 及其后面的數(shù)值指令主軸速度。 此外,主軸還可以按指定角度回轉。 本章包括下列內容:9.1 用代碼指定主軸速度9.2 直接指定主軸速度值(S5 位數(shù)指令)9.3 恒表面切削速度控制(G96、G97)9.4 主軸速度波動檢測功能(G25,G26)9.5 主軸定位功能9. SPINDLE SPEED FUNCTIONPROGRAMMINGB64114EN/019.1SPECIFYING THE SPINDLE SPEED WITH A CODE9.2SPECIFYING THE SPINDLE SPEED VALUE DIRECTLY (S5DIGIT COMMAND)Specifying a value following address S sends code and strobe signals to the machine. On the machine, the signals are used to control the spindle speed. A block can contain only one S code. Refer to the appropriate manual provided by the machine tool builder for details such as the number of digits in an S code or the execution order when a move command and an S code command are in the same block.The spindle speed can be specified directly by address S followed by a fivedigit value (min1). The unit for specifying the spindle speed may vary depending on the machine tool builder. Refer to the appropriate manual provided by the machine tool builder for details.B-64114CM/01編程9. 主軸速度功能9.1 用代碼指定主軸速度9.2直接指定主軸速度值(S5 位數(shù)指令)主軸速度代碼為地址 S 及其后面的數(shù)值。代碼信號和選通信號送到機床。 在機床上,該信號用于控制主軸速度。一個程序段只能包含一個 S 代碼。 至于更詳細的情況,如 S 代碼后跟幾位數(shù),或當運動指令和 S 代碼指令在 同一個程序段中執(zhí)行次序等,請見機床制造商的說明書。S 后可指令 5 位數(shù)(min-1)以直接指定主軸速度。主軸速度的指令單位取決 于機床的設定。詳見機床制造商的說明書。B64114EN/01PROGRAMMING9. SPINDLE SPEED FUNCTION9.3CONSTANT SURFACE SPEED CONTROL(G96, G97)FormatConstant surface speed control commandConstant surface speed control cancel commandClamp of maximum spindle speedSpecify the surface speed (relative speed between the tool and workpiece) following S. The spindle is rotated so that the surface speed is constant regardless of the position of the tool.G96 S;Surface speed (m/min or feet/min)Note : This surface speed unit may change according to machine tool builders specification.G97 S;Spindle speed (min1)Note : This surface speed unit may change according to machine tool builders specification.G50 S_ ;The maximum spindle speed (min1) follows S.B-64114CM/01編程9. 主軸速度功能在 S 后指定表面速度(刀具與工件間的相對速度)。主軸回轉而表面速度保持恒定,與刀具位置無關。93恒表面切削速度控制(G96,G97)指令格式 恒表面速度切 削的控制指令G96 S ;表面速度(米/分或英尺/分)注:此表面速度的單位根據(jù)制造商的設定而變化 恒表面切削 速度控制的取消指令G97 S ;主軸速度(min-1) 最大主軸 速度箝制G50 S_; S 后跟最大主軸速度值(min-1)9. SPINDLE SPEED FUNCTIONPROGRAMMINGB64114EN/01ExplanationsConstant surface speed control command (G96)G96 (constant surface speed control command) is a modal G code. After a G96 command is specified, the program enters the constant surface speed control mode (G96 mode) and specified S values are assumed as a surface speed. A G96 command must specify the axis along which constant surface speed control is applied. A G97 command cancels the G96 mode.When constant surface speed control is applied, a spindle speed higher than the value specified in G50S_; (maximum spindle speed) is clamped at the maximum spindle speed. When the power is turned on, the maximum spindle speed is not yet set and the speed is not clamped.S (surface speed) commands in the G96 mode are assumed as S= 0 (the surface speed is 0) until M03 (rotating the spindle in the positive direction) or M04 (rotating the spindle in the negative direction) appears in the program.Fig. 9.3 (a) Relation between workpiece radius, and surface speedSpindle speed (min1)The spindle speed (min1) almost coincides with the surface speed (m/min) at approx. 160 mm (radius).spindle speedSetting the workpiece coordinate system for constant surface speed controlTo execute the constant surface speed control, it is necessary to set the work coordinate system , Z axis, (axis to which the constant surface speed control applies) becomes zero.X Z0Fig. 9.3 (b) Example of the workpiece coordinate system for constant surface speed controlB-64114CM/01編程9. 主軸速度功能說明 恒表面切削速度控制指 令(G96)G96(恒表面切削速度控制指令)是模態(tài) G 代碼。在指定 G96 指令后,程序 進入恒表面速度控制方式(G96 方式)且以指定 S 值作為表面速度。G96 指 令必須指定恒表面切削速度控制應用那個軸。G97 指令取消 G96 方式。在 用恒表面切削速度控制時,主軸速度若高于 G50S_;(最大主軸速度)中規(guī) 定的值,就被箝在最大主軸速度。若通電時尚未指定最大主軸速度,則主 軸速度不被箝制。在 G96 程序段的 S(表面速度)指令被當作 S=0(表面速度是 0),直到程序中出現(xiàn) M03(主軸正轉)或 M04(主軸反轉)。 圖 9.3(a) 工件半徑、主軸速度和表面速度之間的關系 為恒表面切削速度控制設定 工件坐標系為執(zhí)行恒表面切削速度控制,必須設定工件坐標系。使 X 軸(用恒表面切 削速度控制的軸)的中心坐標值為 0。圖9.3(b) 恒表面切削速度控制的工件坐標系B64114EN/01PROGRAMMING9. SPINDLE SPEED FUNCTIONSurface speed specified in the G96 modeG96 modeG97 modeSpecify the surface speed in m/min(or feet/min)G97 commandStore the surface speed in m/min(or feet/min)SpecifiedCommand for the spindle speedThe specified spindle speed (min1) is usedNot specifiedThe surface speed (m/min or feet/min) is converted to the spindle speed (min1)Commands other than G96SpecifiedG96 commandThe specified surfacespeed is usedCommand for the surface speedNot specifiedThe stored surface speed (m/min or feet/min) is used. If no surface speed is stored, 0 is assumed.RestrictionsConstant surface speed control for threadingThe constant surface speed control is also effective during threading. Accordingly, it is recommended that the constant surface speed control be invalidated with G97 command before starting the scroll threading and taper threading, because the response problem in the servo system may not be considered when the spindle speed changes.B-64114CM/01編程9. 主軸速度功能 G96方式中指定 的表面速度限制 螺紋切削時的 恒表面切削速度恒表面切削速度控制在切削螺紋時也有效。因此,建議在開始渦形螺紋和 錐螺紋加工前用 G97 指令取消恒表面速度控制,因為可不考慮主軸速度變 化時伺服系統(tǒng)的響應問題。9. SPINDLE SPEED FUNCTIONPROGRAMMINGB64114EN/01Constant surface speed control for rapid traverse (G00)In a rapid traverse block specified by G00, the constant surface speed control is not made by calculating the surface speed to a transient change of the tool position, but is made by calculating the surface speed based on the position at the end point of the rapid traverse block, on the condition that cutting is not executed at rapid traverse.Radius valueProgrammed pathXTool path after offset1N16N16N15N15N14N142 4N113N11700675600500400375300200100f600Z300 400 500 600 700 800 900 1000 1100 1200 1300 1400 150014751050ExampleN8 G00 X1000.0Z1400.0 ; N9 T33;N11 X400.0Z1050.0;N12 G50S3000 ; (Designation of max. spindle speed)N13 G96S200 ; (Surface speed 200m/min)N14 G01 Z 700.0F1000 ; N15 X600.0Z 400.0;N16 Z ;The CNC calculates the spindle speed which is proportional to the specified surface speed at the position of the programmed coordinate value on the X axis. This is not the value calculated according to the X axis coordinate after offset when offset is valid. At the end point N15 in the example above, the speed at 600 dia. (Which is not the turret center but the tool nose) is 200 m/min. If X axis coordinate value is negative, the CNC uses the absolute value.B-64114CM/01編程9. 主軸速度功能 快速移動時的恒表面切削速度控制(G00)在指定的快速移動 G00 的程序段中,恒表面切削速度控制不是根據(jù)刀具 位置的瞬間變化計算表面速度,而是根據(jù)該段的終點計算的表面速度實現(xiàn)控制的。因為快速移動時不切削。例N8 G00 X1000.0Z1400.0;N9 T33;N11 X400.0Z1050.0;N12 G50S3000;(最大主軸速度給定) N13 G96S200;(表面速度 200 m/min) N14 G01 Z 700.0F1000;N15 X600.0Z 400.0;N16 Z.;CNC 計算主軸速度,它正比于 X 軸上程編坐標值指定的位置處的表面速 度。但這并不是根據(jù)偏置后的 X 坐標值計算出來的值。在上例 N15 的終 點即直徑為 600 處(不是轉塔中心而是刀尖)的速度是 200m/min。如果 X 軸 坐標值是負的,CNC 使用絕對值。B64114EN/01PROGRAMMING9. SPINDLE SPEED FUNCTION9.4SPINDLE SPEED FLUCTUATION DETECTION FUNCTION(G25, G26)FormatWith this function, an overheat alarm (No. 704) is raised when the spindle speed deviates from the specified speed due to machine conditions.This function is useful, for example, for preventing the seizure of the guide bushing.G26 enables spindle speed fluctuation detection. G25 disables spindle speed fluctuation detection.G26 Pp Qq Rr ;G25 ;Spindle fluctuation detection onSpindle fluctuation detection offp : Time (in ms) from the issue of a new spindle rotation command (S command) to the start of checking whether the actual spindle speed is so fast that an overheat can occur.When a specified speed is reached within the time period of P, spindle speed is checked at that time.q : Tolerance (%) of a specified spindle speedq = 1actual spindle speed 100 specified spindle speedIf a specified spindle speed lies within this range, it is regarded as having reached the specified value. Then, an actual spindle speed is checked.r : Spindle speed fluctuation (%) at which the actual spindle speed is so fast that an overheat can occurr= 1speed that can cause overheat 100specified spindle speedG26 enables the spindle speed fluctuation detection function, and G25 disables the spindle speed fluctuation detection.Even if G25 is specified, p, q, and r are not cleared. 主軸速度功能編程B-64114CM/019.4 主軸速度波 動檢測功能(G25,G26)指令格式使用此功能,當主軸速度由于機床的原因而偏離指定的速度時,產生 704號過熱報警。此功能是有用的,例如,防止軸瓦卡住。G26 使主軸速度波動檢測功能生效G25 取消主軸速度波動檢測功能G26PpQqRr;主軸波動檢測功能生效G25;主軸波動檢測取消p:從發(fā)出主軸回轉指令(S 指令)到開始檢查發(fā)生過熱時的主軸速度(即從 發(fā)出 S 指令到檢查開始)的時間,以 ms 為單位。如果在 p 期間內到達指定的速度,就在此刻檢查主軸速度。q:指令的主軸速度的容差(%)q = 1 實際的主軸度 指定的主軸速度100如果速度處于此范圍內,就認為已經到達了指定值。于是,進行實際 主軸速度的檢查。r:主軸速度的波動范圍(%),在此范圍內將出現(xiàn)過熱。r = 1 能引起過熱的度 指定的主軸速度100G26 使主軸速度波動檢測功能生效,G25 取消主軸速度波動檢測功能。 即使指令了 G25,p、q 和 r 也不被清除。9. SPINDLE SPEED FUNCTIONPROGRAMMINGB64114EN/01ExplanationsThe fluctuation of the spindle speed is detected as follows:1. When an alarm is issued after a specified spindle speed is reachedSpindle speedrq d SpecifiedqdspeedrActual speedCheckNo checkCheckSpecification of another speedStart of checkAlarmTime2. When an alarm is issued before a specified spindle speed is reachedSpindle speedrq d Specifiedq d speedrpActual speedCheckNo checkCheckSpecification of another speedStart of checkAlarmTimeSpecified speed :(Speed specified by address S and fivedigit value) (spindle override)Actual speed : Speed detected with a position coderp : Time elapses since the specified speed changes until a check starts.q : (Percentage tolerance for a check to start) (specified speed)r : (Percentage fluctuation detected as an alarm condition) (specified speed)d : Fluctuation detected as an alarm (specified in parameter 4913)An alarm is issued when the difference between the specified speed and the actual speed exceeds both r and d.B-64114CM/01編程9. 主軸速度功能說明主軸速度的波動檢測如下:1. 報警發(fā)生在指定的主軸速度到達以后指定的 速度指定另外的速度2. 報警發(fā)生在到達指定的主軸指定的速度0指定的速度:(由地址 S 和 5 位數(shù)指定的速度)(主軸倍率) 實際速度:用位置編碼器檢測的速度p:從指定的速度改變起到檢查開始的時間 q:(開始檢查的容差百分比)(指定的速度) r:(檢測報警條件的波動百分比)(指定的速度) d:檢測報警的波動(由 4913 號參數(shù)設定) 當指定的速度和實際速度之差超過 r 和 d 時發(fā)出報警。B64114EN/01PROGRAMMING9. SPINDLE SPEED FUNCTIONNOTE1 When an alarm is issued in automatic operation, a singleblock stop occurs. The spindle overheat alarm is indicated on the CRT screen, and the alarm signal “SPAL” is output (set to 1 for the presence of an alarm). This signal is clearedby resetting.2 Even when reset operation is performed after an alarm occurs, the alarm is issued again unless the cause of the alarm is corrected.3 No check is made during spindle stop state (*SSTP = 0).4 By setting the parameter (No. 4913), an allowable range of speed fluctuations can be set which suppresses theoccurrence of an alarm. However, an alarm is issued one second later if the actual speed is found to be 0 min1.5 The values of p, q, and r specified in the G26 block are setin the following parameters. If the specification of p, q, or r is omitted, the value set in the corresponding parameter is referenced.p : Parameter No. 4914 q : Parameter No. 4911 r : Parameter No. 49126 Bit 0 (FLR) of parameter No. 4900 can be used to specify0.1% as the units of the specified q and r values.B-64114CM/01編程9. 主軸速度功能注1在自動運行中發(fā)出報警時,出現(xiàn)單程序段停止。主軸過熱報警顯 示在 CRT 屏幕上,同時輸出報警信號 SPAL(報警信號出現(xiàn)時置為1)。此信號由復位清除。2在報警出現(xiàn)后即使進行復位操作,報警仍再出現(xiàn),除非正確地排 除了故障,報警才清除。3在主軸停止狀態(tài)不進行檢查(*SSTP = 0)。44913 號參數(shù)可以設定抑制報警的速度波動允許范圍。但是如果實 際的主軸速度為 0min-1,則在 1 秒后會出現(xiàn)報警。5在 G26 程序段中可以指定 p,q 和 r 的值被設定在下列參數(shù)中。如果 p,q 或 r 被省略的話,可以參考參數(shù)中的值。P:參數(shù) 4914Q:參數(shù) 4911R:參數(shù) 4912 6參數(shù) 4900 的第 0 位(FLR)可以用來指定 0.1%為 p 和 q 值的單位。9. SPINDLE SPEED FUNCTIONPROGRAMMINGB64114EN/019.5SPINDLE POSITIONING FUNCTION9.5.1Spindle Orientation9.5.2Spindle PositioningPositioning with a semifixed angle specified by an M codeIn turning, the spindle connected to the spindle motor is rotated at a certain speed to rotate the workpiece mounted o
收藏