KUKA Setup Instructions¶
This section introduces the process of loading the Standard Interface program onto a KUKA robot.
The process consists of 4 steps:
Please have a flash drive ready at hand.
Check Controller and Software Compatibility¶
Compatibility requirements are as follows:
Robot: 6-axis KUKA robot
Controller model: KUKA KR C4
Controller system software version: KSS 8.2 to 8.6
Add-on software package: Ethernet KRL (V 2.2.8 or above)
Note
All teach pendant actions in this chapter are performed on KSS 8.6. The specific steps and menu selections may differ slightly in older versions of system software.
Setup the Network Connection¶
IP Configuration¶
To allow communication between the IPC and the robot controller, both must have an IP address in the same subnet. This means that the first three numbers of the IP addresses should be the same. For example, 192.168.100.1 and 192.168.100.2 are in the same subnet.
Check the IP address of the IPC: please use the ipconfig command in Command Prompt or PowerShell to check the IP address.
Switch to expert mode:
-
Input an IP address in the same subnet as that of the IPC, and then press on Save. Press on Yes and OK, respectively, in the next two pop-up windows.
Restart the robot to finish setting the IP address:
Load the Program Files¶
Prepare the Files¶
The program files are stored in the installation directory of Mech-Center. The default directory is C:/Mech-Mind/Mech-Center.
Navigate to xxx/Mech-Center/mech_interface/kuka, and copy the following files to your flash drive.
mm_module.src
mm_module.dat
XML_Kuka_MMIND.xml
Load the Files to the Robot¶
Note
Make sure you have switched to expert mode on the teach pendant. For instructions, see step 2 in IP Configuration.
Plug the flash drive to the controller.
Select the flash drive, and locate the above files.
Long-press and select mm_module.src and mm_module.dat, press on Edit, and then select Copy.
Navigate to KRC:/R1, and press on New.
Input mechmind for the folder name, and press on OK.
Select the mechmind folder, and press on Open.
Press on Edit, and then select Paste.
Navigate back to the flash drive, and copy XML_Kuka_MMIND.xml.
Navigate to C:/KRC/ROBOTER/Config/User/Common/EthernetKRL, press on Edit, and then select Paste.
Modify IP Address in XML file¶
Select XML_Kuka_MMIND.xml, and press on Open.
Press on line 4 where it says <IP>192.168.1.1<IP>, and press to change the IP address to the IPC’s actual IP address.
Check line 5 to see if the port number is correct. If not, change it to the IPC’s actual port number.
Press on and then Yes to save the changes.
Restart the Robot¶
Test Robot Connection¶
Configure Mech-Interface in Mech-Center¶
Open Mech-Center and click on Deployment Settings.
Go to Mech-Interface, check Use Mech-Interface and select Standard Interface.
Set the following fields:
Interface Option: Set to TCP Server, HEX, and Little endian.
Listed robot: Select the robot model you are using.
Host Address: The default port number is 50000. If you need to change the port number, make sure to change it accordingly in the XML_Kuka_MMIND.xml on the teach pendant as well.
Click on Save.
Click on Start Interface in the Toolbar.
Run the Robot Program¶
On the teach pendant, open the mechmind folder, select mm_module.src, and then press on Select.
The following should appear on the screen.
Turn the key switch to horizontal, select T1 on the screen, and then turn the switch back to vertical.
Press on the enabling switch (either one of three) on the back of the pendant and on the front at the same time to move the robot back to P0 position. When the screen displays a message saying Programmed path reached (BCO), and turns red, release the enabling switch and .
Note
Set an appropriate speed for the robot before moving it, and observe its motion carefully to avoid accidents.
Switch to AUTO mode as described in step 3, and press on to start running the full-control program ( should turn green).
The robot can be successfully connected if Mech-Center’s Log panel displays the following messages:
Mech-Center: client connected
A message showing the client address
Mech-Center: client disconnected
Mech-Center: waiting for client to connect