× Forum Header

Paralell Issues in StepConfig Cannot jog

More
26 Jun 2013 07:16 #36058 by jackill992
Hi you all I am a intern at a college engineering apprenticeship program and am setting up a 2x4 CNC router kit from "CNC Router Parts"
CNC Router Parts 2X4 Kit
I am using NEMA 34 electronics kit from the same company
www.cncrouterparts.com/4-axis-diy-nema-34-kit-p-123.html
NEMA 34 Electronics Kit

I am using a ( PMDX-134 wired to a PMDX-126 to Geckodrive-201x motor drivers to the 4x stepper motors) to communicate between the control box and the computers Linux cnc software side and the motors.

I have wired my setup as follows
PC to PMDX-134 (Via parallel port) to PMDX-126 to Geckodrive 201x to XYZA motors

When running StepConfig I have it set up as follows.
I am using Parport address 0x378 (default)
I am using pins 2-9 for direction (pin 2) and step (pin 3) for XYZA and repeating that pattern. I am also using Pin 10 as E-stop out
When I go to "test axis" for XYZA the jog function when clicked does nothing and NO LEDs change on the PMDX-134 board indicating signals in/out
I have tried reversing the pins for step and direction and tried a number of different Parport address all with no success in the test axis jog feature.

I am pretty much 90% sure it is an issue between the PMDX-134 and the computers parallel port communicating to move the motors.
I have tested controlling each motor between the Geckodrive-201x > PMDX-126 > PMDX134 and the motors all work and step properly when tested from the PMDX-134, but will not jog when tested using the software via the parport.
I have considered the fact that my HAL file is not properly set up for my Parport but I thought it would be smart to test and see if the PC is recognizing it using the LSPCI -VV command to look at the I/O, and I am still unsure of its actual adress which could be different than the defualt (0x378)

I have included below for troubleshooting the .hal & .ini files as well as my LSPCI -VV output which I am not sure what to make of yet?

Thank you all for any and all input on my issue I really appreciate anyones advice on this problem.

(EDIT) Just realized I left the .hal & .ini files at my desk will post them ASAP

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

More
26 Jun 2013 13:35 - 26 Jun 2013 13:36 #36063 by ArcEye
Hi

If you are looking for your parport with lspci -vv it must be a PCI parport card in which case its address will not be 0x378

The address will be in the print, how many addresses are listed depends on the number of ports serial and parallel on the card.
Each port will also have a corresponding register address listed so not every address is a port.

If you are using the built in parport you should be able to get the address from bios. ( either 0x278 or 0x378 invariably )

If that doesn't assist I will wait to see the lspci output and hal / ini files

regards
Last edit: 26 Jun 2013 13:36 by ArcEye.
The following user(s) said Thank You: jackill992

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

More
26 Jun 2013 20:51 - 26 Jun 2013 21:37 #36076 by jackill992
Here are the files I was mentioning adding earlier including the LSPCI -V output text
Last edit: 26 Jun 2013 21:37 by jackill992.

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

More
26 Jun 2013 20:52 - 26 Jun 2013 21:39 #36077 by jackill992
attached files below

File Attachment:

File Name: FRM_2x4_CNC_sm.hal
File Size:4 KB


File Attachment:

File Name: FRM_2x4_CNC_sm.ini
File Size:2 KB
Attachments:
Last edit: 26 Jun 2013 21:39 by jackill992.

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

More
26 Jun 2013 21:24 #36079 by ArcEye
Nothing attached, only certain file extensions are accepted.

Easiest thing is to put the lspci print into your config folder and zip the whole folder

zips can be up to 500K
The following user(s) said Thank You: jackill992

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

More
26 Jun 2013 21:35 #36080 by jackill992
zipped files are below sorry for the confusion, not familiar with this boards file attachment protocol.


File Attachment:

File Name: FRM_CNC.zip
File Size:4 KB
Attachments:

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

More
26 Jun 2013 21:49 #36082 by ArcEye
What does cat /proc/ioports give you?

You don't seem to have a PCI card, so presume you are attached to internal parport.

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

More
26 Jun 2013 22:26 #36090 by jackill992
This is the output of the cat /proc/ioports command in terminal

linuxcnc@linuxcnc-desktop:~$ cat /proc/ioports
0000-001f : dma1
0020-0021 : pic1
0040-0043 : timer0
0050-0053 : timer1
0060-0060 : keyboard
0064-0064 : keyboard
0070-0071 : rtc0
0080-008f : dma page reg
00a0-00a1 : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : 0000:00:09.0
0170-0177 : pata_amd
01f0-01f7 : 0000:00:09.0
01f0-01f7 : pata_amd
02f8-02ff : serial
0376-0376 : 0000:00:09.0
0376-0376 : pata_amd
03c0-03df : vga+
03f2-03f2 : floppy
03f4-03f5 : floppy
03f6-03f6 : 0000:00:09.0
03f6-03f6 : pata_amd
03f7-03f7 : floppy
03f8-03ff : serial
0480-0487 : pnp 00:09
04d0-04d1 : pnp 00:06
0cf8-0cff : PCI conf1
0d00-0d07 : pnp 00:09
4000-4003 : ACPI PM1a_EVT_BLK
4004-4005 : ACPI PM1a_CNT_BLK
4008-400b : ACPI PM_TMR
401c-401c : ACPI PM2_CNT_BLK
4020-4027 : ACPI GPE0_BLK
4300-433f : nForce2_smbus
4340-437f : nForce2_smbus
e800-e8ff : 0000:00:06.0
e800-e8ff : NVidia nForce2
ec00-ec7f : 0000:00:06.0
ec00-ec7f : NVidia nForce2
ef80-ef9f : 0000:00:01.1
eff0-eff7 : 0000:00:04.0
eff0-eff7 : forcedeth
ffa0-ffaf : 0000:00:09.0
ffa0-ffaf : pata_amd

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

More
26 Jun 2013 22:32 #36092 by andypugh

This is the output of the cat /proc/ioports command in terminal
linuxcnc@linuxcnc-desktop:~$ cat /proc/ioports
0376-0376 : 0000:00:09.0
0376-0376 : pata_amd
03c0-03df : vga+


You don't appear to have a parallel port.
Assuming that you have not plugged the parallel port cable into a VGA connector or something, I would guess that the parallel port might not be enabled in the BIOS.
The following user(s) said Thank You: jackill992

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

More
26 Jun 2013 22:38 #36093 by ArcEye
Hmmm OK

Not seeing a parport

Try dmesg | grep port

Also what computer is this? Have you got an option to disable the parport in BIOS?
The following user(s) said Thank You: jackill992

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

Time to create page: 0.090 seconds
Powered by Kunena Forum