I-8124W DeviceNet Master API functions User’s Manual (V 1.6) 2021/10/04
82
4.3.34 I8124_GetScanList
4.3.34 I8124_GetScanList
Description:
This function will get all the ScanList data in the I-8124W.
Syntax:
DWORD I8124_GetScanList (BYTE cSlot, WORD *TotalDevices,
BYTE *DesMACIDList,
BYTE *ConnectionTypeList,
WORD *InputDataLenList,
WORD *OutputDataLenList,
WORD *EPR_List)
Parameter:
cSlot:
[input] The slot number which the I-8124W is plugged in.
TotalDevices:
[output] The data count of all the information.
DestMACIDList:
[output] The MAC ID of all the slave devices in the
ScanList.
ConnectionTypeList:
[output] The connection type of all the slave
devices in the ScanList.
0 : Explicit connection type
1 : Poll connection type
2 : Bit-Strobe connection type
3 : COS connection type
4 : Cyclic connection type
InputDataLenList:
[output] The input data length of all the slave devices
in the ScanList.
OutputDataLenList:
[output] The output data length of all the slave
devices in the ScanList.
EPR_List:
[output] The EPR value of all the slave devices in the
ScanList.
Return:
Please refer to the chapter 4.2 for the function return code.