5-50
ADAM 4000 Series Use r’s Manual
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)
@ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address of an analog input module.
DO is the Set Digital Output command.
(data) is the two-character parameter that sets the state for
the digital output bits of the module, as shown below:
For ADAM-4011/4011D/4012:
00 all D/O bits are OFF
01 DO0 is ON, DO1 is OFF
02 DO0 is OFF, DO1 is ON
03 all bits are ON
For ADAM-4016:
00 DO0 and DO1 are OFF
01 DO0 is ON, DO1 is OFF
02 DO0 is OFF, DO1 is ON
03 DO0 and DO1 are ON
10 DO2 and DO3 are OFF
11 DO2 is ON, DO3 is OFF
12 DO2 is OFF, DO3 is ON
13 DO2 and DO3 are ON
(cr) represents terminating character, carriage return (0Dh).
Response !AA(cr) if the command was valid.
?AA(cr) if an invalid parameter was entered.
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 represents the 2-character hexadecimal address of the
respondin g analog input module.
(cr) represents terminating character, carriage return (0Dh).