Advantech Data Acquisition Modules ADAM 4000 User Manual
Page 270

Chapter
7
7-35 ADAM 4000 Series User’s Manual
$AAB
Name
Read Input Mode command
Description
Read the input mode of the specified counter/frequency
module.
Syntax
$AAB(cr)
$
is a delimiter character.
AA
(range 00-FF) represents the 2-character hexadecimal
address that you will access to.
B
is the Read Input Mode command.
(cr)
is the terminating character, carriage return (0Dh).
Response
!AAS(cr)
if the command is valid.
There is no response if the module detects a syntax or
communication error, or even if the specified address does
not exist.
!
is a delimiter character which indicates a valid command.
AA
(range 00-FF) represents the 2-character hexadecimal
address of the module.
S
indicates the input signal mode. When S = 0, the module
is configured to non-isolated (TTL) input. If S = 1, the
module is configured to photo-isolated input.
(cr)
is the terminating character, carriage return (0Dh).
Example
command: $03B(cr)
response: !030(cr)
The command requests the counter/frequency module at
address 03 to return its input mode. The module replies by
setting the input mode to retrieve non-isolated input.
4080, 4080D