Rockwell-automation 1760-DNET Pico DeviceNet Communications Module Use Manual de usuario Pagina 54

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 168
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 53
Publication 1760-UM003A-EN-P - September 2005
6-10 Application Examples for Pico
Example:
A voltage signal is present at analog input 1. The required telegrams
for reading the analog value are as follows:
Byte 4 – Data 1 (Low Byte): 4B
hex
Byte 5 – Data 2 (High Byte): 03
hex
l corresponding 16-bit value: 034B
hex
= 843
The value 843 corresponds to the 10 bit value of the analog converter.
The following conversion is required for the actual analog value:
Write marker: M1 – M16/N1 – N16
Table 6.16 Example Telegram for Reading the Value at the Analog Input
Byte Meaning Value (hex), sent by
Master Slave Master Slave
Attribute ID: Read 88
0 Response: read successful C2
0 1 Len 02 02
1 2 Type 8C 8C
2 3 Index
02
(1)
(1) 02 = Analog input I11
02
(1)
3 4 Data 1 00 4B
4 5 Data 2 00 03
5 6 Data 3 00 00
6 7 Data 4 00 00
Table 6.17 Telegram Structure
Byte Meaning Value (hex), sent by
Master Slave Master Slave
Attribute ID: Write 8C
0 Response:
Write successful C1
10V
1023
----------- -
10bit×
10V
1023
----------- -
843× 8.24V=
Vista de pagina 53
1 2 ... 49 50 51 52 53 54 55 56 57 58 59 ... 167 168

Comentarios a estos manuales

Sin comentarios