86
Status Access API
Section A-4
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 get the version of the Device driver.
DRIVER_VERSION_INFO structure
A-4-3
CPNT_GetStatus (Read Basic Status Group)
Purpose
Read the Basic status group.
Call Format
BOOL CPNT_GetStatus (
HANDLE Handle,
CPNT_STATUS *Status
) ;
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 get the Basic status group.
See Section 3-3-1 for the group.
The communications cycles must be running when this function is executed.
CPNT_STATUS structure
See Appendix B.3.3 for the data format.
Type
Parameter
Direction
Description
HANDLE
Handle
IN
Device handle obtained with the
function CPNT_Open
DRIVER_VER
SION_INFO
*VersionInfo
OUT
Pointer to store the version
information
Type
Parameter
Description
WORD
MajorVersion
Major revision of the Device driver
WORD
MinorVersion
Minor revision of the Device driver
Type
Parameter
Direction
Description
HANDLE
Handle
IN
Device handle obtained with the
function CPNT_Open
CPNT_STATU
S
* Status
OUT
Pointer to store the basic status
Type
Parameter
Description
WORD
JoinList[28]
Participation flag
WORD
AwayList[28]
Communications error flag
WORD
State
StateStatus
Summary of Contents for 3G8F7-CRM21
Page 4: ...iv...
Page 10: ...x TABLE OF CONTENTS...
Page 46: ...26 Connecting the Communications Power Supply Cables Section 2 4...
Page 74: ...54 Board Hardware Error Notification Section 4 8...
Page 173: ...153 APPENDIX D Sample Program D 1 Sample Program 154...
Page 230: ...210 Wiring for Power Supply Section E 5...
Page 234: ...214 Index...
Page 236: ...216 Revision History...
Page 237: ......