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
Содержание ADAM-5000/TCP Series
Страница 1: ......
Страница 23: ......
Страница 44: ...4 I O modules...
Страница 148: ......
Страница 183: ......
Страница 218: ......
Страница 300: ...Appendix A Design Worksheets...
Страница 307: ...Appendix A Design Worksheets A 8 ADAM 5000 TCP User s Manual...
Страница 308: ...Appendix B Data Formats and I O Ranges...
Страница 323: ...Appendix B Data Formats and I O Ranges B 13 ADAM 5000 TCP User s Manual...
Страница 324: ...Appendix C Grounding Reference...
Страница 331: ...Appendix C Grounding Reference Figure C 6 wire impedancC C 8 ADAM 5000 TCP User s Manual...