Advantech ADAM-5000/TCP Series Manual page 150

Distributed da&c system based on ethernet
Table of Contents

Advertisement

Chapter 6
$aaSiCjB
Name
Description
Syntax
Response
Example
6-82
ADAM-5000/TCP User's Manual
Planning Your Application Program
Read Input Range
Returns the input range in engineering units
for a specified channel of a specified analog input
module in a specified system.
$aaSiCjB
$ 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 slot i (i:0
to 7) of the ADAM-5000/ TCP system and the channel
j (j:0 to 7) of the ADAM-
5017H/5017UH module you want to interrogate.
B represents the read input range command.
(cr) is the terminating character, carriage return (0Dh).
!aarr00(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
input range. (See Appendix B)
(cr) is the terminating character, carriage return (0Dh).
command: $01S3C1B(cr)
response: !010b00(cr)
Channel 1 of the ADAM-5017H/5017UH module in
slot 3 of the ADAM-5000/TCP system at address 01h
responds with an input range 0-20 mA, engineering
unit data format.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adam-5000l/tcp

Table of Contents