Advantech ADAM-5000/TCP Series Manual page 151

Distributed da&c system based on ethernet
Table of Contents

Advertisement

Planning Your Application Program
$aaSiAFFff
Name
Description
Syntax
Note:
Each channel in an ADAM-5017H /5017UH module may be set
must be the same.
Response
Example
ADAM-5000/TCP User's Manual
Set Data Format
Sets the data format in engineering units or in two's
complement format for a specified analog input mod-
ule in a specified system.
$aaSiAFFff
$ 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. Si identifies the I/O slot of the
ADAM-5000/TCP sys- tem containing the ADAM-
5017H/5017UH module you want to configure.
AFF represents the set data format command. ff
represents the 2-character hexadecimal code of the
data format. 00 is for engineering unit format. 02 is for
two's complement format.
(cr) is the terminating character, carriage return (0Dh).
to a differ- ent range, but the data formats of all channels in
!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: $01S3AFF00(cr)
response: !01(cr)
The data format of the ADAM-5017H /5017UH
module in slot 3 of the ADAM-5000/TCP system at
address 01h is configured for engineering unit format.
The response indicates that the command has been
received as a valid command.
Chapter 6
this module
6-83

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adam-5000l/tcp

Table of Contents