High/Low or Pulsout ?
curious1
Posts: 104
··Would setting 4 pins high then low with no pause send a single pulse simultaneously out of each of·4 pins and what would the length of the pulse be ?
I need to send a single pulse to 4 different controllers at·the same time.
Would this work·without the pause·?
··· High 1,2,3,4
··· pause 1·········· If so, what is pulse width ?
··· Low 1,2,3,4
The controllers are not here yet, I'm just getting ready.
I guess if I tried it to set another pin high with code I could verify with the Debug ?
Thanks
I need to send a single pulse to 4 different controllers at·the same time.
Would this work·without the pause·?
··· High 1,2,3,4
··· pause 1·········· If so, what is pulse width ?
··· Low 1,2,3,4
The controllers are not here yet, I'm just getting ready.
I guess if I tried it to set another pin high with code I could verify with the Debug ?
Thanks
Comments
DIRA=$F
PAUSE 1
DIRA=$0
for example would pulse pins 0 1 2 3. As for the legth of the pulse I would think maybe somewhere between 1 and 2 milliseconds. How critical is the pulse length?
Jeff T.
Only thing critical is that the signal gets there.
I only ask, because what you describe sounds very close to a servo control signal -- only it's hard to tell from your description.
Do you have any vendors, or controller model numbers? It's SO much easier to interface to equipment when you have the vendors documentation for it.
It's a Cool Muscle hybrid stepper/servo motor with everything built into the motor. (coolmuscle.com) Motor, amplifier/driver controller, and a 50,000 ppr encoder.
4 IN
2 Out
Programmable , 16 program banks of 100 steps each.
AMAZING little motor.
Each input can actually be assigned 6 different functions. Four as stated above plus Target Voltage level.
Which makes me wonder if the BS2 could be coded in a similar fasion as to distinguish fast from slow response signals, rising and falling edges.
Each input could easily have at least 4 functions.
Probably allready been done, what would the code look like ?
Post Edited (curious1) : 4/9/2007 1:34:57 AM GMT