
Universal Library User's Guide MetraBus Boards - MIO and MII Digital I/O
179
MIO and MII Digital I/O
All MetraBus boards require a cable and an interface board (such as an ISA-, PC104-, or PCI- MDB64) to
interface to the host computer system.
Digital In
MII-32 Only
Digital input functions and methods supported
UL: cbDIn, cbDBitIn()
UL for .NET: DIn, DBitIn()
Digital input argument values
PortNum FIRSTPORTA, FIRSTPORTB, SECONDPORTA, SECONDPORTB
DataValue 0 to 255 for PORTA or PORTB
BitNum 0 to 31 for FIRSTPORTA
Digital Out
MIO-32 Only
Digital output functions and methods supported
UL: cbDOut, cbDBitOut(), cbDBitIn(), cbDIn()
UL for .NET: DOut, DBitOut(), DBitIn(), DIn()
Digital output argument values
PortNum FIRSTPORTA, FIRSTPORTB, SECONDPORTA, SECONDPORTB
DataValue 0 to 255 for PORTA or PORTB
BitNum 0 to 31 for FIRSTPORTA
Functions/methods for reading back the MIO-32 output state
Although the MIO-32 is a digital output-only board, the state of the outputs can be read back using the UL
functions cbDIn() and cbDBitIn(), or the UL for .NET methods DIn() and DBitIn().
Commentaires sur ces manuels