Table of Contents

Advertisement

ADTECH9 Series
CNC Programming Manual

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CNC Series and is the answer not in the manual?

Questions and answers

Summarization of Contents

Basic Information
Copyright
Ownership and usage rights of the manual, including restrictions and disclaimers.
Precautions and Notes
Transport and Storage
Guidelines for safely storing and moving products, focusing on packaging and handling.
Open Package Inspection
Procedures for checking product completeness and condition after unpacking.
Wiring
Instructions for proper electrical wiring, grounding, and safety during connection.
Overhauling
Safety precautions and procedures for maintenance and component replacement.
Miscellaneous
General notes on environmental factors, power, and component protection.
Maintenance
Daily inspection
Daily checks for environmental conditions, vibrations, and vent blockages.
Regular inspection
Periodic checks for loose components and damaged terminal blocks.
Overview
Specification
Technical specifications for the CNC system, including axis configuration, capacity, and display.
Basic functions
Core functionalities like data input, program editing, file management, authority, and system data.
Auxiliary functions
Common functions
Basic auxiliary functions like spindle control, coolant, and tool change commands.
Special auxiliary function
Advanced auxiliary functions including axis switching and input triggers.
Spindle functions
M03
Controls spindle rotation direction and speed.
Tool functions
M06
Instruction for tool change, specifying tool number.
Program structure
Program composition
Details the structure of CNC programs, including name, address, and segment.
Main program and subroutine
Subroutine format
Describes the syntax and structure for defining subroutines.
Modal and non-modal function
Non-modal G code
G codes valid only within a specific program segment.
Modal G code
G codes that remain valid until a new G code of the same group is encountered.
Motion direction naming of control axes
Z axis
Defines Z-axis movement as up/down, with positive and negative directions.
X axis
Defines X-axis movement as left/right, with positive and negative directions.
Y axis
Defines Y-axis movement as forward/backward, with positive and negative directions.
Spindle
Defines spindle rotation as clockwise (positive) and counterclockwise (negative).
Machine tool coordinate system
Workpiece coordinate system
System created using a workpiece reference point as the origin for programming.
System programming
Preparation functions (G function)
Introduction to G functions, covering preparation and motion control.
G90 G91 absolute and relative programming
Explains absolute and incremental coordinate system programming modes.
Rapid positioning (G00)
Format
Specifies the syntax for the G00 rapid positioning command.
Details
Explains G00 behavior, including acceleration/deceleration and axis independence.
Linear interpolation (G01)
Function
Defines G01 for moving to a position via a straight line.
Format
Specifies the syntax for the G01 linear interpolation command.
Arc interpolation (G02, G03)
Function
Used for moving the tool along an arc path.
Format
Specifies syntax for arc interpolation on different planes (XY, XZ, YZ).
Pause instruction (G04)
Function
Pauses program execution for a specified duration.
Format
Specifies syntax for the G04 pause command using P or X.
Plane selection (G17-G19)
Format
Commands to select the XY, ZX, or YZ plane for operations.
Details
Explains plane selection default and behavior without explicit commands.
Machine tool coordinate system (G53)
Format (machine tool coordinate system)
Syntax for selecting machine tool coordinate system using G53.
Details
Explains G53's non-modal nature, impact on compensation, and feeding mode.
Programmable workpiece coordinate system (G92)
Function
Creates a new workpiece coordinate system by defining current tool position.
Format
Specifies the syntax for the G92 command to set workpiece coordinates.
Gfunction related to reference point
Auto return to reference point (G28)
Command for returning the machine axes to the reference point.
Format
Specifies the syntax for the G28 auto return command.
Auto return from reference point (G29)
Function
Moves axes from reference point to an instruction position via a center point.
Format
Specifies the syntax for the G29 auto return command.
Reference point return checking (G27)
Function
Checks if axes have reached the reference point, alarming if not.
Format
Specifies the syntax for the G27 reference point checking command.
Using preset workpiece coordinate system (G54~G59, G591~G599)
Example
Provides examples of setting workpiece coordinate system offsets.
Local coordinate system (G52)
Function
Creates a local coordinate system as a sub-system of G54-G59.
Tool compensation G function
Tool length compensation (G43, G44, G49)
Adjusts for differences between programmed and actual tool lengths.
Tool length compensation Details
Specifying offset
Details how H code specifies tool offset number and its range.
Cancel tool length compensation
Explains how to cancel tool length compensation using G49 or H00.
Tool radius compensation (G40, G41, G42)
Tools radius compensation function
Compensates for tool radius to match actual contour.
Format
Specifies commands for canceling, left, and right tool radius compensation.
Details
Explains D instruction for radius compensation and plane selection.
G41/G42instruction and I, J, K designation
Function and purpose
How G41/G42 and I, J, K specify compensation direction.
Format
Syntax for G41/G42 with plane selection and I, J, K designation.
Cancelling tool radius compensation
Occasions inside the corner
Details how to cancel tool radius compensation for inner corners.
Occasions out of corner (obtuse angle)
Explains cancellation for outer corners with obtuse angles.
Occasions out of corner (acute angle)
Explains cancellation for outer corners with acute angles.
Corner vector changes/maintains
Maintain vector
How G38 maintains compensation vector during single segment movement.
Change vector
How I, J, K and D specify new compensation vectors.
Notes for tool radius compensation
Specifying the compensation
Details how D instruction and compensation number are specified.
Changing compensation
How compensation is changed after mode cancellation and tool selection.
Compensation symbol and tool center path
How compensation symbols affect workpiece rotation and tool path.
Compensation number change in compensation mode
G41 G01………………………………….Dr1;
Example showing how to change compensation number in compensation mode.
Hole processing function
Standard fixed cycle
Introduces fixed cycles for efficient hole processing in one segment.
High-speed deep-hole drilling cycle (G73)
Format
Specifies the syntax for the G73 high-speed deep-hole drilling cycle.
Details
Explains G73's segmented feeding and Z-axis lift for chip breaking.
Left-hand Thread tapping cycle (G74)
Format
Specifies syntax for G74 left-hand thread tapping cycle.
Details
Outlines the sequence of actions for G74 tapping cycle.
Fine boring cycle (G76)
Format
Specifies the parameter format for the G76 fine boring cycle.
Drilling cycle (G81)
Format
Specifies the format for the G81 drilling cycle.
Details
Explains the simple execution process of the G81 cycle.
Drilling cycle, rough boring cycle (G82)
Format
Specifies the format for the G82 drilling and rough boring cycle.
Deep-hole drilling cycle (G83)
Format
Specifies the format for the G83 deep-hole drilling cycle.
Details
Explains G83's segmented feeding and Z-axis return for chip breaking.
Tapping cycle (G84)
Format
Specifies the parameters for the G84 tapping cycle.
Details
Outlines the sequence of actions for the G84 tapping cycle.
Boring cycle (G85)
Format
Specifies the format for the G85 boring cycle.
Boring cycle (G86)
Format
Specifies the format for the G86 boring cycle.
Back boring cycle (G87)
Format
Specifies the parameters for the G87 back boring cycle.
Notes for using hole processing fixed cycle
During programming, it is necessary to use S and M code...
Programming notes for hole processing fixed cycles, including spindle rotation.
In fixed cycle mode, the segment containing X, Y, Z, R...
Rules for segment execution within fixed cycle mode.
Hole processing parameter Q, P must be specified...
Requirement to specify Q and P parameters within the fixed cycle segment.
Conversion of G command
Program coordinates rotation G68 and G69
Commands for starting and canceling coordinate rotation.
G51.1and G50.1 mirroring
Functions and purpose
Enables mirroring of programmed shapes for symmetrical machining.
Operating parameter descriptions
Function 1: Mirror function starts
Initiates the mirror function, specifying the mirror axis coordinates.
Action descriptions
Describes how to machine symmetrical shapes using the mirror function.
Probe G command
G31.1
Command for external signal detection and program jump.
G31.2
Command for tool setting function and searching.
G31.3
Reads distances between two detection switches.
Machine coordinate positioning commands
G53
Positions axes to machine coordinates.
G53.1
Positions interpolation to machine coordinates.
Auxiliary function
M code list
Lists M codes and their corresponding functions for spindle, tool, and auxiliary operations.
M code for program control
M00 program stops.
Pauses program execution until Start button is pressed.
M30 program ends, and returns to program header
Ends program and returns to the beginning.
M98 call subroutine
Calls a subroutine for execution.
M99 subroutine ends, and returns to the main program
Ends subroutine and returns to the calling program.
Other M codes
M03 spindle positive rotation.
Rotates spindle clockwise at specified speed.
M04 spindle reverse rotation.
Rotates spindle counterclockwise at specified speed.
M05 spindle stops.
Stops the spindle rotation.
M06 tool change starts.
Initiates the tool change process.
M08 cooling on
Activates the cooling system.
M09 cooling off
Deactivates the cooling system.
M32 lubrication on
Activates the lubrication system.
M33 lubrication off
Deactivates the lubrication system.
M88 specify input IO port...
Checks input IO port voltage levels and waits if conditions aren't met.
M89 specify output IO port...
Controls output IO ports with optional delay for signal output.
M command for input signal detection output
M88 input port signal detection
Checks input IO port signal level and waits if necessary.
M89 specifies output port control
Controls output ports with optional delay for signal output.
Spindle speed function S
Spindle mapping axis: Analog spindle
Configures spindle speed using analog output based on S value and max speed.
Spindle mapping axis: To specify one feed axis in the axis group
Sets spindle control mode to AB phase pulse control based on encoder.
Tool function
Waring:
Warning about proper tool meter setting to avoid damage.
Category B macro function
Variable instruction
Uses variables to replace fixed values, enhancing program versatility.
Types of variables
Global variable
Variables accessible in main program and subroutines, with retentive options.
Local variable
Variables defined and used only within a specific program.
System variable
System-defined variables.
Variable reference
Except O, N and / (slash)
Notes on excluding certain characters when referencing variables.
Specify with variables directly
Direct usage of variables in commands like G01X#1Y#100.
Take the complement of the variables directly
Direct referencing of variable complements, e.g., G01X-#2.
Variable defines variable
Using one variable to define another, e.g., #3=#105.
Define the evaluation with expression
Evaluating expressions to assign values to variables, e.g., #1=#3+#2-100.
Macro program call
Function
Allows macro programs to transfer variables during calling.
Macro Program Calling Instruction
Lists G codes for macro program calling: G65, G66, G661, G67.
Macro program calling command
Simply calling
Basic macro program calling using G65 with subroutine number and repeat times.
Variable
Function and purpose
Macro variables are essential for convenient and universal macro writing.
Using multiple variables
Demonstrates using variables and expressions for calculations.
Variable reference
Conditional
Blank variables are equivalent to 0 in logic conditional operators.
Types of variables
Public variables
Variables accessible globally, with non-retentive and retentive options.
Local variables (#1-#32)
Local variables defined via arguments, used within a single program.
Calculus instruction
Format
Defines variable assignment for calculus expressions.
Calculation method
Lists methods for addition, subtraction, multiplication, division, and functions.
Control instruction
Conditional instruction
Uses IF GOTO statements for conditional program flow.
Cycle conditional instruction
Implements loops using WHILE and END statements for conditional execution.
Notes of using macro
Variable initialization;
Emphasizes initializing variables at program start and using intermediate variables.
In main program, subroutine or macro...
Recommends using local variables for a clean programming environment.
Same as subroutine, macro can’t be used in tool radius compensation;
Macro cannot be used in tool radius compensation; cancel before calling.
Extended special macro functions
RCOOR read workpiece coordinates
Reads workpiece coordinates from G54-G599.
RMACPOS read machine tool coordinates
Reads current machine tool coordinates.
WMACPOS write machine tool coordinates
Writes machine tool coordinates.
SPEEDS set interpolation speed
Sets the interpolation speed for axes.
MOVEABS single axis moves to the machine’s position
Parameter MODE
Defines waiting behavior for motion completion.
AXIS
Specifies the number of the axis to move.
POS
Defines the target position for the axis movement.
MOVEREL relative moved position of single axis
Parameter
Defines waiting behavior and relative position for single axis move.
MOVEASA two axes move to the machine’s position (positioning or interpolation)
Parameter MODE
Defines motion mode (positioning/interpolation, wait/no wait).
AXIS
Specifies axes and displacements for two-axis movement.
MOVERSA relative moved position of two axes (positioning or interpolation)
Function description
Relative movement for two axes.
Parameter
Defines motion mode and relative displacements for two axes.
MOVEASB three axes move to the machine’s position (positioning or interpolation)
Function description
Absolute movement for three axes.
Parameter
Defines motion mode and positions for three axes.
MOVEASC absolute position of motion of multiple axes (positioning or interpolation)
Function description
Absolute movement for multiple axes.
Parameter
Defines motion mode and total axes for multi-axis movement.
MOVERSC relative position of motion of multiple axes (positioning or interpolation)
Function description
Relative movement for multiple axes.
Parameter
Defines motion mode and total axes for multi-axis movement.
Special M Code
Cancel the synchronization of all axis or switch function (M10002)
Restores default synchronization for all axes or switches functions.
Process after switching Axis X to Axis A (M10003)
Switches Axis X to Axis A for pulse port output.
Process Axis X and Axis A synchronously (M10004)
Outputs pulses for Axis X and A synchronously.
Process after switching Axis Y to Axis A (M10005)
Switches Axis Y to Axis A for pulse port output.
Process Axis Y and Axis A synchronously (M10006)
Outputs pulses for Axis Y and A synchronously.
Process after switching Axis Z to Axis A (M10000)
Switches Axis Z to Axis A for pulse port output.
Process Axis Z and Axis A synchronously (M10001)
Outputs pulses for Axis Z and A synchronously.
Process after switching Axis X to Axis B (M10007)
Switches Axis X to Axis B for pulse port output.
M10008 Process Axis X and Axis B synchronously (M10008)
Outputs pulses for Axis X and B synchronously.
Process after switching Axis X to Axis C (M10009)
Switches Axis X to Axis C for pulse port output.
Process Axis X and Axis C synchronously (M10010)
Outputs pulses for Axis X and C synchronously.
Process after switching Axis Y to Axis B (M10011)
Switches Axis Y to Axis B for pulse port output.
Process Axis Y and Axis B synchronously (M10012)
Outputs pulses for Axis Y and B synchronously.
Process after switching Axis Y to Axis C (M10013)
Switches Axis Y to Axis C for pulse port output.
M10014 Process Axis Y and Axis C synchronously (M10014)
Outputs pulses for Axis Y and C synchronously.
Special Program Segment
Process after switching Axis Z to Axis B (M10015)
Switches Axis Z to Axis B for pulse port output.
Process Axis Z and Axis B synchronously (M10016)
Outputs pulses for Axis Z and B synchronously.
Process Axis A, Axis B and Axis C synchronously (M10017)
Outputs pulses for Axis Z, A, B, and C synchronously.
M2000
Executes automatic mechanical zeroing operation.
M2203
Calls M2203 program segment automatically upon system start.
M2201
Calls M2201 program segment automatically upon system start.
M2202
Calls M2202 program segment automatically upon system over.
M2200
Calls M2200 program segment before G00 order.
M2205
Executes automatic cutter regulating macro program.
M2206
Handles alarm and executes macro program automatically.
Instruction on Custom CAM
Overview
CAM instruction as an interface for customizing pictures and parameters.
Introduction of CAM Instruction Interface
Explains the components and layout of the CAM instruction interface.
CAM instruction menu functions
Type
Selects CAM type from configuration file for element insertion.
Search
Designates CAM position in the location data file.
Load
Reads saved CAM instruction file content.
Saved as
Saves the current CAM instruction file.
Delete
Deletes designated CAM data from the current position.
CAM Instruction Configuration File
CTSTART
Configures the starting mark for the file.
CTEND
Configures the ending mark for the file.
CAMINFO
Starting mark of CAM data.
A: CAM type, parameter range 1-30.
Defines CAM type and its parameter range.
B: Number of parameters
Specifies the number of parameters for the CAM.
C: CAM picture saving path
Defines the path where CAM pictures are saved.
D: Picture type: 380x380
Specifies the resolution of the CAM picture.
E: The correspondent G code is G151-G180
Maps CAM types to corresponding G codes.
G: Parameter name definition
Defines parameter names used in FGH.
F: Parameter name definition involved by FGH.
Defines parameter names involved by FGH.
H: Value range involved by FGH.
Defines the value range for parameters.
CAD DXF Conversion
Function
Defines layers and elements for converting DXF graphics to G codes.
Keywords description
Program header/end and process control
Keywords for program start, initialization, and end codes.
Processing elements and the breakpoint configuration
Keywords for point, line, arc, and tool jump configurations.
Coordinate data configuration
Keywords for configuring point coordinates and line end coordinates.
Layer configuration keyword
Keywords for configuring layer initialization and end codes.
Automatic tool change (ATC)
Fig. 14.1 Tool Magazine and Machine Tool Integrated CNC Machine Tool
Diagram illustrating the tool magazine and machine tool integration.

Table of Contents