Hi Marius,

See the attached file, I don't see anything related to loading the parport driver.
It seems that the hm2_7i43 module is trying to use the default address.

I get this on the dmesg
hm2_7i43.0: board at (ioaddr=0x0378, ioaddr_hi=0x0778, epp_wide ON) not found!

I suspect that I should change the line from:
loadrt hm2_7i43 config="firmware=hm2/7i43-2/SVST4_4.BIT num_encoders=0 num_pwmgens=0 num_3pwmgens=0 num_stepgens=3 "
to
loadrt hm2_7i43 config="ioaddr=0x3bc firmware=hm2/7i43-2/SVST4_4.BIT num_encoders=0 num_pwmgens=0 num_3pwmgens=0 num_stepgens=3 "

If it is the case then it's confirmed that PNCConf has a bug because it should generate this kind of configuration when a non default address is specified for the parallel port.

Matthieu.
On 02/05/2014 12:57 AM, Marius Liebenberg wrote:
See if the address that is used when the parport driver is loaded in the
HAL file is what you expected it to be. You can also post you HAL file
here so we can have look at that for you.


On 2014-02-05 10:10, Matthieu Patou wrote:
Hello All,

I have an atom desktop with a partport at 0x378 and a 7i43 + 7i42 hooked
to it and it's working well with LinuxCNC 2.5.3.
On a thinkpad laptop I have a PCMCIA parport card at 0x3bc and when I
try to run Axis, after configuring this laptop for the same card, I got
errors about missing card at address 0x378 even though I configured it
to 0x3BC.

Did I miss something or is the port specified during PNCConf ignored ?

Matthieu.

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users


# Generated by PNCconf at Sun Jan 19 14:11:23 2014
# If you make changes to this file, they will be
# overwritten when you run PNCconf again

loadrt trivkins
loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD 
num_joints=[TRAJ]AXES
loadrt probe_parport
loadrt hostmot2
loadrt hm2_7i43 config="firmware=hm2/7i43-2/SVST4_4.BIT num_encoders=0 
num_pwmgens=0 num_3pwmgens=0 num_stepgens=3  " 
setp     hm2_7i43.0.watchdog.timeout_ns 10000000

addf hm2_7i43.0.read servo-thread
addf motion-command-handler servo-thread
addf motion-controller servo-thread
addf hm2_7i43.0.write         servo-thread
addf hm2_7i43.0.pet_watchdog  servo-thread

# external output signals

# external input signals

#*******************
#  AXIS X
#*******************

# Step Gen signals/setup

setp   hm2_7i43.0.stepgen.00.dirsetup        [AXIS_0]DIRSETUP
setp   hm2_7i43.0.stepgen.00.dirhold         [AXIS_0]DIRHOLD
setp   hm2_7i43.0.stepgen.00.steplen         [AXIS_0]STEPLEN
setp   hm2_7i43.0.stepgen.00.stepspace       [AXIS_0]STEPSPACE
setp   hm2_7i43.0.stepgen.00.position-scale  [AXIS_0]STEP_SCALE
setp   hm2_7i43.0.stepgen.00.step_type        0
setp   hm2_7i43.0.stepgen.00.control-type     0
setp   hm2_7i43.0.stepgen.00.maxaccel         2.5
setp   hm2_7i43.0.stepgen.00.maxvel           16.7

net x-pos-fb     axis.0.motor-pos-fb   <=  hm2_7i43.0.stepgen.00.position-fb
net x-pos-cmd    axis.0.motor-pos-cmd  =>  hm2_7i43.0.stepgen.00.position-cmd
net x-enable     axis.0.amp-enable-out =>  hm2_7i43.0.stepgen.00.enable

# ---setup home / limit switch signals---

net x-home-sw     =>  axis.0.home-sw-in
net x-neg-limit     =>  axis.0.neg-lim-sw-in
net x-pos-limit     =>  axis.0.pos-lim-sw-in

#*******************
#  AXIS Y
#*******************

# Step Gen signals/setup

setp   hm2_7i43.0.stepgen.01.dirsetup        [AXIS_1]DIRSETUP
setp   hm2_7i43.0.stepgen.01.dirhold         [AXIS_1]DIRHOLD
setp   hm2_7i43.0.stepgen.01.steplen         [AXIS_1]STEPLEN
setp   hm2_7i43.0.stepgen.01.stepspace       [AXIS_1]STEPSPACE
setp   hm2_7i43.0.stepgen.01.position-scale  [AXIS_1]STEP_SCALE
setp   hm2_7i43.0.stepgen.01.step_type        0
setp   hm2_7i43.0.stepgen.01.control-type     0
setp   hm2_7i43.0.stepgen.01.maxaccel         2.5
setp   hm2_7i43.0.stepgen.01.maxvel           16.7

net y-pos-fb     axis.1.motor-pos-fb   <=  hm2_7i43.0.stepgen.01.position-fb
net y-pos-cmd    axis.1.motor-pos-cmd  =>  hm2_7i43.0.stepgen.01.position-cmd
net y-enable     axis.1.amp-enable-out =>  hm2_7i43.0.stepgen.01.enable

# ---setup home / limit switch signals---

net y-home-sw     =>  axis.1.home-sw-in
net y-neg-limit     =>  axis.1.neg-lim-sw-in
net y-pos-limit     =>  axis.1.pos-lim-sw-in

#*******************
#  AXIS Z
#*******************

# Step Gen signals/setup

setp   hm2_7i43.0.stepgen.02.dirsetup        [AXIS_2]DIRSETUP
setp   hm2_7i43.0.stepgen.02.dirhold         [AXIS_2]DIRHOLD
setp   hm2_7i43.0.stepgen.02.steplen         [AXIS_2]STEPLEN
setp   hm2_7i43.0.stepgen.02.stepspace       [AXIS_2]STEPSPACE
setp   hm2_7i43.0.stepgen.02.position-scale  [AXIS_2]STEP_SCALE
setp   hm2_7i43.0.stepgen.02.step_type        0
setp   hm2_7i43.0.stepgen.02.control-type     0
setp   hm2_7i43.0.stepgen.02.maxaccel         2.5
setp   hm2_7i43.0.stepgen.02.maxvel           16.7

net z-pos-fb     axis.2.motor-pos-fb   <=  hm2_7i43.0.stepgen.02.position-fb
net z-pos-cmd    axis.2.motor-pos-cmd  =>  hm2_7i43.0.stepgen.02.position-cmd
net z-enable     axis.2.amp-enable-out =>  hm2_7i43.0.stepgen.02.enable

# ---setup home / limit switch signals---

net z-home-sw     =>  axis.2.home-sw-in
net z-neg-limit     =>  axis.2.neg-lim-sw-in
net z-pos-limit     =>  axis.2.pos-lim-sw-in

#*******************
#  SPINDLE S
#*******************

# ---setup spindle control signals---

net spindle-vel-cmd-rps    <=  motion.spindle-speed-out-rps
net spindle-vel-cmd        <=  motion.spindle-speed-out
net spindle-on             <=  motion.spindle-on
net spindle-cw             <=  motion.spindle-forward
net spindle-ccw            <=  motion.spindle-reverse
net spindle-brake          <=  motion.spindle-brake
net spindle-revs           =>  motion.spindle-revs
net spindle-at-speed       =>  motion.spindle-at-speed
net spindle-vel-fb         =>  motion.spindle-speed-in
net spindle-index-enable  <=>  motion.spindle-index-enable

# ---Setup spindle at speed signals---

sets spindle-at-speed true


#******************************
# connect miscellaneous signals
#******************************

#  ---HALUI signals---

net joint-select-a        halui.joint.0.select
net x-is-homed            halui.joint.0.is-homed
net jog-x-pos             halui.jog.0.plus
net jog-x-neg             halui.jog.0.minus
net jog-x-analog          halui.jog.0.analog
net joint-select-b        halui.joint.1.select
net y-is-homed            halui.joint.1.is-homed
net jog-y-pos             halui.jog.1.plus
net jog-y-neg             halui.jog.1.minus
net jog-y-analog          halui.jog.1.analog
net joint-select-c        halui.joint.2.select
net z-is-homed            halui.joint.2.is-homed
net jog-z-pos             halui.jog.2.plus
net jog-z-neg             halui.jog.2.minus
net jog-z-analog          halui.jog.2.analog
net jog-selected-pos      halui.jog.selected.plus
net jog-selected-neg      halui.jog.selected.minus
net spindle-manual-cw     halui.spindle.forward
net spindle-manual-ccw    halui.spindle.reverse
net spindle-manual-stop   halui.spindle.stop
net machine-is-on         halui.machine.is-on
net jog-speed             halui.jog-speed 
net MDI-mode              halui.mode.is-mdi

#  ---coolant signals---

net coolant-mist      <=  iocontrol.0.coolant-mist
net coolant-flood     <=  iocontrol.0.coolant-flood

#  ---probe signal---

net probe-in     =>  motion.probe-input

#  ---motion control signals---

net in-position               <=  motion.in-position
net machine-is-enabled        <=  motion.motion-enabled

#  ---digital in / out signals---

#  ---estop signals---

net estop-out     <=  iocontrol.0.user-enable-out
net estop-out     =>  iocontrol.0.emc-enable-in

#  ---manual tool change signals---

loadusr -W hal_manualtoolchange
net tool-change-request     iocontrol.0.tool-change       =>  
hal_manualtoolchange.change
net tool-change-confirmed   iocontrol.0.tool-changed      <=  
hal_manualtoolchange.changed
net tool-number             iocontrol.0.tool-prep-number  =>  
hal_manualtoolchange.number
net tool-prepare-loopback   iocontrol.0.tool-prepare      =>  
iocontrol.0.tool-prepared

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to