I-8124W DeviceNet Master API functions User’s Manual (V 1.6) 2021/10/04
80
4.3.32 I8124_GetSearchedDevices
4.3.32 I8124_GetSearchedDevices
Description:
This function will get the information of the device which has been
searched in the network.
Syntax:
DWORD I8124_GetSearchedDevices (BYTE cSlot,
WORD *TotalDevices,
BYTE *DesMACID,
BYTE *Type,
WORD *DeviceInputLen,
WORD *DeviceOutputLen)
Parameter:
cSlot:
[input] The slot number which the I-8124W is plugged in the PAC.
TotalDevices:
[output] The amount of all slave device which ware found.
DesMACID:
[output] The list of slave
’s MAC ID which ware found.
Type:
[output] The list of slave
’s connection type which ware found.
0 : Explicit connection type
1 : Poll connection type
2 : Bit-Strobe connection type
3 : COS connection type
4 : Cyclic connection type
DeviceInputLen:
[output] The list of slave
’s input length which ware
found.
DeviceOutputLen:
[output] The list of slave
’s output length which ware
found.
Return:
Please refer to the chapter 4.2 for the function return code.