Pulsout ON/OFF
Archiver
Posts: 46,084
I am trying to send out a pulsout command with a variable number in
microseconds (ON time)then switch states then send a new varible in
microseconds for (OFF time), then send out a complete new set of
ON/OFF variables again.
The first pulsout command is not a problem, but after the output
changes state, the second pulsout will go ON again and the off time
will be only be time of the program executing from one first puleout
command to the second pulsout command. I have tried to use the pause
command after the pulsout command but is to slow. The lowest number
that I was able to use with a pause command is 128/256. I have tried
internal looping ( FOR / NEXT) after the pulout command but it is in
increments of 325 microseconds. Any help would be appreciated.
microseconds (ON time)then switch states then send a new varible in
microseconds for (OFF time), then send out a complete new set of
ON/OFF variables again.
The first pulsout command is not a problem, but after the output
changes state, the second pulsout will go ON again and the off time
will be only be time of the program executing from one first puleout
command to the second pulsout command. I have tried to use the pause
command after the pulsout command but is to slow. The lowest number
that I was able to use with a pause command is 128/256. I have tried
internal looping ( FOR / NEXT) after the pulout command but it is in
increments of 325 microseconds. Any help would be appreciated.