B&B Electronics ADAM-6066 - Manual User Manual

Page 173

Advertising
background image

163

Chapter 6

$aaCnn
Name

Read Analog Output Range Code from Channel N

Description Returns the range code from a specified analog output

channel in a specified module.

Syntax $aaCnn(cr)

$ is a delimiter character.
aa (range 00-FF) represents the 2-character hexadecimal
slave address of the ADAM-6000 module you want to
interrogate. (Always 01)
C is the Analog Output Range Code command.
nn (range 00-07) represents the specific channel you want to
read the range code.
(cr) is the terminating character, carriage return (0Dh).

Response

!aa(data)(code) if the command is valid.
?aa(cr) if an invalid operation was entered.
There is no response if the module detects a syntax error or
communication error or if the address does not exist.
! delimiter indicating a valid command was received.
? delimiter indicating the command was invalid.
(cr) is the terminating character, carriage return (0Dh).
(code) is the range code read. Refer to the tables below to
see the meaning of range code for different modules.

ADAM-6024 Analog Output Channel Range Code

Range Code
(Hex)

Range Code
(Decimal)

Range Description

00

0

0 ~ 20 mA

01

1

4 ~ 20 mA

02

2

0 ~ 10 V

Advertising