Read task status, Example – Rockwell Automation 1336T Function Block Prog. Manual, Series A/B User Manual

Page 127

Advertising
background image

5–11

Block Transfer Services

1336 FORCE — 5.9 August 1995

Value

Task Status

Description

0

Run Mode

The application is executing within the 20 millisecond
task interval. No faults have occurred within the
function block portion of functionality.

1

Download in Progress

The previously compiled application is still enabled
and executing within the function block task interval.
One or more downloaded packets have been received
for a new function block program and the function
block system is waiting for more data. The currently
active application is not interrupted until all packets
have been received and the data has been verified for
the new function block program before compilation.

2

Compilation in

Progress

All packets have been downloaded and the data
verified. The service has initiated a compile.
Compilation can take seconds when a large
application is used.

3

Link Processing

The application is disabled and links between function
blocks and drive parameters are being established

4

Recall in Progress

A Recall is in progress.

255

Fault Mode

A function block application has a faulted status.
Function block compile time errors create a soft fault
condition within the drive. The 1336T system
architecture contains a system fault queue that
describes the nature of the fault. SCANport provides
two fault reporting values should the Task Status word
indicate a faulted mode.

The previous application is disabled and will not run
until you correct the fault. You cannot clear function
block compiler faults with the clear faults command
until you correct the function block fault.

Example

This BTR indicates that the drive is currently in the Run Mode.

1

0

N10:10

2

3

4

5

6

7

8

9

N10:90

BTW
Data File

BTR
Data File

Data Format

0

0

0

0

0

3844

3844

Read Task Status

(continued)

Advertising