Okay, disregard the last.  Lincurve did require the personality to be set to 16 and it got past that point.

Now I'm getting this error on startup:

mark@canecutter:~$ /usr/bin/linuxcnc '/home/mark/linuxcnc/configs/Cane-Cutter/Cane-Cutter.ini'
LINUXCNC - 2.7.12
Machine configuration directory is '/home/mark/linuxcnc/configs/Cane-Cutter'
Machine configuration file is 'Cane-Cutter.ini'
Starting LinuxCNC...
.
Found file(REL): ./Cane-Cutter.hal
Found file(REL): ./lin_curve.hal
./lin_curve.hal:43: Pin 'stepgen.2.position-cmd' was already linked to signal 'zpos-cmd'
Shutting down and cleaning up LinuxCNC...
LinuxCNC terminated with an error.  You can find more information in the log:
    /home/mark/linuxcnc_debug.txt
and
    /home/mark/linuxcnc_print.txt
as well as in the output of the shell command 'dmesg' and in the terminal



zpos-cmd is indeed already linked in the main hal file.  Here's the main hal file:


##################################################
loadrt trivkins
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[TRAJ]AXES
loadrt hal_parport cfg="0xec00 out 0e000 in"
setp parport.0.reset-time 5000
loadrt stepgen step_type=0,0,0
addf parport.0.read base-thread
addf stepgen.make-pulses base-thread
addf parport.0.write base-thread
addf parport.0.reset base-thread
addf stepgen.capture-position servo-thread
addf motion-command-handler servo-thread
addf motion-controller servo-thread
addf stepgen.update-freq servo-thread
net spindle-cmd <= motion.spindle-speed-out
addf parport.1.read base-thread  # added for pendant
addf parport.1.write base-thread  # added for pendant


##########################

setp stepgen.0.position-scale [AXIS_0]SCALE
setp stepgen.0.steplen 1
setp stepgen.0.stepspace 0
setp stepgen.0.dirhold 33934
setp stepgen.0.dirsetup 33934
setp stepgen.0.maxaccel [AXIS_0]STEPGEN_MAXACCEL
setp stepgen.1.position-scale [AXIS_0]SCALE
setp stepgen.1.steplen 1
setp stepgen.1.stepspace 0
setp stepgen.1.dirhold 33934
setp stepgen.1.dirsetup 33934
setp stepgen.1.maxaccel [AXIS_0]STEPGEN_MAXACCEL
net ypos-cmd axis.1.motor-pos-cmd => axis.1.motor-pos-fb
net xpos-cmd axis.0.motor-pos-cmd => stepgen.0.position-cmd stepgen.1.position-cmd
net xpos-fb stepgen.0.position-fb => axis.0.motor-pos-fb
setp parport.0.pin-02-out-invert 1
setp parport.0.pin-03-out-invert 1
setp parport.0.pin-04-out-invert 1
#setp parport.0.pin-05-out-invert 1
net x1step  stepgen.0.step => parport.0.pin-02-out
net x1dir   stepgen.0.dir => parport.0.pin-03-out
net x2step  stepgen.1.step => parport.0.pin-04-out
net x2dir   stepgen.1.dir => parport.0.pin-05-out
net xenable axis.0.amp-enable-out => stepgen.0.enable stepgen.1.enable
net home-x => axis.0.home-sw-in
net both-x => axis.0.neg-lim-sw-in
net both-x => axis.0.pos-lim-sw-in

##############################

setp stepgen.2.position-scale [AXIS_2]SCALE
setp stepgen.2.steplen 1
setp stepgen.2.stepspace 0
setp stepgen.2.dirhold 33934
setp stepgen.2.dirsetup 33934
setp stepgen.2.maxaccel [AXIS_2]STEPGEN_MAXACCEL
net zpos-cmd axis.2.motor-pos-cmd => stepgen.2.position-cmd
net zpos-fb stepgen.2.position-fb => axis.2.motor-pos-fb
setp parport.0.pin-06-out-invert 1
net zstep => parport.0.pin-06-out
setp parport.0.pin-06-out-reset 1
net zdir => parport.0.pin-07-out
net zstep <= stepgen.2.step
net zdir <= stepgen.2.dir
net zenable axis.2.amp-enable-out => stepgen.2.enable
net home-z => axis.2.home-sw-in
net both-z => axis.2.neg-lim-sw-in
net both-z => axis.2.pos-lim-sw-in

#################################

If a pin is already linked to another signal, how does work around that?

Mark


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to