I-8124W DeviceNet Master API functions User’s Manual (V 1.6) 2021/10/04
70
4.3.22 I8124_GetAttributeW
Description:
This function is used to send the request command to retrieve the
attribute value of the specific device’s instance. Before calling this
function, you must start the device. After calling this function, you should
execute the “I8124_GetAttributeValue” to get the response message
returned from the remote slave device.
This function could totally complain with the old function which has
the same name without the “W”. The user could use this function instead
of the “I8124_GetAttribute”.
Syntax:
DWORD I8124_GetAttributeW (BYTE cSlot, BYTE DesMACID,
WORD
ClassID,
WORD
InstanceID,
BYTE AttributeID)
Parameter:
cSlot:
[input] The slot number which the I-8124W is plugged in.
DestMACID:
[input] The remote slave device’s MAC ID (0~63)
ClassID:
[input] The remo
te slave device’s ClassID(
WORD
)
InstanceID:
[input] The remote slave device’s InstanceID(
WORD
)
AttributeID:
[input] The remote slave device’s AttributeID
Return:
Please refer to the chapter 4.2 for the function return code.