Hello Guest it is June 06, 2024, 03:56:23 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 - dude1

301
Mach4 General Discussion / Re: Mach4 spindle setup
« on: March 15, 2016, 01:55:56 AM »
correct Tweakie there was a post last year someone worked out what the scale is and he got it bang on with some fancy numbers, Darwin had or has the same thing with spindle speed control I had to have some big numbers to get the correct speeds

302
Mach4 General Discussion / Re: Map Lua Code to ShuttlePro button
« on: March 15, 2016, 01:52:09 AM »
mc.ISIG_INPUT6 = function (state)
local inst = mc.mcGetInstance();
local rpm = 1;    -- Set this to the actual RPM you want as your starting point
mc.mcSpindleSetCommandRPM( inst, rpm );
mc.mcSpindleSetDirection( inst, 1 );    -- 1 == forward, 0 == off, -1 == reverse
end
this compiles

this does not
[mc.ISIG_INPUT6] = function (state)
local inst = mc.mcGetInstance();
local rpm = 1;    -- Set this to the actual RPM you want as your starting point
mc.mcSpindleSetCommandRPM( inst, rpm );
mc.mcSpindleSetDirection( inst, 1 );    -- 1 == forward, 0 == off, -1 == reverse
end
}

when you get to something that does not work test it by it's self if you go find what DAZ posted about how signals are done now that will help, the manual is wrong needs updated they should get Daz to do it


303
General Mach Discussion / Re: Microsoft Windows 10
« on: March 10, 2016, 12:35:34 AM »
no idea post the question on the XBox controller post

304
General Mach Discussion / Re: Microsoft Windows 10
« on: March 09, 2016, 07:57:43 PM »
the drivers for the parallel port have not been upgraded to run with win10, the drivers are there but wont work with Mach it has been looked into but it's in the very hard basket.

you will need to reinstall mach as admin and get a external controller, or go back to 7 or xp

305
Mach4 General Discussion / Re: PLUGIN signals access via LUA?
« on: March 09, 2016, 07:51:21 PM »
then you need to know what IO pins are active have you set the pokeys to IO only

306
Mach4 General Discussion / Re: PLUGIN signals access via LUA?
« on: March 09, 2016, 06:29:46 PM »
the 56U is a almost out the window board, if you go into the pokeys config an bring up the matrix keyboard settings and the led setting it has what you need you just need to translate it back to the pokeys config inside mach and map it.

and you can use the digital inputs and output and analog to find what is active or not in the pokeys config.

it's just mapping the correct pin to the function in mach.

it is difficult I have a 57cnc v1.2 and it was easy to set up the basic stuff, but mapping the spindle and other functions is a bit harder, if you stuff it up I found if I reset the pokeys in the pokeys dialog and power cycled it and don't change anything in the mach pokeys dialog, it pushed the mach settings onto the board when you start mach back up, they are crazy arise boards how the almost set there self up when you have everything connected,

mine in the pokeys dialog it only shows the pwm signal and nothing else but if I go into the digital inputs and output and analog inputs and output it shows what pin is working.

DAZ they are very interesting boards to use but the ESS is close to being as good, if I was to requirement a board for M4 it will be the ESS or pokeys 57U or E the 57cnc V1.2 is more than the ESS could be but that's only because it has a tonne of IO and does not need a bob

307
Mach4 General Discussion / Re: PLUGIN signals access via LUA?
« on: March 09, 2016, 05:45:24 PM »
you need to ask the pokeys people about it, it also depends what board you have it sounds like you have the 57cnc if you do there is a slight diffrences between 1.1 and 1.2, 1.2 is more do almost anything

308
Mach4 General Discussion / Re: Mach4 - pokeys settings reset
« on: March 05, 2016, 02:55:33 PM »
Auggie it's a new program it only works with pokey board's, have a look in the pokeys pulse engine page where you can set your home, limits,

309
Mach4 General Discussion / Re: Mach4 - pokeys settings reset
« on: March 04, 2016, 05:10:45 PM »
you may need to go into the pulse engine and set all home and limit switches to pin 0, I had the same thing I set a pin number to the limit and home switches and they did FA, I left everything set up in M4 went back and reset the pokeys, re enabled the pulse engine plus 3ch pulse engine and extended IO, tested the stepper's and switches in the pokeys diag, this time the limit and home where pin0 and where working in pokeys, as well as the stepper's and Estop. when back to M4 and it was fine, it just crashed a lot so I stopped using it.

then when"t through the same thing with M3 but it was stable and working fine, it has to be a M4 problem M4 was a 2 day ordeal M3 was an hour and I had it running other than the spindle changing speed, but I know what is wrong there.

but I am using it on another program now what is a bit different but has nothing set other than A PWM pin.

so try pin 0 for home and limits in pokeys diag

310
Mach4 General Discussion / Re: Mach4 - pokeys settings reset
« on: March 03, 2016, 01:56:23 PM »
the setting's in the pokeys will change to what is set in mach4 and 3, you don,t realy need to set anything in the pokeys other than turn the pulse engine on, the pokeys has a monster in it that changes stuff for you.
mine has nothing set at all and everything works, it stumped me when I first used it to I got told to just set everything up in mach