77
Communications Control API
Section A-3
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
•
With this function, the Board is reset. All data that has been set is cleared.
Handle is not closed.
•
With this function, the communications cycles have stopped. To resume the
communications, execute the function CPNT_StartCycle or
CPNT_StartCycleEx.
A-2-4
CPNT_IsExistBoard (Check Board Existence)
Purpose
Check if the Board which has the specified Board ID is installed.
Call Format
BOOL CPNT_IsExistBoard(WORD BoardId) ;
Argument
Returned value
It returns TRUE when the Board of specified ID exists.
It returns FALSE when an error occurs, when no Board with specified ID
exists or when the Board of specified ID is opened by other process.
The error details can be obtained with the function GetLastError.
Remarks
•
This function is used to check the IDs of mounted Boards.
•
The Board ID is set by the rotary switch on the Board.
A-3
Communications Control API
A-3-1
CPNT_StartCycle (Start Communications Cycles)
Purpose
Start the communications cycles.
Call Format
BOOL CPNT_StartCycle(
HANDLE Handle,
CPNT_SOFTWARE_TABLE *SoftwareTable,
WORD DataRate
) ;
Type
Parameter
Direction
Description
WORD
BoardId
IN
ID of Board whose existence is
checked
Specified range: 0x0 to 0x9 (0 to 9)
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: ......