11-
18
11
COMMUNICA
TION WITH PC
11-5 Communication Command Description
(30)@C+ [<addition value>]
Adds a specified value to the counter array variable C.
Addition value
: This can be any value from 1 to 65535. If this value is omitted,
then 1 is added to the counter array variable.
Transmission example
: @C+ c/r l/f ................................... Increments the counter array
variable C. (C
←
C+1)
Response example
: OK c/r l/f
(31)@C- [<subtraction value>]
Subtracts a specified value from the counter array variable C.
Subtraction value
: This can be any value from 1 to 65535. If this value is omitted,
then 1 is subtracted from the counter array variable.
Transmission example
: @C- c/r l/f .................................... Decrements the counter array
variable C. (C
←
C-1)
Response example
: OK c/r l/f
(32)@D <counter value>
Sets a specified value in the counter variable D.
Counter value
: This can be any value from 0 to 65535.
Transmission example
: @D 100 c/r l/f .............................. Sets the counter variable D to
100.
Response example
: OK c/r l/f
(33)@D+ [<addition value>]
Adds a specified value to the counter variable D.
Addition value
: This can be any value from 1 to 65535. If this value is omitted,
then 1 is added to the counter variable.
Transmission example
: @D+ c/r l/f ................................... Increments the counter
variable D. (D
←
D+1)
Response example
: OK c/r l/f
(34)@D- [<subtraction value>]
Subtracts a specified value from the counter variable D.
Subtraction value
: This can be any value from 1 to 65535. If this value is omitted,
then 1 is subtracted from the counter variable.
Transmission example
: @D- c/r l/f .................................... Decrements the counter
variable D. (D
←
D-1)
Response example
: OK c/r l/f
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com