G38.2 – Straight Probe Cycle - MASSO Documentation
- Adding a DTHC
- How to Create User in myWorkshop
- OEM / Distributor myWorkshop account
- Linking DTHC
- Upgrading Product Variants in myWorkshop
- About MASSO
- MASSO Touch - FAQ's
- Purchasing MASSO
- Machine conversion and Builds
- Motors and Drives
- Plasma
- Lathe
- Encoders
- Spindles
- Tool Changers
- 5 Axis Machining
- Drill Heads, saws, Brake press, Punches and EDM
- Support
- Finding your MASSO Serial number
Getting Started Guides
Software- MASSO G2
- Release Notes
- Version 3.51
- Version 3.50
- Version 3.48
- Release Notes
- MASSO G3
- Main - Release Notes
- Version 5.13
- Version 5.12
- Version 5.11
- Version 5.10
- Version 5.09
- Version 5.07
- Version 5.06
- Version 5.05
- Version 5.03
- Version 5.01
- Version 5.00
- Version 4.02
- Version 4.01
- Version 4.00
- Version 3.48
- Beta - Release Notes
- Version 5.100b
- Main - Release Notes
- MASSO Link
- Release Notes
- Version 2.14
- Version 2.12
- Version 2.11
- Release Notes
- MASSO Phone App
- Environmental Specifications
- Powering MASSO Touch
- Powering MASSO-G3
- Password Reset
- Connecting a Screen
- Connecting Keyboard & Mouse
- Loading software onto MASSO Touch
- Loading Software to MASSO-G3
- MASSO Settings
- General settings
- Homing Settings
- Lubrication Settings
- Tool Changer Settings
- Axis Settings
- Touch probe settings
- Auto Tool Zero Settings
- Multi-Head Settings
- QR Scanner Settings
- User Account Settings
- Load and Save Calibration Settings
- Admin and User Passwords
- Wiring and Calibration
- QR Scanner
- Turning MASSO On and Off
- Admin and User Passwords
- Graphical Interface
- Graphical Interface MASSO G3
- Controller Alarms
- Touch Screen Interface
- Keyboard and Key Shortcuts
- Setting Time & Date
- Homing the machine
- Jogging
- Jogback
- Feed rate override
- Spindle RPM Override
- MDI command
- Creating New G-Code Files
- Editing G-Code
- Resetting Job Counter
- Loading & Running G-Code
- Resuming Program or Jump to Line
- Single Block
- Job timer
- Wi-Fi Connectivity
- MASSO Link Software
- macOS Instructions
- Windows Instructions
- Making QR Codes
- Calibrating Tools
- Lathe Tool Calibration Steps
- Mill Tool Calibration Steps
- Work Offsets
- Conversational Programming
- Lathe Conversational Wizards
- Outside Diameter Turn Wizard
- Inside Diameter Turn Wizard
- Face Wizard
- Drill Wizard
- Thread Wizard
- Mill Conversational Wizards
- Face Cutting Wizard
- Profile Cut Wizard
- Rectangular Pocket Wizard
- Circular pocket Wizard
- Thread Milling Wizard
- Lathe Conversational Wizards
- Auto Loading G-code
- Probing
- Top of Part Probing Cycle
- Side of Part Probe Cycles
- Corner Probing Cycles
- Center Probing cycles
- Best practice when wiring MASSO
- Setup MASSO Mill
- Setup MASSO Plasma
- Setup MASSO Lathe
- Setup Rotary Axis
- Setup Laser Engraving
- Installing an Opt Laser
- Setting up Lightburn
- Setup MASSO QR Scanner
- Sensor Identify & Connecting
- Homing
- MASSO Repair
- ESD Protection
- Differential Axis
- Spindle Control
- TTL Outputs
- Axis Testing
- Ground Loops
- Ground Loop Symptoms
- Homing
- MASSO Link
- MPG Pendant
- Optocouplers
- VFD and Spindle Testing
- MASSO Touch V3.09 board
G-Codes and Post processors
Supported G-codes- G00 - Rapid Motion
- G01 - Linear Interpolation Motion
- G02 – Circular Interpolation (Clockwise)
- G03 – Circular Interpolation (Counter Clockwise)
- G04 – Dwell
- G10 – Set Work Offset Values
- G17 – XY Plane Selection
- G18 – ZX Plane Selection
- G19 – YZ Plane Selection
- G20 – Set Machine Units To Inches
- G21 – Set Machine Units To Millimetres
- G28 – Return To Machine Home
- G30 - Move to Parking Position
- G32 – Threading Cycle
- G38.2 – Straight Probe Cycle
- G38.6 - Digitizing Probing Cycle
- Auto Levelling using G38.6
- G38.7 - Center Probing Cycle
- G40 - Cutter Compensation Off
- G41- Cutter Compensation Left
- G42- Cutter Compensation Right
- G53 – Move In Absolute Machine Coordinates
- G54 to G59 – Select Work Offset Coordinate System
- G54.1 - Extended Work Offsets
- G73 – High Speed Peck Drilling
- G80 – Cancel Modal Motion
- G81 – Drilling Cycle
- G82 – Drilling Canned Cycle With Dwell
- G83 – Peck Drilling For Deeper Holes
- G90 – Set Distance Mode To Absolute
- G91 – Set Distance Mode To Incremental
- G92 – Temporary Work Offset
- G92.1 – Cancel Temporary Work Offset
- G93 – Inverse Time Mode
- G94 – Units Per Minute Mode
- G95 - Feed Per Revolution
- G96 – Turn on Constant Surface Speed (CSS)
- G97 – Turn off Constant Surface Speed (CSS)
- G98 – Canned Cycle – Retract Back To The Initial Z
- G99 – Canned Cycle – Retract Back To R Plane
- G200 - Plasma Parameters
- G200 - Laser Parameters
- T - Tool Number
- MSG - Message command for screen and remote alerts
- F - Feed rate
- N - Number
- S - Speed / Intensity
- ( ) - Comments
- Invalid Gcode
- M00 – Program Stop
- M01 – Optional Program Stop
- M02 – Program End
- M03 – Spindle ON (Clockwise)
- M03 – Plasma Torch ON
- M03 – Laser output enable with motion
- M04 – Spindle ON (Counter Clockwise)
- M04 - Laser On Immediate
- M05 – Spindle OFF
- M05 – Plasma Torch OFF
- M05 - Laser off Immmediate
- M06 – Tool Change
- M06.1 - Tool Unload
- M07 – Turn Mist Coolant On
- M08 – Turn Flood Coolant On
- M08 - Laser-Air Assist On
- M09 – Coolant Off
- M09 – Laser-Air Assist Off
- M10 – Chuck Or Rotary Table Clamp closed
- M11 – Chuck Or Rotary Table Clamp Open
- M30 – End The Program And Rewind
- M62 – Turn On Digital Output Synchronized With Motion
- M63 – Turn Off Digital Output Synchronized With Motion
- M64 – Turn On Digital Output Immediately
- M65 – Turn Off Digital Output Immediately
- M66 - Wait for Input
- M666 – Plasma – Turn THC Function Off
- M667 – Plasma – Turn THC Function On
- M85 - Open Door
- M86 - Close Door
- M98 & M99 – Sub Program Call
- Artcam
- BobCAD-CAM
- Autodesk Fusion
- SheetCAM
- Vectric VCarve and Vectric Aspire
- Version 5 Plasma POST Processor Requirements
- Other CAM Software
- LUA Editor
- LUA Triggers
- LUA Functions
- M.api
- M.gui
- M.sys
- M.tool
- M.printer
- M.file
- M.io
- M.axis
- Lua Standard Libraries
- LUA Inputs & Outputs
Wiring and Setup
Multi-Head- Introduction
- Main Spindle
- Multi Spindle 1 - 4
- Dry Run Laser Pointer
- Laser Engraving/Cutting
- Plasma Torch and MASSO DTHC
- OXY Torch
- WaterJet
- Scribe Tool
- Pen 1 & 2
- Camera
- Measure Touch probe length
- Mounting and Mechanical Data
- MASSO G3 Touch Wiring Module
- EStop Wiring
- Axis Servo/Stepper examples
- Differential Receiver Module
- MASSO Closed Loop Stepper Motors
- MASSO Closed Loop stepper Troubleshooting
- Gecko 203V
- Gecko G340
- Gecko G540
- Teknic - ClearPath SD series
- Leadshine MX4660
- Leadshine Drives
- Longs Motors
- CNCdrive - DG4S-16035
- DMM - Dynamic Motor Motion
- VEXTA
- Viper
- Mitsubishi - MR-J3
- PoStep60
- Panasonic
- Automation Technology Inc.
- Hiwin
- Yaskawa
- SSD2608H
- Spindle Control
- Spindle VFD examples
- Bosch Rexroth VFD
- Delta C200 VFD
- Delta MS300 VFD
- Delta VFD-M
- Hitachi VFD
- Lenze VFD
- Mitsubishi FR-D720S-100
- Schneider Altivar 18
- TECO Westinghouse VFD
- Yuhuan Huanyang
- Other VFD's
- Chuck Clamp
- Door Sensor Input
- Setting default units to mm or inches
- Axis Calibration
- Axis Calibration Wizard
- Backlash Compensation
- Slave Axis
- Homing / Home Inputs
- Soft & Hard Limits
- List of Configurable Inputs
- List of Configurable Outputs
- TTL Outputs
- Controlling Relays
- MPG Pendant
- Tower Lights
- Installing or Replacing Backup Battery
- User Account Settings
- MASSO Homing Sensor
- MASSO Optical Encoder
- MASSO Relay Module
- Lubrication
- MASSO G3 Replacing Damaged Optocouplers
- Spindle RPM Encoder
- How Tool Setter Works
- Mill Tool Changers
- Manual Tool Changer
- Linear Tool Changer (Type 1)
- Linear Tool Changer (Type 2)
- Linear Tool Changer configuration
- Umbrella Tool Changer
- RapidChange ATC
- Mill Tool Changers (BETA)
- Linear Pick & Place Tool Changer
- Linear Sliding Tool Changer
- Linear Traveling Tool Changer
- Popup Tool Changer
- High Speed Rotary Tool Changer
- Tool Tray
- Dust Hood
- Lathe Tool Changers
- Manual Tool Change
- Linear - Gang Type Setup
- Multi-Station Turret
- EMCO PC55 Turn
- 4 Bit Digital Signal Output Turret
- Hercus PC200 - Tool Turret
- Pragati BTP-63, BTP-80, BTP-100, BTP-125
- EMCOturn 120
- WABECO Tool Turret
- Automatic Doors
- Adding New Tool Changers
- Installing MASSO Plasma and DTHC
- Plasma-Cut Resume
- Proma Compact THC 150
- Hypertherm 45, 65 & 85
- Torch Touch (floating head) Signal
- Torch Breakaway Signal
- How MASSO G3 Plasma works
Original Equipment Manufacturer(OEM)
OEM Logo & Details 3DTEK Routers CANCAM Routers ONEFINITY REVO CNC Sherline Mills and Lathes- Wiring & Setup
Getting Support
Forums & Email Support Reporting Bugs & IssuesPurchasing
Payment Shipping & Delivery- Trade Sanctions
MASSO Documentation
Spanish
French
German
Simplified Chinese Select Language
G38.2 – Straight Probe Cycle
This command is used for probing parts or fixtures. The axis specified in the G38.2 command will move until the probe touches, if the probe does not touch within the specified distance then the program stops and an alarm is displayed on the screen.
To use this G38.2 requires a Probe input be assigned which changes from Low to High when the probe is triggered.
Syntax & Parameters- X, Y, Z, A, B Value - specifies the axis you wish to move for probing and the maximum machine coordinate to move towards when probing. The distance value will be the current machine units in use.
- F Value - The F value defines the feed rate at which the axis will move at.
In the above program the Z axis will move towards machine coordinate Z -10 and wait for the probe to touch. Once the probe touches, the Z axis will stop and the program will move to the next gcode line. If the probe is not touched before it reaches Z -10 location then the program stops and an alarm is displayed on the screen.
INFORMATION: The coordinate value specified is a machine coordinate.
A common use of G38.2 is in conjunction with G92 to set the initial torch height in Plasma
N10 G38.2 Z-50 N20 G92 Z0 N30 G0 Z1In this example the G38.2 probes Z axis toward the surface of the material and when the touch input is triggered it will stop
G92 Z0 applies a Temporary work offset to the Z axis to set the working coordinate to Z0
G0 Z1 moves the Z axis 1 unit above the material surface.
INFORMATION: Units are defined as either inches or mm depending on your machines setup or G20 or G21 command in use.
Back G32 – Threading Cycle
G38.6 - Digitizing Probing Cycle
Next
Last Updated On 04 November, 2022
© 2025, All Rights Reserved | Privacy Policy.CONTENTS
Từ khóa » G38.2 Cnc
-
G38.2-G38.5: Probe Target - Marlin Firmware
-
[PDF] Touch Probe Commands Guide | Ooznest
-
GRBL Probe Command (G38.2) - YouTube
-
Arduino UNO CNC Z AXIS PROBE With GRBL Comand G38.2 On ...
-
GrblGru: How To Scan Surfaces With G38.2 - YouTube
-
G38.2 Issues - Troubleshooting - V1 Engineering Forum
-
G38.2 - Duet3D Documentation - Dozuki
-
Klippy-cnc/g38.g At Master - GitHub
-
Feature Request: Add Ability To Use G38.2 Command (CNC) #4677
-
GRBL Probe Command (G38.2) - Pinterest
-
Klipper CNC Feature (G38.2 Gcode Help)
-
STRAIGHT PROBE (G38.X) - Tormach
-
Save A G38.2 Log File - OpenBuilds