1. Power function
1.1. Fast food
Eeoemm7p3001 In rapid traverse mode, each axis moves at the set rapid traverse speed without being affected by other axes moving at the same time. Note that the rapid traverse speed varies depending on machine tool specifications. Finally, different axes can occur. arriving at your destination at different times.
In Dawei operation, G00 G01 G02 G03 is the same as the FANUC system command and will not be explained here.
1.2. Cutting feed
1.2.1. Feed per minute (G94)
[功能]
This function sets the feed per minute of the cutting tool using a numerical value following the address code F.
[编程格式]
G94
[设定单位]
By setting the optional parameter NC (control unit system), the range can be changed from 1 mm/min to 0.1 mm/min to 1 inch/min to 0.1 inch/min to 0.01
Inch/min to make selection, adjustment range 0.1-24000.0 mm/min 0.01-2400.00 in/min
[详解]
• The maximum allowable feedrate is called limit feedrate and is defined by the optional CN parameter (long byte) no. 10. If the axis wishes to go outside this range, its feedrate will be set on the limit feed rate and the following alarm signal will appear in the alarm display line of the screen: 4204 Alarm-D The feed rate exceeds the limit (replacement). The programmed feedrate can be used for actual feedrate or for overrun feedrate.
1.2.2. Feed per revolution (G95)
[功能]
This function uses a numerical value following the address code F to define the feed rate per revolution of the cutting tool.
[编程格式]
G95
[设定单位]
By setting the optional NC (control unit system) parameters, the range can be changed from 1 mm/turn to 0.01 mm/turn to 0.001 mm/turn to 1 inch/turn.
0.001 inch/turn or 0.0001 inch/turn selectable, adjustment range 0.001-500,000 mm/turn
[详解]
Since the limit feed speed is defined in mm/min, it can be converted to mm/rev using the following formula: fm = fr N, where N = shaft speed (rpm), fm = speed d ‘feed (mm/min) ), fr = feed speed (mm/rev).
2. Basic control functions
2.1. Plan selection (G17 G18 G19)
[编程格式]
G17 Xp Yp
G18 Zp XP
G19 Yp Zp
2.2. Pause command (G04)
[编程格式]
The following two programming formats can be used to specify the wait function: G04 F__
F Set the duration of the pause time
The dwell time unit can be selected between 1 0.1 0.01 and 0.001 seconds using the optional parameter NC (control unit system)
Maximum programmable dwell time is 99999.999 seconds
G04P__
P defines the duration of the pause time. The pause time unit is selected in the same mode as when specified with F.
2.3. Selecting the workpiece coordinate system (G15 G16)
[编程格式]
Mode code G G15 Hn(0 n 200)
Once a new part coordinate system n is defined using the G mode code, coordinate values in the same and subsequent blocks are interpreted as coordinate values in the part coordinate system selected n.
Primary line G code G16 Hn (0 n 200)
If a new workpiece coordinate system n is defined in G-click mode, only coordinate values defined in the same data block are considered as coordinate values in the selected workpiece coordinate system n.
• After power-up and NC reset, the system automatically selects the workpiece coordinate systems G15 and G16 previously selected by the G15 command. They cannot be expressed in the following modes.
2.4. Changing the workpiece coordinate system (G92)
[编程格式]
G92 XYZW
2.5. Additional head rotation control (M73-M76)
[ 格式]
M73 rotary spindle head, front end
M74 rotary spindle head left end
M75 rotary spindle head right end
M76 rotary spindle head, front end
2.6. Additional 5 degree head rotation control (M94, M95)
[格式]
M94 RH=θ forward rotation
M95 RH=θ inverse
θ is a multiple of 5
2.7. Translation and rotation of the coordinate system (G11, G10)
[功能]
Translate/Rotate Functions Translate or rotate a part coordinate system. A new coordinate system defined by compensating or rotating a part coordinate system is called a local coordinate system. Removing a local coordinate system is one possible format. G11 IP__P__ , overrides the local coordinate system G10 When the G10 command is explained, the translation amount and rotation angle are overridden.
[说明]
After G11 is executed, NC will enter the state of setting the local coordinate system. If G11 is executed again in this state, G11 will modify the local coordinate system previously defined in the second G11 mark. If the address mark is omitted, it will do so. continue to be used in the first G11.
2.8.Tool length compensation function
[功能]
The tool length compensation function compensates for the position of the cutting tool so that the tip of the cutting tool is at the programmed position. Available G codes:
G53 cancels tool length compensation
G54 X axis tool length compensation
G55 tool length compensation Y axis
G56 tool length compensation Z axis
[格式]
{G54 – G56} IP__ H__
Current device position after IP compensation
Tool compensation number H, the standard tool compensation number is from H00 to H50 and can be extended from H00 to H100, H200 or H300, the compensation amount of H00 is always 0.
2.9. Tool radius compensation (G40 G41 G42)
[功能]
The tool compensation function automatically arranges tool radius compensation. Programming based on the geometric dimensions of a part does not make it possible to obtain the correct size because the size of the tool (diameter) is not taken into account. However, programming it will be very difficult. The diameter of the tool is taken into account. This problem can be solved by compensation by a function called tool radius compensation. This technology automatically compensates for the diameter of the tool. If the tool radius compensation function is used during programming, the program will automatically generate the correct tool center path based on the part geometry.
[格式]
G17 G41 (G42) Xp__ Yp__ D__
G18 G41 (G42) Zp__Xp__ D__
G19 G41 (G42) Yp__Zp__ D__
G40 cancels the cutting radius compensation (the mode is automatically selected when power on), specifically refers to the tool movement when the cutting radius compensation is canceled.
G41 cuts to the left (offset – cuts down from the left when viewed from the direction of tool movement), see Changing the compensation direction in cutting radius compensation mode for details.
Right hand cut G42 (cut compensated upwards on the right side seen in the direction of movement of the tool). The tool radius compensation mode is set by G41 or G42 and canceled by G40. For a more detailed list of data, see Setting the compensation direction in tool compensation mode:
The G17 Xp-Yp plane selection mode is the same as the G02 or G03 mode.
The G18 Zp-Xp plane selection mode is the same as the G02 or G03 mode.
Plane selection G19 Yp-Zp The plan mode is the same as G02 or G03 mode.
2.10.Tool change command
[格式]
TN M06
2.11. Additional head change control
There are four sets of converters in the MCR-B2: T301 T302 T303 T304
[格式]
Tn M170
Example
T303M170
Daguang focuses on providing solutions such as precision CNC machining services (3-axis, 4-axis, 5-axis machining), CNC milling, 3D printing and rapid prototyping services.