Motors Jog In Stepconfig, but LinuxCNC not moving?

More
01 Jul 2013 22:26 - 01 Jul 2013 22:30 #36196 by jackill992
Hi I am new to Linux CNC and have been setting up my computer to run the motors via software I have a question in regards to troubleshooting my Linux CNC configuration when attempting to execute a sample drilling file all my options to run the program are greyed out and ESTOP looks like it has been permanently in the ON position possibly?

I am using a CNC Router Parts 2x4 kit with NEMA 34 electronics and a PMDX 134 breakout board for the 4 drivers XYZA to a PMDX 126 control board and Geckodrive 201x motor drivers and 5 proxiimity switches at the end of the table wired with X-,X paired pin 12 and y-,y paired pin 11 and X home axis has its own connector to pin 13

I have set up my Parport in settings as follows, I am not controlling the spindle ON/OFF or RPM as of right now but I planned on using the Digital Out 0-2 on pins 14,15,17 to control that once I get things moving succesfully.

OUTPUTS
pin1 Unused
pin2 X Dir
pin3 X Step
pin4 Y Dir
pin5 Y Step
pin6 Z Dir
pin7 Z Step
pin8 A Dir
pin9 A Step
Pin14 Digital Out 0
pin16 Digital Out 1
pin17 Digital Out 2

INPUTS
pin10 ESTOP In
Pin 11 Both Limit Y
Pin 12 Both Limit X
Pin 13 Home X
Pin 15 Unused

I am having issues getting the Linux CNC program to run and move the motors, while the STEPConfig program tested and the jog test function for all axis worked accordingly when tested so I am not 100% sure why it would not be moving any of the motors in the actual Linux CNC program but it is working jogging the motors in STEPCONFIG. The RUN option is greyed out and I am not sure why exactly.

I have included the files from my setup in a .zip file.

File Attachment:

File Name: COPYofNEWF...C2x4.zip
File Size:4 KB


Thank you for any and all help or input on this issue, I really apreciate it.
Attachments:
Last edit: 01 Jul 2013 22:30 by jackill992. Reason: grammar

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

More
01 Jul 2013 22:29 #36197 by BigJohnT
Did you release the e-stop button ( you can use F1 to toggle)?

JT

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

More
01 Jul 2013 22:43 #36199 by jackill992
At first f1 did nothing to enable or disable the ESTOP switch, now when I push it in it opens up the run switch, so it apears to be wired backwards. I will fix that now.

But when I press the run button on linux CNC the error windows in a pair
Open joint 0 on limit switch
Open joint 1 on limit switch

Not sure what to make of that yet?

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

More
01 Jul 2013 23:07 - 01 Jul 2013 23:08 #36200 by BigJohnT
You have your limit switches wired normally open and they should be a normally closed.

Edit: I've not see the exact worded error before...

JT
Last edit: 01 Jul 2013 23:08 by BigJohnT.
The following user(s) said Thank You: jackill992

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

More
02 Jul 2013 00:12 - 02 Jul 2013 00:27 #36202 by jackill992
sorry I accidently rephrased the error the exact error code I am getting is
"Joint 0 on limit switch error"
"Joint 1 on limit switch error"


The limit switch I am using is a STORD Type:LM12-3004NAT-5v
The switch is NPN NO, I am not sure if it is possible to wire them NC

This is the setup I was replicating the wiring of and pairing together into three switch groups
Y home Y- , Y+ two sensors paired pin 11
X home X-, X+two sensors paired pin 12
X prime home Single sensor pin 13

Not sure if the mach3 setup section would apply in this case to Linux CNC?
Last edit: 02 Jul 2013 00:27 by jackill992.

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

More
02 Jul 2013 00:52 #36206 by jackill992
UPDATE
Got the motors working through the Linux CNC software by inverting the signals in stepconfig on pins 10-ESTOP and pins11-13 for the sensors.

The motors are moving under manual control and they are disconnected so they are not running on the geared rail and motor yet.

Not out of the woods yet as I have yet to attach it to the rails and test the homing and limit functions of the switches.

Thanks for sending me in the right direction BigJohnT your help is apreciated over here

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

More
02 Jul 2013 01:41 #36210 by BigJohnT
Glad to hear you got it past this step...

JT

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

More
12 Apr 2019 06:04 #130716 by Mo106
Hi BigJohnT
I am facing similar issues
how ever on pin 14 Unless i configure it as amplifier
the motors do not jog even in step config
I was kinda thinking Ya I have no Idea what I am doing

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

More
12 Apr 2019 06:09 #130718 by pl7i92
@mo106

if you for Drivers like the TB6600 or the M542 just do not connect the enables +/- and the drivers are on
as untill you got the mashine moving

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

Time to create page: 0.145 seconds
Powered by Kunena Forum