ADTCNC4840 English Manual2
ADTCNC4840 English Manual2
ADTCNC4840 English Manual2
Milling Controller
User Manual
Copyright Statement
All property rights of this user manual are reserved by Adtech (Shenzhen) CNC
Technology Co., Ltd (ADTECH for short). No institution or person is allowed to
counterfeit, copy, transcribe or translate this user manual without the permission of
ADTECH. This user manual does not include warranty, standpoint expression, or other
hints in any form. ADTECH does not bear any responsibility for any data outflow, benefit
loss or business termination due to the product info contained or mentioned by this user
manual. All products and data mentioned are for reference only. Contents are subject to
change without prior notice.
-1-
ADT-CNC4840 Milling Controller
Edit Printer
Program NO First update Version Number Total page
engineer engineer
calibration records
-2-
ADT-CNC4840 Milling Controller
Notice
Transportation and storage:
1.The product packing case piles the repeat not to be possible to surpass six 2.Cannot climb up in the product
packing case, stand or the laying aside heavy
3. cannot use and the product connected electric cable dragging or the transporting product
4. refuses the collision, to scratch the kneading board and the display monitor
5. product packing case should avoid moist, the insolation as well as the rain
drenches
Opens a box and check :
1. after opening the packing, please confirm whether is the product
2. inspection product which you purchase in the transportation whether to have on the way damages
3. comparison detailed list to confirm various parts are whether complete, whether there is appendix or
transportation damage situations and so on to damage
4. like existence product model symbol, not to lack, please promptly relate with Our company
Connection:
1. participates in the wiring and the inspection personnel must be has the corresponding ability specialists
2. product to earth reliably, the earth resistance should be smaller than 4 ohms, cannot use the neutral axis (zero
curve) to replace the grounding
3. wiring to be correct, be reliable, in order to avoid causes the product
breakdown or the unexpected consequence
4. with the product connection surge absorber diode must according to the
stipulation direction connection, otherwise before will damage product
5. to insert pulls out the plug or turns on the product engine case, must shut
off the product power source
Overhaul
1. before the overhaul either replaces the primary device, must the dump
2. have when the short circuit or the overload should the trouble shooting, after the trouble shooting, if only then
starts
3. not to be possible passes the power failure frequently to the product, after the power failure, to electrify, time
interval at least 1 minute
Others
1. without the permission, please arbitrarily do not turn on the cabinet.
2. the long time does not use, please dump.
3. the special attention do not let the dust, the powdered iron enter the controller.
4. outputs the relay, if uses the non-solid state relay, then must in the relay
winding the parallel after flow diode. The inspecting office receives a
-3-
ADT-CNC4840 Milling Controller
telegram the source whether to meet the requirement, ceases burns out the
controller.
5. controller's life and the ambient temperature have the very big relations, if
processes the scene hyperpyrexia, pays respects installs the radiation
ventilator. Controller permission work ambient temperature scope in 0℃-60
℃ between. 6. avoids, in the high temperature, moist, the multi-dust or have
in the caustic gas environment to use. 7. in the vibration intense place,
should add the rubber crash pad to carry on the cushion.
Maintenance
Under general exploitation conditions (environmental condition: The daily average 30℃, the load factor 80%, the
service factor daily 12 hours), please press the following project to carry on the daily inspection and the periodic
inspection.
1.confirmation ambient temperature,
temperature, dust foreign matter
2. whether there is exceptionally to
Daily inspection Daily
vibrate, the sound
3. whether air vent and so on blocked by
the yarn
-4-
ADT-CNC4840 Milling Controller
CONTENT
-5-
ADT-CNC4840 Milling Controller
1.2.6 Alarm display_________________________________________________________________- 128 -
1.3 Description of operating mode _______________________________________________________- 129 -
1.2.1 Selection of operating mode ________________________________________________________- 129 -
1.4 Manual operations _________________________________________________________________- 130 -
1.4.2 reset relative position ___________________________________________________________- 130 -
1.4.3 Operations of manual auxiliary functions ____________________________________- 131 -
1.5 Auto operation ____________________________________________________________________- 132 -
1.5.1 start of program _______________________________________________________________- 132 -
1.5.2 stop of auto operation ______________________________________________________- 132 -
1.5.2 There are two ways to stop the auto operation. One is to input stop order in where
it is to stop in advance via the program, and the other way is to use the button on control panel.
- 132 -
1.5.3 feed rate adjustment in auto operation ______________________________________- 133 -
1.2.2 In [Auto] mode, in the interface of display position, you can rotate the auto rate
shift to change the manual rate. The range of the rate is 0~150% (with 10% per shift) . The feed
rate is specified by F instruction or parameters. _________________________________________- 133 -
1.5.4 Single program segment ________________________________________________________- 133 -
1.5.5 Skip the program segment _______________________________________________________- 134 -
1.6 Zero fill __________________________________________________________________________- 134 -
1.6.1 return to reference point manually_________________________________________________- 134 -
1.7 Single-step/Handwheel operation_____________________________________________________- 135 -
1.7.1 Single-step feed _______________________________________________________________- 135 -
1.7.2 Handwheel feed _______________________________________________________________- 135 -
1.8 Edition operation __________________________________________________________________- 136 -
1.8.1 Preparation before program storage and edition ______________________________________- 136 -
1.8.2 Save the program in storage _____________________________________________________- 136 -
1.8.3 Program searching _____________________________________________________________- 137 -
1.8.4 Adding program_______________________________________________________________- 138 -
1.8.5 Deleting program ______________________________________________________________- 138 -
1.8.6 Deleting all programs __________________________________________________________- 138 -
1.8.7 Inserting, modifying, deleting word _______________________________________________- 138 -
1.8.8 Storage capacity _______________________________________________________________- 140 -
1.8.9 Download of program __________________________________________________________- 140 -
1.9 Recording operation _______________________________________________________________- 143 -
1.10 Composite key ____________________________________________________________________- 144 -
1.11 Parameters ______________________________________________________________________- 146 -
1.11.1 GenralParam (P1.) _____________________________________________________________- 146 -
1.11.2 Network parameter(P2.)_________________________________________________________- 164 -
1.11.3 Axis parameter configuration (P3.) ______________________________________________- 166 -
1.11.4 Tool magazine parameter (P4.) ___________________________________________________- 179 -
1.11.6 IO Configuration parameter(P5.)__________________________________________________- 180 -
1.11.7 Manager Parameter (P6.)________________________________________________________- 180 -
1.12 System alarming __________________________________________________________________- 186 -
1.12.1 NC Program executing alarming __________________________________________________- 186 -
1.12.2 system environment alarming __________________________________________________- 188 -
1.2 Annex1 setting of workpiece coordinate and tool setting _________________________________- 190 -
1.3 Annex 2 Table of operating environment ______________________________________________- 190 -
1.4 Annex3 Description of keyboard _____________________________________________________- 191 -
-6-
ADT-CNC4840 Milling Controller
Chapter I Definition of System Interface and Wiring Description
I. System Structure
1. Parts of CNC4840 NCS
CNC4840 NCS is composed by the following main units:
1. CNC control unit (Control device CNC4840)
4. Electric ca binet
-7-
ADT-CNC4840 Milling Controller
Filter
Switching
power supply
Picture 1-4
Surge absorber
Picture 1-6
Picture 1-7
-8-
ADT-CNC4840 Milling Controller
4: To reduce the interface between the CNC signal cables and the electric cables, the wiring should
follow the rules below:
AC supply line
Bind the cable of group A and group B and C separately,
A AC coil reserve the distance of at least 10cm, or electromagnetic
shielding the group A cable
AC contactor
DC coil (24VDC)
DC relay (24VDC)
Bind the cable of group B and group A separately, or shield
B Cable connecting system and electric cabinet the cable of group B. Cables of group B and group C should
be placed as far as better.
-9-
ADT-CNC4840 Milling Controller
3.Installing Dimension
Installing dimension of CNC4840 controller
- 10 -
ADT-CNC4840 Milling Controller
XS14 network
DC 24V
Input interfa ces a nd expa nsion input interfa ces of the ma chine a re limit a nd digita l input signa ls
of ea ch a xis. Output interfa ces a nd expa nsion output interfa ces a re the dig ita l output signa l.
CNC4840 controller uses the 24V DC power supply, a nd the interna l power consumption is
a bout 5W .
- 11 -
ADT-CNC4840 Milling Controller
Driver Driver
Output terminal board Input terminal board
Motor
Motor Driver Driver
- 12 -
XS2 Output interface of machine XS6 Handheld box XS10 A axis
XS3 Output expansion of machine XS7 X axis XS11 B axis Motor Motor
Serial port
USB disk
General Wiring Diagram
Driver Driver
XS14
network
Additional panel
Computer
24V DC power
supply
Motor Motor
ADT-CNC4840 Milling Controller
- 13 -
ADT-CNC4840 Milling Controller
- 14 -
ADT-CNC4840 Milling Controller
- 15 -
ADT-CNC4840 Milling Controller
2) Diagram of wiring bet ween input int erfaces and phot oelect ric swit ch/proximit y
swit ch is as follows:
XT1
(Input Z negative limit Go Switch
terminal
block of
machine A positive limit Go Switch
tool)
X origin proximity switch
- 16 -
ADT-CNC4840 Milling Controller
Spare input
Spare input
Spare input
Spare input
Spare input
Spare input
XT1 (Input
terminal
Cycle ON
block of
machine
Pause
tool)
Emergency stop
Spare input
Spare input
Spare input
Spare input
Spare input
Spare input
Spare input
Spare input
- 17 -
ADT-CNC4840 Milling Controller
4. Input Expansion Interface
1) Digital input interfaces include BC hardware limit, other spare input signals, etc. the definitions
are as follows:
- 18 -
ADT-CNC4840 Milling Controller
2) The wiring of expansion input int erface and proximit y swit ch is shown as fo llows:
Spare input
Spare input
Spare input
Spare input
Spare input
Spare input
Spare input
Spare input
Spare input
Spare input
XT2 (Input Spare input
terminal
block of Spare input
machine
tool) Spare input
Spare input
Spare input
Spare input
Spare input
Spare input
Spare input
Spare input
Spare input
Spare input
Spare input
Spare input
- 19 -
ADT-CNC4840 Milling Controller
5. Output Interface
1) The output interface and the wiring are defined as follows:
Output Interfaces
1 OUT0 S p i n d l e cl ock wi s e r ot a t i on ( M 0 3 )
2 OUT1 S p i n d l e a n t i -cl ock wi s e r ot a t i on
3 OUT2 Il l u mi n a t i on ( M 6 6 , M 6 7 )
4 OUT3 Cool e r 1 ( M 0 8 , M 0 9 )
5 OUT4 Cool e r 2 ( M 6 8 , M 6 9 )
6 OUT5 Lu b r i ca t i on ( M 3 2 , M 3 3 )
7 OUT6 Ad j u s t i n g t ool ( M 1 0 , M 1 1 )
8 OUT7 Tool ch a n ge ( M 1 2 , M 1 3 )
9 OUT8 Ch a mb e r a i r b l owi n g ( M 1 4 , M 1 5 )
10 OUT9 Cl a mp ma t e r i a l s ( M 1 6 , M 1 7 )
11 OUT1 0 Feeding (M18, M19)
12 OUT1 1 S t a r t l i gh t ( M 4 0 , M 4 1 )
13 OUT1 2 S t op l i gh t ( M 4 2 , M 4 3 )
14 OUT1 3 Wa r n i n g l i gh t ( M 4 4 , M 4 5 )
15 OUT1 4 Du mp i n g ( M 4 6 , M 4 7 )
16 OUT1 5 Di s ch a r gi n g s cr a p s ( M 4 8 , M 4 9 )
17 OUT1 6 Kn i fe wa r e h ou s e + ( M 5 0 , M 5 1 )
18 OUT1 7 Kn i fe wa r e h ou s e - ( M 5 2 , M 5 3 )
19 OUT1 8 S p a r e ou t p u t ( M 5 4 , M 5 5 )
20 OUT1 9 S p a r e ou t p u t ( M 5 6 , M 5 7 )
21 OUT2 0 S p i n d l e ge a r s h i ft con t r ol 1 ( M 5 8 ,
22 OUT2 1 S p i n d l e ge a r s h i ft con t r ol 2 ( M 6 0 ,
23 OUT2 2 S p i n d l e ge a r s h i ft con t r ol 3 ( M 6 2 ,
24 OUT2 3 S p i n d l e ge a r s h i ft con t r ol 4 ( M 6 4 ,
25 OUT_ GND1 Common p owe r s u p p l y of 1 2 v-, 2 4 v-
- 20 -
ADT-CNC4840 Milling Controller
2) Wiring diagram of output interface is as follows:
Illumination
Cooler 2
Lubrication
Adjusting tool
Tool change
Clamp materials
Feeding
Start light
Stop light
Warning light
Spare output
Spare output
Illumination
- 21 -
ADT-CNC4840 Milling Controller
6. Output Expansion Interface
1) The expansion output interface and the wiring are defined as follows:
- 22 -
ADT-CNC4840 Milling Controller
2) Wiring diagram of expansion output interface is as follows:
Spare output
- 23 -
ADT-CNC4840 Milling Controller
7. Analog Output
1) The analog output interface is defined as follows:
P2
DAOUT1 1
6
DAOUT2 2
7
3
8
4
9
5
24VGND
Analog Output
Line S/N Name Function
1 DAOUT1 Analog voltage output (0V—12V+)
5
2) Wiring diagram of analog output is as follows:
Definition of analog
output interface Connection of CNC4840
transducer
CNC4840 (analog output) CWF-S1 transducer
XS13 interface signal interface
1 6
1 DAOUT1
VI1
2 DAOUT2
5 9 CM
3 24V-
4 24V-
Note: Choose either DAOUT1
XS13 interface
5 24V-
or DAOUT2 to connect the
transducer
- 24 -
ADT-CNC4840 Milling Controller
8. Handheld box
Handheld box: Connected with our standard handheld box ADT-CNC4A, multiplexing with manual pulse
generator count and Y-axis coder
High
Medium
Low
Start
Stop
Emergency stop
Coder
- 25 -
ADT-CNC4840 Milling Controller
indicator resistor
Coder Relay
- 26 -
10. Legend of connection between CNC4840 and servo/stepper driver
QF1 KM1
L11 L12
L1
L21 L22
L2
L31 L32
L3
PE
L12 N1 N2
L22
For power supply QF2 QF5
Use 220V power supply when
of servo driver
using 220V solenoid valve QF3
L11 R S T KA1
Transducer
- 27 -
N M03 QF4 Z
Filter
KA21 FWD
X1 COM
TC
KA22 CM
X2 KA2
KA23 M04
X3 REV PE
KA24
X4
COM CM DAOUT1
FU1 UF VI1
Connect
Multi-segment
60V
15V
to XS13
24V-
SB1(Green) control main
GND ~
SB2(Red)
UC1
U V W ~ UC2
L13
KM1
N3 axis
01
GND1
U V W
+24V
GND
KM1
+24
AC1
AC1
AC2
AC2
Power For stepper driver
indication
HL1
M
GND1
DC+
PE
GND
L13
+24V
N3
Use stepper
3~
Input of signal
Driver
X-axis Servo
Coder
motor
- 28 -
ADT-CNC4840 Milling Controller
Input of signal
Driver
X-axis Servo
Coder
motor
- 29 -
ADT-CNC4840 Milling Controller
XS7
interface
- 30 -
ADT-CNC4840 Milling Controller
XS7
interface
- 31 -
ADT-CNC4840 Milling Controller
Chapter II Programming
G code programming
1.1 Basic knowledge of programming
+Z
+Y
+X
W o rk p ie c e X
-Y
P e d e s ta l w
or
kb
en
ch
This system can control the quick move of 4 axes, and the feeding can control interpolation of 3 axes.
For the definition of axis direction, Cartesian coordinates is adopted, as follows (facing the machine
tool):
Z: If the tool moves up and down corresponding to the work piece, it is the Z-axis motion. If the tool
moves upward, it is Z-axis positive motion; and if the tool moves downwards, it is the Z-axis negative
motion.
X: If the tool moves left and right corresponding to work piece, it is the X-axis motion. If the tool moves
left, it is the X-axis negative motion; and if the tool moves right, it is the X-axis positive motion.
Y: If the tool moves forward and backward corresponding to work piece, it is the Y-axis motion. If the
tool moves forward, it is the Y-axis positive motion; and if the tool moves backward, it is the Y-axis
negative motion.
Spindle: When downward looking the work piece, clockwise rotation is the positive rotation while the
anti-clockwise is the reverse rotation.
- 32 -
ADT-CNC4840 Milling Controller
A, B, C: The positive direction of rotating coordinate axis is at the positive direction of X, Y, or Z
coordinate axis respectively. Use the forwarding direction of right-hand screw to determine the positive
direction.
Note: Descriptions of X, Y, Z, A, B, or C-axis motions in this user manual always refer to those motions of tool
corresponding to the work piece, meaning that it is supposed the coordinate system of work piece is set.
1.1.2 Coor dinate syste m of mac hine tool and wor k pie c e ( G53, G54~G599)
+X +X +X
+X
- 33 -
ADT-CNC4840 Milling Controller
E n d p o in t
A b s o lu te v a lu e in s tru ctio n
120.0 p ro g ra m m in g :
G 9 0 X 2 0 . Y 1 2 0 .;
S ta rtin g p o in t
40.0
20.0 90.0
From the above instance, we can better understand the programming in mode of absolute value and
increment value.
- 34 -
ADT-CNC4840 Milling Controller
The speed of cutting feed can also be controlled by the feed rate switch on control panel. The actual
speed is the result of given value of F multiplying the feed rate, and the range of rate is 10%-150%.
In processing program, an English letter is defined as an instruction address. In this manual, we call it
“Address” for short. An instruction word is formed if the address is followed with a number. A program
segment is composed by one or more instruction words, and ended with an end mark “;”, and several
program segments will make a process program. Instruction word is the basic unit of program segment.
Each address has different meanings, which as a result that the value that follows would have different
formats and ranges. Refer to the following table:
Spindle rotation speed S 1~4000 cycles per minute Value of spindle rotation speed
- 35 -
ADT-CNC4840 Milling Controller
In addition, a program segment can have an optional program segment number (N××××) at the
beginning to mark it. It has to be noted that the sequence of program segment executed has something to
do with their positions in program memory, but has nothing to do with their segment numbers, which
means that if N20 program segment appears ahead of N10 program segment, the N20 will be executed
first.
If a program segment is started with “/”, it means the program segment is “if” program segment,
meaning when the jump switch is at up position, this program segment is not executed, and when the
jump switch is at down position, this program segment can still be executed.
1) Main program and subprogram
Processing program is divided into main program and subprogram. Generally, the NC executes the
instructions of main program, but it turns to subprogram when there is a subprogram calling instruction.
It executes the subprogram until it meets the return instruction and get back to main program.
If we need to run the same track for several times, we can edit this segment of track as subprogram
and save it in program memory of machine tool so that every time when you execute this segment of
track in program, you can call this subprogram.
When a main program is calling a subprogram, this subprogram can also call another subprogram;
we call this as double nesting of subprogram. Generally, a machine tool is allowed to have at most
quadruple subprogram nesting. In instruction of calling subprogram, you can execute the called
subprogram repeatedly for as many as 999 times.
One subprogram should be in a format as follows:
O××××; No. of subprogram
…………;
…………; content of subprogram
…………;
M99; Return to main program
At the beginning of program, there should be a subprogram number specified by the address O.
Instruction M99 for returning main program is essential at the end. M99 does not have to be in an
individual program segment, as the end of subprogram, the following program segment also works:
G90 G00 X0 Y100. M99;
In main program, the program segment for calling subprogram should contain the following
content:
M98 P×××××××;
Here, the later four digits of numbers behind P are used to specify the program number of called
subprogram, and the front three digits are used to specify the repetition time of calling.
M98 P51002; Call No. 1002 subprogram for 5 times
M98 P1002; Call No. 1002 subprogram for 1 time
M98 P50004; Call No. 4 subprogram for 5 times
Subprogram call instruction and motion instruction can be in the same program segment:
G90 G00 X75. Y50. Z53. M98 P40035;
This program segment instructs X, Y, and Z axes to move to the specified position at quick locating
feed speed, and then call and execute No. 35 subprogram for 4 times.
Different from other M codes, M98 and M99 do not send signal to machine tool side when they are
executed.
NC will give out alarm if program No. specified by address P is not detected.
The subprogram cannot call M98 in MDI mode. If it’s required to call a subprogram individually,
you can edit the following program in editing mode, and then execute it in auto run mode.
O×××;
M98 P××××;
M30;
- 36 -
ADT-CNC4840 Milling Controller
2) End of program
At the end of program when there are following codes, it means it’s the end of program.
EIA ISO Meaning
M30 M30 LF The program ends and returns to
CR the beginning of program.
M99 M99 LF End of subprogram
CR
If such end code as above is detected when executing the program, the program will be stopped and
changed to reset status. If it is M30 CR or M30 LF, it will return to the beginning of the program (in
auto way). If it is at the end of subprogram, it returns to the program that calls the subprogram.
3) End of file
EIA ISO Meaning
ER % End of program
Note: If there is no M30 at the end of program but ER(EIA) or %(ISO) is executed, CNC will be
changed to reset status.
Note: Item with * is the default mode value of all groups of G codes for the system.
E n d p o in t
S ta rtin g p o in t
- 38 -
ADT-CNC4840 Milling Controller
G01 instruction enables the current interpolation mode to be linear interpolation. The tool moves
from the current position to position appointed by IP, and the track is a line. F specifies the speed of tool
moving along the line, unit in mm/min.
Example of G01 program:
Suppose the current tool is at X-50. Y-75., the following program segment will allow the tool to
move in track as the following picture:
N1 G01 X150. Y25. F100 ;
N2 X50. Y75.;
Starting point
The following instructions can allow the tool to move along the circular track:
In X--Y plane
G17 { G02 / G03 } X__ Y__ { ( I__ J__ ) / R__ } F__ ;
In X--Z plane
G18 { G02 / G03 } X__ Z__ { ( I__ K__ ) / R__ } F__ ;
In Y--Z plane
G19 { G02 / G03 } Y__ Z__ { (J__ K__ ) / R__ } F__ ;
Here, the direction of circular arc, for X--Y plane, is that when viewing the plane from positive to
negative of Z axis. Likewise, for X-Z or Y-Z plane, the viewing direction should be from the positive of
Y or X to the negative of Y or X (applicable to right handed coordinate system, as follows).
- 39 -
ADT-CNC4840 Milling Controller
The end point of circular arc is determined by address X, Y, and Z. In G90 mode (absolute value
mode), address X, Y, and Z give the coordinate value of end point of circular arc at the current
coordinate system. In G91 mode (increment value mode), address X, Y, and Z give the distance between
the current point of tool to end point at the direction of each coordinate axis.
In X direction, address I gives the distance from current point of tool to center. In Y and Z directions,
this distance is specified by address J and K. The sign of I, J, and K values is determined by their motion
directions.
To program a segment of circular arc, other than using specified end point and center positions, we
can also use specified radius and end point position, use address R to specify the radius value, replacing
the address to specify center position. Positive R value is used to program a circular arc of less than 180˚,
and a negative R value is to program a circular arc of more than 180˚. To program a circle, you can only
use the method of specified center.
The track in above picture is programmed in absolute value mode and increment value mode
respectively:
(1) Absolute value mode
G00 X200.0 Y40.0 Z0;
G90 G03 X140.0 Y100.0 I-60.0 F300.0;
G02 X120.0 Y60.0 I-50.0;
or
G00 X200.0 Y40.0 Z0 ;
G90 G03 X140.0 Y100.0 R60.0 F300.0 ;
G02 X120.0 Y60.0 R50.0 ;
(2) Incremental mode
G91 G03 X-60.0 Y60.0 I-60.0 F300.0;
G02 X-20.0 Y-40.0 I-50.0 ;
or
G91 G03 X-60.0 Y60.0 R60.0 F300.0 ;
G02 X-20.0 Y-40.0 R50.0;
The feed speed of circular interpolation is specified by F, and it is the speed the tool moves along the
circular arc at tangent direction.
- 40 -
ADT-CNC4840 Milling Controller
- 42 -
ADT-CNC4840 Milling Controller
3) Programmable work piece coordinate system (G92)
Format: (G90) G92 X_Y_Z_ ;
This instruction builds a new work piece coordinate system, in which the coordinate value of
current point where the tool is located is the value of IP_ instruction. G92 instruction is a modeless
instruction, but the work piece coordinate system built by this instruction is of mode type. Actually,
this instruction also gives an offset indirectly, which is the coordinate value of origin of new work
piece coordinate system in original one. Viewed from functions of G92, we know that the offset is
the difference of tool coordinate value in original work piece coordinate system and the IP_
instruction value. If G92 instruction is used for many times, the offset will be added for each using of
G92 instruction. For each preset work piece coordinate system (G54~G59), this added offset is valid.
New coordinate system of parts is set by using the above instructions, for example, the
coordinate value of tool tip is IP_. Once the coordinate is confirmed, the position of absolute value
instruction is the coordinate value of this coordinate system.
Tool
Use G92 X600.0 Z1200.0 instruction to set the coordinate system (take a reference point on tool
holder as the tool start point).
Note: a. If G92 is used in tool offset to set the coordinate system, the tool length compensation is the
coordinate system set by G92 before adding tool offset.
b. For tool radius compensation, tool offset should be cancelled when using G92 instruction.
For example:
Preset offset of 1# work piece coordinate system: X-150.000 Y-210.000 Z-90.000
Preset offset of 4# work piece coordinate system: X-430.000 Y-330.000 Z-120.000
- 43 -
ADT-CNC4840 Milling Controller
N5 X70. Y100. Z50.; X-430, Y-330, Z-120 Position quickly to the origin
In this instruction, IP_ gives a offset relatively to the current G54~G59 coordinate system, which
means that IP_ specifies the position coordinate of origin of local coordinate system in the current
G54~G59 coordinate system, even when a G52 instruction has created a local coordinate system
before the G52 instruction is executed. It is also very simple to cancel the local coordinate system, just
use the G52 IP0.
The establishment of machine tool coordinate system is done by operation of returning to reference
point every time when NC is electrified. Reference point is a fixed point on machine tool, and its
position is determined by the mounting position of block switches of all axes and the origin position of
all axes servo motor. After the machine tool returned to reference point, the coordinate value of
reference point in machine tool coordinate system is X0, Y0, Z0.
- 44 -
ADT-CNC4840 Milling Controller
The coordinate value in G28 instruction is saved by NC as intermediate point. On the other hand,
if an axis is not included in G28 instruction, the intermediate point coordinate value of this axis saved
by NC will use the previous value specified in G28 instruction.
For example:
N0010 X20.0 Y54.0;
N0020 G28 X-40.0 Y-25.0; Coordinate value of intermediate point (-40.0,-25.0)
N0030 G28 Z31.0; Coordinate value of intermediate point (-40.0,-25.0,31.0)
(Reference point)
Note:
In tool offset mode, tool offset is also effective to G27 instruction. For the safety, it is usually to
cancel the tool offset (radius offset and length offset) before executing G28 instruction.
(Reference point)
Intermediate point
- 45 -
ADT-CNC4840 Milling Controller
Note: when changing the coordinate system of parts after passing through the intermediate point to
reference point via the G28 instruction, the intermediate point is also moved to the new coordinate
system. After that, when execute the G29 instruction, the positioning is done in appointed position via
intermediate point in new coordinate system.
This instruction makes the instruction axis move to the position specified by IP at quick positioning
feed rate, and then checks whether the point is the reference point. If so, send out complete signal for the
return of reference point of this axis (light the indicator for reference point arrives). If not, send out an
alarm and stop the program.
processing shape
As the following picture, use the tool of radius R to cut work piece A, the central path of tool is B,
and the distance between B and A is R. tool leaves a certain distance away from work piece A, this is
called as compensation. The programmers build work programs with the tool radius compensation
mode. During the processing, they determine the tool radius and set it in CNC, and the tool path will be
changed to compensation path B.
- 46 -
ADT-CNC4840 Milling Controller
Vector
Compensation and
vector
2) Compensation amount (D code)
This system can set as many as 18 D00-D18 compensations. Compensation refers to the two digits
after the D code in program. The compensation should be set in [Tool compensation] menu.
The range of compensation is set as follows:
3) Compensation vector
The compensation vector is the 2-dimensional vector, equal to the compensation specified by D
code. The calculation of compensation vector is done within the control unit, and in every program
segment its direction is changed according to the tool path. This compensation vector is done in control
unit so that it is convenient to calculate how much compensation should be given for the tool movement.
Compensation path (central track of tool) is the result of programming path adding or subtracting
(determined by compensation direction) the tool radius.
Compensation vector is always related to the tool. During the programming, it is very important to
know the status of vector.
- 47 -
ADT-CNC4840 Milling Controller
5) G40, G41 and G42
Use G40, G41, and G42 instructions to cancel or execute the tool radius compensation vector.
These instructions are combined with G00, G01, G02, and G03 instructions, defining a mode to
determine the value of compensation vector, direction, and the moving direction of tool.
G code Function
G40 Cancel tool radius compensation
G41 Tool radius left compensation
G42 Tool radius right compensation
G41 or G42 allows the system to enter the compensation mode, and the G40 allows the system to
cancel the compensation mode.
5
30
4
40.0 R4
0. Y
0
3 40 20 R20
2 8
10
20
11
9 X
1
O0007 ;
G0G40G49G80G90;
G0 X0 Y0;
N1 G91 G17 G00 G41 Y20.00 D07 ;
N2 G01 Y40.00 F25.00:
N3 X40.00 Y30.00:
N4 G02 X40.00 Y-40.00 R40.00:
N5 X-20.00 Y-20.00 R20.00:
N6 G01 X-60.00:
N7 G40 Y-20.00:
N8 M30
%
Program segment (1) is called as start-up, and the G41 instruction in this segment turns the
compensation cancellation mode to compensation mode. In the end of this segment, the tool center is
- 48 -
ADT-CNC4840 Milling Controller
compensated at the direction of tool radius perpendicular to the next program path. The tool
compensation is specified by D07, which means the compensation number is set as 7, and the G41
represents the tool path left compensation.
- 49 -
ADT-CNC4840 Milling Controller
Program path
r: compensation
- 50 -
ADT-CNC4840 Milling Controller
(i): Line →Line (ii): Line → Circular arc
Program path
Program path
(d) Move along the outside of corner at less than 1°, line →line (a<1°)
Program path
a<1°
c. Compensation mode
In compensation mode, if you do not appoint two or more non-moving instructions (auxiliary
function or pause, etc.) continuously, the compensation will be executed properly; otherwise, there will
be over cutting or short of cutting. Compensation plane cannot be modified when in compensation mode;
otherwise, it will give out alarm and the tool will stop.
- 51 -
ADT-CNC4840 Milling Controller
Program path
Crossing point
Tool center path
Crossing point
Program path
Tool center path
Program path
Compensation vector
Program path
- 52 -
ADT-CNC4840 Milling Controller
Program path
Crossing point
Tool center path Program path
Tool center path
(ii) Circular arc →Line (iv) Circular arc →Circular arc
Program path
Program path
Crossing point
Tool center path Program path
Tool center path
(iv) Circular arc →Line (iv) Circular arc →Circular arc
Program path
- 53 -
ADT-CNC4840 Milling Controller
(i) end point of circular arc is not on circular arc When the circular arc is not on
end point, the extended line is as
shown in the left picture.
Supposed circular arc Suppose a circular arc comes
across the end point, and the
compensation takes the supposed
Program path end point of circular arc circular arc as vector, the tool
center path is different from the
Extended line of circular arc offset path while considering the
extended line of circular arc.
(ii) when without crossing point In the left picture when the
alarm and stop tool radius is small, there
will be a crossing point for
when the compensation is huge the compensation path of
center of circular arc B circular arc. However,
Center of circular arc A when the radius become
when the compensation is small bigger, the crossing point
program path may disappear. The tool
will stop at the end point of
previous program segment
and an alarm may occur.
(iii) the center of circular arc is consistent with As shown in the left picture, an
starting point of end point alarm may occur and the tool will
stop stop at the end point of previous
tool center path program segment.
program path
- 54 -
ADT-CNC4840 Milling Controller
d. Compensation mode
In compensation mode, the system enters the compensation cancellation mode when the program
satisfying any following conditions is executed, and the action of this program segment is called as
compensation cancellation.
Instruction G40
The number of tool radius compensation is 0.
When executing the compensation cancellation, circular arc instruction (G03 and G02) cannot be
used; otherwise, it will give out an alarm (P/S34) and the tool will stop.
(a) Move along the inside of corner (a≥180°)
(i) Line →Line (II) Circular arc →Line
Program path
Program path
Tool center path
Program path
- 55 -
ADT-CNC4840 Milling Controller
Program path
Program path
Tool center path
(d) Move along the outside of acute angle less than 1˚, line →line (a<1˚ =
Program path
a<1˚
- 56 -
ADT-CNC4840 Milling Controller
In special occasion, it is able to change the compensation direction in compensation mode, but it is
unable to change the starting program segment and the later program segments. When changing the
compensation direction, there is no way of saying inside and outside. The following compensation is
supposed to be positive.
Program path
Program path
Program path
Program path
Single
segment A Single segment B
Program
path
Tool center
path Compensa
tion vector
Single
segment A
Program
path
- 57 -
ADT-CNC4840 Milling Controller
Line----Circular arc
Tool center
path
Program
path
Single
segment A
Single segment B
Single segment B
Single
segment A
Program
path
Center
Tool center Center
path
In tool radius compensation, when the length of tool center path is over a circle
Usually, this situation would not happen. However, when G41 and G42 are changed, or when I, J,
or K instruction G40 is used, this situation may happen.
Program
path
- 58 -
ADT-CNC4840 Milling Controller
In compensation mode, if the following instructions are appointed, the compensation will be cancelled
temporarily. The system will resume the compensation mode automatically later. For detailed operations,
please refer to details of compensation cancellation and compensation starting.
G28 returns to reference point automatically
In compensation mode, if it is instruction G28, the compensation will be cancelled at intermediate
point and the compensation mode is resumed automatically after the reference point is returned.
Intermediate point
Origin
G29 returns from reference origin automatically
In compensation mode, if it is instruction G29, the compensation will be cancelled at intermediate
point, and the compensation mode will be resumed automatically in the next program segment.
When executing instruction immediately after G28
Intermediate point
Origin
If the instruction is not executed right after G28
Intermediate point
- 59 -
ADT-CNC4840 Milling Controller
Circular arc---line
including G42
instruction
G42 mode
G41 mode
Program path
- 60 -
ADT-CNC4840 Milling Controller
i. Program segment in which the tool does not move
There is no tool movement in the following program segments. In these segments, the tool would
not move even there is crossing point in tool radius compensation mode.
(1) M05:………………… M code output
(2) S21:………………… S code output
(3) G04 X10000:……… Pause
(4) (G17)Z100:……… No moving instruction in compensation plane Not move
(5) G90:………………… Only G code
(6) G01 G91 X0:………… Movement is 0
If there is no tool movement for the instructions at the beginning of compensation, it will not generate the
compensation vector.
However, when the movement of program segment is 0, even only one program segment is
appointed, the tool is still as though having no moving instruction. This will be described in details later.
Two program segments without tool movement instructions should not be executed successively.
Otherwise, it will form a vector with length as compensation and the direction vertical to the moving
direction of previous program segment, which will lead to the over cutting.
- 61 -
ADT-CNC4840 Milling Controller
Note: SSS means to operate tool using program segment and stop for 3 times.
When instructing with compensation cancellation
When the program segment instructing with compensation cancellation does not have tool movement
instruction, it will form a vector with length as compensation and the direction vertical to the moving
direction of previous program segment, and the vector will be cancelled in the next moving instruction.
Program path
- 62 -
ADT-CNC4840 Milling Controller
When crossing point cannot be calculated, the tool at end point of previous program segment is moved to
a position that is vertical to the previous program segment.
Program path
Program path
In the above picture, the tool center path is not moved along the circle but the circular arc from P1
to P2.
Under certain circumstances, it may as a result cause interference for the check and give an alarm
(P/S41). This will be described later. (To move along the circle, the circular arc instruction should be
separated.)
k. Corner moving
If there are two or more vectors at the end of a program segment, it means the tool is moved at
straight line from a vector to the other vector, which is called corner moving.
If these vectors are almost the same, the corner moving is not executed, and the later vector can be
neglected.
If △Vx≤△V limit
△Vy≤ △V limit
If △VX≤△V limit and △VZ≤ △V limit, the later vector is neglected. △V limit uses the
parameter.
- 63 -
ADT-CNC4840 Milling Controller
If these vectors are inconsistent and generate a movement along the corner, this movement is the
later program segment.
However, if the path of next program segment exceeds the half circle, the above functions are not
executed. The reason is that:
Program path
l. Interference check
Over cutting of tool is called as “Interference”. Interference enable users to pre-check the over
cutting of tool, but this function cannot check out all interferences. Interference check is also done even
there is no over cutting.
- 64 -
ADT-CNC4840 Milling Controller
Example 1
Tool center path
Program path
Example 2
Program path
Center
(G41)
N5 G01 G91 X8000 Y2000 D01;
N6 G02 Y-1600 X3200 12000 J-8000 D02;
N7 G01 X2000 Y-5000:
(H01 tool radius compensation r1=2000)
(H02 tool radius compensation r2=6000)
In above examples, the circular arc in program segment N6 is within the first quadrant, but after the tool
compensation, it is in the fourth quadrant.
- 65 -
ADT-CNC4840 Milling Controller
Pretreatment of interference
Interference incurred by vector movement
When tool compensation program segment A, B and C are executed, it will produce vector V1, V2,V3,
and V4 between A and B, and V5, V6, V7, and V8 between B and C. First, check the latest vector. If
there is interference, they will be cleared automatically. If the vector to be neglected is at the end of
corner, they cannot be cleared.
Interference check:
Between V4 and V5——Interference——V4, V5 cleared
Between V3 and V6——Interference——V3, V6 cleared
Between V2 and V7——Interference——V2, V7 cleared
Between V1 and V8——Interference——V1, V8 cannot be cleared
If a vector has no interference during the check, the later vector is not checked. If the program
segment B is moved along circular arc, the vector interference will produce straight line movement.
L V7 V2
V1 S
V8
C
C
V6
Tool center path
V3
A
V5 V4
Program path
C
B
- 66 -
ADT-CNC4840 Milling Controller
(Example 2) Tool straight line movement is as follows:
Tool path: V1→V2→VY→V8
S
L V2 V7
V1 L
V8
C
C
V6 S
Tool center path
V3
A
V5 V4
Program path
C
B
Program path
After the interference has neglected vector V2 and V5, the interference still occurs between V1 and V6.
The alarm will be shown and the tool will be stopped immediately.
- 67 -
ADT-CNC4840 Milling Controller
In fact, there is no interference, but doing the interference check
For example:
A
B C
Actually, there is no interference, but because the tool is in program segment B, the program
direction is opposite to the path of tool radius compensation, the tool stops and shows an alarm.
Depth of cut-off trench is smaller than compensation
As example (1), the direction of tool path is opposite to that of program path.
When Pa, Pb, Pc are programmed by absolute instruction, use single segment to execute the stop
after the execution of program segment from Pa to Pb, and move the tool in MDI mode. Vector Vb1
and Vb2 are transferred to V‵b1 and V‵b2, so vector Vc1 and Vc2 of Pb→Pc and Pc→Pd are
calculated again.
However, because vector Vb2 does not have re-calculation, compensation can be executed
correctly after the Pc point.
n. Manual operation
For manual operation in tool tip radius compensation, please refer to the manual operation in
operation chapter.
o. If tool length compensation is executed in tool radius compensation, the compensation of tool radius is
regarded as the compensation change.
p. Notices for compensation
Instruction compensation
D code is used to specify the compensation number. Once specified, H code is valid until another H
code is specified or the compensation is cancelled. Apart from specifying the compensation in tool
radius compensation, H code can also be used to specify the offset of tool.
Change compensation
Usually when changing tool, the compensation should be changed in cancellation mode. If
compensation is changed in compensation mode, calculate the new compensation at the end point of
program segment.
- 69 -
ADT-CNC4840 Milling Controller
Positive/Negative of compensation, and tool center path
If the compensation is negative (-), the G41 and G42 in program are exchanged. If the tool center
moves along the outside of work piece, it will move along the inside, and vice versa.
Generally, the compensation is (+) when programming. When tool path is programmed as picture
(a), if the compensation is (-), the tool center movement is as picture (b), and vice versa. In this way, the
same program can be cut into male or female type, and the gap between them can be adjusted by
choosing the compensation. (applicable to the compensation start and cancellation is A type)
Program
path
- 70 -
ADT-CNC4840 Milling Controller
when processing the cut-off trench smaller than radius of tool
Because the tool radius compensation forces the tool center path to move reversely to program path, it
will then generate the over cutting.
Program path
- 71 -
ADT-CNC4840 Milling Controller
If the initial vector of tool is not neglected, it will generate the over cutting
It is usually at the beginning of processing and when the tool radius compensative is effective, the
tool move along Z axis a certain distance away from the workpiece. In this situation, if you want to
divide the move along Z axis into quick feed and cutting feed, please follow the procedures as follows:
N6
Moving instructions in
N3 and N5
N1
If t he select ed plane does not cont ain t he t wo moving inst ruct ion program segment s,
N6 cannot ent er t he buffer area and t he t ool cent er pat h is calculat ed by N1 as t he above
pict ure shows. If t he compensat ion vect or is not calculat ed at t he beginning of
compensat ion, it will t hen generat e t he over cut t ing. It is necessary t o modify t he above
example as follows:
When execut ing N1, program segment N2 and N3 ent er t he buffer area, and t ake
advant age of t he relat ionship of N1 and N2 t o execut e t he correct compensat ion.
- 72 -
ADT-CNC4840 Milling Controller
The moving
direction of
instruction N2
is the same as
that of N6
N1 G91G00X50000Y40000H01:
N2 Y1000:
N3 G01Z-25000F1:
N5 G01Z-5000F1:
N6 Y10000F2:
Moving instructions in N3
and N5
Actual position
Compensation
Programmin
value
g position
Offset-4.0
- 74 -
ADT-CNC4840 Milling Controller
1.2.8 Hole processing cycle (G73~G89)
Fixed cycle of hole processing allows functions that should be done with many program segments in
other methods to be done in just one program segment. Table 7.1 lists all fixed cycles of hole processing.
Generally, one fixed cycle of hole processing finishes the following 5 operations (see Picture 7.1):
1. X, Y axis quick positioning
2. Z axis positioned to R point quickly
3. Hole processing
4. Down-hole motion
5. Z axis returns to R point
6. Z axis returns to original point quickly
Table 7.1 Fixed cycle of hole processing
Working Motion Return Motion
G code Down-hole motion Application
(Z negative) (Z positive)
G73 By times, cutting feed - Quick positioning feed High speed deep-hole
drilling
G80 - - - Cancel fixed cycle
G81 Cutting feed - Quick positioning feed Common drilling cycle
G82 Cutting feed Pause Quick positioning feed Drilling or rough boring
G83 By times, cutting feed - Quick positioning feed Deep hole drilling cycle
G84 Cutting feed Pause-Spindle reverse Cutting feed Right screw tapping
G85 Cutting feed - Cutting feed Boring cycle
G86 Cutting feed Spindle stop Quick positioning feed Boring cycle
G88 Cutting feed Pause-Spindle stop Manual Boring cycle
G89 Cutting feed Pause Cutting feed Boring cycle
Picture 7.1
Original point
1. Positioning
2. Z axis
moves to R 6. Z axis returns to original
point quickly point quickly
3. hole
processing 5. Z axis returns to R point
4. hole
bottom
motion
- 75 -
ADT-CNC4840 Milling Controller
The instructions that influence the execution of instruction for hole processing fixed cycle include
G90/G91 and G98/G99 instructions. Picture 7.2(a) and 7.2(b) show the influence of G90/G91 on
instruction for hole processing fixed cycle.
R point R point
Z point Z point
G98/G99 determines whether the fixed cycle returns to R point or the original point after the hole
processing. In G98 mode, Z axis returns to the original point after the hole processing, while in G99
mode, it returns to R point.
Generally, if the hole to be processed is on a flat plane, we can use G99 instruction, because in G99
mode, returning back to R point will perform the positioning of next hole. In general programming, R
point is very close to the surface of work piece, which can shorter the time for processing the part.
However, if the surface of work piece is higher than boss or bar of hole being processed, it is possible
that the tool and work piece may collide if G99 is used. Therefore, G98 should be used to ensure that Z
axis returns to original point and starts positioning the next hole. This way may be safer. See Picture 7.3
(a) and 7.3 (b).
Z point Z point
Hole processing parameters are given after G73/G74/G76/G81~G89, and the format is:
G××X___ Y___ Z___ R___ Q___ P___ F___ K___ ;
G×× : Hole processing methods
X___ Y___ Z___ : position parameters of hole being processed
R___ Q___ P___ F___ : Processing parameters of hole
K___ : repeat time
- 76 -
ADT-CNC4840 Milling Controller
Processing method G See table 7.1
Specify the location of hole in way of increment value or absolute value, the
Location parameter X, Y
track and speed of tool to hole being processed is the same as those of G00
Specify the location of hole bottom along the direction of Z axis in way of
Location parameter Z absolute value, and the distance from R point to hole bottom in way of
increment value
Specify the location of R point along the direction of Z axis in way of absolute
Hole processing parameter R
value, and the distance from original point to R point in way of increment value
To specify the feed amount of deep hole drilling cycle G73 and G83, and the
Hole processing parameter Q offset of fine boring cycle G76 and reverse boring cycle G87 (it is increment
value instruction no matter in G90 or G91 mode)
Used in fixed cycle that has pause action in hole bottom operation to specify the
Hole processing parameter P
pause time, unit in second
To specify the cutting feed rate of fixed cycle; in fixed cycle, the motion from
original point to R point and from R point to original point is run at quick feed,
Hole processing parameter F the motion from R point to Z point is run at cutting feed speed specified by F,
but the motion from Z point to R point may be run at rate specified by F or the
quick feed rate in accordance with the fixed cycle
Specify the repeat time of fixed cycle at the current positioning point. If K is not
Repeat time K specified, NC will consider k=1; if K=0, the fixed cycle will not be performed
at the current point.
Because the hole processing way specified by G×× is in mode way, the hole processing mode will continue if you
do not change the current hole processing mode or cancel the fixed cycle. G instructing that uses G80 or 01 can cancel
the fixed cycle. Hole processing parameters are also in mode way, it does not change before being changed or the fixed
cycle is cancelled, even when the hole processing mode is changed. We can specify or change any of the hole
processing parameters when specifying a fixed cycle or in any time when executing the fixed cycle. Repeat time K is
not a mode value, it is only given when repeat is needed. Feed rate F is a mode value, which could be retained even
when the fixed cycle is cancelled. If NC system is reset when executing the fixed cycle, the mode and parameters of
processing hole, as well as the repeat time K would be cancelled.
- 77 -
ADT-CNC4840 Milling Controller
The following examples would make you understand the above contents better:
S/N Content of Program Note
S____ M03
1 Specify the rotating speed and instruct the main axis to rotate clockwise
G81X__Y__Z__R__F__K Go to appointed point of X and Y quickly, and process in hole processing mode
__ specified by G81 with processing parameters specified by Z, R, F for K times.
2
At the beginning of executing fixed cycle, Z, R, and F are the necessary hole
processing parameters.
Y__ X axis does not move, Y axis goes to appointed point quickly for processing the
3 hole, the hole processing parameters and processing mode retain the mode
value in 2. The K value in 2 does not work.
G82X__P__K__ Hole processing mode is changed. Hole processing parameter Z, R, and F
4 remain the mode value. Give the value of hole processing parameter P and
specify the repeat time K.
G80X__Y__ Fixed cycle is cancelled, and all hole processing parameters except F are
5
cancelled.
G85X__Y__Z__R__P__ For fixed cycle is cancelled when executing 5, all necessary processing
6 parameters except F should be specified again, even they have no any change
comparing with the original value.
X__Z__ X axis is located to instruction point for processing the hole, and the hole
7
processing parameter Z is changed in this program segment.
G89X__Y__ Locate to XY instruction point to process the hole, and the hole processing
8
mode is changed to G98. R and P are specified by 6, while Z is specified by 7.
G01X__Y__ Fixed cycle mode is cancelled, all hole processing parameters except F are
9
cancelled.
In the following diagrams, we use the following modes to show the feed of each segment:
Move at quick feeding rate
Move at cutting feeding rate
Manual feed
- 78 -
ADT-CNC4840 Milling Controller
Z point Z point
In high-speed deep hole drilling cycle, the feed from R point to Z point is done by segment. After each cutting feed,
Z axis will be uplifted a certain distance before performing the cutting feed of next segment. The uplift distance of Z axis
is d, which is specified by 531# parameter. The depth of each feed is specified by hole processing parameter Q. This
fixed cycle is mainly used in processing the hole with small Calibre-Depth Ratio (such asΦ5, 70 in depth). After the
Pause Pause
Z point Z point
Main axis Main axis
Pause positive Pause positive
rotation rotation
Note: In G74 and G84 cycles, the function of feed rate override and feed hold will be neglected, which means the
feed rate will be kept at 100%. It should not be stopped in midway before a fixed cycle is executed. Before the cycle,
it is required to instruct to rotate in main axis tapping direction.
- 79 -
ADT-CNC4840 Milling Controller
R point R point
Z point Z point
G81 is the most simple fixed cycle, it is executed as follows: X, Y locating, Z axis moved to R point
quickly and fed to Z point at F speed, and then returned to original point (G98) or R point (G99)
R point R point
pause pause
Z point Z point
G82 has a pause action at the hole bottom, and apart from this, it is the same as G81. The pause at
the bottom of hole can improve the precision of hole depth.
- 80 -
G83 (Deep hole drilling cycle)
ADT-CNC4840 Milling Controller
Format: G83 X_ Y_ Z_ R_ Q_ F_
Similar to G73 instruction, the feeding from R point to Z point in G83 instruction is also done by
segment. The difference is that after the feed of each segment, Z axis is returned to R point, and then
moved at quick feeding rate to d above the feeding origin of the next segment and start the feeding
motion of next segment. The feeding distance of each segment is specified by hole processing parameter
Q, which is always the positive value. The value of d is given by 532# machine parameters. See Picture
8.9 :
Z point Z point
Pause Pause
Z point Z point
Main axis Main axis
reverse reverse
Pause rotation Pause rotation
Note: In G74 and G84 cycles, the function of feed rate override and feed hold will be neglected, which means the
feed rate will be kept at 100%. It should not be stopped in midway before a fixed cycle is executed. Before the cycle, it
is required to instruct to rotate in main axis tapping direction.
- 81 -
ADT-CNC4840 Milling Controller
This fixed cycle is very simple, it is executed as follows: X, Y locating, Z axis moved to R point
quickly and fed to Z point at speed specified by F, and then returned to R point at specified speed, or if in
G98 mode, returned to R point and then to the original point quickly.
R point R point
Z point Z point
- 82 -
G88 (Boring cycle)
ADT-CNC4840 Milling Controller
Fixed cycle G88 is provided with manual return function for fixed cycle of drilling (as picture
shows):
Main Main
R point axis R point axis
rotation rotation
Main axis Main axis
stops after Z point stops after Z point
the pause the pause
- 83 -
ADT-CNC4840 Milling Controller
F__; (do not execute the hole processing, F value is upgraded)
M__; (do not execute the hole processing, only execute the auxiliary function)
G04 P__; (do not execute the hole processing, use G04 P__ to change the hole processing
data P)
c. Hole processing parameter Q and P should be specified in program segment, in which the fixed cycle is
executed; otherwise, the Q and P values of instruction would be invalid.
d. When executing the fixed cycle (such as G76 and G84) that contains main axis control, as the tool
starts cutting and feeding, it is possible that the main axis may not have achieved the appointed rotation
speed. In this situation, it is required to add G04 pause instruction during the hole processing.
e. As it is described, the G code of 01 group can also be used to cancel the fixed cycle. Therefore, do not
write the fixed cycle instruction and G code of 01 group in the same program segment.
f. If an M code is specified in program segment for executing fixed cycle, M code will be executed at the
same time when the fixed cycle is executing the positioning. The signal of completion of M
instruction execution will be given out as Z axis returns to R point or the original point. When using
K parameter to instruct repeating the execution of fixed cycle, the M code in the same program
segment is executed when executing the fixed cycle at the first time.
g. In mode of fixed cycle, tool offset instruction G45~G48 will be neglected (not executed).
h. When the switch of single program segment is set in upper position, the fixed cycle will stop after
executing X, Y positioning, feeding to R point quickly and returning from hole bottom (to R point or
original point). This is to say you have to press the cycle activate button for 3 times to complete the
hole processing. Within these 3 times of pause, the first two times are in feed holding state, while the
last one is in stop state.
i. When executing G74 and G84 cycles, if you press feed holding button when Z axis is moving from R
point to Z point and from Z point to R point, the feed holding indicator will be on immediately, but the
machine would not stop and go to holding state until Z axis returns to R point. In addition, in G74 and
G84 cycles, feed rate switch is not valid, and the feed rate is fixed at 100%.
- 84 -
ADT-CNC4840 Milling Controller
Returning
position
- 85 -
ADT-CNC4840 Milling Controller
The value of offset in number 11 is 200.0, number 15 is 190.0, and number 31 is 150.0. The program
is as follows:
N001 G92 X0 Y0 Z0 ; the coordinate system is set at the reference point.
N002 G90 G00 Z250.0 T11 M6; change the tool.
N003 G43 Z0 H11 ; perform plane tool length compensation at the original point.
N004 S30 M3 ; main axis is started.
N005 G99 G81 X400.0 Y-350.0
Z-153.0 R-97.0 F120.0 ; process #1 hole after the positioning.
N006 Y-550.0 ; process #2 hole after the positioning, and then return to plane of R point.
N007 G98 Y-750.0 ; process #3 hole after the positioning, and then return to plane of original point.
N008 G99 X1200.0 ; process #4 hole after the positioning, and then return to plane of R point.
N009 Y-550.0 ; process #5 hole after the positioning, and then return to plane of R point.
N010 G98 Y-350.0 ; process #6 hole after the positioning, and then return to plane of original point.
N011 G00 X0 Y0 M5 ; return to reference point and the main axis stops.
N012 G49 Z250.0 T15 M6 ; Cancel the tool length compensation, and change the tool.
N013 G43 Z0 H15 ; perform tool length compensation on plane of original point.
N014 S20 M3 ; main axis starts.
N015 G99 G82 X550.0 Y-450.0 ;
Z-130.0 R-97.0 P30 F70; process #7 hole after the positioning, and then return to plane of R point.
N016 G98 Y-650.0 ; process #8 hole after the positioning, and then return to plane of original
point.
N017 G99 X1050.0 ; process #9 hole after the positioning, and then return to plane of R point.
N018 G98 Y-450.0 ; process #10 hole after the positioning, and then return to plane of original
point.
N019 G00 X0 Y0 M5 ; return to reference point and the main axis stops.
N020 G49 Z250.0 T31 M6 ; Cancel the tool length compensation, and change the tool.
N021 G43 Z0 H31 ; perform tool length compensation on plane of original point.
N022 S10 M3 ; main axis starts.
N023 G85 G99 X800.0 Y-350.0 ;
Z-153.0 R47.0 F50 ; process #11 hole after the positioning, and then return to plane of R point.
N024 G91 Y-200.0 ; process #12, #13 hole after the positioning, and then return to plane of R point.
Y-200.0 ;
N025 G00 G90 X0 Y0 M5 ; return to reference point and the main axis stops.
N026 G49 Z0 ; Cancel the tool length compensation.
N027 M30 ; % Program stops.
- 86 -
ADT-CNC4840 Milling Controller
1.3.1 M code
List of M code:
M code Function
M01 Stop program
M03 Rotate main axis clockwise
M04 Rotate main axis anti-clockwise
M05 Stop main axis
M06 Change tool instruction
M08 Open the cooling
M09 Close the cooling
M32 Enable the lubrication
M33 Disable the lubrication
M30 Program ended and returned to the beginning
M98 Call for sub-program
M99 Sub-program ended and returned/repeat the operation
M56 Expansion M code output control (refer to the definition of output interface connection)
M57 Expansion M code output control (refer to the definition of output interface connection)
M58 Expansion M code output control (refer to the definition of output interface connection)
M59 Expansion M code output control (refer to the definition of output interface connection)
M10 Expansion M code output control (refer to the definition of output interface connection)
M11 Expansion M code output control (refer to the definition of output interface connection)
M20 Expansion M code output control (refer to the definition of output interface connection)
M21 Expansion M code output control (refer to the definition of output interface connection)
M12 Expansion M code output control (refer to the definition of output interface connection)
M13 Expansion M code output control (refer to the definition of output interface connection)
M14 Expansion M code output control (refer to the definition of output interface connection)
M15 Expansion M code output control (refer to the definition of output interface connection)
M16 Expansion M code output control (refer to the definition of output interface connection)
M17 Expansion M code output control (refer to the definition of output interface connection)
M18 Expansion M code output control (refer to the definition of output interface connection)
M19 Expansion M code output control (refer to the definition of output interface connection)
M40 Expansion M code output control (refer to the definition of output interface connection)
M41 Expansion M code output control (refer to the definition of output interface connection)
M42 Expansion M code output control (refer to the definition of output interface connection)
M43 Expansion M code output control (refer to the definition of output interface connection)
M44 Expansion M code output control (refer to the definition of output interface connection)
M45 Expansion M code output control (refer to the definition of output interface connection)
M46 Expansion M code output control (refer to the definition of output interface connection)
M47 Expansion M code output control (refer to the definition of output interface connection)
M48 Expansion M code output control (refer to the definition of output interface connection)
M49 Expansion M code output control (refer to the definition of output interface connection)
M50 Expansion M code output control (refer to the definition of output interface connection)
M51 Expansion M code output control (refer to the definition of output interface connection)
M66 Expansion M code output control (refer to the definition of output interface connection)
- 87 -
ADT-CNC4840 Milling Controller
M67 Expansion M code output control (refer to the definition of output interface connection)
M64 Expansion M code output control (refer to the definition of output interface connection)
M65 Expansion M code output control (refer to the definition of output interface connection)
M62 Expansion M code output control (refer to the definition of output interface connection)
M63 Expansion M code output control (refer to the definition of output interface connection)
M60 Expansion M code output control (refer to the definition of output interface connection)
M61 Expansion M code output control (refer to the definition of output interface connection)
M88 Pn Test whether the level signal of waiting IO (IN n) is m (high, low)
Lm
M89 Pn Output OUT n, level is m, output in t milliseconds delay
Lm Qt
In machine tool, the function of M code can be classified as two categories: one is to control the
execution of program, and the other is used for IO operation to control the execution of auxiliary
devices such as main axis and cooling system.
M code for controlling program
The M codes for controlling program include M00, M30, M98, and M99. Their functions are
explained as follows:
M00………program stops. NC stops the execution of program when executing to M00. After the
reset, you can press start button to continue executing the program.
M30………program ends and returns to the beginning of program.
M98………Call the subprogram.
M99………Subprogram ends and returns to the main program.
Other M codes
M03………main axis is rotated clockwise. Use this instruction to make the main axis to rotate
anti-clockwise (CCW) at the current appointed rotation speed.
M04………main axis reversal; use this instruction to make the main axis to rotate clockwise (CW)
at the current appointed rotation speed.
M05………main axis stops.
M06………start changing tool; M06 T02 is to change the No. 2 tool
M08………Cooling open
M09………Cooling closed
M32………lubrication opened
M33………lubrication closed
M88………specify input IO to judge the level; if it's the same, the execution will continue; or
otherwise stop and wait. If level signal is not specified, it’s default as low level signal. For example, M88
P0 L1 waiting IN0 is high level; otherwise, wait all the time.
M89………specify output IO to judge the appointed level; if level signal is not specified, it’s default
as low level. If Q value is specified, this operation will output IO signal with Q milliseconds delay. For
example: M89 P5 L0, specifies OUT5 to output low level.
Note:
When the moving instruction and M are in the same program segment, M instruction is executed first.
If the program has many M codes in the current line, only one code is valid, which is the one defined at the very end.
- 88 -
ADT-CNC4840 Milling Controller
1.3.2 S code
The rotation speed instruction of main axis is given by S code, which is mode state, meaning once the
rotation speed is specified, it will be effective all the time until the mode value of the other S code is
changed.
The maximum value of S instruction is restricted by the maximum main axis rotation speed set by
parameter P5.020.
S instruction has three output modes, which are influenced by parameter P2.049 (main axis specifies
the interface axis number), P1.061 (frequency-changing control mode), as follows:
P2.049 set as non 0:
It means the current main axis is at AB-phase pulse control mode. At this time, the S value is set
by main axis coder to determine the pulse frequency.
P2.049set as 0, P2.061set as 1:
Frequency-changing control mode, the communication with frequency-changing uses 4 IO
(OUT23~OUT20) shifts. Four shifts form 16 codes, which means the S instruction value is
S00~S15;
P2.049 set as 0, P2.061 set as 0:
Frequency-changing analog control mode, the ratio of S value and the maximum rotation speed
set by parameter P5.020 plus 10V, and change over to get the analog voltage value; S instruction can
output analog value after having specified to execute M03 or M04;
1.3.3 T code
Tool library of machine tool uses arbitrary way of tool selection. The two digit T code (T××)
specifies the tool number, and it is not necessary to know which tool set the tool is in. The range of
address T can be any integer among 1~99.
Warning:
Tool table should be set correctly. If it is inconsistent with the actual condition, it will damage the
machine tool and bring unexpected results.
- 89 -
ADT-CNC4840 Milling Controller
1.4 Macro
1.4.1 Variable instruction
The address values in program are not described in fixed values but in variable. When running the
program, variable is quoted with the purpose of increasing the universal property of program. This is
called the variable instruction.
Instruction format:
#△△△=○○○○○○○○○ or #△△△= [Expression]
Details:
(1) Expression of variable:
- 90 -
ADT-CNC4840 Milling Controller
(3) quotation of variable
(a) Except O, N and / (slash)
(b) specified as variable directly
G01X#1Y#100
(c) take complementary number for the variable directly
G01X-#2
(d) variable defines the variable
#3=-#105; take the complementary number of #105 value and assign it
directly to #3
#4=1000; assign 1000 to #4 directly
(e) use expression to assign the value
#1=#3+#2-100; the value of #1 is the result of #3+#2-100
X[#1+#3+1000]; the value of X is the calculation result of expression
[#1+#3+1000]
Assigning value by function and by expression should not be in the same line, they should be
written separately.
Wrong Correct
X#1=#3+100 → #1=#3+100
X#1
For [ ] (bracket) calculation, as many as 5 layers can be embedded.
#543=-[[[[[#120]/2+15.]*3-#100]/ #520+#125+#128]* #130+#132
The value of variable should be within 0~±9999999 (7-digit effective figure). If it exceeds the
maximum value, the error of calculation will be big.
- 91 -
ADT-CNC4840 Milling Controller
Details:
1) Specified by G66 (or G661) instruction, and before G67 (Cancel) instruction, the macro
program specified after the execution of single segment with move instruction (or each single
segment) will be called.
2) In the same program, G66 (or G661), G67 instructions should be used correspondingly in pair.
Calling command of macro program
Function and purpose
Calling command of macro program includes simple call, and call mode (A&B) of single segment
fixed call.
1. Simple call
To sub-program
To main program
Format specification:
The function of < argument > in G65 is one of the methods that the main program uses address to
transfer parameters to sub program. This method uses local variable to transfer, and the description
of argument is as follows:
- 92 -
ADT-CNC4840 Milling Controller
Argument format:
Format description:
A_B_C_...X_Y_Z_
Details:
1) Except G,L,N,O,P, all addresses can be specified as argument.
2) Addresses that are not required to be transferred can be neglected.
3) The address information occurs in G65 instruction is considered as the argument of G65.
For example: G65P0002N100G01G90X100.Y200.F400R1000,G01 instructions are not
executed, and all addresses are considered as the argument of G65.
4) The comparison of addresses specified by argument and the local variable number is as
follows:
○: Available
×: Not available
- 93 -
ADT-CNC4840 Milling Controller
To sub-program
Between G66 and G67, when the single segment with move call is executed, the appointed macro
sub-program will be called and executed. The time of execution is the time specified by L.
Format description:
- 94 -
ADT-CNC4840 Milling Controller
To sub-program
To sub-program
To main program
argument R
sub-program
speed F
argument Z
sub-program
sub-program
G66 instruction executes the sub-program for the first time, and the later move instruction will
call and execute the sub-program automatically.
Once the G67 instruction takes effect, the sub-program will not be executed any more.
Between G661 and G67 instructions, each single segment of instruction will call the appointed
macro sub-program unconditionally.
Format description:
- 95 -
ADT-CNC4840 Milling Controller
1.4.3 Variable
Function and purpose
Variable is a useful function for macro, which is divided into four kinds, local variable, global
non-maintained variable, global maintained variable, and system variable. These variables make it
convenient and universal when compiling the macro.
Use of multivariable
Macro calls the variable, and the variable number can be multiple or specified by expression. As
the following examples show:
#1=10 For #1=10,#[#[#1]]=#[#10]
#10=20 For #10=20,#[#10]=#20
#20=30 Hence #5=#20 or #5=30
#5=#[#[#1]];
Undefined variable
Once the system is started, the undefined variable is default as null. The local variables that
argument does not specify are also considered as null variable. The #0 of system is also the null
variable. The null variable is considered as 0 in calculation, and #0 is generally not allowed to act as
the left value of expression to join in the calculation. However, if the programmers make a mistake,
the program will not report the error, but it will not have any effect.
Calculation
#1=#0; ……………#1=<Null> It should be noted that <Null> in calculation is
#2=#0+1; ……………#2=1 equal to 0.
#3=1+#0; ……………#3=1 <Null> + <Null>=0;
#4=#0*10;……………#4=0 <Null> + <Fixed number> = < Fixed number >
#5=#0+#0;……………#5=0 < Fixed number > + <Null> = < Fixed number >
- 96 -
ADT-CNC4840 Milling Controller
Quotation of variable
#1=<Null>
G0X#1Y1000; ……………………equals toG0X0Y1000
G0X#1+10Y1000;…………………equals toG0X10Y1000
Conditional expression
Null variable is equal to 0 to carry out the logical conditional calculation when judging the
condition.
Kinds of variable
Common variable
Every address can use the common variable. The common variable has 600 groups, in which #100
~ #199 represent the non-maintained common variable group in case of power down, and #500~
#999 represent the maintained common variable group in case of power down.
- 97 -
ADT-CNC4840 Milling Controller
1) In macro program calling, you can use <argument> to define the local variable in sub program.
To sub-program
To main program
2) Local variable can be used freely in the sub program where it belongs to.
To sub-program
To main program
In face-milling processing, argument J means the distance of face-milling is 10mm, but in order to do the
equal-distance processing, the distance is changed to 8.333mm.
In addition, local variable #30 is the calculation result of repeated processing.
- 98 -
ADT-CNC4840 Milling Controller
3) local variable can be used independently in macro calling of each layer for as many as 4 layers.
The main program (macro layer is 0) is provided with special local variable. However, in case the
layer is 0, the local variable cannot use the argument.
- 99 -
ADT-CNC4840 Milling Controller
Values without decimal point are eyed as having decimal point (1=1.000)
The expression behind the function should be enclosed by [ ].
- 100 -
ADT-CNC4840 Milling Controller
One layer
Two layers
Three layers
- 101 -
ADT-CNC4840 Milling Controller
- 102 -
ADT-CNC4840 Milling Controller
(13) arctan #561=ATAN[173205/100000] #561 60.000
(ATAN) #562=ATAN[173205/100.] #562 60.000
#563=ATAN[173.205/100000] #563 60.000
#564=ATAN[173.205/100.] #564 60.000
#565=ATAN[1.732] #565 59.999
(14) arc cosine #521=ACOS[100./141.421] #521 45.000
(ACOS) #522=ACOS[10/14.142] #522 44.999
#523=ACOS[0.707] #523 45.009
(15) square root #571=SQRT[1000] #571 31.623
(SQRT) #572=SQRT[10.*10.+20.*20] #572 22.361
#573=SQRT[#14*#14+#15*#15] #573 190.444
(16) absolute value #576=-1000 #576 -1000.000
(ABS) #577=ABS[#576] #577 1000.000
#3 = 70.
#4=-50.
#580=ABS[#4-#3] #580 120.000
(17)
(18) round #21=ROUND[14/3] #21 5.000
(ROUND) #22=ROUND[-14/3] #22 -5.000
(19) FIX #21=FIX[14/3] #21 4.000
(FIX) #22=FIX[-14/3] #22 -4.000
(20) FUP #21=FUP[14/3] #21 5.000
(FUP) #22=FUP[-14/3.] #22 -5.000
(21) natural logarithm #101=LN[5] #101 1.609
(LN) #102=LN[0.5] #102 -0.693
#103=LN[-5] error
(22) exponent #104=EXP[2] #104 7.389
(EXP) #105=EXP[1] #105 2.718
#106=EXP[-2] #106 0.135
Accuracy of calculation:
Macro variable is valued in 7-digit effective figure, therefore too big or too small the calculated
value may cause the loss of accuracy, (9999999.000~0.0000001), and repeated calculation will lead
to the accumulation of error. In this way, try to make the value of macro variable in a reasonable
range. In addition, when calculating the trigonometric functions and exponential functions, due to
the calculation error of function, too big the value is also a reason of causing multiplication of error.
- 103 -
ADT-CNC4840 Milling Controller
The n in GOTO should be existing in program; if not, the system will give a warning of abnormal
program.
#i, #j, n can be replaced by variable. For program segment contains order number n specified by
GOTO n, the order number n should be in front of the program segment; otherwise when the
program jumps, it may produce error due to the loss of key words. If there is a “/” in front of the
specified program segment and Nn behind, the neglect function of this program segment will
become ineffective but the program segment will still jump and be executed.
When performing GOTO instruction to jump, it will search downward first. Once the search
fails, it will return to the beginning of program and search downward again. If there is no result
when it comes to calling segment, the system will give a warning message.
EQ and NE can only be used in integer. Values with decimal should be compared with GT, GE,
LT, and LE instructions.
- 104 -
ADT-CNC4840 Milling Controller
1) When the conditional expression is established, the program from WHILE to END will be executed
repeatedly. If it is not established, it will jump to execute the next program segment of END m.
2) WHILE [expression]DO m and END m should be used in pair. When WHILE [expression] is
neglected, DO m and END m are executed in turn repeatedly. The range of M is 1…127.
3) WHILE is allowed to nest, but the maximum nesting layers should not exceed 27.
(1) the same identification number can be used (2) the identification number of WHILE~Dom can
repeatedly be specified with any value
Correct
Correct
(3) the maximum layers of WHILE~Dom is 27; the (4) the layers of WHILE~Dom cannot exceed 28
range of m is 1~127, and can be specified as you
like
Wrong
Correct
- 105 -
ADT-CNC4840 Milling Controller
(5) WHILE~Dom should be specified before END m (6) WHILE~DO m should be corresponding one
by one in the same program
Wrong
Wrong
(7) WHILE~DO m should not be used crosswise (8) it’s capable of calling sub-program, such as
M98, G65 and G66 during the WHILE~DO m
Wrong Allowed
(9) GOTO cannot go to the cycle of WHILE (10) GOTO can skip out the cycle of WHILE
Wrong Correct
(11) If you have called sub-program in WHILE~DO (12) If WHILE and END is not used in pair in
cycle, and at the same time executed WHILE~DO macro program, it may produce program error in
inside sub-program, the nesting layers of WHILE is case of M99.
calculated together with main program and
sub-program, and it should not exceed 27 layers.
To sub-program Wrong
To sub-program
- 106 -
ADT-CNC4840 Milling Controller
- 107 -
ADT-CNC4840 Milling Controller
Editing area
U disk
Function keys Serial port
- 108 -
ADT-CNC4840 Milling Controller
There are two pages of menu. You can press the function keys on the right side to switch the main
menu or the function key on the left side to exit the sub-menu and return to the main menu. The first
page includes [Edit Mode], [Auto Mode], [Manual Mode], [Clear Mode], [Single-step Mode], [Record
Mode] (note: the menu of this page will become invalid if additional panel is connected), the second
page includes [POS], [PROG], [OFFSET], [SYSTEM], [DIAGNOSIS], and [MESSAGE]. The
function keys are displayed corresponding to the display mode of current page. (when the system is
started, the menu column is displayed as menu of operating mode, and when you press the function keys
on the right side, it is switched to menu of display mode.)
Connect the additional panel, the operating mode is operated by rotary button of mode shift: rotary
mode shift is switched to the corresponding operating mode.
- 109 -
ADT-CNC4840 Milling Controller
There are three pages for the position interface, you can press to switch
among absolute position, relative position, and comprehensive position.
Absolute position: display the position of address X, Y, Z, A,B,C in work piece coordinate system,
also called as work piece coordinate, which is corresponding to the programming absolute value. It can
be changed by G92 settings.
Relative position: display the displacement of address X, Y, Z, A ,B, and C corresponding to work piece
coordinate system. It is can cleared at any time in manual mode, and it is for observing the position or for
setting the cutter compensation value of counting way.
Comprehensive position: display the absolute position, relative position, machine tool position, and the
allowance. The reference point of machine tool is the origin of coordinate system. Generally, this
coordinate system would be change, it’s for examining the soft limit.
- 110 -
ADT-CNC4840 Milling Controller
1.Interface of absolute position
- 111 -
ADT-CNC4840 Milling Controller
corresponding address will become green and flash, then press key, the relative position of
flashing address will be reset to 0.
- 112 -
ADT-CNC4840 Milling Controller
1.2.2 Program display
1.Program edition
In editing mode, you can edit the program, press to page up or page down the
content of program.
2.MDI
The main function of MDI operation is to ensure that the instruction can be started and run once
inserted in recording mode.
MDI operation:
Select [Record] mode → press [MDI] to switch to MDI interface → enter the words to be
executed and press → press number key [7] or [Start], the system will run the program
segment. It will stop if the operation is over. Then You can continue performing the MDI operation.
- 113 -
ADT-CNC4840 Milling Controller
3.Program catalog
Press [Catalog] to enter the interface of program catalog as follows. The catalog mainly
shows all processing file catalogs in working area and the network parameters.
Operations of reading files:
Press to select the number of processing program → press key to select the
current processing file Oxxxx,
- 114 -
ADT-CNC4840 Milling Controller
4.
5.Graphic Simulation
Press [Figure] key to enter the figure display interface as follows. It is mainly used to draw the
plane figure of tool interpolation path.
: start tracking, start track realtime tracking simulation when G code is processed.
- 115 -
ADT-CNC4840 Milling Controller
6.File management
Press [File] key to enter the file management interface as follows. The main function is to
operate the external USB disk.
Operating interface of file management:
1. Catalog ADT is to store CNC4840 system program and system parameters, and the files under this
catalog cannot be deleted.
2. Catalog PRG is to store the processing files of system (Note: saved as xxxx.CNC).
3.Operation menu,press OXMAHNYST buttons according to prompts on the
right.
- 116 -
ADT-CNC4840 Milling Controller
- 117 -
ADT-CNC4840 Milling Controller
→enter the data →press key, and the data will then be modified. (you can press key to
clear the data that are not inserted. If the input data exceed the allowed range, the system will adjust
it to the upper or lower value automatically).
Methods to inquiry the system parameters:
In recording mode, you can input the parameter number and press key to search the
corresponding parameter number (If the input parameter number is larger than the numbers of
parameters or smaller or equal to 0, it will not get any result).
- 118 -
ADT-CNC4840 Milling Controller
- 119 -
ADT-CNC4840 Milling Controller
Z Z
Y Y
X X
零点偏置
机床零点
例:N10G55G90G00X100.0Z20.0
N20G56X80.5Z25.5
In the above example, the position in workpiece coordinate system 2 (X=100.0, Z=20.0) is quickly
located to position in workpiece coordinate system 3 (X=80.5, Z=25.5). If N20 program segment is
G91, it’s increment movement. When starting to execute the N20 program segment, the absolute
coordinate value will be changed to the coordinate value in G57 coordinate system.
- 120 -
ADT-CNC4840 Milling Controller
( )
( )
Y
Z
X
(200.0,20.0)
Y
After starting the system and returning to machine zero, the workpiece coordinate system 1~6 are
established. Select G54 (workpiece coordinate system) when starting the system. The absolute
position of the position interface is at the coordinate value of the current coordinate system.
2.Display and input of workpiece zero
coordinate system, or press key to set the current machine coordinate as the zero offset of the
workpiece coordinate.
- 121 -
ADT-CNC4840 Milling Controller
3 . Settings of network parameters
In system parameter interface, you can press the left and right cursor keys to switch to network
parameter interface and press key to move the cursor. (In recording mode, you can set the
IP address, gateway, and subnet mask of CNC4840, IP address of upper computer, and the port number
of online processing software. The setting methods are the same as those on computer, but the IP address
in LAN should not conflict. Other options are set according to specific circumstances)
- 122 -
ADT-CNC4840 Milling Controller
and [Output] to switch between the input and output diagnosis interfaces. The main function is to test the input / output
status of machine.
The input diagnosis includes basic input, extended input and other inputs.
You can press , , or key to switch the display interface, and when the input
signal of corresponding point is effective, it is displayed in red.
The basic input of machine is corresponding to 37-pin interface of XS1 machine input. For detailed
definition and purpose, please refer to section–Connection.
- 123 -
ADT-CNC4840 Milling Controller
The extended input of machine is corresponding to extended 25-pin interface of XS5 machine input.
For detailed definition and purpose, please refer to section–Connection.
- 124 -
ADT-CNC4840 Milling Controller
Other inputs are corresponding to XS6 handheld box, XS7 X axis, XS8Y axis, XS9Z axis, XS10A axis,
XS11B axis, and XS12C axis pulse interfaces. For detailed definition and purpose, please refer to
section–Connection.
Output diagnosis include basic output, extended input and other input
You can press or key to switch the operating display interface.
The basic output of machine is corresponding to 25-pin interface of XS2 machine output. For
detailed definition and purpose, please refer to section–Connection.
- 125 -
ADT-CNC4840 Milling Controller
- 126 -
ADT-CNC4840 Milling Controller
main axis positive rotation signal output (main axis positive rotation starts) → press main
axis positive rotation signal stops (main axis positive rotation stops).
- 127 -
ADT-CNC4840 Milling Controller
1.2.6 Alarm display
- 128 -
ADT-CNC4840 Milling Controller
You can rotate the mode shift [Edit], [Auto], [Record], [Manual], [Handwheel], [Single-step], and [Clear]
S/N Na me Purpose
2 [Auto] start/stop the processing code program, adjust the main axis speed and feed rate
manual operation of all axes, clear the relative coordinate, operation of auxiliary
3 [Manual] function and diagnosis function, adjust the manual rate
MDI operation, USB disk operation, serial port operation, and edition setting of
7 [Record] parameter
- 129 -
ADT-CNC4840 Milling Controller
Rotate the mode shift to manual mode to select the manual operation
mode.
Select X+, X-, Y+, Y-, Z+, Z-, A+, A-, B+, B-, C+, and C- axes. The
machine tool is moved along the direction of selected axis.
- 130 -
ADT-CNC4840 Milling Controller
1.4.3 Operations of manual auxiliary functions
1 换刀
In [Manual] mode, press key and the tool rest will be rotated for changing
for the next tool.
2 Main axis positive rotation
In [Manual] mode, press key and the main axis will be rotated in
positive direction.
3 main axis stop
In [Manual] mode, press key and the main axis will be stopped.
4 main axis reverse rotation
In [Manual] or [Single-step/Handwheel] mode, press key
and the main axis will be rotated in reverse direction.
5 Cooling 1, Cooling 2
In [Manual] mode, press any one of keys and the corresponding cooling
motor will be started. Press it again and the cooling motor will then be closed.
6 Lubrication
In [Manual] mode, press key and the corresponding lubrication will be on
while press it again the lubrication will be off.
Others, such as illumination、 blowing、 adjustor、
- 131 -
ADT-CNC4840 Milling Controller
MDI operating
Select the recording mode, press [MDI] key to enter MDI operating interface, input the
words to be executed and press key. After entering the required data, press [Start] key and the
program of MDI program segment will be executed. You can press [Stop] key to stop executing the
processing program.
1.5.2 There are two ways to stop the auto operation. One is to
input stop order in where it is to stop in advance via the
program, and the other way is to use the button on control
panel.
5.2.1 Program stops (M00 )
Aft er t he program segment cont aining M00 is execut ed, t he aut o operat ion is
st opped and t he mode dat a are st ored. Aft er t he reset , press [St art ] key and t he
program will cont inue t o execut e.
5.2.3 Pause
In aut o operat ion, you can press [Pause] key on cont rol panel t o enable t he aut o
operat ion t o pause.
When t he [Pause] key is pressed, t he machine will have t he following st at es.
1) when t he machine is moving, t he feed is decelerat ed and st opped.
2) when execut ing pause (G04), cease and pause
- 132 -
ADT-CNC4840 Milling Controller
3)aft er execut ing t he act ion of M, S, and T, st op
press [St art ] and t he pro gram will cont inue.
5.2.4 Reset
Press key, and t he aut o operat ion will be ended, t he auxiliary funct ion will
be cancelled, and t he cursor will ret urn t o t he beginning of program while t he st at e
is changed t o reset st at e. If reset is done during t he operat ion, t he machine will
decelerat e and st op.
- 133 -
ADT-CNC4840 Milling Controller
1.5.5 Skip the program segment
In auto mode, press key and the indicator will be on. At this time, t he syst em will skip
t he program segment aut omat ically when it is executed t o program segment wit h “/” and
start executing the next one. This function is to make the program segment with “/” in program to be
invalid.
Select t he way of ret urning t o zero, which will be different due t o t he difference
of t he value of paramet er “Zero mode”.
- 134 -
ADT-CNC4840 Milling Controller
When t he value is 0, it means t here is no zero switch.
When t he value is 1, it means t here is one zero swit ch.
In addit ion, using t he program inst ruct ion, it is also possible t o make t he t ool t o
ret urn t o t he reference point . This is called ret urning t o reference point
aut omat ically.
select [Single-st ep] operat ing mode. The operat ing mode column on LCD will show
words “Single-st ep mode”.
Select t he moving dist ance key, and press t he
manual axis-moving key. The axis moves once each t ime you press t his key.
- 135 -
ADT-CNC4840 Milling Controller
Emergency stop
Stop
Start
keys t o ent er t he address and program number, and t hen press key; by
doing t his, t he program number is saved. Aft er t hat, input every word of t he
program wit h keys, and t hen press key t o save t he input program.
- 136 -
ADT-CNC4840 Milling Controller
press cursor key . If t he input dat a is wrong, you can press key t o search
again.
Aft er t he search, t he searched program will be displayed on LCD and t he program
number will be shown on t he t op right corner of int erface. If t he required program
is not found, an error prompt will be displayed.
(2) Scanning met hod
Press address and t he cursor key . When in edit mode, yo u can pr ess
address key and t hen press cursor key t o display t he saved program one
by one.
- 137 -
ADT-CNC4840 Milling Controller
1.8.4 Adding program
Press address and input t he program number t hat you want t o add, and
(A) Press cursor key or , and t he cursor will be moved word by word
following t he sequence direct ion, which means t he syst em will show t he cursor
behind t he address of select ed word.
(B) Press cursor key or , and t he cursor will be moved word by word
following t he reverse direct ion, which means t he syst em will show t he cursor behind
t he address of select ed word.
- 138 -
ADT-CNC4840 Milling Controller
press
(C) Met hod 3: press address key , and press cursor key
- 139 -
ADT-CNC4840 Milling Controller
8.7.3 Altering word
When t he word you want t o alt er has been searched, input t he address and
dat a t o be alt ered and press key, t he new input word will t hen replace t he
word t hat current cursor point s t o.
8.7.4 Deleting word
When t he words t o be delet ed have been searched, press delet e key and t he current
word will be delet ed.
- 140 -
ADT-CNC4840 Milling Controller
2、Download via net work :
Inst all t he soft ware downloaded from t he Int ernet on comput er and t hen double click
t ft pclient .exe t o open t he soft ware as follows :
Send CNC4840 IP Addr: It’s the IP address of CNC4840 controller, which can be edited or
selected from the drop-down text box. It is possible to add or reduce the item of IP
address by editing IpAddr.ini file in the catalog of tool downloaded from Internet.
IpAddr.ini file can be opened and edited by any text editor, and the editing format is as
follows:
192.168.0.100
192.168.0.90
192.168.0.106
192.168.0.120
Just edit the IP of every CNC4840 controller in accordance with the above format in
IpAddr.ini file.
CNC4840 CNC File And Directory: the directory and file name of CNC files that sent to
CNC4840 controller (note: the directory file is \PRG\xxxx.CNC, x is number or character, for
example 0000.CNC 0001.CNC).
Computer CNC File And Directory: the file directory and name of CNC processing files in local
computer that sent to CNC4840 controller (Note: processing file can be selected from the computer
directory by clicking <Open CNC File> button); if the CNC processing file in local computer does not
have directory, the system will search for the file from the directory of network download software.
Send CNC File: Click this button to transmit the CNC processing file (Note: this file should exist)
(selected in the third step) to lower CNC4840 controller, but the IP address should be corresponding to
that of relevant CNC4840 controller.
- 141 -
ADT-CNC4840 Milling Controller
3、brief operation methods of Serial network port download application software V1.02
Install the software in PC,then double click Project1.exe to open the
software,displayed as below :
This software can manage system files through serial port or network port
When choose com serial port to download, set system axis configuration parameter
P3.009 : 0 ; when choose net port to download,set system configuration parameter
P3.009 : 1
Get serial port or net port communication line ready,set system relevant serial port
Baud rate,controller ID(when multi CNC controllers networking,controllers’ID
should be different),network relevant parameters.
Run [SearchDeviceID]
[ReadNCDeviceDir]: list of file directory of chosen CNC controller.
[NCDeviceID]: chosen controller ID
[NCDeviceIP]: chosen controller IP address( when using network transmission)
[COM]: chosen controller’s serial port number( when using serial port transmission)
[BaudRate]: chosen controller’s serial port communication baudrate(this baudrate
should be the same as CNC system synthetical parameter P1.094 setting.)
[SetIPaddr]: controllers not in use, their IP address should be set as 0.
- 142 -
ADT-CNC4840 Milling Controller
In [Record] mode, press [MDI] key t o ent er t he MDI int erface, input t he words t o
be execut ed and press [Insert ] . Aft er ent er all required dat a, press [St art ], t he
syst em will t hen run t he program segment . When t he operat ion is st opped, it can also
cont inue execut ing t he MDI operat ion.
- 143 -
ADT-CNC4840 Milling Controller
(Note: the composite key ca n be used only in position displa y mode a nd the opera tions of key
a re the sa me a s the corresponding key on a dditiona l pa nel.
- 144 -
ADT-CNC4840 Milling Controller
M08/M09 switching
M32/M33 switching
- 145 -
ADT-CNC4840 Milling Controller
1.11 Parameters
According to application and function,there are :
Synthetical parameter,network parameter,axis config
parameter,toolchanger parameter,IO config parameter,manage parameter and
so on.
Setting : 1~65535
range
unit : none
preset : 1
value
- 146 -
ADT-CNC4840 Milling Controller
explain : W hen the lea ding screws of different pitches a re
ma tched with motors of different step a ngles or servo
motors of different pulse counts, or combined using
different cha nge gea rs, it is possible to a llow the
progra mming to be consistent with the a ctua l moving
dista nce by setting the gea r ra tio.
CMR/CMD =P/(L×1000)
Exa mple 1: the motor rota tes a circle every 5000 pulses, a nd the
ma chine tool moves 5mm every time when the motor rota tes a
circle, tha t is
- 147 -
ADT-CNC4840 Milling Controller
Setting : 1~9999,1~9999,1~8000
range
unit : mm/min,mm/min,mm/sec
Preset : 3000,200,1500
value
Explain : This pa ra meter is setting of Tra pez oid a ccelera tion a nd decelera tion,
used in GOO instruction, a nd ma nua l a nd z ero motion
- 148 -
ADT-CNC4840 Milling Controller
Preset : ± max
value
- 149 -
ADT-CNC4840 Milling Controller
Setting : 1~9999,1~9999,1~8000,1~9999
range
unit : mm/min,mm/min,mm/sec,mm/min
Preset : 3000,200,1000,3000
value
To ensure tha t the wrong F instruction would not dama ge the ma chine,
a nd a ccording to the processing ca pa bility of ma chine tool, set the feed
speed a s the ma ximum va lue. W hen the product of F instruction a nd
feed ra te is la rger tha n this va lue, confine the speed within this ra nge.
Setting : 1~20000
range
unit : Pulse
Preset : 0
value
- 150 -
ADT-CNC4840 Milling Controller
explain : Compensating the coordination gap of the machining
shaft.
052 Zero
Setting : 0~1
range
unit : None
1 Mechanical zero
Program zero means the system is zeroed when the coordinate
value becomes zero.
To realize mechanical zero, the external inspection switch is needed
to position the zero point. To that effect, the system moves to the
set zeroing direction at fast speed, and moves back at low speed
when the signal is detected. Then, the system will advance slowly
after disconnected upon the detection of signal, and the zeroing
process ends till the signal becomes effective again. When the
switch is enabled to start by the inspection of servo phase Z in the
IO configuration parameters, the mechanical zero mode will
automatically start phase Z to position the zero point after the signal
from the inspection device reaches.
Setting : 0~1
range
unit : Unit
Preset : 0
value
- 151 -
ADT-CNC4840 Milling Controller
explain : To set when MPG axis choose valid, whether switch to MPG mode
0:when MPG axis choose valid, not auto switch to MPG mode.
Setting : 1~9999
range
Unit : mm/min
Preset : 1000,9000
value
Setting : 1~9999
range
Unit : ms
Preset : 100
value
unit : None
- 152 -
ADT-CNC4840 Milling Controller
Preset value : 0
unit : RPM
Setting : 64~9999
range
unit : none
- 153 -
ADT-CNC4840 Milling Controller
explain : Line number encoder receives when spindle makes 1
revolution.
Setting : 0~1
range
unit : None
unit : mm
- 154 -
ADT-CNC4840 Milling Controller
preset value : 0.2
setting : 0.1~100
range
unit : mm
setting : 0~4294967295
range
unit : none
- 155 -
ADT-CNC4840 Milling Controller
explain :
setting : 0~1
range
unit : none
1:constant speed;
setting : 0~2
range
unit : Unit
- 156 -
ADT-CNC4840 Milling Controller
take effect : Immediately
time
setting : 200~30000
range
unit : none
- 157 -
ADT-CNC4840 Milling Controller
setting : -9999~9999
range
unit : mm
preset value : 0
091 Hold time setting after lube oil pump opens (sec)
setting :
range
unit :
preset value : 0
- 158 -
ADT-CNC4840 Milling Controller
explain : Set the schedule start and hold time parameter of the
automatic oil pump of the system
setting : 0~10000
range
unit : Mm/min
setting : 9600~115200
range
unit : none
- 159 -
ADT-CNC4840 Milling Controller
setting : 1~255
range
unit : None
preset value : 1
setting : 0~1
range
unit : None
preset value : 0
unit : mm mm/sec
- 160 -
ADT-CNC4840 Milling Controller
explain : Set clamping G02 or G03 arc track process speed :
setting : 10~7000
range
unit : none
setting : 0~1
range
unit : none
preset value : 0
- 161 -
ADT-CNC4840 Milling Controller
setting : 0~90000
range
unit : mm/min
setting : 10~200
range
unit : none
preset value : 20
setting : 0~1
range
unit : none
- 162 -
ADT-CNC4840 Milling Controller
permission : Upon operating administrators
preset value : 0
setting :
range
unit : none
preset value : 0
take effect :
time
setting : 1~90000
range
unit : mm/sec
- 163 -
ADT-CNC4840 Milling Controller
explain : When P1.077 parameter (code process mode) is set as 2,set
max acceleration restrain value of speed optimize.
setting : 1~90000
range
unit : mm/sec
setting : 000.000.000.000~255.255.255.255
range
unit : none
002 Gateway
- 164 -
ADT-CNC4840 Milling Controller
setting : 000.000.000.000~255.255.255.255
range
unit : None
setting : 000.000.000.000~255.255.255.255
range
unit : None
004 PC IP address
setting : 000.000.000.000~255.255.255.255
range
unit : None
explain : Upper computer IP address this IP address parameter is not used yet,
no need to set.
- 165 -
ADT-CNC4840 Milling Controller
setting : 000.000.000.000.000.000~255.255.255.255.255.255
range
unit : None
setting : 0~65535
range
unit : None
setting : 0~1
range
unit : none
preset value : 0
- 166 -
ADT-CNC4840 Milling Controller
explain : Set this parameter to prevent P1.synthetical parameter
unwilling change for safe reason.0: P1. synthetical
parameter allowed to be changed;1: P1. synthetical
parameter not allowed to be changed.
setting : 0~1
range
unit : None
preset value : 0
setting : 0~1
range
preset value : 0
- 167 -
ADT-CNC4840 Milling Controller
setting : 0~1
range
unit : None
preset value : 0
setting : 0~1
range
preset value : 0
machinery zero. .
0 Low electric level
1 High electric level
- 168 -
ADT-CNC4840 Milling Controller
setting : 0~1
range
unit : None
preset value : 0
- 169 -
ADT-CNC4840 Milling Controller
explain : There are two kind s of modes of hard limit, one is
hardware response mode, the other is software scanning
mode
- 170 -
ADT-CNC4840 Milling Controller
setting : 0~1
range
unit : None
preset value : 1
setting : 0~1
range
unit : None
- 171 -
ADT-CNC4840 Milling Controller
explain : Set any of XYZABC axis return to zero at the same time
whether effective.1:effective; 0:not effective.When use
this parameter to set auto zero,Z axis return to zero
first.
setting : 0~1
range
preset value : 0
setting : 1~6
range
preset value :
- 172 -
ADT-CNC4840 Milling Controller
take effect : Reboot
time
In the default mode, the real axis number of each
coordinate defining axis is corresponded to the silk -screen
explain :
setting : 0~6
range
preset value :
- 173 -
ADT-CNC4840 Milling Controller
setting : 0~1
range
unit : None
preset value : 1
0 pulse+pulse
1 pulse+direction
setting : 0~1
range
preset value : 0
- 174 -
ADT-CNC4840 Milling Controller
take effect : reboot
time
explain : set the normal level when the pulse is w orking, if set a
level is different from the normal level which the motor
driver requires, then at each time of positive and negative
movements(it is nothing to do with the pulse amount),
there is an accumulative error in one direction. So you find
that the machine has the accumulative error in one
direction, please notice whether this parameter is not
compatible
- 175 -
ADT-CNC4840 Milling Controller
setting : 0~9999999
range
unit : Pulse
preset value : 0
setting : 0~1
range
- 176 -
ADT-CNC4840 Milling Controller
unit : None
preset value : 1
setting : 0~1
range
unit : none
preset value : 0
- 177 -
ADT-CNC4840 Milling Controller
setting : 0~1
range
unit : None
preset value : 1
- 178 -
ADT-CNC4840 Milling Controller
setting : 0~1
range
unit : none
preset value : 0
setting :
range
unit :
preset value :
- 179 -
ADT-CNC4840 Milling Controller
… …
Reset enable:0~1
unit : None
setting : None
range
unit : None
permission : None
- 180 -
ADT-CNC4840 Milling Controller
take effect : immediately
time
explain : 1. In this menu, press Insert and enter the password press
[EOB]. If the password is authenticated and confirmed, the
System will enter this user mode.
3. In the changed menu, press Insert, the System will exit the
administration mode. At the time, the parameters should be
modified and the administration mode re-entered.
005 The initializing axis configuration network parameters are the factory defaults
setting : None
range
unit : None
permission : Superuser
preset : None
value
explain : Only in superuser mode, can the axis config and network parameter
table be initialized.
- 181 -
ADT-CNC4840 Milling Controller
setting : None
range
unit : None
permission : Superuser
preset : none
value
explain : 1. You can do the parameter back -up and retrieval only
under the superuser mode.
setting : None
range
unit : None
permission : Superuser
preset : None
value
- 182 -
ADT-CNC4840 Milling Controller
explain : 5. You can do the axis config and network parameter
back-up and retrieval only under the superuser mode
setting : None
range
unit : None
permission : Superuser
preset : None
value
- 183 -
ADT-CNC4840 Milling Controller
explain : 9. You can do the SRAM parameter initialize, back-up and
retrieval only under the superuser mode
11. The bestrow is also carried out under the root directory
of the controller electronic disc according to the
SRAMDATA.DAT file. When it is bestrowed, it will judge
whether it belongs to the same parameter e dition
according to the parameter edition number of the
system back-up, if it is not the same edition, then it will
not carry out the retrieval to the parameter
setting : None
range
unit : None
permission : None
preset : None
value
setting : none
range
unit : None
permission : None
preset : none
value
- 184 -
ADT-CNC4840 Milling Controller
explain : Import the CSV system configuration table of the
manufacturer into the system.
setting : None
range
unit : None
permission : None
preset : None
value
setting : 0~1
range
unit : None
preset : 0(Chinese)
value
0 Chinese
1 English
- 185 -
ADT-CNC4840 Milling Controller
- 187 -
ADT-CNC4840 Milling Controller
- 188 -
ADT-CNC4840 Milling Controller
1. the system gives the limit alarming corresponding to the hint,
examine the corresponding limit induction point or parameter.
2. If it is hard limiting displacement alarm, there is no problem with
the induction point visual examination, then enter the diagnoses
mode under the hand-mode, check the input port condition
under the diagnoses mode, if the condition is effective, then
eliminate it in turn, now pull out IO line, check whether the
induction disappears, if it disappears then check the lines, if it still
exists, the inside optical coupler maybe is destroyed, please
contact the supplier.
3. If P1.031 ~ P1.042 ± soft limit route limit value is
set,when axis machinery coord moving value exceeds the
set value,reach route limit alarm will happen.
4. No matter hard limit alarm or soft limit alarm,move
corresponding axis in opposite direction and then push
[reset] button to remove alarm in manual mode or handwheel
mode.
- 189 -
ADT-CNC4840 Milling Controller
t hen press key t o swit ch t o coordinat e paramet er int erface (t he value of machine
posit ion X, Y, Z, A, B, and C under t he int erface is t he mechanical coordinat e value of
current point of t ool). press and key t o allow t he cursor t o move t o G54,
G55……G59, select t he relevant X, Y, Z, A, B, C workpiece coordinat e, select
[Record] and press key, you can t hen set t he mechanical coordinat e value of
current point of t ool as t he origin of workpiece coordinat e syst em.
If t he offset of origin of workpiece coordinat e syst em t o t he origin of machine
coordinat e syst em is known, you can input t he value direct ly in t he set t ing int erface of
workpiece coordinat e syst em and t hen press key t o set t he origin of workpiece
coordin ate system.
- 190 -
ADT-CNC4840 Milling Controller
- 191 -
ADT-CNC4840 Milling Controller
X-axis、Y-axis、Z-axis、
Feed fast feedrate
A-axis:9999mm/min(max)
- 192 -
ADT-CNC4840 Milling Controller
Commissioning Yes
Trial running,single program,hand wheel
function
- 193 -
ADT-CNC4840 Milling Controller
- 194 -