Despatch Protocol Plus Modbus Communications Manuale Utente Pagina 47

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 53
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 46
Chromalox Instruments and Controls
A-51643 Rev. 6 10/06/03 41
Query
Field Name
RTU Example Data
Description
Header
> 3.5 idle characters
Start characters
Slave Address
$06
Slave number 6
Function
$03
Read multiple registers
Starting Address Hi
$00
Start reading at holding register 108
Starting Address Lo
$6B
No. of Registers Hi
$00
Read 3 successive holding registers
No. of Registers Lo
$03
CRC Lo
$75
CRC = $A075
CRC Hi
$A0
Trailer
> 3.5 idle characters
End characters
Response
Field Name
RTU Example Data
Description
Header
> 3.5 idle characters
Start characters
Slave Address
$06
Slave number 6
Function
$03
Read multiple registers
Byte Count
$06
Number of data bytes to follow
Data Hi
$02
Contents of holding register 108
Data Lo
$2B
Data Hi
$00
Contents of holding register 109
Data Lo
$00
Data Hi
$00
Contents of holding register 110
Data Lo
$62
CRC Lo
$88
CRC = $8862
CRC Hi
$49
Trailer
> 3.5 idle characters
End characters
6.7.1 The Byte Count Field
When constructing responses in buffers, use a Byte Count value that equals the count of 8-bit bytes in
your message data. The value is exclusive of all other field contents, including the Byte Count field.
Vedere la pagina 46
1 2 ... 42 43 44 45 46 47 48 49 50 51 52 53

Commenti su questo manuale

Nessun commento