Advantech ADAM-5511 Manual page 208

Table of Contents

Advertisement

Get501718
Syntax:
void Get501718(int Board, int Channel, void *pValue)
Description:
Reads the data value in an I/O module.
Parameter
Board
Channel
*pValue
Note:
The *pValue for ADAM-5017 and ADAM-5018 must
be interpreted in reference to the range input that was
set during module configuration.
Return value:
None.
Example:
void main()
{
int *value, j;
//One ADAM-5018 (ADAM-5017) module on slot 3 of the ADAM-
5511
printf("Get ADAM5018(or ADAM5017)....\n");
Description
0 - 3 for Slot0 ...Slot3
0 - 6 for ADAM-5018
0 - 7 for ADAM-5017
The value returned

Advertisement

Table of Contents
loading

Table of Contents