Hello Guest it is April 28, 2024, 07:25:11 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 - SScnc

Pages: « 1 2 3 4 5 6 7 8 »
31
VB and the development of wizards / Re: Rookie needs some help.
« on: December 08, 2011, 08:04:21 AM »
Sorry that's not how I want it setup. Thanks anyways.

32
VB and the development of wizards / Re: Rookie needs some help.
« on: December 07, 2011, 12:51:01 PM »
My M6End is empty. and the computer is not within arms reach of the machine. To have to go over and click 'okay' every time would be a PIA. Any other ideas?

33
VB and the development of wizards / Rookie needs some help.
« on: December 07, 2011, 09:25:25 AM »
My VB skills are not so hot but I understand the idea of basic programs. Anyways I need some help with a script.

What I'm trying to do is when a tool change is initiated I want Mach to look at the current tool and the tool being called, and if they are the same, to ignore the tool change and start running the program. If they are different, go to my selected tool change position and then wait for a cycle start. I have the code working like I want except for a little hiccup. If I have the setting to "Stop spindle, wait for cycle start" it won't automatically start the program if the tools are the same value. If I have it set to "AutoTool Changer" it works great except when the tool values are different it goes to the tool change position and then immediately starts running the program, not giving me a chance to actually change the tool and then hit cycle start. Any help will be greatly appreciated.

Here's what I have

Sub Main()
X = GetUserDRO ( 1200 )
Z = GetUserDRO ( 1201 )
NewTool = GetSelectedTool
OldTool = GetCurrentTool
If NewTool = OldTool Then
   Exit Sub
Else
   Code "G53 G0 , Z" & Z
   While IsMoving
   Wend
   Code "G53 G0 , X" & X
End If

End Sub


Thanks
 

34
General Mach Discussion / Re: SmoothStepper - Anyone Else Seeing This?
« on: September 17, 2011, 05:15:41 PM »
I was having similar problems to the second one. Although it was a setting under General Config. After it would see an M30 it would remove tool offset. This stumped me for awhile and I was sure it was a corrupt XML or some kind of bug. I then remembered the M30 section of configurations.

Are you using the new plugin with backlash support? How well does it work?

35
VB and the development of wizards / Re: Need help with a simple macro
« on: September 13, 2011, 03:16:13 PM »
Okay thanks, I was very close to that. Just my syntax was off. I will try it and get back.

36
VB and the development of wizards / Need help with a simple macro
« on: September 13, 2011, 06:13:21 AM »
In my M6Start macro I have this code.

X = GetUserDRO ( 1200 )
Z = GetUserDRO ( 1201 )

code "G53G0 , Z" & Z
While IsMoving
Wend
code "G53G0 , X" & X

Basically it just looks at two DRO's I have on the screen and moves the machine to whatever I have in those DRO's. My problem is, I want to move X&Z at the same time. I've tried all different configurations and I can't seem to figure it out.

I have it working right now with this code.

code "G53G0 , X-.125 Z-10.75"

and it works great. However if I want to change the values I have to edit the macro.

Any help is appreciated.

Thanks

37
PoKeys / Re: Input Noise
« on: August 19, 2011, 08:58:11 PM »
Okay I got it done. Seems to work well. No false triggers.

I didn't have any 100nF caps. All I had was 1.0uF but it seems to work well. Thanks

38
PoKeys / Re: Input Noise
« on: August 18, 2011, 03:54:10 PM »
How am I suppose to put 7 caps on this board with how small the terminals are?

39
PoKeys / Re: Input Noise
« on: August 18, 2011, 02:30:53 PM »
I just have 7 switches all as digital inputs. Do I need a capacitor for each input? The terminals on the board are very small.

40
PoKeys / Input Noise
« on: August 18, 2011, 12:57:53 PM »
I'm having noise issues with false triggers on my input pins. Is there any settings to filter the noise? Kind of like the debounce?

Thanks

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