Rockwell-automation 1775-KA PLC-3 Communication Adapter Module User Ma Uživatelský manuál Strana 155

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 239
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 154
Network and Application Layer Protocols
Chapter 12
128
Table 12.A
The
commands that the PLC-3 can send and/or receive, and the hexadecimal values for the
CMD and FNC bytes
Devices that
can send the
command
Command
Type
Command Name
Command
Message
(Hex)
CMD+ FNC+
Reply
Message
(Hex)
CMD+
PLC-3 or
RS-232-C
[1]
device
Basic"
[2]
Protected Bit W
rite
Protected Block W
rite
Unprotected Bit W
rite
Unprotected Block Read
Unprotected Block W
rite
02
00
05
01
08
none
none
none
none
none
42
40
45
41
48
PLC-3 or
RS-232-C
device
PLC-3
commands
Bit W
rites
File Read
File W
rite
W
ord Range Read
W
ord Range W
rite
0F
0F
0F
0F
0F
02
04
03
01
00
4F
4F
4F
4F
4F
RS-232-C
device
PLC-3
Upload/
Download
Commands
Download Request
Restart Request
Shutdown Request
Upload Request
0F
0F
0F
0F
05
0A
07
06
4F
4F
4F
4F
RS-232-C
device
Privileged
[3]
Physical Read
Physical W
rite
0F
0F
09
08
4F
4F
RS-232-C
device
Diagnostic
Counter Reset
Loop
Read
Status
Set ENQs
Set NAKs
Set T
imeout
Set V
ariables
06
06
06
06
06
06
06
06
07
00
01
03
06
05
04
02
46
46
46
46
46
46
46
46
[1]
RS-232-C device means a computer or intelligent terminal.
[2]
The Basis" commands can be sent to any Allen-Bradley PC. These commands are sometimes called PLC/PLC-2 commands, but all
Allen-Bradley PC's can receive them. The PLC, PLC-2 family, and PLC-3 processors can also send these commands as well as receive them.
[3]
Allen-Bradley recommends using these commands for uploading or downloading only. To write or read specific words or bits use the basic"
commands or the PLC-3 commands.
STS (status)
The high nibble of the STS (status) byte is supplied by the application
layer. In command messages the STS byte is set to zero.
In reply messages the STS is used for reporting either application or
network error codes. A value of zero should be interpreted as no error
(that is, the message was delivered and executed successfully). Non–zero
status can be divided into two categories: remote errors and local errors.
Zobrazit stránku 154
1 2 ... 150 151 152 153 154 155 156 157 158 159 160 ... 238 239

Komentáře k této Příručce

Žádné komentáře