CARLO GAVAZZI UDM 40 - PROGRAMMING Manual de usuario Pagina 4

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 23
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 3
4
CARLO GAVAZZI
CONTROLS
SERIAL COMMUNICATION PROTOCOL
UDM - USC
V1 R1
Page
4
1.2.1 Function 03 or 04 (read words)
Request frame
Address Function Data address n° of words CRC
1 byte 1 byte 2 byte 2 byte 2 byte
From 1 to 255 03h or 04h MSB LSB MSB LSB MSB LSB
NOTE:
- The maximum number of word is 13 (26 byte).
- The address 00 (zero) is not allowed (it generates no answer).
Answer frame
Address Function n° byte (=2 x n° word)
Values CRC
1 byte 1 byte 1 byte n° byte (=2 x n° word)
2 byte
From 1 to 255 03h or 04h XX MSB
LSB
1.2.2 Function 06 (write one word)
Request frame
Address Function Data address Value CRC
1 byte 1 byte 2 byte 2 byte 2 byte
From 1 to 255 06h MSB LSB MSB LSB MSB LSB
Answer frame
Address Function Data address Value CRC
1 byte 1 byte 2 byte 2 byte 2 byte
From 1 to 255 06h MSB LSB MSB LSB MSB LSB
NOTE:
- The answer frame is an echo of the request frame, which confirm the execution of the
command.
1.2.3 Function 08 (diagnostic function)
Request frame
1.2.4 Address
Function Diagnostic code Value CRC
1 byte 1 byte 2 byte 2 byte 2 byte
From 1 to 255 08h 00h 00h AAh 55h MSB LSB
Answer frame
1.2.5 Address
Function Diagnostic code Value CRC
1 byte 1 byte 2 byte 2 byte 2 byte
From 1 to 255 08h 00h 00h AAh 55h MSB LSB
NOTE: the answer frame is an echo of the request frame, which confirm the execution of the
Vista de pagina 3
1 2 3 4 5 6 7 8 9 ... 22 23

Comentarios a estos manuales

Sin comentarios