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 Type | Select the bus type (PCI or PXI) of the target node in this list. |
---|---|
PCI index | Enter the PCI index (see definition)of the card on the PCI (or PXI) bus. |
Selection of channels used in input | Enter 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. |
Synchronize | see 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 | 34 | GND | 68 |
GND | 33 | DIO30/GATE2 | 67 |
DIO28/OUT2 | 32 | DIO29/UP_DOWN2 | 66 |
DIO27/SOURCE3 | 31 | GND | 65 |
GND | 30 | DIO26/GATE3 | 64 |
DIO24/OUT3 | 29 | DIO25/UP_DOWN3 | 63 |
DIO23/SOURCE4 | 28 | GND | 62 |
GND | 27 | DIO22/GATE4 | 61 |
DIO20/OUT4 | 26 | DIO21/UP_DOWN4 | 60 |
DIO19/SOURCE5 | 25 | GND | 59 |
GND | 24 | DIO18/GATE5 | 58 |
DIO16/OUT5 | 23 | DIO17/UP_DOWN5 | 57 |
DIO15/SOURCE6 | 22 | Reserved | 56 |
DIO14/GATE6 | 21 | GND | 55 |
GND | 20 | DIO13/UP_DOWN6 | 54 |
Reserved | 19 | DIO12/OUT6 | 53 |
GND | 18 | DIO11/SOURCE7 | 52 |
DIO9/UP_DOWN7 | 17 | DIO10/GATE7 | 51 |
DIO8/OUT7 | 16 | GND | 50 |
DIO7 | 15 | GND | 49 |
GND | 14 | DIO6 | 48 |
DIO4 | 13 | DIO5 | 47 |
DIO3 | 12 | GND | 46 |
GND | 11 | DIO2 | 45 |
DIO0 | 10 | DIO1 | 44 |
OUT1 | 9 | Reserved | 43 |
GATE1 | 8 | GND | 42 |
SOURCE1 | 7 | GND | 41 |
UP_DOWN1 | 6 | UP_DOWN0 | 40 |
OUT0 | 5 | GND | 39 |
Reserved | 4 | Reserved | 38 |
GATE0 | 3 | Reserved | 37 |
SOURCE0 | 2 | GND | 36 |
+5V | 1 | Reserved | 25 |
Direct Feedthrough | No |
---|---|
Discrete sample time | No |
XHP support | Yes |
Work offline | No |
OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323
Follow OPAL-RT: LinkedIn | Facebook | YouTube | X/Twitter