Advantech Adam 4000 Series User Manual page 267

Data acquisition modules
Hide thumbs Also See for Adam 4000 Series:
Table of Contents

Advertisement

4080, 4080D
7.2.4.7
@AADO
Name
Description Set the values of the module's two digital outputs (ON or OFF).
Syntax
Response
Example
Set Digital Output command
@AADO(data)(cr)
@ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address of the module.
DO is the Set Digital Output command.
(data) is the two-character parameter that sets the state for
the two digital output bits of the module, as shown below:
00 all D/O bits are OFF
01 bit 0 is ON, bit 1 is OFF
02 bit 0 is OFF, bit 1 is ON
03 all bits are ON
(cr) represents terminating character, carriage return (0Dh).
!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 or
communication error, or even if the specified address does not exists.
! is a delimiter character which indicates a valid command.
? is a delimiter character which indicates an invalid command.
AA represents the 2-character hexadecimal address of the module.
(cr) represents terminating character, carriage return (0Dh).
command: @05DO01(cr)
response: !05(cr)
The counter module at address 05h is instructed to set
digital output channel 1 to ON and digital output channel 2
to OFF. The module confirms the settings.
253
ADAM-4000 Series User Manual

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents