![background image](http://html1.mh-extra.com/html/icp-das-usa/piso-dnm100-d/piso-dnm100-d_user-manual_4476349084.webp)
PISO-DNM100 DeviceNet Master API functions User’s Manual (Ver: 1.0) 2008/02/25
84
4.4.23 DNM100_GetAttributeValue
z
Description:
This function is used to get the attribute value of the specific device’s
instance, which returned from the remote slave device. Before calling this
function, the users should call DNM100_GetAttribute to send request
command first.
z
Syntax:
DWORD DNM100_GetAttributeValue (BYTE BoardNo, BYTE DesMACID,
WORD *DataLen, BYTE *DATA)
z
Parameter:
BoardNo:
[input] PISO-DNM100 board number (0~15)
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.
z
Return:
DNM100_NoError (0):
OK
DNM100_DriverError (10001):
Kernel driver is not opened.
DNM100_ActiveBoardError (10002):
This board can not be activated or
kernel driver can not be found.
DNM100_BoardNumberError (10003):
BoardNo exceeds the current
scanned total board number.
DNM100_TimeOut (10023):
The PISO-DNM100 has no response.
Others:
Please refer to Table 4.2.2 ~ Table 4.2.9 and
Table 4.2.13 ~ Table 4.2.17.