I8124_Sendexplicitmsg - ICP DAS USA I-8124W User Manual

Devicenet master module
Table of Contents

Advertisement

4.3.38 I8124_SendExplicitMSG

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
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,
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.
I-8124W DeviceNet Master API functions User's Manual (V 1.6)
BYTE ServiceID, BYTE ClassID,
BYTE InstanceID,WORD DataLen,
BYTE *DATA)
2021/10/04
87

Advertisement

Table of Contents
loading

Table of Contents