beautypg.com

Aado0d, Aado0d -38 – Measurement Computing CB-7080 User Manual

Page 56

background image

CB-7080 & CB-7080D Counter/Timer User's Guide

@AADO0D

2-38

@AADO0D

Description

: Set digital output.

Syntax

: @AADO0D[chk](cr)

@

A delimiter character

AA

2-character HEX module address, from 00 to FF

DO0

D=0

D/O0=D/O1=OFF

D=1

D/O0=ON, D/O1=OFF

D=2

D/O0=OFF, D/O1=ON

D=3

D/O0=D/O1=ON

[chk]

2-character checksum. If checksum is disabled, no [chk]

(cr)

0x0D

Response

:

Valid response

!AA[chk](cr)

Invalid response

?AA[chk](cr)

alarm is enabled

?AA[chk](cr)

no response

Syntax error, communication error or address error

!

A delimiter character indicating a valid response

?

A delimiter character indicating an invalid response

AA

2-character HEX module address

[chk]

2-character checksum. If checksum is disabled  no [chk]

(cr)

0x0D

Examples

:

Turn all D/O OFF:

command:

@01DO00(cr)

response:

!01(cr)

Turn D/O ON; Turn D/O 1 OFF:

command:

@02DO01(cr)

response:

!02(cr)

Note:

If the alarm is enabled, D/O 0 and D/O 1 will always be controlled by the module. Therefore the following
D/O conditions will exist:

- Power-on value is changed to hi/lo condition immediately.

- The @AADO0D command is ignored.

This manual is related to the following products: