Installation manual
Publication 1747-RM001G-EN-P - November 2008
Understanding Interrupt Routines 11-7
Subroutine File 5 - Executed for Error 0034h
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:2.0/0 is energized. Fault code 0034h is displayed in the status file.
If the preset of timer T4:0 is negative, S:1/13 remains set and the processor
enters the Fault mode (O:2.0/0 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 is set and the processor enters the Fault mode. If previously set,
O:2.0/0 is reset.
0000
SBR
Subroutine
SBR LES
Less Than (A<B)
Source A T4:0.ACC
0<
Source B 0
0<
U
S:1
13
Major
Error
Halted
CLR
Clear
Dest T4:0.ACC
0<
CLR
O:2
0
1746-OW8
O:2
0
1746-OW8
0001
RET
Return
0002
END
The following rung toggles an output every time an error code of 0034h has occurred in the processor assuming the reason for the error
was a negative value in timer T4:0.
The following run returns program execution back to the main program.