G代码 M代码参考

五轴加工视频
2017年9月7日
精度测量视频
2017年9月8日

G代码 M代码参考

 

支持RS274标准

G Codes

G Code Description
G0 Rapid Linear Motion
G1 Linear Feed
G2 CW Arc Feed
G3 CCW Arc Feed
G4 Dwell
G5.1 Quadratic B-Spline
G5.2 G5.3 NURBs Block
G7 Diameter Mode (lathe)
G8 Radius Mode (lathe)
G10 L1 Set Tool Table Entry
G10 L10 Set Tool Table, Calculated, Workpiece
G10 L11 Set Tool Table, Calculated, Fixture
G10 L2 Coordinate System Origin Setting (G10 L2 P1-G54)
G10 L20 Coordinate System Origin Setting Calculated
G17 XY Plane
G18 ZX Plane
G19 YZ Plane
G17.1 UV Plane
G18.1 WU Plane
G19.1 VW Plan
G20 Inch Units
G21 Millimeter Units
G28 Go to Predefined Position
G28.1 Store Current Absolute Position for G28
G30 Go to Predefined Position
G30.1 Store Current Absolute Position for G30
G33 Spindle Synchronized Motion
G33.1 Rigid Tapping
G38.2 – G38.5 Probing
G38.2 Probe toward workpiece, stop on contact, signal error if failure
G38.3 Probe toward workpiece, stop on contact
G38.4 Probe away from workpiece, stop on loss of contact, signal error if failure
G38.5 Probe away from workpiece, stop on loss of contact
G40 Cutter Compensation Cancel
G41 Cutter Compensation Left of Path
G42 Cutter Compensation Right of Path
G41.1 Dynamic Cutter Compensation Left of Path
G42.1 Dynamic Cutter Compensation Right of Path
G43 Tool Length Offset
G43.1 Dynamic Tool Length Offset
G49 Cancel Tool Length Offset
G53 Motion in Machine Coordinate System
G54 Select Coordinate System 1
G55 Select Coordinate System 2
G56 Select Coordinate System 3
G57 Select Coordinate System 4
G58 Select Coordinate System 5
G59 Select Coordinate System 6
G59.1 Select Coordinate System 7
G59.2 Select Coordinate System 8
G59.3 Select Coordinate System 9
G61 Exact Path Mode (Path Control Mode)
G61.1 Exact Path Mode (Path Control Mode)
G64 Path Control Mode with Optional Tolerance
G73 Drilling Cycle with Chip Breaking
G76 Multi-pass Threading Cycle (Lathe)
G80 Cancel Canned Cycle
G81 Drilling Cycle
G82 Drilling Cycle with Dwell
G83 Peck Drilling Cycle
G85 Boring Cycle, Feed Out
G86 Boring Cycle, Spindle Stop, Rapid Out
G89 Boring Cycle, Dwell, Feed Out
G90 Absolute Distance Mode
G91 Incremental Distance Mode
G90.1 Absolute Distance Mode for Arc (I, J & K offsets)
G91.1 Incremental Distance Mode for Arc (I, J & K offsets)
G92 Coordinate System Offset
G92.1 Cancel Coordinate System Offsets
G92.2 Cancel Coordinate System Offsets
G92.3 Restore Axis Offsets
G93 Inverse Time Mode
G94 Units per Minute Mode
G95 Units per Revolution Mode
G96 Constant Surface Speed
G97 RPM Mode
G98 Retract to Start Position (Canned Cycle Z Retract Mode)
G99 Retract to R Position (Canned Cycle Z Retract Mode)

M Codes

M Code Description
M0 M1 Program Pause
M2 M30 Program End
M60 Pallet Change Pause
M3 M4 M5 Spindle Control
M6 Tool Change
M7 M8 M9 Coolant Control
M48 M49 Feed / Spindle Overrides Enable/Disable
M50 Feed Override Control
M51 Spindle Override Control
M52 Adaptive Feed Control
M53 Feed Stop Control
M61 Set Current Tool Number
M62-M65 Output Control
M66 Input Control
M67 Analog Output Control
M68 Analog Output Control
M100-M199 User Defined M codes

 

  • 操作快捷键

键盘快捷键

—————————–

F1 急停/急停复位
F2 开机/关机
F3 手动模式
F4 自动模式
F5 MDI模式
F6 重置解释器
F7 气冷开/气冷关
F8 冷却液开/冷却液关
F9 切换主轴前进/关
F10 切换主轴反向/关
F11 降低主轴转速
F12 提高主轴转速
X 选择x轴
Y 选择Y轴
Z 选择z轴
←,→ 移动x轴
↑,↓ 移动y轴
PageUp,PageDown 移动Z轴
Home 回零所选轴
<, > 递减或递增轴速度
o/O 打开程序
r/R 运行程序
p/P 暂停程序
s/S 恢复暂停程序

 

  • 常见问题

为什么点击运动轴时,轴没动?

先确定没触发急停,托拉速度条,在手动模式下点击运动轴。

 

为什么开机设备出现报警声?

检查触碰硬限位轴,断电,将触碰限位轴手动推离限位。

 

为什么模态G、M代码在自动模式不正确?

在程序执行前读取,模式激活,进入MDI模式时会显示。

 

提供远程技术支持吗?

提供。

发表评论

电子邮件地址不会被公开。 必填项已用*标注