Fault status read – Rockwell Automation 1336T Function Block Prog. Manual, Series A/B User Manual

Page 129

Advertising
background image

5–13

Block Transfer Services

1336 FORCE — 5.9 August 1995

Word 5 is interpreted differently depending on the type of compiler
fault.

If Word 4 is 2, Word 5 contains the function block number for the
first input parameter or node that has an invalid link. A function
block link fault occurs when the compiler is processing links and
encounters a function block node with a link to an invalid output
node.

If Word 4 is clear and a download is incomplete, the first four bits
of Word 5 correspond to the packets the system has received.
The drive sets the bits as it receives up to four packets.

If Word 4 is 0, Word 5 contains the execution number of the first
illegal event in the execution list. This warning occurs when the
compiler is processing a function block program and encounters a
bad event value.

Note: The drive fault queue contains a textual description of the
current fault.

If you receive an I/O node limit error (indicated when Word 4 is 4),
the execution list contains more than the allowable number of nodes.

An invalid node reference can occur if a node does not exist.
Chapter 6 provides information about handling invalid node
references.

Example

The following examples show a drive function block fault.

1

0

N10:10

2

3

4

5

6

7

8

9

N10:90

BTW
Data File

BTR
Data File

Data Format

0

0

2

0

0

0F05

0F05

810A

Example 1

1

0

N10:10

2

3

4

5

6

7

8

9

N10:90

BTW
Data File

BTR
Data File

0

0

1024

0

0

3845

3845

6

Example 2

Link ID of the node

Specifies that block 6

in the execution list is illegal

Dec

that has an invalid link

Specifies a link

processing error

Fault Status Read

(continued)

"

Advertising