7 system diagnostics, Ras functions, User’s manual – Toshiba T2N User Manual

Page 142

Advertising
background image

5.RAS Functions

User’s manual

129

The following functions are provided for diagnosis of operation/status. The system

can be monitored easily using of these functions.

(1) Diagnostics display function

Use of the diagnostics display instruction (DIAG) in the user program, the

relevant error code (1-64) and error message (maximum 12 characters per

message) can be displayed on the programmer screen. Also, the error

code generated is stored in the special register (SW016-SW033) in order

of generation up to a maximum of 16 codes and the annunciator relay

(S0340-S037F) corresponding to the error code goes ON. It is possible to

use the special register/relay to display the error code on an external

display monitor.

The error code registered can be reset one at a time (shift up after erased)

using the programmer or by the diagnostics display reset instruction (DIAR).

This function may also be used effectively in conjunction with the bit

pattern check and the sequence time over detection mentioned below.

(Refer to details of diagnosis display command in other manual on

instruction set.)

When error codes are registered, for example 3, 10, 29, 58, each

corresponding annunciator relay, S0342, S0349, S035C, S0379 comes ON.

5.7

System diagnostics

first error code

number of codes

first error code

error code 2

error code 3

error code 4

SW016

SW017

SW018

SW019

SW020

SW021

SW033

diagnostics display instruction run

(error codes registered to the end)

diagnostics display reset instruction

run or reset by programmer

display on programmer

(first error code and

corresponding error

message)

16 15 14 13 12 11

9

8

7

6

5

4

2

1

32 31 30

28 27 26 25 24 23 22 21 20 19 18 17

48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33

64 63 62 61 60 59

57 56 55 54 53 52 51 50 49

29

SW034

SW035

SW036

SW037

F

E

D C B

A

9

8

7

6

5

4

3

2

0

1

(Annunciator relay)

3

10

58

Advertising