Advantech ADAM-5511 Manual page 204

Table of Contents

Advertisement

Get5050, Get5051, Get5052
Syntax:
void Get5050(int Board, int Bit, int Size, void *pValue)
void Get5051(int Board, int Bit, int Size, void *pValue)
void Get5052(int Board, int Bit, int Size, void *pValue)
Description:
Reads the data value in an I/O module.
Parameter
Board
Bit
Size
pValue
Return value:
None.
Example:
void main()
{
Description
ADAM-5511 slot number, from 0 to 3.
See "Size" parameter below.
ABit, AByte, AWord
If Size= ABit, Bit=0..15 (pin0..pin15)
If Size=AByte, Bit=0 for Low Byte data;
Bit=8 for High Byte data If Size=AWord,
Bit does not care. Always word data.
The value returned.

Advertisement

Table of Contents
loading

Table of Contents