I8124_Setattributew - ICP DAS USA I-8124W User Manual

Devicenet master module
Table of Contents

Advertisement

4.3.26 I8124_SetAttributeW

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 this function, you should execute the "I8124_IsSetAttributeOK" to
check 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_SetAttribute".
Syntax:
DWORD I8124_SetAttributeW (BYTE cSlot, BYTE DesMACID,
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 slave device's ClassID(WORD)
InstanceID: [input] The remote slave device's InstanceID(WORD)
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:
Please refer to the chapter 4.2 for the function return code.
I-8124W DeviceNet Master API functions User's Manual (V 1.6)
WORD
ClassID,
WORD
BYTE AttributeID, WORD DataLen,
BYTE *DATA)
2021/10/04
InstanceID,
74

Advertisement

Table of Contents
loading

Table of Contents