StepStop

StepStop channel

channel StepPulse channel (0 or 1)

The StepStop command immediately stops pulse output on the specified channel.

Const Device = CB280
Do
  Do While In(0) = 1
  Loop
  StepPulse 0, 5, 5000, 300
  Do While In(0) = 0
    If keyin(0) == 0 Then Stepstop(0)  ' Stop when key pressed
  Loop
Loop

Go CUBLOC home