B&B Electronics ADAM-6066 - Manual User Manual

Page 168

Advertising
background image

ADAM-6000 Series User Manual

158

Response

!aahhh(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)
hhh (range 000-FFF) represents the 3-character
hexadecimal startup value of the specific AO channel.
(cr) is the terminating character, carriage return (0Dh).

Example command:

$01D01(cr)

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

$aaDcchhh
Name

Set AO Startup Value to One Channel

Description

Set the startup value to a specified analog output channel
in a specified module.

Syntax $aaDcchhh(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)
D represents the analog output channel startup command.
cc (range 00-01) represents the specific channel you want to
set the startup value.
hhh (range 000-FFF) represents the 3-character
hexadecimal startup value of the specific AO channel.
(cr) is the terminating character, carriage return (0Dh).

Response

!aa(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

Advertising