beautypg.com

Command descriptions – B&B Electronics ADAM-4521 - Manual User Manual

Page 5

background image

Command Descriptions

Set ID

Description Assign an ID of up to 24 bytes to the

module at address AA.

Data Pass

Description Tell the module at address AA to pass up

to 32 bytes of data to the RS-232 device.

Syntax

Response

Example

(delimiter)AA(data) (cr)

depends on the device

command: {24#02 (cr)
response:

The command asks the module at
address 24h to send #02 (cr) to the RS-
232 communication port.

Syntax

Response

Example

$AA6(identification) (cr)

!AA (cr) if the command is valid.

command: $246ADAM NETWORK 1 (cr)
response: !24 (cr)

The command asks the module at
address 24h to write "ADAM NETWORK
1" to EEPROM.

Read ID

Description Read the ID from the module at address

AA.

Syntax

Response

Example

$AA7 (cr)

!AA(identification) (cr)

command: $247 (cr)
response: !24ADAM NETWORK 1 (cr)

The command asks the module at
address 24h to return the identification
data from EEPROM.

Set Delimiter

Description set the delimiter character for the Data

Pass command. There are 8 special
characters to choose from:
: [ ] ^ { | } ~

Syntax

Response

Example

$AAC(delimiter) (cr)

!AA (cr) if the command is valid

command: $24C{ (cr)
response: !24 (cr)

The command asks the module at
address 24h to write delimiter character
{ to EEPROM.

Read Delimiter

Description Read the delimiter character from the

module at address AA.

Syntax

Response

$AAD (cr)

!AA(delimiter) (cr) if the command is
valid. (delimiter) is a character for the
Data Pass command.

command: $24D (cr)
response: !24{ (cr)

The command asks the module at
address 24h to return the delimiter
character from EEPROM.

Example

ADAM-4521 User's Manual