View Full Version : High/Low or Pulsout ?
04-09-2007, 01:17 AM
··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 ?
04-09-2007, 01:35 AM
Hi curious, you could use the DIRS command
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?
04-09-2007, 05:26 AM
The receiving controller is configurable to read the rising and fallling edges of fast and slow response signals. The controller can distinguish between 4 different outs from the bs2 to a common input. The delay for a slow response signal is set by parameter. The bs2 out for a slow response would need a pause greater than the delay. To see the fast response signal as such, it has to be completed before the delay set by parameter. Four different functions can be assigned to the input pin . I can adjust the delay, I just wondered if the High to low with no pause generates a positive signal with enough duration foe the controller to see it.
Only thing critical is that the signal gets there.
04-09-2007, 07:23 AM
What kind of "Controller" is this, that runs off a "programmable width" pulse?
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.
04-09-2007, 08:06 AM
Allan, what do you mean by a servo control signal ? Is that a standard ? Please explain.
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.
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