Dnm100_Setattribute - ICP DAS USA PISO-DNM100-D User Manual

Devicenet master pci board
Table of Contents

Advertisement

4.4.24 DNM100_SetAttribute

Description:
The method is used to set the attribute of the specific device's
instance. Before calling this function, you must start the device. After
calling
"DNM100_SetAttributeResponse" to check the response message
returned from the remote slave device.
Syntax:
DWORD DNM100_SetAttribute (BYTE BoardNo, BYTE DesMACID,
Parameter:
BoardNo: [input] PISO-DNM100 board number (0~15)
DestMACID: [input] The remote slave device's MAC ID (0~63)
ClassID: [input] The remote slave device's ClassID
InstanceID: [input] The remote slave device's InstanceID
AttributeID: [input] The remote slave device's AttributeID
DataLen: [input] The length of the attribute value (in byte).
DATA: [input] The attribute value that the users want to send.
Return:
DNM100_NoError (0): OK
DNM100_DriverError (10001): Kernel driver is not opened.
DNM100_ActiveBoardError (10002): This board can not be activated or
DNM100_BoardNumberError (10003): BoardNo exceeds the current
DNM100_TimeOut (10023): The PISO-DNM100 has no response.
Others: Please refer to Table 4.2.2 ~ Table 4.2.9
PISO-DNM100 DeviceNet Master API functions User's Manual (Ver: 1.0)
this
function,
you
should
BYTE ClassID, BYTE InstanceID,
BYTE AttributeID, WORD DataLen,
BYTE *DATA)
kernel driver can not be found.
scanned total board number.
execute
the
2008/02/25
85

Advertisement

Table of Contents
loading

This manual is also suitable for:

Piso-dnm100-t

Table of Contents