release notes pc sdk - microsoft€¦ · 2 what’s new in 5.61.01? 6 3 what’s new in 5.61? 7 4...

18
Release Notes PC SDK 5.61.01 Revision: -

Upload: others

Post on 10-Mar-2021

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Release Notes PC SDK - Microsoft€¦ · 2 What’s New in 5.61.01? 6 3 What’s New in 5.61? 7 4 Late-breaking information 8 4.1 Overview 8 5 Corrected Problems in PC SDK 5.61.01

Release Notes

PC SDK

5.61.01

Revision: -

Page 2: Release Notes PC SDK - Microsoft€¦ · 2 What’s New in 5.61.01? 6 3 What’s New in 5.61? 7 4 Late-breaking information 8 4.1 Overview 8 5 Corrected Problems in PC SDK 5.61.01

The information in this manual is subject to change without notice and should not be construed as a commitment by ABB. ABB assumes no responsibility for any errors that may appear in this manual.

Except as may be expressly stated anywhere in this manual, nothing herein shall be construed as any kind of guarantee or warranty by ABB for losses, damages to persons or property, fitness for a specific purpose or the like.

In no event shall ABB be liable for incidental or consequential damages arising from use of this manual and products described herein.

This manual and parts thereof must not be reproduced or copied without ABB's written permission, and contents thereof must not be imparted to a third party nor be used for any unauthorized purpose. Contravention will be prosecuted.

Additional copies of this document may be obtained from ABB at its then current charge.

© Copyright 2014 ABB All rights reserved.

ABB AB Robotics Products

SE-721 68 Västerås Sweden

Page 3: Release Notes PC SDK - Microsoft€¦ · 2 What’s New in 5.61.01? 6 3 What’s New in 5.61? 7 4 Late-breaking information 8 4.1 Overview 8 5 Corrected Problems in PC SDK 5.61.01

Table of Contents

© Copyright 2014 ABB All rights reserved 3

Overview 4

1 Release Information 5

1.1 General 5

1.2 Contents 5

2 What’s New in 5.61.01? 6

3 What’s New in 5.61? 7

4 Late-breaking information 8

4.1 Overview 8

5 Corrected Problems in PC SDK 5.61.01 9

6 Corrected Problems in PC SDK 5.61 10

6.1 Solved Product Defect Documents (PDD) in PC SDK 5.61 10

7 Known Limitations 11

8 Installation Information 13

8.1 Prerequisites 13

8.2 Installing PC SDK 5.61.01 14

9 Compatibility 15

10 Application deployment 17

11 Technical Support 18

Page 4: Release Notes PC SDK - Microsoft€¦ · 2 What’s New in 5.61.01? 6 3 What’s New in 5.61? 7 4 Late-breaking information 8 4.1 Overview 8 5 Corrected Problems in PC SDK 5.61.01

Release Notes PC SDK 5.61.01

© Copyright 2014 ABB All rights reserved 4

Overview

Description

This document provides information about new features, corrected problems and installation of PC SDK 5.61.01.

Product Overview

PC SDK can be used to develop customized PC applications for communication with the IRC5 controller.

It can also be used in combination with RobotStudio SDK to develop RobotStudio add-ins that interacts with the IRC5 controller.

PC SDK applications can connect to one or several IRC5 controllers, real as well as virtual.

The RobotWare Option “PC Interface” according to chapter 8.1.

For download, information and help getting started, visit our Developer Center: http://developercenter.robotstudio.com

On the User Forum developers discuss problems and solutions online:

http://forums.robotstudio.com

Page 5: Release Notes PC SDK - Microsoft€¦ · 2 What’s New in 5.61.01? 6 3 What’s New in 5.61? 7 4 Late-breaking information 8 4.1 Overview 8 5 Corrected Problems in PC SDK 5.61.01

Release Notes PC SDK 5.61.01

© Copyright 2014 ABB All rights reserved 5

1 Release Information

1.1 General

Release Name

The release name is PC SDK 5.61.01 and the build number is 5.61.5969.1001.

Release Date

The release date is May 27nd, 2014.

1.2 Contents

.NET Assemblies

ABB.Robotics.Controllers.PC.dll

Redistributables

ABBControllerAPI.msm – Merge module containing the assemblies required by a PC SDK application.

ABB Robot Communication Runtime 5.61.exe – Standalone installer for Robot Communication Runtime.

Merge Modules for Robot Communication Runtime – Merge modules for including Robot Communication Runtime in your own installer

ABBRobAPI.msm

ABBRobAPICommon.msm

ABBRobInstallAPI.msm

ABBRobInstallAPICommon.msm

Documentation

Reference Manual PC SDK – Class library API reference in C# syntax. Available online at developercenter.robotstudio.com and as Html Help in the installation folder.

Application Manual PC SDK – Available online at developercenter.robotstudio.com and as Html Help and PDF in the installation folder.

Code samples – Available online at developercenter.robotstudio.com.

Installed documentation can be accessed from the Windows Start Menu; Programs > ABB Industrial IT > Robotics IT > PC SDK 5.61.

Page 6: Release Notes PC SDK - Microsoft€¦ · 2 What’s New in 5.61.01? 6 3 What’s New in 5.61? 7 4 Late-breaking information 8 4.1 Overview 8 5 Corrected Problems in PC SDK 5.61.01

Release Notes PC SDK 5.61.01

© Copyright 2014 ABB All rights reserved 6

2 What’s New in 5.61.01?

Overview

PC SDK 5.61.01 contains improvements for reading and writing large RAPID data, new methods for setting the program pointer as well as bug fixes.

Read and write RAPID data larger than 1024 bytes

Earlier versions of PC SDK imposed a limitation on the size of a RAPID data that could be transferred between a PC SDK application and the controller. Trying to read or write a RAPID data with a size exceeding 1024 bytes threw a buffer overflow exception.

This limitation has been resolved in PC SDK 5.61.01 by sequentially transferring smaller chunks of data, if the data size exceeds 1024 byte.

The following methods and properties have been improved:

• RapidData.ReadItem()

• RapidData.WriteItem()

• RapidData.Value{get, set}

• RapidData.Value.ToString()

• RapidData.StringValue{get, set}

• ArrayData.Item

• ArrayData.GetEnumerator()

Set program pointer

It is now possible to set the program pointer position using using the Task class.

void SetProgramPointer(string module,string routine)

void SetProgramPointer(string module, int row)

void SetProgramPointer(ProgramPosition pos)

Page 7: Release Notes PC SDK - Microsoft€¦ · 2 What’s New in 5.61.01? 6 3 What’s New in 5.61? 7 4 Late-breaking information 8 4.1 Overview 8 5 Corrected Problems in PC SDK 5.61.01

Release Notes PC SDK 5.61.01

© Copyright 2014 ABB All rights reserved 7

3 What’s New in 5.61?

Overview

PC SDK 5.61 is a maintenance release and contains one connectivity improvement.

PC Interface option no longer needed when connecting over Service port

It is now possible PC SDK applications to connect to a controller over Service port without the need for the PC Interface option. What’s New in 5.60?

Support for 64-bit Windows Operating systems

You can now develop 64-bit applications with PC SDK.

For developers of RobotStudio Add-Ins it means that it is possible to create Add-Ins using PC SDK for the 64-bit edition of RobotStudio.

Distribution via Developer Center

PC SDK can be downloaded from Robotics Developer Center:

developercenter.robotstudio.com.

PC SDK is no longer distributed as a part of RobotStudio.

Simplified project creation

The number of .NET assemblies of PC SDK that you need to reference has been reduced from five to one.

When you create a new Visual Studio project you only need to add a reference to ABB.Robotics.Controller.PC.dll.

Simplified application deployment

The Robot Communication Runtime redistributable component is now available as a set of merge modules for inclusion in your own application installer. You can now create an application that contains both your own assemblies and all dependencies in one single package.

The merge modules are located under PC SDK\Redistributable\Robot Communication Runtime.

Page 8: Release Notes PC SDK - Microsoft€¦ · 2 What’s New in 5.61.01? 6 3 What’s New in 5.61? 7 4 Late-breaking information 8 4.1 Overview 8 5 Corrected Problems in PC SDK 5.61.01

Release Notes PC SDK 5.61.01

© Copyright 2014 ABB All rights reserved 8

4 Late-breaking information

4.1 Overview

This section contains late-breaking information that will be included in the appropriate documents in the subsequent releases.

Nothing in this release.

Page 9: Release Notes PC SDK - Microsoft€¦ · 2 What’s New in 5.61.01? 6 3 What’s New in 5.61? 7 4 Late-breaking information 8 4.1 Overview 8 5 Corrected Problems in PC SDK 5.61.01

Release Notes PC SDK 5.61.01

© Copyright 2014 ABB All rights reserved 9

5 Corrected Problems in PC SDK 5.61.01

Overview

This section describes the corrected problems in PC SDK 5.61.01.

EventLog.MessageWritten event argument contained no information (PDD3440)

MessageWrittenEventArgs.Message was always null.

Controller.ReleaseUnmanagedResources throws exception (PDD3468)

The method Controller.ReleaseUnmanagedResources() did throw a

NotImplementedException. This method is obsolete since PC SDK 5.60 and does not

need to be called. In PC SDK 5.61.01 it does nothing.

Retrieve RAPID data larger than 1024 bytes (PDD1732)

See Chapter 2 for more information.

Not possible to connect RobotStudio EPS and SafeMove configurators over Service Port (PDD3234)

Due to a problem with the integration between RobotStudio Add-Ins using PC SDK and RobotStudio, it was not possible to use the RobotStudio EPS and SafeMove configurator tools when connecting to a controller over Service Port.

Set Program Pointer (PDD1184)

The program pointer can be set using the following methods on the Task class:

See Chapter 2 for more information.

Page 10: Release Notes PC SDK - Microsoft€¦ · 2 What’s New in 5.61.01? 6 3 What’s New in 5.61? 7 4 Late-breaking information 8 4.1 Overview 8 5 Corrected Problems in PC SDK 5.61.01

Release Notes PC SDK 5.61.01

© Copyright 2014 ABB All rights reserved 10

6 Corrected Problems in PC SDK 5.61

Overview

This section describes the corrected problems in PC SDK 5.61.

6.1 Solved Product Defect Documents (PDD) in PC SDK 5.61

No solved Product Defect Documents in this release.

Page 11: Release Notes PC SDK - Microsoft€¦ · 2 What’s New in 5.61.01? 6 3 What’s New in 5.61? 7 4 Late-breaking information 8 4.1 Overview 8 5 Corrected Problems in PC SDK 5.61.01

Release Notes PC SDK 5.61.01

© Copyright 2014 ABB All rights reserved 11

7 Known Limitations

Overview

This section describes known limitations in PC SDK 5.61.01.

RapidData.Value.ToString() for data exceeding 1024 bytes not supported in snapshot mode

The RapidData.Value.ToString() method is not supported when it is used to view a large RAPID array in snapshot mode.

Workaround: Use RapidData.StringValue.

Maximum number of connected Robot Communication Runtime clients

The following table describes how many client applications can connect to an IRC5 controller using Robot Communication Runtime over its different network ports.

Network port Max number of

connected clients

LAN 3

SERVICE 1

FlexPendant 1

On a single PC, all applications using Robot Communication Runtime, like PC SDK applications and RobotStudio, shares one single connection to the controller.

The RobotStudio Online apps consumes one separate connection each as long as they are visible on the screen. When they become suspended they automatically disconnects from the controller.

In Windows 8.1 it is possible to have two apps docked besides each other which means the apps can consume up to two connections per PC.

Example:

A PC with Windows 8.1 running the following apps and applications consumes three connections. The apps are both visible and docked side by side.

PC SDK application A (1 shared connection via Robot Communication Runtime)

PC SDK application B (1 shared connection via Robot Communication Runtime)

RobotStudio (1 shared connection via Robot Communication Runtime)

RobotStudio Online Adjust (1 connection when it is visible)

RobotStudio Online Tune (1 connection when it is visible)

Total: 1+1+1=3 connections

Page 12: Release Notes PC SDK - Microsoft€¦ · 2 What’s New in 5.61.01? 6 3 What’s New in 5.61? 7 4 Late-breaking information 8 4.1 Overview 8 5 Corrected Problems in PC SDK 5.61.01

Release Notes PC SDK 5.61.01

© Copyright 2014 ABB All rights reserved 12

Maximum number of logged in users

The maximum number of logged in users to the controller is 50.

PC SDK UIInstructionEvent / RAPID UIListView

UIListViewEventArgs.ListItems may return the wrong number of list items if - if you are using characters like double quote (“) and brackets ([ ]) in the RAPID array of list item strings, the

Avoid using double quote (“) and brackets ([ ]).

FlexPendant may lock up when PC SDK application release and immediately request mastership

In manual mode, when a PC SDK application releases master and immediately requests master again, the FlexPendant is locked up when the user presses the prompt to grant write access to the PC SDK application. In automatic mode there is no problem.

IPC Messaging - PC SDK always sends 444 bytes of data

When sending a message with IpcQueue.Send(), the size of the message sent

over the network will be 444 bytes, regardless of the amount of data passed to Send(). Data must therefore be null terminated.

IPC Messaging requires MTA thread

IpcQueue.Send() must be called from an MTA thread. Create a separate sender

thread and use the method Thread.SetApartmentState() to set the apartment

state to MTA before starting it.

IsLocal on the class RapidData, returns true for shared data

The property IsLocal on the class RapidData, returns true for shared data, even though such data is visible from all modules.

The declarations of default zonedata and speeddata has been moved from module BASE.SYS in each task, and are now installed as shared data.

If an application used to create a RapidData object representing for example "v1000", the IsLocal property returned false in RobotWare 5.12, but will return true in RobotWare 5.13."

Page 13: Release Notes PC SDK - Microsoft€¦ · 2 What’s New in 5.61.01? 6 3 What’s New in 5.61? 7 4 Late-breaking information 8 4.1 Overview 8 5 Corrected Problems in PC SDK 5.61.01

Release Notes PC SDK 5.61.01

© Copyright 2014 ABB All rights reserved 13

8 Installation Information

8.1 Prerequisites

Before you install

You need administrator permissions on the computer that you are using.

Licensing

PC SDK can be used free of charge to develop applications.

The RobotWare option "PC Interface" is required to allow an application to connect to the controller over LAN.

Application type Ethernet port on controller Requires PC Interface

RobotStudio Add-In Service port No

Stand-alone executable Service port No

RobotStudio Add-In LAN port Yes

Stand-alone executable LAN port Yes

PC operating system requirements

Operating System

Microsoft Windows 7 SP1 32-bit edition

Microsoft Windows 7 SP1 (recommended) 64-bit edition

Microsoft Windows 8.1 (recommended) 64-bit edition

Simulation environment

RobotStudio is needed for building virtual controller systems and for debugging and testing in a virtual environment.

Development environment requirements

IDE

Visual Studio 2012 Express edition or better.

Visual Studio 2013 Express edition or better.

RobotWare software requirements

In order for a PC SDK application to be able to communicate with an IRC5 controller, the RobotWare option PC Interface is required on the controller.

Page 14: Release Notes PC SDK - Microsoft€¦ · 2 What’s New in 5.61.01? 6 3 What’s New in 5.61? 7 4 Late-breaking information 8 4.1 Overview 8 5 Corrected Problems in PC SDK 5.61.01

Release Notes PC SDK 5.61.01

© Copyright 2014 ABB All rights reserved 14

8.2 Installing PC SDK 5.61.01

Installation information

PC SDK 5.61.01 will be installed side by side with any previous major version of PC SDK 5.xx, while minor versions within a release will upgraded.

The default installation path is C:\Program Files\ABB Industrial IT\Robotics IT\SDK\PC SDK.

How to install PC SDK 5.61.01 on a PC

Action

1 Browse to http://developercenter.robotstudio.com/ and select Robot Communication and then Download.

2 Download the file PCSDK.5.61.5969.1001.exe to a folder on your computer.

3 Double click PCSDK.5.61.5969.1001.exe to start the installation procedure and

complete the wizard.

Page 15: Release Notes PC SDK - Microsoft€¦ · 2 What’s New in 5.61.01? 6 3 What’s New in 5.61? 7 4 Late-breaking information 8 4.1 Overview 8 5 Corrected Problems in PC SDK 5.61.01

Release Notes PC SDK 5.61.01

© Copyright 2014 ABB All rights reserved 15

9 Compatibility

Changed .NET assembly names

In PC SDK 5.61 the following assemblies have been removed:

ABB.PCSdk.Install.dll

ABB.Robotics.Adapters.IRC5.dll

ABB.Robotics.dll

The assembly ABB.Robotics.Controllers.dll has been renamed to ABB.Robotics.Controllers.PC.dll.

All the public types and methods from those assemblies are now available in the single assembly ABB.Robotics.Controllers.PC.dll.

Migrating an existing project

In order to use PC SDK 5.61 from a Visual Studio project where you are currently using a previous version, follow those steps.

Action

1 Remove the following assembly references:

ABB.PCSdk.Install.dll

ABB.Robotics.Adapters.IRC5.dll

ABB.Robotics.dll

ABB.Robotics.Controllers.dll

2 Add a reference to the assembly ABB.Robotics.Controllers.PC.dll.

It is located under "C:\Program Files\ABB Industrial IT\Robotics IT\SDK\PCSDK 5.61 "

3 In project properties Application tab, target .NET 4.5.

4 Build the project.

.NET Framework 4.5

PC SDK 5.61.01 is dependent on .NET Framework 4.5 and it is not possible to develop applications targeting for example .NET 2.0 with PC SDK 5.61.01.

RobotStudio Add-In using PC SDK

An Add-In built with PC SDK 5.15.02 will run in RobotStudio 5.61.01 32-bit edition, since 5.15.02 versions of the PC SDK assemblies are part of the RobotStudio installation.

In order to develop Add-Ins running in the 64-bit edition of RobotStudio, PC SDK 5.61.xx must be used instead. Existing Add-In projects needs to be modifed and rebuilt.

Page 16: Release Notes PC SDK - Microsoft€¦ · 2 What’s New in 5.61.01? 6 3 What’s New in 5.61? 7 4 Late-breaking information 8 4.1 Overview 8 5 Corrected Problems in PC SDK 5.61.01

Release Notes PC SDK 5.61.01

© Copyright 2014 ABB All rights reserved 16

API

The APIs in PC SDK 5.61.01 are backwards compatible with the APIs in PC SDK 5.15.xx.

There are no breaking changes.

Robot Communication Runtime

PC SDK communicates with the robot controller using the Robot Communication Runtime, which is designed to be backwards compatible with earlier versions of RobotWare.

Note! Functionality introduced in later versions of RobotWare will not be available for a PC SDK application that is connected to a controller with an older version of RobotWare.

For example the Messaging functionality is only supported on RobotWare 5.10 and above. This means that a PC SDK application cannot use the Ipc class when communicating with a controller with RobotWare 5.09.

The code will compile, but an exception will be thrown at runtime. Application developers are responsible for handling this scenario in their applications. Please refer to the PC SDK Reference Documentation for details.

Note! Compatibility between RobotWare minor revisions is guaranteed (PC SDK 5.15.01 will be compatible with PC SDK/RW 5.15.02 etc.).

Robot Communication Runtime on Windows XP

Microsoft has announced that its support for Windows XP will end April 8 2014.

PC SDK 5.61.xx does not support Windows XP. This includes Robot Communication Runtime 5.61 which does not support Windows XP.

Page 17: Release Notes PC SDK - Microsoft€¦ · 2 What’s New in 5.61.01? 6 3 What’s New in 5.61? 7 4 Late-breaking information 8 4.1 Overview 8 5 Corrected Problems in PC SDK 5.61.01

Release Notes PC SDK 5.61.01

© Copyright 2014 ABB All rights reserved 17

10 Application deployment

.NET Framework 4.5

Applications based on PC SDK 5.61.01 requires .NET 4.5 Framework to be installed on the target PC.

Robot Communication Runtime

Applications based on PC SDK requires Robot Communication Runtime to be installed on the target PC. The Robot Communication Runtime redistributable, can be found in the PC SDK installation folder; C:\Program Files\ABB Industrial IT\Robotics IT\SDK\PC SDK\5.61\redistributable\RobotCommunicationRuntime.

Redistributables for earlier versions of PC SDK can be found on http://developercenter.robotstudio.com

Page 18: Release Notes PC SDK - Microsoft€¦ · 2 What’s New in 5.61.01? 6 3 What’s New in 5.61? 7 4 Late-breaking information 8 4.1 Overview 8 5 Corrected Problems in PC SDK 5.61.01

Release Notes PC SDK 5.61.01

© Copyright 2014 ABB All rights reserved 18

11 Technical Support For technical support please contact your local ABB office:

www.abb.com/contacts

For help, advice and the latest updates visit the User Forum and Developer Center:

forums.robotstudio.com

developercenter.robotstudio.com