Vitesse broche en 0-10V

More
07 May 2014 22:51 - 07 May 2014 22:53 #46692 by finemeca
Bonjour,

D'après la doc : www.linuxcnc.org/docs/devel/html/example...vec_signal_de_retour

Pour contrôler la vitesse broche en 0-10V, à la ligne, j'utilise le port parallèle et un carte DAC 0-10V :

net spindle-speed-DAC scale.0.out => «le nom de la sortie de votre DAC»

J'ai mis ça :

net spindle-speed-DAC scale.0.out => parport.0.pin-16-out

Mais j'ai l'erreur suivante :
tour-cnc.hal:91: Signal 'spindle-speed-DAC' of type 'float' cannot add pin 'parport.0.pin-16-out' of type 'bit'
4163

Que dois-je mettre ici : net spindle-speed-DAC scale.0.out => ????????????????

Merci de votre aide
Last edit: 07 May 2014 22:53 by finemeca.

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

More
08 May 2014 05:45 #46700 by andypugh
Replied by andypugh on topic Vitesse broche en 0-10V
Your DAC is probably a HAL PWM component, and then that will be linked to the parallel port pin.
The signal out of the "scale" component is a number, you need to change that to a digital (binary) signal of some sort before the parallel port can transmit it.
hen you need something connected to the parallel port to convert the digital signal to analogue voltage. (the true DAC).
This can be as simple as a capacitor and resistor filter.

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

More
18 May 2014 07:01 #47019 by akex
Replied by akex on topic Vitesse broche en 0-10V
Bonsoir
Oui en effet tu ne peut pas contrôler ton DAC, directement avec ton port parallèle
Mais je te conseil de faire comme te dit Andy : un Pwm en sorti d une pin et à la suite un Condo et une ou 2 résistance
Ça fonctionne très bien chez moi
Si tu veux plus de renseignement dit le moi

Alex

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

Moderators: darty367
Time to create page: 0.115 seconds
Powered by Kunena Forum