CARLO GAVAZZI EM21 - COMMUNICATION PROTOCOL V1 REV0 Manual de usuario Pagina 8

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 26
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 7
8
CARLO GAVAZZI
CONTROLS
SERIAL COMMUNICATION PROTOCOL
WM24-96
V1 R0
Page
8
2.1.2 Instantaneous variables reading
Example 1: Reading of a single variable: W1
Value request frame (8 byte):
01h 04h 02h 0Ch 00h 02h CRC CRC
Value answer frame (9 byte):
01h 04h 04h 0Eh 0Eh 00h 00h CRC CRC
Info request frame (8 byte):
01h 04h 02h 46h 00h 01h CRC CRC
Info answer frame (frame 7 byte):
01h 04h 02h 06h 1Fh CRC CRC
Stored value: 0E0Eh (3598 decimal)
Info value (P type): 06h
Variable value (W1): 3598 W
Example 2: Reading of a single variable: PF1
Value request frame (8 byte):
01h 04h 02h 27h 00h 01h CRC CRC
Value answer frame (7 byte):
01h 04h 02h A9h 00h CRC CRC
Stored value: A9h (-87 decimal)
Variable value (PF1): C 0.87
Gross Automation (877) 268-3700 · www.carlogavazzisales.com · [email protected]
Vista de pagina 7
1 2 3 4 5 6 7 8 9 10 11 12 13 ... 25 26

Comentarios a estos manuales

Sin comentarios