× Forum Header

unable to get step motors to move at all??

More
17 May 2011 20:28 - 17 May 2011 20:30 #9876 by submicro
Ok i'm confused I wired it according to keling docs?
So i have bto enable it how?

I hace a jumper from +5v to en on the right side of the board, looking at it from the back side
Last edit: 17 May 2011 20:30 by submicro.

Please Log in or Create an account to join the conversation.

More
17 May 2011 20:30 #9877 by BigJohnT
Is it a CNC4PC C10 breakout board? that's what I thought you had...

John

Please Log in or Create an account to join the conversation.

More
17 May 2011 20:48 #9879 by submicro
I don't think so, it's this one

www.kelinginc.net/BreakoutBoards.html

The one at top left

Also how can I find the address of my parallel ports in linux?

Please Log in or Create an account to join the conversation.

More
17 May 2011 21:10 - 17 May 2011 21:18 #9880 by BigJohnT
That is a CNC4PC C10 even the pdf is branded with CNC4PC.

After you boot you can open up a terminal and put

dmesg|grep parport

and you might get something like this

[ 7.305717] parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE,EPP]

When you try and jog can you see the direction pin come on? It will be on one way and off the other. When you try and jog will the stepper move one step? That usually means you have step and direction backwards.

John
Last edit: 17 May 2011 21:18 by BigJohnT.

Please Log in or Create an account to join the conversation.

More
17 May 2011 21:18 - 17 May 2011 21:29 #9882 by submicro
I'm not getting any movement at all. The motors are getting warm but not hot.
this is what I get using that command, which address should I use?

[ 10.357066] parport_pc 00:0b: reported by Plug and Play ACPI
[ 10.357136] parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,ECP,DMA]
[ 10.468290] lp0: using parport0 (interrupt-driven).
[ 10.880388] parport_serial 0000:00:0a.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[ 10.880417] parport1: PC-style at 0xc000 [PCSPP,TRISTATE,EPP]
[ 10.985461] lp1: using parport1 (polling).
Last edit: 17 May 2011 21:29 by submicro.

Please Log in or Create an account to join the conversation.

More
17 May 2011 21:28 #9883 by BigJohnT
Also, you can open up Show Hal Configuration window and turn on an unused out pin.

The syntax for that is:

setp parport.0.pin...

You will have to look at the pins for the parallel port and pick one.

John

Please Log in or Create an account to join the conversation.

More
17 May 2011 21:36 - 17 May 2011 21:40 #9884 by submicro
Ok I tried that but got an error "Invalid Argument"

I may be wrong but while running a test file I can watch the values change in HAL so maybe it's in the wiring or the parallel cable??
Last edit: 17 May 2011 21:40 by submicro.

Please Log in or Create an account to join the conversation.

More
17 May 2011 21:55 #9886 by BigJohnT
Did you finish the pin number?

It's setp for set pin then the name of the pin like parport.0.pin-10-out or something like that...

John

Please Log in or Create an account to join the conversation.

More
17 May 2011 21:56 #9887 by BigJohnT
What your looking for is the led on the C10 board to come on...

John

Please Log in or Create an account to join the conversation.

More
17 May 2011 22:06 #9888 by submicro
NO I tried setp parport.0.pin-10-out and got error invalid argument
Invalid argument
Invalid argument
while executing
"hal setp parport.0.pin-10-out"
("eval" body line 1)
invoked from within
"eval hal $what"
(procedure "showEx" line 3)
invoked from within
"showEx $halcommand"
invoked from within
".main.note.fps.b.execute invoke"
("uplevel" body line 1)
invoked from within
"uplevel #0
    "
    (procedure "tk::ButtonUp" line 22)
    invoked from within
    "tk::ButtonUp .main.note.fps.b.execute"
    (command bound to event)

Please Log in or Create an account to join the conversation.

Time to create page: 0.106 seconds
Powered by Kunena Forum