G code data generation and modification method

The method of generating and modifying G-code data through an intermediate data table addresses the challenges of managing complex pipe bending processing systems by simplifying the search and modification of parameters, thereby reducing errors and improving efficiency.

CN119225290APending Publication Date: 2024-12-31ZHEJIANG CHANGXING HELIANG INTELLIGENT EQUIP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411275794.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-12
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

The existing pipe bending processing systems face challenges in efficiently modifying G-code data due to the large amount of processing codes and parameter data, leading to difficulty in finding and correcting instructions, which can result in search errors and modification failures.

Method used

A method is introduced to generate and modify G-code data by creating an intermediate data table that separates instructions and their parameters into distinct areas, allowing for easier parsing and modification, using a structured approach to facilitate accurate parameter changes.

Benefits of technology

The intermediate data table structure simplifies the understanding and modification of G-code data, reducing the likelihood of errors and enhancing the efficiency of parameter searches and modifications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119225290A_ABST
    Figure CN119225290A_ABST
Patent Text Reader

Abstract

The invention discloses a G code data generation and modification method. The method comprises the following specific steps: step 1, inputting original code data and generating a G code data table; 2, generating an intermediate data table according to the G code data table; and 3, when the parameters of the instructions on the G code data table are changed, firstly searching data corresponding to the changed parameters of the instructions on the intermediate data table, modifying the data so as to form a new intermediate data table, and then generating a new G code data table according to the new intermediate data table. In the invention, the intermediate data table decomposes the information in the original G code data table into a structure which is easier to understand, so that the data is easier to analyze and operate; g code instructions and parameters of the G code instructions are separated into different areas, so that program logic is clearer, and developers can conveniently understand code meanings and maintain the codes; when the G code data table needs to be modified, searching of the modified parameters is greatly facilitated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of pipe bending processing, and in particular to a method for generating and modifying G code data. Background Art

[0002] In the pipe bending processing technology, the execution of the pipe bending machine is programmed and controlled by G code. In the existing processing process, the original code data is directly input into the CNC system of the pipe bending machine, and the G code data table required for processing is directly generated through the original code data. The G code data table contains multiple code lines, each of which includes at least one instruction. An instruction consists of two parts: the processing code and the parameter value; for example, in the line of code data G90 G0 C5.000 V0.000, the two instructions G90 G0 represent unloading, the instruction C5.000 represents the bending axis to the unloading angle (5.000), and the instruction V0.000 represents the auxiliary push axis returning to the position (0.000).

[0003] However, when it is necessary to adjust the parameters in the G-code data table, it is necessary to directly find the instructions that need to be modified in the G-code data table and modify the instructions. Since the G-code data table contains a large amount of processing codes and parameter data, it is difficult to find the instructions, which can easily cause instruction search errors and lead to modification failures. Summary of the invention

[0004] The purpose of the present invention is to solve the deficiencies in the prior art and provide a method for generating and modifying G code data.

[0005] The object of the present invention is achieved through the following technical solution: a method for generating and modifying G code data, comprising the following specific steps:

[0006] Step 1: Input the original code data and generate the G code data table;

[0007] Step 2: Generate an intermediate data table based on the G code data table;

[0008] Step 3: When changing the parameters of the instructions on the G code data table, first find the data corresponding to the parameters of the changed instructions on the intermediate data table, modify the data to form a new intermediate data table, and then generate a new G code data table based on the new intermediate data table.

[0009] Preferably, in step 2, the specific method of generating the intermediate data table according to the G code data is as follows:

[0010] S1: read the G code data table, parse the instructions in each code line in the G code data table, and extract the parameter value corresponding to each instruction;

[0011] S2: define a data structure of an intermediate data table; the intermediate data table includes a code area and an assignment area, the code row includes a processing code; the assignment area includes a plurality of data rows, the data rows include processing code assignment units corresponding to the processing codes one by one;

[0012] S3: Fill the parameter values ​​extracted in step S1 into the processing code assignment units of the intermediate data table and make each processing code assignment unit correctly assigned, so as to obtain the intermediate data table, and then store the intermediate data table.

[0013] Preferably, the processing codes include Y, B, C, V, A, U, W, X, Z, ZA, ZB, ZC, P, Q, M, O, FY, FB, FC, F, delay.

[0014] Preferably, when the processing codes Y, B, C, V, A, U, W, X, Z, ZA, ZB, and ZC do not specify parameters, the values ​​assigned to the processing codes Y, B, C, V, A, U, W, X, Z, ZA, ZB, and ZC are "-999999";

[0015] When no parameter is specified for the processing code P, Q, M, O, FY, FB, FC, F, delay, the value assigned to the processing code P, Q, M, O, FY, FB, FC, F, delay is "-1".

[0016] Preferably, the code area further includes an identification code CMD, and the data row further includes an identification code assignment unit corresponding to the identification code CMD.

[0017] Preferably, when generating a G-code data table through an intermediate data table, the method is as follows:

[0018] Any processing code in the intermediate data table and its corresponding parameter value together constitute an instruction; each data row in the intermediate data table generates a code row in the G code data table;

[0019] When generating a code line, the instructions assigned with values ​​of "-999999" and "-1" in the data line are discarded, and the remaining instructions in the data line together constitute a code line of the G code data table.

[0020] Preferably, when modifying the parameter value of the processing code Y in the original code data, the parameter value of the corresponding processing code Y in the intermediate data table and the G code data is modified synchronously;

[0021] The modification formula of the parameter value of processing code Y is as follows:

[0022] The parameter value of processing code Y = the parameter value of processing code Y before modification + compensation value;

[0023] Compensation value = parameter value of processing code Y after modification - parameter value of processing code Y before modification;

[0024] When the parameter value of the processing code B in the original code data is modified, the parameter value of the corresponding processing code B in the intermediate data table and the G code data is modified synchronously;

[0025] The modification formula of the parameter value of processing code B is as follows:

[0026] The parameter value of processing code B = the parameter value of processing code B before modification + compensation value;

[0027] Compensation value = parameter value of processing code B after modification - parameter value of processing code B before modification.

[0028] As a preferred method, when modifying the parameter value of the processing code C in the original code data, the method is as follows:

[0029] N1: Search for the target data row in the intermediate data table. The target data row meets the following conditions:

[0030] The value of the processing code C is -999999, the value of the processing code O is 0, and the value of the identification code CMD of the data row is 542 or 543 or 545 or 546 or 595 or 596 or 597;

[0031] N2: Modify the values ​​of the processing codes C, Y, and V in the target data row. The modification method is as follows:

[0032] The parameter value of the processing code C after modification = the parameter value of the processing code C before modification + the compensation value;

[0033] Wherein, compensation value = parameter value of processing code C after modification - parameter value of processing code C before modification;

[0034] The parameter value of the modified processing code Y = -3.1415926 * the radius of the circular die corresponding to the bend * the bending angle corresponding to the bend * the Y-axis stretch coefficient corresponding to the bend / 180;

[0035] The parameter value of the modified processing code V = -3.1415926*radius of the corresponding bend*bending angle of the corresponding bend*V-axis stretch coefficient of the corresponding bend / 180.

[0036] The beneficial effects of the present invention are:

[0037] 1. In the present invention, the intermediate data table decomposes the information in the original G code data table into a more understandable structure, making the data easier to parse and operate; by separating the G code instructions and their parameters into different areas (code area and assignment area), the program logic is clearer, which is convenient for developers to understand the meaning of the code and maintain it; when the G code data table needs to be modified, it greatly facilitates the search for the modified parameters, effectively avoiding the problem of data modification failure due to parameter search errors.

[0038] 2. The intermediate data table already contains all the necessary parameter values ​​in the G-code data table, and these values ​​are organized into an easily accessible form, so finding and modifying specific parameters becomes easier and faster.

[0039] 3. The structure of the intermediate data table in which the assignment area and the code area are separated and correspond to each other helps technicians find potential errors or data inconsistencies during parameter modification. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 It is the G code data table.

[0041] Figure 2 It is the intermediate data table. DETAILED DESCRIPTION

[0042] The following will be combined with the accompanying drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field belong to the scope of protection of the present invention.

[0043] Those skilled in the art should understand that, in the disclosure of the present invention, the orientation or position relationship indicated by the terms "longitudinal", "lateral", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc. are based on the orientation or position relationship shown in the drawings, which are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operate in a specific orientation. Therefore, the above terms should not be understood as limiting the present invention.

[0044] It is to be understood that the term "one" should be understood as "at least one" or "one or more", that is, in one embodiment, the number of an element may be one, while in another embodiment, the number of the element may be multiple, and the term "one" should not be understood as a limitation on the quantity.

[0045] like Figure 1 to Figure 2As shown, a method for generating and modifying G code data includes the following specific steps:

[0046] Step 1: Input the original code data and generate the G-code data table.

[0047] In this step, the method of generating a G code data table from the original code data is a prior art. For the specific method, refer to the invention patent with publication number CN118426767A and invention name "A method for generating processing codes for pipe bending processing". The generated G code data table is as follows: Figure 1 shown.

[0048] Step 2: Generate an intermediate data table based on the G-code data table.

[0049] Among them, in this step, the specific method of generating the intermediate data table according to the G code data is as follows:

[0050] S1: Read the G code data table, parse the instructions in each code line in the G code data table, and extract the parameter value corresponding to each instruction.

[0051] S2: define the data structure of the intermediate data table; the intermediate data table includes a code area and an assignment area, and the code row includes a processing code; the assignment area includes a number of data rows, and the data row includes a processing code assignment unit corresponding to the processing code one by one.

[0052] The following is the code created when defining the data structure of the intermediate data table:

[0053]

[0054]

[0055]

[0056] like Figure 2 As shown in the figure, the intermediate data table after construction is a rectangular array table, in which the first line is a code area, and the code area includes several processing codes. Below the code area is an assignment area, and the assignment area is provided with several data rows, and the data rows include several processing code assignment units. The data in the processing code assignment unit is the parameter value of the processing code corresponding to the processing code assignment unit.

[0057] Processing codes include Y, B, C, V, A, U, W, X, Z, ZA, ZB, ZC, P, Q, M, O, FY, FB, FC, F, delay.

[0058] Among them, each processing code corresponds to a different meaning, as follows:

[0059] P means: G91 incremental, G90 absolute;

[0060] Q means: G00 rapid positioning, G01 cutting, G11 multi-axis linkage;

[0061] Y represents: data of feeding axis;

[0062] B represents: data of the rotation axis;

[0063] C represents: data of bending axis;

[0064] V means: data of auxiliary thrust axis;

[0065] A represents: data of the core pulling shaft;

[0066] U means: data of upper and lower axes;

[0067] W means: data of left and right axes;

[0068] X represents: data of clamping axis;

[0069] Z represents: data of the guide die axis;

[0070] M means: auxiliary code;

[0071] O means: feeding, bending, and avoiding actions;

[0072] FY means: feed axis speed (the speed is expressed by a ratio, which represents the multiple of the feed axis speed relative to the preset reference speed);

[0073] FB means: rotation axis speed (the speed is expressed by a magnification, which represents the multiple of the rotation axis speed relative to the preset reference speed);

[0074] FC means: bending axis speed (the speed is expressed by a magnification, which represents the multiple of the bending axis speed relative to the preset reference speed);

[0075] F represents: bending speed;

[0076] Delay means: delay time;

[0077] ZA means: data of the guide axis;

[0078] ZB means: data of the machine head flip axis;

[0079] ZC means: data of U-turn axis.

[0080] Among them, the feeding axis, rotating axis, bending axis, turning axis, auxiliary push axis, core pulling axis, upper and lower axes, left and right axes, clamping axis, guide axis, turning axis and other structures are conventional structures on the pipe bending machine and will not be described in detail in the present invention.

[0081] S3: Fill the parameter values ​​extracted in step S1 into the processing code assignment units of the intermediate data table and make each processing code assignment unit correctly assigned, so as to obtain the intermediate data table, and then store the intermediate data table.

[0082] Among them, when the processing code Y, B, C, V, A, U, W, X, Z, ZA, ZB, ZC has no specified parameters, the value assigned to the processing code Y, B, C, V, A, U, W, X, Z, ZA, ZB, ZC is "-999999";

[0083] When no parameter is specified for the processing code P, Q, M, O, FY, FB, FC, F, delay, the value assigned to the processing code P, Q, M, O, FY, FB, FC, F, delay is "-1".

[0084] The code area also includes an identification code CMD, and the data row also includes an identification code assignment unit corresponding to the identification code CMD. The identification code CMD has different assignments, and different assignments are used to identify the data row corresponding to the identification code. The identification code CMD can be used to quickly search the data row.

[0085] Different numerical values ​​of the identification code CMD represent different meanings, as follows:

[0086] 103 = clamping die;

[0087] 173 = clamping die right;

[0088] 203 = clamping die (X);

[0089] 273 = Clamping die right (X);

[0090] 303 = clamping start;

[0091] 403 = clamping confirmation;

[0092] 413 = clamping mold half clamp (X);

[0093] 104 = clamping die release;

[0094] 174 = clamp release right;

[0095] 204 = clamp release (X);

[0096] 274 = Clamp release right (X);

[0097] 304 = clamping die release start;

[0098] 404 = Clamp release confirmation;

[0099] 105 = Guide die clamping;

[0100] 205 = guide die clamping (Z);

[0101] 3205=guide die clamping (ZA);

[0102] 305 = Guide die clamping start;

[0103] 405 = Guide die clamping confirmation;

[0104] 106 = Guide die release;

[0105] 206 = Guide die release (Z);

[0106] 3206 = Guide die release (ZA);

[0107] 306 = Guide die release start;

[0108] 406 = Guide mold release confirmation;

[0109] 107 = material clamp is clamped;

[0110] 108 = material clamp is released;

[0111] 109 = core pulling and then pulling;

[0112] 209 = core pulling and back pulling (A);

[0113] 110 = core pulling reset;

[0114] 210 = core pulling reset (A);

[0115] 111 = core pulling to hole pulling station;

[0116] 211 = core pulling to hole pulling station (A);

[0117] 112 = core pulling control retreat;

[0118] 113 = clamping die guide clamping;

[0119] 213 = clamping die clamping (X) guiding die clamping (Z);

[0120] 3213 = clamping die clamping (X) guiding die clamping (ZA);

[0121] 114 = clamping die guide is released;

[0122] 214 = clamping die release (X) guiding die release (Z);

[0123] 3214 = Clamping die release (X) Guide die release (ZA);

[0124] 115 = Clamping die loose + Guide die half retreated;

[0125] 215 = Clamping die loose (X) Guide die half-retracted (Z);

[0126] 3215 = Clamping die loose (X) Guide die half-retracted (ZA);

[0127] 117 = material clamp clamps and core pulls back;

[0128] 217 = material clamp clamps and core pulls back (A);

[0129] 118 = Release the material clamp and reset the core;

[0130] 218 = material clamp clamping and core pulling reset (A);

[0131] 119 = guide die half retreat;

[0132] 219 = guide die half retreat (Z);

[0133] 3219 = Guide die half retreat (ZA);

[0134] 120 = half-advance of the guide die;

[0135] 220 = half-advance of the guide die (Z);

[0136] 3220 = half-advance of the guide die (ZA);

[0137] 121 = Trusteeship;

[0138] 122 = Under Trusteeship;

[0139] 123 = auxiliary propulsion;

[0140] 124 = auxiliary push back;

[0141] 224 = auxiliary push back (V);

[0142] 3224 = auxiliary push right return (Z);

[0143] 125 = Change R1 round die;

[0144] 225 = Change R1 round die (U);

[0145] 126 = Change R2 round die;

[0146] 226 = Change R2 round die (U);

[0147] 127 = die head demoulding;

[0148] 227 = die head demoulding (W);

[0149] 128 = machine head profiling;

[0150] 2281 = Machine head against die No. 1 (W);

[0151] 2282 = machine head against die No. 2 (W);

[0152] 2283 = Machine head against die No. 3 (W);

[0153] 2284 = machine head against die No. 4 (W);

[0154] 2285 = machine head against die No. 5 (W);

[0155] 2286 = machine head against die No. 6 (W);

[0156] 229 = demoulding of the material on the die head;

[0157] 133 = Change R3 round die;

[0158] 233 = Change R3 round die (U);

[0159] 134 = Change R4 round die;

[0160] 234 = Change R4 round die (U);

[0161] 137 = guide mold lock;

[0162] 138=Loose guide mold;

[0163] 139 = to the lowest position of the round die;

[0164] 239 = to the lowest position of the circular die (U);

[0165] 2391 = to the uppermost position of the circular die (U);

[0166] 2392 = Go to the left or right avoidance position (W);

[0167] 140 = Release the guide die and demould the die head;

[0168] 240 = guide mold release (Z) die head demoulding (W);

[0169] 3240 = Guide mold release (ZA) die head demoulding (W);

[0170] 150 = Waiting for the start button;

[0171] 151 = Loading machine;

[0172] 152 = Loader returns to position;

[0173] 153 = Prepare to unload;

[0174] 154 = unloading movement;

[0175] 155 = the pneumatic gripper of the material is opened;

[0176] 156 = guide mold moves up;

[0177] 157 = guide mold moves down;

[0178] 160 = fuel injection;

[0179] 161 = shaft end positioning extension;

[0180] 162 = shaft end positioning retraction;

[0181] 163 = Guide cylinder extends;

[0182] 164 = Guide cylinder retracts;

[0183] 165 = Guide mold positioning extension;

[0184] 166 = Guide die positioning retracted;

[0185] 171 = robot loading;

[0186] 172 = The robot loads and leaves;

[0187] 191 = Clamp the mold to the left bending position and start;

[0188] 491 = Clamp the mold to the left bending position to confirm;

[0189] 192 = Clamp the mold to the right bending position and start;

[0190] 492 = Clamp the mold to the right bending position to confirm;

[0191] 193 = Waiting for loading;

[0192] 194 = Waiting for unloading;

[0193] 295 = clamping die half-clamped (X) guiding die half-retracted (Z);

[0194] 3295 = clamping die half-clamped (X) guiding die half-retracted (ZA);

[0195] 100 = program paused;

[0196] 101 = Program selection stop;

[0197] 130 = End of procedure;

[0198] 102 = Program selection stop;

[0199] 199 = program loop execution;

[0200] 135 = Change R1 round die to right bend;

[0201] 235 = Change R1 round die (U) to right bend;

[0202] 136 = Change R2 round die to right bend;

[0203] 236 = Change R2 round die (U) to right bend;

[0204] 143 = Change R3 round die to right bend;

[0205] 243 = Change R3 round die (U) to right bend;

[0206] 144 = Change to R4 round die and bend right;

[0207] 244 = Change to R4 round die (U) and bend right;

[0208] 147 = die head demoulding right bend;

[0209] 247 = die head demoulding (W) right bend;

[0210] 148 = machine head bends right against the die;

[0211] 2481 = the machine head bends right against die No. 1 (W);

[0212] 2482 = the machine head bends right against die No. 2 (W);

[0213] 2483 = the machine head bends right against the No. 3 die (W);

[0214] 2484 = the machine head bends right against die No. 4 (W);

[0215] 2485 = the machine head bends right against the No. 5 die (W);

[0216] 2486 = the machine head bends right against die No. 6 (W);

[0217] 175 = Guide die clamping right bend;

[0218] 275 = Guide die clamping (Z) right bend;

[0219] 3275 = Guide die clamping (ZA) right bend;

[0220] 375 = Guide die clamping right bend start;

[0221] 475 = Guide die clamping right bend confirmation;

[0222] 176 = Guide die release right bend;

[0223] 276 = Guide die release (Z) right bend;

[0224] 3276 = Guide die release (ZA) right bend;

[0225] 376 = Guide die release right bend start;

[0226] 476 = Guide die release right bend confirmation;

[0227] 180 = The guide die is released, and the die head is demoulded and bent right;

[0228] 280 = Guide mold release (Z) die head demoulding (W) right bend;

[0229] 3280 = Guide mold release (ZA) die head demoulding (W) right bend;

[0230] 183 = clamping die guide clamping right bend;

[0231] 283 = clamping die (X) guiding die (Z) right bend;

[0232] 3283 = clamping die clamping (X) guide die clamping (ZA) right bend;

[0233] 184 = clamping die guide is released and bent right;

[0234] 284 = Clamping mold loosened (X) Guide mold loosened (Z) Right bend;

[0235] 3284 = Clamping mold release (X) Guide mold release (ZA) Right bend;

[0236] 185=Clamping die releases guide die half-back and bends right;

[0237] 285 = Clamping mold release (X) Guide mold half retreat (Z) Right bend;

[0238] 3285 = Clamping mold release (X) Guide mold half retreat (ZA) Right bend;

[0239] 189 = guide die half retreat right bend;

[0240] 289 = Guide die half retreat (Z) right bend;

[0241] 3289 = Guide die half retreat (ZA) right bend;

[0242] 190 = guide die half way in, right bend;

[0243] 290 = guide die half-advance (Z) right bend;

[0244] 3290 = Guide die half-advance (Z) right bend;

[0245] 200 = decoding paused;

[0246] 267 = nose flip (ZB) left turn;

[0247] 268 = nose flip (ZB) right turn;

[0248] 269 ​​= U-turn forward (ZC);

[0249] 270 = U-turn and reverse direction (ZC);

[0250] 1210 = Sawing;

[0251] 1211 = upper parting mode advance;

[0252] 1212 = upper parting mold retreat;

[0253] 1213 = lower parting mold advance;

[0254] 1214 = lower mold separation;

[0255] 1215 = Upper split die enters clamping die guide die and clamps;

[0256] 1216 = The upper mold unclamping mold guide mold is released;

[0257] 1217 = material clamp limit advance;

[0258] 1218 = Material clamp limit retreat;

[0259] 1219 = material clamp pressure relief;

[0260] 1220 = Guide mode transposition advance;

[0261] 1221 = Guide mode transposition retreat;

[0262] 1222 = front mandrel rise;

[0263] 1223 = front mandrel lowering;

[0264] 1224 = front insert mandrel;

[0265] 1225 = front insert mandrel withdraws;

[0266] 1226 = front insert core rod tensioning;

[0267] 1227 = front mandrel is loosened;

[0268] 1228 = Pull hole in;

[0269] 1229 = Pull out the hole and withdraw;

[0270] 1230 = Material clamp half-retracted;

[0271] 1240 = turn on radar detection area left;

[0272] 1241 = turn on radar detection area right turn;

[0273] 1242 = turn on radar detection area left and right turns;

[0274] 1243 = turn off radar detection;

[0275] 1244 = material support 2 air claw clamping;

[0276] 1245 = the air gripper of the support 2 is released;

[0277] 1246 = material support 3 air claw clamping;

[0278] 1247 = the air gripper of the support 3 is released;

[0279] 500 = Waiting for material - feeding (Y) rotating (B) bending (C) core pulling and resetting, absolute fast positioning;

[0280] 501 = Waiting for material - feeding (Y) rotating (B) bending (C) auxiliary pushing (V) core pulling and resetting, absolute rapid positioning;

[0281] 502 = Waiting for material - feeding (Y) rotating (B) bending (C) core pulling and resetting (A) absolute rapid positioning;

[0282] 503 = Waiting for material - feeding (Y) rotating (B) bending (C) auxiliary pushing (V) core pulling and resetting (A) absolute rapid positioning;

[0283] 505 = Waiting for material - feeding (Y) rotating (B) bending (C) core pulling and then absolute rapid positioning;

[0284] 506 = Waiting for material - feeding (Y) rotating (B) bending (C) auxiliary pushing (V) core pulling and then absolute rapid positioning;

[0285] 507 = Waiting for material - feeding (Y) rotating (B) bending (C) core pulling (A) absolute rapid positioning;

[0286] 508 = Waiting for material - feeding (Y) rotating (B) bending (C) auxiliary pushing (V) core pulling (A) absolute rapid positioning;

[0287] 510 = Pull the material to the waiting position (Y) for absolute rapid positioning;

[0288] 511 = re-clamping and pulling material (Y) with absolute and rapid positioning;

[0289] 512 = Absolute fast positioning when re-clamping and returning to zero position;

[0290] 513 = Re-clamping and discharging (Y) relatively fast positioning;

[0291] 514 = Feeding section (Y) (priority movement) relatively fast positioning;

[0292] 515 = delay (T) milliseconds;

[0293] 516 = trolley avoids 2 mm and relatively quickly positions;

[0294] 517 = The trolley moves to zero position for absolute rapid positioning;

[0295] 518 = trolley feeding and pulling back length (Y) for relatively fast positioning;

[0296] 519 = The trolley moves to the clamping position (Y) for absolute rapid positioning;

[0297] 520 = The trolley travels the first return length (Y) for relatively fast positioning;

[0298] 521 = The trolley moves to the position to be clamped (Y) for absolute rapid positioning;

[0299] 522 = The trolley goes to the first bend to feed the material and compensate (Y) for relatively fast positioning;

[0300] 524 = Bending pipe - bending (C) feeding follow-up (Y) auxiliary push follow-up (V) rotation (B) speed (F) absolute interpolation;

[0301] 525 = pipe bending - bending (C) feeding follow-up (Y) rotation (B) absolute rapid positioning;

[0302] 526 = pipe bending - bending (C) rotation (B) relative rapid positioning;

[0303] 527 = pipe bending - bending (C) feeding follow-up (Y) rotation (B) relative rapid positioning;

[0304] 528 = Bending pipe - bending (C) auxiliary thrust follower (V) rotation (B) speed (F) relative interpolation;

[0305] 529 = Bending pipe - bending (C) feeding follow-up (Y) auxiliary push follow-up (V) rotation (B) speed (F) relative interpolation;

[0306] 530 = Bending pipe - bending (C) feeding follow-up (Y) speed (F) relative interpolation;

[0307] 531 = Bending pipe - bending (C) feeding follow-up (Y) auxiliary push follow-up (V) speed (F) relative interpolation;

[0308] 532 = Bending pipe - bending (C) speed (F) relative interpolation;

[0309] 533 = Bending pipe - bending (C) auxiliary push follower (V) speed (F) relative interpolation;

[0310] 534 = Bending pipe - bending (C) feeding and avoiding (Y) relatively fast positioning;

[0311] 535 = pipe bending - bending (C) feeding avoidance (Y) auxiliary push follow-up (V) speed (F) relative interpolation;

[0312] 536 = bending pipe - bending (C) feeding avoidance (Y) absolute rapid positioning;

[0313] 537 = pipe bending - bending (C) feeding avoidance (Y) auxiliary push follow-up (V) speed (F) absolute interpolation;

[0314] 538 = pipe bending - bending (C) quick positioning;

[0315] 539 = Bending pipe - bending (C) auxiliary push follower (V) speed (F) absolute interpolation;

[0316] 540 = unloading - absolute and rapid positioning of the feeding axis to the unloading position (Y);

[0317] 541 = Unloading - Relative fast positioning of the rotating axis to the unloading angle (B);

[0318] 542 = Unloading - Absolute rapid positioning from bending axis to unloading angle (C);

[0319] 543 = Unloading - bending axis to unloading angle (C) auxiliary push return (V) absolute rapid positioning;

[0320] 544 = Unloading - Feeding axis to the retracted position (Y) Absolute rapid positioning;

[0321] 545 = Unloading - Absolute fast positioning of the bending axis to the angle ready for unloading (C);

[0322] 546 = Unloading - bending axis to the unloading preparation angle (C) auxiliary push return (V) absolute rapid positioning;

[0323] 547 = Return to position (C) Assisted return (V) Absolute fast positioning;

[0324] 548 = feeding - feeding one section (Y) and bending one section (C) for relatively fast positioning;

[0325] 549 = feeding - feeding one section (Y) bending one section (C) auxiliary push return (V) relatively fast positioning;

[0326] 550 = feeding - feeding into position (Y) rotating into position (B) bending back into position (C) relative priority movement;

[0327] 551 = feeding - feeding into position (Y) rotating into position (B) bending back into position (C) auxiliary push back into position (V) relative priority movement;

[0328] 552 = Feeding - feeding into position (Y) relatively fast positioning;

[0329] 553 = Feeding - feeding into position (Y) and auxiliary push back (V) for relatively fast positioning;

[0330] 554 = feeding - rotating into position (B) bending back into position (C) relatively fast positioning;

[0331] 555 = feeding - rotating to position (B) bending back to position (C) auxiliary push back (V) relatively fast positioning;

[0332] 556 = Feeding - Bending back into place (C) Absolutely fast positioning;

[0333] 557 = feeding - bending back to position (C) auxiliary push back (V) absolute rapid positioning;

[0334] 558 = Feeding - Rotating into position (B) Relatively fast positioning;

[0335] 559 = Feeding - feeding section (Y) relatively fast positioning;

[0336] 560 = feeding - feeding into position (Y) and bending back into position (C) for relatively fast positioning;

[0337] 561 = Feeding - feeding into position (Y) bending back into position (C) auxiliary push back into position (V) relatively fast positioning;

[0338] 562 = Feeding-returning three-stage (C) relatively fast positioning;

[0339] 563 = Feeding-returning three-stage (C) auxiliary push return (V) relatively fast positioning;

[0340] 564 = Feeding - Feeding second stage (Y) relative fast positioning;

[0341] 565 = Feeding-return bending four sections (C) relatively fast positioning;

[0342] 566 = feeding - clamping mold release for a period (X) for relatively fast positioning;

[0343] 567 = Feeding - feeding second stage (Y) clamping mold release second stage (X) relative rapid positioning;

[0344] 568 = Feeding-rotation second stage (B) relatively fast positioning;

[0345] 569 = Feeding-clamping mold release four-stage (X) relative rapid positioning;

[0346] 570 = Feeding - Priority Movement (Y) Relative Rapid Positioning;

[0347] 571 = Feeding - Return (Y) Relative fast positioning;

[0348] 572 = Feeding - feeding to position (Y) rotating to position (B) bending to position (C) absolute interpolation;

[0349] 573 = Feeding - feeding to the designated position (Y), rotating to the designated position (B), bending back to the designated position (C), auxiliary push back (V), absolute interpolation;

[0350] 574 = Feeding - feeding in place (Y) absolute rapid positioning;

[0351] 575 = feeding - rotating into position (B) bending back into position (C) absolute rapid positioning;

[0352] 576 = Feeding - Rotation to position (B) Bending to position (C) Auxiliary push back (V) Absolute fast positioning;

[0353] 577 = Feeding - Return bending in place (C) absolute interpolation;

[0354] 578 = Feeding - Return to position (C) Auxiliary push return (V) Absolute interpolation;

[0355] 579 = Feeding - Rotating into place (B) Absolute fast positioning;

[0356] 580 = feeding - feeding into position (Y) bending back into position (C) relative interpolation;

[0357] 581 = feeding - feeding to the designated position (Y) bending back to the designated position (C) auxiliary push back (V) relative interpolation;

[0358] 582 = Feeding - feeding into position (Y) rotating into position (B) bending back into position (C) relative interpolation;

[0359] 583 = Feeding - feeding to the designated position (Y) rotating to the designated position (B) bending back to the designated position (C) auxiliary push back (V) relative interpolation;

[0360] 584 = mold change - back bending in place (C) auxiliary push avoidance (V) absolute rapid positioning;

[0361] 585 = mold change-auxiliary push return (V) absolute rapid positioning;

[0362] 586 = mold change - guide mold reversing (Z) head mold change (W) absolute fast positioning;

[0363] 587 = Feeding - feeding section (Y) auxiliary push return (V) relatively fast positioning;

[0364] 588 = mold change - return bend and reversal (C) absolute rapid positioning;

[0365] 589 = Feeding - feeding into position (Y) rotating into position (B) bending back into position (C) absolute priority movement;

[0366] 590 = feeding - feeding into position (Y) rotating into position (B) bending back into position (C) auxiliary push back into position (V) absolute priority movement;

[0367] 591 = Feeding - feeding into position (Y) bending back into position (C) absolute rapid positioning;

[0368] 592 = Feeding - feeding into position (Y) bending back into position (C) auxiliary push back (V) absolute rapid positioning;

[0369] 593 = Mold change - back bend avoidance (C) absolute fast positioning;

[0370] 594 = mold change - back bending reversal (C) guide mold reversal (Z) die head mold change (W) absolute rapid positioning;

[0371] 595 = Eliminate rebound - rebound angle (C) Relatively fast positioning;

[0372] 596 = Back-bend return - back-bend angle (C) relatively fast positioning;

[0373] 597 = Backward bend - Backward bend angle (C) Relative rapid positioning;

[0374] 598 = Chasing clamp - the trolley moves to (Y) for absolute rapid positioning;

[0375] 599 = Exit interference point (Y) absolute rapid positioning;

[0376] 600 = tube bending - bending (C) feeding follow-up (Y) core pulling (A) speed (F) relative interpolation;

[0377] 601 = Bending pipe - bending (C) feeding follow-up (Y) auxiliary push follow-up (V) core pulling (A) speed (F) relative interpolation;

[0378] 602 = relative interpolation of pipe bending (C), feeding follow-up (Y), core pulling and back pulling speed (F);

[0379] 603 = Tube bending - bending (C) feeding follow-up (Y) auxiliary push follow-up (V) core pulling and back pulling speed (F) relative interpolation;

[0380] 604 = Tube bending - bending (C) core pulling (A) speed (F) relative interpolation;

[0381] 605 = bending tube - bending (C) auxiliary push follower (V) core pulling (A) speed (F) relative interpolation;

[0382] 606 = relative interpolation of tube bending - bending (C) core pulling and back pulling speed (F);

[0383] 607 = Bending tube - bending (C) auxiliary push follow-up (V) core pulling and back pulling speed (F) relative interpolation;

[0384] 608 = Bending pipe - bending (C) speed (F) relative interpolation;

[0385] 609 = Bending pipe - bending (C) auxiliary push follower (V) speed (F) relative interpolation;

[0386] 610 = Bending pipe - bending (C) feeding follow-up (Y) speed (F) relative interpolation;

[0387] 611 = Bending pipe - bending (C) feeding follow-up (Y) auxiliary push follow-up (V) speed (F) relative interpolation;

[0388] 640 = Waiting for material - feeding (Y) rotating (B) bending (C) absolute rapid positioning;

[0389] 641 = Waiting for material - feeding (Y) rotating (B) bending (C) auxiliary pushing (V) absolute rapid positioning;

[0390] 645 = Waiting for material - feeding (Y) rotating (B) bending (C) absolute rapid positioning;

[0391] 646 = Waiting for material - feeding (Y) rotating (B) bending (C) auxiliary pushing (V) absolute rapid positioning;

[0392] 701 = Y feeding section (parameter 1) (Y);

[0393] 702 = Y feeding section (parameter 2) (Y);

[0394] 703 = Y feeding in place;

[0395] 704=B rotates one segment (parameter three) (B);

[0396] 705=B rotates one segment (parameter 4) (B);

[0397] 706 = B rotates into position;

[0398] 707 = C return bend section (parameter five) (C);

[0399] 708 = C return bend (parameter six) (C);

[0400] 709 = C bends back into place;

[0401] 710=V-assisted push back;

[0402] 711 = die head demoulding;

[0403] 712 = die change;

[0404] 713 = machine head profiling;

[0405] 714=Y feeding section (parameter 1) (Y) C bending section (parameter 5) (C) (synchronous);

[0406] 715=Y feeding section (parameter 1) (Y) C bending section (parameter 5) (C) (asynchronous);

[0407] 716=Y feeding one section (parameter 2) (Y) C bending one section (parameter 6) (C) (synchronous);

[0408] 717=Y feeding section (parameter 2) (Y) C bending section (parameter 6) (C) (asynchronous);

[0409] 718 = Assisted avoidance;

[0410] 719 = nose up and down to avoidance position;

[0411] 720 = guide mode commutation;

[0412] 721 = clamping die change;

[0413] 722 = machine head left and right reversal;

[0414] 724 = machine head moves up and down (parameter six) (U);

[0415] 725=B rotates one segment (parameter 2) (B);

[0416] 726 = Y feeding section (parameter 1) (Y) bend back to position (C) relatively fast positioning;

[0417] 727 = Y feeding section (parameter 1) (Y) bend back to position (C) auxiliary push back (V) relatively fast positioning;

[0418] 770 = feeding - feeding into position (Y) rotating into position (B) bending back into position (C) relatively fast positioning;

[0419] 771 = Feeding - feeding into position (Y) rotating into position (B) bending back into position (C) auxiliary push back into position (V) relatively fast positioning;

[0420] 800 = waiting material - feeding material pull-back length 2 (Y) waiting material rotation angle (B) relatively fast positioning;

[0421] 801 = Waiting for material - pull the material to the Y-axis waiting position (Y) and rotate it into place (B) for relatively fast positioning;

[0422] 802 = B axis returns to 0 position, fast absolute positioning;

[0423] 1303 = Clamping mode switched to torque mode;

[0424] 1305 = Guide mode switched to torque mode;

[0425] 1313 = The clamping die guide switches to torque mode;

[0426] 1375 = Guide mode switched to torque mode right;

[0427] 1383 = Clamping die guide switches to torque mode right;

[0428] 1500 = Waiting for material - feeding (Y) rotating (B) bending (C) core pulling and resetting, absolute fast positioning;

[0429] 1501 = Waiting for material - feeding (Y) rotating (B) bending (C) auxiliary push (V) auxiliary push right (Z) core pulling reset absolute rapid positioning;

[0430] 1502 = Waiting for material - feeding (Y) rotating (B) bending (C) auxiliary push right (Z) core pulling reset (A) absolute rapid positioning;

[0431] 1503 = Waiting for material - feeding (Y) rotating (B) bending (C) auxiliary push (V) auxiliary push right (Z) core pulling reset (A) absolute rapid positioning;

[0432] 1505 = Waiting for material - feeding (Y) rotating (B) bending (C) core pulling and then absolute rapid positioning;

[0433] 1506 = Waiting for material - feeding (Y) rotating (B) bending (C) auxiliary push (V) auxiliary push right (Z) core pulling and rear pulling absolute rapid positioning;

[0434] 1507 = Waiting for material - feeding (Y) rotating (B) bending (C) core pulling (A) absolute rapid positioning;

[0435] 1508 = Waiting for material - feeding (Y) rotating (B) bending (C) auxiliary push (V) auxiliary push right (Z) core pulling and rear pulling (A) absolute rapid positioning;

[0436] 1510 = Pull the material to the waiting position (Y) for absolute rapid positioning;

[0437] 1511 = re-clamping and pulling material (Y) with absolute and rapid positioning;

[0438] 1512 = Absolute fast positioning when re-clamping and returning to zero position;

[0439] 1513 = Re-clamping and discharging (Y) relatively fast positioning;

[0440] 1514 = Feeding section (Y) (priority movement) relatively fast positioning;

[0441] 1515 = delay (T) milliseconds;

[0442] 1516 = trolley avoids 2 mm and relatively quickly positions;

[0443] 1517 = The trolley moves to zero position for absolute rapid positioning;

[0444] 1518 = trolley feeding and pulling back length (Y) relatively fast positioning;

[0445] 1519 = The trolley moves to the clamping position (Y) for absolute rapid positioning;

[0446] 1520 = The trolley travels the first return length (Y) for relatively fast positioning;

[0447] 1521 = The trolley moves to the position to be clamped (Y) for absolute rapid positioning;

[0448] 1522 = The trolley goes to the first bend to feed the material for compensation (Y) and relatively fast positioning;

[0449] 1524 = Bending pipe - bending (C) feeding follow-up (Y) auxiliary push right follow-up (Z) rotation (B) speed (F) absolute interpolation;

[0450] 1525 = pipe bending - bending (C) feeding follow-up (Y) rotation (B) absolute rapid positioning;

[0451] 1526 = pipe bending - bending (C) rotation (B) relative rapid positioning;

[0452] 1527 = Bending pipe - bending (C) feeding follow-up (Y) rotation (B) relative fast positioning;

[0453] 1528 = Bending pipe - bending (C) auxiliary push right follower (Z) rotation (B) speed (F) relative interpolation;

[0454] 1529 = Bending pipe - bending (C) feeding follow-up (Y) auxiliary push right follow-up (Z) rotation (B) speed (F) relative interpolation;

[0455] 1530 = Bending pipe - bending (C) feeding follow-up (Y) speed (F) relative interpolation;

[0456] 1531 = Bending pipe - bending (C) feeding follower (Y) auxiliary push right follower (Z) speed (F) relative interpolation;

[0457] 1532 = Bending pipe - bending (C) speed (F) relative interpolation;

[0458] 1533 = Bending pipe - bending (C) auxiliary push right follower (Z) speed (F) relative interpolation;

[0459] 1534 = Bending pipe - bending (C) feeding and avoiding (Y) relatively fast positioning;

[0460] 1535 = pipe bending - bending (C) feeding avoidance (Y) auxiliary push right follower (Z) speed (F) relative interpolation;

[0461] 1536 = pipe bending - bending (C) feeding avoidance (Y) absolute rapid positioning;

[0462] 1537 = Bending pipe - bending (C) feeding avoidance (Y) auxiliary push right follower (Z) speed (F) absolute interpolation;

[0463] 1538 = pipe bending - bending (C) quick positioning;

[0464] 1539 = Bend pipe - bending (C) auxiliary push right follower (Z) speed (F) absolute interpolation;

[0465] 1540 = Unloading - Absolute and rapid positioning of the feeding axis to the unloading position (Y);

[0466] 1541 = unloading - relative fast positioning of the rotating axis to the unloading angle (B);

[0467] 1542 = Unloading - Absolute rapid positioning from bending axis to unloading angle (C);

[0468] 1543 = Unloading - bending axis to unloading angle (C) auxiliary push return (V) auxiliary push right return (Z) absolute rapid positioning;

[0469] 1544 = Unloading - Feeding axis to the back position (Y) Absolute fast positioning;

[0470] 1545 = Unloading - Absolute fast positioning of the bending axis to the unloading angle (C);

[0471] 1546 = Unloading - bending axis to the unloading preparation angle (C) auxiliary push return (V) auxiliary push right return (Z) absolute rapid positioning;

[0472] 1547 = Return to the right position (C) with auxiliary push (Z) for absolute and rapid positioning;

[0473] 1548 = feeding - feeding one section (Y) and bending one section (C) for relatively fast positioning;

[0474] 1549 = feeding - feeding one section (Y) bending one section (C) auxiliary push right return (Z) relatively fast positioning;

[0475] 1550 = feeding - feeding into position (Y) rotating into position (B) bending back into position (C) relative priority movement;

[0476] 1551 = feeding - feeding into position (Y) rotating into position (B) bending back into position (C) auxiliary push right return position (Z) relative priority movement;

[0477] 1552 = Feeding - feeding into position (Y) relatively fast positioning;

[0478] 1553 = Feeding - feeding into position (Y) auxiliary push right return (Z) relatively fast positioning;

[0479] 1554 = feeding - rotating into position (B) bending back into position (C) relatively fast positioning;

[0480] 1555 = feeding - rotating to the right position (B) bending back to the right position (C) auxiliary push right return position (Z) relatively fast positioning;

[0481] 1556 = Feeding - Bending back into place (C) Absolutely fast positioning;

[0482] 1557 = Feeding - Return to position (C) Auxiliary push right return (Z) Absolute fast positioning;

[0483] 1558 = Feeding - Rotating into place (B) Relatively fast positioning;

[0484] 1559 = Feeding - Feeding section (Y) relatively fast positioning;

[0485] 1560 = feeding - feeding into position (Y) and bending back into position (C) for relatively fast positioning;

[0486] 1561 = Feeding - feeding into position (Y), bending back into position (C), auxiliary push right return (Z), relatively fast positioning;

[0487] 1562 = Feeding-returning three-stage (C) relatively fast positioning;

[0488] 1563 = Feeding-returning three-stage (C) auxiliary push right return (Z) relatively fast positioning;

[0489] 1564 = Feeding - Feeding second stage (Y) relative fast positioning;

[0490] 1565 = Feeding-return bending four sections (C) relatively fast positioning;

[0491] 1566 = Feeding - clamping mold release for a period (X) for relatively fast positioning;

[0492] 1567 = Feeding - Feeding second stage (Y) clamping mold release second stage (X) relative rapid positioning;

[0493] 1568 = Feeding-rotation second stage (B) relatively fast positioning;

[0494] 1569 = Feeding - clamping mold release four-stage (X) relative rapid positioning;

[0495] 1570 = Feeding - Priority Movement (Y) Relative Rapid Positioning;

[0496] 1571 = Feeding - Return amount (Y) Relative fast positioning;

[0497] 1572 = Feeding - feeding in place (Y) rotating in place (B) bending in place (C) absolute interpolation;

[0498] 1573 = Feeding - feeding to the designated position (Y), rotating to the designated position (B), bending to the designated position (C), auxiliary push right return position (Z), absolute interpolation;

[0499] 1574 = Feeding - feeding in place (Y) absolute rapid positioning;

[0500] 1575 = feeding - rotating into position (B) bending back into position (C) absolute rapid positioning;

[0501] 1576 = Feeding - Rotation to position (B) Bending to position (C) Auxiliary push right return (Z) Absolute fast positioning

[0502] 1577 = Feeding - Return bending in place (C) absolute interpolation;

[0503] 1578 = Feeding - Return to position (C) Auxiliary push right return (Z) Absolute interpolation;

[0504] 1579 = Feeding - Rotating into place (B) Absolute fast positioning;

[0505] 1580 = feeding - feeding into position (Y) bending back into position (C) relative interpolation;

[0506] 1581 = Feeding - feeding to the designated position (Y), bending to the designated position (C), auxiliary push right return (Z), relative interpolation;

[0507] 1582 = Feeding - feeding into position (Y) rotating into position (B) bending back into position (C) relative interpolation;

[0508] 1583 = Feeding - feeding to the designated position (Y), rotating to the designated position (B), bending to the designated position (C), auxiliary push right return position (Z), relative interpolation;

[0509] 1584 = mold change - return to position (C) auxiliary push right return (Z) absolute fast positioning;

[0510] 1585 = mold change - auxiliary push right return (Z) absolute rapid positioning;

[0511] 1586 = mold change - guide mold reversing (Z) head mold change (W) absolute fast positioning;

[0512] 1587 = Feeding - feeding section (Y) auxiliary push right return (Z) relatively fast positioning;

[0513] 1588 = mold change - return bend and reversal (C) absolute rapid positioning;

[0514] 1589 = Feeding - feeding into position (Y) rotating into position (B) bending back into position (C) absolute priority movement;

[0515] 1590 = Feeding - feeding in place (Y) rotating in place (B) bending in place (C) auxiliary push right return (Z) absolute priority movement;

[0516] 1591 = Feeding - feeding into position (Y) bending back into position (C) absolute rapid positioning;

[0517] 1592 = Feeding - feeding into position (Y), bending back into position (C), auxiliary push right return (Z), absolute rapid positioning;

[0518] 1593 = Mold change - back bend avoidance (C) absolute fast positioning;

[0519] 1594 = mold change - return bending reversal (C) guide mold reversal (Z) die head mold change (W) absolute rapid positioning;

[0520] 1595 = Eliminate rebound - rebound angle (C) Relative rapid positioning;

[0521] 1596 = Back-bend return - back-bend angle (C) relatively fast positioning;

[0522] 1597 = Backward bend - Relative fast positioning of the backward bend angle (C);

[0523] 1598 = Chase clamp - the trolley moves to (Y) absolute rapid positioning;

[0524] 1599 = Exit interference point (Y) absolute rapid positioning;

[0525] 1600 = tube bending - bending (C) feeding follow-up (Y) core pulling (A) speed (F) relative interpolation;

[0526] 1601 = Bending pipe - bending (C) feeding follower (Y) auxiliary push right follower (Z) core pulling (A) speed (F) relative interpolation;

[0527] 1602 = Bending tube - bending (C) feeding follow-up (Y) core pulling and back pulling speed (F) relative interpolation;

[0528] 1603 = Bending pipe - bending (C) feeding follow-up (Y) auxiliary push right follow-up (Z) core pulling and rear pulling speed (F) relative interpolation;

[0529] 1604 = Tube bending - bending (C) core pulling (A) speed (F) relative interpolation;

[0530] 1605 = Bending pipe - bending (C) auxiliary push right follower (Z) core pulling (A) speed (F) relative interpolation;

[0531] 1606 = relative interpolation of tube bending - bending (C) core pulling and back pulling speed (F);

[0532] 1607 = Bending pipe - bending (C) auxiliary push right follower (Z) core pulling back speed (F) relative interpolation;

[0533] 1608 = Bending pipe - bending (C) speed (F) relative interpolation;

[0534] 1609 = Bending pipe - bending (C) auxiliary push right follower (Z) speed (F) relative interpolation;

[0535] 1610 = Bending pipe - bending (C) feeding follow-up (Y) speed (F) relative interpolation;

[0536] 1611 = Bending pipe - bending (C) feeding follower (Y) auxiliary push right follower (Z) speed (F) relative interpolation;

[0537] 1640 = Waiting for material - feeding (Y) rotating (B) bending (C) absolute rapid positioning;

[0538] 1641 = Waiting for material - feeding (Y) rotating (B) bending (C) auxiliary push (V) auxiliary push right (Z) absolute rapid positioning;

[0539] 1645 = Waiting for material - feeding (Y) rotating (B) bending (C) absolute rapid positioning;

[0540] 1646 = Waiting for material - feeding (Y) rotating (B) bending (C) auxiliary push (V) auxiliary push right (Z) absolute rapid positioning;

[0541] 1710=Z assist push right return;

[0542] 1718 = Assisted right avoidance;

[0543] 1720 = Asynchronous return to waiting material - feeding (Y) rotation (B) absolute rapid positioning;

[0544] 1721 = Asynchronous wait;

[0545] 2000 = Reverse material clamp position - feeding (Y) relative fast positioning;

[0546] 2001 = Reverse waiting-feeding (Y) rotation (B);

[0547] 2002 = Reverse waiting-feeding (Y) absolute rapid positioning;

[0548] 2003 = Reverse material waiting - rotation (B) relatively fast positioning;

[0549] 2522 = Carriage goes in the reverse direction, first bend, feeding compensation (Y), relatively fast positioning;

[0550] 2558 = Feeding - Rotation to position reverse (B) Relatively fast positioning;

[0551] 3500 = Waiting for material - feeding (Y) rotating (B) bending (C) turning around and forward (ZC) core pulling and resetting, absolute fast positioning;

[0552] 3501 = Waiting for material - feeding (Y) rotating (B) bending (C) auxiliary push (V) turning around and forward (ZC) core pulling and resetting, absolute rapid positioning;

[0553] 3502 = Waiting for material - feeding (Y) rotating (B) bending (C) core pulling and resetting (A) turning forward (ZC) absolute rapid positioning;

[0554] 3503 = Waiting for material - feeding (Y) rotating (B) bending (C) auxiliary pushing (V) core pulling reset (A) turning forward (ZC) absolute rapid positioning;

[0555] 3505 = Waiting for material - feeding (Y) rotating (B) bending (C) turning around and forward (ZC) core pulling and then absolute rapid positioning;

[0556] 3506 = Waiting for material - feeding (Y) rotating (B) bending (C) auxiliary pushing (V) turning around and forward (ZC) core pulling and absolute rapid positioning;

[0557] 3507 = Waiting for material - feeding (Y) rotating (B) bending (C) core pulling (A) turning around and forward (ZC) absolute rapid positioning;

[0558] 3508 = Waiting for material - feeding (Y) rotating (B) bending (C) auxiliary pushing (V) core pulling (A) turning around and forward (ZC) absolute rapid positioning;

[0559] 3640 = Waiting for material - feeding (Y) rotating (B) bending (C) turning around and forward (ZC) absolute rapid positioning;

[0560] 3641 = Waiting for material - feeding (Y) rotating (B) bending (C) auxiliary pushing (V) turning around and forward (ZC) absolute rapid positioning;

[0561] 3645 = Waiting for material - feeding (Y) rotating (B) bending (C) turning around and forward (ZC) absolute rapid positioning;

[0562] 3646 = Waiting for material - feeding (Y) rotating (B) bending (C) auxiliary pushing (V) turning around and forward (ZC) absolute rapid positioning;

[0563] 1150 = Change R5 round die;

[0564] 1250 = Change R5 round die (U);

[0565] 1151 = Change R6 round die;

[0566] 1251 = Change R6 round die (U);

[0567] 1160 = Change R5 round die right;

[0568] 1260 = Change to R5 round die (U) and bend right;

[0569] 1161 = Change R6 round die right;

[0570] 1261 = Change R6 round die (U) to right bend;

[0571] 900 = feeding - feeding into position (Y) rotating into position (B) relatively fast positioning. Step 3: When changing the parameters of the instructions on the G code data table, first find the data corresponding to the parameters of the changed instructions on the intermediate data table, and modify the data to form a new intermediate data table, and then generate a new G code data table based on the new intermediate data table.

[0572] Among them, when generating a G code data table through an intermediate data table, the method is as follows:

[0573] Any processing code in the intermediate data table and its corresponding parameter value together constitute an instruction; each data row in the intermediate data table generates a code row in the G code data table;

[0574] When generating a code line, the instructions assigned with values ​​of "-999999" and "-1" in the data line are discarded, and the remaining instructions in the data line together constitute a code line of the G code data table.

[0575] When the parameter value of the processing code Y in the original code data is modified, the corresponding parameter value of the processing code Y in the intermediate data table and the G code data is modified synchronously;

[0576] The modification formula of the parameter value of processing code Y is as follows:

[0577] The parameter value of processing code Y = the parameter value of processing code Y before modification + compensation value;

[0578] Compensation value = parameter value of processing code Y after modification - parameter value of processing code Y before modification.

[0579] When the parameter value of the processing code B in the original code data is modified, the parameter value of the corresponding processing code B in the intermediate data table and the G code data is modified synchronously;

[0580] The modification formula of the parameter value of processing code B is as follows:

[0581] The parameter value of processing code B = the parameter value of processing code B before modification + compensation value;

[0582] Compensation value = parameter value of processing code B after modification - parameter value of processing code B before modification.

[0583] When modifying the parameter value of the processing code C in the original code data, the method is as follows:

[0584] N1: Search for the target data row in the intermediate data table. The target data row meets the following conditions:

[0585] The value of the processing code C is -999999, the value of the processing code O is 0, and the value of the identification code CMD of the data row is 542 or 543 or 545 or 546 or 595 or 596 or 597;

[0586] N2: Modify the values ​​of the processing codes C, Y, and V in the target data row. The modification method is as follows:

[0587] The parameter value of the processing code C after modification = the parameter value of the processing code C before modification + the compensation value;

[0588] Wherein, compensation value = parameter value of processing code C after modification - parameter value of processing code C before modification;

[0589] The parameter value of the modified processing code Y = -3.1415926 * the radius of the circular die corresponding to the bend * the bending angle corresponding to the bend * the Y-axis stretch coefficient corresponding to the bend / 180;

[0590] The parameter value of the modified processing code V = -3.1415926*radius of the corresponding bend*bending angle of the corresponding bend*V-axis stretch coefficient of the corresponding bend / 180.

[0591] The present invention has the following advantages:

[0592] 1. In the present invention, the intermediate data table decomposes the information in the original G code data table into a more understandable structure, making the data easier to parse and operate; by separating the G code instructions and their parameters into different areas (code area and assignment area), the program logic is clearer, which is convenient for developers to understand the meaning of the code and maintain it; when the G code data table needs to be modified, it greatly facilitates the search for the modified parameters, effectively avoiding the problem of data modification failure due to parameter search errors.

[0593] 2. The intermediate data table already contains all the necessary parameter values ​​in the G-code data table, and these values ​​are organized into an easily accessible form, so finding and modifying specific parameters becomes easier and faster.

[0594] 3. The structure of the intermediate data table in which the assignment area and the code area are separated and correspond to each other helps technicians find potential errors or data inconsistencies during parameter modification.

[0595] The present invention is not limited to the above-mentioned optimal implementation mode. Anyone can derive other various forms of products under the inspiration of the present invention. However, no matter what changes are made in the shape or structure, all technical solutions that are the same or similar to those of the present application fall within the protection scope of the present invention.

Claims

1. A method for generating and modifying G code data, characterized in that: The specific steps include: Step 1: Input the original code data and generate the G code data table; Step 2: Generate an intermediate data table based on the G code data table; Step 3: When changing the parameters of the instructions on the G code data table, first find the data corresponding to the parameters of the changed instructions on the intermediate data table, modify the data to form a new intermediate data table, and then generate a new G code data table based on the new intermediate data table.

2. A G-code data generation and modification method according to claim 1, characterized in that: In step 2, the specific method of generating an intermediate data table based on G-code data is as follows: S1: read the G code data table, parse the instructions in each code line in the G code data table, and extract the parameter value corresponding to each instruction; S2: define a data structure of an intermediate data table; the intermediate data table includes a code area and an assignment area, the code row includes a processing code; the assignment area includes a plurality of data rows, the data rows include processing code assignment units corresponding to the processing codes one by one; S3: Fill the parameter values ​​extracted in step S1 into the processing code assignment units of the intermediate data table and make each processing code assignment unit correctly assigned, so as to obtain the intermediate data table, and then store the intermediate data table.

3. A G-code data generation and modification method according to claim 2, characterized in that: Processing codes include Y, B, C, V, A, U, W, X, Z, ZA, ZB, ZC, P, Q, M, O, FY, FB, FC, F, delay.

4. A G-code data generation and modification method according to claim 3, characterized in that: When the processing code Y, B, C, V, A, U, W, X, Z, ZA, ZB, ZC has no specified parameters, the value assigned to the processing code Y, B, C, V, A, U, W, X, Z, ZA, ZB, ZC is "-999999"; When the processing code P, Q, M, O, FY, FB, FC, F, delay does not specify a parameter, the value assigned to the processing code P, Q, M, O, FY, FB, FC, F, delay is "-1".

5. A G-code data generation and modification method according to claim 2, characterized in that: The code area also includes an identification code CMD, and the data row also includes an identification code assignment unit corresponding to the identification code CMD.

6. A G-code data generation and modification method according to claim 4, characterized in that: In step 3, when generating a G-code data table through an intermediate data table, the method is as follows: Any processing code in the intermediate data table and its corresponding parameter value together constitute an instruction; each data row in the intermediate data table generates a code row in the G code data table; When generating a code line, the instructions assigned with values ​​of "-999999" and "-1" in the data line are discarded, and the remaining instructions in the data line together constitute a code line of the G code data table.

7. A G-code data generation and modification method according to claim 1, characterized in that: When the parameter value of the processing code Y in the original code data is modified, the parameter value of the corresponding processing code Y in the intermediate data table and the G code data is modified synchronously; The modification formula of the parameter value of processing code Y is as follows: The parameter value of processing code Y = the parameter value of processing code Y before modification + compensation value; Compensation value = parameter value of processing code Y after modification - parameter value of processing code Y before modification; When the parameter value of the processing code B in the original code data is modified, the parameter value of the corresponding processing code B in the intermediate data table and the G code data is modified synchronously; The modification formula of the parameter value of processing code B is as follows: The parameter value of processing code B = the parameter value of processing code B before modification + compensation value; Compensation value = parameter value of processing code B after modification - parameter value of processing code B before modification.

8. A G-code data generation and modification method according to claim 1, characterized in that: To modify the parameter value of the processing code C in the original code data, the method is as follows: N1: Search for the target data row in the intermediate data table. The target data row meets the following conditions: The value of the processing code C is -999999, the value of the processing code O is 0, and the value of the identification code CMD of the data row is 542 or 543 or 545 or 546 or 595 or 596 or 597; N2: Modify the values ​​of the processing codes C, Y, and V in the target data row. The modification method is as follows: The parameter value of the processing code C after modification = the parameter value of the processing code C before modification + the compensation value; Wherein, compensation value = parameter value of processing code C after modification - parameter value of processing code C before modification; The parameter value of the modified processing code Y = -3.1415926 * the radius of the circular die corresponding to the bend * the bending angle corresponding to the bend * the Y-axis stretch coefficient corresponding to the bend / 180; The parameter value of the modified processing code V = -3.1415926*radius of the corresponding bend*bending angle of the corresponding bend*V-axis stretch coefficient of the corresponding bend / 180.