4-2
Section
Structure Descriptions
57
4-2-3 NSTBUFFER/*PNSTBUFFER Structure
This structure stores network status that has been read. It is used by ClkGetNet-
workStatus().
Type
Variable name
Contents
BYTE
byConnectionMethod
Wired/optical discrimination, transmission path form, etc.
Bit
––: Not specified.
Maximum number of nodes supported
00: 32 nodes
01: 64 nodes
Transmission path
0: Token bus
1: Token ring
Connection type
0: Wired
1: Optical ring
Note
When optical and optical ring connections are combined, the maxi-
mum number of nodes supported will be given as 62 nodes for an opti-
cal ring connection even if the maximum number of nodes is 32.
BYTE
byMyNodeAddr
Local unit address
Stores the local unit address set for the Controller Link Board.
BYTE
byMyUnitAddr
Local unit address
Stores the local unit address set for the Controller Link Board.
BYTE
byMyNetAddr
Local network address
Stores the local network address set for the Controller Link Board.
BYTE
abyNodeList[32]
Network participation status
Stores a list of the nodes participating in the network.
Bit
[0]
[1]
[2]
[30]
[31]
Node 1
Reserved
Node 3
Node 2
Node 5
Node 4
Node 61
Node 60
Reserved
Node 62
Node Participation Information
0: Not participating in network
1: Participating in network
0: Normal disconnection
1: Error disconnection
(when not participating)
0: Normal
1: No response to polling.
Note
For Wired Systems, the above information is valid through node 32
(lower 4 bytes of abyNodeList[16]).
WORD
wComunicationCycleTime
Communications cycle time
Stores the current value of the communications cycle time. (unit: 0.1 ms)
BYTE
byPollingNodeAddr
Polling node address
Stores the node address of the current polling node.
BYTE
byStatus1
Reserved area
Stores undetermined data.
BYTE
byStatus2
Baud rate, power supply status, terminating resistance setting status
For Wired Systems, stores the set baud rate and the setting of the
terminating resistance switch.
For Optical Ring System, stores the power supply status.
Bit
Baud rate
0x1: 2 Mbits/s
0x2: 1 Mbits/s
0x3: 500 kbits/s
Wired System
0: Terminating resistance switch OFF
1: Terminating resistance switch ON
Optical System
0: No backup power supply
1: Backup power supply
Содержание SYSMAC 3G8F7-CLK12-E
Страница 2: ......
Страница 4: ......
Страница 6: ......
Страница 10: ......
Страница 16: ......
Страница 30: ...1 2 Section Specifications and Configurations 14 1 2 5 Dimensions Wired Model 3G8F7 CLK21 E Unit mm ...
Страница 36: ......
Страница 56: ......
Страница 62: ......
Страница 78: ......
Страница 94: ......
Страница 128: ......
Страница 140: ......
Страница 158: ......