$16
–
硬
限位,布尔
Hard limit switches are a safety feature to help prevent your machine
from traveling way too far off the ends of travel and crashing or breaking
something expensive. Basically you wire up some switches (mechanical
or optical) near the end of travel of each axes, or where ever you feel like
there might be trouble if your program moves too far to where it
shouldn
’
t. When the switch triggers, it will immediately stop all motion,
shutdown the coolant and spindle (if connected), and go into alarm
mode, which forces you to check your machine and reset everything.
硬限位开关是一项安全特性,用来防止您的机器超出行程发生碰撞造成严重损
失。
总的说来,
你应该在靠近每个轴的行程末端连接一些开关
(机械或光学的)
,
或许你会觉得太麻烦,
因为你觉得你的程序应该移动不到那么远的地方。
当开关
触发,它将立即停止所有动作,关闭冷却液和主轴(假如主轴已连接),并进入
报警模式,这迫使你不得不检查你的机器还得重置一切。
To use hard limits with Grbl, the limit pins are held high with an internal
pull-up resistor, so all you have to do is wire in a normally-open switch
with the pin and ground and enable hard limits with
$16=1
. That
’
s it.
(Disable with
$16=0
) If you want a limit for both ends of travel of one
axes, just wire in two switches in parallel with the pin and ground, so if
either one of them trips, it triggers the hard limit.