On 27 June 2018 at 10:12, andy pugh wrote:
> A user reports that halui,program.stop does not have the expected
> result when set from a bash script
> https://forum.linuxcnc.org/10-advanced-configuration/34793-stop-program-from-m-code#112859
This seems to be the error you get if the M101 file is
On Wednesday 27 June 2018 09:54:12 Kenneth Lerman wrote:
> When I've had problems like that, I've simply made a subroutine with
> the switches as arguments. Then I call the subroutine from MID with
> the proper arguments.
This code, as it exists now, only has one subroutine, which is to measure
When I've had problems like that, I've simply made a subroutine with the
switches as arguments. Then I call the subroutine from MID with the proper
arguments.
Alternatively, make a separate subroutine for each setup so you won't have
to enter the arguments with each MDI call.
Ken
On Wed, Jun
On Wednesday 27 June 2018 05:32:27 andy pugh wrote:
> On 27 June 2018 at 04:02, Gene Heskett wrote:
> > As long as I had the i/o pins, available, it makes sense that in
> > mounting the tool or the part, if I could just flip a switch to
> > enable the drilling for the grub screws, or another to
On Mon, Jun 25, 2018 at 10:18:50AM -0400, Curtis Dutton wrote:
> The place where ports are allocated is halcmd_commands.c line 687. That was
> the easiest place I could find to do it. That code should probably be in
> hal_lib.c and just be called by hal command.
Should this line be dropped then?
On 27 June 2018 at 04:02, Gene Heskett wrote:
> As long as I had the i/o pins, available, it makes sense that in mounting
> the tool or the part, if I could just flip a switch to enable the
> drilling for the grub screws, or another to enable the tapping of the
> holes just drilled
I don't
A user reports that halui,program.stop does not have the expected
result when set from a bash script
https://forum.linuxcnc.org/10-advanced-configuration/34793-stop-program-from-m-code#112859
I am not at all fluent in shell scripting, so can't tell if the script
is valid, but the reported result