Professional Documents
Culture Documents
PKS - TDC 3000 Customer Resource Manual: How To Read and Analyze The Clock Status Word (CSW)
PKS - TDC 3000 Customer Resource Manual: How To Read and Analyze The Clock Status Word (CSW)
PKS - TDC 3000 Customer Resource Manual: How To Read and Analyze The Clock Status Word (CSW)
Background By using SMCC it is possible to look at the CSW in any node on the LCN.
This word will indicate if that node is having any problems receiving the clock
signal on either cable. By disconnecting one clock board at a time it is
possible to determine if the LCN cables are crossed at any node. These
instructions will work on any release of software and any type of processor
board.
The memory location of the CSW is different for different node types,
processor types, and software releases. On a given system/release the
location would have to be calculated for each node/ processor type. It
requires going through two address pointers to locate the real memory
location of the CSW. Fortunately, the first pointer address is always the
same for a given processor type.
HOW TO READ AND ANALYZE THE CLOCK STATUS WORD (CSW), Continued
4. Each memory location is one 16 bit (2 byte) word. The first two words are
the pointer to the next memory location, if we use a US loaded with the
operator personality. This would be different if engineer personality. With a
68020 processor and running on release 230 we will get the following results.
Because it's a 68020 processor we will look at location 84084.
The first line will start like this:
To get the memory location for the second pointer, we need to add the hex
value of "C" for the value at this location (000982E0 + C = 982EC). You
always add "C" to the value. This value "C" doesn't change with node type or
software release. This value is the memory location where the second
pointer will be found.
5. Press the display back key to get to the Module Memory parameter screen.
For First Memory Address enter the value 982EC. The memory data display
will now look like this:
6. This value (0008C356) with the hex value "2A" added to it will be the pointer
to the memory location of the CSW. This value "2A" doesn't change with
node type or software release. This pointer is 0008C356 + 2A = 8C380. The
clock status word will be found at memory location 8C380 for all US stations
running on R230 Operator Personality and having a 68020 processor (HMPU
or HPK2).
You only need to do this once for each node/processor type because the
final pointer address (CSW location) will be the same for all nodes of this
type on this software release.
7. In the Service Manual (Book TDC 960 for R210/230 or TDC 860 for R200)
under tab "Test Programs" is document "LCNI Network Communications
Test" (SW13-208 or SW13-108). In section 2.3 the decoding of the CSW is
explained. The following information is from that section.
HOW TO READ AND ANALYZE THE CLOCK STATUS WORD (CSW), Continued
Clock Status Word (CSW) Format
15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 BIT POSITION
Examples Under normal operation, the clock subsystem will alternate cables every 50
ms. This will result in two correct clock status values being seen in any
node. The following are good clock status values.
1. Good Master Clock status values = 101A & 101C
2. Good Slave Clock status values = 601A & 601C
3. Good status all other nodes = A00A & A00C
HOW TO READ AND ANALYZE THE CLOCK STATUS WORD (CSW), Continued
SUPPLEMENTARY INFORMATION
00 = Unknown
01 = Unknown cable data error
02 = Unknown cable time update error
03 = Cable A communication error
04 = Cable A data error
05 = Cable A time update error
06 = Cable B communication error
07 = Cable B data error
08 = Cable B time update error