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

From 3D scanning Knowledge base - Photoneo wiki
Jump to: navigation, search
Line 5: Line 5:
 
== 2. Project configuration ==
 
== 2. Project configuration ==
  
Start '''Automation Control Environment''' input your robot IP address and select '''Connect To Controller''':
+
Start Automation Control Environment, '''insert IP address of your robot controller''' and select '''Connect To Controller''':
  
 
''NOTE: Make sure that IP address of your PC is within the same subnet as robot.''  
 
''NOTE: Make sure that IP address of your PC is within the same subnet as robot.''  
Line 19: Line 19:
  
  
As a first step you need to upload '''pho_state''' and '''pho_client''' modules which you received on Photoneo-Omron USB Stick.   
+
As a first step you need to upload '''pho_state''' and '''pho_client''' modules which you received on Photoneo-Omron Interface USB Stick.   
  
 
Right Click on '''User Modules''' -> '''Load from V+ File'''
 
Right Click on '''User Modules''' -> '''Load from V+ File'''
Line 33: Line 33:
  
  
As you can see '''pho_clinet module''' consists of several programs. Main loop as well as IP settings are located in the pho_client program. Open '''pho_client()''' and adopt IP address of Vision Controller you are about to connect directly in the code:
+
As you can see '''pho_clinet module''' consists of several programs. Main loop as well as IP settings are located in the '''pho_client''' program. Open '''pho_client()''' and edit the IP address of Vision Controller you are about to connect directly in the code:
  
  
Line 39: Line 39:
  
  
Next step is Start and End pose definition. Open Jog Mode or use Pendant to move robot to the binpicking start position. Adopt this position to meet your application requirements and save pose. Always use '''Precision point''' option.
+
In the next step you need to define binpicking start and end poses. Open Robot Jog Control or use Pendant to move robot to the binpicking start position. Adopt this position to meet your application requirements and save both poses using Robot Jog Control Menu. Always use '''Precision point''' option.
  
  
Line 45: Line 45:
  
  
Using Jog menu define binpicking '''start_pose''' and '''end_pose'''. Optionally you can define '''place_up''' and '''place_down''' position if you plan to use basic placing routine provided within interface.  
+
Using Robot Jog Control define binpicking '''start_pose''' and '''end_pose'''. Optionally you can define '''place_up''' and '''place_down''' position if you plan to use basic placing routine provided within interface.  
  
  
Line 51: Line 51:
  
  
When finished, you should see a list of defined poses also in '''Precision Points''' menu in the Workcell Explorer.  
+
When finished, you should see a list of defined poses also in '''Precision Points''' menu in the '''Workcell Explorer'''.  
  
  
Line 59: Line 59:
 
== 3. Runtime ==
 
== 3. Runtime ==
  
Start Task Status Control. Click '''View''' -> '''Task Status Control'''. You should see a menu with Recipe Manager and Smart Controller as shown in the picture below. Select '''Smart Controller''':  
+
Start '''Task Status Control'''. Click '''View''' -> '''Task Status Control'''. You should see a menu with Recipe Manager and Smart Controller as shown in the picture below. Select '''Smart Controller''':  
  
  
Line 65: Line 65:
  
  
Now '''drag pho_client()''' program from pho_client module to the '''task 0''' and '''pho_state()''' program from pho_state module '''to task 1'''.  
+
'''Drag pho_client()''' program from pho_client module to the '''task 0''' and '''pho_state()''' program from pho_state module '''to task 1'''.  
  
  
Line 71: Line 71:
  
  
When binpicking server is ready, run pho_client task to connect the Robot Controller to the Vision Controller.  
+
Now start binpicking server using web interface and wait until it is ready, Now '''run pho_client task''' to connect the Robot Controller to the Vision Controller and start sending requests.  
  
  
Line 77: Line 77:
  
  
Open Monitor Window option to see log outputs:
+
Open '''Monitor Window''' tool to see the pho_client log outputs:
  
  
Line 83: Line 83:
  
  
Robot status on Web Interface should now change to '''Connected''' and Omron Robot should start executing binpicking trajectories.
+
Robot status on Web Interface should now change to '''Connected''' and Omron Robot should start executing binpicking trajectories. See logs on the Monitor Window tool.

Revision as of 15:19, 20 March 2018

1. Prerequisities

Photoneo Omron Interface was developed using ACE version 3.7.3.150

2. Project configuration

Start Automation Control Environment, insert IP address of your robot controller and select Connect To Controller:

NOTE: Make sure that IP address of your PC is within the same subnet as robot.


Omron connect to robot.png


If connection was established properly, you should see the basic ACE layout including Workspace Explorer as shown in the figure below:


Omron basic project screen.png


As a first step you need to upload pho_state and pho_client modules which you received on Photoneo-Omron Interface USB Stick.

Right Click on User Modules -> Load from V+ File


Omron Load User modules.png


You should reach the state with pho_client and pho_state modules available as shown in the figure below:


Omron loaded modules.png


As you can see pho_clinet module consists of several programs. Main loop as well as IP settings are located in the pho_client program. Open pho_client() and edit the IP address of Vision Controller you are about to connect directly in the code:


Omron phoclient specify IP address of VC.png


In the next step you need to define binpicking start and end poses. Open Robot Jog Control or use Pendant to move robot to the binpicking start position. Adopt this position to meet your application requirements and save both poses using Robot Jog Control Menu. Always use Precision point option.


Omron poses2.png


Using Robot Jog Control define binpicking start_pose and end_pose. Optionally you can define place_up and place_down position if you plan to use basic placing routine provided within interface.


Omron poses3.png


When finished, you should see a list of defined poses also in Precision Points menu in the Workcell Explorer.


Omron all basic poses.png


3. Runtime

Start Task Status Control. Click View -> Task Status Control. You should see a menu with Recipe Manager and Smart Controller as shown in the picture below. Select Smart Controller:


Omron Drag State Server Task.png


Drag pho_client() program from pho_client module to the task 0 and pho_state() program from pho_state module to task 1.


Omron Tasks Prepared.png


Now start binpicking server using web interface and wait until it is ready, Now run pho_client task to connect the Robot Controller to the Vision Controller and start sending requests.


Omron running modules.png


Open Monitor Window tool to see the pho_client log outputs:


Omron Running Tasks.png


Robot status on Web Interface should now change to Connected and Omron Robot should start executing binpicking trajectories. See logs on the Monitor Window tool.