Messaggio
da dgvluigi » lunedì 9 agosto 2010, 19:52
ok cancellato tutte le configurazioniche avevo provato e messa emc2/config/stepper/steppermm.ini e standard pinout.hal modificato i pin con i settaggi del mach3 come da configurazione
# write outputs last
addf parport.0.write base-thread -1
#
# finally connect physical pins to the signals
net Xstep => parport.0.pin-04-out
net Xdir => parport.0.pin-05-out
net Ystep => parport.0.pin-06-out
net Ydir => parport.0.pin-07-out
net Zstep => parport.0.pin-08-out
net Zdir => parport.0.pin-09-out
# create a signal for the estop loopback
net estop-loop iocontrol.0.user-enable-out iocontrol.0.emc-enable-in
# create signals for tool loading loopback
net tool-prep-loop iocontrol.0.tool-prepare iocontrol.0.tool-prepared
net tool-change-loop iocontrol.0.tool-change iocontrol.0.tool-changed
# connect "spindle on" motion controller pin to a physical pin
net spindle-on motion.spindle-on => parport.0.pin-16-out
unica cosa se cambio questa riga net spindle-on motion.spindle-on => parport.0.pin-16-out con alcuni pini come 3-11-12-13-14 i motori si bloccano coma faceva con il mach 3 ma il programma da errore ecco copiato cio che dice, ho cambiato 16 con 13 . spero che qualcuno ci capisca qualcosa grazie
Print file information:
RUN_IN_PLACE=no
EMC2_DIR=
EMC2_BIN_DIR=/usr/bin
EMC2_TCL_DIR=/usr/share/emc/tcl
EMC2_SCRIPT_DIR=
EMC2_RTLIB_DIR=/usr/realtime-2.6.24-16-rtai/modules/emc2
EMC2_CONFIG_DIR=
EMC2_LANG_DIR=/usr/share/emc/tcl/msgs
INIVAR=inivar
HALCMD=halcmd
EMC2_EMCSH=/usr/bin/wish8.4
EMC2 - 2.4.3
Machine configuration directory is '/home/cnc/emc2/configs/stepper'
Machine configuration file is 'stepper_mm.ini'
INIFILE=/home/cnc/emc2/configs/stepper/stepper_mm.ini
PARAMETER_FILE=stepper.var
EMCMOT=motmod
EMCIO=io
TASK=milltask
HALUI=
DISPLAY=axis
NML_FILE=
Starting EMC2...
Starting EMC2 server program: emcsvr
Loading Real Time OS, RTAPI, and HAL_LIB modules
Starting EMC2 IO program: io
Shutting down and cleaning up EMC2...
Killing task emcsvr, PID=10891
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments
Cleanup done
Debug file information:
standard_pinout.hal:29: Pin 'parport.0.pin-13-out' does not exist
10891
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
Kernel message information:
[ 3738.998771] I-pipe: Domain RTAI registered.
[ 3738.998782] RTAI[hal]: <3.6.1> mounted over IPIPE-NOTHREADS 2.0-04.
[ 3738.998784] RTAI[hal]: compiled with gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu3).
[ 3738.998789] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 3738.998792] PIPELINE layers:
[ 3738.998794] f0b57000 9ac15d93 RTAI 200
[ 3738.998796] c0383180 0 Linux 100
[ 3739.010982] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 3739.011417] RTAI[sched]: loaded (IMMEDIATE, UP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 3739.011422] RTAI[sched]: hard timer type/freq = 8254-PIT/1193180(Hz); default timing: periodic; linear timed lists.
[ 3739.011426] RTAI[sched]: Linux timer freq = 250 (Hz), CPU freq = 2009334000 hz.
[ 3739.011429] RTAI[sched]: timer setup = 2010 ns, resched latency = 2688 ns.
[ 3739.087209] RTAI[math]: loaded.
[ 3739.170146] config string '0x0378'
[ 3739.475661] RTAI[math]: unloaded.
[ 3739.539404] SCHED releases registered named ALIEN RTGLBH
[ 3739.552460] RTAI[malloc]: unloaded.
[ 3739.652049] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 3739.654488] I-pipe: Domain RTAI unregistered.
[ 3739.654495] RTAI[hal]: unmounted.