I-8124W DeviceNet Master API functions User’s Manual (V 1.6) 2021/10/04
65
4.3.17 I8124_AddDevice
Description:
This function can add the slave devices into the ScanList of the I-
8124W and save the information into the EEPROM. Before
communicating with any slave device, users should call this function to
add the slave device.
Syntax:
DWORD I8124_AddDevice (BYTE cSlot, BYTE DesMACID,
WORD Explicit_EPR)
Parameter:
cSlot:
[input] The slot number which the I-8124W is plugged in.
DestMACID:
[input] The remote slave device’s MAC ID (0~63)
Explicit_EPR:
[input] The Expected Packet Rate. (Usually is 2500).
Return:
Please refer to the chapter 4.2 for the function return code.