Rockwell-automation 2071-Axx Kinetix 3 Component Servo Drive Serial Ho Manual de usuario Pagina 30

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 146
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 29
30 Rockwell Automation Publication 2071-RM001B-EN-P - April 2013
Chapter 2 Communication Protocol (RS-232/ASCII)
If the drive receives the host's command with a communication error (for
example, parity or checksum errors), the drive sends an NAK
. The host should
assume a communication error occurred if a response from the drive does not
occur within a time-out period (generally 200 ms).
If drive does not recognize the command, it sends a US
response.
Checksum
The checksum range consists of ID to Separator fields. Checksum is the ASCII
hex code of the least significant digit from the sum of hexadecimal codes in the
checksum range.
For example, this VER command has a checksum of 42 (ASCII hex code of B).
30H+31H+23H+56H+45H+52H+3AH = 1ABH
The ASCII hex code of B is 42.
However, this VER command response also has a checksum of 35 (ASCII hex
code of 5).
30H+31H+24H+56H+45H+52H+20H+31H+2EH+30H+32H+3AH = 295H
The ASCII hex code of 5 is 35.
Command STX01#VER: BETX
ASCII 2 3031235645523A423
Command STX01&VER 9. 02: 5ETX
ASCII 2 30312456455220392E30323A353
Vista de pagina 29
1 2 ... 25 26 27 28 29 30 31 32 33 34 35 ... 145 146

Comentarios a estos manuales

Sin comentarios