>
> On the other hand, if you really only want to generate some PWM signals,
> and are not interested in g-code or position loops or counting encoder
> pulses, then you can use HAL alone to do that. You should look at the
> HAL manual, and especially the tutorials, which use the command line to
> set up simple HAL systems.
> pdf is here: http://www.linuxcnc.org/docs/HAL_Documentation.pdf
> html here: http://linuxcnc.org/docview/html/
>
> There are some significant frequency and resolution limits on software
> generated PWM though. In general you trade off frequency and
> resolution, and neither will be very high compared to hardware
> solutions. For more info about HAL's software based PWM generator see
> http://www.linuxcnc.org/docview/html//hal_rtcomps.html#sec:PWMgen
>
> There are also hardware based pwm generators supported by HAL that can
> be controlled from the command line (using halcmd) independently of EMC.
>
> John,
thanks for your prompt reply.
Yes, I would like just to get PWM signal out of the PC.
I need it for the application, where the exact position of the motor is not
really important and the sense of rotation is just clockwise, so I need 1
PWM output signal only (no H-bridge etc.). Pulses counter will be nice as
well, but is not absolutely necessary.
I am just wondering if such a simple stuff can be done using PC only so the
additional HW will be minimized.
Petr
PS:
Of course I know it is necessary to protect the parallel port using
opto-coupler or similar stuff and to use MOSFET or similar to control the
motor...
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users