Considerate che ho 2 finecorsa per ogni asse (tranne in z che ne ho 1) e che vorrei azzerare con i stessi fc.
I finecorsa sono collegati NC.
Leggendo qua e in la , ho aggiunto queste righe sul file hal :
# connette i segnali ai pin 10, 12 e 13 della porta parallela
linksp finecorsa-x parport.0.pin-10-in-not
linksp finecorsa-y parport.0.pin-12-in-not
linksp finecorsa-z parport.0.pin-13-in-not
# Home asse X
linksp finecorsa-x axis.0.home-sw-in
# Home asse Y
linksp finecorsa-y axis.1.home-sw-in
# Home asse Z
linksp finecorsa-z axis.2.home-sw-in
e modificato gli assi del file ini cosi :
[AXIS_0]
TYPE = LINEAR
HOME = 0.000
MAX_VELOCITY = 30.48
# NOTE: the step generator module applies its own limits to
# acceleration and velocity. We have discovered that it needs
# to have a little "headroom" over the accel by the trajectory
# planner, otherwise it can fall slightly behind during accel
# and later overshoot as it catches up. In the long term we
# hope to come up with a clean fix for this problem. In the
# meantime, please set STEPGEN_MAXACCEL below to a few percent
# higher than the regular acceleration limit MAX_ACCELERATION
MAX_ACCELERATION = 500.0
STEPGEN_MAXACCEL = 520.0
BACKLASH = 0.000
SCALE = 80
OUTPUT_SCALE = 1.000
MIN_LIMIT = 0.0
MAX_LIMIT = 400
FERROR = 1.270
MIN_FERROR = 0.254
HOME_OFFSET = 0.0
HOME_SEARCH_VEL = 1
HOME_LATCH_VEL = -0.15
HOME_USE_INDEX = NO
HOME_IGNORE_LIMITS = YES
HOME_IS_SHARED = 0
HOME_SEQUENCE = 0
ditemi dove sbaglio, !!!! please !!!!!
Poi vorrei fare un altra domanda, sulla mia tastiera non esiste il tasto Home , come avvio la procedura Homing ?????
Questo è il messaggio di errore :
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/emanuele/linuxcnc/configs/stepper'
Machine configuration file is 'stepper_mm.ini'
INIFILE=/home/emanuele/linuxcnc/configs/stepper/stepper_mm.ini
PARAMETER_FILE=stepper.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=2953
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
HAL: ERROR: signal 'finecorsa-x' not found
standard_pinout.hal:82: link failed
2953
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
Kernel message information:
[ 1399.861290] I-pipe: Domain RTAI registered.
[ 1399.861302] RTAI[hal]: <3.8.1> mounted over IPIPE-NOTHREADS 2.6-03.
[ 1399.861306] RTAI[hal]: compiled with gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) .
[ 1399.861314] RTAI[hal]: mounted (IPIPE-NOTHREADS, IMMEDIATE (INTERNAL IRQs DISPATCHED), ISOL_CPUS_MASK: 0).
[ 1399.861318] PIPELINE layers:
[ 1399.861321] f8685e20 9ac15d93 RTAI 200
[ 1399.861325] c085cb20 0 Linux 100
[ 1399.895537] RTAI[malloc]: global heap size = 2097152 bytes, <BSD>.
[ 1399.895743] RTAI[sched]: IMMEDIATE, MP, USER/KERNEL SPACE: <with RTAI OWN KTASKs>, kstacks pool size = 524288 bytes.
[ 1399.895749] RTAI[sched]: hard timer type/freq = APIC/8368796(Hz); default timing: periodic; linear timed lists.
[ 1399.895754] RTAI[sched]: Linux timer freq = 250 (Hz), TimeBase freq = 2811733000 hz.
[ 1399.895757] RTAI[sched]: timer setup = 999 ns, resched latency = 2944 ns.
[ 1399.895914] RTAI[usi]: enabled.
[ 1400.025452] RTAI[math]: loaded.
[ 1400.146719] config string '0x0378'
[ 1400.694732] RTAI[math]: unloaded.
[ 1400.790335] SCHED releases registered named ALIEN RTGLBH
[ 1400.804507] RTAI[malloc]: unloaded.
[ 1400.904076] RTAI[sched]: unloaded (forced hard/soft/hard transitions: traps 0, syscalls 0).
[ 1400.910688] I-pipe: Domain RTAI unregistered.
[ 1400.910702] RTAI[hal]: unmounted.