Toshiba TS1000 Startup Manual page 47

Robot controller
Table of Contents

Advertisement

[2]
Program using an output signal
Now, let's change the program in Para. [1] above.
PROGRAM MAIN
MOVE P1
DOUT (17)
MOVE P2
WAIT DIN (17)
DOUT (–17)
END
Execute the test operation. Select "CONT" (continuous operation) for the
operation mode.
After the start of the program, the UF1 lamp is illuminated at the same time that
the robot has reached point P1. After moving to point P2, the robot stops and
waits for the input of the switch. Press the UF1 switch then. The UF1 lamp
goes out and the robot continues the operation.
[3]
Output to 7-segment user display
Now, let's change the program as created in Section 4.
PROGRAM MAIN
PLCDATAW1 = 1000 ······
MOVE P1
END
Execute the test operation. Select "CONT" (continuous operation) for the
operation mode and start the program.
Select "USER" by means of the SELECT switch equipped on the control panel,
and the value of "1000" is displayed on the 7-segment user display.
······
Start of main program
······
Move to point P1
······
Output 17 (UF1 lamp) turns on.
······
Move to point P2
······
Wait until input 17 (UF1 switch) turns on.
······
Output 17 (UF1 lamp) turns off.
······
End of main program
······
Start of main program
A value is written to the 7-segment user
display.
······
Move to point P1
······
End of main program
– 46 –
STARTUP MANUAL
STE 71282

Advertisement

Table of Contents
loading

Table of Contents