Command Set

5080 Counter/

Frequency Module

 

$aaSiArrff

 

 

 

 

Name

Set Configuration

 

 

 

Description Set slot index and counter mode.

 

Syntax

$aaSiArrff(cr)

 

 

 

 

$ is a delimiter character.

 

 

aa (range 00-FF) represents the 2-character hexadecimal

 

 

address of the ADAM-5000 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 hexdecimal format.

 

Response

!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 address does

 

 

not exists.

 

 

 

 

! delimiter character indicating a valid command was

 

 

received.

 

 

 

 

? delimiter character indicating the command was

 

 

invalid.

 

 

 

 

aa (range 00-FF) represents the 2-character hexadecimal

 

 

address of an ADAM-5000 system.

 

 

(cr) is the terminating character, carriage return (0Dh)

 

 

 

 

 

6-122

 

ADAM-5000

Page 187
Image 187
Advantech 5000 Series user manual $aaSiArrff