HP 61010A Owner's Manual page 59

Digital i/o
Table of Contents

Advertisement

Example:
1010 CALL SET. DRIVER(DIG.OUT.01,OC)
This example sets the output bits to be compatible with
open collector logic levels.
ENABLE.OUTPUTf/abeZ) - same as ENABLE.SYSTEM
except that it activates the output bits only the specified
Digital Output.
Example:
1010 CALL ENABLE.OUTPUT(DIG.OUT.Ol)
This example enables the output bits of DIG.OUT.01.
DISABLE.OUTPUTOiibe/) ■ same as DISABLE.SYSTEM
except that it deactivates (into a tri-state condition) the
output bits of only the specified Digital Output.
Example:
1010 CALL DISABLE.OUTPUT(DIG.OUT.Ol)
This example disables the output bits of DIG .OUT. 01.
OUTPUT(label,value) • applies only to the Digital Output
and programs the output register with the information
contained in the variable value. The variable value must be
a single-precision variable. It can only contain numbers in
the following ranges;
Decimal numbers from -32768 to 65535
Hex numbers from 0 to FFFF (preceeded by &H)
Octal numbers from 0 to 177777 (proceeded by &)
NOTE
These ranges only apply when all 16 bits are programmed, and
the start bit is 0.
Programming With BASIC
5-11

Advertisement

Table of Contents
loading

Table of Contents