Documentation Home Page RT-LAB Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

OpNI6602 Digital In

Block

Mask

Description

The Op NI6602 DigitalIn block monitors the digital I/O lines of the National InstrumentsNI6602 card.

The block can monitor a subset of the 32 available digital I/O lines. Note that lines 0 to 7 are reserved for digital I/Os, while lines 8 to 31 are shared with 6 of the timers of the card. Please refer to the connector pin assignments below to avoid conflicts.

Parameters

Bus TypeSelect the bus type (PCI or PXI) of the target node in this list.
PCI indexEnter the PCI index (see definition)of the card on the PCI (or PXI) bus.
Selection of channels used in inputEnter the vector of channel numbers to be monitored by this block. The channel numbers, in the range [0-31], can be entered in any order and must appear only once in the list.
Synchronizesee definition.

Inputs

This block has no inputs.

Outputs

At each calculation step of the model, the block returns the current values (0 or 1) on the I/O lines.

Only the values of the channels specified in the channel list parameter are returned and the outputs are in the order of the channel list parameter. The width of the outport of the block must be equal to the number of entries in the channel list parameter. Use a demux to connect individual outputs to the rest of the model.

Characteristics and Limitations

Connector Pin Assignments

The table below highlights the DIO pins on the 68-pin connector of the NI6602 card.

NI6602 68-pin connector

Pin Description Number Pin Description Number 
DIO31/SOURCE2 34GND68
GND 33DIO30/GATE267
DIO28/OUT2 32DIO29/UP_DOWN266
DIO27/SOURCE3 31GND65
GND 30DIO26/GATE364
DIO24/OUT3 29DIO25/UP_DOWN363
DIO23/SOURCE4 28GND62
GND 27DIO22/GATE461
DIO20/OUT4 26DIO21/UP_DOWN460
DIO19/SOURCE5 25GND59
GND 24DIO18/GATE558
DIO16/OUT5 23DIO17/UP_DOWN557
DIO15/SOURCE6 22Reserved56
DIO14/GATE6 21GND55
GND 20DIO13/UP_DOWN654
Reserved 19DIO12/OUT653
GND 18DIO11/SOURCE752
DIO9/UP_DOWN7 17DIO10/GATE751
DIO8/OUT7 16GND50
DIO7 15GND49
GND 14DIO648
DIO4 13DIO547
DIO3 12GND46
GND 11DIO245
DIO0 10DIO144
OUT1 9Reserved43
GATE1 8GND42
SOURCE1 7GND41
UP_DOWN1 6UP_DOWN040
OUT0 5GND39
Reserved 4Reserved38
GATE0 3Reserved37
SOURCE0 2GND36
+5V 1Reserved25
Direct FeedthroughNo
Discrete sample timeNo
XHP supportYes
Work offlineNo

OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323