Rockwell Automation 1770-KF2 Data Highway or Highway Plus Interface Module User Manual User Manual

Page 87

Advertising
background image

Message Packet Formats

Chapter 5

5-8

Table 5.A
Message Formats

If You Want This

Command:

Use This

CMD Code:

Use This

FNC Code:

If You Want This

Command:

Use This

CMD Code:

Use This

FNC Code:

Basic Command Set

PLC-4 Commands

Diagnostic Counters Reset
Diagnostic Loop
Diagnostic Read
Diagnostic Status
Protected Bit Write
Protected Write
Set ENQs
Set NAKs
Set Timeout
Set Variables
Unprotected Bit Write
Unprotected Read
Unprotected Write

06
06
06
06
02
00
06
06
06
06
05
01
08

07
00
01
03

N/A
N/A

06
05
04
02

N/A
N/A
N/A

Allocate
Deallocate
Initialize Processor
Physical Read
Physical Write
Physical Write with Mask
Set to Program Mode
Set to Run Mode
Set to Single-Step Test Mode
Set to Test Mode

0E
0E
0E
0E
0E
0E
0E
0E
0E
0E

05
06

0C
0D
0E

0F
01
02
04
03

PLC Commands

Disable Outputs
Enable Program
Enable Scan
Physical Read
Physical Write

07
07
07
04
03

00
01
03

N/A
N/A

PLC-2 Commands

Enter Download Mode
Enter Upload Mode
Exit Download/Upload Mode
Physical Read
Physical Write
Set Data Table Size

07
07
07
04
03
06

04
06
05

N/A
N/A

08

PLC-3 Commands

PLC-5 Commands

Bit Writes
Download Request
File Read
File Write
Physical Read
Physical Write
Restart Request
Shutdown Request
Upload Request
Word Range Read
Word Range Write

0F
0F
0F
0F
0F
0F
0F
0F
0F
0F
0F

02
05
04
03
09
08

0A

07
06
01
00

Download All Request
Download Completed
Modify PLC-2 Compat. File
Read Bytes Physical
Read-Modify-Write
Set Processor Mode
Typed Read
Typed Write
Upload All Request
Upload Completed
Write Bytes Physical
Word Range Read
Word Range Write

0F
0F
0F
0F
0F
0F
0F
0F
0F
0F
0F
0F
0F

50
52

5E

17
26

3A

68
67
53
55
18
01
00

Important: In the example formats that follow, CMD and FNC values
are expressed in hexadecimal notation; all other values are in decimal
form.

Advertising