- Posts: 198
- Thank you received: 19
14.1. Existing codes which can be remapped
The current set of existing codes open to redefinition is:
Tx (Prepare)
M6 (Change tool)
M61 (Set tool number)
M0 (pause a running program temporarily)
M1 (pause a running program temporarily if the optional stop switch is on)
M60 (exchange pallet shuttles and then pause a running program temporarily)
S (set spindle speed)
F (set feed)
Please Log in or Create an account to join the conversation.
Is there a method to extend existing G-codes not in this list? Or am I forced to either do the correction manually after every G38 or define an e.g. G37.x that mimics G38?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Well all of this is easy to a certain extent: there are cheap humidity sensors or 2 wires in front of the nozle a Darlington transistor and a resistor will do the job easily to report back that you actually have mist, air pressure switches are easy to find and modify like from a compressor (there is one already there if it has a spare contact or just piggy back a small micro-switch), the reservoir again same as mist but in the actual tank. Do a google search for simple humidity sensor or rain detection sensor, mostly used in cars for turning on wind-shield wipers.DaBit wrote: But the issue is that there is no generic mechanism to tell LinuxCNC that attached devices are actually working. Example: 'Enable mist coolant', OK, great, but is the misting system OK? Do I actually have air pressure and is the coolant reservoir not empty?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
DaBit wrote: To make full use of the advantages this provides, I created an NGC program that probes a ring of known diameter and produces a file with the offsets to the spindle center for X probing directions (where X is not limited to 4), and a HAL-component that uses this file to generate the correction data for a probe trigger.
Please Log in or Create an account to join the conversation.