Advantech ADAM-5000/TCP Series Manual page 134

Distributed da&c system based on ethernet
Table of Contents

Advertisement

Planning Your Application Program
$aaSi5mm
Name
Description
Syntax
Note:
Bit 7 cannot be enabled in the ADAM-5018 since the module is
physically limited to 7 channels.
Response
Example
ADAM-5000/TCP User's Manual
Enable/Disable Channels for multiplexing
Enables/Disables multiplexing for separate channels
of the specified input module
$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 identifies the enable/disable channels command.
mm are two hexadecimal values. Each value is inter-
preted as 4 bits. The first 4-bit value represents the
status of channels 4-7, the second 4 bit value repre-
sents the status of channels 0-3. A value of 0 means
the channel is disabled, while a value of 1 means the
channel is enabled. (See the Read Channel
Status Command $aaSi6)
(cr) is the terminating character, carriage return (0Dh)
!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)
command: $01S1581(cr)
response: !01(cr) The command enables/disables
channels of the ana- log input module in slot 1 of
the system at address
01h. Hexadecimal 8 equals binary 1000, which enables
channel 7 and disables channels 4, 5 and 6. Hexadeci-
mal 1 equals binary 0001, which enables channel 0
and disables channels 1, 2 and 3.
Chapter 6
6-67

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adam-5000l/tcp

Table of Contents