Hello Guest it is April 26, 2024, 05:54:31 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.


Topics - KatzYaakov

Pages: « 1 2 3 4 5 6 7 8 9 »
51
Mach4 General Discussion / not stop spindle when press stop
« on: January 11, 2020, 05:01:46 AM »
i have now new machine configuration that the spindle dust cover (hood) move by servo motor
all work ok but have one point need
we have external button that when we press its should go up or down the hood
because its axis i saw that the only option is to write the script that ,stop the gcode  ,then move that hood axis's ,then continue the gcode
all this its ok for me  ,but problem its that i didn't see any option that avoid turn off spindle when i stop the gcode
i do have for hold but not for stop
any advice?

52
Mach4 General Discussion / Gcode run from mach but cat run from Api c#
« on: January 02, 2020, 06:38:55 PM »
i use my interface to run mach4 from c# application by using the API
its work quit well ,until now i find one different ,from mach i can run files with Hebrew names ,but from Api must all files name only English
today i had very strange point ,one file that run without any problem from mach  ,when i try run it from Apii  ,run only the  movement
and skip over all M function
is some one had same problem?
thanks
yaakov

53
Mach4 General Discussion / real position
« on: January 01, 2020, 02:00:09 AM »
 even mach is step/dir that mean no real feedback position need from servopack
but all industrial machines  ,always show the real position ,and also check the following status
for example if driver in alarm and some one move by hand...etc..
is some one try implement that in mach?
 

54
Mach4 General Discussion / cant write to registry by Api C#
« on: December 27, 2019, 08:21:35 AM »
i use the Api to control the mach by c# and its work ok
now want to improve and also write into the registry by the api
but i got error in c# while try to get the registry handle
the c# code:
[DllImport(@"C:\Mach4Hobby\Mach4IPC.dll", EntryPoint = "mcRegGetHandle")]
        public static extern int mcRegGetHandle(int mlnst, string regname);
        private void manualloading(object sender, RoutedEventArgs e)
        {   
             int debug= mcRegGetHandle(0, "iRegs0/auto");

        }
attach is the error from vs


System.AccessViolationException
  HResult=0x80004003
  Message=An attempt was made to read or write to protected memory. This condition usually indicates that another memory is defective.
  Source=<Cannot evaluate the exception source>
  StackTrace:
<Cannot evaluate the exception stack trace>




55
Mach4 General Discussion / port error
« on: December 16, 2019, 01:57:44 AM »
is some one can tell me why is this error?
and how solve it  without turn off pc?
thans

56
Mach4 General Discussion / S curve
« on: November 04, 2019, 01:17:00 AM »
we use the mach system in chines cnc
its work very good  ,and we improve ... so now i can say we almost can reach the Europa big brand(in wood cnc field)
but in one parameter i sill far back  ,it the acceleration deceleration while G1(working in the material)
if i try change to be close to that machines  ,i start get very bad working at the start ,end of working
so we add M function that change accl dccl in gcode ,so when move on G0 for example for drilling  ,we increase
...
but in G1 we need go very very low accll (les then 10000 mm/sec2)
as i try learn about that problem  ,i see that solution may be with the s curve
is some one meet that problem before? have an ide how mange it with mach4?
thanks
* i thought about simple solution that i can divice the movment in my pp and change acc dccl in the g code  ,but in this case  i can make it in some steps not smooth like s curve






9

57
Mach4 General Discussion / how mach manage the acceleration / deceleration
« on: November 04, 2019, 12:54:58 AM »
hi
i have question about the mach acl/dcll manage
when i have one line  ,its simple
but when i have several lines or arc ,how the mach manage the acc dccl?
is sit calculate per segment? or as one long line ?(so only acc dcll at 2 side start,end)
or its deepened on segments length?
i mean without any link to CV wizard ,
thanks


58
Mach4 General Discussion / cant modify M function
« on: October 03, 2019, 02:40:18 PM »
i have this issue sometimes ,not  very often ,but when it happened i got crazzzy
when i take one machine ,delete all macros folder ,put new one
then even delete the mcLua file
but when i try modify one of the Mfunction from the mach ,i cant ,its saved ,compiled ,but nothing change
i must delete the function mcc  ,(but also this not always help)
i sure its not my private problem ,any help please

59
Mach4 General Discussion / check gcode file before run
« on: September 19, 2019, 08:51:45 PM »
i have reqwest from several clients that ask me to add script that will run over the gcode file before start ,and if there some dangerous steps(like z in minus more then....) will stop or give alarm...
is that can be done inside mach with lua ? or i must close the file load it on external app(like c#) check and then open again the file in mach if all ok
thanks

60
Mach4 General Discussion / Android as remote control
« on: September 01, 2019, 07:24:44 PM »
i plan add remote from phone
there some option
from simple way to use one of the desk remote app up to write blue tooth listener application
is some one have try ,any idea?

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