20 @aado(data) – Measurement Computing CB-COM-7012 User Manual
Page 43
43
CB-7012, CB-7014, CB-7017 User’s Manual
2.20 @AADO(Data)
Description: Set Digital Output
Note: This command is for CB-7012/12D/12F/12FD/14D only.
Syntax: @AADO(Data)[CHK](cr)
@
Delimiter character
AA
Address of module to set (00 to FF)
DO
Command for set digital output
(Data)
output value, 00=DO0 off, DO1 off, 01=DO0 on, DO1
off, 02=DO0 off, DO1 on, 03=DO0 on, DO1 on
Response:
Valid Command:
!AA[CHK](cr)
Invalid Command:
?AA[CHK](cr)
Syntax or communication error may get no response.
!
Delimiter for valid command
?
Delimiter for invalid command. When the alarm is
enabled, the command will return invalid.
AA
Address of responding module (00 to FF)
Example:
Command: @01DO00
Receive: !01
Set Address 01 digital output 00, return successful.
Related Command:
Sec. 2.19, @AADI; Sec. 2.21, @AAEAT; Sec. 2.24, @AADA
Related Topic:
Sec. 3.5, Digital Output