QUOTE (paulengr @ Oct 5 2009, 09:30 PM)

First off, it's an input card, not an output card.
Second, let's see...200 pulses per second. That's 1 pulse every 1000/200 = 5 ms. No sweat for a CompactLogix.
Just load the pulse generating code into a periodic task with a time interval of 2 ms. Watch your CPU usage so that you don't overload it. You will need to operate at > twice your expected pulse train output speed because you need to alternate turning the output on and off. In addition, you will have to watch your output card scheduling since you will be pushing this heavily as well.
A 1769-OB16 is just fast enough to keep up. Faster than that and you'll need a true pulse output device. Of all things you could use a Micrologix to do it since those have pulse modulators on board.
The question is...why do it. A simple stepper motor control board is extremely inexpensive, and it can do both stepping and microstepping, something that you can't really achieve easily with a simple pulse train generator because you don't have enough resolution to do the pulse width modulation necessary to pull it off.
Hi Paul,
Thanks for the Response.
I understand what you're saying. However, the CPU will be doing a lot of other work... HMI, Ethernet/IP blocks, Robot Comms etc.
Won't this impact on the scan?
The lack of stepper control, or even high speed outputs, on the compact logix surprised me.
The HSC has 4 outputs, but I'm not sure if they're high speed or how to get them to generate a pulse train.
The stepper motor control board does look the best option.
I would need to store 3 preset pulse counts and have the board output these depending on an input selection.
i.e. move 1 = 200 pulses, move 2= 90 pulses, move 3 = -90 pulses (return)
Do you know of any make that can give this functionality?
Thanks Again,
Tim