最近在使用GRBL,参考资料大部分都是英文,试着稍微翻译了一些,有些地方翻的也不太好,如果不想看英文网页的话可以看一看
source websit:https://github.com/gnea/grbl-Mega/
Grbl-mega说明书
An open source, embedded, high performance g-code-parser and CNC milling controller written in optimized C that will run on an Arduino Mega2560
https://github.com/gnea/grbl/wiki
这是一个开源的,高性能的G代码解释器和CNC雕刻机控制器,他可以直接运行在你的adruino 2560上面
详细内容请移步wiki查看
Grbl is a no-compromise, high performance, low cost alternative to parallel-port-based motion control for CNC milling. This version of Grbl runs on an Arduino Mega2560 only.
Grbl是一个低成本,无限制,高性能的基于并行串口运动控制器和CNC雕刻机方案,可以在adruino上运行
The controller is written in highly optimized C utilizing every clever feature of the AVR-chips to achieve precise timing and asynchronous operation. It is able to maintain up to 30kHz of stable, jitter free control pulses.
控制器采用高度优化的C编写,利用AVR芯片的每一个灵巧特性来实现精确定时和异步操作。它能够保持30kHz的稳定、无抖动的控制脉冲。
It accepts standards-compliant g-code and has been tested with the output of several CAM tools with no problems. Arcs, circles and helical motion are fully supported, as well as, all other primary g-code commands. Macro functions, variables, and most canned cycles are not supported, but we think GUIs can do a much better job at translating them into straight g-code anyhow.
它接受标准的G代码和已经没有问题的几种CAM工具的输出测试。弧圈和螺旋运动的全力支持,以及所有其他主要的G代码命令。宏函数,变量,和大多数罐头周期是不支持,但我们认为GUI可以做得更好,无论什么情况下都能直接转换G代码
Grbl includes full acceleration management with look ahead. That means the controller will look up to 24 motions into the future and plan its velocities ahead to deliver smooth acceleration and jerk-free cornering
Grbl将会添加全加速管理望。这意味着控制器未来可以有预先规划其速度,提供平滑的加速和挺举自由转弯等24个动作
Licensing: Grbl is free software, released under the GPLv3 license.
许可:Grbl是自由软件,经GPLv3许可下发布。
For more information and help, check out our Wiki pages! If you find that the information is out-dated, please to help us keep it updated by editing it or notifying our community! Thanks!
欲了解更多信息和帮助,请查看我们的wiki页面!如果您发现信息过时,请通过编辑或通知我们的社区来帮助我们更新信息!谢谢!
Lead Developer: Sungeun "Sonny" Jeon, Ph.D. (USA) aka @chamnit
开发者:盛恩“桑尼”先生,Ph.D.(美国)
Built on the wonderful Grbl v0.6 (2011) firmware written by Simen Svale Skogsrud (Norway).
基于GRBL v06升级,固件许可Simen Svale Skogsrud (挪威).
Official Supporters of the Grbl CNC Project
GRBL官方支持的CNC项目、
Update Summary for v1.1
1.1版本的更新汇总
IMPORTANT: Your EEPROM will be wiped and restored with new settings. This is due to the addition of two new spindle speed '$' settings.
重点:你的EEPROM将被擦除,并写入新的设置。因为这次增加了两个新的主轴速度由“$”命令设置。
Real-time Overrides : Alters the machine running state immediately with feed, rapid, spindle speed, spindle stop, and coolant toggle controls. This awesome new feature is common only on industrial machines, often used to optimize speeds and feeds while a job is running. Most hobby CNC's try to mimic this behavior, but usually have large amounts of lag. Grbl executes overrides in realtime and within tens of milliseconds.
实时重写:通过进给、快速、主轴转速、主轴停止和冷却开关控制改变机器的运行状态。这种复杂的功能在工业机器上很常见,通常用于优化工作运行时的速度和进给。大多数业余爱好者尝试模仿这种行为,但通常有大量的滞后。这种重写方法执行在实时在几十毫秒内。
Jogging Mode : The new jogging commands are independent of the g-code parser, so that the parser state doesn't get altered and cause a potential crash if not restored properly. Documentation is included on how this works and how it can be used to control your machine via a joystick or rotary dial with a low-latency, satisfying response.
慢动模式:新的慢动命令是独立的G代码分析器,所以该解析器不会造成或导致潜在的崩溃,你可以用来验证机器的工作状况,该模式下可以通过控制杆或旋转盘来控制你的机器,具有低延迟、满意的响应。
Laser Mode : The new "laser" mode will cause Grbl to move continuously through consecutive G1, G2, and G3 commands with spindle speed changes. When "laser" mode is disabled, Grbl will instead come to a stop to ensure a spindle comes up to speed properly. Spindle speed overrides also work with laser mode so you can tweak the laser power, if you need to during the job. Switch between "laser" mode and "normal" mode via a $ setting.
激光模式:新的“激光”模式将可以使不断通过连续的G1,G2和G3的命令使主轴转速的变化来让GRbl移动。
Dynamic Laser Power Scaling with Speed : If your machine has low accelerations, Grbl will automagically scale the laser power based on how fast Grbl is traveling, so you won't have burnt corners when your CNC has to make a turn! Enabled by the M4 spindle CCW command when laser mode is enabled!
动态激光功率与速度:如果你的机器只有很低的加速度使用M4命令,Grbl将自动调整的你的激光刻度功率,Grbl是灵活的,你的拐角除不会出现烧焦的现象。
Sleep Mode : Grbl may now be put to "sleep" via a $SLP command. This will disable everything, including the stepper drivers. Nice to have when you are leaving your machine unattended and want to power down everything automatically. Only a reset exits the sleep state.
睡眠模式:Grbl可能会使用$SLP命令来进入睡眠模式。这将禁用所有东西,包括步进驱动程序。当你离开你的机器无人看管,并希望一切自动断电这是一个很好的选择。只有重置Grbl才能退出休眠状态。
Significant Interface Improvements: Tweaked to increase overall performance, include lots more real-time data, and to simplify maintaining and writing GUIs. Based on direct feedback from multiple GUI developers and bench performance testing. NOTE: GUIs need to specifically update their code to be compatible with v1.1 and later.
界面改进:提高整体性能,包括大量的实时数据,并简化维护和编写图形用户界面。这些基于多GUI开发人员的直接反馈和台架性能测试。注:图形用户界面需要等专门更新代码兼容V1.1后才可以使用。
•
New Status Reports: To account for the additional override data, status reports have been tweaked to cram more data into it, while still being smaller than before. Documentation is included, outlining how it has been changed
•
新的状态报告:为了解释了额外覆盖的数据,状态报告格式被调整,以新添加的数据,但仍比以前小。这些文档包括了它的改变过程。.
•
Improved Error/Alarm Feedback : All Grbl error and alarm messages have been changed to providing a code. Each code is associated with a specific problem, so users will know exactly what is wrong without having to guess. Documentation and an easy to parse CSV is included in the repo.
•
改进的错误/报警反馈方法:所有错误和警告消息被更改为一个代码。每一个代码都与一个特定的问题相关联,因此用户不必猜测就可以准确地知道是什么错误。文件和一个方便解析的CSV的内容包含在报告中。
•
Extended-ASCII realtime commands : All overrides and future real-time commands are defined in the extended-ASCII character space. Unfortunately not easily type-able on a keyboard, but helps prevent accidental commands from a g-code file having these characters and gives lots of space for future expansion.
•
扩展型ASCII实时命令:所有已重写和以后的实时命令都会在扩展型ASCII字符空间中定义。遗憾的是这些不能在键盘上输入,但有助于防止一些命令具有G代码的特点而且在将来的这其中的拓展空间会有很多。
•
Message Prefixes : Every message type from Grbl has a unique prefix to help GUIs immediately determine what the message is and parse it accordingly without having to know context. The prior interface had several instances of GUIs having to figure out the meaning of a message, which made everything more complicated than it needed to be.
•
消息前缀:每个消息类型的方法有一个独特的前缀来帮助界面清楚消息和解析它因此不必知道其语境。现有的界面没有出现具有消息的意义GUI实例,所以导致看上去很复杂。
New OEM specific features, such as safety door parking, single configuration file build option, EEPROM restrictions and restoring controls, and storing product data information.
新的OEM特定功能,如安全的停车,单一配置文件生成选项,EEPROM限制和恢复控制,并存储产品数据信息。
New safety door parking motion as a compile-option. Grbl will retract, disable the spindle/coolant, and park near Z max. When resumed, it will perform these task in reverse order and continue the program. Highly configurable, even to add more than one parking motion. See config.h for details.
新的安全停车运动作为一种编译选项。Grbl会过退回,警用主轴冷却剂,并Z轴最大处停机,当再次恢复时,它会以相反的顺序执行这些任务,再继续程序。高度可配置,还可以添加多个停车位。有关详细信息请参见config.h。
New '$' Grbl settings for max and min spindle rpm. Allows for tweaking the PWM output to more closely match true spindle rpm. When max rpm is set to zero or less than min rpm, the PWM pin D11 will act like a simple enable on/off output.
有一个新的$命令设置,可以设置为最大和最小主轴转速。允许调整PWM输出更接近真正的主轴转速。当最大转速设置为零或小于最小转速,PWM引脚D11会有一个简单的启用/关闭输出。
Updated G28 and G30 behavior from NIST to LinuxCNC g-code description. In short, if a intermediate motion is specified, only the axes specified will move to the stored coordinates, not all axes as before.
参考标准linuxcnc G代码描述更新G28和G30的动作。简而言之,如果指定了中间动作,只有指定的轴将移动到存储的坐标,而不是所有的坐标轴。
Lots of minor bug fixes and refactoring to make the code more efficient and flexible.
大量的小错误修复和重构,使代码更加高效和灵活。
List of Supported G-Codes in Grbl v1.1:
GRbl V1.1支持的G代码列表:
- Non-Modal Commands: G4, G10L2, G10L20, G28, G30, G28.1, G30.1, G53, G92, G92.1
- Motion Modes: G0, G1, G2, G3, G38.2, G38.3, G38.4, G38.5, G80
- Feed Rate Modes: G93, G94
- Unit Modes: G20, G21
- Distance Modes: G90, G91
- Arc IJK Distance Modes: G91.1
- Plane Select Modes: G17, G18, G19
- Tool Length Offset Modes: G43.1, G49
- Cutter Compensation Modes: G40
- Coordinate System Modes: G54, G55, G56, G57, G58, G59
- Control Modes: G61
- Program Flow: M0, M1, M2, M30*
- Coolant Control: M7*, M8, M9
- Spindle Control: M3, M4, M5
- Valid Non-Command Words: F, I, J, K, L, N, P, R, S, T, X, Y, Z
非模态指令:G4,g10l2,g10l20、G28、G30、g28.1,g30.1、G53、G92、g92.1
运动模式:G0,G1,G2,G3,g38.2,g38.3,g38.4,g38.5,G80
进给率模式:G93,G94
单元模式:G20,G21
位置模式:G90,G91
弧位置模式:g91.1
水平面选择模式:G17、G18、G19
刀具长度偏置模式:g43.1,G49
刀具补偿方式:G40
坐标系统模式:G54、G55、G56、G57、G58、g59
控制模式:G61
程序流程:M0,M1,M2,M30 *
冷却液控制:M7、M8、M9
-主轴控制:M3,M4,M5
-非命令字以外的有效符号:f,i,j,k,l,n,p,r,s,t,x,y,z。
Grbl is an open-source project and fueled by the free-time of our intrepid administrators and altruistic users. If you'd like to donate, all proceeds will be used to help fund supporting hardware and testing equipment. Thank you!
GRBL是一个开源项目,通过我们的无畏和无私的管理员和用户的空闲时间来完成的。如果您想捐赠,所有收入将用于资助硬件和测试设备的支持。谢谢您!