EasyManuals Logo

Advantech Adam 4000 Series User Manual

Advantech Adam 4000 Series
398 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #259 background imageLoading...
Page #259 background image
Chapter 4 Command Set 4-175
Chapter 4
4080, 4080D
#AAN
Name: Read Counter or Frequency Value
Description: Instructs the addressed counter/frequency module at address
AA to read the counter or frequency value of counter 0 or
counter 1 and return the acquired data.
Syntax: #AAN(cr)
# is a delimiter character.
AA (range 00-FF) represents the 2-character hexadecimal
address of counter/frequency module that you want to interro-
gate.
N represents the counter number.
N=0 represents counter 0
N=1 represents counter 1
(cr) is the terminating character, carriage return (0Dh)
Response: >data(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 specified address does not exists.
? is a delimiter character indicating the command was invalid.
AA (range 00-FF) represents the 2-character hexadecimal
address of a counter/frequency input module.
(data) is the value that is retrieved by the module by reading
counter 0 or counter 1. The data format consists of eight
hexadecimal digits.
(cr) is the terminating character, carriage return (0Dh).
Example: command: #120(cr)
response: >000002FE(cr)
The command requests the counter/frequency module at
address 12 to read the counter 0 and return the data. The
counter/frequency module at address 12 responds that the
value of counter 0 is 000002FE (hexadecimal) which equals 766
(decimal).

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Advantech Adam 4000 Series and is the answer not in the manual?

Advantech Adam 4000 Series Specifications

General IconGeneral
BrandAdvantech
ModelAdam 4000 Series
CategoryControl Unit
LanguageEnglish

Related product manuals