Reading The Ring Status - Omron CS1W-CLK12-V1 Operation Manual

Optical ring controller link units
Hide thumbs Also See for CS1W-CLK12-V1:
Table of Contents

Advertisement

Locating and Correcting Cable Disconnections

10-4-5 Reading the Ring Status

Structure of the Ring
Status Word
Note The disconnected node information is valid only when bit 15 (the Network
Disconnection Flag) is ON. If bit 15 is OFF, the earlier disconnected node
information is retained.
244
• Sends the 06 06 FINS command to all Communications Units (except the
local node) in the local network.
• Sets the control data.
DM word Contents
D00000
00
D00001
00
D00002
00
D00003
00
D00004
07
D00005
00
• Sends the 06 06 FINS command to the Communications Unit at the local
node in the local network.
Note When using the sample program as written above, be sure that the bits and
words in the sample program are not already being used by the program or
other Special Units.
It is necessary to know the structure of the ring status word when displaying
the word on a Programmable Terminal or other device because several pieces
of information are combined in the ring status word. In particular, the "node
address of disconnected node" is stored in hexadecimal and mixed with other
status flags, so the node addresses must be extracted and converted to deci-
mal.
The sample programs shown below read the two "node address of discon-
nected node" addresses and store these addresses in the DM area in BCD
format. In this example, the Controller Link Unit's unit number is 0.
The following diagram shows the structure of the ring status word.
Node address of disconnected node (hexadecimal, 2 digits)
(00 Hex: No disconnected nodes detected.)
Disconnected Interface Flag
0: SL1 (uplink) or normal status
1: SL2 (downlink)
Local Node Disconnection Flag
0: Normal
1: Disconnection detected
Node address of disconnected node (hexadecimal, 2 digits)
(00 Hex: No disconnected nodes detected.)
Disconnected Interface Flag
0: SL1 (uplink) or normal status
1: SL2 (uplink)
Network Disconnection Flag
0: Normal
1: Disconnection detected
02
Number of bytes of command data = 2 bytes
04
Number of bytes of response data = 4 bytes
00
Destination network address = 0 (the local network)
FE
Destination node address = 00 (local node)
Destination unit address = FE (Communications Unit)
02
Response required,
Transmission port number = 7,
Number of retries = 2
64
Response monitoring time = 10 s
Section 10-4
Function
Disconnected node
information #2
(See note.)
Disconnected node
information #1
(See note.)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cvm1-clk12Cs1w-clk52-v1Cvm1-clk52

Table of Contents