beautypg.com

Rockwell Automation 1747-PT1, D1747NP002 Hand-Held Terminal User Manual

Page 420

background image

5/02 Processor Only

Chapter 29
Understanding the User Fault Routine –

29–8

Subroutine File 5 – Executed for error 0034

NEGATIVE VALUE IN TIMER PRE OR ACC

If the accumulator value of timer T4:0 is negative, the major error halted bit,
S:1/13 is unlatched, preventing the processor from entering the fault mode. At
the same time, the accumulator value T4:0.ACC is cleared to zero and output
O:3.0/3 is energized. Fault code 0034 will be indicated in the status file
display.

If the preset of timer T4:0 is negative, S:1/13 will remain set and the processor
will enter the fault mode (O:3.0/3 will be reset if previously set). Also, if either
the preset or accumulator value of any other timer in the program is negative,
S:1/13 will be set and the processor will enter the fault mode (O:3.0/3 will be
reset if previously set).

Status File Display – T4:0.ACC is negative.

END

(U)

S:1

13

RET

RETURN

SBR

SUBROUTINE

LES

LESS THAN
Source A

T4:0.ACC

0

Source B

0

CLR

CLEAR
Dest

T4:0.ACC

0

( )

O:3.0

3

Fault code and description are indicated.

S:1/13 Cleared

F1

F2

F3

F4

F5

Status File
S2:5 Minor Fault 0000 0000 0000 0000
S2:6 Fault Code 0034H
Desc: Negative Value in Time PRE or ACC
S2:29 Err File: 0 Indx Cross File: No
S2:24 Index Reg: 0 Single Step: No
S2:5/0 = 0 PRG
ADDRESS NEXT FL PREV FL NEXT PG PREV PG

F1

F2

F3

F4

F5

Status File
Arithmetic Flags S:0 Z:0 V:0 C:0
S2:0 Proc Status 0000 0000 0000 0000
S2:1 Proc Status 0000 0000 1000 0001
S2:2 Proc Status 1000 0000 0000 0010

S2:0/0 = 0 PRG
ADDRESS NEXT FL PREV FL NEXT PG PREV PG