DIO Series (Excluding USB)
The DIO Series (Excluding USB) includes the following hardware:
CIO-DIO24, CIO-DIO24H, CIO-DIO48, CIO-DIO48H, CIO-DIO96, CIO-DIO192
PCI-DIO24, PCI-DIO24H, PCI-DIO48H, PCI-DIO96, PCI-DIO96H, PCI-DIO24/LP, PCI-DIO24/S
CPCI-DIO24H, CPCI-DIO48H, CPCI-DIO96H
PPIO-DIO24
PC-CARD-DIO48
PC104-DIO48
Notes : Additional topics are available that document DIO hardware not listed above. If your DIO hardware is not listed above, refer to the following list:
The DIO Series (Excluding USB) supports the following UL and UL for .NET features.
Digital I/O
Hardware in this series either have an 82C55 chip or are based on 82C55, mode 0 emulation. Click here to display a table of the port numbers and corresponding bit numbers that are set by the digital I/O functions for hardware designed with the 82C55 chip or 82C55 emulation.
cbDConfigPort() port reference
cbDIn(), cbDOut() port reference
Values
cbDBitIn(), cbDBitOut() port reference
Bit Number
FIRSTPORTA FIRSTPORTA 0-255 FIRSTPORTA 0 to 7
FIRSTPORTB FIRSTPORTB 0-255 FIRSTPORTA 8 to 15
FIRSTPORTCL FIRSTPORTCL 0-15 FIRSTPORTA 16 to 19
FIRSTPORTCH FIRSTPORTCH 0-15 FIRSTPORTA 20 to 23
SECONDPORTA SECONDPORTA 0-255 FIRSTPORTA 24 to 31
SECONDPORTB SECONDPORTB 0-255 FIRSTPORTA 32 to 39
SECONDPORTCL SECONDPORTCL 0-15 FIRSTPORTA 40 to 43
SECONDPORTCH SECONDPORTCH 0-15 FIRSTPORTA 44 to 47
THIRDPORTA THIRDPORTA 0-255 FIRSTPORTA 48 to 55
THIRDPORTB THIRDPORTB 0-255 FIRSTPORTA 56 to 63
THIRDPORTCL THIRDPORTCL 0-15 FIRSTPORTA 64 to 67
THIRDPORTCH THIRDPORTCH 0-15 FIRSTPORTA 68 to 71
FOURTHPORTA FOURTHPORTA 0-255 FIRSTPORTA 72 to 79
FOURTHPORTB FOURTHPORTB 0-255 FIRSTPORTA 80 to 87
FOURTHPORTCL FOURTHPORTCL 0-15 FIRSTPORTA 88 to 91
FOURTHPORTCH FOURTHPORTCH 0-15 FIRSTPORTA 92 to 95
FIFTHPORTA FIFTHPORTA 0-255 FIRSTPORTA 96 to 103
FIFTHPORTB FIFTHPORTB 0-255 FIRSTPORTA 104 to 111
FIFTHPORTCL FIFTHPORTCL 0-15 FIRSTPORTA 112 to 115
FIFTHPORTCH FIFTHPORTCH 0-15 FIRSTPORTA 116 to 119
SIXTHPORTA SIXTHPORTA 0-255 FIRSTPORTA 120 to 127
SIXTHPORTB SIXTHPORTB 0-255 FIRSTPORTA 135 to 135
SIXTHPORTCL SIXTHPORTCL 0-15 FIRSTPORTA 136 to 139
SIXTHPORTCH SIXTHPORTCH 0-15 FIRSTPORTA 140 to 143
SEVENTHPORTA SEVENTHPORTA 0-255 FIRSTPORTA 144 to 151
SEVENTHPORTB SEVENTHPORTB 0-255 FIRSTPORTA 152 to 159
SEVENTHPORTCL SEVENTHPORTCL 0-15 FIRSTPORTA 160 to 163
SEVENTHPORTCH SEVENTHPORTCH 0-15 FIRSTPORTA 164 to 167
EIGHTHPORTA EIGHTHPORTA 0-255 FIRSTPORTA 168 to 175
EIGHTHPORTB EIGHTHPORTB 0-255 FIRSTPORTA 176 to 183
EIGHTHPORTCL EIGHTHPORTCL 0-15 FIRSTPORTA 184 to 187
EIGHTHPORTCH EIGHTHPORTCH 0-15 FIRSTPORTA 188 to 191
Functions
UL: cbDOut() , cbDIn() , cbDBitIn() , cbDBitOut() , cbDConfigPort()
UL for .NET: DOut() , DIn() , DBitIn() , DBitOut() , DConfigPort()
PortNum
FIRSTPORTA, FIRSTPORTB, FIRSTPORTCL, FIRSTPORTCH
DIO48, DIO48H, DIO96, and DIO192 also support:
SECONDPORTA, SECONDPORTB, SECONDPORTCL, SECONDPORTCH
DIO96 and DIO192 also support:
THIRDPORTA, THIRDPORTB, THIRDPORTCL, THIRDPORTCH
FOURTHPORTA, FOURTHPORTB, FOURTHPORTCL, FOURTHPORTCH
DIO192 also supports:
FIFTHPORTA through EIGHTHPORTCH
DataValue
0 to 255 using PORTA or PORTB
0 to 15 using PORTCL or PORTCH
BitNum
0 to 23 using FIRSTPORTA
For DIO48, DIO48H, DIO96, and DIO192, the following values are also valid:
24 to 47 using FIRSTPORTA
For DIO96, and DIO192, the following argument values are also valid:
48 to 95 using FIRSTPORTA
For DIO192, the following argument values are also valid:
Event Notification
CIO- and PCI- DIO24 and DIO24H, PCI-DIO24/LP and PCI-DIO24/S only.
Functions
UL: cbEnableEvent() , cbDisableEvent()
UL for .NET: EnableEvent() , DisableEvent()
Event Types
ON_EXTERNAL_INTERRUPT/OnExternalInterrupt
Hardware Considerations
Event notification
DIO Series boards that support event notification only support external rising edge interrupts.
Notes
Refer to the "Digital Input/Output Hardware " topic for additional details on using digital I/O boards with the Universal Library's digital I/O functions and methods.