Communica tion with pc, 4 communication command list – Yamaha SRCP User Manual

Page 182

Advertising
background image

11-

6

11

COMMUNICA

TION WITH PC

11-4 Communication Command List

No.

Operation code

Operand 1

Operand 2

Operand 3

Command details

1.

2.

3.

4.

5.

6.

7.

8.

9.

10.

11.

12.

13.

14.

15.

16.

17.

18.

19.

20.

21.

22.

23.

24.

25.

26.

27.

28.

29.

?POS

?NO

?SNO

?TNO

?PNO

?STP

?MEM

?VER

?ROBOT

?CLOCK

?ALM

?ERR

?EMG

?SRVO

?ORG

?MODE

?PVA

?DI

?DO

?PRM

?P

READ

WRITE

?MAT

?MSEL

?CSEL

?C

?D

?SHFT

program number

history number

history number

input number

output number

parameter number

parameter number

point number

point number

program number

PGM

PNT

PRM

ALL

DIO

MIO

INF

PGM

PNT

PRM

ALL

pallet number

[array element
number]

[display count]

[display count]

parameter number

point number

step number

number of steps

Reads current position

Reads current program number

Reads current step number

Reads current task number

Reads current point number

Reads total number of steps in specified
program

Reads number of steps that can be added

Reads ROM version number

Reads robot number

Reads total operation time of controller

Reads alarm history

Reads error history

Confirms emergency stop status

Confirms servo status

Confirms return-to-origin status

Confirms operation mode

Reads current point variable P

Reads general-purpose input or memory
input status

Reads general-purpose output or memory
output status

Reads specified parameter data

Reads specified multiple parameter data

Reads specified point data

Reads specified multiple point data

Reads specified program data

Reads all program data

Reads all point data

Reads all parameter data

Batch reads all program, point and
parameter data

Reads input/output information

Reads memory input/output information

Reads registered program information

Writes program data

Writes point data

Writes parameter data

Batch writes program, point and
parameter data

Reads matrix definition contents

Reads currently specified matrix number

Reads currently specified element
number of counter array variable C.

Reads current counter array variable C

Reads current counter variable D

Reads current shift data

2. Data handling

Advertising