AC75 AT Command Set

20.9 AT^SSCNT

s

3

The effect of value 3 depends on the selected counter mode:

 

If AT^SCCNT, parameter <mode>= 0 (Start-Stop counter mode), then

 

<action> type 3 stops the pulse counter and displays, as "^SSCNT" URC, the

number of pulses counted until this time.

If AT^SCCNT, parameter <mode>= 1 (Limit counter mode), then <action> type 3 immediately stops the pulse counter without indicating the "^SCCNT" URC. This action has the same effect as the command AT^SCCNT=0,0.

<pulse>(num)

Measurement result of the pulse counter in Start-Stop mode, indicated within the "^SSCNT" URC, if AT^SCCNT, parameter <action>=2 or 3. The value range of <pulse> is 32 bits (232-1).

0...4294967295

Number of pulses counted.

Note

Measurement accuracy: In Start-Stop mode, you can achieve 100% accuracy if you take care that pulse trans- mission begins after the start command (AT^SSCNT=0 or 1) has returned OK and ends before the stop com- mand (AT^SSCNT=3) is issued.

20.9.1Using the Pulse Counter in Start-Stop Counter Mode

at^sccnt=1,0

Open pulse counter and enable Start-Stop counter mode.

OK

Reset and start pulse counter from 0.

at^sscnt=0

OK

Request value.

at^sscnt=2

OK

"^SSCNT" URC indicates number of pulses counted.

^SSCNT: 0000003254

at^sscnt=2

Request value.

OK

"^SSCNT" URC indicates number of pulses counted.

^SSCNT: 0000010024

at^sscnt=2

Request value.

OK

"^SSCNT" URC indicates number of pulses counted.

^SSCNT: 0000015134

at^sscnt=3

Request value and stop pulse counter.

OK

"^SSCNT" URC indicates number of pulses counted until this time.

^SSCNT: 0000021020

at^sscnt=2

Request value.

OK

"^SSCNT" URC still indicates the count of the last run.

^SSCNT: 0000021020

at^sscnt=1

Restart pulse counter at the value of the last run.

OK

Request value.

at^sscnt=2

^SSCNT: 0000022123

"^SSCNT" URC indicates number of pulses incremented from the last

 

run.

AC75_ATC_V01.002

Page 520 of 569

10/30/06

Confidential / Released

 

 

Page 520
Image 520
Siemens AC75 manual Using the Pulse Counter in Start-Stop Counter Mode