Advantech ADAM-5511 Manual page 259

Table of Contents

Advertisement

Get4080
Syntax:
char Get4080(int ID, int channel, unsigned long *pValue)
Description:
Get Value from ADAM-4080 Module
Parameter
ID
Channel
*pValue
Return Value:
None
Example:
void main ()
{
unsigned long *Idata80;
//initialize ADAM-4080 as ID#13, Check Sum False
initADAM4080(13, False);
//get value from ADAM-4080, channel 2
Get4080(13, 2, Idata80);
Description
Node number on the network
1~32
channel number of ADAM-4017 module
0~8
The value returned

Advertisement

Table of Contents
loading

Table of Contents