Advantech Data Acquisition Modules ADAM 4000 User Manual page 196

Advantech data acquisition modules user's manual
Table of Contents

Advertisement

4011, 4011D, 4012, 4016
@AADO
Name
Set Digital Output command
Description
Sets the values of the module's digital outputs (ON or OFF).
Syntax
@AADO(data)(cr)
@
AA
address of an analog input module.
DO
(data)
the digital output bits of the module, as shown below:
For ADAM-4011/4011D/4012:
00
01
02
03
For ADAM-4016:
00
01
02
03
10
11
12
13
(cr)
Response
!AA(cr)
?AA(cr)
There is no response if the module detects a syntax error or
communication error or if the specified address does not exist
!
delimiter character indicates a valid command was received.
?
delimiter character indicates the command was invalid.
AA
responding analog input module.
(cr)
5-50
ADAM 4000 Series User's Manual
is a delimiter character.
(range 00-FF) represents the 2-character hexadecimal
is the Set Digital Output command.
is the two-character parameter that sets the state for
all D/O bits are OFF
DO0 is ON, DO1 is OFF
DO0 is OFF, DO1 is ON
all bits are ON
DO0 and DO1 are OFF
DO0 is ON, DO1 is OFF
DO0 is OFF, DO1 is ON
DO0 and DO1 are ON
DO2 and DO3 are OFF
DO2 is ON, DO3 is OFF
DO2 is OFF, DO3 is ON
DO2 and DO3 are ON
represents terminating character, carriage return (0Dh).
if the command was valid.
if an invalid parameter was entered.
represents the 2-character hexadecimal address of the
represents terminating character, carriage return (0Dh).

Advertisement

Table of Contents
loading

Table of Contents