Advantech ADAM-5000/TCP Series Manual page 199

Distributed da&c system based on ethernet
Table of Contents

Advertisement

Chapter 6
$aaSiCjB
Name
Description
Syntax
Response
Example
6-130
ADAM-5000/TCP User's Manual
Planning Your Application Program
Configuration Status
Returns the configuration parameters of a specified
channel
module of a specified system.
$aaSiCjB(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 interrogate. SiCj identifies the I/O slot i
(i : 0 to 7) and the channel j (j: 0 to 3) you want to read.
B is configuration status command.
(cr) is the terminating character, carriage return (0Dh)
!aarrff(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. rr
represents the 2-character hexadecimal code of the
output range.
ff is a hexadecimal number that equals the 8-bit pa-
rameter representing the status of data format and
slew rate. Bits 0 and 1 represent data format. Bits 2, 3,
4 and 5 represent slew rate. The other bits are not
used and are set to 0. (See Configuration command
$aaSiCjArrff)
(cr) is the terminating character, carriage return (0Dh)
command: $01S1C1B
response: !01321
The analog output channel 1 in slot 1 of the ADAM-
5000/TCP system at address 01h responds with an
output range 0 to 10V, engineering units data format,
and a slew rate of 1.0mA/sec.
in
a
specified
0
analog
output

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adam-5000l/tcp

Table of Contents