Dio_Do_8_Rb - ICP DAS USA MP-8 43 Series Function Reference

Hide thumbs Also See for MP-8 43 Series:
Table of Contents

Advertisement

2.3.7.3 DIO_DO_8_RB

Description:
To read back the 8-channel digital output value from the i8000 digital I/O
series modules.
Syntax:
unsigned char DIO_DO_8_RB(int
Parameter:
slot :
[Input] the slot number where the I/O module is plugged into.
Return Value:
8-bit digital output data read back value
Example:
int
slot=1;
unsigned char
outData=0x03;
DIO_DO_8(slot, outData);
unsigned char
data;
data=DIO_DO_8_RB(slot);
//The data read back has a digital output value=0x03.
Remark:
This function can be applied on modules: i8054x, i8055x, and i8063x.
http://www.icpdas.com
++
[C
]
slot)
MP-8x43 Function Reference V 1.0
39 

Advertisement

Table of Contents
loading

Table of Contents