Mitsubishi MELFA 4D-2CG5100-PKG-E Instruction Manual page 147

Network vision sensor
Table of Contents

Advertisement

(3) Set the calibration number.
Specify the calibration number for [Robot 1] and [Robot 2] in [Calibration No.] on the "Job Editing"
screen [Processing Condition] tab.
(4) Write the robot program
<Robot 1>
10 IF M_NVOPEN(1)<>1 THEN NVOPEN "COM2:" AS #1
20 WAIT M_NVOPEN(1)=1
completed.
30 NVPST #1,"Job1","E76","J81","L85",0,10
results.
40 M_OUT(10)=1
50 WAIT M_IN(10)=1
60 M_OUT(10)=0
Robot 2.
・・・・・・
・・・・・・ Operates the robot with the results received.
・・・・・・
200 NVCLOSE
<Robot 2>
10 IF M_NVOPEN(1)<>1 THEN NVOPEN "COM2:" AS #1
20 WAIT M_NVOPEN(1)=1
completed.
30 WAIT M_IN(10)=1
40 M_OUT(10)=1
50 WAIT M_IN(10)=0
60 M_OUT(10)=0
1.
70 NVIN #1,"Job1","E76","O81","Q85",0,10
・・・・・・
・・・・・・ Operates the robot with the results received.
・・・・・・
200 NVCLOSE
* Note that the cell positions for Robot 1 and Robot 2 to acquire data from the vision sensor are different.
' Connects with vision sensor number 1 and waits for logon to be
' Connects with vision sensor number 1 and waits for logon to be
Detailed explanation of systems combining multiple vision sensors and robots 9-136
9 Detailed Explanation of Functions
'Connects to vision sensor 1 (COM2).
'Starts the vision program and acquires the
'Notifies Robot 2 that reception is possible.
'Checks that Robot 2 has received the notice.
' Switches Off the reception possible signal to
'Connects to vision sensor 1 (COM2).
'Waits for contact from Robot 1.
'Outputs to Robot 1 that it received the notice.
'Checks that Robot 1 has verified reception.
' Switches Off the notice received signal to Robot
'Acquires the results.

Advertisement

Table of Contents
loading

Table of Contents