× Forum Header

Need help setting up parallel port on new build

More
20 Aug 2021 06:44 #218208 by phillc54
Strange...
The relay is driven by parport pin 17.
Do you have a fully loaded parallel port cable or one of those ones with only some pins connected.

I am not sure what your timings are set to, the linked thread seems to indicate that they should be:
Step Time 5000
Step Space 5000
Direction Hold 20000
Direction Setup 20000

forum.linuxcnc.org/16-stepconf-wizard/28553-configuring-tb6600

 

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

More
20 Aug 2021 06:44 #218209 by CNCApples

The motor spins freely when connected to the drive already. I used a multimeter to check continuity and can confirm the two pairs are correct, red/blue and green/black.I Have wired the motor with PUL+ on pin2 and DIR+ on pin3 like in your setup but still no motion. Instead when I attempt to test the X axis there is a clicking sound and the red relay light on the BOB turns on. Light turns off after I close the test window.I did another test and connect the driver to pins 4 (PUL+ ) and 5 (DIR +) and received an error which I just got on when testing on pins 2 and 3. Photo included 

Attachments:

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

More
20 Aug 2021 06:59 #218210 by CNCApples
So I tried with a different BOB and still get the relay light turning on but no error message this time. Time for a different brand BOB?
Can you recommend any that support 5 or 6 axis?

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

More
20 Aug 2021 07:07 #218212 by phillc54
Well, the one you have is the same as what I use... 
I have no idea what the error messageas mean and I cannot imagine that they would be caused by a BOB.
Can you post a pic of every stepconf screen up to the test dialog.

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

More
20 Aug 2021 07:20 #218213 by CNCApples
Good to hear someone else is using it too then I suppose.

I've attached some photos leading up to the test screen. 
Attachments:

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

More
20 Aug 2021 07:49 #218216 by phillc54
They seem to be reasonably popular, mine has been very reliable.
I don't see anything obvious although I would set the microstepping to 8 or 16 (and on the driver as well) 
What voltage are you running the driver at?
What version of LinuxCNC are you using?
Did you check if it a fully populated cable?
I just ran a stepconf test on mine and it does work.

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

More
20 Aug 2021 08:44 #218222 by phillc54
It may also be worthwhile running stepconf from a terminal and see if any error messages appear in the terminal.

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

More
29 Aug 2021 05:39 #219067 by CNCApples
Almost liftoff!
Just wanted to come back and say thank you for helping me out with this.
I bought a new parallel card with MCS9865 chipset and have been able to get it going. However, I've run into some other troubles in editing the HAL and INI files to add the 5th axis.
When launching LinuxCNC with my 'demo machine', LinuxCNC aborts launch and gives this error message

./demo_machine.hal:51: Pin 'lut5.0.in--4' was already linked to signal 'all-limit-home'
4234
PID TTY       STAT       TIME  COMMAND
Stopping realtime threadsunloading hal components 

I'd like to have all the home limit switches on 1 pin as I plan to expand and add a belt with another limit switch as a digital in.
The end plan for this machine is a pick and place but will be working as a CNC.
The belt in this case will be the spindle which  I will include photos on reply below
Attachments:

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

More
29 Aug 2021 05:45 #219068 by CNCApples
Axis 0: X axis
Axis 1: Y axisAxis 2: Z axis
Axis 3: A axis (rotating head)
Axis 4: B axis (grippergripper)
 
Am I missing something in my Hal file?

Attachments:

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

More
29 Aug 2021 05:56 #219069 by phillc54
You seem to be be using LinuxCNC 2.7, is there any particular reason you are not using 2.8.

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

Time to create page: 0.284 seconds
Powered by Kunena Forum