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.
OpPC-DIO-96Digital In
Block
Mask
Description
The National InstrumentsPC-DIO-96 board is a 96-bit parallel digital I/O device from the NI6507/NI6508family.
The board features 4 82C55Parallel Port Interfaces (PPIs). Each PPI controls 24 bits of digital I/O grouped in three 8-bit ports (A, B and C). Each port can be programmed as either inputs or outputs.
This block allows the user to program one port of one PPI as inputs. The block OpPC-DIO-96Digital Out must be used for programming the bits as outputs. MultipleOpPC-DIO-96 Digital In and Digital Out blocks can be inserted in the same model, as long as they do not use the same PPI/Port selection.
Parameters
PCI index | See the glossary definition. |
---|---|
PPI | Select one of the 4 PPIs available. |
Port | Select one of the 8-line ports A, B or C of the selected PPI. A different OpPC-DIO-96Digital In block must be used for each I/O port. |
Selection of channels used as input | Enter the vector of channel numbers to be monitored by this block. The channel numbers, in the range [0-7], can be entered in any order and must appear only once in the list. |
Return acquired data in one single value (range 0 -255) | When this option is checked the block concatenates the individual channel values in one single data value. See the Outputs section for details. |
Synchronize | See the glossary 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.
If the parameter 'Return acquired data in one single value (range 0 - 255)' is not checked, the individual channel values are returned in a vector. In that case, 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 output width of the block is then equal to the number of entries in the channel list parameter.
When the parameter 'Return acquired data in one single value (range 0 - 255) 'is checked, the output size is 1 and the single value returned by the block represents the channel data in binary representation: one bit represents one channel value, the LSB being channel 0 and the MSB being channel 7. The output range is then 0 (all channels are 0) to 255 (all channels values are equal to 1).
Characteristics and Limitations
Connector Pin Assignments
The table below gives the connector pin assignments of the 100-pin I/O Connector of the PC-DIO-96 board. The pin names are formed from the PPI, port and channel numbers as follows: Pin-name= PPI(A,B,C,D) - Port(PA,PB,PC) - Channel number(0..7)
[For example: pin APC6refers to PPI A, Port C, channel 6]
100-pin I/O
Pin | Description | Pin | Description |
---|---|---|---|
1 | APC7 | 51 | CPC7 |
2 | BPC7 | 52 | DPC7 |
3 | APC6 | 53 | CPC6 |
4 | BPC6 | 54 | DPC6 |
5 | APC5 | 55 | CPC5 |
6 | BPC5 | 56 | DPC5 |
7 | APC4 | 57 | CPC4 |
8 | BPC4 | 58 | DPC4 |
9 | APC3 | 59 | CPC3 |
10 | BPC3 | 60 | DPC3 |
11 | APC2 | 61 | CPC2 |
12 | BPC2 | 62 | DPC2 |
13 | APC1 | 63 | CPC1 |
14 | BPC1 | 64 | DPC1 |
15 | APC0 | 65 | CPC0 |
16 | BPC0 | 66 | DPC0 |
17 | APB7 | 67 | CPB7 |
18 | BPB7 | 68 | DPB7 |
19 | APB6 | 69 | CPB6 |
20 | BPB6 | 70 | DPB6 |
21 | APB5 | 71 | CPB5 |
22 | BPB5 | 72 | DPB5 |
23 | APB4 | 73 | CPB4 |
24 | BPB4 | 74 | DPB4 |
25 | APB3 | 75 | CPB3 |
26 | BPB3 | 76 | DPB3 |
27 | APB2 | 77 | CPB2 |
28 | BPB2 | 78 | DPB2 |
29 | APB1 | 79 | CPB1 |
30 | BPB1 | 80 | DPB1 |
31 | APB0 | 81 | CPB0 |
32 | BPB0 | 82 | DPB0 |
33 | APA7 | 83 | CPA7 |
34 | BPA7 | 84 | DPA7 |
35 | APA6 | 85 | CPA6 |
36 | BPA6 | 86 | DPA6 |
37 | APA5 | 87 | CPA5 |
38 | BPA5 | 88 | DPA5 |
39 | APA4 | 89 | CPA4 |
40 | BPA4 | 90 | DPA4 |
41 | APA3 | 91 | CPA3 |
42 | BPA3 | 92 | DPA3 |
43 | APA2 | 93 | CPA2 |
44 | BPA2 | 94 | DPA2 |
45 | APA1 | 95 | CPA1 |
46 | BPA1 | 96 | DPA1 |
47 | APA0 | 97 | CPA0 |
48 | BPA0 | 98 | DPA0 |
49 | +5V | 99 | +5V |
50 | GND | 100 | GND |
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