Dio_Do_16_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.8.3 DIO_DO_16_RB

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

Advertisement

Table of Contents
loading

Table of Contents