Advantech ADAM-5000/TCP Series Manual page 149

Distributed da&c system based on ethernet
Table of Contents

Advertisement

Planning Your Application Program
$aaSiCjArrFF
Name
Description
Syntax
Note:
Each channel in a ADAM-5017H/5017UH module may be set to
a differ- ent range, but the data formats of all channels in this
must be the same.
Response
Example
ADAM-5000/TCP User's Manual
Set Input Range
Sets the input range for a specified channel of a speci-
fied analog input module in a specified system.
$aaSiCjArrFF
$ 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. 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 whose range you want to set.
A represents the set input range command. rr
represents the 2-character hexadecimal code of the
input range. (See Appendix B)
(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: $01S3C1A0bFF(cr)
response: !01(cr)
Channel 1 of the ADAM-5017H/5017UH module in
slot 3 of the ADAM-5000/TCP system at address
01h is set to the input range 0-20 mA, engineering
unit data for- mat. The response indicates that the
command has been received as a valid command.
Chapter 6
module
6-81

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adam-5000l/tcp

Table of Contents