linuxcnc 2.5.3 a 2.7.5
27 Feb 2018 18:56 #106645
by jefsaro
linuxcnc 2.5.3 a 2.7.5 was created by jefsaro
Bonjour ,
suite a un changement d 'ordinateur , je viens de passer de linuxcnc 2.5.3 a 2.7.5 debian , au lancement du programme , j ai cette erreur
can' t find module 'probe_parport' in/usr/realtime-3.4.9-rtai-686-pae/modules/linuxcnc, j ai donc enlever la ligne loadrt probe_parport dans le fichier hal , mais cela ne fonctionne pas , pouvez vous m 'aider?
bonne soiree
jef
suite a un changement d 'ordinateur , je viens de passer de linuxcnc 2.5.3 a 2.7.5 debian , au lancement du programme , j ai cette erreur
can' t find module 'probe_parport' in/usr/realtime-3.4.9-rtai-686-pae/modules/linuxcnc, j ai donc enlever la ligne loadrt probe_parport dans le fichier hal , mais cela ne fonctionne pas , pouvez vous m 'aider?
bonne soiree
jef
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 5007
- Thank you received: 1441
27 Feb 2018 19:33 #106650
by Todd Zuercher
Replied by Todd Zuercher on topic linuxcnc 2.5.3 a 2.7.5
The parport driver in Linuxcnc was rewritten so that Probparport is no longer nessisary, so it was removed. Simply coment out or delete the old probeparport line in your hal file.
Google Translate:
Le pilote de parport dans Linuxcnc a été réécrit de sorte que Probparport n'est plus nessisary, donc il a été supprimé. Simplement commenter ou supprimer l'ancienne ligne de sondeparport dans votre fichier hal.
Google Translate:
Le pilote de parport dans Linuxcnc a été réécrit de sorte que Probparport n'est plus nessisary, donc il a été supprimé. Simplement commenter ou supprimer l'ancienne ligne de sondeparport dans votre fichier hal.
Please Log in or Create an account to join the conversation.
27 Feb 2018 20:13 #106655
by jefsaro
Replied by jefsaro on topic linuxcnc 2.5.3 a 2.7.5
I delete probparport but , is not good
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 5007
- Thank you received: 1441
27 Feb 2018 20:41 #106662
by Todd Zuercher
Replied by Todd Zuercher on topic linuxcnc 2.5.3 a 2.7.5
There is a page in the manual about updating configs in English, not sure if there is a French equivalent.
linuxcnc.org/docs/html/getting-started/u....html#_parallel_port
If you could post a copy of your Hal file we could look it over and try to see what is wrong.
linuxcnc.org/docs/html/getting-started/u....html#_parallel_port
If you could post a copy of your Hal file we could look it over and try to see what is wrong.
The following user(s) said Thank You: jefsaro
Please Log in or Create an account to join the conversation.
27 Feb 2018 21:56 #106675
by jefsaro
Replied by jefsaro on topic linuxcnc 2.5.3 a 2.7.5
# Généré par Stepconf le Tue Dec 24 11:09:14 2013
# Si vous modifiez ce fichier, il sera
# écrasé quand vous relancerez Stepconf
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="0x378 out "
setp parport.0.reset-time 5000
loadrt stepgen step_type=0,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
net spindle-cw <= motion.spindle-forward
net coolant-flood <= iocontrol.0.coolant-flood
#net probe-in => motion.probe-input
net xstep => parport.0.pin-02-out
setp parport.0.pin-02-out-reset 1
net xdir => parport.0.pin-03-out
setp parport.0.pin-04-out-invert 1
net ystep => parport.0.pin-04-out
setp parport.0.pin-04-out-reset 1
setp parport.0.pin-05-out-invert 1
net ydir => parport.0.pin-05-out
net zstep => parport.0.pin-06-out
setp parport.0.pin-06-out-reset 1
net zdir => parport.0.pin-07-out
#net coolant-flood => parport.0.pin-08-out
net astep => parport.0.pin-16-out
setp parport.0.pin-09-out-reset 1
net adir => parport.0.pin-08-out
net spindle-cw => parport.0.pin-17-out
net estop-ext <= parport.0.pin-10-in-not
#net probe-in <= parport.0.pin-11-in
net home-z <= parport.0.pin-12-in
net home-y <= parport.0.pin-13-in
net home-x <= parport.0.pin-15-in-not
setp stepgen.0.position-scale [AXIS_0]SCALE
setp stepgen.0.steplen 1
setp stepgen.0.stepspace 0
setp stepgen.0.dirhold 35000
setp stepgen.0.dirsetup 35000
setp stepgen.0.maxaccel [AXIS_0]STEPGEN_MAXACCEL
net xpos-cmd axis.0.motor-pos-cmd => stepgen.0.position-cmd
net xpos-fb stepgen.0.position-fb => axis.0.motor-pos-fb
net xstep <= stepgen.0.step
net xdir <= stepgen.0.dir
net xenable axis.0.amp-enable-out => stepgen.0.enable
net home-x => axis.0.home-sw-in
setp stepgen.1.position-scale [AXIS_1]SCALE
setp stepgen.1.steplen 1
setp stepgen.1.stepspace 0
setp stepgen.1.dirhold 35000
setp stepgen.1.dirsetup 35000
setp stepgen.1.maxaccel [AXIS_1]STEPGEN_MAXACCEL
net ypos-cmd axis.1.motor-pos-cmd => stepgen.1.position-cmd
net ypos-fb stepgen.1.position-fb => axis.1.motor-pos-fb
net ystep <= stepgen.1.step
net ydir <= stepgen.1.dir
net yenable axis.1.amp-enable-out => stepgen.1.enable
net home-y => axis.1.home-sw-in
setp stepgen.2.position-scale [AXIS_2]SCALE
setp stepgen.2.steplen 1
setp stepgen.2.stepspace 0
setp stepgen.2.dirhold 35000
setp stepgen.2.dirsetup 35000
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
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
setp stepgen.3.position-scale [AXIS_3]SCALE
setp stepgen.3.steplen 1
setp stepgen.3.stepspace 0
setp stepgen.3.dirhold 35000
setp stepgen.3.dirsetup 35000
setp stepgen.3.maxaccel [AXIS_3]STEPGEN_MAXACCEL
net apos-cmd axis.3.motor-pos-cmd => stepgen.3.position-cmd
net apos-fb stepgen.3.position-fb => axis.3.motor-pos-fb
net astep <= stepgen.3.step
net adir <= stepgen.3.dir
net aenable axis.3.amp-enable-out => stepgen.3.enable
net estop-out <= iocontrol.0.user-enable-out
net estop-ext => iocontrol.0.emc-enable-in
net tool-number <= iocontrol.0.tool-prep-number
net tool-change-loopback iocontrol.0.tool-change => iocontrol.0.tool-changed
net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
# Si vous modifiez ce fichier, il sera
# écrasé quand vous relancerez Stepconf
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="0x378 out "
setp parport.0.reset-time 5000
loadrt stepgen step_type=0,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
net spindle-cw <= motion.spindle-forward
net coolant-flood <= iocontrol.0.coolant-flood
#net probe-in => motion.probe-input
net xstep => parport.0.pin-02-out
setp parport.0.pin-02-out-reset 1
net xdir => parport.0.pin-03-out
setp parport.0.pin-04-out-invert 1
net ystep => parport.0.pin-04-out
setp parport.0.pin-04-out-reset 1
setp parport.0.pin-05-out-invert 1
net ydir => parport.0.pin-05-out
net zstep => parport.0.pin-06-out
setp parport.0.pin-06-out-reset 1
net zdir => parport.0.pin-07-out
#net coolant-flood => parport.0.pin-08-out
net astep => parport.0.pin-16-out
setp parport.0.pin-09-out-reset 1
net adir => parport.0.pin-08-out
net spindle-cw => parport.0.pin-17-out
net estop-ext <= parport.0.pin-10-in-not
#net probe-in <= parport.0.pin-11-in
net home-z <= parport.0.pin-12-in
net home-y <= parport.0.pin-13-in
net home-x <= parport.0.pin-15-in-not
setp stepgen.0.position-scale [AXIS_0]SCALE
setp stepgen.0.steplen 1
setp stepgen.0.stepspace 0
setp stepgen.0.dirhold 35000
setp stepgen.0.dirsetup 35000
setp stepgen.0.maxaccel [AXIS_0]STEPGEN_MAXACCEL
net xpos-cmd axis.0.motor-pos-cmd => stepgen.0.position-cmd
net xpos-fb stepgen.0.position-fb => axis.0.motor-pos-fb
net xstep <= stepgen.0.step
net xdir <= stepgen.0.dir
net xenable axis.0.amp-enable-out => stepgen.0.enable
net home-x => axis.0.home-sw-in
setp stepgen.1.position-scale [AXIS_1]SCALE
setp stepgen.1.steplen 1
setp stepgen.1.stepspace 0
setp stepgen.1.dirhold 35000
setp stepgen.1.dirsetup 35000
setp stepgen.1.maxaccel [AXIS_1]STEPGEN_MAXACCEL
net ypos-cmd axis.1.motor-pos-cmd => stepgen.1.position-cmd
net ypos-fb stepgen.1.position-fb => axis.1.motor-pos-fb
net ystep <= stepgen.1.step
net ydir <= stepgen.1.dir
net yenable axis.1.amp-enable-out => stepgen.1.enable
net home-y => axis.1.home-sw-in
setp stepgen.2.position-scale [AXIS_2]SCALE
setp stepgen.2.steplen 1
setp stepgen.2.stepspace 0
setp stepgen.2.dirhold 35000
setp stepgen.2.dirsetup 35000
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
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
setp stepgen.3.position-scale [AXIS_3]SCALE
setp stepgen.3.steplen 1
setp stepgen.3.stepspace 0
setp stepgen.3.dirhold 35000
setp stepgen.3.dirsetup 35000
setp stepgen.3.maxaccel [AXIS_3]STEPGEN_MAXACCEL
net apos-cmd axis.3.motor-pos-cmd => stepgen.3.position-cmd
net apos-fb stepgen.3.position-fb => axis.3.motor-pos-fb
net astep <= stepgen.3.step
net adir <= stepgen.3.dir
net aenable axis.3.amp-enable-out => stepgen.3.enable
net estop-out <= iocontrol.0.user-enable-out
net estop-ext => iocontrol.0.emc-enable-in
net tool-number <= iocontrol.0.tool-prep-number
net tool-change-loopback iocontrol.0.tool-change => iocontrol.0.tool-changed
net tool-prepare-loopback iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
Please Log in or Create an account to join the conversation.
05 Mar 2018 21:25 #106977
by andypugh
Replied by andypugh on topic linuxcnc 2.5.3 a 2.7.5
What error do you get?
Please Log in or Create an account to join the conversation.
Time to create page: 0.080 seconds