87
Status Access API
Section A-4
A-4-4
CPNT_GetStatusEx (Read Detailed Status Group)
Purpose
Read the Detailed status group.
Call Format
BOOL CPNT_GetStatusEx (
HANDLE Handle,
CPNT_STATUSEX *StatusEx,
WORD StatusExInfo
) ;
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
This is used to read the Detailed status group.
See Section 3.3.2 for the group.
To execute this function, the communications cycles must be running.
CPNT_STATUSEX structure
See Appendix B.3.6 for the data format.
Type
Parameter
Direction
Description
HANDLE
Handle
IN
Device handle obtained with the
function CPNT_Open
CPNT_STATU
SEX
*StatusEx
OUT
Pointer to store the detailed status
WORD
StatusExInfo
IN
Specify the detailed status to read.
Type
Parameter
Description
WORD
CommunicationFault[28]
Duplication error flag
WORD
NonExistentError[24]
Registration error (Registered Slave not
participating) flag
WORD
UnRegisteredError[24]
Registration error (Non-registered Slave
participating) flag
WORD
RepeaterError[28]
Repeater configuration error
WORD
EventOnly[28]
EO Slave Unit
WORD
MasterStatus[9]
Master status
WORD
ErrorCounter[224]
Error counter
WORD
NetworkPower[1]
Network power state
WORD
JoinIdentityTable[2912]
Participated Slave Unit identity table
WORD
RepeaterStructure[448]
Repeater configuration information
WORD
Alarm[112]
Alarm information
WORD
ErrorLog[321]
Error log
WORD
Tmp[7]
Reserved area (Content is indefinite)
WORD
RegistrationTableSample[17
31]
Registration table example
Содержание 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: ......