B&B Electronics ADAM-6066 - Manual User Manual

Page 169

Advertising
background image

159

Chapter 6

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 the ADAM-6000 module you want to
interrogate. (Always 01)
(cr) is the terminating character, carriage return (0Dh).

Example command:

$01D01FFF(cr)

response: !01(cr)
Startup value for analog output channel 1 of the ADAM-
6024 module at address 01h is set with a value +10.000.
(The AO range of channel 1 is 0~10V)

#aaccdd.ddd
Name

Write AO Value to One Channel

Description

Write output value to a specified analog output channel
in a specified module.

Syntax #aaccdd.ddd(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)
cc (range 00-01) represents the specific channel you want to
write output value.
dd.ddd (in engineering unit) represents the analog output
value of the specific analog output channel.
(cr) is the terminating character, carriage return (0Dh).

Response

>(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 the ADAM-6000 module you want to
interrogate. (Always 01)
(cr) is the terminating character, carriage return (0Dh).

Advertising