Professional Documents
Culture Documents
12 - HGcnc609D雕铣多功能数控系统使用手册 最新.zh-CN.en
12 - HGcnc609D雕铣多功能数控系统使用手册 最新.zh-CN.en
com
Safety Notice
★ ★ Before using this control system, please read this manual carefully before performing related operations. Please carefully check whether the wiring is correct before powering on!
This manual describes the operation and use of this product as fully as possible. However, due to too many possibilities involved, it is impossible to describe all
the permitted and not permitted operations. For safety, operations that are not stated to be permitted in this manual should be deemed not permitted.
1. The working environment temperature of the control system is -10℃〜50℃. When the temperature exceeds this environment temperature, the system may not work normally
or even crash. When the temperature is too low, the LCD display will display abnormally.
3. Special protective measures must be taken when working in the environment of high temperature, high humidity and corrosive gas.
4. Prevent dust, dust, metal dust and other debris from entering the control system.
5. The LCD screen (fragile) of the control system should be protected: keep it away from sharp objects; prevent objects in the air from hitting the screen; when the screen has dust and needs to be cleaned,
When operating the system, you need to press the corresponding operation button. When pressing the button, you need to press the belly of the index finger or middle finger. Do not press the button with
your fingernail, otherwise it will cause damage to the button mask and affect your use.
Operators who operate for the first time should understand the correct use of the corresponding functions before performing the corresponding operations. For unfamiliar functions or parameters, it is
-System overhaul:
Operators who have not undergone strict training or units or individuals who have not been authorized by the company cannot open the control system for maintenance operations, otherwise the consequences will be at their own risk.
Warranty period: within 24 months from the date of delivery of this product.
Warranty coverage: During the warranty period, any failures that occur under the condition of operating according to the requirements of use. During the
warranty period, faults outside the scope of warranty are chargeable services.
Outside the warranty period, all fault repairs are chargeable services.
1. Any man-made or unexpected failures in violation of the use requirements; any human-made or unexpected failures in violation of the use requirements;
2. Failure to refer to the instruction manual for wrong wiring, damage caused by live plugging and unplugging the system to connect to the socket;
3. Failure to refer to the instructions for wiring errors, damage caused by live plugging and unplugging the system to connect to the socket;
-Other Matters:
If this manual is inconsistent with the system functions or is not detailed, the system software functions shall prevail.
The product supporting "operation manual" only provides one free. If you need the latest "Operation Manual", you can get the electronic version of the manual (PDF format) free of
charge, and inform your E-mail mailbox, which will be sent by E-mail.
The product functions described in this manual are only for this product. The actual function configuration and technical performance of the CNC machine tool are determined by the design of the machine tool manufacturer.
The function configuration and technical indicators of the CNC machine tool are subject to the machine tool manufacturer's manual.
- 1-
XC609D Engraving and Milling CNC System User Manual
Table of contents
2.6.3 Time limit and password modification screen................................................ ...................................................... ...................................................... ..20
- 2-
XC609D Engraving and Milling CNC System User Manual
3.3 Tool setting tool Z axis tool setting................................................ ...................................................... ..............................................twenty two
2.1.6 Base address and command value range................................................ ...................................................... ...................................................... ..... 34
- 3-
XC609D Engraving and Milling CNC System User Manual
3.8.3 Move the workpiece coordinate system with G92................................................ ...................................................... ...................................................... ...... 45
4.2.15 M70-Wait for input port, output port, auxiliary relay invalid................................. ...................................................... .................55
4.2.16 M71-Wait for the input port, output port, auxiliary relay to be valid................................. ...................................................... .................56
4.2.17 M72-input port, output port, auxiliary relay invalid jump................................. ...................................................... .................56
4.2.18 M73 - input port, output port, auxiliary relay valid jump................................. ...................................................... .................56
- 4-
XC609D Engraving and Milling CNC System User Manual
4.2.19 M74 - waiting for the falling edge of input port, output port, auxiliary relay................................. ...................................................... ................ 56
4.2.20 M75-waiting for input port, output port, auxiliary relay to rise................................. ...................................................... .................56
4.2.23 M82 - output port, auxiliary relay output is closed for a period of time................................. ...................................................... .................57
4.2.24 M83 - output port, auxiliary relay output will be closed after waiting for an input port to be valid.......................... ............................................... 57
4.2.25 M84 - output port, auxiliary relay output will be closed after waiting for an input port to be invalid.......................... ............................................... 57
2.1.2 Principle of command pulse signal and command direction signal................................................ ...................................................... ................................. 59
2.2.3 Description of the connection between the analog spindle and the inverter................................................ ...................................................... .................................................61
2.3.3 The principle of the input port circuit...................................................... ...................................................... ...................................................... .................62
2.3.4 The principle and wiring of the tool setter...................................... ...................................................... ...................................................... ...........63
2.4.3 The circuit principle of the output port................................................ ...................................................... ...................................................... .................64
2.4.4 The circuit principle of the output port................................................ ...................................................... ...................................................... .................64
- 5-
XC609D Engraving and Milling CNC System User Manual
XC609D engraving and milling CNC system is a new generation of engraving CNC system developed by our company. Supports boring, drilling, milling and high-speed engraving. It adopts 32-bit high-performance microprocessor,
uses real-time multi-task control technology and hardware interpolation technology, fully linkage, adopts forward-looking small line segment algorithm, interpolation accuracy of 0.001mm, and maximum speed of 12 meters per minute.
★ Based on 32-bit microprocessor, full linkage, 0.001mm interpolation accuracy, maximum speed 12m/min.
★ Adopt 3.5-inch color widescreen LCD, resolution 480X320, Windows interface style. Equipped with 5 soft function keys, the operation is simple and easy to learn. Provides rich display interfaces such as
parameter classification, alarm log, system diagnosis, etc., which is convenient for debugging and maintenance.
★ Full-screen editing of part programs, built-in 256M massive program space, can store N part programs.
★ With USB interface, support U disk file reading and writing, data backup and U disk direct processing (DNC) .
★ Input 24 (expandable to 96) points, output 24 (expandable to 96) points (customized), flexible and convenient.
★ The system adopts the forward-looking small line segment algorithm, and the processing is stable.
★ Support the operation of quickly specifying the running position, and support multiple coordinate systems (automatic saving after power failure) .
★ Support the function of saving breakpoints (press the pause button to automatically save or automatically save when power off) .
★ Supports multi-level operation authority, which is convenient for equipment management, and has the function of locking the system for a limited time.
★ Support UG, Mastercam, PowerMill, FeatureCAM, ArtCAM, JDPaint, Wentai and other third-party software G code files.
basic skills
Number of control axes 3~4axis(X,Y,Z,A)
Number of linkage axes Full linkage
Analog Spindle 1
Spindle override 10%~150%
Minimum instruction unit 0.001mm
maximum command value ±99999999×Minimum command unit
reset Have
stop switch Have
Single segment operation Have
Program protection switch Have
Self-diagnostic function Have
emergency stop Have
power supply SimplexAC220V+10%-15%,50Hz±1Hz.DC24V/1A
Machine tool coordinate system (G53), the workpiece coordinate system (G92,G54~G59), the local coordinate
Coordinate System
Spindle function
edit operation
Edit function Parameters, diagnostic bit-wise input, program editing,MDIMulti-block execution
storage 256M
number of stored programs Nindivual
Application areas:
Used for processing molds: embossing plates, sole molds, button molds, zipper molds, pattern and text stamping and bronzing molds, instrument molds, glass molds, etc. Used in the
advertising industry: company cards, signs, architectural models, badges, badges, nameplates, exhibition boards, monograms, house numbers, signs, craft decoration, furniture
decoration, etc.
For portraits, landscapes, calligraphy lettering, seals and other artistic plane carvings, inscriptions, outlines in positive texts, relief sculptures, three-dimensional three-dimensional sculptures,
etc. For various small and medium automation equipment, instruments, etc.
Used for welding manipulators, coordinate feeding manipulators, spraying manipulators, etc. and many
more
- 7-
XC609D Engraving and Milling CNC System User Manual
XC609D uses a classification and hierarchical authority structure, and each type of authority is aimed at different user groups. Among them, class B is the authority of the machine tool manufacturer, and the authority categories
used by the machine tool user are category C and category F, and the authority descriptions are as follows. The following table:
F restricted class All operations that modify data and configuration are invalid no operating password
Note: For the modification method of permission level and permission password, please refer to "Permission Settings"
The operation instructions restricted by the authority are shown in the following table, if not listed in the table, it is regarded as no authority limitation or the function is temporarily unavailable to the user.
parameter modification C or above permissions Edit mode, stop state, parameter switch open
part program Create, edit, delete Class C Edit mode, stop state, program switch on
system settings
Note: The default authority for booting, the default program switch and parameter switch for booting can be set in the comprehensive parameters.
- 8-
XC609D Engraving and Milling CNC System User Manual
2.1 Panel
- 9-
edit
edit
. key Yes
symbol
number
Character H
dep
Minut
Character
XC609D Engraving and Milling CNC System User Manual
The lower part is the editing and axis selection keys.hand wheelThe axis selection key is invalid in mode. back to zero,one hand wheel, The edit key is invalid in manual
mode.
Alphanumeric editing includes all numbers and letters, as well as [Reset], [Backspace], [Delete], [Cancel], [Enter], [Shift], [Insert], [Modify],
Reset button The CNC resets, the program ends processing, the alarm is released, and the input and output are terminated.
Backspace/Delete Delete the character after the cursor position, delete the character before the cursor. (Backspace and
key delete share a physical key, use the shift key to select)
insert/modify key Modify editing mode, switch between insert and modify mode, or use parameters to modify data
cancel key Cancel the input and close the pop-up dialog to return to the program content screen.
Confirm the input and close the pop-up dialog to return to the program content screen. At the same time, the specific program
enter
segment terminator function and the line feed function.
Z axis tool setting key Automatic tool setting with tool setter for Z axis in manual mode
In the manual mode, each axis returns to the absolute coordinate zero, and the Z axis returns to the safe height. Strategy: If the Z axis is
back to origin higher than the safe height, XYA returns to absolute zero first, and the Z axis returns to the safe height; if the Z axis is lower than the
safe height, the Z axis returns to the safe height first, and XYA returns to absolute zero.
set origin The workpiece origin is set in manual mode, and axis selection and full selection are available.
page up page down (Shared with the axis function keys, it is page turning in edit and input mode, and axis selection key in other modes)
up down left right Move the cursor up, down, left and right. (Shared with the axis function keys, it is page turning in edit and input
character input. Double function key, you need to press the shift key, you can enter the second function character.
character keys
(Numeric keys can be defined as port direct control keys, effective in manual mode)
- 10-
XC609D Engraving and Milling CNC System User Manual
Enter the editing work mode. Press again and switch the teaching function, the indicator light flashes for the
edit key
teaching function
back to zero Enter the working mode of returning to the reference point (machine zero point).
During automatic operation, the program switches between single-segment operation and continuous operation, and the indicator light is on when single-
select stop key In the automatic and input mode, when the stop is valid, the indicator light is on, and M01 is executed to stop.
- 11-
XC609D Engraving and Milling CNC System User Manual
Spindle key Manual, handwheel, zero return valid, switch between spindle forward and stop
Manual override or feed override key. Press the key to add or subtract 10% to the feed
Feed override key
rate. 10%--150%.
quick switch key Manual speed, express speed switching. In single handwheel and single step mode, used for X1, X10, X100
start key Cycle start key. Automatic or MDI program run starts.
pause button Feed hold key. Automatic or MDI program execution is suspended.
X-axis move or X In the zero return, manual, single step mode, the X axis moves in the positive or negative direction. In
Axis handwheel axis selection key the single handwheel mode, select the handwheel axis of the X axis.
Y axis move or Y In homing, manual, single-step mode, the Y axis moves in the positive or negative direction. In the
Axis handwheel axis selection key single handwheel mode, select the handwheel axis of the Y axis.
Z axis move or Z In zero return, manual, single step mode, the Z axis moves in the positive or negative direction. In the
Axis handwheel axis selection key single handwheel mode, select the handwheel axis of the Z axis.
A-axis move or A In the zero return, manual and single step mode, the A axis moves in the positive or negative direction.
Axis handwheel axis selection key In the single handwheel mode, select the handwheel axis of the A axis.
- 12-
XC609D Engraving and Milling CNC System User Manual
project illustrate
(1) U disk status and shift key In the state of U disk, U appears, indicating that the U disk has been inserted, and the shift button appears, indicating that the shift key is turned on
(2) Magnification axis selection display Display magnification, display axis selection and magnification in handwheel mode
Single step: Manual single-step feeding, if the handwheel is enabled, it is handwheel operation
(4) Running state Display the current program instruction execution status in automatic/input mode;
(5) Page name The currently selected home page tab is displayed
(6) Soft function keys Action menu for the currently displayed page or popup
The system is divided into five display pages, namely [Position], [Program], [Parameter], [Information], [Diagnosis], which can be switched by pressing the [Function Switch]
The content displayed on each page and related operations are as follows:
- 13-
XC609D Engraving and Milling CNC System User Manual
● The currently opened CNC machining program ● Copy and delete processing program files in program directory (including local
program
● Program directory and U disk)
● Comprehensive parameters
● Parameter setting
parameter ● IO parameters
● Parameter setting of each axis
● Axis parameters
● CNC alarms that are currently occurring ● Alarm viewing and clearing
The main interface of position displays coordinates, processing time, number of processed pieces, manual speed, spindle speed, and running information of each program. S1:
Position main interface, press【G54-G59】to enter this page. As shown in the figure:
Absolute input: Input the offset of the coordinate system in machine coordinates.
Incremental input: The offset of the incremental input coordinate system in machine coordinates.
Coordinate input: read in the machine coordinate of the current axis, which is convenient to set the workpiece coordinate 0 point.
Press 【Center Coordinate】to enter this page. For three-point centering. As shown in the figure:
This page calculates the center of the circle based on three non-collinear points in the plane and sets it as the offset of the workpiece coordinate system.
- 15-
XC609D Engraving and Milling CNC System User Manual
Brief display shows absolute coordinates, main program feed speed, spindle 1 speed, manual speed in large font.
The program screen contains 3 sub-screens: program content, local directory, and U disk directory. You can switch to these sub-screens through the soft keys [Local Directory] and [U Disk Directory].
This interface displays the current part program. Move the cursor up and down to preview the program content line by line. Press [PageUp], [PageDown] to preview the program content ten lines
up and down.
The local directory lists all the part programs saved in the CNC and displays the usage status of the storage space. Note
【Program Import】to import the selected file into the local directory.
The parameter screen includes comprehensive parameters, input port configuration, output port configuration, direct control function configuration, and axis parameters. You can switch to these subscreens via softkeys.
Comprehensive parameters are used to set system-related parameters. With annotations, it can be easily and quickly modified.
Note: The position units in the parameters are all 0.001, for example, 1000 for G73 tool retraction means
Input port parameters are used to set input port function parameters. With annotations, it can be easily and quickly modified.
- 17-
XC609D Engraving and Milling CNC System User Manual
Input ports 1 to 24 can be configured as buttons, limit, alarm, handwheel axis selection and other functions. 25 to 48 are extended input ports. The speed of extended input ports is slow. Please do
not configure them as limit, alarm and other functions that need to be detected in time. . Use【Modify】key to set in edit mode.
The input port can also be configured by the [Modify] key in the diagnosis function, and the test port is more intuitive after connecting the line.
Output port parameters are used to set output port function parameters. With annotations, it can be easily and quickly modified.
The output port can be configured as spindle cooling, clamping, spindle forward and reverse rotation signals, and three-color status lights, which are convenient for
The output port can also be configured with the [Modify] key in the diagnosis function, and the test port is more intuitive after the wiring is connected.
Direct control configuration can be configured to directly control the output port in manual mode.
The direct control trigger source can be a key or an input port. The triggering method can be self-locking and
- 18-
XC609D Engraving and Milling CNC System User Manual
The axis parameters configure the electronic gear of each axis, the speed of each axis and other information.
Electronic gear: numerator, the number of motor pulses per revolution, if there is a reducer multiplied by the reduction ratio.
The denominator, the distance of each revolution, if it is a screw, it is the pitch of the screw, in microns (0.001 mm).
Example: stepper motor subdivision 16, reducer 5:1, screw pitch 5mm
Numerator=200*16*5=16000
Denominator=5000
If the motor has no speed limit, the maximum shaft speed can be obtained, and the maximum speed of the controller is 200KHz. Maximum speed=200000/16000*5 mm/s=62.5mm/s =62.5*60mm/
min=3750mm/min. Then the speed parameters of this axis cannot be greater than 3750. In fact, the motor speed exceeds the maximum effective speed of the stepping motor. It should be based on
the maximum effective speed of the stepper motor. Assuming that the maximum effective speed of the stepping motor is 800 rpm, the maximum speed is 800/5*5=800mm/min
The parameter screen contains 3 sub-screens: alarm information, system information, and breakpoint information. You can switch to these sub-screens through the soft keys [Alarm Information],
The alarm information screen displays the list of current alarms, and each alarm information includes the alarm number and alarm content. The content of the alarm is a brief description of the
There are two types of alarms: when a CNC alarm occurs, the program operation is aborted; different alarms are cleared in different ways, some alarms can be cleared by pressing [Reset]; some
alarms can be cleared only after restarting the system. For details, please refer to the description document of the alarm information.
Boot screen import: requires B-level permission, create a screen with size less than or equal to 480*320, true color bmp format, save it as start.bmp, save it in the root directory of U disk, insert the controller,
press [Import boot screen], Wait for the prompt that the import is successful. If the prompt fails, please confirm whether the name of the boot screen is correct.
- 19-
XC609D Engraving and Milling CNC System User Manual
[Breakpoint information] You can view the number of lines that were run last time, which is the basis for continuing program execution in case of unexpected power failure.
Press the parameter switch and program switch to switch the switch status. Set permissions to set the corresponding permissions. No password is required for level F. The default password for level C and level B is 888888. Permissions
require a password from low to high, but no password is required from high to bottom. If the C-level password is forgotten, you can go to the B-level permission first, then downgrade to the C-level, and then change the C-level
password.
Press【Trial Time】to set the total running time of system power-on, set 0 to cancel the restriction. The contact number is used to contact the seller after the time has expired. The above requires B-level permissions,After setting
the trial time, be sure to modify the B-level permission password and keep in mind that the factory cannot unlock the B-level password. The password modification is used to modify the password of this level of authority.
To modify the password, you need to enter the same password twice. The password can be composed of numbers and letters, and the longest is 11 digits.
The diagnosis screen includes 2 sub-screens: input diagnosis and output diagnosis. You can switch to these sub-screens through the soft keys [Input Diagnosis] and [Output Diagnosis].
As shown in the figure below, when the external input signal is valid, the circle of the corresponding input point (IN01-IN96) will be filled and displayed, and the port function name will be below the port number.
- 20-
XC609D Engraving and Milling CNC System User Manual
[Output switch], [All off], you can test the corresponding output points (Y01-Y96), the circle will be filled and displayed when it is turned on, and the load of the corresponding port
will be turned on. Below the number is the port function name. Press【Modify】in edit mode to set output port function.
- twenty one-
XC609D Engraving and Milling CNC System User Manual
Manual operation refers to the manual operation in each manual mode, and the manual mode includes: return to zero mode, manual mode, handwheel mode, and single-step mode.
There are 6 situations for manual and mechanical return to zero. Specifically set the reference axis parameter
settings. Steps
1 Press [Zero Return] on the system panel, and it is in the zero return operation mode, and the indicator light on the key is on.
2 Press the manual axial movement switch ([X+], [Y+], ...) on the system panel, the zero return indicator flashes when returning to the reference point. 3
1: Zero switch
2: Limit switch
4: Z pulse
5: do not return to zero
Related processing
After returning to mechanical zero, the parameters that can be set: After returning to mechanical zero, the machine coordinates of each axis are set to 0. The offset of each axis after returning to machine zero. set in the axis
parameters. If you use the limit to return to zero, it is best to set the return to zero offset of more than 1mm to avoid falsely triggering the limit switch alarm.
Steps
1 Press the manual axial movement switch ([X+], [Y+], ...) on the system panel in the manual or single-step state to move to the desired workpiece surface. 2 Press [Set Origin]
to pop up the menu, select the desired axis or all axes, and then press [OK] to clear the corresponding coordinates or all axes coordinates to zero.
Long-term use will cause the tool to wear, or the positional relationship between the tool tip and the workpiece origin will change after the tool is changed, which directly affects the processing
quality. In this case, a tool setter is required to determine the new tool nose offset.
Steps
1 When you do not know the thickness of the tool setter, set the thickness of the tool setter block to 0 in the parameters.
2 Move the tool tip to the top of the tool setter, press [Manual] on the system panel, and then press [Z-axis tool setting], the system starts Z-axis tool setting. 3 Move
to the workpiece origin, if the Z-axis coordinate is displayed as -5, then set the thickness of the tool setting block to 5000 in the parameters.
4 At this time, you can press [Set Origin] on the system panel, select the desired axis or all axes in the pop-up menu, and then press [OK], the coordinates of the corresponding axis or all axes are
6 During processing, if the tool is worn or damaged, you need to replace it with a new one. Press [Reset], move the tool tip to the top of the tool setter, press [Manual] on the system panel, and then
7 On the [Information] screen, check the line number of the breakpoint, and then select a few hundred lines before the program breakpoint (depending on the situation) on the [Program] screen,
manually open the spindle, and then press [Auto], [Start] to continue. Run the machining program.
In manual mode, pressing the manual axial movement switch on the machine panel can make the tool move continuously along the selected axis and direction. Steps
1 Press the mode key [Manual] to select the manual operation mode, the indicator on the key is on.
2 Select the motion switch key of the axis to be moved, and press and hold it to move the machine tool along the direction of the selected axis. 3 Release
the axis movement key, and the machine tool will decelerate and stop immediately.
Related explanation
- twenty two-
XC609D Engraving and Milling CNC System User Manual
The default is manual low speed with comprehensive parameters, which is shared by all axes.
In manual mode, press key to control the manual movement to manual rapid traverse. It is a key with self-locking. When pressed multiple times, it will cut in the switch state.
When the indicator light on the key is on, it means that the manual quick switch is turned on, and when the indicator light on the key is off, it means that the manual quick switch is turned off. When the manual rapid switch is turned
on, the manual feed becomes the manual rapid feed of each axis, and the actual feed rate is related to the rapid override. The fast magnification is divided into 4 gears, which can be
In automatic mode by pressing There are 4 keys for selection, and the fast magnification corresponds to the text on the second line of the key. The function of each key is:
In the single-step feed mode, select the motion switch key of the axis to be moved, and each press can make the selected axis move step by step in the selected direction.
The minimum unit of movement is the minimum programming unit of the system. The input magnification can be 10 times, 100 times, 1000 times, corresponding to X1,
1 Press the mode key 【Single Step】, when the parameter P0026=1, the system enters the single-step feed mode, and the indicator light on the key is on.
2 Press the magnification switch key , to switch between X1, X10, X100.
3 Press the axis movement key to select the axis to be moved and the direction of movement. Each time you press a movement key, the corresponding axis will move one step in the specified direction.
In the handwheel mode, the machine tool can be micro-feed by rotating the machine tool operation panel or the external manual pulse generator, and the user can select the axis to be moved
The minimum unit of the movement amount of each scale of the manual pulse generator is the minimum programming unit, and the selectable magnification is 1 times, 10 times and 100
times. Steps
1 Press the mode key 【Single Step】, when the parameter P0026=0, the system enters the handwheel feed mode, and the indicator light on the key is on.
2 Press the magnification switch on the single hand wheel , switch between X1, X10, and X100, and select the movement amount corresponding to each scale of the remote pulse generator.
In the handwheel mode, it means that the movement amount corresponding to each scale is the minimum programming unit ×1, ×10,
×100. 3 Press the handle axis selection key to select the axis to be moved.
4 Turn the manual pulse generator, the selected axis will move in the positive direction when it is rotated clockwise, and the selected axis will move in the negative direction when it is rotated counterclockwise.
In manual/handwheel/single step/zero return mode, press the [Cooling] key to change the coolant switch state, that is, when the coolant is output, press this key to turn off the output, and when the
coolant is not output, press this key to Turn on output. The [Cooling] key is a self-locking button, and it will switch between “On→Off→On” when pressed multiple times.
In the manual/handwheel/single step/zero return mode, press the [Clamp Release] key to change the state of the clamp switch, that is, when the output is clamped, press this key to turn off the
output, and when the clamp is not output, press This key turns on the output. The [Clamp Release] key is a self-locking button. When pressed multiple times, it will switch between "Clamp
→Release→Clamp".
- twenty three-
XC609D Engraving and Milling CNC System User Manual
In manual/handwheel/single step/zero return mode, press the [Spindle] key, if the spindle runs, it will stop; if the spindle stops, it will run forward.
Steps
1 Press [Back to origin] on the system panel in the manual state.
2 The tool nose moves to the workpiece origin, which is also the program origin.
- twenty four-
XC609D Engraving and Milling CNC System User Manual
The operation of the machine tool under program control is called automatic operation. There are many types of automatic operation, including program operation and MDI operation.
running. Steps
1 Store the program in the internal memory (edit directly in the system, or guide the program from U) or directly via USBDNC. 2
3 Press 【Function Switch】to enter the program screen, then press 【Local Directory】soft key, and then press 【↑】, 【↓】to retrieve the program to be executed.
Related explanation
(1) The programmer inputs the stop command at the place to be stopped in advance, including M00 (program pause), M01 (optional stop), M02/M30 (program end).
moved manually, when it is restarted, it will not return to the position at the time of pause, and then the Z axis will continue to execute at the position at the time of pause, so it is best to
manually return to the top of the original position before resuming the operation.
After the block containing M02 is executed, it means that the main program ends, the automatic operation stops, and the program cursor is in the current
- 25-
XC609D Engraving and Milling CNC System User Manual
After the block containing M30 is executed, it means that the main program ends, the automatic operation stops, and the program cursor returns to the
beginning of the program. (2) Use the keys on the operation panel to stop the program, including [Pause] and [Reset]
2
Press【Reset】key, the automatic running can be ended immediately, and the tool will decelerate to stop.
When the program is running, if there is M99 in the main program, after M99 is executed, it will jump to the beginning of the program and continue to execute, the count is incremented by one, and the main program is repeatedly
In MDI mode, multi-line programs can be programmed and executed through the MDI panel. This execution mode is called MDI multi-segment operation or MDI operation. The program format
that MDI runs is the same as a normal program. MDI runs are suitable for simple test operations.
Steps
1 Press the [Function Switch] key to enter the program screen, as shown in the figure below.
2 Press the cursor key【↑】or【Reset】to move the cursor to the beginning of the
Related explanation
The same as when the program is running, but the difference is that when the MDI runs to M02, M30 will have different responses (see above).
If M99 is specified in the MDI temporary program, after M99 is executed, it will jump to the beginning of the program and continue to execute, and repeatedly execute the main program. Then
after executing M99, it will stop executing the program and jump to the beginning of the program.
▲ Reboot
Editing is possible after MDI operation is stopped. When the cursor is at any position in the program, you can press the start key to start the MDI operation again, and the system will re-execute
the program from the beginning of the current block where the cursor is located.
Steps
1 Press【Function Switch】key to enter the program screen. 2 Press F5【U
3 Select the program you need to execute in the U disk directory, press F2【USB DNC】key, the prompt bar will display DNC, and enter the DNC state at this time.
- 26-
XC609D Engraving and Milling CNC System User Manual
Before actual machining, in order to test the correctness of the machining program, you can use the functions described in this chapter to debug the machining program.
By setting the feedrate override (feedrate override), the user can change the feedrate specified by the program by percentage, so as to achieve the purpose of verifying the
program.
The feed override can be controlled by the feed override key on the system operation panel. The feed override can be changed within the range of 10% to 150%, and the difference between each
gear is a 10% change. Actual final value of feedrate=feedrate specified by the program\feedrate override.
The user can set the rapid traverse override (rapid override) to temporarily reduce the rapid traverse speed, which will affect the speed of all types of rapid traverse in the
program. include:
Steps
Before or during automatic operation, press the quick override key on the system operation panel to adjust the quick override to the desired percentage.
When the single block switch is turned on, after executing one block, the system will stop, and after restarting, after executing the next block, the system will stop again. The user can execute the entire
program block by block, which is often used to check whether the execution results of multiple blocks meet expectations. The switch of a single block is controlled by the [Single Block] key on the
machine tool. This key is like a button with self-locking. When it is pressed multiple times, it will switch between “On→Off→On”. When the indicator light on the key is on , it means the single block
switch is on, when the key is off, it means the single block switch is off.
Steps
▲ Before the automatic mode, press the [Single Block] key to make the indicator light on the key light up. After the program starts to execute, it will stop after the first block is executed.
▲ During automatic operation, press the [Single Block] key to make the indicator light on the key light up, and it will stop after executing the currently executing block.
Use the M01 command in the program, if the optional stop function is enabled, when the program runs to the M01 segment, the program
ends. This function can be stopped from a complete process in a cyclic program.
- 27-
XC609D Engraving and Milling CNC System User Manual
6.1 Power on
After the system is powered on, the boot screen will be displayed (the boot screen can be modified by the user). At this time, the system self-
checks and initializes. After the self-test and initialization are completed, the integrated location page is displayed.
6.2 Shutdown
In order to avoid damage to the machine tool due to overtravel of each feed axis, overtravel protection measures must be taken.
On the machine tool, limit switches (travel switches) are generally installed in the positive and negative directions of each axis, and the tool can only move within the range limited by the positive and negative limit switches of each
axis. When the tool tries to cross the limit switch, the limit signal is valid, the system stops the tool movement immediately, and displays the overtravel alarm message. When overtravel occurs, move the tool in the reverse direction
(such as positive overtravel, negative movement; negative overtravel, positive movement) to leave the limit switch. The alarm can be reset and canceled after leaving the limit.
Software overtravel protection is similar to hardware overtravel protection. The positive and negative limit coordinates of software overtravel correspond to the limit switch of hardware overtravel. The positive and negative limit
coordinates of each axis are set in the parameters respectively, and the range they limit is called the software limit.
When the machine tool coordinate is about to exceed the software limit, the system immediately stops the tool movement and displays an overtravel alarm. Manually move the tool in the reverse direction, so that the machine coordinates of each axis enter the limited
During the machining process, some unexpected results may occur due to user programming, improper operation or product failure. At this point, the system must be stopped immediately. This
section describes what the system can do in case of emergency. Please refer to the relevant instructions of the machine tool manufacturer for the handling of the machine tool in case of
emergency.
6.4.1 Reset
When the machine tool is abnormally outputting or the coordinate axis is abnormally moving, press the [Reset] key to reset the system immediately. When resetting: 1. All axes
movement stops;
During the operation of the machine tool, in case of danger or emergency, press the emergency stop button, the system will immediately control the machine tool to stop moving, stop output cooling, stop the spindle rotation, etc.,
After releasing the emergency stop button, the emergency stop alarm is released and the system enters the reset state. In order to ensure the correctness of the coordinate position, after the emergency stop alarm is released, the mechanical zero return operation should be
performed again (the machine tool without mechanical zero point should not be returned to zero).
- 28-
XC609D Engraving and Milling CNC System User Manual
During the operation of the machine tool, in case of danger or emergency, the power supply of the machine tool can be cut off immediately to prevent accidents. After the power is turned
off, the coordinates displayed by the system may have a large deviation from the actual position, and the tool calibration or zero return operation must be performed.
- 29-
XC609D Engraving and Milling CNC System User Manual
7.1 Overview
step
The general steps for editing a program are as follows:
2 Switch to the position screen or the program area of the program screen
4 Use the address keys, number keys, backspace and function keys of the keyboard to insert and delete programs
explain
● Program area
The program area refers to the window for program display and editing in the system. As shown below.
▲ The steps to enter the program area of the program screen are as follows:
2 Press the [Edit/Teach] key to enter the program area on the right, where you can perform editing operations, press [Edit/Teach] again to switch between teaching
The system must be switched to edit mode or MDI mode before program editing can be performed. It is not necessary to turn on the program protection switch when editing MDI temporary programs, but it is necessary to turn on
Program switches (referred to as program switches) protect programs from accidental modifications.
Note
1 Although it is possible to edit common programs in MDI mode, it is generally not recommended. MDI mode is generally only used for editing to perform some simple operations.
2 Oversized programs (larger than 200KB) cannot be edited. They can only be copied to a personal computer through a U disk and edited and modified using Notepad. Then
Teaching programming can easily write some programs that do not require very precise, and can automatically input absolute coordinate values.
[Edit/Teach] switch to teaching programming, the teaching light flashes, at this time, manual is turned on by default, or you can press [Single] to switch to handwheel. When the manual light is turned
on, the mixed key of axis and editing is the axis selection, if it is in the single handwheel mode, it is also the axis selection, and if it is the hand-held handwheel, it is the editing key. Teaching
- 30-
XC609D Engraving and Milling CNC System User Manual
When pressing the character keys X, Y, Z, A, I, J, K, if the corresponding axis is valid, the current absolute coordinates will be added
automatically. If pressing 【ESC】, all valid axis positions will be input at one time.
For teaching programming and arc programming, only 3-point circular interpolation command G12 can be used. Because relative coordinates cannot be
entered. During teaching, there is no difference between the invalid axis key and the edit mode, which can be input normally.
Figure A Figure B
step
1 Press the [Program] key to enter the program screen.
2 Press the [Local Directory] soft function key to enter the local directory screen.
3 Press the【New Program】soft function key, a new machining program dialog box pops up, input the machining program file name XY. As shown in Figure A.
4 Press the [Enter] key to confirm. As shown in Figure B, the file name FXX.NC appears in the left directory. If it is a subroutine, please name it Oxxxx, where xxxx refers to
pure numbers.
5 Press the leftmost soft function key【« 】to return to the main program screen.
key to change the line. Move the original program down, and then edit a new line up
3 Use the address keys, number keys, backspace and other function keys of the keyboard to edit the program.
explain
- 31-
XC609D Engraving and Milling CNC System User Manual
There are two ways to command axis movement: absolute value command and incremental value command.
The absolute value command is programmed with the coordinate value of the end position of the axis movement. That is, the coordinate position where the tool moves to the end point. Figure 2-1
Figure 2-1 Schematic diagram of absolute value command and incremental value command
The tool rapidly moves from the start point to the end point with the absolute value command programmed as: G90 X50.0 Y80.0 ;.
Incremental value commands are directly programmed with the amount of axis movement. The coordinate value of the tool movement position is relative to the previous position, not relative to the fixed origin of the machining coordinate system, that is, the actual tool
distance moved. As shown in Figure 2-1: The tool quickly moves from the starting point to the end point and is programmed with the incremental value command as:G91X-50.0Y50.0 ;
Note:
In the same machining program, the user can use G90 or G91 to switch the command mode as required. G90/G91 are modal G codes in the same group. After commanding one of the
commands, the modal is always valid until another G code in the same group is commanded.
Values can be entered with a decimal point. A decimal point can be used for command values that express distance, time, and speed units, and such address values are shown below.
X, Y, Z, U, V, W, A, B, C, I, J, K, Q, R, F, E, H
Depending on the address and command, the decimal point can be in millimeters, degrees or seconds. Note that both
X1 and X1.0 are considered to be 1.000, which is different from other controllers.
- 32-
XC609D Engraving and Milling CNC System User Manual
2.1 Procedure
The program consists of several blocks, the blocks are composed of words, and each block is separated by the block end code.
N programs can be stored in the system memory, and these programs are distinguished by the program number formed by the address O and the following four-digit value (the program name imported from the U disk can be
in Chinese). The program starts with program number and ends with M30 or M02.
Format
OXXXX
A program consists of multiple program segments. Blocks are separated by block terminator (;). At the beginning of the block, the
address N and the following five digits can be used to form the sequence number, and the leading zero can be omitted. Format
NXXXXX
explain
The order of the sequence numbers can be arbitrary, and the interval can also be unequal. Sequence numbers can be inserted in all blocks, or only in important blocks. It is convenient to carry
During automatic operation, the block with a slash (/) at the beginning will be skipped by the system when the skip switch is on. If the skip switch is off, the block will not
be skipped.
example
N100 X100.0;
/N101 Z100.0 ;
N102 X200;
A word is an element that constitutes a program segment. It consists of an address and the value following it, and the value can be negative. Format
X1000
X: address
explain
The address is in English letters (A~Z)A letter in , which specifies the meaning of the following value. Depending on the preparation function, sometimes the same address has different meanings.
In this system, the addresses that can be used and their meanings are shown in the table below.
size word
R Arc radius
- 33-
XC609D Engraving and Milling CNC System User Manual
IJK The coordinates of the arc center, the middle point of the G12 arc.
The base address and command value range are shown in the table below
actual X-axis travel of the machine tool may only be 2m. When writing a program, refer to this manual and the machine manual at the same time.
Format
explain
During the execution of the program, if the above program code is encountered, the system ends the program execution and enters the reset state. When
M30 ends, whether the program cursor returns to the beginning of the program is controlled by the bit parameter M30.
- 34-
XC609D Engraving and Milling CNC System User Manual
type
Type 1: Modeless G-code
example
G00 and G01 are modal G codes in the same group. The machining program is as
G00* Fast positioning, the speed runs at the speed of the speed parameter G0, linear and non-linear can be selected in the comprehensive parameters
G02 01 Clockwise circular interpolation, the speed is given by F, if there is a non-planar axis, it will run according to helical interpolation
G28 00 Return to the parameter point (return to mechanical zero), involving parameters including speed, zero return direction and method
06
G57 Workpiece coordinate system 4
08
G91 Incremental programming
- 35-
XC609D Engraving and Milling CNC System User Manual
G92 Set the workpiece coordinates. When there is no mechanical zero return, all workpiece coordinates will be offset.
00
G93 Set the machine coordinates, if there is a software limit, please use it with caution.
Note:
1 The G code marked with * is the system default G code. When the power is turned on, the modal G code will be in the default
state. The G codes in group 200 are non-modal G codes and are only valid in the current block.
3 An alarm occurs if a G code not listed or enabled in the G code list is used.
4 Several different groups of G codes can be commanded in the same block. If multiple G codes of the same group are commanded in the same block, the
G00 is a rapid positioning command. It takes the current point as the starting point and moves to the specified position according to the speed parameter G0. Instruction
format
G00 IP__;
IP: X, Y, Z, A, B, C, U, V, W, etc., representing any combination of axes. For the absolute value command, it is the coordinate value of the end point of the tool movement.
Instruction description
Straight line and non-straight line can be selected in the comprehensive parameters.
When G00 is executed, each axis is positioned at an independent rapid traverse speed. If the X and Z axes are specified at the same time, the tool path is usually not a straight line. That is to
say, during the G00 process, the simultaneous moving axis does not perform linear interpolation, but selects the optimal path. Typically used in stepper motor systems.
When G00 is executed, the tool path is the same as G01, and the tool is positioned in the shortest time at a speed not greater than the rapid movement of each axis.
The two methods are defined in the parameter (P0028), and the subprogram can only be in non-linear mode. The schematic
Note
1. The rapid traverse speed of each axis of G00 is set by parameters, and the feedrate specified by F is invalid. The speed of G00 rapid movement can be divided into four gears: 100%,
2. G00 is a modal command, when the next command is also G00, it can be omitted and not written. G00 can be programmed as G0.
3. When commanding G00, pay attention to the safe position of the tool to avoid collision with the tool.
- 36-
XC609D Engraving and Milling CNC System User Manual
G01 is a linear interpolation command. It takes the current point as the starting point, specifies the end point with IP, and specifies the speed with F. The
Instruction format
Instruction description
The feedrate specified by F is always valid until a new value is specified, so it is not necessary to specify each block one by one. The speed
specified by F is the resultant speed of the tool moving along the straight line.
Example
G02/G03 are circular interpolation commands. They are on the specified plane and control the cutting motion of the tool along the arc.
Instruction format
- 37-
XC609D Engraving and Milling CNC System User Manual
The distance from the coordinates of the starting point to the coordinates of the center of the circle (IJK is
Two axes in IJK
4 Center position or radius also calculated incrementally in absolute mode)
R Arc radius
5 Feed rate F Tangent speed of arc feed
Instruction description
The so-called clockwise (G02) and counterclockwise (G03) refer to in the right-hand Cartesian coordinate system, for the X_Y_ plane (Z_X_ plane, Y_Z_ plane) from the positive direction of the Z_ axis
(Y_ axis, X_ axis) to the negative In terms of direction, as shown in the following figure:
Specify the end point of the arc with the address X_, Y_ or Z_, the G90 command indicates the absolute value, and the G91 command indicates the incremental value. The incremental value is the distance value from the arc start
▲ Arc center
The arc center is designated by addresses I, J, K, which correspond to X_, Y_, Z_, respectively. The values after I, J, and K are the vector components from the start point of the arc to the center of
the circle, and are incremental values with signs. As shown below:
▲ Arc radius
When the arc of ① is less than 180º, execute G code G91 G02 X60 Y50 R50 F300;
When the arc of ② is greater than 180º, execute G code G91 G02 X60 Y50 R-50 F300;
▲ Feed rate
The feedrate of circular interpolation is specified with F, which is the speed of the tool along the tangent direction of the circular arc.
- 38-
XC609D Engraving and Milling CNC System User Manual
Note
1 When I, J, K are 0, it can be omitted.
2 When the movement amount (X, Y, Z) on all arcs is ignored, the end point is the same as the start point. If I, J, K are used to specify the center of the circle, the
is a full circle.
3 If R is used when the end point is the same as the start point, an arc of 0 degrees is generated, that is, no movement is made.
4 The error between the actual moving speed of the tool and the specified speed is within ±2%, and the specified speed is the circular arc movement of the tool after radius compensation
speed.
5 When I, J, K and R are specified at the same time, R is valid and I, J, K is invalid.
Example
The traces on the graph are programmed in absolute value mode and incremental value mode respectively.
absolute way
If an axis outside the specified plane is specified while arc interpolation is specified, the tool will move helically. Instruction
format
- 39-
XC609D Engraving and Milling CNC System User Manual
explain
The F command specifies the feed rate along the projected circle of the arc, as shown in the figure below. And the feedrate of the linear axis (Z axis) is:
Note
When specifying the feedrate F, the speed of the linear axis must not exceed any limit value.
G12 is a circular interpolation command over the middle point. They are on the specified plane and control the cutting motion of the tool along the arc.
Instruction format
G12 IJXY
Arc in the ZX plane
G12 IKXZ
Arc in the YZ plane
G12 JKYZ
I, J, K are the middle point of the arc, under G90 is absolute, under G91 is relative. X, Y, Z are
the end points of the arc, absolute under G90, relative under G91. This instruction is mainly
The middle point is best to take the middle point of the arc to reduce the calculation error. Note that the starting point, the middle point and the end point cannot be collinear.
Instruction format
G04 X__ ;
or
G04 P__ ;
X: Delay wait time setting (decimals can be used).
Instruction description
With the pause command, the execution of the next block can be delayed for a specified period of time.
- 40-
XC609D Engraving and Milling CNC System User Manual
X 0.001~99999.999 second
Note
1 The X/P command unit has nothing to do with the smallest unit of the linear axis or rotary
axis. 2 If the P and X commands are omitted, it can be regarded as an exact stop.
3 Executing the G04 command will automatically disable pre-reading and buffering.
The so-called reference point is a specific position on the machine. When there is a mechanical zero point, this mechanical zero point is the reference point of the machine tool; when there is no mechanical zero point, the set
floating zero point can also be regarded as the reference point of the machine tool. You can return to the reference point in manual mechanical zero return mode, or you can use G28 command to make the tool return to the
The automatic reference point return function (G28) can make the specified axis automatically return to the reference point through the intermediate point. After returning to the reference point, the zero return light is on. As shown below.
command format
G28 IP__;
G28: Automatic reference point return command.
IP__: The coordinates of the intermediate point passed through when automatically returning to the reference point, specified by absolute or incremental value.
Instruction description
1 During the execution of G28, the positioning of the intermediate point and the reference point is carried out at the program zero return speed. 2 When the machine
tool is locked, G28 cannot be positioned from the intermediate point to the reference point, and the zero return light will not light up. 3 G28 is generally used in
automatic tool change, so in principle, the compensation amounts such as tool radius and length should be canceled in advance. 4 In G28, the execution order of
example
Note
1 After power-on, if manual reference point return is not performed once, when G28 is commanded, the movement from the intermediate point to the reference point and the manual return parameters are
2 After passing through the intermediate point to the reference point with the G28 command, when the workpiece coordinate system is changed, the intermediate point also moves to the new coordinate system. 3 If
- 41-
XC609D Engraving and Milling CNC System User Manual
When the machine tool is working, the tool moves to the specified position according to the coordinates specified by the machining program, and the coordinate value is specified by each axis component of the coordinate axis.
The following figure is the tool position specified by X40.0 Y50.0 Z30.0.
This system uses one of the machine tool coordinate system, workpiece coordinate system and local coordinate system to specify the coordinate position. Machine zero is a fixed reference point set by the
machine tool manufacturer for the machine. The coordinate system with the machine zero as the coordinate origin is called the machine coordinate system.
1 The machine tool coordinate system takes the fixed point on the machine tool as the origin, and is the datum of other coordinate systems. Once established, the system will save it. Before resetting
Always works.
2 The workpiece coordinate system is based on the sub-coordinate system in the machine tool coordinate system, and its position in the machine tool coordinate system can be set and
changed. 3 The local coordinate system is based on the sub-coordinate system in the workpiece coordinate system, and its position in the workpiece coordinate system can be set and
Usually, after the system is turned on, the user needs to reset the machine tool coordinate system.
After manually returning to the zero point for each coordinate axis, or returning to the reference point by G28 command, the system can establish the machine tool coordinate system according to the machine tool zero point.
This coordinate system will be stored in the system until reset by the user.
Rapidly move the tool to the target position according to the specified machine coordinates.
Instruction format
G53 IP__;
IP__: The absolute coordinates of the target point in the machine coordinate system
Instruction description
1 Since the general positioning command (G00) can only specify the target point in the workpiece coordinate system, if the user wants to move the tool to a special position of the machine tool (such as
- 42-
XC609D Engraving and Milling CNC System User Manual
3 The G53 command must be an absolute command. If it is an incremental command, an alarm will be generated.
Note
1 When the G53 command is specified, the compensation amounts such as tool radius and length will be automatically cleared.
The coordinate system used for machining parts is called the workpiece coordinate system. The workpiece coordinate system needs to be set in advance before processing, and the set workpiece coordinate system can also be
Instruction format
G92 IP__ ;
IP__: Specify the coordinates of the current point in the set workpiece coordinate system.
The way of establishing the workpiece coordinate system is to make the specified coordinate value (IP__) become the absolute coordinate value of the point (such as the tool nose) on the current tool in the set workpiece
coordinate system.
1 Under the condition of tool length compensation, when the coordinate system is set with G92, the specified coordinate value (IP__) is the position before tool
compensation. 2 For tool radius compensation, when G92 is commanded, the compensation temporarily disappears.
3 Normally, please set the workpiece coordinate system before specifying tool compensation.
Example
After the coordinate system is established, in absolute mode, when the commanded reference point moves to the specified position, tool length compensation must be added, and the compensation value is the difference between the reference point and the tool nose.
If the automatic coordinate system setting function is selected, the system will automatically set the workpiece coordinate system after returning to the reference point manually or automatically.
If α, β, γ are the values of the set parameters, after returning to the reference point, the absolute coordinates of the tool post reference point or the tool nose position are X=α, Y=β, Z=γ. This sets
the workpiece coordinate system. This method is equivalent to executing the following command setting at the reference point.
G92 XalphaYbetaZγ;
- 43-
XC609D Engraving and Milling CNC System User Manual
The system provides six workpiece coordinate systems of G54-G59. The user can set the workpiece zero offset data of each coordinate system through the system MDI panel, and then select any workpiece coordinate
system. When the machine is turned on and the reference point return is executed, the G54 coordinate system is selected by default.
Instruction description
1 These six workpiece coordinate systems are set according to the distance from the machine zero point to the zero point of their respective coordinate systems (workpiece zero offset), as shown in the figure below.
2 After returning to the reference point, the absolute position is the negative value of the workpiece zero offset, as shown in the figure below.
3 If the working coordinate system is selected, it is generally set to zero in the parameters. If the set value is not zero, after returning to the parameter reference point, all working
Note
1 When the workpiece coordinate system is selected, it is generally not necessary to set the coordinate system with G92. If set with G92, it will move workpiece coordinate system 1~6 Therefore, do not
G92 and G54~G59 mixed, unless you want to move workpiece coordinate system 1~6.
2 Whether the relative position changes with the setting of the workpiece coordinate system depends on the corresponding setting in the parameters.
Example
- 44-
XC609D Engraving and Milling CNC System User Manual
Machining program
Instruction format
G92 IP_ ;
IP__: Specify the coordinates of the current point in the set workpiece coordinate system.
Instruction explanation
Execute the G92 command in the selected workpiece coordinate system (G54-G59), all the original workpiece coordinate systems can be offset synchronously to generate a new coordinate
system, and all workpiece coordinate systems have the same offset.
Set the coordinates of the current machine tool, please use it with caution when there is a software limit. The workpiece coordinate system will be
When writing a machining program in the workpiece coordinate system, for convenience, a sub-coordinate system can be set in the workpiece coordinate system. This sub-coordinate system is called the local coordinate system.
Instruction format
...
G52 IP0; Cancel the local coordinate system
IP__: Specifies the absolute coordinates of the origin of the local coordinate system in the workpiece coordinate system.
explain
When setting the local coordinate system, whether the specified IP__ is in absolute mode or relative mode, its value represents the absolute coordinate of the origin of the local coordinate system in the workpiece coordinate
system. At the same time, the absolute coordinates displayed on the system interface are also the coordinates in the local coordinate system. The local coordinate system can be changed by specifying the new zero point of
the local coordinate system with G52 in the workpiece coordinate system.
Once the local coordinate system is specified with G52, the local coordinate system will remain valid in its corresponding workpiece coordinate system until the command "G52 IP" makes the zero point of the local
coordinate system coincide with the zero point of the workpiece coordinate system.
Different from G92 command, G52 only works in its corresponding workpiece coordinate system, as shown in the figure below.
- 45-
XC609D Engraving and Milling CNC System User Manual
Note
1 When an axis returns to the reference point automatically or manually, the zero point of the local coordinate system of this axis is the same as the zero point of the workpiece coordinate system, that is, the local coordinate system is cancelled.
mark system. This has the same effect as the command G52 α; (α: axis that returns to the reference point). 2 The setting of the
local coordinate system does not change the workpiece coordinate system and the machine tool coordinate system.
3 Whether to clear the local coordinate system during reset depends on the parameter setting.
4 When the workpiece coordinate system is set with G92, the local coordinate system is canceled. If the coordinate values of all axes are not specified, the axis for which the coordinate value is not specified
6 After the G52 block is executed, the absolute coordinates display the coordinates in the local coordinate system immediately.
Use G code to select the plane for circular interpolation and the plane for tool radius compensation. Instruction
format
G17…XY plane
G18…ZX plane
G19……YZ plane
G17, G18, G19 In the block without command, the plane does not change.
example
G18 X_ Z_ ; ZX plane
X_ Y_ ; plane unchanged (ZX plane)
Also, the move command is independent of plane selection. For example, in the case of the following command, the Z axis is not on the XY plane, so the Z axis movement is independent of the XY
plane.
G17 Z_ ;
3.9.1Overview
In drilling processing, multiple blocks are usually used to specify several processing actions that are frequently used. The canned cycle introduced in this chapter can use a single block containing a G
code to complete various ways of drilling, which simplifies the programming operation.
Gcode Opening action Bottom of the hole action Retraction action use
G73 intermittent feed -- Rapid feed High-speed deep hole machining cycle
- 46-
XC609D Engraving and Milling CNC System User Manual
G82 cutting feed -- Rapid feed Drilling and boring stepped holes
Instruction format
Hole processing method G Select canned cycles G73, G74, G80 to G89.
Hole position data Specify the hole position with absolute value or incremental value, and the control is the same as that of G00 positioning.
Direction axis address
As shown in the figure below, specify the distance from point R to the bottom of the hole with an incremental value or
IP hole machining method
specify the coordinate value of the bottom of the hole with an absolute value. In action 3, the feedrate is the speed specified
to address
by F, and in action 5, it is the speed specified by rapid feed or F code according to the hole machining method.
As shown in the figure below, specify the distance from the initial point plane to point R with incremental value, or specify the
R
coordinate value of point R with absolute value. The feed rate is all rapid traverse in motion 2 and motion 6.
Hole machining data
Q Specify the cutting amount in G73 and G83 or the translation amount (incremental value) in G76 and G87.
P Specifies the pause time at the bottom of the hole. The relationship between the time and the specified value is the same as that specified by G04.
Machining axis designation, J0: X, J1: Y, J2: Z, J3: A Other values or do not designate the default Z axis
J
Instruction explanation
Absolute programming and relative programming are specified with G90 and G91.
Usually, G99 is used for the first hole machining, and G98 is used for the final machining. When the hole is machined in the G99 state, the plane of the initial point does not change
G98 (return to the initial point plane) G99 (return to point R plane)
- 47-
XC609D Engraving and Milling CNC System User Manual
The optional hole machining canned cycle commands include: G73, G74, G76, G80~G89, all of which are modal G codes. The canned cycle command specifies all the
data of the canned cycle, including hole machining method, hole machining direction, hole position data, hole machining data, etc., to form a block.
Once the hole machining method and data are commanded, they remain valid until the G code (G80 and 01 group G codes) to cancel the canned cycle is specified. Therefore, when the
same hole machining is performed continuously, it is not necessary to specify hole machining for each block. method and data. At the beginning of the canned cycle, specify all the
necessary hole machining data, and only specify the changed data in the subsequent canned cycle.
Note
The cutting speed (F command) commanded in the canned cycle remains after the canned cycle is canceled.
The canned cycle can be canceled by using the 01 group code or G80 in the same group as the canned cycle. Group 01 G codes include: G00, G01, G02, G03.
G73 cycle is a high-speed deep hole drilling cycle, which executes intermittent feed until the bottom of the hole.
Instruction format
IP_ (hole machining axis): the distance from point R to the bottom of the hole (incremental value) or the coordinates of the hole bottom (absolute value) R_:
the distance from the initial point plane to point R (incremental value), or the distance from point R to point R (incremental value) Coordinate (absolute value)
Instruction explanation
The high-speed deep hole drilling cycle feeds intermittently along the drilling axis, and returns quickly after reaching the bottom of the hole. This cycle facilitates chip evacuation, drilling speed and accuracy.
Note
1 The tool retraction amount d can be set by parameters, and the intermittent feed in the direction of the drilling axis is used to facilitate chip removal in deep hole machining. The retract amount can be set to a small amount, which
This can improve work efficiency. The retracting movement adopts rapid movement.
3 In canned cycle state, if any one or more of X, Y, Z and R data are commanded, the system will carry out hole machining. But when X and
When G04 is specified at the same time, hole machining is not performed.
4 The hole machining data Q and P can be commanded in the block that can perform hole machining. Hole machining is commanded in a block where hole machining is not possible
5 In the canned cycle mode, if the tool length offset has been commanded, the offset is performed when the initial point plane is positioned. 6 The tool offset
7 The canned cycle must be canceled before changing the drilling axis or machining plane.
- 48-
XC609D Engraving and Milling CNC System User Manual
Instruction format
IP_ (hole machining axis): the distance from point R to the hole bottom (incremental value) or the coordinates of the hole bottom (absolute value) R_: the
distance from the initial point plane to point R (incremental value), or the distance from point R to point R (incremental value) Coordinate (absolute value)
Instruction explanation
After the tool is positioned, move quickly to point R, drill to the bottom of the hole along the drilling axis, and then quickly retract the tool.
Note
1 Start the spindle rotation before specifying G81. If G81 and M code are specified in the same block, the M code will be sent during the initial positioning,
And wait for the completion of the M code execution before proceeding to the next loop action.
2 In canned cycle state, if any one or more of X, Y, Z, R data is commanded, the system will carry out hole machining. But when X and
When G04 is specified at the same time, hole machining is not performed.
3 In the canned cycle mode, if the tool length offset has been commanded, the offset will be performed when the initial point plane is positioned. 4 The tool
5 The canned cycle must be canceled before changing the drilling axis or machining plane.
example
G90 G99 G81 X100. Y100. Z-20. R50. F100.; X150.; Locate, drill 1 hole and return to R
G98 Y150.; Position, return to the initial plane after drilling 3 holes
G80 G00 X0. Y0. Z0.; Cancel the canned cycle and return to the starting point of processing
G82 is a general drilling cycle command, the tool returns after pausing at the bottom of the hole. Due to the pause at the bottom of the hole, the accuracy of the hole depth can be improved in blind hole machining. Instruction
format
IP_ (hole machining axis) the distance from point R to the bottom of the hole (incremental value) or the coordinates of the hole bottom (absolute value)
R_: the distance from the initial point plane to point R (incremental value), or the coordinates of point R (absolute value) P_: pause time at the bottom of
G82(G98) G82(G99)
Instruction explanation
After the tool is positioned, it rapidly moves to point R, drills to the bottom of the hole along the drilling axis, pauses for a time P, and then the tool quickly retracts.
Note
1 Start the spindle rotation before specifying G82. If G82 and M code are specified in the same block, the M code will be sent during the initial positioning,
And wait for the completion of the M code execution before proceeding to the next loop action.
2 In canned cycle state, if any one or more of X, Y, Z, R data is commanded, the system will carry out hole machining. But when X and
When G04 is specified at the same time, hole machining is not performed.
3 The hole machining data Q and P can be commanded in the block that can perform hole machining. Hole machining is commanded in a block where hole machining is not possible
- 49-
XC609D Engraving and Milling CNC System User Manual
4 In the canned cycle mode, if the tool length offset has been commanded, the offset will be performed when the initial point plane is positioned. 5 The tool
6 The canned cycle must be canceled before changing the drilling axis or machining plane.
G83 is a deep hole machining cycle command, which executes intermittent tapping to the bottom of the hole, and then quickly exits.
Instruction format
IP_ (hole machining axis) the distance from point R to the bottom of the hole (incremental value) or the coordinates of the hole bottom (absolute value)
R_: the distance from the initial point plane to point R (incremental value), or the coordinates of point R (absolute value) Q_: The feed amount of each
cutting feed
G83(G98) G83(G99)
Instruction explanation
According to the above format command, Q is the cut-in amount each time, which is commanded by incremental value. When cutting in after the second time, it will firstly feed rapidly to the position d mm from the position just
finished, and then change to cutting feed. The Q value must be positive, and the sign is invalid even if a negative value is commanded. d Set with parameters.
Note
1 Start the spindle rotation before specifying G83. If G83 and M code are specified in the same block, the M code will be sent during the initial positioning,
And wait for the completion of the M code execution before proceeding to the next loop action.
2 In canned cycle state, if any one or more of X, Y, Z, R data is commanded, the system will carry out hole machining. But when X and
When G04 is specified at the same time, hole machining is not performed.
3 The hole machining data Q and P can be commanded in the block that can perform hole machining. Hole machining is commanded in a block where hole machining is not possible
4 In the canned cycle mode, if the tool length offset has been commanded, the offset will be performed when the initial point plane is positioned. 5 The tool
6 The canned cycle must be canceled before changing the drilling axis or machining plane.
G85 is used for boring machining, after machining, G76 can be used for fine boring. The cycle process is the same as G84, except that the spindle does not reverse at the bottom of the hole, and there is no pause time.
Instruction format
- 50-
XC609D Engraving and Milling CNC System User Manual
IP_ (hole machining axis) the distance from point R to the bottom of the hole (incremental value) or the coordinates of the bottom of the hole (absolute
value) R_: the distance from the initial point plane to point R (incremental value), or the coordinates of point R (absolute value) F_: Cutting feedrate
Instruction explanation
After positioning, the tool quickly moves to point R, cuts along the Z direction to the bottom of the hole, then exits at the cutting speed, and then the tool returns to point R or the initial plane.
Note
1 Start the spindle rotation before specifying G85. If G85 and M code are specified in the same block, the M code is sent and the
After waiting for the execution of the M code, the next loop action is performed.
2 In canned cycle state, if any one or more of X, Y, Z, R data is commanded, the system will carry out hole machining. But when X and
When G04 is specified at the same time, hole machining is not performed.
3 In the canned cycle mode, if the tool length offset has been commanded, the offset will be performed when the initial point plane is positioned. 4 The tool
5 The canned cycle must be canceled before changing the drilling axis or machining plane.
G86 is used for boring processing. After machining, G76 can be used for fine boring. The cycle process is the same as G81, but the spindle stops at the bottom of the hole.
Instruction format
IP_ (hole machining axis) the distance from point R to the bottom of the hole (incremental value) or the coordinates of the bottom of the hole (absolute
value) R_: the distance from the initial point plane to point R (incremental value), or the coordinates of point R (absolute value) F_: Cutting feedrate
Instruction explanation
After the tool is positioned, it moves to point R rapidly, cuts to the bottom of the hole along the Z direction, the spindle stops, and then the tool quickly returns to point R or the initial plane, and the spindle starts to rotate
forward.
Note
1 Start the spindle rotation before specifying G86. If G86 and M code are specified in the same block, the M code will be sent during the initial positioning,
And wait for the completion of the M code execution before proceeding to the next loop action.
2 In canned cycle state, if any one or more of X, Y, Z, R data is commanded, the system will carry out hole machining. But when X and
When G04 is specified at the same time, hole machining is not performed.
3 In the canned cycle mode, if the tool length offset has been commanded, the offset will be performed when the initial point plane is positioned. 4 The tool
5 The canned cycle must be canceled before changing the drilling axis or machining plane.
G89 is used for boring machining. After the G89 machining is completed, the cycle process is the same as that of G85, but there is a pause time at the bottom of the hole.
Instruction format
IP_ (hole machining axis) the distance from point R to the bottom of the hole (incremental value) or the coordinates of the bottom of the hole (absolute
value) R_: the distance from the initial point plane to point R (incremental value), or the coordinates of point R (absolute value) P_: Pause time at the
- 51-
XC609D Engraving and Milling CNC System User Manual
Instruction explanation
G89 cycle is the same as G85, but the pause time is added at the bottom of the hole, which can improve the machining accuracy of blind holes.
Note
1 Start the spindle rotation before specifying G89. If G89 and M code are specified in the same block, the M code will be sent during initial positioning,
And wait for the completion of the M code execution before proceeding to the next loop action.
2 In canned cycle state, if any one or more of X, Y, Z, R data is commanded, the system will carry out hole machining. But when X and
When G04 is specified at the same time, hole machining is not performed.
3 In the canned cycle mode, if the tool length offset has been commanded, the offset will be performed when the initial point plane is positioned. 4 The tool
5 The canned cycle must be canceled before changing the drilling axis or machining plane.
Instruction format
G80;
Instruction explanation
It is used to cancel all the machining data of all canned cycles (G73, G74, G81〜G89), and then process as usual.
- 52-
XC609D Engraving and Milling CNC System User Manual
If a 2-digit value is commanded after the address M, the corresponding signal will be sent to the machine tool to control the switch of the auxiliary function of the machine tool. Only one M code
is allowed to be valid in a block. When the position movement command and the M command are in the same block, they will be executed at the same time.
4.1 Overview
name Function
M01 Select stop, if the stop light is selected, the program stops
M08 coolant on
M10 clamp
M11 release
Waiting for input port, output port or auxiliary relay invalid Example: M70 X12 input port; M70 Y1 output
M70
port; M70 Z1 auxiliary relay;
Wait for the input port, output port or auxiliary relay to be valid Example: M71 X12 input port; M71 Y1
M71
output port; M71 Z1 auxiliary relay;
M74 Wait for the falling edge of input port, output port or auxiliary relay
M75 Wait for the rising edge of input port, output port or auxiliary relay
M80 The output port or auxiliary relay is closed Example: M80 Y12
M82 The output port or auxiliary relay output is closed for a period of time Example: M82 Y12 P1000 (milliseconds)
M83 The output port or auxiliary relay output is closed after waiting for an input port to be valid. Example: M83 Y12 X13
M84 The output port or auxiliary relay output is closed after waiting for an input port to be invalid. Example: M84 Y12 X13
M98 Call the subroutine. Note that the subroutine name format is Oxxxx.nc, where x is a number
M99 Subprogram or macro program return. If used in the main program, the program loops from the beginning
Instruction format
- 53-
XC609D Engraving and Milling CNC System User Manual
After executing the M00 instruction, the program running stops and the word "pause" is displayed. After pressing the cycle start key, the program continues to run.
Instruction format
When "Stop" is ON, the M01 command is valid. When encountering M01 during program execution, the system stops running after executing the current block, and continues to execute when the
Instruction format
In the automatic mode, execute the M02 instruction, after the execution of other instructions in the current block is completed, the automatic operation ends, the cursor stays in the block where the M02 instruction is located,
and does not return to the beginning of the program. To execute the program again, the cursor must be returned to the beginning of the program.
When the counting mode is automatic (P0003=0), the counter increases by one.
Instruction format
When the program executes the M03 command, the spindle 1 forward rotation relay is first turned on, and then the spindle is controlled to rotate clockwise at the speed specified by the S code.
Instruction format
Instruction format
Turn off the output of M03 or M04 to stop the spindle 1 from rotating.
Instruction format
Instruction format
M10;
M11;
Command function
- 54-
XC609D Engraving and Milling CNC System User Manual
Instruction format
M13
Command function
When the program executes the M13 command, the spindle 2 forward rotation relay is first turned on, and then the spindle is controlled to rotate clockwise at the speed specified by the SS code.
Instruction format
M14
Command function
Instruction format
M15
Command function
Turn off the output of M13 or M14 to stop the spindle 2 from rotating.
Instruction format
M30
Command function
In the automatic mode, execute the M30 instruction, after the execution of other instructions in the current block is completed, the automatic operation ends, and the cursor returns to the beginning of the program. To execute
When the counting mode is automatic (P0003=0), the counter increases by one.
Instruction format
M64
Command function
Instruction format
M65
Command function
4.2.15 M70-waiting for input port, output port, auxiliary relay is invalid
Instruction format
Command function
- 55-
XC609D Engraving and Milling CNC System User Manual
4.2.16 M71-Wait for input port, output port, auxiliary relay to be valid
Instruction format
Command function
4.2.17 M72 - input port, output port, auxiliary relay invalid jump
Instruction format
Command function
When the specified port is invalid, the program jumps to the N number specified by P. Effectively execute downwards.
4.2.18 M73 - input port, output port, auxiliary relay valid jump
Instruction format
Command function
When the specified port is valid, the program jumps to the N number specified by P. Invalid down execution. Only
4.2.19 M74 - wait for the falling edge of input port, output port, auxiliary relay
Instruction format
Command function
The specified port waits for a valid signal before waiting for an invalid signal. Only one port can be specified at a time.
4.2.20 M75 - wait for input port, output port, auxiliary relay to rise
Instruction format
Command function
- 56-
XC609D Engraving and Milling CNC System User Manual
The specified port waits for an invalid signal before waiting for a valid signal. Only
Instruction format
Command function
Instruction format
Command function
4.2.23 M82 - output port, auxiliary relay output is closed for a period of time
Instruction format
function
4.2.24 M83 - output port, auxiliary relay output is closed after waiting for an input port to be valid
Instruction format
function
Example: M83 Y12 X13; Explanation: Open No. 12 output port, and then judge whether No. 13 input port is valid, if it is valid, close output 12. Only
4.2.25 M84 - output port, auxiliary relay output is closed after waiting for an input port to be invalid
Instruction format
function
Example: M84 Y12 X13; Explanation: Open No. 12 output port, and then judge whether No. 13 input port is invalid, if invalid, close output 12. Only
- 57-
XC609D Engraving and Milling CNC System User Manual
1. 1 Dimensions
- 58-
XC609D Engraving and Milling CNC System User Manual
(driver) 25 5V Spare 5V
CP+, CP- are command pulse signals, DIR+, DIR- are command direction signals, these two sets of signals are differential output, the internal use of AM26LS31 driver
chip, in line with the RS422 level standard. The internal circuit diagram is as follows:
Figure 2.1.2 Internal circuit of command pulse signal and command direction signal
17 X22 Input 22 (optional function, refer to the optional function of the entrance)
twenty three X16 Input 16 (optional function, refer to the optional function of entry)
twenty four X15 Input 15 (optional function, refer to the optional function of entry)
The analog spindle interface (SVC) can output 0~10V analog voltage signal. The internal circuit of the signal is shown in the following figure:
- 60-
XC609D Engraving and Milling CNC System User Manual
2.2.3Description of the connection between the analog spindle and the inverter
XC609D handwheel adopts single-ended input mode. The handwheel connection is shown in the following figure:
12 X12 Input 12 (optional function, refer to the optional function of the entrance)
(enter) 17 X17 Input 17 (optional function, refer to the optional function of entry)
- 61-
XC609D Engraving and Milling CNC System User Manual
twenty one X21 Input 21 (optional function, refer to the optional function of entry)
twenty two X22 Input 22 (optional function, refer to the optional function of the entrance)
twenty three X23 Input 23 (optional function, refer to the optional function of entry)
twenty four X24 Input 24 (optional function, refer to the optional function of entry)
2 emergency stop Normally open, normally closed 20 Handwheel Z Normally open, normally closed 38 Z alarm Normally open, normally closed
3 reset Normally open, normally closed twenty one Handwheel A Normally open, normally closed 39 A positive limit Normally open, normally closed
4 main boot Normally open, normally closed twenty two Handwheel X1 Normally open, normally closed 40 A negative limit Normally open, normally closed
5 pause Normally open, normally closed twenty three Handwheel X10 Normally open, normally closed 41 A zero Normally open, normally closed
6 edit Normally open, normally closed twenty four Handwheel X100 Normally open, normally closed 42 A alarm Normally open, normally closed
7 Teach Normally open, normally closed 25 Knife setter protection Normally open, normally closed 43 Tool setter input Normally open, normally closed
8 automatic Normally open, normally closed 26 Spindle alarm Normally open, normally closed 44 X-axis Z-CP Normally open, normally closed
9 MDI Normally open, normally closed 27 X positive limit Normally open, normally closed 45 Y axis Z-CP Normally open, normally closed
10 return to zero Normally open, normally closed 28 X negative limit Normally open, normally closed 46 Z-axis Z-CP Normally open, normally closed
11 single step Normally open, normally closed 29 X zero Normally open, normally closed 47 A-axis Z-CP Normally open, normally closed
12 manual Normally open, normally closed 30 X alarm Normally open, normally closed 48
13 cool down Normally open, normally closed 31 Y positive limit Normally open, normally closed 49
14 Spindle rotates forward Normally open, normally closed 32 Y negative limit Normally open, normally closed 50
15 Spindle reverse Normally open, normally closed 33 Y zero Normally open, normally closed 51
16 Spindle stopped Normally open, normally closed 34 Y alarm Normally open, normally closed 52
17 Clamp release Normally open, normally closed 35 Z positive limit Normally open, normally closed 53
18 Handwheel X Normally open, normally closed 36 Z negative limit Normally open, normally closed 54
Input signal refers to the signal input to CNC from machine tool or equipment. When the input signal is connected to GND, the input is valid; when the input signal is disconnected from GND, the
input is invalid.
There are two ways for external input of input signals: one is to use contact switch input, the signal in this way comes from the buttons on the machine side, limit switches
and contacts of relays, etc. The connection method is as follows: there are contact inputs shown:
The other uses a non-contact switch (transistor) input, and the connection is as shown below for a non-contact switch (NPN transistor) input:
- 62-
XC609D Engraving and Milling CNC System User Manual
The tool setting signal (brown) of the tool setter must be connected to the input X1---X8 of the XC609D system, and the over-travel protection (yellow) signal can be connected to the input X1---X24.
1 Y13 Output 13 (optional function, please refer to the table below for setting)
2 Y12 Output 12 (optional function, please refer to the table below for setting)
3 Y11 Output 11 (optional function, please refer to the table below for setting)
4 Y10 Output 10 (optional function, please refer to the table below for setting)
5 Y09 Output 9 (optional function, please refer to the table below for setting)
6 Y08 Output 8 (optional function, please refer to the table below for setting)
7 Y07 Output 7 (optional function, please refer to the table below for setting)
8 Y06 Output 6 (optional function, please refer to the table below for setting)
9 Y05 Output 5 (optional function, please refer to the table below for setting)
10 Y04 Output 4 (optional function, please refer to the table below for setting)
11 Y03 Output 3 (optional function, please refer to the table below for setting)
12 Y02 Output 2 (optional function, please refer to the table below for setting)
13 Y01 Output 1 (optional function, please refer to the table below for setting)
15 Y24 Output 24 (optional function, please refer to the table below for setting)
16 Y23 Output 23 (optional function, please refer to the table below for setting)
17 Y22 Output 22 (optional function, please refer to the following table for setting)
(output) 19 Y20 Output 20 (optional function, please refer to the table below for setting)
20 Y19 Output 19 (optional function, please refer to the table below for setting)
twenty one Y18 Output 18 (optional function, please refer to the following table for setting)
twenty two Y17 Output 17 (optional function, please refer to the following table for setting)
twenty three Y16 Output 16 (optional function, please refer to the table below for setting)
twenty four Y15 Output 15 (optional function, please refer to the following table for setting)
25 Y14 Output 14 (optional function, please refer to the table below for setting)
sequence sequence
- 63-
XC609D Engraving and Milling CNC System User Manual
The output signal is used to drive the relay and indicator light on the machine tool side. When the output signal outputs 0V, the output function is valid; otherwise, it is in a high-impedance state,
and the output function is invalid. There are a total of 48 digital outputs in the I/O interface, all of which have the same structure, as shown in Figure 2.5.6:
The logic signals Y1-Y24 output by the CNC main control module are sent to the input end of the output interface chip (ULN2803) through the connector. Each output of the
ULN2803 has a Darlington structure, and the output port has two output states: 0V output or high resistance; each output can withstand a maximum tube current of 200mA.
When using ULN2803 output to drive inductive load, it is necessary to connect a freewheeling diode at both ends of the relay coil to protect the output circuit and reduce interference.
- 64-
XC609D Engraving and Milling CNC System User Manual
XC609M multi-function multi-purpose numerical control system has 24 channels of input and 24 channels of output. The system supports IO port expansion, which can be expanded to 96 inputs and 96 outputs. The appearance of
The IO port expansion board of this system adopts 485 bus structure. An IO expansion board has 12 inputs and 12 outputs. The 485 bus of the XC609M system can carry up
to 6 IO expansion boards, and each IO expansion board is defined by the DIP switch.
ID (address number) S1 S2 S3
1 ON OFF OFF
2 OFF ON OFF
3 ON ON OFF
4 OFF OFF ON
5 ON OFF ON
6 ON ON ON
pin Signal
+24V
GND
Spindle and other interfaces
485B
485A
14 485A +24V
15 485B
XC609MCNC system GND
switching power supply
+24V
GND IOport expansion board
X1
X2
Y1
Y2
C2
C1
AC220-L
AC220-N
- 65-
XC609D Engraving and Milling CNC System User Manual
Article 5 References
1.1 Commands about coordinates and coordinate systems
1.1.1 Absolute value programming G90 and incremental value programming G91 Example: When the tool moves
from the origin to points 1, 2 and 3 in sequence, use G90 and G91 to program.
G92 X X2 Y Y2 Z Z2
Then set the workpiece origin to the position where the distance from the tool start point is X=-X2, Y=-Y2, Z=-Z2.
- 66-
XC609D Engraving and Milling CNC System User Manual
programming as follows
N01 G54 G00 G90 X30.0 Y40.0 Quick move to point A in G54
G52 X45.0 Y15.0 N05 G00 Establish local coordinate system G52 in the current workpiece coordinate
G90 X35.0 Y20.0 N06 G53 system G59 Move to point C in G52
example 1:
- 67-
XC609D Engraving and Milling CNC System User Manual
Arc AB:
Absolute: G17G90 G02 X xb Y yb R r1 F f;
or G17G90 G02 X xb Y yb I(x1-xa) J (y1-ya) F f ;
Great arc AB
Small arc AB
- 68-
XC609D Engraving and Milling CNC System User Manual
It is required to start from point A, realize counterclockwise circular interpolation and return
That is, a third axis movement command perpendicular to the machining plane is added to the back of the original G02, G03 command format block, so that while the arc feed is performed, the feed in the
third axis direction is also performed, and the composite trajectory is a Space spiral.
X, Y, Z are the end points of the projected arc, and the third coordinate is the end point of the axis perpendicular to the selected plane.
For the parts shown in the figure, the outer contour is finely milled with a hole of φ30, regardless of tool compensation.
XC609D Engraving and Milling CNC System User Manual
G92 X150.0 Y160.0 Z120.0 Establish workpiece coordinate system, program zero point W
G00 X100.0 Y60.0 Quickly retreat to the next position where X=100, Y=60
Z120.0 Quickly lift the tool to the tool setting point plane of Z=120
- 70-