I-8124W DeviceNet Master API functions User’s Manual (V 1.6) 2021/10/04
87
4.3.38 I8124_SendExplicitMSG
Description:
This function is used to send the explicit request command to
retrieve or configure the attribut
e 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_GetExplicitMSGRespValue” 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_SendExplicitMSG_W”.
Syntax:
DWORD I8124_SendExplicitMSG (BYTE cSlot, BYTE DesMACID,
BYTE ServiceID, BYTE ClassID,
BYTE 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(
BYTE
).
InstanceID:
[input]
The remote slave device’s InstanceID(
BYTE
).
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.