Hello Guest it is April 20, 2024, 03:00:57 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 - KatzYaakov

141
i sugest you not touch basic function like M3 M4 M5 M30... because you will never know which softwre you will use in future and which other
element you want run or not run while use that basic function
much batter way its add M function and update also on yours pp

142
Mach4 General Discussion / Re: Huanyang VFD settings?
« on: January 28, 2022, 05:00:18 AM »
sorry to say but there no option that any inverter can run without parameter
volt?
amper?
how many poles?
time to acc dccl
then most inverter should make self testing to get the rest of parameter
but just plug & play.... i never heard such miracle

143
Mach4 General Discussion / Re: Improve M6 macro for linear ATC
« on: January 22, 2022, 09:34:17 PM »
the event i wrote its not all,for example:
must check if hood go up ,must check spindle stop ,must check there tool in the magazine in position you ask to take(i also add safety to be sure that there no tool in position you want unlod the tool)
one more point i add that the tool in magazie name is not its position on magazine ,this give me the option to work with much more tools
without freid that someone will mismach
good luck

144
Mach4 General Discussion / Re: Improve M6 macro for linear ATC
« on: January 22, 2022, 09:27:17 PM »
i think we talked about this issiue here at least 5 times
you must control in mach for every situation ,the sample in document its only start of work
you must control many event:
when spindle open ,if its real open
when tool lock if its real lock
then must act if some thing not as you plan
about kill the function you also must put in every action line to check if some reason the function should be cut
for example if you press stop ,because stop only stop movement not stop the function
hope i help you




145
Mach4 General Discussion / Re: Help with C# DLL usage development
« on: January 19, 2022, 01:50:01 PM »
c# its unmange you need extern:
like this:
DllImport(@"C:\Mach4Hobby\Mach4IPC.dll", CallingConvention = CallingConvention.StdCall)]//its delete the file from mach so can load new file       
        public static extern int mcToolGetCurrent(
        [param: MarshalAs(UnmanagedType.I4)] int mInst,
        [param: MarshalAs(UnmanagedType.I4), In(), Out()] ref int ret);
note: yours c# app must run 32 not 64 bit

146
finally what i did its wait according file length there some files 100k need wait several second there files 4 k need 2seconds so what i didi is wait 2 sec+ value according file length,but i think its not correct way
if from any reason mch not finish load but you start run you can get very dangerous move
But you cant add too much delay for safety

147
compewter_numerical
if you see the first time i wrote here you can see that first step was to get the return value
but ill tell again now its return "0" that mean no error ,but this its return before its finish the function

148
Mach4 General Discussion / Re: Glitch on X movements
« on: January 16, 2022, 10:35:21 AM »
first about accl deccl , the first improve its to add external resistor this improve a lot but and its long story between me and craig
its about S curve ,its totally game changer ,and because mach not support it you can try the s curve that exist in the servo pack
but you must keep this value same on all axiss that interpolate  and must make the CV more precise

149
Mach4 General Discussion / Re: Glitch on X movements
« on: January 14, 2022, 07:45:25 AM »
bater add video or photo or sketch  because not so clear what you talk about

150
Mach4 General Discussion / Re: Glitch on X movements
« on: January 14, 2022, 02:45:03 AM »
what the size of this random movment? is that happend all long of movment or only at end and begin of segment?