96
Explicit Messaging API
Section A-6
A-6-5
CPNT_ReceiveExplicit (Get Explicit Response Message)
Purpose
Read the Explicit response message.
Call Format
BOOL CPNT_ReceiveExplicit (
HANDLE Handle,
CPNT_EXPLICIT_RES *ExplicitRes
) ;
Argument
Returned value
It returns TRUE when the function succeeds.
It returns FALSE when an error occurs. The error details can be obtained with
the function GetLastError.
Remarks
The function CPNT_SendExplicit must be executed prior to this function.
CPNT_EXPLICIT_RES structure
Type
Parameter
Direction
Description
HANDLE
Handle
IN
Device handle obtained with the
function CPNT_Open
CPNT_EXPLI
CIT_RES
*ExplicitRes
OUT
Set the pointer to store the
response.
Type
Parameter
Description
BYTE
Sid
Stores the same value as set for Sid of a
request.
BYTE
Rsv
Reserved area
WORD
SrcMacId
MAC address (or the address over
CompoNet protocol) of the source Unit of a
response,
[For Word IN Slave Unit]
MAC address=Node address
[For Word OUT Slave Unit]
MAC address=64+Node address
[For Bit IN Slave Unit]
MAC address=128+Node address
[For Bit OUT Slave Unit]
MAC address=256+Node address
[Repeater Unit]
MAC address=384+Node address
[For Master]
MAC address=448
WORD
ServiceCode
Stores the Service code of an explicit
message.
WORD
ServiceDataSize
Stores the Service data size (in bytes) of an
explicit message.
BYTE
ServiceData[532]
Store the Service data of an explicit
message.
Содержание 3G8F7-CRM21
Страница 4: ...iv...
Страница 10: ...x TABLE OF CONTENTS...
Страница 30: ...10 Specifications Section 1 7 1 7 3 Dimensions 3G8F7 CRM21 PCI unit mm 3G8F8 CRM21 CompactPCI unit mm...
Страница 46: ...26 Connecting the Communications Power Supply Cables Section 2 4...
Страница 74: ...54 Board Hardware Error Notification Section 4 8...
Страница 173: ...153 APPENDIX D Sample Program D 1 Sample Program 154...
Страница 230: ...210 Wiring for Power Supply Section E 5...
Страница 234: ...214 Index...
Страница 236: ...216 Revision History...
Страница 237: ......