Advantech Adam 4000 Series User Manual page 242

Data acquisition modules
Hide thumbs Also See for Adam 4000 Series:
Table of Contents

Advertisement

4080, 4080D
7.2.2.2
$AAA
Name
Description Request the specified counter/frequency module to return
Syntax
Response
Example
ADAM-4000 Series User Manual
Read Gate Mode command
its gate status.
$AAA(cr)
$ is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address that you will access to.
A is the Read Gate Mode command.
(cr) is the terminating character, carriage return (0Dh).
!AAG(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.
G determines the gate mode.
G = 0 the gate is low
G = 1 the gate is high
G = 2 the gate is disabled.
(cr) is the terminating character, carriage return (0Dh).
command: $01A(cr)
response: !011(cr)
The command requests the counter/frequency module to
return its gate status. The module at address 01 replies with
gate setting high.
228

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents