Application status services, Plc block transfer instruction data, Message operation – Rockwell Automation 1336T Function Block Prog. Manual, Series A/B User Manual

Page 128: Fault status read

Advertising
background image

5–12

Block Transfer Services

1336 FORCE — 5.9 August 1995

The Fault Status Read message reads the fault code information from
the drive when a fault is associated with the function block program.
A function block fault is indicated by Task Status of FF

Hex

. To get

the Task Status, use the Read Task Status block transfer routine.

PLC Block Transfer Instruction Data

BTW Instruction Length:

3 Words

BTR Instruction Length:

5 Words

Header

Word 1

PLC Decimal Value

3845

0

Message Structure

Header

Word 2

Header

Word 3

PLC Request –– Block Transfer Write

Header Word 1

Header Word 2

Header Word 3

PLC Decimal Value

3845 –– Message OK

0

–28923 –– Message Error

0

Data

Word 4

Fault Code

Data

Word 5

Code Identifier

0

Drive Response –– Block Transfer Read

Message Operation

Word 4 is the actual (bit encoded) value of the function block fault
status register. You should use this word mainly as a fault flag
during download and compile operations.

The following values are currently valid for Word 4:

Word Value

Bit Number

Definition

2

1

A link processing error occurred.

4

2

An I/O node limit error occurred.

8

3

A memory allocation error occurred.

32

5

A block number limit error occurred.

128

7

A BRAM checksum error occurred.

256

8

A packet number error occurred because a packet
number was out of range.

1024

10

An event number error occurred. The same ID
number was used with a different block type.

Application Status
Services:

Fault Status Read

Advertising