79
Communications Control API
Section A-3
A-3-2
CPNT_StartCycleEx (Start Communications Cycles in the
Detailed Setting)
Purpose
Start the communications cycles in the detailed setting.
Call Format
BOOL CPNT_StartCycleEx(
HANDLE Handle,
CPNT_SOFTWARE_TABLE*SoftwareTable,
WORD DataRate,
CPNT_EX_TABLE *ExTable,
WORD EnableList
) ;
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 function is used to start the communications in the detailed setting.
The function cannot be executed during the communications cycles.
Enable List
Type
Parameter
Direction
Description
HANDLE
Handle
IN
Device handle obtained with the
function CPNT_Open
CPNT_SOFT
WARE_TABLE
*SoftwareTable IN
Specify the number of occupied
nodes.
WORD
DataRate
IN
Specify the data rate.
0: 4 Mbps
1: 3 Mbps
2: 1.5 Mbps
3: 93.75 kbps
CPNT_EX_TA
BLE
*ExTable
IN
Specify the detailed setting table.
WORD
EnableList
IN
Specify the detailed setting to be
used.
Bit
Flag
Description
0
Communications
stop due to
communications
error function flag
0 (OFF): Disabled
1 (ON): Enabled
1
I/O communications
manual startup
function flag
0 (OFF): Disabled
1 (ON): Enabled
2
IN data zero clear
due to
communications
error function flag
0 (OFF): Disabled
1 (ON): Enabled
3 to 7
Reserved area
Always set to 0 (OFF)
8
Registration table
function flag
0 (OFF): Disabled
1 (ON): Enabled
When it is enabled, set the necessary data to the
structure CPNT_EX_TABLE.
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: ......