Hello Guest it is May 02, 2024, 12:11:49 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 - daniba73

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 29 »
221
Mach4 General Discussion / Re: Macros for lathe spindle range change
« on: September 12, 2018, 03:33:13 AM »
Hi,
Can you explain me better please?
I have to do something similar too.
I do an example:
range 1 (from 0 to 500 rpm)
range 2 (from 0 to 1000 rpm)
range 3 (from 0 to 1500 rpm)

how should i do?
thank you!

222
Mach4 General Discussion / Re: Mach4 Button OFFLINE
« on: March 17, 2018, 12:46:15 PM »
Yes, exactly, that's what you say.
This way it works well, and this is enough for me.

Rather..
little off topic ...
I'm noticing so many problems with the Mach4 lathe.
1-The radius compensation works very badly (if you have 2 spokes, one of which is concave and one convex in a row, it generates wrong movements!).
2-blacklash DOES NOT WORK !!!
3-in the double line G76 there are errors on the "Q" parameters !! in addition to positioning, you are tied to a certain distance in X
4: the single line G76 can not use correctly.
5: the G83 every time the tip returns, hits the bottom of the hole of the previous increment.
I hope to be the cause, in the sense that I was wrong to program (but I do not think).
close off topic.
question.
are they still working on Mach4 ??
Mach4 is a beautiful software!
but he needs to work on it again, and for a long time they do not update the versions ...!
I thank everyone again for the help you gave me!

223
Mach4 General Discussion / Re: Mach4 Button OFFLINE
« on: March 06, 2018, 04:01:18 PM »
Hi,
I'm not capable with your method.
But I have some news .. !!
I did it, it's improvable, but it works!
if I can make improvements I warn you!
in any case, I thank you as always for your help!



--Remember Position
RememberPosition()
--One way
local inst = mc.mcGetInstance() -- Get the instance of Mach4
local xset = mc.mcAxisGetMachinePos(inst, 0) -- Get current Machine Coordinates
-- local yset = mc.mcAxisGetMachinePos(inst, 1) -- Get current Machine Coordinates
 local zset = mc.mcAxisGetMachinePos(inst, 2) -- Get current Machine Coordinates
 xval = tostring(xset)
-- yval = tostring(yset)
 zval = tostring(zset)
 mc.mcProfileWriteString(inst, "RememberPos", "XRemem", xval) --Create a register and write the machine coordinates to it
-- mc.mcProfileWriteString(inst, "RememberPos", "YRemem", yval) --Create a register and write the machine coordinates to it
 mc.mcProfileWriteString(inst, "RememberPos", "ZRemem", zval) --Create a register and write the machine coordinates to it




-- Return To Position
ReturnToPosition()
local inst = mc.mcGetInstance() -- Get the instance of Mach4
local xrememval = mc.mcProfileGetString(inst, "RememberPos", "XRemem", "NotFound") -- Get the register Value
--local yrememval = mc.mcProfileGetString(inst, "RememberPos", "YRemem", "NotFound") -- Get the register Value
local zrememval = mc.mcProfileGetString(inst, "RememberPos", "ZRemem", "NotFound") -- Get the register Value
mc.mcCntlMdiExecute(inst, "G00 G53 Z0.0000 \n G00 G53 X" .. xrememval .. "\n G00 G53 Y" .. yrememval .. "\n G00 G53 Z" .. zrememval)

224
Mach4 General Discussion / Re: Mach4 Button OFFLINE
« on: March 01, 2018, 06:04:33 AM »
Hi,
I have tried so many times ..
does not work.

225
Mach4 General Discussion / Re: Mach4 Button OFFLINE
« on: February 15, 2018, 04:30:48 AM »
Hi,
bring patience, I'm not able ...!
I'm a mechanic, I have little experience with programs and computers!
is not it possible to make a video? otherwise we will not come to the conclusion here anymore!
I follow him carefully.
So if everything works, I load it on the Italian forum, to increase the knowledge and interest in Mach4 (which I find an excellent program, only needs support to entice people, Mach4 needs to grow as it deserves!)

226
Mach4 General Discussion / Re: Mach4 Button OFFLINE
« on: February 14, 2018, 04:51:00 AM »
Hi,
I attach the screen image

227
Mach4 General Discussion / Re: Mach4 Button OFFLINE
« on: February 13, 2018, 04:53:25 AM »
Hello
sorry for late.
I tried..
but it does not work ...

228
Mach4 General Discussion / Re: Mach4 Button OFFLINE
« on: February 04, 2018, 05:59:39 PM »
Hi,
Thanks so much!!!!
I ask for patience, for a short time I have no way of doing tests.

229
Mach4 General Discussion / Re: Mach4 Button OFFLINE
« on: February 03, 2018, 02:55:44 PM »
it's exactly like you just said.

230
Mach4 General Discussion / Re: Mach4 Button OFFLINE
« on: February 03, 2018, 02:13:10 PM »
Hi,
for reasons of time, unfortunately for a few days I can not test.
I will update you as soon as possible.
P.S.  I Never disable the units.
through the relay I will use a function, of which the units ignore any signal. (they still remain in position, without moving)
when the function changes state, normal use of the drives is restored.

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 29 »