Hello Guest it is April 19, 2024, 01:45:33 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Ya-Nvr-No

361
Mach4 General Discussion / Re: Variables reading and writing
« on: May 18, 2014, 07:40:20 AM »
Nice job Nick, I'll try it out

Thought id post a text file on pound(#) variables  for another reference document

hell I thought that character was renamed "hash tag"  ;)


Terry: I did not have luck getting the information found in the Probe doc to write to a file, thou it did create the file just nothing was passed to it. Have to revisit and throw more rocks, as the more I understand whats up.

362
Mach4 General Discussion / Re: Creating a Probe File
« on: May 18, 2014, 07:30:09 AM »
This code just takes the Dro values and writes them to a file, because a screen button, panel button, keyboard or modbus input can trigger an action.
Using the signal script routine, if the probe input was tripped it would write the values to the file. Crude and dirty but was an attempt of showing how you can pass DRO data to a file.

363
Mach4 General Discussion / Re: Variables reading and writing
« on: May 17, 2014, 10:29:39 PM »
With a lot of struggling, a little direction & help, I now have a Wizard that shows the axis DRO's in real time (set to 100ms scan) and that can be pinned to the screen's top. This uses iRegs0 to Write and Read the small floating popup. From this template, I can now create several other useful screen popups and also add to this as my Screen MPG

Took a whole lot of rocks, Terry  :P

364
Mach4 General Discussion / Re: Variables reading and writing
« on: May 17, 2014, 08:37:36 PM »
Looks like you've done good Terry, do they spit out the correct code?
I too like the bolt hole pattern wizard to use as a template.

365
Mach4 General Discussion / Re: Variables reading and writing
« on: May 17, 2014, 05:21:20 PM »
so far there are some things that do have some merit, but this learning curve is trial and error most of the time.

366
Mach4 General Discussion / Re: Variables reading and writing
« on: May 17, 2014, 02:55:21 PM »
ran your little example with variables

367
Mach4 General Discussion / Re: Variables reading and writing
« on: May 17, 2014, 02:03:11 PM »
That's above my pay grade (Sockets that what I use to break bolts off)

368
Mach4 General Discussion / Re: Variables reading and writing
« on: May 17, 2014, 01:18:53 PM »
current machine goto points

variables 5001 current goto point in x
variables 5002 current goto point in y
variables 5003 current goto point in z
variables 5004 current goto point in a
or
variables 5021 current goto point in x
variables 5022 current goto point in y
variables 5023 current goto point in z
variables 5024 current goto point in a

369
Mach4 General Discussion / Re: Variables reading and writing
« on: May 17, 2014, 12:50:03 PM »
maybe you can associate them with the line number when read and then display as used

guess it depends on if the look ahead read line has a line number and was given a variable that can be used.

Would be interesting to view the variables while running gcode variables,  guess I could try that  ::)

TP you sure do come up with all kinds of things others should do  >:D Trouble Maker

370
Mach4 General Discussion / Re: Variables reading and writing
« on: May 17, 2014, 12:35:09 PM »
Menu Diagnostic then Reg File list of all the #variables is at the bottom

TP I do believe I was referring to that same ability you mentioned (Mach4 provides) unless it is a separate program you received.