Advantech ADAM-5511 Manual page 206

Table of Contents

Advertisement

Set5050, Set5056, Set5060, Set5068
Syntax:
void Set5050(void *pValue, int Board, int Bit, int Size)
void Set5056(void *pValue, int Board, int Bit, int Size)
void Set5060(void *pValue, int Board, int Bit, int Size)
void Set5068(void *pValue, int Board, int Bit, int Size)
Description:
Sets the digital output for ADAM-5050, ADAM-5056, ADAM-5060
and ADAM-5068 modules to the specified values.
Parameter
pValue
Board
Bit
Size
Return Value:
None.
Example:
void main()
Description
The digital value specified by the user to
be output
0 to 3 (Slot0 .. Slot3)
See "Size" parameter below
ABit, AByte, AWord
If Size = ABit, Bit = 0...15 (pin0 ... pin15)
If Size = AByte, Bit = 0 is Low Byte data
Bit = 8 is High Byte data
If Size = AWord, Bit does not care,
always word data

Advertisement

Table of Contents
loading

Table of Contents