Program limits information, Plc block transfer instruction data, Message operation – Rockwell Automation 1336T Function Block Prog. Manual, Series A/B User Manual

Page 130: Example, Library description

Advertising
background image

5–14

Block Transfer Services

1336 FORCE — 5.9 August 1995

The Library Description message allows you to read the library’s
version number and the number of blocks in the library.

PLC Block Transfer Instruction Data

BTW Instruction Length:

3 Words

BTR Instruction Length:

5 Words

0

Header

Word 1

Header

Word 1

PLC Decimal Value

Library Version * 100

Message Structure

Header

Word 2

Data

Word 3

Header

Word 2

Header

Word 3

Data

Word 4

0

PLC Request –– Block Transfer Write

Drive Response –– Block Transfer Read

Number of Blocks

Data

Word 5

in Library

3840

Dec

–16384

Dec

–16384

Dec

3840 –– Message OK

–28928 –– Message Error

Message Operation

When you request a Library Description message, the drive responds
by placing the library version number times 100 in Word 4 and the
number of blocks the library contains in Word 5.

Example

In this example, the Library Description requests returns 100

Dec

(version 1.00) for the library version number and 28

Dec

for the

number of blocks in the library.

1

0

N10:10

2

3

4

5

6

7

8

9

N10:90

BTW
Data File

BTR
Data File

Data Format

–16384

–16384 100

0

0

3840

3840

28

Program Limits
Information:

Library Description

Advertising