Bć12 – Rockwell Automation 6001-F2E AB STANDARD DRIVER SFTW User Manual

Page 49

Advertising
background image

Specifying Message Packet Commands
with Send_StdDrv()

Appendix B

B-12

Command Format

CMD

FNC

SIZE

FILE

ELEMENT

NUMBER

FILE
TYPE

SUB–ELMT.
NUMBER

DATA

244 bytes max.

NUMBER

BYTE

STS

TNS

0F

AA

Byte No.:

1

2

3,4

5

6

7

8

9

10

Table B.F
Protected Typed Logical Write with Three Address Fields

Byte

Description

CMD

0F

STS

Indicates the status of a message transmission

TNS

A unique 16-bit transaction number. Use it to match a reply
message to its corresponding command, which contains the
same number.

FNC

AA

BYTE SIZE

the size of data to be written (in bytes), not including the
address fields or other overhead bytes

FILE NUMBER (or
bytes 7a-7c)

Byte 7 addresses files 0-254 only. For higher addresses, byte
7a = FF expands FILE NUMBER to three bytes total. Bytes 7b
and 7c are used for expanded file address (low address byte
first)

FILE TYPE

80, 81 – Reserved
82 – Output
83 – Input
84 – Status
85 – Bit
86 – Timer
87 – Counter
88 – Control
89 – Integer

ELEMENT NUMBER
(or bytes 9a-9c)

Byte 9 addresses elements 0-254 only. For higher addresses,
byte 9a = FF expands ELEMENT NUMBER to three bytes total.
Bytes 9b and 9c are used for expanded element address (low
address byte first)

SUB-ELEMENT
NUMBER (or bytes
10a-10c)

Byte 10 addresses sub-elements 0-254 only. For higher
addresses, byte 10a = FF expands SUB-ELEMENT NUMBER
to three bytes total. Bytes 10b and 10c are used for expanded
sub-element address(low address byte first)

DATA

Low byte first

Reply Format

CMD

4F

STS

TNS

EXT STS

(only if error)

Protected Typed Logical Write
with Three Address fields (File,
Element, Sub-element)

Advertising