Difference between revisions of "Bin Picking Tutorial: Setting up Photoneo Bin Picking Studio with ABB robots"

From 3D scanning Knowledge base - Photoneo wiki
Jump to: navigation, search
Line 90: Line 90:
  
 
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 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.
 
(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.
  

Revision as of 13:53, 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:


ABB pendant menu RW6.png


On the Control Panel pane, select Controller Settings:


ABB pendant control panel.png


Select Settings and choose Network option:


ABB pendant network.png


Network settings window should appear. Use the touch panel keypad to set an IP address of the IRC5 WAN port:


ABB pendant IP setup.png


Press OK button and restart the controller to apply new settings:


ABB pendant restart.png


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:


Robot studio connect.png

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:


Robot studio file transfer.png


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:


Robot studio file transfer 2.png


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.


Robot studio modify state server config.png


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:


Robot Studio Task Definition 2.png

Following dialog should appear. Change settings as shown in the figure below:


Robot studio task settings 3.png

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:


Robot studio loading modules.png


Configure State Server module as shown in the figure below:


Robot studio state server automatic loading.png


Repeat the same procedure for PhotoneoCommon.sys as a system module:


Robot studio pho common.png


Repeat the same procedure also for CustomerDefinitions.mod containing user settings:


Robot studio customer definitions.png


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:


Robot studio load module.png



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:

Signals tab robot studio.PNG