Hello Guest it is January 26, 2022, 06:24:13 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 - peter81

Pages: « 1 2 3 4 5 6 7 8 9 10 11 »
51
PoKeys / Two pokeys?
« on: September 29, 2011, 11:02:19 AM »
Hello, can I use two pokeys with mach3? Now I'm using one (USB first version pokeys) for my pendant and I would like to use one for my buttons in control panel because I have no more I/O left. I'm using DSPMC V1 with all of my inputs and outputs. Thanks.

Peter

52
Hello piv,
very nice machine. I have just one question. What is causing that sizzling noise from the servos? You can hear it in the first video. I'm asking because that noise is also coming out of my servos and I'm also using dspmc. Is that normal?

Peter

53
VB and the development of wizards / Re: Button with two functions
« on: August 28, 2011, 02:53:26 PM »
I've find this topic of self made pendant

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

this guy is using stop button with two funtions. Hold button less than one second pause the program, hold button more than one second stops the program. I was looking at his macropump file and I can't figure out how he made it.

Peter


Can someone take a look at this macropump (stop-pause button). I was thinking to implement this to all of my buttons in my pendant to have more functions, but I can't figure it out how the code works.

Peter

54
VB and the development of wizards / Re: Button with two functions
« on: August 27, 2011, 03:00:05 PM »
Peter - yes - I mislaid an "end if" but you found it - fingers not keeping up with head again.

The problem you're encountering is ONE reason why I said earlier that this is not the best way to do it. The macropump is running at 10Hz so it's not unreasonable that when you press the button the macropump reads it several times - what you end up with is a rather nice game of roulette. The macropump POLLS the state of the input. A TRIGGER acts like an interrupt and executes it's macro on the active state change of the input. This does away with this problem.

see http://www.machsupport.com/forum/index.php/topic,15120.msg101160.html#msg101160

Ian

Thanks Ian now it's working.

Peter

55
VB and the development of wizards / Re: Button with two functions
« on: August 27, 2011, 07:46:54 AM »
I've find this topic of self made pendant

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

this guy is using stop button with two funtions. Hold button less than one second pause the program, hold button more than one second stops the program. I was looking at his macropump file and I can't figure out how he made it.

Peter

56
VB and the development of wizards / Re: Button with two functions
« on: August 27, 2011, 07:36:38 AM »
Ok I put another End If at the end of the code

If IsActive(OEMTRIG5) Then
If IsOutputActive(OUTPUT5) Then
DeActivateSignal(OUTPUT5)
Else
ActivateSignal(OUTPUT5)
End If                 
End If

Now the problem is that when I press the button the output does not come on. The LED of the output comes on and then turns off. If I hold button for longer time, output LED blinks tree or more times and then stay active. If I deactivate output I also must hold button for longer time, then LED blinks tree times and then turns off.

Peter

57
VB and the development of wizards / Re: Button with two functions
« on: August 27, 2011, 07:14:14 AM »
Hi stirling,
I've tried your code but I get syntax error. Must be something wrong in the code.

58
VB and the development of wizards / Re: Button with two functions
« on: August 26, 2011, 03:48:05 PM »
Hi BR549,
thanks for reply. I've tried your second code you posted. I put it in the macropump and it didn't worked. Then I've tried with IsActive(OEMTRIG1) instead OemTrigger1 and it worked. The output 5 becomes active. The only problem is that I can't turn it off with the same button. What do I need to change in the code?

If IsActive(OEMTRIG1) And GetVar(1000)<1 Then               
   ActivateSignal(output5)
   SetVar(1000,1)                              '
  End If                                       

  IsActive(OEMTRIG1) And GetVar(1000)>0 Then                '
   ActivateSignal(output5)
   SetVar(1000,0)                             
  End If       
 
  End

Peter

59
VB and the development of wizards / Button with two functions
« on: August 25, 2011, 04:28:13 PM »
Hello all,
on my pendant I have momentary switch connected to OEMTRIGGER5. How can I make this switch to activate output5 (output must stay active) and then with the same button deactivate output5? I've been trying this all day with no luck. Can somebody please help?

Peter

60
dspMC/IP Motion Controller / Re: New Win7 install not connecting
« on: June 26, 2011, 08:30:13 AM »
I also had problems with ethernet connection to computer. I was using crossover cable but still wasn't working. Problem was ethernet connection directly to motherboard. Then I bought new separate ethernet card and it worked.

Peter

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