Hello Guest it is March 29, 2024, 07:00:51 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

431
Mach4 General Discussion / Re: Safe and reload a Value
« on: January 19, 2020, 12:54:46 AM »
registry

432
Mach4 General Discussion / Re: Slave Motor Will Not Home
« on: January 19, 2020, 12:18:54 AM »
first look in homing signal can be one of y home already activate
second i tell you at begin i also did the gantry motors as master/slave
but there some times message like salve not alignment also some issue with homing
so what i do now as all chines cnc do,connect both servo on same axiss just convert direction on one of them
and all slave problems go away

433
Mach4 General Discussion / Re: B C axis independent from XYZ axis
« on: January 17, 2020, 12:59:33 AM »
i can think about solution like connect that servo motor to both system,because its step/dir i think no problem, but this will need for you some challenge
like how tell the system that didn't move now the motor where is the new position after other system move it
and electrics connection to avoid signal from one system float into other system
i think both can have not complicated solution
 

434
Mach4 General Discussion / Re: B C axis independent from XYZ axis
« on: January 16, 2020, 10:38:52 AM »
And the syncronise i dont know if its 100%,i mean if you want the 2 mach system axiss csn fo interpolation ,i think no

435
Mach4 General Discussion / Re: B C axis independent from XYZ axis
« on: January 16, 2020, 10:36:44 AM »
90%
The main screen (user interface) its not mach its c# app interface

436
Mach4 General Discussion / Re: B C axis independent from XYZ axis
« on: January 15, 2020, 06:30:54 AM »
hi sory just today i back from china (install the mach +pokeys on our machine)
you can think about 2 seprate mach4 system
then on one pc (lets call it master) you create application (i use c# but you can any language that suport mach api)
that application you create the interface as you want,i for example create list of programs that will run one by one automatic ,this application run the mach in the master with simple mach api
and the mach on slave  ,i use 2 step ,first copy the files that i want to the slave,second run application on slave that run the neded program
i use to communicate 2 pc with ssh communication program(my daughter care for that  if you will need she can help you)
and one of main point i try to do that user no need switch between 2 pcs only see one interface
hope thsat gave you first view how its build

437
Mach4 General Discussion / Re: how use mcToolGetData with api
« on: January 13, 2020, 10:42:13 PM »
Thks alot
Do you mean i need put 11000 in the type ?
Ill contact tod tomarow thsnks alot

438
Mach4 General Discussion / Re: B C axis independent from XYZ axis
« on: January 13, 2020, 07:14:46 PM »
only 2 computers
i also use like that ,we have cnc with labeing as station before the cnc
the labeling have 2 axiss while cnc have 5
they work in depended but we have external application that control both and give the command for each pc what to do

439
Mach4 General Discussion / how use mcToolGetData with api
« on: January 13, 2020, 07:08:27 PM »
i use the mctoolgetdata from the lua
but when i try from api cant get any respone
i need the tool hight from the tool table

i use:
 [DllImport(@"C:\Mach4Hobby\Mach4IPC.dll", CallingConvention = CallingConvention.StdCall)]
        [return: MarshalAs(UnmanagedType.I4)]
        public static extern int mcToolGetData(
        [param: MarshalAs(UnmanagedType.I4)]  int mInst,
        [param: MarshalAs(UnmanagedType.LPStr)] string path,
         [param: MarshalAs(UnmanagedType.I4)]  int tollNum,
        [param: MarshalAs(UnmanagedType.R8), In(), Out()] ref double ret);

and the function:
double hreg = 0;
            int debug = mcToolGetData(0, "mc.MTOOL_MILL_HEIGHT", toolNum , ref  hreg);


i also try the type as int and i try all numbers from 0-20 same no any logical return
thanks

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