28
Settings at Communications Cycle Startup
Section 3-1
3-1
Settings at Communications Cycle Startup
The function CPNT_StartCycle is used to start the communications cycles for
the CompoNet Master Board from the user application. The function
CPNT_StartCycle uses the data rate and the number of occupied nodes as
arguments.
The command OPEN_SYSTEM is used to start the communications cycles
through the shared memory access.
To enable the superior function and start the communications cycle, execute
the function CPNT_StartCycleEx in Windows or the command
OPEN_SYSTEMEX for shared memory access. See Section 3-5.
3-1-1
Settings Required for Starting the Communications Cycle
Function
Description
Data rate
This is used to set the data rate for a network.
The Slave Units in the same network automatically follow the
data rate of the Master Board.
Data rate is selective among 4 Mbps, 3 Mbps, 1.5 Mbps and
93.75 kbps.
Number of occupied
nodes
The number of nodes can be set individually for Word IN Slave
Units, Word OUT Slave Units, Bit IN Slave Units and Bit OUT
Slave Units.
*1. Every 16 points of a Word IN Slave Unit or a Word OUT
Slave Unit occupies 1 node.
*2. Every 2 points of a Bit IN Slave Unit or a Bit OUT Slave Unit
occupies 1 node.
*3. Node addresses are allocated to Slave Units in ascending
order starting from #0. Unused addresses are also included
in this allocation order. They cannot be skipped.
*4. Only the Slave Units in this set range are to participate. Not
all of the occupied areas are necessarily allocated by a
Slave Unit.
Example: When a system consists of Slave Units as shown in
the table below, the number of nodes occupied by each type of
Slave Units are:
8 by Word IN Slave Units,
3 by Word OUT Slave Unit, (*3)
3 by Bit IN Slave Unit,
10 by Bit OUT Slave Units (*3)
Slave type
Node
address
# of points Remarks
0
Word IN Slave Unit
16
1
Word IN Slave Unit
32
(*1)
3
Word IN Slave Unit
16
4
Word IN Slave Unit
64
(*1)
1
Word OUT Slave Unit
32
(*1)
0
Bit IN Slave Unit
4
(*2)
2
Bit IN Slave Unit
2
0
Bit OUT Slave Unit
2
9
Bit OUT Slave Unit
2
Содержание 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: ......