Communica tion with pc – Yamaha SRCP User Manual
Page 201
11-
25
11
11-5 Communication Command Description
COMMUNICA
TION WITH PC
(22-6) @READ DIO
Reads the on/off status of DIO. Refer to "4-3-4 DIO monitor screen".
Transmission example
: @READ DIO c/r l/f
Response example
: D I 00000000 00000000 c/r l/f
DO 11100000 O:0 S:1
c/r l/f
OK c/r l/f
(22-7) @READ MIO
Reads the on/off status of memory I/O. From the left, the top line shows MIO numbers from 115
to 100, the middle line from 131 to 116, and the bottom line from 147 to 132.
Transmission example
: @READ MIO c/r l/f
Response example
: M
00000000 00000000 c/r l/f
00000000 00000000 c/r l/f
00000000 00000001 c/r l/f
OK c/r l/f
(22-8) @READ INF
Reads the status of the registered programs. The registered program numbers and number of steps
are displayed.
Transmission example
: @READ INF c/r l/f
Response example
: NO0- 43 steps c/r l/f
NO1- 52 steps c/r l/f
NO31- 21 steps c/r l/f
^Z (=1AH)
OK c/r l/f
(23-1) @WRITE PGM
Writes the program data. The controller will transmit READY when this command is received.
Confirm that READY is received and then transmit the program data. Always transmit ^Z (=1AH)
at the end of the data.
Transmission example
: Send
Receive
@WRITE PGM c/r l/f
READY c/r l/f
NO0 c/r l/f
MOVA 0,100 c/r l/f
JMPF 0,31,12 c/r l/f
NO31 c/r l/f
STOP c/r l/f
^Z(=1AH)
OK c/r l/f
c
CAUTION
When @WRITE PGM is executed, the previous data of the same program number is overwritten. (The previous
data remains as long as its program number differs from the program number to be written.)