
7
8
9
10
11
12
13
11-14 Chapter 11 User program examples
2.4
Parts inspection (Multi-tasking example)
■
Overview
One robot is used to inspect two different parts and sort them according to the OK/NG results
judged by a testing device.
The robot picks up the part at point A and moves it to the testing device at point B. The testing
device checks the part and sends it to point C if OK or to point D if NG.
The part at point A’ is picked up and moved to the testing device at point B' in the same way. The
testing device checks the part and sends it to point C’ if OK or to point D’ if NG.
It is assumed that 10 to 15 seconds are required for the testing device to issue the OK/NG results.
Parts inspection (Multi-tasking example)
A
P1
B
P2
C
P3
D
P4
A’
P11
B’
P12
C’
P13
D’
P14
Part supply 1 Testing device 1
Part 1 OK
Part 1 NG
Part supply 2 Testing device 2
Part 2 OK
Part 2 NG
33C13-R7-00
■
Precondition
1. I/O signal
I/O signal
Testing device 2 start (0.1 second)
DO3
1: Start *
1
7 6 5 4 3 2 1 0
Testing device 1 test completed *
3
Testing device 1 OK/NG signal
Part supply 1
Part 1 OK
Part 1 NG
DI2
7 6 5 4 3 2 1 0
DI3
7 6 5 4 3 2 1 0
Testing device 1 start (0.1 second)
Robot chuck open/close
DO2
1: Start *
1
0: Open / 1: Close *
2
7 6 5 4 3 2 1 0
Testing device 2 test completed *
3
Testing device 2 OK/NG signal
Part supply 2
Part 2 OK
Part 2 NG
33C14-R7-00
2. The main task (task 1) is used to test part 1 and the subtask (task 2) is used to test part 2.
3. An exclusive control flag is used to allow other tasks to run while waiting for the test
completion signal from the testing device.
FLAG1
0: Task 1 standby
(Task 2 execution enabled)
1: Executing Task 1
(Task 2 execution disabled)
FLAG2
0: Task 2 standby
(Task 1 execution enabled)
1: Executing Task 2
(Task 1 execution disabled)
NOTE
•
*1: As the start signal,
s u p p l y a 0 . 1 s e c o n d
pulse signal to the testing
device.
0.1 seconds
ON
OFF
•
*2: Chuck open and close
time is 0.1 seconds.
•
* 3 : E a c h t i m e a t e s t
i s f i n i s h e d , t h e t e s t
completion signal and
OK/NG signal are sent
from the testing device.
After testing, the test
completion signal turns
ON (=1), and the OK/ NG
signal turns ON (=1) when
the result is OK and turns
OFF (=0) when NG.
Содержание SCARA YRCX Series
Страница 1: ... 7 6HULHV DW 1R 1 5 5RERW RQWUROOHU 352 5 00 1 0 18 6 5 5RERWV 5 6HULHV ...
Страница 2: ......
Страница 20: ......
Страница 26: ......
Страница 27: ...Chapter 2 Constants 1 1 Outline 2 1 2 2 Numeric constants 2 1 3 3 Character constants 2 2 ...
Страница 28: ......
Страница 32: ......
Страница 52: ......
Страница 54: ......
Страница 61: ...Chapter 5 Multiple Robot Control 1 1 Overview 5 1 2 2 Command list with a robot setting 5 2 ...
Страница 62: ......
Страница 66: ......
Страница 76: ......
Страница 78: ......
Страница 92: ......
Страница 328: ......
Страница 408: ......
Страница 409: ...Chapter 11 User program examples 1 1 Basic operation 11 1 2 2 Application 11 8 ...
Страница 410: ......
Страница 432: ......
Страница 488: ......
Страница 489: ...Chapter 13 Appendix 1 1 Reserved word list 13 1 2 2 Changes from conventional models 13 3 ...
Страница 490: ......
Страница 496: ......
Страница 497: ...Index ...
Страница 498: ......
Страница 504: ......
Страница 505: ......
Страница 506: ... DW 1R 1 XWKRUL HG LVWULEXWRU 3ULQWHG LQ XURSH ...