I-8124W DeviceNet Master API functions User’s Manual (V 1.6) 2021/10/04
72
4.3.24 I8124_GetAttributeValue
4.3.24 I8124_GetAttributeValue
Description:
This function is used to get the attribute value of the specific device’s
instance from the remote slave device. Before calling this function, users
should call I8124_GetAttributeW to send request command first.
Syntax:
DWORD I8124_GetAttributeValue (BYTE cSlot, BYTE DesMACID,
WORD *DataLen, BYTE *DATA)
Parameter:
cSlot:
[input] The slot number which the I-8124W is plugged in.
DestMACID:
[input] The remote slave device’s MAC ID (0~63)
DataLen:
[output] The length of the attribute value (in byte).
DATA:
[output] The attribute value that returned from the slave device.
Return:
Please refer to the chapter 4.2 for the function return code.