Chapter 6

 

 

$aaSiCj5

$aaSiCj5

Name

Read counter Start/Stop

Description

Requests the addressed counter/frequency module to

 

indicate whether counters are active.

Syntax

$aaSiCj5(cr)

 

$ is a delimiter character.

 

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

 

address of the ADAM-5000 system.

 

SiCj identifies the I/O slot i and the channel j of the

 

module you want to set.

 

5 is the command for reading counter Start/Stop.

 

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

Response

!aas(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.

 

s represents start/stop command.

 

s=0 indicate stop counter.

 

s=1 indicate start counter.

 

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

ADAM-5000

6-137

Page 259
Image 259
Advantech RS-485 user manual Syntax $aaSiCj5cr