Standard Interface Communication Configuration for AUBO (ARCS)
The Mech-Mind vision system communicates with the AUBO (ARCS) robot through a plug-in. This section describes how to import the plug-in into the AUBO (ARCS) robot and complete the standard-interface communication configuration between the vision system and the robot.
Check Hardware and Software Versions
-
Confirm that the AUBO robot control system is ARCS.
-
Confirm that the teach pendant version is 0.31.0-rc.30.
Click to view the operation method
-
On the Home screen of the teach pendant, click About to view the teach pendant version number.
-
| The standard-interface plug-in does not support communication by connecting a tablet directly to the controller. If you need to use a tablet for communication, install RealVNC on the tablet and connect to the controller remotely so that the standard-interface plug-in can work properly. |
Establish a Network Connection
Hardware Connection
Insert one end of the Ethernet cable into the network port of the IPC and the other end into the LAN port of the robot controller cabinet, as shown below.
Set IP Addresses
-
On the Home screen of the teach pendant, click , set the robot IP address according to the actual network, and then click Apply.
-
On the IPC, set the IP address of the IPC.
The IPC IP address must be in the same subnet as the robot IP address. In other words, the network part and subnet mask of the two IP addresses must be the same. For example, 192.168.100.169/255.255.255.0 and 192.168.100.170/255.255.255.0 are in the same subnet.
Set the Euler-Angle Convention
-
Open Mech-Viz, click New Empty Project. In the dialog box, click Get Online Robot Model List, select AUBO for the robot brand, and select the specific robot model in the right panel.
-
In the left panel of Mech-Viz, right-click the robot and select Open Robot File Directory.
-
Go up two directory levels to the
Robot Library 2.0directory. -
Open the
robot_euler_angles_convention.jsonfile with an editor, add the following code, then save and close the file."AUBO": { "euler_angles_convention": "XYZ_S_w,p,r" }, -
Open the
default_robot_communication_settings.jsonfile with an editor, add the following code, then save and close the file."AUBO": { "is_enable_interface": true, "is_interface_needed": true, "interface_format": "ASCII", "interface_name": "TCP Server" }, -
Close Mech-Viz.
Set Robot Communication Configuration
-
Open Mech-Vision. You may enter different interfaces. Create a new solution according to the instructions below.
-
If you have entered the Welcome interface, click New blank solution.
-
If you have entered the main interface, click on the menu bar.
-
-
Click Robot Communication Configuration on the toolbar of Mech-Vision.
-
In the Robot Communication Configuration window, complete the following configurations.
-
Click the Select robot drop-down menu, and select Listed robot. Click Select robot model, and select the robot model that you use. Then, click Next.
-
In the Communication mode section, select Standard Interface for Interface service type, TCP Server for Protocol, and ASCII for the protocol format.
-
It is recommended to set the port number to 50000 or above. Ensure that the port number is not occupied by another program.
-
(Optional) Select Auto enable interface service when opening the solution.
-
Click Apply.
-
-
On the main interface of Mech-Vision, make sure that the Robot Communication Configuration switch on the toolbar is flipped and has turned blue.
Install Files to the Robot
-
On the IPC, go to the installation directory of Mech-Vision and Mech-Viz, enter the
Communication Component\Robot_Interface\Robot_Plugin\AUBO_CAPfolder, copy themminterface-x.x.x.zipplug-in file to the root directory of a USB drive, and safely remove the USB drive.-
This document uses
mminterface-1.0.0.zipas an example. If the file name is another version, the operation method is similar. -
It is recommended to use a USB drive formatted with the FAT32 file system to ensure that the robot can correctly recognize and read it.
-
-
Insert the USB drive into the USB port of the robot teach pendant.
-
On the Home screen of the teach pendant, click , select the name of the USB drive in use, and click Import after the
mminterface-x.x.x.zipfile. -
Click .
-
In the pop-up window, select the imported
mminterface-x.x.x.zipfile and click Select. -
On the following screen, turn on the mminterface plug-in, then click Restart to make the plug-in take effect.
Test Standard Interface Communication
-
If the robot is not powered on, on the Home screen of the teach pendant click Power On, confirm the payload, then click . If the robot is already powered on, skip this step and continue to the next one.
-
On the teach pendant interface, click Programming, select Add before start, and clear Loop program forever. The Add before start program segment appears in the program area on the right.
-
Click Plug-in, select Empty under Add before start, click initSocket, and add mm_init_socket to the program. On the Command tab, enter the IPC IP address in IP and the host port number configured in Mech-Vision in Port.
-
Under Robot Programming, click openSocket and closeSocket respectively to add mm_open_socket and mm_close_socket to the program.
-
Save the preceding program, then click Run in the lower-left corner and select Run from start point.
-
If the communication connection between the robot and the vision system is established successfully, related prompts appear on the Console tab of the Mech-Vision log window.