Hello Guest it is April 24, 2024, 05:45:56 AM

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 - Kenneth

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 »
11
Mach4 General Discussion / Re: Buttons and the script/gcode
« on: February 13, 2019, 07:41:50 AM »
joeaverage, that is JUST what i was looking for. i really appreciate your help in this.
that's a lot of work for someone you don't know. THANKS. but i will keep an eye on those
coordinates just to be safe. now that i know i have a button for it.
    Again, thanks for your help. it gives me a script that i can edit (for other reasons)
to learn more. i can't learn by reading, mostly by doing :)

12
Mach4 General Discussion / Re: Buttons and the script/gcode
« on: February 12, 2019, 06:28:11 PM »
THANKS joeaverage, i really don't use machine coordinates as i never reach my limits
or make anything bigger than say ten inches in the X and three inches in the Y. my limits are
X fifty four and Y a little over ten(a knee mill). i just use the readout from the DRO and
do nicely. i really have NO idea where my coordinates really are.(have to make a coor DRO i guess)
   i made a button to make the mill move to X0 Y0 Z.2, but then i'm .4" from my zero  :)
i think i just have to leave my mill all at zero and live with it.
Thanks again !

p.s. i DO have a coordinate DRO in mach3, but never look at it.
i make boxes for PC boards out of aluminum(small boards:)

13
Mach4 General Discussion / Re: Buttons and the script/gcode
« on: February 12, 2019, 05:17:08 PM »
it worked great in mach3. always x0 y0 z.2 where i left it.
why mach4 different? script i guess. but thanks.... i'll have to live with it.

14
Mach4 General Discussion / Re: Buttons and the script/gcode
« on: February 12, 2019, 04:31:04 PM »
i'm sorry, i should have explained better. when i finish a job. i have the axis
going tom Z.2 then X0 Y0. when i finish for the day, i leave it there. i do turn
off the controller and understand it's not a good idea to assume that
the machine is still in that exact position when turned back on. but my job doesn't require the precise
measurement as i make boxes from stock and the the zero of the stock is a little
off from my vice(corner X0 Y0 Z.2) where i start my cut.
      thanks for ALL ya'll help !

15
Mach4 General Discussion / Re: Buttons and the script/gcode
« on: February 12, 2019, 01:39:23 PM »
one more thing please ?
can i get mach4 to reopen to the last start it was in ?
like x0 y0 z.2.   right now it starts all axis at zero.
THANKS

16
Mach4 General Discussion / Re: Buttons and the script/gcode
« on: February 12, 2019, 01:14:37 PM »
THANKS again MN300
On my way.

17
Mach4 General Discussion / Re: Buttons and the script/gcode
« on: February 12, 2019, 11:55:03 AM »
in this script below. i know the first is a comment.
does it need the second line at all to work ?
is the second line a declaration that is not used ?


--Spindle Offset
local inst = mc.mcGetInstance()
mc.mcCntlMdiExecute(inst, "G90 G00 Z0.1 \n G91 G00 X1.5 Y.8")


Thank you MN300.
that gets me started.
Kenneth

18
Mach4 General Discussion / Re: Buttons and the script/gcode
« on: February 12, 2019, 09:32:00 AM »
i read thru most of the documents and looking for something to tell me how to write
script from scratch as i have NO idea what your snippet means except the xyz movements.
for instance, i know that the -- means a comment. the rest of that is martian to me.
i need a list of commands like what does "mc.mcGetInstance() mean or do :)
again thanks for any help i can get !!!!





--Spindle Offset
local inst = mc.mcGetInstance()
mc.mcCntlMdiExecute(inst, "G90 G00 Z0.1 \n G91 G00 X1.5 Y.8")

19
Mach4 General Discussion / Re: Buttons and the script/gcode
« on: February 12, 2019, 08:51:32 AM »
ok Thanks MN300.
need to start digging.

20
Mach4 General Discussion / Re: Buttons and the script/gcode
« on: February 12, 2019, 08:27:45 AM »
i downloaded LUA and can't even install it. looks like a Linux program.
Linux and i don't get alone :)
Thanks anyway MN300


p.s. the sample script you gave, i was able to work as i wanted. THANKS

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 »