D510MO

More
23 Dec 2012 11:32 - 23 Dec 2012 11:34 #27975 by Todd Zuercher
Replied by Todd Zuercher on topic D510MO
My Intel D2700MUD will just barely do a 400000 servo thread. But I think i backed it off to 500000 for reliability.
Last edit: 23 Dec 2012 11:34 by Todd Zuercher.

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

More
10 Feb 2013 10:38 - 10 Feb 2013 10:53 #29835 by JZHA1985
Replied by JZHA1985 on topic D510MO
Mine for some reason my D510 won't work.
I found the parallel port address using the terminal,
and used it but got a pipeline error where I can't jog within stepconfig or launch LinuxCNC. Is there a simple fix for this?
The new system has under 10,000 latency, a 60GB Intel SSD, and 1 GB of ram. I'm rather stumped.
Last edit: 10 Feb 2013 10:53 by JZHA1985.

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

More
10 Feb 2013 11:36 #29837 by JZHA1985
Replied by JZHA1985 on topic D510MO
Here are the error messages.
One for when LinuxCNC fails to start.
Print file information:
RUN_IN_PLACE=no
LINUXCNC_DIR=
LINUXCNC_BIN_DIR=/usr/bin
LINUXCNC_TCL_DIR=/usr/lib/tcltk/linuxcnc
LINUXCNC_SCRIPT_DIR=
LINUXCNC_RTLIB_DIR=/usr/realtime-2.6.32-122-rtai/modules/linuxcnc
LINUXCNC_CONFIG_DIR=
LINUXCNC_LANG_DIR=/usr/share/linuxcnc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
LINUXCNC_EMCSH=/usr/bin/wish8.5
LINUXCNC - 2.5.1
Machine configuration directory is '/home/linuxcnc/linuxcnc/configs/my-mill'
Machine configuration file is 'my-mill.ini'
INIFILE=/home/linuxcnc/linuxcnc/configs/my-mill/my-mill.ini
PARAMETER_FILE=linuxcnc.var
TASK=milltask
HALUI=
DISPLAY=axis
Starting LinuxCNC...
Starting LinuxCNC server program: linuxcncsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting LinuxCNC IO program: io
Shutting down and cleaning up LinuxCNC...
Killing task linuxcncsvr, PID=1528
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Cleanup done

Debug file information:
Can not find -sec MOT -var MOT -num 1 
Can not find -sec IO -var IO -num 1 
Can not find -sec LINUXCNC -var NML_FILE -num 1 
Can not find -sec EMC -var NML_FILE -num 1 
insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/linuxcnc/hal_parport.ko': -1 Device or resource busy
my-mill.hal:7: exit value: 1
my-mill.hal:7: insmod failed, returned -1
See the output of 'dmesg' for more information.
1528
  PID TTY      STAT   TIME COMMAND
Stopping realtime threads
Unloading hal components

Kernel message information:
[   87.135014] I-pipe: Domain RTAI registered.
[   87.135030] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[   87.135036] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[   87.135129] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[   87.135134] PIPELINE layers:
[   87.135140] f9ab4e20 9ac15d93 RTAI 200
[   87.135146] c085cb20 0 Linux 100
[   87.184989] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[   87.185441] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[   87.185455] RTAI[sched]: hard timer type/freq = APIC/10391730(Hz); default timing: periodic; linear timed lists.
[   87.185463] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 1662781000 hz.
[   87.185469] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[   87.185616] RTAI[usi]: enabled.
[   87.274096] RTAI[math]: loaded.
[   87.392332] config string '0378-037a out  '
[   87.392354] PARPORT: ERROR: request_region(0xffff) failed
[   88.154122] RTAI[math]: unloaded.
[   88.208405] SCHED releases registered named ALIEN RTGLBH
[   88.236515] RTAI[malloc]: unloaded.
[   88.336033] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[   88.340483] I-pipe: Domain RTAI unregistered.
[   88.340605] RTAI[hal]: unmounted.


And one for Stepconf when ran from terminal and when I press the jog button.
insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/linuxcnc/hal_parport.ko': -1 Device or resource busy
<stdin>:5: exit value: 1
<stdin>:5: insmod failed, returned -1
See the output of 'dmesg' for more information.


...After jogging within(trying to)
Traceback (most recent call last):
  File "/usr/bin/stepconf", line 2024, in update_axis_params
    halrun.flush()
IOError: [Errno 32] Broken pipe

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

More
10 Feb 2013 12:43 #29839 by PCW
Replied by PCW on topic D510MO
[ 87.392332] config string '0378-037a out '

shouldn't the hal_parport config line just be:

loadrt hal_parport cfg="0x378 out "

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

More
10 Feb 2013 12:55 #29841 by JZHA1985
Replied by JZHA1985 on topic D510MO
I tried that and I didn't get the errors, however, I wasn't getting an output to my drivers. I'm using the same settings as my other computer that's right below the bare motherboard I'm working with. I'm rather stumped,
there should be some sort of signal coming out of the parallel port.

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

More
10 Feb 2013 14:00 - 10 Feb 2013 14:03 #29842 by JZHA1985
Replied by JZHA1985 on topic D510MO
Okay now it works minus the Y axis.
File Attachment:


Uploaded with ImageShack.us
I remember reading somewhere within this thread there were reversed pins?
It works with the 8 year old P4, which I'll move into the house to work alongside with the new machine until i get this sorted out.
I thought this was going to be easy, install LinuxCNC, and go. I've used it for a year, and until now have found it effortless to use. But several hours and it's been rather fruitless :/
(Ps the Xyltoex board and steppers do cause wifi interference, I had them on, and it killed the streaming of my sister's phone)
Last edit: 10 Feb 2013 14:03 by JZHA1985.

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

More
10 Feb 2013 18:17 #29852 by ArcEye
Replied by ArcEye on topic D510MO

I remember reading somewhere within this thread there were reversed pins?


Would be a good idea to read pages 5 and 6 at least

The header apparently has 26 pins (and a parport D connector has 25), seems that the wire picked out in red you would expect to be No1 actually sits on the No 26 pin.

regards

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

More
11 Feb 2013 02:11 - 11 Feb 2013 03:13 #29868 by JZHA1985
Replied by JZHA1985 on topic D510MO
Pins 4 and 5 that supposedly go to the Y axis are causing me issues.
I'm not sure what to do since they should be correctly pinned out.



STEP X PD0 2
DIR X PD1 3
STEP Y PD2 4
DIR Y PD3 5
STEP Z PD4 6
DIR Z PD5 7

Maybe the easiest thing to do is simply purchase a PCI card for a parallel port?
In theory it should work right now, but for some reason it is not.
Last edit: 11 Feb 2013 03:13 by JZHA1985.

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

More
11 Feb 2013 04:22 #29873 by JZHA1985
Replied by JZHA1985 on topic D510MO
I think the cable is bad, or a few of the motherboard's header pins are dead.
Therefore I'm going to solder in the A axis as the Y axis, and see if that works.

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

Time to create page: 0.977 seconds
Powered by Kunena Forum