Bć10 – Rockwell Automation 6001-F2E AB STANDARD DRIVER SFTW User Manual
Page 47
Specifying Message Packet Commands
with Send_StdDrv()
Appendix B
B-10
Command Format
CMD
FNC
SIZE
FILE
ELEMENT
NUMBER
FILE
TYPE
SUB–ELMT.
NUMBER
NUMBER
BYTE
TNS
STS
0F
A2
Byte No.:
1
2
3,4
5
6
7
8
9
10
Table C.A gives a description of each field.
Table B.D
Protected Typed Logical Read 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
A2
BYTE SIZE
the size of data to be read (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.
Use bytes 7b and 7c for expanded file address (low address
byte first)
FILE TYPE
80H, 81H – Reserved
82H – Output
83H – Input
84H – Reserved
85H – Bit
86H – Timer
87H – Counter
88H – Control
89H – Integer
ELEMENT NUMBER
(or bytes 9a-9c)
Byte 9 addresses elements 0-254. 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 only addresses sub-elements 0-254. 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 byte first)
Protected Typed Logical Read
with Three Address Fields (File,
Element, Sub-element)