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

Page 122: Example, Read task name

Advertising
background image

5–6

Block Transfer Services

1336 FORCE — 5.9 August 1995

The Read Task Name message is used to read a text string from a data
buffer. The text string is the function block task name, and may
contain up to 16 characters.

PLC Block Transfer Instruction Data

BTW Instruction Length:

3 Words

BTR Instruction Length:

11 Words

0

Header

Word 1

Header

Word 1

3846

0

3846 –– Message OK

0

Message Structure

Header

Word 2

Data

Word 3

Header

Word 2

Header

Word 3

0

PLC Request –– Block Transfer Write

Drive Response –– Block Transfer Read

Dec

Data

Word 4

Data

Word 11

Char 2

Char 1

Char 16

Char 15

••

••

••

–28922 –– Message Error

Message Operation

The User ID Text String allows you to read the task name from a data
buffer. The task name can be up to 16 characters.

Example

This example shows the Read Task Name operation in ASCII
representation:

1

0

N10:10

2

3

4

5

6

7

8

9

N10:90

BTW
Data File

BTR
Data File

Data Format

0

\00\00

rd

0

\00\00

\0F\06

\0F\06

vi

e

1#

Application Status
Services:

Read Task Name

Advertising