11-5 Communication Command Description

(13)@?EMG

Reads the emergency stop status.

 

Transmission example

: @?EMG c/r l/f

 

Response example 1

:

0 c/r l/f

Emergency stop is off.

 

 

OK c/r l/f

 

Response example 2

:

1 c/r l/f

Emergency stop is on.

 

 

OK c/r l/f

 

(14)@?SRVO

 

 

 

Reads the servo status.

 

 

 

Transmission example

: @?SRVO c/r l/f

 

Response example 1

:

0 c/r l/f

Servo is off.

 

 

OK c/r l/f

 

Response example 2

:

1 c/r l/f

Servo is on.

 

 

OK c/r l/f

 

(15)@?ORG

Reads whether or not return-to-origin has been completed.

11

COMMUNICATION WITH PC

Transmission example

:

@?ORG c/r l/f

 

Response example 1

:

0 c/r l/f

Return-to-origin not com-

 

 

OK c/r l/f

pleted.

Response example 2

:

1 c/r l/f

Return-to-origin completed.

 

 

OK c/r l/f

 

(16)@?MODE

 

 

 

Reads the robot status.

 

 

 

Transmission example

: @?MODE c/r l/f

 

Response example 1

:

0 c/r l/f

Robot is stopped.

 

 

OK c/r l/f

 

Response example 2

:

1 c/r l/f

Program is being executed

 

 

OK c/r l/f

from TPB or PC.

Response example 3

:

2 c/r l/f

Program is being executed by

 

 

OK c/r l/f

I/O command.

11-20

Page 196
Image 196
Yamaha SRCP manual 13@?EMG, 14@?SRVO, 15@?ORG, 16@?MODE