![background image](http://html1.mh-extra.com/html/advantech/adam-4021/adam-4021_user-manual_2856815180.webp)
ADAM-4000 Series User Manual
168
4080
7.2.2.6
$AA5N
Name
Read Counter Start/Stop Status command
Description
Requests the addressed counter/frequency module to
indicate whether counter 0 or counter 1 is active.
Syntax
$AA5N(cr)
$
is a delimiter character.
AA
(range 00-FF) represents the 2-character hexadecimal
address that you will access to.
5
is the Read Counter Start/Stop Status command.
N
determines the counter for which the status should be returned.
N = 0 represents counter 0
N = 1 represents counter 1
(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
represents the counter status.
S = 1 indicates the status is counting
S = 0 indicates the status is not counting
(cr)
is the terminating character, carriage return (0Dh).
Example
command: $0650(cr)
response: !061(cr)
The command requests the counter/frequency module at
address 06 to return the status of counter 0. The module
replies that the counter 0 is in the counting process.
Summary of Contents for Adam - 4021
Page 1: ...User Manual ADAM 4000 Series Data Acquisition Modules...
Page 4: ...ADAM 4000 Series User Manual iv...
Page 12: ...ADAM 4000 Series User Manual xii...
Page 13: ...Chapter 1 1 Introduction...
Page 16: ...ADAM 4000 Series User Manual 4...
Page 17: ...Chapter 2 2 Installation Guideline...
Page 33: ...Chapter 3 3 I O Modules...
Page 78: ...ADAM 4000 Series User Manual 66...
Page 79: ...Chapter 4 4 Command Set...
Page 99: ...87 ADAM 4000 Series User Manual Chapter 4 Command Set...
Page 100: ...ADAM 4000 Series User Manual 88...
Page 101: ...Chapter 5 5 Analog Input Module Commands...
Page 127: ...Chapter 6 6 Analog Output Module Commands...
Page 144: ...ADAM 4000 Series User Manual 132...
Page 145: ...Chapter 7 7 I O Relay Counter Frequency...
Page 201: ...Chapter 8 8 Calibration...
Page 206: ...ADAM 4000 Series User Manual 194...
Page 207: ...Appendix A A Technical Specifications...
Page 216: ...ADAM 4000 Series User Manual 204 Figure A 5 ADAM 4024 Function Diagram...
Page 232: ...ADAM 4000 Series User Manual 220 Figure A 14 ADAM 4080 Function Diagram...
Page 233: ...Appendix B B Data Formats and I O Ranges...
Page 244: ...ADAM 4000 Series User Manual 232...
Page 245: ...Appendix C C Technical Diagrams...
Page 246: ...ADAM 4000 Series User Manual 234 C 1 ADAM Dimensions Figure C 1 ADAM Modules Dimensions...
Page 248: ...ADAM 4000 Series User Manual 236 Figure C 3 DIN Rail Mounting...
Page 250: ...ADAM 4000 Series User Manual 238 C 2 3 Piggyback Stack Figure C 6 Piggyback Stack...
Page 251: ...Appendix D D Utility Software...
Page 258: ...ADAM 4000 Series User Manual 246...
Page 259: ...Appendix E E RS 485 Network...
Page 264: ...ADAM 4000 Series User Manual 252...
Page 265: ...Appendix F F Using the Checksum Feature...
Page 268: ...ADAM 4000 Series User Manual 256...
Page 269: ...Appendix G G I O Modbus Mapping Table...
Page 283: ...Appendix H H Changing to Modbus Protocol...
Page 285: ...273 ADAM 4000 Series User Manual Appendix H Changing to Modbus Protocol...