configurer une machine en h-bot

More
29 Aug 2014 03:40 #50431 by bfra18
bonjour a tous

voici mon problème , j ai construis une cnc de type h-bot et j aimerais utiliser emc2 pour la piloter .
Mon seul souci c est que je ne suis pas tres fort en informatique . Est ce que quelqu'un pourrait m expliquer en detail la programation du soft pour utiliser une machine comme la mienne ?

merci d avance pour vos reponces et a plus :)

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

More
29 Aug 2014 15:51 #50446 by ArcEye
Bonjour.

Votre question est beaucoup trop vague et générale.
Lisez les documents, qui sont très complet et quand vous arrivez à un point que vous ne comprenez pas, poser une question.

www.linuxcnc.org/docs/devel/html/

regards

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

More
29 Aug 2014 20:27 #50466 by bfra18
boujour,

en faite mon probleme est que j ai une machine avec la cinematique en h-bot ( deux moteur mais une seul couroie pour les 2 axes x et y ) et je voudrais savoir la marche a suivre pour configurer le soft pour qu il utilise cette cinematique a la place d une cinematique simple preconfigurer

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

More
29 Aug 2014 21:01 #50467 by ArcEye
OK

The reference to h-bot got lost in the translator.

I think you want something called core-x-y-kins, but I don't know anything about it.

Andy seems to have his name all over the references I found so hopefully he will chime in

regards

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

More
29 Aug 2014 21:10 #50469 by ArcEye
Just found the other thread reference

See this

www.linuxcnc.org/index.php/english/forum...teme-h-bot-ou-corexy

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

More
13 Sep 2014 04:30 #51133 by bfra18
boujour a tous ,
déja merci pour vos reponses .
J ai bien suivie les instruction donné sur l autre topic mais des que je lance linuxCNC, le programme me donne cette ereur.

"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-3.4-9-rtai-686-pae/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.6.1
Machine configuration directory is '/home/administrateur/linuxcnc/configs/ma-machine'
Machine configuration file is 'ma-machine.ini'
INIFILE=/home/administrateur/linuxcnc/configs/ma-machine/ma-machine.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=4305
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
.
ma-machine.hal:4: Can't find module 'core_xy_kin.c' in /usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc
4305
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
"

Est ce que quelqu un pourait encore m aider
merci d avance et a plus

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

More
13 Sep 2014 13:20 #51139 by ArcEye

ma-machine.hal:4: Can't find module 'core_xy_kin.c' in /usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc


Without seeing your hal file can't be sure, but looks like you are trying to
loadrt core_xy_kin.c instead of
loadrt core_xy_kin

ie loading a source file instead of the resultant module

As you are running an installed version of linuxcnc, leads me to wonder if you have actually built the module or just have the source code?

regards

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

More
13 Sep 2014 19:16 #51143 by bfra18
bonjour a tous
merci a arceye de m avoir répondu aussi vite ,effectivement il y avait bien écrit loadrt core_xy_kin.c a la place de loadrt core_xy_kin mais malheureusement j ai une nouveau message d erreur qui s affiche:
"
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-3.4-9-rtai-686-pae/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.6.1
Machine configuration directory is '/home/administrateur/linuxcnc/configs/ma-machine'
Machine configuration file is 'ma-machine.ini'
INIFILE=/home/administrateur/linuxcnc/configs/ma-machine/ma-machine.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
Realtime system did not load
Shutting down and cleaning up LinuxCNC...
Killing task linuxcncsvr, PID=4914
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
Error: could not insert module /usr/realtime-3.4-9-rtai-686-pae/modules/rtai_hal.ko: File exists
4914
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
/usr/bin/linuxcnc_module_helper: Invalid usage with args: remove core_xy_kins

Usage: /usr/bin/linuxcnc_module_helper insert /path/to/module.ext [param1=value1 ...]

where module is one of:
rtai_math
rtai_sem
rtai_shm
rtai_fifos
rtai_up
rtai_lxrt
rtai_hal
rtai_sched
rtai_smi
rtai
rt_mem_mgr
adeos
rtl_time
rtl_sched
rtl_posixio
rtl_fifo
rtl
mbuff

the path starts with one of:
/lib/modules
/usr/realtime-3.4-9-rtai-686-pae

and the extension is one of:
.ko

or the module is in the directory /usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc

OR

/usr/bin/linuxcnc_module_helper remove module

where module is one of the modules listed above.

<commandline>:0: exit value: 1
<commandline>:0: rmmod failed, returned -1
<commandline>:0: unloadrt failed
Error: Module hal_lib is in use by: core_xy_kin
Error: Module rtapi is in use by: hal_lib
Error: Module rtai_math is not currently loaded
Error: Module rtai_sched is in use by: rtapi
Error: Module rtai_hal is in use by: rtapi rtai_sched
"
est ce que quelqu'un pourrait encore m aider ?

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

More
13 Sep 2014 19:46 #51145 by ArcEye
Hi

Error: could not insert module /usr/realtime-3.4-9-rtai-686-pae/modules/rtai_hal.ko: File exists


This occurs after an unsuccessful attempt to start, when a module is left loaded and therefore cannot be loaded again.

The best thing to do is to re-boot and try again.

In theory you should be able to run halrun -U, but in practice it seldom works.

regards

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

More
13 Sep 2014 20:19 #51146 by bfra18
merci bien mais il me donne une nouvel erreur après avoir rebooter
"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-3.4-9-rtai-686-pae/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.6.1
Machine configuration directory is '/home/administrateur/linuxcnc/configs/ma-machine'
Machine configuration file is 'ma-machine.ini'
INIFILE=/home/administrateur/linuxcnc/configs/ma-machine/ma-machine.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
Realtime system did not load
Shutting down and cleaning up LinuxCNC...
Killing task linuxcncsvr, PID=3538
Removing HAL_LIB, RTAPI, and Real Time OS modules
Removing NML shared memory segments

Debug file information:
Error: could not insert module /usr/realtime-3.4-9-rtai-686-pae/modules/rtai_hal.ko: File exists
3538
PID TTY STAT TIME COMMAND
Stopping realtime threads
Unloading hal components
/usr/bin/linuxcnc_module_helper: Invalid usage with args: remove core_xy_kins

Usage: /usr/bin/linuxcnc_module_helper insert /path/to/module.ext [param1=value1 ...]

where module is one of:
rtai_math
rtai_sem
rtai_shm
rtai_fifos
rtai_up
rtai_lxrt
rtai_hal
rtai_sched
rtai_smi
rtai
rt_mem_mgr
adeos
rtl_time
rtl_sched
rtl_posixio
rtl_fifo
rtl
mbuff

the path starts with one of:
/lib/modules
/usr/realtime-3.4-9-rtai-686-pae

and the extension is one of:
.ko

or the module is in the directory /usr/realtime-3.4-9-rtai-686-pae/modules/linuxcnc

OR

/usr/bin/linuxcnc_module_helper remove module

where module is one of the modules listed above.

<commandline>:0: exit value: 1
<commandline>:0: rmmod failed, returned -1
<commandline>:0: unloadrt failed
Error: Module hal_lib is in use by: core_xy_kin
Error: Module rtapi is in use by: hal_lib
Error: Module rtai_math is not currently loaded
Error: Module rtai_sched is in use by: rtapi
Error: Module rtai_hal is in use by: rtapi rtai_sched
"

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

Time to create page: 0.448 seconds
Powered by Kunena Forum