CNC Lap 1 - Merged
CNC Lap 1 - Merged
CNC milling machines are powerful and versatile tools used in the manufacturing
industry to create precision parts and components. The term "CNC" stands for
Computer Numerical Control, indicating that these machines are controlled by
computer programs to execute precise machining operations. CNC milling
machines are widely employed for their ability to produce intricate and complex
shapes with high accuracy.
CNC milling machines operate based on a set of instructions provided through
CNC programming. These instructions, often written in G-code, specify the
toolpath, cutting speeds, depths, and other parameters.
Applications:
1) Precision machining:
CNC milling machines are used to create precise and intricate parts with
tight tolerances, commonly found in aerospace, automotive, and medical
industries.
2) Prototyping:
They are ideal for producing prototypes and one-off parts, allowing for quick
design iterations and testing.
3) Mass production:
In mass production, CNC milling machines provide efficiency and consistency
in producing large quantities of identical parts
4) Complex shapes:
CNC milling excels at machining complex 3D shapes and surfaces that would be
challenging or impossible with traditional machining methods
General details
1. Precision: The Anakmatic-8 CNC machine is known for its high precision in cutting,
milling, drilling, and shaping materials like metal, wood, and plastics with accuracy
down to micrometers.
3. Versatility: This machine can work with various materials and is commonly used in
industries such as aerospace, automotive, and electronics for both prototyping and
mass production.
4. Features: The Anakmatic-8 may include features like multiple axes of movement In 3
directions ( X,Y,Z ), ,And it is a single tool machine ,with coolant systems, and
spindle speed control for optimal performance.
6. Safety: Safety features such as emergency stop buttons, protective enclosures, and
collision detection help prevent accidents and ensure operator safety.
7. Maintenance: Regular maintenance is essential to keep the machine running smoothly
and to prolong its lifespan , but it is not available now so there is no maintenance
applied because it is from 1989
Components
1. Control Panel: The control panel is where the operator interacts with the machine. It
includes a screen for displaying information, a keyboard for inputting commands, and
buttons for manual operation.
2. CNC Controller: This is the brain of the machine that interprets the G-code
instructions and controls the movement of the axes, spindle speed, and coolant
systems.
3. Spindle: The spindle holds the cutting tool and rotates at high speeds to perform
cutting, drilling, and milling operations on the workpiece.
4. Axes: CNC machines have multiple axes (typically three to five) that control the
movement of the cutting tool in different directions (X, Y, Z), allowing for complex
machining operations.
5. Drive Motors: These motors provide the power to move the axes and control the
position of the cutting tool accurately.
6. Tool Changer: it only have one single tool and we can reprogramming if we want to
use a different tool
7. Coolant System: To prevent overheating and prolong tool life, CNC machines often
have a coolant system that sprays coolant or lubricant on the cutting tool and
workpiece during machining.
8. Worktable: The worktable holds the workpiece securely in place during machining
operations and can move in relation to the cutting tool for multi-sided machining
2. ANAYAK VMC with ATC
The ANAYAK VMC (Vertical Machining Center) with Automatic Tool Changer (ATC) is a
high-performance CNC (Computer Numerical Control) machining center designed for
precision milling and drilling operations, especially in the aerospace, automotive, and mold-
making industries. Here’s a detailed breakdown of its main components:
1. Spindle Head (Center, Top):
The spindle head houses the main spindle motor,
which drives the cutting tools. The spindle rotates
the tool at various speeds, enabling different
machining operations such as drilling, milling,
and boring. It can move vertically (Z-axis) for
cutting depth control.
2. Automatic Tool Changer (ATC):
This machine likely has an ATC mechanism that
automatically changes tools based on the
programmed operations. It reduces manual
intervention and increases productivity by
allowing multiple tools to be stored and automatically swapped in and out as needed.
3. Control Panel (Right Side):
The control panel is where the operator programs, controls,
and monitors the machine’s functions. It includes controls for
starting/stopping the machine, setting spindle speeds, feed
rates, and selecting tools in the ATC. It often features a digital
display for real-time feedback and adjustments.
Each of these components works together to allow the ANAYAK VMC to perform precise
and complex machining operations, automated with the help of the ATC and controlled
coolant system.
2.1. Automatic tool changer
In the ANAYAK VMC (Vertical Machining Center) with an Automatic Tool Changer
(ATC), the drum-style tool magazine is a crucial part of the ATC system. This magazine
typically stores a large number of tools (usually between 20 to 40 or even more), depending
on the specific machine configuration. Here’s a detailed look at its components, operation,
and suction functionality:
3. Suction Mechanism:
In this specific ANAYAK model, the drum operates with suction to enhance tool handling
precision and cleanliness.
Suction System: The suction, or vacuum system, helps by stabilizing each tool holder in its
slot, minimizing any slight movements that could cause misalignment during high-speed
rotation.
Dust and Chip Removal: The suction system also works to remove dust, chips, and small
metal particles from the tool holder interface, ensuring the tool remains clean and accurately
seated in the spindle.
Reduced Contamination: By keeping tool holders free of debris, the suction system helps
prolong the life of the drum mechanism and prevents contamination that could affect
machining precision.
4. Operation Process:
When the CNC controller signals a tool change, the drum rotates to bring the selected tool
slot to the loading position.
The suction activates to clear any debris and stabilize the tool in the slot.
The robotic arm then picks up the tool from the drum and inserts it into the spindle, after
which the suction stops, and the drum readies the next tool.
EMAR Mills are equipped with high-quality industrial milling parts and components,
from liner guides, ball screws, high speed spindles, servo & stepper motors, drivers and
bearings to cast-iron chassis and even electrostatic paint. Without compromising quality,
this machine is unmatched in its price range.
The ECNC 6040 CM components are designed for precision, longevity and with variety of
options and accessories, which enables you to operate the machine in various applications
without further adjustments or installations. EMAR Hard-Metal mills will allow you to
work at full capacity around the clock, while maintaining consistent high precision
without limitations.
EMAR’s 4-Axis simultaneous rotary can produce complex work pieces with high
precision and without the need for further rework. ECNC 6040 M offers you a very high
equipment flexibility with low cost of ownership making it without doubt your ideal
choice for good price – performance ratio.
• Machine parts description & its function:
1. Machine base:
The machine base of a CNC
milling machine is a sturdy and
rigid structural foundation
typically made of materials like
cast iron or welded steel. It
provides stability and support for
key components such as the
worktable, spindle, and various
motors. The base's design
minimizes vibrations during
machining, ensuring accuracy. It
incorporates
mounting points for precise alignment of components, guideways for smooth movement
along different axes, and features for effective chip management. Durable and often
equipped with adjustment mechanisms, the machine base is essential for maintaining the
machine's overall stability and performance.
2. Worktable:
The worktable is a flat and rigid surface where the
workpiece is securely mounted for machining. It is a critical
component that supports the material being worked on and
allows for precise positioning. The worktable can move
along different axes (X, Y, and Z) to facilitate the accurate
cutting or shaping of the workpiece. T-slots or other fixtures
on the table enable clamping of the workpiece, ensuring
stability during machining operations. The worktable's
design is integral to achieving accuracy and repeatability in
CNC milling processes.
3. Keyboard:
a) input CNC programs, which are
sequences of commands (G-code) that
specify the toolpath and machining
operations.
b) set various parameters such as cutting speeds, feed rates, tool offsets, and
machine's tool along the X, Y, and Z axes for setup or testing purposes.
d) make adjustments to tool offsets or workpiece offsets to achieve the
7. Guideways:
Guideways in a CNC milling machine are linear bearing surfaces that guide the
motion of machine components along defined paths.
The primary function of guideways is to provide precise and smooth linear motion for the
machine's moving parts, such as the saddle, table, or spindle. They ensure accurate
positioning of these components, contributing to the overall precision and repeatability of
the CNC milling machine. The type of guideways used (e.g., ball, roller, or hydrostatic)
influences factors such as rigidity, friction, and resistance to wear, impacting the machine's
performance and accuracy.
8. Automatic tool changer
The Automatic Tool Changer (ATC) is a sophisticated mechanism designed to
automate the process of changing cutting tools during machining operations. It
significantly enhances efficiency and reduces downtime by eliminating the need for
manual tool changes.
9. Tool magazine
The Tool Magazine is a storage unit designed to hold and organize a variety of cutting
tools used during machining operations. This component is an integral part of an
Automatic Tool Changer (ATC) system, enhancing efficiency by automating the tool-
changing process
11.CNC Controller
The CNC controller of a CNC milling machine is the central component responsible
for interpreting programming instructions and controlling the movement of the
machine and tool changes.
The 6040 cm cnc milling machine uses Mach3 control.
Mach3 control is a popular CNC control software used in milling machines. It serves as
the interface between a computer and the CNC machine, allowing users to program,
control, and monitor the milling process.
Mach3 interprets G-code instructions generated by CAM software, translating them into
motion commands for the CNC milling machine. It manages toolpaths, regulates spindle
speed, and controls axis movements, providing a user-friendly platform for CNC milling
operations
13.Limit switches
Limit switches are safety devices (Sensors) that serve to detect the physical limits of
the machine's movement along each axis (X, Y, and Z). These switches are
strategically placed at the ends of the machine's travel paths to prevent over-travel
and potential damage to the machine or workpiece.
14.(E-Stop) button
The Emergency Stop (E-Stop) button on a CNC milling machine is a prominent safety
feature designed to immediately halt all machine movements and operations in the event of
an emergency or any situation requiring an urgent stop.
15.Coolant system
The coolant system of a CNC milling machine is an essential component designed to
manage heat generated during machining processes, enhance tool life by reducing
friction and wear., and improve the overall quality of machined parts. It also helps in chip
removal and lubrication.
16.Chip conveyor
A chip conveyor is a mechanical system designed to efficiently remove chips and debris
produced during the machining process to maintain cleanliness and prevent damage and
preventing interference with the machining process, and ensuring the longevity of the
cutting tools.
17.Lubrication system
The lubrication system is a critical component designed to reduce friction, minimize
wear and tear, and ensure the smooth operation of various moving parts within the
machine.
The primary purpose of the lubrication system is to provide a controlled and
continuous supply of lubricant (usually oil or grease) to critical moving components,
such as bearings, guideways, and ball screws. This reduces friction and heat
generation, preventing premature wear and ensuring optimal performance.
18.Tool holder:
The tool holder in a CNC milling machine is a specialized component designed to
securely grip and support cutting tools during machining operations. It plays a crucial role
in maintaining the precision and stability of the cutting process. the primary purpose of
the tool holder is to securely hold cutting tools, such as end mills, drills, or inserts, and
facilitate their accurate positioning and rotation during the machining process.
BT40 refers to the tool holder taper standard. It specifies the type of connection between
the spindle and the cutting tool.
19.Power supply
Provides electrical power to various components of the machine.
• References:
https://www.makershop.co.nz/mach3
https://www.emar-eg.com/e6040m/
https://www.emar-eg.com/wp-content/uploads/2022/11/EMAR-Catalog-2023.pdf
This chapter is intended for reference to explain the screen controls provided
by Mach3 for setting up and running a job on the machine. It is of relevance
to machine operators and for part-programmers who are going to prove their
programs on Mach3.
6.1 Introduction
This chapter covers a lot of detail. You may wish to skim section 6.2 and then look at the
sections for inputting and editing part programs before returning to the details of all the
screen controls.
6.2.1.1 Reset
This is a toggle. When the system is Reset the LED glows steadily, the charge pump pulse
monitor (if enabled) will output pulses and the Enable outputs chosen will be active.
6.2.1.2 Labels
The "intelligent labels" display the last "error" message, the current modes, the file name of
the currently loaded part program (if any) and the Profile that is in use.
6.2.2.2 Referenced
The LED is green if the axis has been referenced (i.e. is in a known actual position)
Each axis can be referenced using the Ref All button. Individual axes can be referenced on
the Diagnostics screen
♦ If no home/reference switch is defined for the axis, then the axis will not actually
be moved but, if Auto Zero DRO when homed is checked in Config>Referencing,
then the absolute machine coordinate of the current position of the axis will be set
to the value defined for the axis in the Home/Reference switch locations table in
the Config>State dialog. This is most often zero.
♦ If there is a home/reference switch defined for the axis and it is not providing an
active input when the Ref is requested, then the axis will be moved in the
Using Mach3Mill 6-2 Rev 1.84-A2
Mach3 controls and running a part program
6.2.2.4 Scale
Scale factors for any axes can be set by G51 and can be cleared by G50. If a scale factor
(other than 1.0) is set then it is applied to coordinates when they appear in G-code (e.g. as X
words, Y words etc.) . The Scale LED will flash as a reminder that a scale is set for an axis.
The value defined by G51 will appear, and can be set, in the Scale DRO. Negative values
mirror the coordinates about the relevant axis.
6.2.2.5 Softlimits
The Softlimits button enables the softlimits values defined in Config>Homing/Limits.
6.2.2.6 Verify
The Verify button, which is only applicable if you have home switches, will move to them
to verify if any steps might have been lost during preceding machining operations.
The size of increment can be set by typing it into the Step DRO or values can be set in this
DRO by cycling through a set of 10 user definable values using the Cycle Jog Step button.
Incremental mode is selected by the toggle button or, if in Continuous Mode temporarily
selected by holding down Ctrl before performing the jog.
6.2.7.2 FeedHold
The Feedhold button will stop the execution of the part program as quickly as possible but
in a controlled way so it can be restarted by Cycle Start. The spindle and coolant will
remain on but can be stopped manually if required.
When in FeedHold you can jog the axes, replace a broken tool etc. If you have stopped the
spindle or coolant then you will generally want to turn them on before continuing. Mach3
Using Mach3Mill 6-6 Rev 1.84-A2
Mach3 controls and running a part program
will however, remember the axis positions at the time of the FeedHold and return to them
before continuing the part program
6.2.7.3 Stop
Stop halts axis motion as quickly as possible. It may result in lost steps (especially on
stepper motor driven axes) and restarting may not be valid.
6.2.7.4 Rewind
Rewinds the currently loaded part program.
tend to appear as polygons where the straight sides are very noticeable. This is nothing to
worry about.
The Simulate Program Run button will execute the G-code, but without any tool movement,
and allow the time to make the part to be estimated.
The Program Limits data allow you to check the maximum excursion of the controlled
point to be reasonable (e.g. not milling the top off the table).
The screenshot also shows axis DROs and some Program Run controls.
If you have defined softlimits which correspond to the size of your machine table then it is
often useful to use the Display Mode button to toggle from Job to Table mode to show the
toolpath in relation to the table. See figure 6.11
The toolpath display can be
rotated by left clicking and
dragging the mouse in it. It
can be zoomed by shift-left
clicking and dragging and
can be panned by dragging
a right click.
The Regenerate button will
regenerate the toolpath
display from the G-code
with the currently enabled
fixture and G92 offsets.
Note: It is very important
to regenerate the toolpath Figure 6.11 – Toolpath in relation to table
after changing the values of offsets both to get the correct visual effect and because it is
used to perform calculations when using G42 and G43 for cutter compensation..
Typing into the DRO is equivalent to a part program issuing G55 to 59 or G58.1 to G59.253
(q.v.).
You can also set the current offset system using the Fixture buttons.
You can change the value of the offset values for the current offset system by typing into
the relevant Part Offset DROs. (Part Offset is yet another name for Work and Fixture
offsets!)
Values can also be set in these DROs by moving the axes to a desired place and clicking as
Set or Select button. The X and Y axes and Z axis are set in slightly different ways. Z is
easier to understand so we will describe it first.
The Z offset will usually be set up with a “master tool” in the spindle. The Z for other tools
will then be corrected by the tool table. A gage block or sometimes even a piece of foil or
paper is slid between the tool and the top of the work (if this is to be Z = 0.0) or the table (if
this is to be Z = 0.0). The Z axis is very gently jogged down until the gage is just trapped by
the tool. The thickness of the gage is entered into the Gage Block Height DRO and the Set Z
button is clicked. This will set up the Z value of the current work offset so that the tool is at
the given height.
The process for X and Y is similar except the touching might be done on any of four sides
of the part and account has to be taken of the diameter of the tool (or probe) and the
thickness of any gage being used to give “feel” to the touching process.
For example to set the bottom edge of a piece of material to be Y = 0.0 with a tool of
diameter 0.5” and a 0.1” gage block, you would enter 0.7 in the Edge Finder Dia DRO (i.e.
the diameter of the tool plus twice the gage) and click the Select button that is ringed in
figure 6.12.
Depending on your configuration of Persistent Offsets and Offsets Save in Config>State the
new values will be remembered from one run of Mach3 to another.
6.2.11.2 Tools
Tools are numbered from 0 to 255.
The tool number is selected by the
T word in a part program or
entering the number in the T DRO.
Its offsets are only applied if they
are switched On by the Tool Offset
On/Off toggle button (or the
equivalent G43 and G49 in the part
program)
In Mach3Mill only the Z offset and
Diameter are used for tools. The
diameter can be entered in the DRO
Figure 6.13 – Tool Offset
and the Z-offset (i.e. compensation
for tool length) be entered directly or by Touching. The Set Tool Offset feature works
exactly as set Z with with Work Offsets.
Tool Offset data is made persistent between runs in the same way as Work Offset data.
rotated workpiece so the rotational axis speed can be correctly included in the blended
feedrate. The relevant diameters are entered in the DROs of this family.
The Axis control Family has warning LED(s) to indicated the setting of non-zero values
here.
Values are not required if rotary movement is not to be coordinated with linear axes. In this
case a suitable F word for degrees per minute or degrees per rev should be programmed.
This can be automatic i.e. the jogging performed immediately after a reset will not be
subject to limits until the axis is jogged off the
limit switches. The Toggle button and warning
LED for Auto Limit Override controls this.
As an alternative limits may be locked out
using the OverRide Limits toggle. Its use is
indicated by the LED.
Notice that these controls do not apply if limit
switches are wired to the drive electronics or to
activate EStop. In this case an external
electrical override switch will be needed to
disable the switch circuit while you jog off
them.
Mach3. You will need to hunt for them on Program Run, Settings and Diagnostics
screens.
6.2.15.1 Units
This toggle implements the G20 and G21 codes to change the current measurement units.
You are strongly advised not to do this except in small fragments of part program on
account of the fact that Work Offset and Tool Offset tables are in one fixed set of units.
6.2.15.2 Safe Z
This family allows you to define the Z value which is clear of clamps and parts of the
workpiece. It will be used for homing and changing the tool.
6.2.15.4 Offline
This toggle and warning
LED "disconnects" all the
output signals of Mach3.
This is intended for
machine setup and testing.
Its use during a part
program will cause you all
sorts of positioning Figure 6.18 - Encoder control family
problems.
Using the Automatic Z Control controls (a) set the Z-inhibit value to the Z for depth for the
first roughing cut (perhaps Z= -0.05) (b) the Lower Z-Inhibit to the successive cut depths
(we might allow 0.1 as the tool has some side support). The whole job will need seven
passes to get to Z = -0.6, so (c) enter 7 in L (Loop). On pressing Cycle Start the machine
will automatically make the series of cuts at increasing Z depth. The DROs track the
progress decrementing L as they are performed and updating the Z-inhibit value. If the
given number of L does not reach the part program's requested Z depth then you can update
the L DRO and restart the program.
Figure 6.23 shows a section of the Toolpath screen after the Write button is pressed on
figure 6.22.
When the file is chosen, Mach3 will load and analyse the code. This will generate a toolpath
for it, which will be displayed, and will establish the program extrema.
The loaded program code will be displayed in the G-code list window. You can scroll
through this moving the highlighted current line using the scroll bar.
You should ensure that the axes are in a known reference position - probably by using the
Ref All button.
You need to decide whether the program starts with an S word or if you need to set the
spindle speed by hand or by entering a value in the S DRO.
You will need to ensure that a suitable feedrate is set before any G01/G02/G03 commands
are executed. This may be done by an F word or entering data into the F DRO.
Next you may need to select a Tool and/or Work Offset.
Finally, unless the program has been proved to be valid you should attempt a dry run,
cutting "air" to see that nothing terrible happens.