I/O Control Program - Toshiba TS1000 Startup Manual

Robot controller
Table of Contents

Advertisement

6.3

I/O Control Program

[1]
Program using an input signal
Now, let's change the program created in Section 4.
PROGRAM MAIN
MOVE P1
MOVE P2
WAIT DIN (17)
END
Execute the test operation. Select "CONT" (continuous operation) for the
operation mode.
After the start of the program, the robot stops at point P2.
Press the UF1 switch, and the robot moves to point P1.
After moving to point P2 again, the robot stops and waits for the input of the
switch.
······
Start of main program
······
Move to point P1
······
Move to point P2
······
Wait until input 17 (UF1 switch) turns on.
······
End of main program
P2
P1
– 45 –
STARTUP MANUAL
STE 71282

Advertisement

Table of Contents
loading

Table of Contents