beautypg.com

Communica tion with pc – Yamaha SRCP User Manual

Page 202

background image

11-

26

11

COMMUNICA

TION WITH PC

11-5 Communication Command Description

(23-2) @WRITE PNT

Writes the point data. The controller will transmit READY when this command is received. Con-
firm that READY is received and then transmit the point data. Always transmit ^Z (=1AH) at the
end of the data.

Transmission example

: Send

Receive

@WRITE PNT c/r l/f

READY c/r l/f

P0=0.00 c/r l/f
P1=350.00 c/r l/f
P254=-0.27 c/r l/f
^Z(=1AH)

OK c/r l/f

c

CAUTION

When @WRITE PNT is executed, the previous data of the same point number is overwritten. (The previous data
remains as long as its point number differs from the point number to be written.)

(23-3) @WRITE PRM

Writes the parameter data. The controller will transmit READY when this command is received.
Confirm that READY is received and then transmit the parameter data. Always transmit ^Z (=1AH)
at the end of the data.

Transmission example

: Send

Receive

@WRITE PRM c/r l/f

READY c/r l/f

PRM1=550 c/r l/f
PRM2=10 c/r l/f
^Z(=1AH)

OK c/r l/f

c

CAUTION

Loading unsuitable robot data to the SRCP can inhibit the robot controller performance, possibly resulting in
failures, malfunctions, and errors.