I-8124W DeviceNet Master API functions User’s Manual (V 1.6) 2021/10/04
69
4.3.21 I8124_GetAttribute
4.3.21 I8124_GetAttribute
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 old function will be removed in the future. Please use the new
function which is “I8124_GetAttributeW”.
Syntax:
DWORD I8124_GetAttribute (BYTE cSlot, BYTE DesMACID,
BYTE ClassID, BYTE 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 remote slav
e device’s ClassID(
BYTE
)
InstanceID:
[input] The remote slave device’s InstanceID(
BYTE
)
AttributeID:
[input] The remote slave device’s AttributeID
Return:
Please refer to the chapter 4.2 for the function return code.