Planning Your Application Program
Chapter 6
$aaSi5mm
Name
Enable/Disable Channels for multiplexing
Description
Enables/Disables multiplexing for separate channels
of the specified input module
Syntax $aaSi5mm(cr)
$
is a delimiter character.
aa
(range 00-FF) represents the 2-character hexadeci-
mal address of the ADAM-5000/TCP system.
Si
identifies the I/O slot of the system.
5
represents the enable/disable channels command.
mm
are two hexadecimal values. Each value is inter-
preted by the module as 4 bits. The first 4-bit value is
0. The second 4-bit value represents the
status of channels 0 to 3. A value of 0 means the
channel is disabled, while a value of 1 means the
channel is en- abled. (See the Read Channel
Status Command
$aaSi6). Note: Bit 4 can not enable a channel in the
ADAM-
5013 since the module is physically limited to 3 chan-
nels.
(cr)
is the terminating character, carriage return (0Dh)
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 exist.
!
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:
$01S1501(cr)
response:
!01(cr)
The command enables/disables
the channels of the analog input module in slot 1
of the system at ad- dress 01h. Hexadecimal 0 is a
fixed value. Hexadeci- mal 1 equals binary 0001,
which enables channel 0 and disables channels 1
and 2.
ADAM-5000/TCP
User’s Manual
6-57
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...