Communica tion with pc – Yamaha SRCP User Manual

Page 199

Advertising
background image

11-

23

11

11-5 Communication Command Description

COMMUNICA

TION WITH PC

(21-2) @?P <point number>,<point number>

Reads multiple point data from the first point number to the second point number. If unregistered
points exist, they will be skipped.

Point number

: This is a number used to identify each point data and can be from

0 to 999.

Transmission example

: @?P15,22 c/r l/f ........................... Reads the data from points 15

to 22.

Response example

: P15=100.00 c/r l/f

P16=32.11 c/r l/f
P20=220.00 c/r l/f
P22=0.50 c/r l/f
OK c/r l/f

(22-1) @READ <program number>,<step number>,<number of steps>

Reads a specified number of step data from a specified step in a program. If the number of steps
from the specified step to the final step is less than the number of steps specified here, the com-
mand execution will end when the final step is read out.

Program number

: This is a number used to identify each program and can be from 0

to 99.

Step number

: This is a number assigned to each step and can be from 1 to 255.

Number of steps

: Any number between 1 and 255 can be specified.

Transmission example

: @READ 3,50,1 c/r l/f .................. Reads one step of data from

step 50 in program No. 3.

Response example 1

: MOVA 29,100 c/r l/f

^Z(=1AH)
OK c/r l/f

Response example 2

: NG c/r l/f ...................................... The specified step number is

not registered

42: cannot find step

c/r l/f

(22-2) @READ PGM

Reads all of the program data.

Transmission example

: @READ PGM c/r l/f

Response example

: NO0 c/r l/f

MOVA 0,100 c/r l/f
JMPF 0,31,13 c/r l/f
NO31 c/r l/f
STOP c/r l/f
^Z (=1AH)
OK c/r l/f

Advertising