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

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

Advertisement

2.3.1 8 channels DO modules

2.3.1.1 DO_8

Description:
This function is used to output 8-bit data to a digital output module. The 0~7
bits of output data is mapped into the 0~7 channels of digital module output
respectively.
Syntax:
void DO_8(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;
char
data=3;
DO_8(slot, data);
//The I-8064x card is plugged in slot 1 of PAC and can turn on channel 0 and 1.
Remark:
This function can be applied on modules: i8060x, i8064x, i8065x, i8066x,
i8068x, and i8069x.
http://www.icpdas.com
slot,
unsigned char
MP-8x43 Function Reference V 1.0
++
[C
]
cdata)
22 

Advertisement

Table of Contents
loading

Table of Contents