20-502
20-502
Figure 20-17 Sample program
M_Mxt (CPU number) is a special variable that can communicate state between CPUs. Take the timing of
starting and ending cooperative operation using this variable.
When coordinated operation is controlled from a robot program, the robot 1 executes a movement command
while the robot 2 is executing the Mxt command. If the slave side cannot keep up with over speed or outside the
operating range, it generates an error and stops.
20.4.2.
Interference avoidance
It is possible to operate the robot while checking interference with other robots.
For details, refer to the instruction manual “Detailed explanations of functions and operations 5.24 Interference
avoidance function”.
Also, refer to "
Collision avoidance parameters
" for how to set the interference avoidance parameters
with this software.
Figure 20-18
Image of interference check with two robots
M_Mxt(
2
)=
0
Wait
M_Mxt(
3
)=
0
'
M_Mxt(
2
)=
1
'
'
Wait
M_Mxt(
3
)=
1
Hlt
'
Cnt
1
Dly
0.5
Ovrd
15
'
‘
Automatic operation execute here
'
M_Mxt(
2
)=
0
Wait
M_Mxt(
3
)=
0
Hlt
Wait
M_Mxt(
2
)=
0
M_Mxt(
3
)=
0
'
Wait
M_Mxt(
2
)=
1
Open
"MXT:QRBUS2"
As #
1
Mov
P_GCurr(
2
)
M_Mxt(
3
)=
1
'
Mxt
1
,
0
'
M_Mxt(
3
)=
0
Hlt
Robot 1 (Master)
Robot 2 (Slave)
Robot 2
:
Wait for preparation completion of robot 1
Robot 1
:
Wait for preparation completion of robot 2
Robot
2:
Wait for activation request from robot 1
Robot
2:
Open shared memory of robot 1 (# 1)
Robot 2
:
Move to the current position of the robot 1
Robot 1
:
Wait for activation request from robot 2
Robot 2
:
Start cooperative operation with reference to #1
Robot 2
:
End of coordinated operation
Robot 1
:
Wait for completion of completion from robot 2
JOG operation possible
Содержание 3F-14C-WINE
Страница 84: ...8 84 8 84 Figure 8 21 Parameter transfer procedure 1 2 2 ...
Страница 393: ...18 393 18 393 Figure 18 1 Starting the Oscillograph ...
Страница 413: ...18 413 18 413 Figure 18 24 Output to Robot program Selection ...
Страница 464: ...18 464 18 464 Figure 18 72 Starting the Tool automatic calculation ...
Страница 545: ...21 545 21 545 Figure 21 55 Hide display of user mechanism ...
Страница 624: ...24 624 24 624 Figure 24 4 Document output example ...