Hello Guest it is April 28, 2024, 08:18:26 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 - Zaae

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 »
31
General Mach Discussion / Re: Joy Stick
« on: October 27, 2014, 05:44:37 PM »
I wrote up a post about this sort of thing a while back, here's the link:

http://www.machsupport.com/forum/index.php/topic,15314.0.html

For the record, I'm still using this configuration, and I love it!

32
Hello,

I've had this problem for some time, and can't seem to figure it out. I use the following code for auto Z zero, which works perfectly when MDI rotation is set to zero. If I enter any value in the MDI rotation, the spindle moves slowly down, forward, and right, all at the same time. It does eventually zero if it hits the contact plate, then retracts as normal. The Z lowers, X and Y both increase. Any idea what would be causing this? Here's the code:

Note: I added the sound, and the sendserial to control the vacuum table during zeroing. I tried removing these, and the problem persists.

Code: [Select]
PlayWave ("SOUNDS\AUTOZZERO.WAV")
VacuumOverride = GetVar(7)
If getUserLED(1170)=1 Then
     Call SENDSERIAL(1)
end if     

CurrentFeed = GetOemDRO(818) 'Get the current feedrate to return to later
CurrentAbsInc = GetOemLED(48) 'Get the current G90/G91 state
CurrentGmode = GetOemDRO(819) 'Get the current G0/G1 state
PlateThickness = 2.40 'GetUserDRO(1151) 'Z-plate thickness DRO

If GetOemLed (825)=0 Then 'Check to see if the probe is already grounded or faulty
DoOEMButton (1010) 'zero the Z axis so the probe move will start from here
Code "G4 P2" ' this delay gives me time to get from computer to hold probe in place
Code "G90 G31Z-20 F75" 'probing move, can set the feed rate here as well as how far to move
While IsMoving() 'wait while it happens
Wend
ZProbePos = GetVar(2002) 'get the exact point the probe was hit
Code "G0 Z" &ZProbePos 'go back to that point, always a very small amount of overrun
While IsMoving ()
Wend
Call SetDro (2, PlateThickness) 'set the Z axis DRO to whatever is set as plate thickness
Code "G4 P0.25" 'Pause for Dro to update.
Code "G1Z5 F200" 'put the Z retract height you want here
'code "G0Z5"
While IsMoving ()
Wend
Call SENDSERIAL(0)
Code "(Z axis is now zeroed)" 'puts this message in the status bar
Code "F" &CurrentFeed 'Returns to prior feed rate
Else
Code "(Z-Plate is grounded, check connection and try again)" 'this goes in the status bar if applicable
End If
If CurrentAbsInc = 0 Then 'if G91 was in effect before then return to it
Code "G91"
End If
If CurrentGMode = 0 Then 'if G0 was in effect before then return to it
Code "G0"
End If
Exit Sub   
 


33
General Mach Discussion / Re: Getting feedback from mach
« on: November 20, 2013, 08:55:46 AM »
HA! Wow, very impressive, thanks for the video :)


34
To clarify, I would still have my regular mechanical E-stop, it's just the way it is now, when I press STOP or Feed hold in the software, my dust vac and vacuum table continue to run. I suppose you're still right, the E-stop should have a mechanical connection to all attached devices, but anything would be better than the way it is now. I'll have to ponder the other possibilities.

35
Thanks for that, Chaoticone, I'll have to give it a try when I have some free time again.

36
General Mach Discussion / Re: Getting feedback from mach
« on: November 19, 2013, 12:58:05 PM »
One of my rather blunt hammer sort of solutions was to have mach write a file to the hard drive during tool changes by modifying the m6start and m6end m1s files. An autohotkey script on the other computers on the network checks every 10 seconds to see if the file exists, and if it does, it brings up a notification saying what tool is next. I believe autoIT is similar to autohotkey. I will warn you though, I have a rather old computer running my machine, and if I run autohotkey scripts on that machine that do any sort of looping, my machine stepper motors begin to stall. To solve that problem, the looping portion is done on the other computer.

37
aahka, I think you've mistakenly responded to my question rather than starting your own thread. You'll likely get more help if you post your own.

Here's a link, there's a button on the upper right labeled 'new topic'

http://www.machsupport.com/forum/index.php/board,1.0.html

Good luck with your problem :)

38
Hey all, it's been a while!

I need to add a sendserial command to the stop and reset buttons to turn off some external devices. They already come on and off as needed in the m6start and m6end files, but I'd like them to shut down in emergencies, and that requires the sendserial command.

In screen4 or machscreen, I can see the STOP and RESET buttons are referencing the system function STOP FILE and RESET. Is there a way in a script that I can call these functions manually? I know it can be done with buttons and such, but can't seem to find how to call these system functions directly.

Thanks :)

39
General Mach Discussion / Re: Xbox controller problems
« on: December 15, 2012, 12:20:37 PM »
Glad you got it going, I can't imagine operating my machine without some sort of remote, if it would even be possible at all.

40
General Mach Discussion / Re: Xbox controller problems
« on: December 14, 2012, 07:17:16 PM »
Oh, also, don't forget that in the Config Plugins menu, you can click on the word CONFIG in yellow, to enter the setup for the controller. That's something I didn't realize right away looking at that menu.

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