B&B Electronics ADAM-6066 - Manual User Manual

Page 147

Advertising
background image

137

Chapter 6

#aaMH
Name

Read Maximum Value

Description Read the maximum values from all analog input channels in

a specified analog module

Syntax #aaMH(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.
(cr) is the terminating character, carriage return (0Dh)

Response

>(data)(data)(data)(data)(data)(data)(data)(data)(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: #01MH(cr)

Response

+10.000+10.000+10.000+10.000+10.000
+10.000 +10.000+10.000+10.000
The command asks the specific module at address 01h to
send historic maximum value from analog input channels.

Note:

The latest data returned is the Average value of the preset
channels in this module.

Advertising