6040 CNC - No Stepping

More
17 Mar 2021 19:01 #202617 by nicko
6040 CNC - No Stepping was created by nicko
Hello, please excuse my ignorance. I'm new to CNC's and have a basic electronics and software background.

I just purchase an SXCNC 6040 (JP-3163B v3.9) and can't get any movement from it.

I've tried aevery pinout combination I can find without any luck. The drivers do seem to be engaged while the machine is on, but I can't get any responses. I can tell my PCI parport card is getting something though as if I don't have the e stop inverted, I can't get LinuxCNC to be enabled.

I'm sure calibration is not entirely accurate, but I can go about correcting that once I can get some response. Any assistance or suggestions on things to check is greatly appreciated.
Attachments:

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

More
17 Mar 2021 19:24 #202621 by Aciera
Replied by Aciera on topic 6040 CNC - No Stepping
Have you tried to use the inverted signal:
net estop-ext       <= parport.0.pin-10-in-not

You can use HALSHOW from the menu to check your signals in real time.

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

More
17 Mar 2021 19:31 #202623 by nicko
Replied by nicko on topic 6040 CNC - No Stepping
Thanks. I have tried inverted for the eStop (which I seems to be correct now) and for the X/Y/Z Step/Direction configuration without any luck.

Is there any way I can bypass the software altogether and send a command to move x or y just to make sure the hardware is good? I'd hook up a multimeter to the cable and check what I'm getting, but I'm not even confident enough to know what I should be getting.

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

More
17 Mar 2021 21:14 #202643 by tommylight
Replied by tommylight on topic 6040 CNC - No Stepping
# these are in nanoseconds
DIRSETUP = 10000
DIRHOLD = 10000
STEPLEN = 5000
STEPSPACE = 5000
See if that looks the same for every joint/axis in the ini file, if not make them same.

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

More
17 Mar 2021 21:23 #202645 by nicko
Replied by nicko on topic 6040 CNC - No Stepping
Thanks,

Looking through my ini, I'm not seeing any of those values being set for the joints or axis.

Is there somewhere I can set them globally, or should I manually add those values to each joint/axis?

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

More
17 Mar 2021 21:59 - 17 Mar 2021 22:32 #202657 by nicko
Replied by nicko on topic 6040 CNC - No Stepping
I've set them in several places, and still no luck.
Attachments:
Last edit: 17 Mar 2021 22:32 by nicko. Reason: Include ini file

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

More
17 Mar 2021 23:00 #202672 by Clive S
Replied by Clive S on topic 6040 CNC - No Stepping

I've set them in several places, and still no luck.



I think you have them set in the hal file and the ini file. They should only be set in one of them

In the hal file it seems you have them set at 50000. I think that should be 5000

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

More
17 Mar 2021 23:27 #202680 by nicko
Replied by nicko on topic 6040 CNC - No Stepping
Thanks for taking a look Clive. I just updated to 5000 in the hal file and still no luck unfortunately.

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

More
18 Mar 2021 15:08 #202747 by nicko
Replied by nicko on topic 6040 CNC - No Stepping
So I've been testing the parallel port direction pin values through a multi meter, and they don't appear to be changing as they should. I've tried both 0 and 0x378 as my port as it appears to be, but no luck.

niko@debian:~$ sudo dmesg | grep par
[sudo] password for niko: 
[   12.031264] parport_pc 00:04: reported by Plug and Play ACPI
[   12.036975] parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
[   12.948847] ppdev: user-space parallel port driver

Note : Extraneous info removed due to odd "too many links" error on formatting.

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

More
19 Mar 2021 00:57 #202792 by andypugh
Replied by andypugh on topic 6040 CNC - No Stepping
Well, that certainly looks like 0 or 0x378 should both work.

It might be worth checking that all the pins in your parallel port cable are connected through.

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

Time to create page: 0.084 seconds
Powered by Kunena Forum