Set up ABB Controller

Required options

The robot-side part of the ABB connection was written in RAPID and uses both parallel tasks and sockets. The following options are therefore required:

623-1: Multitasking

672-1: Socket Messaging (in newer RobotWare versions this is part of 616-1: PC Interface)

At least RobotWare OS version 5.13 is required for some socket options. For installation it is recommended to use RobotStudio, it is available in a free Basic version and is assumed in the following instructions.

Robot Web Services (RWS) is required for the direct control of grippers and IOs; this is included in RobotWare OS 6.0. Compatibility with RWS 2.0 (RobotWare OS 7.0) has not yet been implemented. Alternatively, grippers and IOs can also be controlled via Profinet or other fieldbuses.

Network configuration

A network connection between the two systems is required for communication between the robot controller and Mikado controller. To do this, first connect an Ethernet port of the ABB controller to an Ethernet port of the Mikado controller. A fixed IP address and a corresponding subnet mask must then be set for both the Mikado Controller and the robot controller. The network configuration of the Mikado Controller is explained in more detail in section Network adapter. We are working on a detailed description of the network configuration of the ABB controller. For the time being, information on the network configuration of the controller can be found in the manufacturer’s user manual.

Warning

Make sure that the IP addresses of the Mikado Controller and ABB Controller are in the same address space and that the subnet masks match.

Then enter the IP address of the robot controller in the Mikado Assistant under “Parameters” -> “Robot” in the corresponding field and save the settings.

Installing the programs

In order for the ABB robot to be controlled by Mikado, the corresponding programs must be copied to the robot controller and set up there. You can find the required RAPID programs at

/opt/isys-vision/mikado/robot_programs/abb/rapid

or directly via the corresponding button in the Mikado Assistant (“Parameters” -> “Robot” -> “Open directory”). Create a new folder called “ROS” on the robot controller and copy all files from the above-mentioned directory to it. The following section explains how to set up these programs on the robot controller in more detail.

Setting up the programs

The driver consists of three programs running in parallel:

  • ROS_stateServer.mod Transmits the current joint position and the state of the robot

  • ROS_motionServer.mod Receives trajectories from Mikado

  • ROS_motion.mod Executes the received trajectories

Separate tasks must now be created for these three programs. To do this, go to “Controller” -> “Configuration” -> “Controller” -> “Task”. You can now add the required tasks by right-clicking and selecting “New Task”:

Name

Type

TrustLevel

Motion Task

ROS_StateServer

Semistatic

NoSafety

No

ROS_MotionServer

Semistatic

SysStop

No

T_ROB1

Normal

Yes

Now you need to create some signals, go to “I/O System” -> “Signal” and add the following signals by right-clicking and selecting “New Signal”:

Name

Type

signalExecutionError

Digital Output

signalMotionPossible

Digital Output

signalMotorOn

Digital Output

signalRobotActive

Digital Output

signalRobotEStop

Digital Output

signalRobotNotMoving

Digital Output

signalRosMotionTaskExecuting

Digital Output

These must now be connected to the system outputs. To do this, go to “I/O System” -> “System Output” and right-click and add “New System Output”:

Signal name

Status

Arg 1

Arg 2

signalExecutionError

Execution Error

N/A

T_ROB1

signalMotionPossible

Runchain OK

N/A

N/A

signalMotorOn

Motors On State

N/A

N/A

signalRobotActive

Mechanical Unit Active

ROB_1

N/A

signalRobotEStop

Emergency Stop

N/A

N/A

signalRobotNotMoving

Mechanical Unit Not Moving

ROB_1

N/A

signalRosMotionTaskExecuting

Task Executing

N/A

T_ROB1

Now the autostart of the programs must be activated, go to “Controller” -> “Automatic Loading of Modules” and add “New Automatic Loading of Modules” by right-clicking:

File

Task

Installed

All Tasks

Hidden

HOME:/ROS/ROS_common.sys

NO

YES

NO

HOME:/ROS/ROS_socket.sys

NO

YES

NO

HOME:/ROS/ROS_messages.sys

NO

YES

NO

HOME:/ROS/ROS_stateServer.mod

ROS_StateServer

NO

NO

NO

HOME:/ROS/ROS_motionServer.mod

ROS_MotionServer

NO

NO

NO

HOME:/ROS/ROS_motion.mod

T_ROB1

NO

NO

NO

After restarting the system (ideally P-Start), the robot can now be controlled by Mikado.

Set up grippers and IOs

ABB’s Robot Web Service (RWS) is used to control simple grippers and IOs in general. Enter the following data in the config/manipulator.yaml file of your cell:

rws_username: Default User
rws_passwort: robotics
rws_port: 80
rws_digital_in_path: din
rws_digital_out_path: dout

We recommend changing the user name and password on the controller!

Mikado uses internal numbers for the individual inputs and outputs, these are appended to the prefix rws_digital_in_path, so if input 23 is read in Mikado, din23 is read on the ABB IRC in this example.

Simple grippers can now be set up via the config/gripper.yaml file.