05-06-2011 04:20 AM
I would like to control in total 7 different lines, each having its own pattern. The patterns are related (correlated) among each other such that:
- in the beginning lines 2, 3 and 4 generate a rising edge
- the first falling edge of the signal in line 2 for instance triggers a falling edge in line 3.
- the falling edges of the signals in line 3 for instance triggers a pulse in line 4.
- the second rising edge of the signal in line 4 for instance triggers rising edges in line 2, and so on.
The pulses on line 2 have a order of magnitude of 100 microseconds. On lines 1, 3 and 4 the order of magnitude is 20 to 100 milliseconds. And finally on lines 5, 6 and 7 of 1 second.
Further, I would like to use the pulses on line 4 to acquire analog date of 8 channels.
I have seen the post "Multiple Pulse Trains from a Single DO module" that Matt wrote on
02-04-2011 03:41 PM.
It looks like that a simple board 6259 cannot solve this problem. How could a solution look like using a board 6259 together with a board 6534 ?
Thanks for any comment
Cesar
05-10-2011 09:38 AM
I couldn't find the post you tried to link, but from the sounds of things, I think it's fairly unlikely that adding a 6534 to your 6259
will make you *more* capable of solving your problem. I *think* the fundamental issue you face can be solved equally well by
either board, or possibly not at all by either board.
A. Either board can work if you can predefine the entire pulse history, knowing all the bits' transition times before starting the
digital generation task. The hard part is setting up the buffer to contain all the data required to define these signals over a
long period of time.
B. Neither board will work if some of the pulses need to have variable timing in the midst of the generation. Anything not known
up front will make the timing dependencies *nearly* impossible to manage. I wouldn't recommend trying.
Either way, though I'm not entire sure of all the timing and logic dependencies, I suspect you could likely get the job done with a
lot fewer headaches by using a 6602 counter/timer board.
-Kevin P