![background image](http://html1.mh-extra.com/html/advantech/adam-5000-tcp-series/adam-5000-tcp-series_manual_2857301223.webp)
Chapter 6
Planning Your Application Program
$aaSiArrff
Name
Set Configuration
Description
Set slot index and counter mode.
Syntax $aaSiArrff(cr)
$
is a delimiter character.
aa
(range 00-FF) represents the 2-character hexadeci-
mal address of the ADAM-5000/TCP system
you want to configure.
Si
identifies the I/O slot i you want to configure.
A
is command for setting I/O module configuration.
rr
indicates which mode is.
rr=00
represents Bi-direction counter mode.
rr=01
represenrs UP/DOWN counter mode.
rr=02
represents Frequency mode.
ff
indicates which format is
ff=00
represents the engineer format.
ff=02
represents the hexadecimal format.
Response !aa(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 ad- dress
does not exists.
!
delimiter character indicating a valid command was
received.
?
delimiter character indicating the command was in-
valid.
aa
(range 00-FF) represents the 2-character hexadeci-
mal address of an ADAM-5000/TCP system.
(cr)
is the terminating character, carriage return (0Dh)
Example
command:
$01S1A0002(cr)
response:
!01(cr)
The ADAM-5080 in Slot 1 of ADAM-5000 system at
address 01h is in Bi-direction mode and configured
for hexadecimal format.
6-152
ADAM-5000/TCP
User’s Manual
Summary of Contents for ADAM-5000/TCP Series
Page 1: ......
Page 23: ......
Page 44: ...4 I O modules...
Page 148: ......
Page 183: ......
Page 218: ......
Page 300: ...Appendix A Design Worksheets...
Page 307: ...Appendix A Design Worksheets A 8 ADAM 5000 TCP User s Manual...
Page 308: ...Appendix B Data Formats and I O Ranges...
Page 323: ...Appendix B Data Formats and I O Ranges B 13 ADAM 5000 TCP User s Manual...
Page 324: ...Appendix C Grounding Reference...
Page 331: ...Appendix C Grounding Reference Figure C 6 wire impedancC C 8 ADAM 5000 TCP User s Manual...