Hello Guest it is April 23, 2024, 07:25:36 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 - stirling

651
Sorry, wrong file.
:-X

In program run mode mach hangs on my M13, the code that switches the spindle into position mode.
M13? - you're not writing a macro and naming it M13 are you? (Hint: Yes is the wrong answer  ;))

Ian

652
Hi Tom

Close but no cigar...  ;D

The macro runs fine from the VB window, both stepping through with F7 and running with the play button.
No it doesn't.

The changes made were ... changing "codesingle()" to "code()" in all instances.
No they weren't.

Ian

653
VB and the development of wizards / Re: ismoving() error message
« on: July 26, 2013, 08:23:37 AM »
You have some logic in there that would make me uneasy if it were mine. I'm always slightly dubious of the practice of putting in random sleeps when there are issues that should be sorted first.

Example: I'm not sure what your reasons are but you appear to be starting and stopping the spindle twice each time. DoSpinCCW AND activateSignal(OUTPUT6) and then deActivateSignal(OUTPUT6) AND DoSpinStop(). Why are you doing that?

And: Did you intend to potentially engage the lock pin when the spindle is doing anywhere between 0 and 100 rpm?

654
I am looking for a STL or gcode for a set of praying hands if anyone could help me out.
Here's some

Ian

655
VB and the development of wizards / Re: ismoving() error message
« on: July 25, 2013, 09:21:02 AM »
Yes I know - that was why I asked - ignore it - it's presumably an old instruction and is now out of date.

656
Ah the Rab - 2nd best thing to come out of Scotland...

657
As you're not concerned with speed, series is correct for highest torque. Drives current limiting should be set to match your series current so 2A as stated. (Never over current a stepper). Steps/rev should be 2000. BTW I assume you mean your 12:1 gear reducer INCREASES torque (as well as resolution of course).

Ian

EDIT: BTW moved this to general - you'll get more responses there. (Don't know why we have this FAQ forum really)

658
VB and the development of wizards / Re: ismoving() error message
« on: July 24, 2013, 11:12:19 AM »
first thing that jumps out is you're explicitly declaring sleep. (Have you been reading the wiki by any chance?) there's no need to do this - sleep is already "internally" declared for you. Before I look any further you could take that first line out and see if it helps. Let me know.

659
VB and the development of wizards / Re: ismoving() error message
« on: July 24, 2013, 08:15:27 AM »
without seeing all of your code I can't comment.

660
General Mach Discussion / Re: Repeat paths & integration
« on: July 24, 2013, 04:01:48 AM »
A few errors in there...

Remove the () from the SendAcknowledge and the WaitForTrigger CALLS (or use the explicit CALL syntax). Also there are Code "" statements missing from some of the GCODE calls. Next you'll want to get rid of the 3rd set of calls as they're duplicates of the first set. Finally you'll want to put a while isMoving construct before each of the two remaining calls to SendAcknowledge otherwise the acknowlegements will execute prematurely.

Ian