Need Help with Setup
02 May 2017 22:56 #92552
by mtd1096
Need Help with Setup was created by mtd1096
I am new to Linuxcnc.
I am using a DB25-1205 BOB with a DQ542MA Driver. I know that it works because I can use it with Mach3, but when I switch over to Linuxcnc the motors will charge and hold but will not move with the “test this axis” in the setup.
Latency Test = 16116ns
Step Time = 5050
Step Space = 5050
Direction Hold = 500
Direction Setup 500
X Step (Actie Low) = Pin 2
X Direction = Pin 3
Z Step (Active Low) = Pin 6
Z Direction = Pin 7
Any help would be greatly appreciated.
I am using a DB25-1205 BOB with a DQ542MA Driver. I know that it works because I can use it with Mach3, but when I switch over to Linuxcnc the motors will charge and hold but will not move with the “test this axis” in the setup.
Latency Test = 16116ns
Step Time = 5050
Step Space = 5050
Direction Hold = 500
Direction Setup 500
X Step (Actie Low) = Pin 2
X Direction = Pin 3
Z Step (Active Low) = Pin 6
Z Direction = Pin 7
Any help would be greatly appreciated.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 18517
- Thank you received: 6187
02 May 2017 23:19 #92554
by tommylight
Replied by tommylight on topic Need Help with Setup
You will have to make the step time and space 15000, dir hold and set 20000.
Thsoe BOB's are way to slow, you can get much faster step/dir times if you wire them directly to parallel port.
Here is a video using DQ420 and DQ860 with those BOB's, it can do 48 meters/minute, way to fast for any plasma cutting.
Thsoe BOB's are way to slow, you can get much faster step/dir times if you wire them directly to parallel port.
Here is a video using DQ420 and DQ860 with those BOB's, it can do 48 meters/minute, way to fast for any plasma cutting.
Please Log in or Create an account to join the conversation.
03 May 2017 15:35 #92583
by mtd1096
Replied by mtd1096 on topic Need Help with Setup
Thanks for the reply.
I tried this and it did not work. I find it odd that it works fine with mach3, but not with linuxcnc. That leads me to believe that it is a software/programming issue.
Does wiring directly to the parallel port have any downsides - such as protecting the driver or computer?
I tried this and it did not work. I find it odd that it works fine with mach3, but not with linuxcnc. That leads me to believe that it is a software/programming issue.
Does wiring directly to the parallel port have any downsides - such as protecting the driver or computer?
Please Log in or Create an account to join the conversation.
- Todd Zuercher
-
- Away
- Platinum Member
-
Less
More
- Posts: 4978
- Thank you received: 1377
03 May 2017 16:06 #92584
by Todd Zuercher
Replied by Todd Zuercher on topic Need Help with Setup
Can you tell us more about the parallel port you are using on your computer. Is it a built in port, or a parallel port card? Are you certain you have the right address specified in your hal file for your port? Can you see inputs change value, such as those for your home or limit switches?
Please Log in or Create an account to join the conversation.
03 May 2017 22:35 #92601
by mtd1096
Replied by mtd1096 on topic Need Help with Setup
It is parallel port card. The terminal is showing PC-style at 0xa400 (0xa000).
I do not have any home or limit switches hooked up just yet. I can hear the motors energize and they are difficult to turn by hand so I know there is at least some power going to them. I have also checked the wires to the motors with a multimeter and everything appears fine.
I do not have any home or limit switches hooked up just yet. I can hear the motors energize and they are difficult to turn by hand so I know there is at least some power going to them. I have also checked the wires to the motors with a multimeter and everything appears fine.
Please Log in or Create an account to join the conversation.
03 May 2017 22:36 #92603
by mtd1096
Replied by mtd1096 on topic Need Help with Setup
and I have my port address set as 0xa400
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 18517
- Thank you received: 6187
03 May 2017 22:38 #92604
by tommylight
Replied by tommylight on topic Need Help with Setup
Edit your hal file, where it says
loadrt hal_parport cfg="0x378 out "
and change that to
loadrt hal_parport cfg="0 out "
save ad restart Linuxcnc
loadrt hal_parport cfg="0x378 out "
and change that to
loadrt hal_parport cfg="0 out "
save ad restart Linuxcnc
Please Log in or Create an account to join the conversation.
03 May 2017 23:02 #92605
by mtd1096
Replied by mtd1096 on topic Need Help with Setup
To no avail. Still not even a hint of movement.
Please Log in or Create an account to join the conversation.
- tommylight
-
- Away
- Moderator
-
Less
More
- Posts: 18517
- Thank you received: 6187
03 May 2017 23:20 #92607
by tommylight
Replied by tommylight on topic Need Help with Setup
Did you restart the computer after editing the hal file?
Did you increase the step timing in stepconf? Increase it even higher say 30.000 and test again, you can also change the port address in stepconf as it will override any changes you made manualy.
Also please remove the check in front of "create a simullated hardware......." in the second page of stepconf.
Did you increase the step timing in stepconf? Increase it even higher say 30.000 and test again, you can also change the port address in stepconf as it will override any changes you made manualy.
Also please remove the check in front of "create a simullated hardware......." in the second page of stepconf.
Please Log in or Create an account to join the conversation.
03 May 2017 23:44 #92609
by mtd1096
Replied by mtd1096 on topic Need Help with Setup
Please Log in or Create an account to join the conversation.
Time to create page: 0.189 seconds