beautypg.com

Communica tion with pc – Yamaha SRCP User Manual

Page 191

background image

11-

15

11

11-5 Communication Command Description

COMMUNICA

TION WITH PC

(21)@CSEL

Specifies an array element for the counter array variable C to be used.

Array element number

: This is a number used to designate an array element for the

counter array variable C, and can be from 0 to 31. The counter
variable D can also be specified here as the array element.

Transmission example

: @CSEL 1 c/r l/f ............................ Uses the counter array variable

C of element number 1 in the
subsequent steps.

Response example

: OK c/r l/f

(22)@C

Sets a specified value in the counter array variable C specified with the CSEL statement.

Counter value

: This can be any value from 0 to 65535.

Transmission example

: @C 100 c/r l/f ............................... Sets the counter array variable

C to 100.

Response example

: OK c/r l/f

(23)@C+ []

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

(24)@C- []

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

(25)@D

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