Chapter 6

@aaSiCjP(data)@aaSiCjP(data)

Name

Set Initial Counter Value

Description

Set initial counter value for counter of the specified

 

counter module.

Syntax

@aaSiCjP(data)(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 for the module you want to return a prior value.

 

P represents Set Initial Counter Value command.

 

(data) is initial value from 0 to 4294967296. Be aware that

 

(data) has 10 characters.

 

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

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 exist.

 

! 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)

ADAM-5000

6-143

Page 265
Image 265
Advantech RS-485 user manual @aaSiCjPdata@aaSiCjPdata, Syntax @aaSiCjPdatacr