B&B Electronics ADAM-6066 - Manual User Manual

Page 148

Advertising
background image

ADAM-6000 Series User Manual

138

#aaMHn
Name

Read Maximum Value from channel N

Description Read the maximum value from a specific channel in a

specified module

Syntax #aaMHn(cr)

# is a delimiter character.
aa (range 00-FF) represents the 2-character hexadecimal
slave address of the ADAM-6000 module to be read.
(Always 01)
MH represents the read maximum value command.
n (range 0-8) represents the specific channel you want to
read the input data.
(cr) is the terminating character, carriage return (0Dh)

Response

>(data)(cr) 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.
aa (range 00-FF) represents the 2-character hexadecimal
slave address of an ADAM-6000 module.
(cr) is the terminating character, carriage return (0Dh)

Example

command: #01MH2(cr)
response: >+10.000

The command asks the specific module at address 01h to
send historic maximum value from analog input channel 2.

Advertising