EFORT Standard Interface Communication Configuration
This section describes how to burn the robot standard interface program into an EFORT series robot and complete the standard interface communication configuration between the Mech-Mind vision system and the robot.
| Burning the standard interface program means importing the robot standard interface program and configuration files into the robot system, so that standard interface communication between the vision system and the robot can be established. |
Preparations Before Burning
Check Hardware and Software Versions
|
The models and versions listed below are tested and can be used. For other models and versions, you may refer to this guide for operation. If any issues occur, please contact Mech-Mind Technical Support. |
-
Robot model: ER3H_600.
-
Software version: R2T1E_V3.8.0.
Click to view the operation procedure
-
Open the teach pendant, enter the login page, input the login password, and log in as Operator.
-
The default login account is Operator, and the default login password is 1975. If the login password has been changed, contact the robot administrator to get the password.
-
If unlocking is required later, the unlock password is the same as the login password.
-
-
After logging in, click the Home icon in the upper-left corner of the teach pendant interface, and then click About to display robot information.
-
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 the IP Address
-
On the taskbar of the teach pendant interface, click Login. On the login page, click Permission Settings. In the pop-up window, click Get Permission.
-
If the teach pendant has already obtained permission at this time, the permission connection button displays Release Permission.
-
Only after permission is obtained successfully can you write to the controller. If permission acquisition fails, refer to the official robot manual for troubleshooting.
-
-
After permission is obtained successfully, click the Home icon in the upper-left corner of the teach pendant interface, and then click Settings.
-
Click System, set the ETH3 IP address in IP settings, and then click Save.
-
On the IPC, set the IPC IP address.
The IPC IP address and the robot IP address must be on the same subnet, that is, the network portion and subnet mask of the two IP addresses must be the same. For example, 192.168.100.169/255.255.255.0and192.168.100.170/255.255.255.0are on the same subnet.
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.
-
Under Robot integration, click Open program folder.
The files needed for subsequent loading will be copied from this folder. Do not close this folder. -
(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.
Burn Files into the Robot
-
In the opened burning program folder (
EFORTfolder), copy theMM_Module.XPLfolder to the root directory of the USB drive, and then safely remove the USB drive.The burning program folder can also be found under
Communication Component/Robot_Interface/EFORTin the installation directory of Mech-Vision and Mech-Viz. -
Insert the USB drive into the USB port of the robot teach pendant.
-
On the taskbar, click in sequence.
-
In the bottom bar, click in sequence.
-
In the following interface, select file
MM_Module.XPLand click Import.
Test Standard Interface Communication
-
In the teach pendant interface, click the Home icon in the upper-left corner, and then click TCP IP.
If TCP IP is not displayed on the teach pendant interface, click Settings on the taskbar; in the left navigation bar, click Application Selection; in the application list on the right, select TCP IP, and click Save. After the robot restarts, TCP IP will appear on the interface.
-
In the following interface, set communication parameters and click Save.
-
Protocol type: Select Client.
-
Socket number: Select Socket 1. This socket number must be consistent with the first parameter value in MM_Init_Socket.
-
Server IP: Enter the IPC IP address.
-
Port: 50000. If the host port number in Mech-Vision is changed, change this port number 50000 accordingly so that it remains consistent with the host port number set in Mech-Vision.
-
Timeout: 50000 microseconds.
-
Heartbeat interval: 10000 microseconds.
-
Start character: Leave empty.
-
Terminator: Select CR($R).
-
-
In the following interface, select the imported
MM_Module.XPLfile and click Open. -
In the Program interface, select MM_Com_Test, move the cursor to the first line of the program, and click Set PC.
-
Switch the key switch to manual low-speed (T1) mode. Press the three-position enabling switch (the first position is servo off, the second position is servo on, and the third position is servo off) to power on the servo. Press *鈻? (Start) on the teach pendant to run the program. The figure below shows a virtual teach pendant interface. The real teach pendant has corresponding buttons.
-
If communication between the robot and the vision system is established successfully, related prompts appear on the Console tab of the Mech-Vision log window.