Difference between revisions of "Bin Picking Tutorial: Setting up Photoneo Bin Picking Studio with ABB robots"
Line 92: | Line 92: | ||
(For example multi axes systems use T_ROB1 and T_ROB2 tasks, your network configuration might prevent using port 11005 etc). Keep default values if you are not confident about these changes. | (For example multi axes systems use T_ROB1 and T_ROB2 tasks, your network configuration might prevent using port 11005 etc). Keep default values if you are not confident about these changes. | ||
− | |||
[[File:Robot studio modify state server config.png]] | [[File:Robot studio modify state server config.png]] | ||
− | |||
Line 138: | Line 136: | ||
[[File:Robot studio customer definitions.png]] | [[File:Robot studio customer definitions.png]] | ||
− | |||
=== 3.5 Load Main Module === | === 3.5 Load Main Module === |
Revision as of 13:57, 19 January 2018
1. Prerequisities
In order to get Photoneo ABB Interface running on your ABB IRC5 controller, following conditions must be met:
- (616-6) PC Interface Module available
- (672-1) Multitasking Module available
- RoboTWareOS 5.13 and higher
- Robot Studio (v.5.13 and higher, v.6.06 is recommended)
2. ABB Controller setup
Following tutorial gives a step by step guide how to configure your ABB IRC5 controller and install all necessary RAPID files to get the robot interface for Photoneo Binpicking Solution running.
This tutorial was originally written using the latest RobotWare v.6.06, however it should be compatible with older versions with minor changes.
2.1 Network configuration
Turn on the IRC5 Controller, wait for Initialization Screen to appear, open Menu screen and select Control Panel option:
On the Control Panel pane, select Controller Settings:
Select Settings and choose Network option:
Network settings window should appear. Use the touch panel keypad to set an IP address of the IRC5 WAN port:
Press OK button and restart the controller to apply new settings:
3 Robot Studio Setup
3.1 Connect to IRC5 Controller from Robot Studio
Set your local PC network settings to DHCP, plug Ethernet cable to Service Port of IRC5 Controller and launch Robot Studio.
For direct connection to Robot Controller, select Controller tab and One Click Connect option:
3.2 Transfer RAPID files
As a first step in installation of Photoneo ABB Interface, you need to copy RAPID files from your PC to the Robot Controller
You can use USB stick and copy files directly via pendant, however the most convenient way is to use Robot Studio File Transfer tool.
Go to Controller tab and select File Transfer tool from the menu:
Photoneo ABB Interface consists of four RAPID files:
- MainModule.mod
- CustomerDefinitions.mod
- StateServer.mod
- PhotoneoCommon.sys
All these files need to be transferred to the HOME:/Photoneo/ folder created within the robot controller file system as shown by the figure below:
For correct functionality of State Server, please make sure that variables robot_task_id and pho_state_server_port are valid with respect to your system configuration.
(For example multi axes systems use T_ROB1 and T_ROB2 tasks, your network configuration might prevent using port 11005 etc). Keep default values if you are not confident about these changes.
3.3 Create State Server Task
As a next step we need to create State Server Task. State Server Task will run in background and will be used to report current robot state to the Vision Controller.
On the Left pane, click Controller then right click on the Task item in the list and select New:
Following dialog should appear. Change settings as shown in the figure below:
3.4 Automatic Loading of Modules
Now we need to configure ABB system to automatically load StateServer.mod during the boot. Right Click on Automatic Loading of Modules and Select New Automatic Loading of Modules as shown in the figure below:
Configure State Server module as shown in the figure below:
Repeat the same procedure for PhotoneoCommon.sys as a system module:
Repeat the same procedure also for CustomerDefinitions.mod containing user settings:
3.5 Load Main Module
Now we are ready to manually load MainModule.mod from your PC or directly from the controller. Right Click on T_ROB1 task and select Load Module:
2.6 Configuring a I/O
2.6.1 Preparation
Assemble cables (tall box on palette with controller), specifically XP1, XP13, XP2 to the bottom side of controller, with their respective connectors on the base of robot.
2.6.2 Setting up I/O
Various links are accessible on panel inside cabinet. These signals are wired throught XS/XP13 connector underneath the cabinet, throught connection in base of robot to R1(2).CP and R1(2).CS. XT6/6.1 signals 1 to 4 are usually used to power your device (4x1mm2) with link to R1(2).CP and connectors XT5.1, XT5.2 and XT5.3 are used to provide signals for your accessories carried by robot with link to R1(2).CS.
2.3.3 Accessing signals in program
Usually a I/O slave is supplied with robotic controller. If not install one inside cabinet and in Configuration - I/O System tab. Once completed a list of device’s Inputs/Outputs may appear in Signals tab. Configure them according to their specific purpose. A example of signal configuration is shown below: