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

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

Advertisement

2.3.3 32 channels DO modules

2.3.3.1 DO_32

Description:
Output the 32-bit data to a digital output module. The 0~31 bits of output
data are mapped into the 0~31 channels of digital output modules respectively.
Syntax:
void DO_32(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 long
data=3;
DO_32(slot, data);
//The I-8041x card is plugged in slot 1 of PAC and can turn on channel 0 and 1.
Remark:
This function can be applied on module: i8041x.
http://www.icpdas.com
slot,
unsigned long
MP-8x43 Function Reference V 1.0
++
[C
]
cdata)
28 

Advertisement

Table of Contents
loading

Table of Contents