
Message Packet Formats
Chapter 5
5-8
T
able 5.A
Message
Formats
If Y
ou W
ant This
Command:
Use This
CMD Code:
Use This
FNC Code:
If Y
ou W
ant 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 W
rite
Protected W
rite
Set ENQs
Set NAKs
Set T
imeout
Set V
ariables
Unprotected Bit W
rite
Unprotected Read
Unprotected W
rite
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 W
rite
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 W
rite
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 W
rite
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 W
rites
Download Request
File Read
File W
rite
Physical Read
Physical W
rite
Restart Request
Shutdown Request
Upload Request
W
ord Range Read
W
ord Range W
rite
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
T
yped Read
T
yped W
rite
Upload All Request
Upload Completed
W
rite Bytes Physical
W
ord Range Read
W
ord Range W
rite
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.
Comentarios a estos manuales