HP 86060C Series User Manual page 86

Lightwave switches
Table of Contents

Advertisement

Description
Programming
Example 2: Switch position using the Status Byte Register
Line No.
10 to 170
Same as in Example 1 except for declaration of
Status_byte.
190 to 240
The new Wait_to_settle subroutine.
200
Start REPEAT loop.
210
Send the *STB? command to the switch. This queries the
switch to return the value of the status byte.
220
Read the status byte.
230
If the LSB (Least Significant Bit) of the status byte is
0 (that is, the switch is settled), exit the loop. If the LSB is
1 (that is, the switch is moving), then loop back to line 200.
240
Return from subroutine.
4-36

Advertisement

Table of Contents
loading

This manual is also suitable for:

86060c86061c86062c

Table of Contents