
49
Chapter 2 Front-Panel Overview
To Read a Digital Input Port
4
2
To Read a Digital Input Port
The multifunction module (34907A) has two non-isolated 8-bit
input/output ports which you can use for reading digital patterns. You
can read the live status of the bits on the port or you can configure a scan
to include a digital read.
1 Select the Digital Input port.
Select the slot containing the multifunction module and continue turning
the knob until
DIN
is displayed (channel 01 or 02).
2 Read the specified port.
You can specify whether you want to use binary or decimal format. Once
you have selected the number base, it is used for all input or output
operations on the same port. To change the number base, press the
key and select
USE BINARY
or
USE DECIMAL
.
The bit pattern read from the port will be displayed until you press
another key, turn the knob, or until the display times out.
Note:
To add a digital input channel to a scan list, press
and select
the
DIO READ
choice.
01010101 DIN
Binary Display Shown
34970A Refresh UG.book Page 49 Wednesday, February 17, 2010 12:34 PM
Summary of Contents for 34970A
Page 16: ...16 34970A Refresh UG book Page 16 Wednesday February 17 2010 12 34 PM ...
Page 20: ...34970A Refresh UG book Page 20 Wednesday February 17 2010 12 34 PM ...
Page 21: ...1 1 Quick Start 34970A Refresh UG book Page 21 Wednesday February 17 2010 12 34 PM ...
Page 39: ...2 2 Front Panel Overview 34970A Refresh UG book Page 39 Wednesday February 17 2010 12 34 PM ...
Page 59: ...3 3 System Overview 34970A Refresh UG book Page 59 Wednesday February 17 2010 12 34 PM ...
Page 87: ...4 4 Features and Functions 34970A Refresh UG book Page 87 Wednesday February 17 2010 12 34 PM ...
Page 217: ...5 5 Error Messages 34970A Refresh UG book Page 217 Wednesday February 17 2010 12 34 PM ...
Page 241: ...6 6 Application Programs 34970A Refresh UG book Page 241 Wednesday February 17 2010 12 34 PM ...
Page 254: ...254 34970A Refresh UG book Page 254 Wednesday February 17 2010 12 34 PM ...
Page 255: ...7 7 Tutorial 34970A Refresh UG book Page 255 Wednesday February 17 2010 12 34 PM ...
Page 324: ...324 34970A Refresh UG book Page 324 Wednesday February 17 2010 12 34 PM ...