Using the fault status service – Rockwell Automation 1336T Function Block Prog. Manual, Series A/B User Manual

Page 170

Advertising
background image

6–8

Handling Exceptions — Faults and Warnings

1336 FORCE — 5.9 August 1995

The function block fault status service actually does more than
identify function block system faults. It also provides information
on other parts of the function block system when not faulted. This
helps when you are troubleshooting the system when first setting up,
particularly when you are downloading with a PLC.

During a download operation while the function block Task Status
operation has a value of 1, word 5 of the Fault Status indicates which
packets have been received successfully.

x

x

x

x

x

x

1

0

x

x

0

1

15

14

13

8

1

0

12

11

10

9

2

3

x

x

x

x

4

7

6

5

Package Download Status

Bit #

Word 5

In this case, word 4 of the Fault Status is zero because the system has
not encountered a fault.

Download Errors

If an attempted download fails the service checks, a warning is
created and word 4 of the Fault Status is zero. Word 5 of the Fault
Status service indicates the problem with the last download:

If bit 8 is set (0x01xx

Hex

), an event value error/warning occurred.

If bit 9 is set (0x02xx

Hex

), a checksum error/warning occurred.

If bit 10 is set (0x04xx

Hex

), a block ID number error/warning

occurred.

The rest of the download service is reset as if nothing occurred to
allow another download attempt.

Invalid Link Fault Condition

If the drive encounters an invalid link during a linear parameter
Recall, a reset, or power up sequence:

Word 4 of the Fault Status will have a value of 200

Hex

or 512

Dec

.

The drive will soft fault invalid function block links in the system
fault queue.

The function block Task Status will be 0xFF

Hex

.

You cannot clear the system fault with the Clear Fault command
until you adjust the invalid link.

Using the Fault Status
Service

Advertising