Channels Do Modules; Do_16 - ICP DAS USA MP-8 43 Series Function Reference

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

Advertisement

2.3.2 16 channels DO modules

2.3.2.1 DO_16

Description:
This function is used to output 16-bit data to a digital output module. The
0~15 bits of output data is mapped into the 0~15 channels of digital output
modules respectively.
Syntax:
void DO_16(int
Parameter:
slot :
[Input] the slot number where the I/O module is plugged into.
cdata :
[Input] output data.
Return Value:
None
Example:
int
slot=1;
unsigned int
data=3;
DO_16(slot, data);
//The I-8057x card is plugged in slot 1 of PAC and can turn on channel 0 and 1.
Remark:
This function can be applied on modules: i8037x, i8056x, i8057x.
http://www.icpdas.com
slot,
unsigned int
MP-8x43 Function Reference V 1.0
++
[C
]
cdata)
25 

Advertisement

Table of Contents
loading

Table of Contents