Hello Guest it is April 23, 2024, 03:34: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.


Topics - KatzYaakov

Pages: « 1 2 3 4 5 6 7 8 9 »
21
Mach4 General Discussion / X64
« on: July 08, 2021, 08:47:23 AM »
is any plan compile mach4 dll on 64 ,we have in our app some 3d libary use 64 ,and we also conect mach dll
that not response if compile on X86
do you have in mach4 plan to compile on 64 ?
thanks

22
Mach4 General Discussion / PMC lua script run in any case
« on: June 25, 2021, 11:44:16 AM »
i try use pmc with script
i put the lua as "coil" and then "contact " before with some condition
what i get is that the script not consider any condition nd run in any case
i also try put "open circiut" befor the the coil but same problem
***why pmc crash so fast?

23
Mach4 General Discussion / analog input by pmc
« on: June 25, 2021, 06:22:27 AM »
i use pokeys
and pokeys have in there instruction how manage analog input to control Fro Or Rro by add
"Do file" on the main plc and add lua file
my question is ,because i start use already pmc ,maybe its batter use also pmc for this uses?
is it save time?

24
Mach4 General Discussion / pmc -parallel line how to do?
« on: June 15, 2021, 06:53:55 AM »
hi
i start test use pmc and its  quit help in some event handler using

but i try do multiply coil in parallels ,but cant find how do it
please if some one can explain

25
Mach4 General Discussion / External button "Enable"
« on: May 24, 2021, 12:49:20 AM »
i add an external button to enable mach4 after pc turn on

[mc.ISIG_INPUT0] = function (state)--external button on
   if( state == 1) then              
                      
      local inst = mc.mcGetInstance()
       mc.mcCntlSetLastError(inst, "but enable ");   
       mc.mcCntlEnable(inst,1)
           local Zbrake = mc.OSIG_OUTPUT9 
       local hsig1 = mc.mcSignalGetHandle(0, Zbrake)  ------servo on
        mc.mcSignalSetState(hsig1, 1)
        mc.mcCntlSetLastError(0, "servo on");
       local zb= mc.OSIG_OUTPUT1
       local zb11 = mc.mcSignalGetHandle(0, zb)  ------z brake
        mc.mcSignalSetState(zb11, 1)   
   end
end ,

i use the attach  even handler (quit simple i think)
but strange behaviour
1. if i try first time by button  mach4 crash
2. if i enable from mach interface first time ,then disable ,then by button work good
     even many times ,disable enable....ets its ok ,but s mention first time must be from mach, why?
thanks
yaakov





26
Mach4 General Discussion / XHG mpg
« on: May 09, 2021, 06:57:32 AM »
i got today the new xhg and i test them with the new plugin its work perfect
thanks
 steve
one question please,i saw in old video that there option that when program run ,the mpg act as speed control ,instead of press the buttons
feed+  feed -
do we have that option?
thanks
yaakov

27
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

28
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)
?

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

30
HiCON Motion Controller / which device i need Ethercat servo
« on: April 09, 2021, 05:54:27 AM »
i want to move to ethercat servo ,first reason is the absolute encoder ,so i need first be sure can read this parameter by the ethercat
then i need to understand which device i need buy
need about 20 inputs
30-40 outputs
analog output (maybe not must ,depend..)
thks

Pages: « 1 2 3 4 5 6 7 8 9 »