Mitsubishi RS232/485/LAN Serial Communication Control Manuál Strana 253

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 349
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 252
12 Modbus
2-253
Chap.2
FC6 Write single register
Writing to a single Holding Register (HR)
(Request)
Byte 7 FC (Function code) = 06 (HEX)
Byte 8-9 Reference No.
Byte 10-11 Write data
(Normal response)
Byte 7 FC (Function code) = 06 (HEX)
Byte 8-9 Reference No.
Byte 10-11 Write data
(Abnormal response)
Byte 7 FC (Function code)=86 (HEX)
Byte 8 Exception code 01 or 02
(Example)
Writing to HR400001. The write value is 1234 (HEX).
06 00 00 12 34 => 06 00 00 12 34
Zobrazit stránku 252
1 2 ... 248 249 250 251 252 253 254 255 256 257 258 ... 348 349

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

Žádné komentáře