Master-Control Communication Setup
This guide shows you how to set up Master-Control communication with a YASKAWA robot.
The following instructions are based on the YRC1000 controller. Details may differ for other teach pendants of the YASKAWA robot. |
Check Controller and Software Compatibility
-
Confirm that the robot controller model and the system version meet the requirements below.
Controller Controller system software version YRC1000
YAS2.94.00-00
YRC1000micro
YBS2.31.00-00
This guide takes the robot YRC1000 (YAS2.94.00-00) as an example. -
Requirements: To load the master-control program files, the Robot must have the MotoPlus and Ethernet functions enabled.
The program file varies for YASKAWA robots of different series.
Set up the Network Connection
Connect the Hardware
If you are using the YRC1000 controller, plug the Ethernet cable of the IPC into the LAN2 (CN106) port on the CPU board of the robot controller.
For the YRC1000 controller:
|
Set the IP Address
-
Press and hold the
MAIN MENU
key and power the robot to enter the maintenance mode.The system enters the normal startup mode if you do not press the MAIN MENU
key. -
Select
MANAGEMENT MODE. -
Enter the password (the default password is sixteen 9s), and then click Enter to enter MANAGEMENT MODE.
-
Select
. At the OPTION FUNCTION interface, click LAN INTERFACE SETTING. -
In the drop-down menu of IP ADDRESS SETTING (LAN2), select MANUAL SETTING, and set a proper IP ADDRESS and SUBNET MASK.
-
The IP address of LAN2 should belong to the same subnet as the IPC.
-
The subnet mask should be 255.255.255.0.
-
-
Press the
ENTER
key on the teach pendant, and then click YES in the pop-up message.
Load the Program Files to the Robot
Prepare the Files
-
Navigate to
Communication Component/Robot_Server/Robot_FullControl/yaskawa
from the installation directory where Mech-Vision and Mech-Viz are installed. Copy the program file (yrc1000.out) and paste it to the root directory of your flash drive. -
Plug the USB flash drive with the program file into the USB port on the back of the teach pendant.
Copy the program file suitable for the used controller.
Load the Files
-
Under the Maintenance mode, select
. -
Select
. Select the OUT file, press theENTER
key, and click YES in the pop-up window to start loading the program. -
After the installation, select
. You can see the installed file here. -
Restart the controller (without pressing the MAIN MENU key) to enter the normal mode so that the YRC1000.out file can automatically run in the background. Turn the mode switch key to PLAY, and Mech-Viz will be connected to the robot.
When started, the robot will run at the default speed (100%), a relatively high speed. To ensure safety, please modify the speed before triggering the Mech-Viz project.
Adjusting speed should be performed in the normal mode. |
-
Click
. -
Select any job in the JOB LIST, and then press the
SELECT
key on the teach pendant and enter the following interface. -
Select
, and then select the SPEED ADJUSTMENT bar.You cannot modify the parameters if the SPEED ADJUSTMENT bar is not selected. -
Press SPEED ADJUSTMENT and then OFF, press the
SELECT key
to switch MODIFY to ON.You cannot adjust the speed if MODIFY is not switched to ON. -
Similarly, press the number after RATIO, and press the
SELECT
key to change the speed ratio. Press theEnter
key to save the change. -
The interface after the speed is adjusted is as follows.
Test Master-Control Communication
Create a Mech-Viz Project
-
Open Mech-Viz, press Ctrl+N on the keyboard to create a new project. Select the robot model corresponding to your real robot brand and model on the interface as shown below.
-
Press Ctrl+S and create or select a folder to save the project.
-
Right-click the project name in the left panel in Mech-Viz and select Autoload Project.
Connect to the Robot
-
Click Master-Control Robot on the toolbar of Mech-Viz.
-
Input the IP address of the real robot in Robot IP address (the IP address in the picture is only an example). Click Connect the robot.
If Mech-Viz successfully connects the real robot, the current status will change to Connected. Meanwhile, the icon in the toolbar will turn from blue to green.
If the connection fails, please double-check the robot IP address.
Move the Robot
-
In the toolbar of Mech-Viz, change the “Vel.” (velocity) and “Acc.” (acceleration) parameters to 5%.
-
Click Sync Robot in the toolbar, and you can synchronize the poses of the simulated robot in the 3D simulation space with the poses of the real robot. Then click Sync Robot again to unselect it.
-
In the Robot tab, slightly adjust the value of “J1”, for example, from 0˚ to 3˚. This operation will move the simulated robot.
-
Click Move real robot and check if the real robot has moved. If the real robot has reached the JPs set for the simulated robot, the master-control communication is working.
When moving the robot, please ensure the safety of personnel. In the case of an emergency, press the emergency stop button on the teach pendant!