Publication 1766-RM001A-EN-P - October 2008
530 Recipe and Data Logging
Information for Creating Your Own Application
Controller Receives Communications Packet
Command Structure
DST SRC CMD 0f STS TNS FNC A2 Byte Size File No. File Tpe Ele. No. S/Ele. No.
Table 4:
Field Function Description
DST Destination Node
SRC Source Node
CMD Command Code
STS Status Code Set to zero (0)
TNS Transaction Number Always 2 bytes
FNC Function Code
Byte Size Number of bytes to be read Formatted string length (see equation below)
File Number Always set to zero (0)
File Type Must be A5 (hex)
Element Number Queue number Determines the queue to be read (0…255)
Sub/Element Number Always set to zero (0)
Equation
Record Field 1 + Record Field
2
+ Record Field
3
… + Record Field 7 = Formatted
String Length
Record Field Sizes
Data Type Maximum Size
Word 7 bytes (characters)
Long Word 12 bytes (characters)
Date Field 11 bytes (characters)
Time Field 9 bytes (characters)
Float 14 bytes (characters)
String 90 bytes (characters)
NOTE
The formatted string length cannot exceed 109 bytes in length.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive