beautypg.com

B&B Electronics ADAM-5000_TCP - Manual User Manual

Page 217

background image

$AASi7 (ADAM-5050 only)

Name

Read 5050 channel status

Description The command requests to read 5050 channel

status.

Syntax $AASi7(cr)

$ is a delimiter character.
AA (range 00-FF) represents the 2-character
hexadecimal address of the ADAM-5000
system.

Si identifies the I/O slot i (i : 0 to 3).
7 is the command for the last value readback.

Response !AAXXXX

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
specified address does not exist.
! delimiter character indicating a valid
command was received.
? delimiter character indicating the
command was invalid.
AA (range 00-FF) represents the 2-character
hexadecimal address of an ADAM-5000
system.

XXXX is the number of overflow for a specified
channel.
(XXXX represents 0~3 channels, each
of which is represented by one XX).

(cr) is the terminating character, carriage return
(0Dh)