I-9048/I-8048W Linux API Reference, v 1.0.2 E-mail: [email protected]
30
3.2.
I8048W_DI_ALL
This function reads the full channel DI value of the
I-8048W /
I-9048 module.
Syntax
【
C
】
int I8048W_DI_ALL (
int iSlot
);
Parameters
iSlot
[in] Specifies the slot number (1 - 8).
Return Value
Return the full channel DI value.
Example
[C]
int byteData, slotNumber = 0;
byteData = I8048W_DI_ALL(slotNumber) ;
Remarks
Isolated
TTL
JPn selected isolated input
Digital Input
LED
JPn selected TTL input
Digital Input
LED
Input is OPEN
High
OFF
Input is OPEN
High
OFF
Input is 3.5 ~ 30V
Low
ON
Input is 0 ~ 0.8V
Low
ON
Input is 0 ~ 1V
High
OFF
Input is 2 ~ 5V
High
OFF