LabSmith HVS448 User Manual page 34

High voltage sequencer
Hide thumbs Also See for HVS448:
Table of Contents

Advertisement

SetFlag
SetFlag {F1, F2, F3, F4}
Usage:
This instruction sets the specified flag. The flag can be released by executing the RelFlag instruction.
Notes: More than one channel can set a flag.
RelFlag
RelFlag {F1, F2, F3, F4}
Usage:
This instruction releases the specified flag. a flag is only "cleared" when all channels that set a flag have, in turn, released the
flag. This instruction has no other effect.
FlagSet?
FlagSet? {F1, F2, F3, F4}
Usage:
This instruction tests whether the specified flag is set. If it is set, the next instruction is executed. If it is not set, the next
instruction is skipped. This instruction has no other effect.
Example:
FlagSet? F1
Goto
HandleF1Set
...
FlagClear?
FlagClear? {F1, F2, F3, F4}
Usage:
This instruction tests whether the specified flag is clear. If it is clear, the next instruction is executed. If it is not clear, the next
instruction is skipped. This instruction has no other effect.
Example:
FlagClear? F1
Goto
HandleF1Clear; If it is do this.
...
Await
Await [{F1, F2, F3, F4, NewStep, Trigger}]
Usage:
This instruction pauses until the specified event:
-
F1-F4: Pause until the respective flag is set. If the flag is already set, complete the instruction immediately.
-
NewStep: Pause until a step instruction occurs. The instruction will complete only after the execution of a "Continue"
instruction.
-
Trigger: Pause until the channel input transitions from low to high.
When the Await command completes, it resets the Pause timer.
Example:
...
Await Trigger
10 ms
Pause
...
Output
Output {Set, Clear}
Usage:
34
; Test whether F1 is set
; If it is do this
; If it is not, do this
; Test whether F1 is clear.
; If it is not, do this.
; Resume execution after low-to-high transition of input
;
;
; Execute these instructions 10 ms after the trigger.

Advertisement

Table of Contents
loading

Table of Contents