Advantech Data Acquisition Modules ADAM 4000 User Manual page 194

Advantech data acquisition modules user's manual
Table of Contents

Advertisement

4011, 4011D, 4012, 4016
@AADI
Name
Read Digital I/O and Alarm State
Description
The addressed analog input module is instructed to return
the value of its digital input and output channels and the
state of its alarm (Momentary or Latching).
Syntax
@AADI(cr)
@
AA
address of an analog input module.
DI
(cr)
Response
ADAM-4011/4011D/4012:
!AASOOII(cr)
ADAM-4016:
!AASOO00(cr)
There is no response if the module detects a syntax error or
communication error or if the specified address does not
exist.
!
received.
AA
responding analog input module.
S
disabled, 1h = MOMENTARY mode enabled, 2h =
LATCH mode enabled).
OO
For ADAM-4011/4011D/4012:
representing the Digital Output port's channel 0 and 1
status (00h = D/O channels 0 and 1 are both OFF, 01h =
channel 0 is ON, channel 1 is OFF, 02h = channel 0 is OFF,
channel 1 is ON, 03h = channel 0 and 1 are both ON).
For ADAM-4016:
the status of the four digital output channels. The
corresponding table is show in the following table:
5-48
ADAM 4000 Series User's Manual
is a delimiter character.
(range 00-FF) represents the 2-character hexadecimal
is the Read Digital I/O and Alarm Status command.
represents terminating character, carriage return (0Dh).
if the command was valid
if the command was valid
delimiter character indicates a valid command was
represents the 2-character hexadecimal address of the
hexadecimal number that represents the alarm state (0h =
it is a hexadecimal number representing
it is a hexadecimal number

Advertisement

Table of Contents
loading

Table of Contents