I-8124W DeviceNet Master API functions User’s Manual (V 1.6) 2021/10/04
88
4.3.39 I8124_SendExplicitMSG_W
Description:
This function is used to send the explicit request command to
retrieve or configure
the attribute value of the specific device’s instance.
Before calling this function, you must start the device. After calling this
funct
ion, you should execute the “I8124_GetExplicitMSGRespValue” 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_SendExplicitMSG”.
Syntax:
DWORD I8124_SendExplicitMSG_W (BYTE cSlot, BYTE DesMACID,
BYTE ServiceID,
WORD
ClassID,
WORD
InstanceID,WORD DataLen,
BYTE *DATA)
Parameter:
cSlot:
[input] The slot number which the I-8124W is plugged in.
DestMACID:
[input] The remote slave device’s MAC ID (0~63)
ServiceID:
[input]
The remote slave device’s ServiceID.
ClassID:
[input]
The remote slave device’s ClassID(
WORD
).
InstanceID:
[input]
The remote slave device’s InstanceID(
WORD
).
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.