Agilent Technologies N6700 manual Configuring the Digital Control Port, Bi-directional Digital I/O

Models: N6700

1 109
Download 109 pages 3.15 Kb
Page 91
Image 91

Using the Digital Port Appendix B

Configuring the Digital Control Port

Bi-directional Digital I/O

Each of the seven pins can be configured as general purpose bi- directional digital inputs and outputs. The polarity of the pins can also be configured. Pin 8 is the signal common for the digital I/O pins. Data is programmed according to the following bit assignments:

Pin

1

2

3

4

5

6

7

Bit

0

1

2

3

4

5

6

To configure the pins for digital I/O:

 

 

 

 

 

 

 

 

 

 

 

Front Panel:

 

 

 

SCPI Command:

 

 

Select System\IO\DigPort\Pin<n>,

To configure the pin function:

 

where <n> is the pin number.

 

DIG:PIN<1-7>:FUNC DIO

Select Function, then Digital I/O.

 

To configure pin polarity:

 

Go back one level, select Polarity,

 

DIG:PIN<1-7>:POL <pol>

 

To send data to the pins:

 

then either Positive or Negative.

 

 

To send digital data to the pins, select

DIG:OUTP:DATA <data>

 

System\IO\DigPort\Data.

 

Select Data Out and enter the data as

 

a binary number.

 

The digital I/O pin can be used to control both relay circuits as well as digital interface circuits. The following figure illustrates typical relay circuits as well as digital interface circuit connections using the digital I/O functions.

 

 

 

 

 

 

 

16.5 V Max.

1

2

3

4

5

6

7

I

 

 

 

 

 

 

 

Coil

 

 

 

 

 

 

 

Current

 

 

 

 

 

 

 

0.1 A

 

 

 

 

 

 

 

Max.

Relay driver Ports 0, 1, 2. (contains internal clamp diodes for inductive flyback)

1

2

3

4

5

6

7

I

 

 

 

 

 

Digital Output

 

 

 

 

 

Ports 0, 1, 2

1

2

3

4

5

6

7

I

 

 

 

 

 

 

 

TTL, AS, CMOS, HC

 

 

 

 

Digital Input

 

 

 

 

Ports 0, 1, 2

A) Relay Circuits

B) Digital Interface Circuits

For a complete description of the electrical characteristics of the digital I/O port, see Appendix A.

Series N6700 User’s Guide

91

Page 91
Image 91
Agilent Technologies N6700 manual Configuring the Digital Control Port, Bi-directional Digital I/O, Pin Bit