Advantech Data Acquisition Modules ADAM 4000 Manual de usuario Pagina 248

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 429
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 247
Chapter 7
7-
13
ADAM 4000 Series User’s Manual
$AA4
(dataOutput)
two-character hexadecimal value which is
either the feedback of a digital output channel or a relay.
(dataInput) two-character hexadecimal value representing
the input values of the digital I/O module.
(cr) is the terminating character,
carriage return (0Dh).
Example command:
$064(cr)
response:
!1055100(cr)
The command asks the ADAM-4050 digital I/O module at
address 06h to send its digital input data that was gathered
during the last Synchronized Sampling command. The
module returns the value 1055100 with status equals to 1
which also represents that data have not been sent before.
From inspection, the value has dataOutput = 05h
(00000101), ON for digital output channels 0 and 2 and
OFF for channels 1, 3, 4, 5, 6, 7. It also has dataInput = 51h
(01010001) which represents HIGH for digital input
channels 0, 4, 6 and LOW for channels 1, 2, 3, 4, 5.
The digital I/O module responds with data = 055100 and
status = 1. These mean that the data has been sent for the
first time.
command:
$064(cr)
response:
!0055100(cr)
The command asks the digital I/O module at address 06h to
send its digital input data.
The digital I/O module responds with data = 055100 and
status = 0, which means that it has sent the same data at
least once before. This may also indicates that a previous
Synchronized Sampling command was not received!
4050, 4051, 4052, 4053,
4055, 4060, 4068,
Vista de pagina 247
1 2 ... 243 244 245 246 247 248 249 250 251 252 253 ... 428 429

Comentarios a estos manuales

Sin comentarios