Yamaha ERCX Series User Manual page 220

Single-axis robot controller
Hide thumbs Also See for ERCX Series:
Table of Contents

Advertisement

11-5 Communication Command Description
11
30
11-
(2)@SWI <program number>
This command switches the execution program number. When a program is reset, program execu-
tion will always return to the first step of the program selected here. The program is reset when the
@SWI command is executed.
Program number
Transmission example
Response example
(3) @SWITSK <task number>
Switches the task number to be executed. In the subsequent step run, the program of the task
selected here is executed. When the command such as @?NO or @?SNO is issued, the contents of
this task replies to it.
Task number
Transmission example
Response example 1
Response example 2
(4)@SINS <program number>,<step number>
Inserts data in a specified step of a specified program. All data below the inserted data will shift
down one line. If the step following the last step is specified, a new step will be added. If the first
step of a program that does not exist is specified, a new program will be created. The ERCX
controller will transmit READY when this command is received. Confirm that READY is re-
ceived and then transmit the insertion data.
Program number
Step number
Transmission example 1 : Send
Transmission example 2 : Send
: This is a number used to identify each program and can be from 0
to 99.
: @SWI 31 c/r l/f
: OK c/r l/f
: This is a number used to identify each task and can be from 0 to
3.
: @SWITSK 1 c/r l/f
: OK c/r l/f
: NG c/r l/f ...................................... The specified task was not
72: not execute task
c/r l/f
: This is a number used to identify each program and can be from 0
to 99.
: This is a number used to identify each step and can be from 1 to
255.
@SINS 19,4 c/r l/f
TIMR 50 c/r l/f
@SINS 19,4 c/r l/f
found.
Receive
READY c/r l/f
OK c/r l/f
Receive
NG c/r l/f
43: cannot find PGM c/r l/f

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ercx-b1

Table of Contents