Siemens SIMATIC TI500 Uživatelský manuál Strana 64

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 94
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 63
Modbus Commands
C-15
TIWAY I Gateway User Manual
Code
07 instructs the Gateway to read 8 predefined Cs within a secondary
.
This implementation will read the first 8 Cs in the discrete image register in
a secondary and pack them into one data byte.
NOTE:
The programmer of a non-Modbus PLC must make certain that the
application program running within the PLC will place meaningful data in
these locations. This data can reflect status information.
Example:
I000000
Request: 11 07 XXXX
Checksum (XXXX)
Function code (07)
Slave address (11)
Figur
e C-17
Read
Exception Status Example — Request
This request to secondary 17 (decimal) is asking for exception status data.
I000000
Response: 11 07 3B XXXX
Checksum (XXXX)
Data value (3B)
Function code (07)
Slave address (11)
Figur
e C-18
Read
Exception Status Example — Response
Code 07 — Read
Exception Status
Zobrazit stránku 63
1 2 ... 59 60 61 62 63 64 65 66 67 68 69 ... 93 94

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

Žádné komentáře