28.04.2015 Views

TC65 AT Command Set

TC65 AT Command Set

TC65 AT Command Set

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>TC65</strong> <strong>AT</strong> <strong>Command</strong> <strong>Set</strong><br />

20.9 <strong>AT</strong>^SSCNT<br />

s<br />

3 The effect of value 3 depends on the selected counter mode:<br />

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

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

number of pulses counted until this time.<br />

If <strong>AT</strong>^SCCNT, parameter = 1 (Limit counter mode), then <br />

type 3 immediately stops the pulse counter without indicating the "^SCCNT"<br />

URC. This action has the same effect as the command <strong>AT</strong>^SCCNT=0,0.<br />

(num)<br />

Measurement result of the pulse counter in Start-Stop mode, indicated within the "^SSCNT" URC, if <strong>AT</strong>^SCCNT,<br />

parameter =2 or 3. The value range of is 32 bits (2 32 -1).<br />

0...4294967295 Number of pulses counted.<br />

Note<br />

• Measurement accuracy: In Start-Stop mode, you can achieve 100% accuracy if you take care that pulse transmission<br />

begins after the start command (<strong>AT</strong>^SSCNT=0 or 1) has returned OK and ends before the stop command<br />

(<strong>AT</strong>^SSCNT=3) is issued.<br />

20.9.1 Using the Pulse Counter in Start-Stop Counter Mode<br />

at^sccnt=1,0<br />

Open pulse counter and enable Start-Stop counter mode.<br />

OK<br />

at^sscnt=0 Reset and start pulse counter from 0.<br />

OK<br />

at^sscnt=2<br />

Request value.<br />

OK<br />

^SSCNT: 0000003254<br />

"^SSCNT" URC indicates number of pulses counted.<br />

at^sscnt=2<br />

Request value.<br />

OK<br />

^SSCNT: 0000010024<br />

"^SSCNT" URC indicates number of pulses counted.<br />

at^sscnt=2<br />

Request value.<br />

OK<br />

^SSCNT: 0000015134<br />

"^SSCNT" URC indicates number of pulses counted.<br />

at^sscnt=3<br />

Request value and stop pulse counter.<br />

OK<br />

^SSCNT: 0000021020<br />

"^SSCNT" URC indicates number of pulses counted until this time.<br />

at^sscnt=2<br />

Request value.<br />

OK<br />

^SSCNT: 0000021020<br />

"^SSCNT" URC still indicates the count of the last run.<br />

at^sscnt=1<br />

Restart pulse counter at the value of the last run.<br />

OK<br />

at^sscnt=2<br />

Request value.<br />

^SSCNT: 0000022123<br />

"^SSCNT" URC indicates number of pulses incremented from the last<br />

run.<br />

<strong>TC65</strong>_<strong>AT</strong>C_V02.000 Page 518 of 567 6/2/06<br />

Confidential / Released

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!