Hello Guest it is April 24, 2024, 06:11:25 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 - KatzYaakov

241
Mach4 General Discussion / Re: Again with the tool setter
« on: May 02, 2021, 07:48:51 PM »
barn
i just want give you advice,if you put such long script and long question ,do you real think some one will now take hours to
test yours script and debug it?
try divide yours question into section ,try focus exactly yours question ,not so big global like" nothing work"
then i belive you will get many answers
hope i help little

242
Mach4 General Discussion / Re: AxisSetHomeOffset----crazy
« on: May 02, 2021, 07:45:59 AM »
this i found the bug
if motor direction is minus then system crazy ,if all motors only plus(not check box the "reverse") then its not crazy
Mach team pleaseeee check this

243
Mach4 General Discussion / AxisSetHomeOffset----crazy
« on: May 02, 2021, 07:10:45 AM »
i do this script:
 mc.mcAxisSetHomeOffset(0,2,number)
the number is always in minus(its z )
but most of the time its really update as minus
but if i click for example 4 times the 4th will be in plus
i almost get crazy ,seat one day all day cant update machine cordinate from script
try almost all option in the world
please some advise

244
Mach4 General Discussion / Reference all axiss from M function
« on: May 02, 2021, 01:31:30 AM »
when i define " home in place"
then on Mfunction:
 mc.mcAxisSetHomeOffset(0,0,200)
      mc.mcAxisSetHomeOffset(0,1,300)
      mc.mcAxisSetHomeOffset(0,2,150)      
      mc.mcAxisHomeAll(0)
its put the value but only if i push manually the button Reference
how can i make that its will activate also the comand
mc.mcAxisHomeAll(0)
?

245
Mach4 General Discussion / Re: set machine cordinate
« on: May 01, 2021, 05:59:26 PM »
i even try this:
local bb=    mc.mcCntlSetPoundVar(0,5021,250)
local aaa = mc.mcCntlGetPoundVar(0, 5021)
   val = string.format(aaa)
   val2 = string.format(bb)
          mc.mcCntlSetLastError(0,val)
         mc.mcCntlSetLastError(0,val2)
and i can see that its show on the history that its change the value
but actually its didnt change it
and machine coordinate remind as its was before


246
Mach4 General Discussion / set machine cordinate
« on: May 01, 2021, 04:41:46 PM »
i want use absolute encoder ,and each time i turn on the mach ,or run any program,i want set the machine position
according value i read from driver
i tried:
local hsig = mc.mcMotorSetHomePos(0,0,num)
mc.mcAxisSetMachinePos
mc.mcAxisSetPos

all this but nothing work
how can do this?

247
Mach4 Plugins / Re: XHC WB04 plugin
« on: April 20, 2021, 10:01:29 PM »
thanks
for me if can map as signal in mach its the best
is there instruction how map it?
thanks

248
Mach4 Plugins / Re: XHC WB04 plugin
« on: April 19, 2021, 04:25:03 PM »
is there any instruction how use it? how define its butons?

249
hi
i can give you small advise how i made to debug ,when i have such problems(that my script not do what i want)
i enter some of this line
mc.mcCntlSetLastError(0,"line 55")---put the line number
in some lines where i think can be the problem
then you can see exactly until which line its did what you ask

250
HiCON Motion Controller / Re: which device i need Ethercat servo
« on: April 10, 2021, 06:03:47 PM »
hi
i sent you by mail