Siemens SIMATIC TI505 Manual de usuario Pagina 62

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 91
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 61
Modbus Commands
2-31
SIMATIC TI505/TI500 MODNIM User Manual
Code
12 returns the same information as Function Code 1
1 plus a message
count and an additional 64-event byte. This means that a 2-byte status
word, a 2-byte event counter
, a message count, and the most recent 64
events are returned. A buffer records each send or receive operation and
overwrites the oldest event with the latest event. No events are recorded for
this code or Code 1
1. The Event Byte types are shown in T
able 2-6.
Example:
Request: 10 0C XXXX
Checksum (XXXX)
Function code 12 (0C hex)
Slave address (10)
Figure 2-25 Get
Comms Event Log Example — Request
This request to address 16 (decimal) is for the Exception Event Log.
10 0C 46 0000 0204 020B C0 00 XXXX
Checksum (XXXX)
2nd latest event (00)
Latest event (C0)
Message count (020B)
Event count (0204)
Status word (0000)
Byte count (46)
Function code 12 (0C hex)
Slave address (10)
Response:
Figure 2-26 Get
Comms Event Log Example — Response
The response has returned 70 bytes of data (2 status bytes + 2 event counter
bytes + 2 message counts + 64 event bytes). Only two of the event bytes are
shown; these indicate the secondary node was reset (00) and then received a
broadcast message (C0). The most recent events are returned first.
Code 12 — Get
Comms Event Log
Vista de pagina 61
1 2 ... 57 58 59 60 61 62 63 64 65 66 67 ... 90 91

Comentarios a estos manuales

Sin comentarios