Hello Guest it is March 28, 2024, 02:54:04 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.


Messages - robertspark

401
General Mach Discussion / Re: External RESET buton, HOME button
« on: December 04, 2015, 12:40:34 PM »
Hi Colin,

I've got a few Arduino Micro's knocking about (same ATMega32u4 as the leonardo), I'll breadboard a keyboard emulator a little later this weekend.

Presume you just used the STD arduino keyboard library? https://www.arduino.cc/en/Reference/MouseKeyboard

How have you setup the joystick?  Is it a mouse emulator (using analogue inputs) or are you using it with digital inputs.

Can I have a look at your sketch? (either attach it or email it (link on the LHS))

Rob

402
General Mach Discussion / Re: Keyboard M-function?
« on: December 03, 2015, 04:10:18 PM »
Thanks very much for that, very impressive.

Must admit... As I tig weld... I should have realised what you were using the argon for... But then I guess most people (like me ). Think of lasers as a cutting application and forget about the welding side too

403
General Mach Discussion / Re: Limit Switches
« on: December 01, 2015, 11:08:32 AM »
If you wish to have a go at modifying a screen to your own requirements, I use machscreen and find it very easy to use.
Website here for download and also the description of how it works.
http://www.kd-dietz.com/klausphp/pages/eng/machscreen/tutorials/ms_tutorial.html

When you want a button to do something or an LED (or DRO) to display something, Mach3 has a whole load of OEM codes built into it, which allows you via mach3 / screen editor to define the "OEM" code for that object.
https://www.google.co.uk/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&ved=0ahUKEwiygKeo_7rJAhUBlxQKHatWBI0QFggnMAE&url=https%3A%2F%2Fwww.machsupport.com%2Fforum%2Findex.php%3Faction%3Ddlattach%3Btopic%3D19482.0%3Battach%3D27839&usg=AFQjCNGJn1E7RpKyfyjY7STvwaxPFsA6ng&sig2=pANJpax6NoeK1JIkVXG1dg&cad=rja



You can also use the OEM codes for other things like Macros, Brains and a Macropump too.
http://www.machsupport.com/wp-content/uploads/2013/02/Mach3_V3.x_Macro_Prog_Ref.pdf
http://www.machsupport.com/wp-content/uploads/2013/02/VBScript_Commands.pdf

Basically if you want to create a button which allows you to over-ride your limit switches, you create a button and enter the OEM code "150", and if you were typing code it would be "DoOEMButton(150)"

And if you wanted an LED behind the button, you would define a bmp / png image (have a look at one of the other LED's on the screen hidden behind a button), and you would enter code "34", or again if you were doing code for a macro, you would use GetLED(34).

404
General Mach Discussion / Re: Limit Switches
« on: November 30, 2015, 03:09:26 PM »
You have a few choices....

Easiest way... Go to ports and pins... Then inputs and scroll down to the input defined as limit override... Click on the emulate input... And click on the hotkey... Click on an unused key on the keyboard... This will assign this hotkey to the limit override.  .... One catch... I suspect that the limits will only be overridden when the key is depressed...

Option 2 (the way I did it...)... I used machscreen to create a button on my screenset that would toggle the limits override via the oembutton code... Very simple... And an led in the background to show when it's overridden.   I'll give you the code if you're interested... Once you start fiddling with screenset, macros and brains, you will have some fun setting stuff up the way you want or need

405
Mach4 General Discussion / Re: Issue with Motor Mapping not showing up
« on: November 30, 2015, 01:55:18 PM »
Oh.... have you installed the plugin for the ESS.... if so then when you click on the assignment of pins one of the options will be the ESS

406
Mach4 General Discussion / Re: Issue with Motor Mapping not showing up
« on: November 30, 2015, 01:53:46 PM »
detailed walk through youtube here (thanks to Daz).

https://www.youtube.com/watch?v=HIE0k6mu2yc&feature=youtu.be

407
General Mach Discussion / Re: Limit Switches
« on: November 30, 2015, 01:44:45 PM »
Bill,

Not that its much credibility, but I use one pin for X, Y and Z limit and home switches.

It means that if you hit a limit switch you won't know which axis has had the limit switch.... but in all fairness... just look at the machine... and over-ride the limit switches and jog it off the limit switch.

It also means that you can only home one axis at a time..... not really a problem for me  (no hurry).....

I did not follow the schematic in the mach3 manual for my setup.... in that I did not wire my limit switches in series with my e-stop (section 4.14, manual link below).... I have my estop on another pin, and I have my probe input on another pin.

http://www.machsupport.com/wp-content/uploads/2013/02/Mach3Mill_Install_Config.pdf
sections: 4.5.5.3  and 4.5.5.4 cover the shared pins

408
How much ram have you got?

409
Think that's the one its suppose to test the capabilities of the PC and printer port for clock cycle / loop load.

(Never used it... I run a smooth stepper, if you just had one basic machine I'd recommend a uc100)

410
No problem sorry I could not help.

If you have a look in the mach3 installation and setup manual, it details a programme within the mach3 folder that is used to test the speed of a machine, it may be worth running it just to see what comes back.

It doesn't do any loop tests or anything on the parallel port but it may be worth a check.

Presume you've cleaned out all your temp files with something like ccleaner so that is done.