Advantech ADAM-5000/TCP Series Manual page 223

Distributed da&c system based on ethernet
Table of Contents

Advertisement

Chapter 6
$aaSiArrff
Name
Description
Syntax
Response
Example
6-152
ADAM-5000/TCP User's Manual
Planning Your Application Program
Set Configuration
Set slot index and counter mode.
$aaSiArrff(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 configure.
Si identifies the I/O slot i you want to configure. A
is command for setting I/O module configuration. rr
indicates which mode is.
rr=00 represents Bi-direction counter mode.
rr=01 represenrs UP/DOWN counter mode.
rr=02 represents Frequency mode. ff
indicates which format is
ff=00 represents the engineer format.
ff=02 represents the hexadecimal format.
!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 exists.
! 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: $01S1A0002(cr)
response: !01(cr)
The ADAM-5080 in Slot 1 of ADAM-5000 system at
address 01h is in Bi-direction mode and configured
for hexadecimal format.

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Adam-5000l/tcp

Table of Contents