You are on page 1of 4

PKS™ - TDC 3000® TAB PD 15

CUSTOMER PAGE A04 (D)


RESOURCE MANUAL DATE 29 MAY 1990

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.

Action To locate the Clock Status Word (CSW)


1. From a station in the engineering personality select
'SMCC/MAINTENANCE' from the MAIN MENU.
2. From the SMCC MAIN MENU select "MODULE MEMORY".
3. The MODULE MEMORY display requests four parameters.

A. ENTER Module Number: This will be the node number


you want to examine.
B. ENTER First Memory Address: 82084 if node processor is a
68000 or 84084 if node
processor is a 68020, or 68040.
All values are Hexadecimal
C. ENTER cyclic Update Interval: Default is "OFF", type 0, space.
This is seconds between
update. This will keep updating
the display at its fastest rate.
D. ENTER Change Detect: Default is "OFF", type ON &
space. This will cause memory
locations that change to display
in white.

Continued on next page

Honeywell Automation and Control Solutions


TAB PD 15 A04 (D) PAGE 2 DATE 29 MAY 1990

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:

084084 0009 82E0

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:

0982EC 0008 C356

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).

08C380 abcd (abcd = CSW)

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.

Continued on next page

Honeywell Automation and Control Solutions


TAB PD 15 A04 (D) PAGE 3 DATE 29 MAY 1990

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

Time set in progress


Cable select status (note 1)
Receive alternate cable status (Yes if = 1)
Transmit active (Master or Slave Status)
Cable error count (during current 1 second)
Interrupt queued
Power Line sync error count
Received message error statue (note 2)
Sync source (note 3)
Mode (note 4)

Notes Explanation of Clock Status Indicators

1. Cable Select Status (during the last 50 ms)


00 = Received no time update
01 = Received Cable A time update
10 = Received Cable B time update
2. Received Message Error Status (during past 50 ms period)
00 = No error
01 = Communication error
10 = Invalid Data Code
11 = Invalid Time Update
3. Sync Source
00 = clock in not synchronized
01 = Clock is synchronized to the power line
10 = Clock is synchronized to the received message interrupt
4. Mode
00 = Master Clock source mode is selected
01 = Slave Clock source mode is selected
10 = Listener only mode selected
11 = Local mode is selected

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

Continued on next page

Honeywell Automation and Control Solutions


TAB PD 15 A04 (D) PAGE 4 DATE 29 MAY 1990

HOW TO READ AND ANALYZE THE CLOCK STATUS WORD (CSW), Continued

SUPPLEMENTARY INFORMATION

Explanation of "INVESTIGATE SUSPECT CLOCK" messages

The message will show up in the "SYSTEM MAINTENANCE JOURNAL". On


the far right the message will have "CLOKxx". "xx" may be a number
between 00 and 08. Note that the Clock Status Word is a more accurate
indicator of the condition of the clock signal at each node.

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

Honeywell Automation and Control Solutions

You might also like