Disseny d’una estructura de recol·lecció de dades d’un robot ABB140
Abstract
Amb el present treball s’exposa el desenvolupament i implementació d’un sistema de monitorització de les dades manipulades per la controladora S4 del robot IRB140 del laboratori de robòtica i CIM de l’edifici TR11 de la ETSEIAT. Les dades s’adquiriran des d’una aplicació que actuant com a client OPC accedirà a les dades de la controladora S4 la qual actuarà com a servidor OPC. També es desenvoluparà i implementarà una base de dades amb les seves respectives taules on es desaran totes les dades monitoritzades segons el tipus de dades. Al mateix temps, l’aplicació permetrà visualitzar la base de dades en qualsevol moment sempre i quan no s’estigui realitzant la monitorització.
Full text
W ebW are SDK
Controls Reference
Ve r s i o n 3 . 2
Service Release 2
ABB
© 1999 - 2003 ABB Inc.
All rights reserved.
Printed in the Unit ed S tates of Americ a 1 1/ 14/03
3HAC7700-62
W ebW ar e SDK User ’ s Guide
- ii
The information in this document is subject to change wi thout notice and should not be construed as a
commitment by ABB Automation. ABB Auto mation assumes no responsibility for any e rrors that may appear
in this docume nt.
In no event shall ABB Automation be liabl e for incident al or consequentia l damages arising from use of th is
document or of the software and ha rdware described in this document.
This document and parts thereof must not be reprod uced or copied without A BB Automation’ s permission,
and contents thereof must not be imparted to a thir d party nor be used for any unauthorized purpose.
Contravention will be pro secuted.
©1999 - 2003 ABB Inc.
All rights reserved.
Printed in the United States of America November , 2003
T able of Contents
- iii
T able of Content s
Table of Contents ....... ............ ........ ......... ........ ......... ........ ........ ......... ........... ......... ........ .... .. ........ ......... iii
Chapter 1
Getting Started ......... ........ ........... ......... ........ ......... ........ ......... ........ ......... ........ ......... ....... ....... ........ ..... 1-1
Introduction ........ ........... ........ ......... ........ ......... ........ ......... ........ ........... ......... ........ ........ ...... ......... .. 1-1
ABB InterLink ........... ......... ........... ........ ......... ........ ......... ........ ......... ........ ........... ......... ... .. ........... 1-2
WebWare SDK .. ........ ......... ........... ........ ......... ........ ......... ........ ......... ........ ......... ........ ........ . ........ .. 1-5
About This Manual .......... ........ ........... ......... ........ ......... ........ ......... ........ ......... ........... ........ . ..... ..... 1-8
Chapter 2
Setup and Installation ......... ........... ......... ........ ......... ........ ........... ......... ........ ......... ........ ...... ... ........ ..... 2-1
Overview ......... ........ ............ ........ ........ ......... ........ ......... ........ ......... ........ ......... ........ ..... .... ...... ....... 2-1
System Requirements ....... ........... ........ ......... ........ ......... ........ ......... ........ ............ ........ ........ .. .... ..... 2-2
Installing the WebWare SDK .. ......... ........ ......... ........ ........... ......... ........ ......... ........ ........... ........ ... 2-5
Complete The WebWare SDK Installation .......... ...... ........ ......... ........ ............ .............. ........ ...... 2-19
Obtaining A WebWare License Via E-Mail ........ ................. ............ ................. ................ ......... 2-19
Applying a License ....... ................. ................. ................. ................. ................. ................ ......... 2-20
TCP/IP Interface Installation and Setup ............ .......................................... ...................... ......... 2 -22
Installing TCP/IP Under W indows 2 000 ........ ................. ................. .............. ........... .............. ... 2-23
Installing TCP/IP Under Windows NT 4.0 ........ ........... ................. ................. ................. ........... 2-24
Setting up Windows NT 4.0 for a SLIP Connection .. ........ ............... ........ ......... ........... .............. 2-27
Troubleshooting the Netw ork Connect ion .............. .............. ......... ........ ......... ........ ........... ......... 2-35
Configuring The S4 Controller ......... ........... ................. ................. ........ ............ ................ ....... .. 2-37
Chapter 3
ABB InterLink Module ....... ........... ................. ................. ................. ................. ................. .... .... ........ 3-1
Overview ......... ........ ............ .............. ........... .............. ........... .............. ............ ............. . ......... ....... 3-1
Product Architecture ............. ................. ................. ................. ................. ................. ........ ...... ..... 3-2
Robot Addressing ....... ........... ................. ................. ................. ................. ................. ....... ....... ..... 3-5
Network Address Resolution .............. ............ ................. ................. ................. ................ ....... .... 3-6
Robot Aliases ....... ................. ................. ................. ................. ................. .............. ....... .. ............. 3-7
Chapter 4
InterLink Module Configuration Utility (ICU) ....... ......... ........ ......... ........ ......... ........ ........... ........... 4-1
Configuring the InterLink Module ......... ................. ................. ......... ........... ................. .............. .. 4-1
ICU Main Screen Components ......... .......................................... ....................................... .......... .4 - 2
Menu Functions and Toolbar Shortcut Buttons ............ ........ ......... ........... .............. ........... ........... 4-8
Adding A New Robot Alias .. ................. ................. ................. ................. ................. ............... .. 4-12
Edit A Robot Alias .. ................. ................. ................. ................. ........... ................. .......... ....... ... 4-14
Create A Linked Alias ........... ............ ................. ................ ................. ................. ............... ........ 4-15
Edit Host File ..... ................. .............. ........... ................. .............. ........... .............. ......... .............. 4-17
Add a Host File Entry ...... ........... ................. ................. ................. ................. ................. ... ........ 4-19
Profile Editor ........ ................. ................. ................. ................. ................. ................. .. ............ ... 4-20
Profile Editor User Interface Compon ents ........... .............. ................................................... ...... 4-23
W ebW ar e SDK User ’ s Guide
- iv
Profile Editor – Robot Interface Property Page ...... ............................ ............ ...................... ...... 4-24
Profile Editor – Variable Subscrip tions Property Page ...... ............... .............. .............. .............. 4-27
Profile Editor – Backup File Set Pr operty Page ............ .............. .............. ........... .............. ......... 4-29
How to Configu re Extended R amdisk (Other) B ackup ................. .............. ........... .............. ...... 4-34
Profile Editor – FTP Property Page ....... .............. .............. ............... .............. .............. .............. 4-38
Profile Editor - File Device Interf ace Prope rty Page ....... ............................ ......................... ...... 4-40
WebWare Server Interface Configurat ion .............. ............................ ............ ...................... ...... 4-44
Analyze IO Configuration File .............. .............. ......... ........... .............. ............ .............. ......... .. 4-46
OPC Device Page ....... .............. .............. ............ .............. ........... .............. .............. ........... ......... 4-49
Adding OPC Devices ....... .............. .............. ........... .............. ............ .............. .............. ........ ...... 4-51
Modifying an OPC Device ....... .............. .............. .............. ............ .............. .............. .............. ... 4-54
Edit OPC Device Dialog - Data Access Devices ....... ............................ ............................ ......... 4-55
Edit OPC Device Di alog Component s - Alarms ........ .............. ........... ............... .............. ........... 4-60
Plant Model .. .............. .............. ........... ............... .............. .............. ........... .............. ...... ........ ...... 4-67
WebWare Data Event Editor .......... .............. ........... .............. .............. ............... .............. ......... .. 4-71
Chapter 5
Using the InterLink Monitor ............... .............. ........... .............. .............. ............... .............. ... ........ .. 5-1
Using the ABB InterLink Monitor ...... ............... .............. .............. .............. ........... .............. ....... .5 - 1
Understanding and Optimizing the Polling Engine ...... ........... .............. .............. ............ ............. 5-9
File Date/Time Stamp Process .......... .............. .............. ........... .............. .............. ............ ......... .. 5-16
Monitoring InterLink State From a Program ............. .............. .............. ............ .............. ........... 5-16
Chapter 6
Using WebWare ActiveX Controls .......... ............... .............. .............. .............. ........... .............. ..... ... 6-1
Basic Concepts .............. .............. .............. .............. ........... ............... .............. ........... ..... ......... ..... 6-1
Developing Your Application ........ .............. ........ ... .............. ............ .............. ........... .............. . .... 6-3
Using The Virtual Control ler to Test InterLink App lications ................ .............. .............. ........... 6-6
Using the ABB InterLink Monitor ...... ............... .............. .............. .............. ........... .............. ....... .6 - 7
Delivering An InterLink Application ................. .............. .............. .............. .............. .............. .... .6 - 7
Advanced Programming Topics ........ .............. ........ .............. ............ .............. ........... .............. .... .6 - 7
Chapter 7
Helper Control and HelperScript Object................. ... ........... ............ .............. ........... .............. ....... .7 - 1
Overview ......... .............. .............. ........... .............. ............ .............. .............. ........... ..... ......... ........ 7-1
Properties ..... .............. ........... .............. ............... ........... .............. ........... .............. ....... ..... ............. 7-2
AliasList Property ............ .............. .............. ........ .............. ............ .............. ........... ......... ..... ........ 7-2
AliasListCount Property .......... ........... ............... .............. .............. ........... .............. .............. ........ 7-3
AnalogEventList Property ........ .............. ............ .............. .............. .............. .............. ........... . .. ..... 7-3
BoardAnalogNumInputs Property ............ .............. .............. .............. ............... .............. ............. 7 -4
BoardAnalogNumOutputs Property ....... .............. .............. ............... .............. .............. ........... ..... 7- 4
BoardBus Property ........ ........... .............. .............. ............ .............. .............. .............. ........ ........... 7-5
BoardDigitalNumInputs Property ................ .............. ........... .............. ............... .............. ............ .7 - 6
BoardDigitalNumOutputs Property ....... .............. ...... ...... ........... .............. ........... .............. ........... 7 -6
BoardGroupNumInputs Property ................. ........... .............. .............. ............... ........... .............. .. 7-7
BoardGroupNumOutputs Property .............. .............. ........... ............ .............. .............. ........... ..... 7- 7
T able of Contents
- v
BoardIndex Property ........ ........... ........ ......... ........ ......... ........ ......... ........ ............ ........ ........ . ..... ..... 7-8
BoardIndex Property ........ ........... ........ ......... ........ ......... ........ ......... ........ ............ ........ ........ . ..... ..... 7-8
BoardName Property ........ ........... ........ ......... ........ ......... ........ ......... ........ ............ ........ ........ .. ....... .. 7-9
BoardType Property ......... ........... ........ ......... ........ ......... ........ ......... ........ ............ ........ ........ . ..... ..... 7-9
BootVersion Property ......... ........ ........... ......... ........ ......... ........ ......... ........ ......... ........ ........ .. .... ... 7-10
ContactName Property ............. ........... ......... ........ ......... ........ ......... ........ ............ ........ ........ ... ... ... 7-10
ContactLongName Property ............... ......... ........ ...... ........ ......... ........ ......... ........ ......... ........ ..... .7 - 1 1
CurNoOfCycle Property .......... ... ... ........ ......... ........ ......... ........ ......... ........ ........... ......... ........ .. .... 7-12
CurRunMode Property .......... ............ ........ ......... ........ ........ ............ ........ ......... ........ ......... ...... ..... 7-13
ControlId Property ..... ........... ......... ........ ......... ... ........ ........ ......... ........ ......... ........ ......... .... .... ...... 7-13
DevCapacity Property ........... ............ ........ ......... ........ ........ ......... ........ ............ ........ ......... .... . ...... 7-14
DevFreeSpace Property .... ............................ ....................................... ............ ...................... ...... 7-14
DevList Property ........... ........ ............ ........ ......... ........ ........ ......... ........ ......... ........ ......... ... .. ......... 7-15
DevListCount Property ....... ........... ........ ......... ........ ......... ........... ........ ......... ........ ......... ........ ... ... 7-15
DevUsedSpace Property .......... ......... ........ ......... ........ ........ ......... ........ ......... ........... ......... ....... .... 7-16
DirList Property ... ............ ........ ......... ........ ......... ........... ........ ......... ........ ......... ........... ..... ... ......... 7-17
DirListCount Property .............. ........... ......... ........ ......... ........ ......... ........ ............ ........ ........ . .. ...... 7-17
FileDate Property ....... ........... ......... ........ ......... ........ ......... ........ ......... ........... ........ ......... ... ..... ...... 7-18
FileList Property .............. ........ ......... ........ ......... ........ ........ ............ ........ ......... ........ ........ . ........ ... 7-18
FileListCount Propert y .. ........... ......... ........ ......... ........ ........ ......... ........ ......... ........ ......... ...... ..... ... 7-19
FileMode Property ..... ........... ......... ........ ......... ........ ......... ........ ......... ........... ........ ......... ..... ... ...... 7-19
FileSize Property ........ ........... ......... ........ ......... ........ ......... ........ ......... ........... ........ ......... .. ... ......... 7-20
GenAnalogChanged Property ..... ........... ......... ........ ......... ........ ........... ......... ........ ......... ........ ...... 7-21
GenIOBoardChanged Property ......... ........... ........ ......... ........ ......... ........... ......... ........ ........ ......... 7 -21
GenIOChanged Property ..... ........ ........... ......... ........ ......... ........ ......... ........ ........... ......... ........ .. . ... 7-22
GenIOListChanged Property .... ........... ......... ........ ......... ........ ............ ........ ......... ........ ........ ....... .. 7-22
GenSCWrite Property ... ........ ............ ........ ......... ........ ........ ......... ........ ............ ........ ......... ..... ...... 7-23
GenStatusEventMask Property ................. ......... .. ...... ........ ......... ........ ......... ........ ......... ........ ...... 7-23
OrgNoOfCycle Property ....... ............ ........ ......... ........ ........ ......... ........ ......... ........... ......... ....... .... 7-24
OrgRunMode Property ........ ........... ........ ......... ........ ......... ........ ......... ........ ........... ......... ........ . ..... 7-24
Script Property ..... ............ ........ ......... ........ ......... ........ ........ ......... ........... ......... ........ ....... .. ........ ... 7-25
HelpOn Property .............. ........... ........ ......... ........ ......... ........ ......... ........ ......... ........ ......... . ....... ... 7-25
InterfaceState Property .. ........................................................ ............ ...................... ........... ...... ... 7-26
IOEventList Property .... ........ ......... ........ ............ ........ ........ ......... ........ ......... ........ ............ ... ........ 7-27
LogEventMask Property ..... ........... ........ ......... ........ ......... ........... ........ ......... ........ ......... .......... .... 7-27
ModuleLoadedName Property .......... ........... ........ ......... ........ ......... ........... ......... ........ ........ ......... 7 -28
ModuleLoadedInstance Proper ty ........ ......... ........ ......... ........ ......... ........ ......... ........ ......... ........ ... 7 -2 8
Path Property ...... ........ ........... ......... ........ ......... ........ ......... ........ ........... ......... ........ ......... ..... ......... 7-29
RAPVersion Property ........... ......... ........ ......... ........ ......... ........ ......... ........ ........... ......... ........ ...... 7-29
Robot Property ..... ......... ........... ......... ........ ......... ........ ........ ......... ........... ......... ........ ........ ...... ...... 7-30
SysVersion Property .. ........... ......... ........ ......... ........ ......... ........... ........ ......... ........ ......... ...... .. ...... 7-30
TPUVersion Property .......... ........... ........ ......... ........ ......... ........... ........ ......... ........ ......... ....... . ...... 7-31
VariableEventList Property ... ............ ........ ......... ........ ........ ............ ........ ......... ........ ......... ...... ..... 7-31
Methods ........ ........ ............ ........ ......... ........ ......... ........ ........ ......... ........ ......... ........ ....... .. ........... ... 7-32
AppLog Method ...... ............ ........ ........ ......... ........ ......... ........ ......... ........ ......... ........ ......... .. ...... ... 7-32
W ebW ar e SDK User ’ s Guide
- vi
DeleteAlias Method ......... .............. .............. ........... .............. .............. ............... ........... ...... .. ...... 7-33
ErrorMessage Method ......... .............. .............. ........... .............. .............. .............. ............ ..... ... ... 7-33
IsAlias Method ........ .............. .............. ............ .............. ........... .............. .............. ........... . ........... 7-34
S4AnalogRead Method ....... .............. .............. ........... .............. .............. .............. ............ ....... . ... 7-34
S4AnalogWrite Method ........ .............. ............... ........... .............. .............. .............. ........... ..... .... 7-35
S4Backup Method ............ .......................................... ......................... ............ ........... ......... ........ 7-36
S4BoardAddress Method ......... .............. .............. ............ .............. .............. .............. ........... ... ... 7-37
S4BoardConfig Met hod ...... ........................................................ ........... ............ ........... .......... .... 7-38
S4BoardConfigEx Method .... .............. ............ .............. .............. ........... .............. .............. ....... .. 7-39
S4ClockGet Method ...... .............. .............. ........... .............. ............... ........... .............. .......... ....... 7-40
S4ClockSet Method ......... .............. ..................................................... ............ ........... .......... ....... 7-41
S4ContactName Method ....... .............. ............... ........... .............. ........... .............. .............. ...... ... 7-41
S4CurrentPositionGet Method .... ................. ........ .............. ............ .............. ........... .............. ..... .7 - 4 3
S4DigitalPulse Method ....... .............. .............. ........... .............. .............. .............. ............ ..... ... ... 7-44
S4DigitalRead Method ........ .............. ........... .............. ........... .............. ............... ........... ........ ...... 7-45
S4DigitalWrite Method ......... .............. ............... ........... .............. .............. ........... .............. ... ...... 7-45
S4Dir Method ....... ............... ........... .............. .............. ........... .............. ............ .............. .. ............ 7-47
S4Dump Method ..... .............. .............. ............ .............. ........... .............. .............. ............ ... ........ 7-48
S4FileCopy Method ...... .............. .............. ........... .............. ............... ........... .............. .......... . ...... 7-49
S4FileDelete Method .......... .............. .............. ........... .............. .............. .............. ............ .... ....... 7-50
S4FileRename Method ........ .............. ........... .............. ........... .............. ............... ........... ......... .. ... 7-51
S4GetFileDevIn fo Method ............. ........................................................ ............ ...................... ... 7-52
S4GetFileTime Method ....... .............. ........... .............. .............. ........... ............... .............. ...... .. ... 7-53
S4GetRunModeInfo Method ....... .............. ........... .............. ............... ........... .............. ........... ...... 7-54
S4LoadParameters Method ...... .............. ............ .............. .............. .............. ........... .............. .... .. 7-54
S4MkDir Method ....... .............. .............. ............ .............. .............. .............. ........... ............ .. ...... 7-56
S4ModeGet Method ...... .............. .............. ........... .............. ............... ........... .............. ........... ... ... 7-57
S4ModeSet Method ....... .............. ........... .............. .............. ............ .............. .............. .......... . ...... 7-58
S4ModuleDelete Method ......... .............. .............. ............ .............. .............. .............. ........... ... ... 7-59
S4ModuleLoad Method ........ .............. ............... ........... .............. .............. .............. ........... ...... ... 7-60
S4ModuleSave Method ......... .............. ............ .............. .............. ........... .............. ............ ....... .... 7-61
S4NumBoards Method ........ .............. ........... .............. ........... .............. ............... ........... .......... . ... 7-62
S4ProgramBoolVarRead Method ............. ........... .............. ............... .............. .............. ........... ... 7-62
S4ProgramBoolVarWrite Method ......... .............. .............. ............... .............. ........... .............. ... 7-63
S4ProgramDelete Method ........ .............. .............. ............ .............. .............. .............. ........... ... ... 7-64
S4ProgramLoad Method ....... .............. ............... ........... .............. ........... .............. .............. ...... ... 7-64
S4ProgramNumVarRead Method .......... .................................................................... ................. 7-65
S4ProgramNumVarW rite Method ......... ............................ ......................................................... 7-66
S4ProgramPrep Method ........ ............ .............. .............. ........... .............. ............ .............. ....... .... 7-67
S4ProgramSave Method .. .............. .............. ........... .............. .............. ............ .............. ........... ... 7-68
S4ProgramStringVarRead Method ........ .............. .............. ............ .............. .............. ........... ...... 7-69
S4ProgramStringVarW rite Method .. .. ............... ........... .............. ........... .............. ............ ........... 7-70
S4ProgramVariableRead Method ............. .............. .............. ............ .............. .............. .............. 7-7 1
S4ProgramVariableWrite Method ............ ........... .............. ............... .............. .............. .............. 7-7 2
S4ReadPhysInput Method .............. .......................................... .............. ............ ...................... ... 7-74
T able of Contents
- vii
S4ReadPhysOutput Method ........ ........... ......... ........ ......... ........ ......... ........ ......... ........... ........ ..... .7 - 7 5
S4ResetLog Method ......... ........... ........ ......... ........ ......... ........ ......... ........ ............ ........ ........ .. .... ... 7-76
S4Restart Method .......... ........ ............ ........ ......... ........ ........ ......... ........ ......... ........ ......... .... . ......... 7-77
S4Restore Method ............ .............. .......................................... .......................................... ......... 7-78
S4RmDir Method ....... ......... ........ ........ ......... ........ ......... ........... ......... ........ ......... ........ ........ . ........ 7-79
S4Run Method ........ ............ ........ ........ ......... ........ ......... ........ ......... ........... ......... ........ ....... . ......... 7-80
S4SaveLog Method ....... ........... ......... ........ ......... ........ ........ ......... ........ ............ ........ ......... .... .... ... 7-80
S4SaveParameters Method ...... ........... ......... ........ ......... ........ ......... ........ ............ ........ ........ ....... .. 7-81
S4SetFileTime Method ....... ........... ........ ......... ........ ......... ........... ........ ......... ........ ......... ......... .. ... 7-83
S4Standby M ethod ........... ........................................................ ........... ............ ........... ......... ........ 7-84
S4Start Method .. ........ ........... ......... ........ ......... ........ ......... ........ ........... ......... ........ ......... ... .. ......... 7-84
S4Stop Method ........ ............ ........ ........ ......... ........ ......... ........ ......... ........... ......... ........ ...... .. ......... 7-85
S4TimeoutGet Method ................ ........ ......... ........ ......... ........ ......... ........ ............ ........ ........ .... ..... 7-86
S4TimeoutSet Method ........ ........ ........ ......... ........ ............ ........ ......... ........ ......... ........ ........ .... ..... 7-87
VCControlPanelSet Method . ............ ........ ......... ........ ........ ......... ........... ......... ........ ......... ........ .. .7 - 8 8
VCSendTPUKeys Method .. ........... ........ ......... ........ ......... ........ ......... ........ ......... ........ ........ ......... 7-89
Events ........ ......... ........... ........ ......... ........ ......... ........ ......... ........ ......... ........ ......... ....... . ........ ......... 7-90
AnalogChanged Event ........ ........... ........ ......... ........ ......... ........ ......... ........ ........... ......... ........ . ..... 7-90
BoolVariableChanged Event ....... ........ ............ ........ ......... ........ ......... ........ ......... ........... ........ .... .. 7-91
HelpNotSupported Event ...... ............ ........ ......... ........ ........ ......... ........ ......... ........... ......... ....... .... 7-92
IOBoardChanged Event ........ ......... ........ ......... ........... ........ ......... ........ ......... ........ ......... .......... .... 7-92
IOChanged Event .......... ........ ......... ........ ......... ........ ......... ........ ......... ........ ......... ........ ........ ......... 7-93
LogEvent Event ....... ......... ........ ......... ........ ......... ........ ........ ......... ........ ......... ........... ......... ..... ...... 7-94
RequestComplete Event ...... ........ ........ ......... ........ ......... ........ ............ ........ ......... ........ ........ .... ..... 7-95
SCWriteEvent Event ........ ........... ........ ......... ........ ......... ........ ......... ........ ............ ........ ........ .. .... ... 7-96
StatusChanged Event ....... ........... ........ ......... ........ ......... ........ ......... ........ ............ ........ ........ .. .... ... 7-97
StringVariableChanged Event ........ ........... ......... ........ ........ ......... ........... ......... ........ ......... ........ . .. 7-99
VariableChanged Event ........... ........... ......... ........ ......... ........ ......... ........ ............ ........ ........ .... .. . 7-100
VariableReadError Event ...... ......... ........ ............ ........ ........ ......... ........ ............ ........ ......... ...... .. . 7-101
General Property Page .. ........... ......... ........ ......... ........ ........ ............ ........ ......... ........ ......... .... ..... 7-102
System Property Page ...... ........ ........... ......... ........ ......... ........ ......... ........ ............ ........ ........ .. .... . 7-103
Digital Signals Property Page ........... ........... ........ ......... ........ ......... ........... ......... ........ ........ ..... .. 7-105
Analog Signals Property Page ........... ........... ........ ......... ........ ......... ........... ......... ........ ........ ...... .7 - 1 0 7
Variable Signals Property Page ......... ........ ......... ........ ........... ......... ........ ......... ........ ......... ........ .7 - 1 0 9
Chapter 8
Button Control ....... ........ ......... ........... ........ ......... ........ ......... ........ ......... ........... ......... ....... . ........ ......... .. 8-1
Overview ......... ........ ............ ........ ........ ......... ........ ......... ........ ......... ........ ......... ........ ..... .... ...... ....... 8-1
BevelWidth Property ..... ........... ......... ........ ......... ........ ........ ............ ........ ......... ........ ......... ... ..... ..... 8-2
ButtonUp Property ........ ........... ......... ........ ......... ........ ........... ......... ........ ......... ........ ........... ...... ..... 8-3
Enabled Property .............. ..... ......... ........ ......... ........ ......... ........ ......... ........ ......... ........ ...... .. ......... .. 8-3
HelpOn Property .. ......... ........... ......... ........ ......... ........ ........ ......... ........ ......... ........ ......... .... .... ........ 8-4
HideFocusBox Property ...... ........ ........ ......... ........ ......... ........ ............ ........ ......... ........ ........ .... ....... 8-5
InterfaceState Property .. ........................................................ ............ ...................... ........... ...... ..... 8-5
IOInvert Property ....... ........... ......... ........ ......... ........ ......... ........ ......... ........... ........ ......... ... .. ......... .. 8-6
W ebW ar e SDK User ’ s Guide
- viii
IOPoint Property ........ .............. .............. ............ .............. .............. .............. ........... ......... .. ........... 8-7
OffBackColor Property ....... .............. .............. ........... .............. .............. .............. ............ ..... ... ..... 8-7
OffBitmap Property ....... .............. .............. ........... .............. ............ .............. .............. ........ ........... 8-8
OffCaption Property ......... ........ ... .............. ........... .............. ............ .............. .............. ........ ... ........ 8-8
OffCaptionFont Property ...... .............. ............... .............. .............. ........... .............. .............. . ....... 8-9
OffCaptionPos Property ........ .............. ............... .............. .............. ........... .............. .............. ........ 8-9
OffCaptionX Property ......... .............. .............. ........... .............. .............. .............. ............ .... ....... 8-10
OffCaptionY Property ......... .............. .............. ........... .............. .............. .............. ............ .... ....... 8-11
OffColor Property ............... ........... .............. ... ........ ........... ............... ........... .............. ....... .... ...... 8-11
OffPicPos Property ....... .............. .............. ........... .............. ............... .............. ........... ........ ... ...... 8-12
OffPicX Property .... .............. .............. ............ .............. .............. ........... .............. ............. .......... 8-13
OffPicY Property .... .............. .............. ............ .............. .............. ........... .............. ............. .......... 8-13
OnBackColor Property ..... .............. .............. ........... .............. .............. ............ .............. ........ ...... 8-13
OnBitmap Property .......... .............. .............. .............. ........... .............. ............... ........... ...... .. ...... 8-14
OnCaption Property ...... .............. .............. .............. ........... ............... .............. .............. ...... ..... ... 8-14
OnCaptionFont Property .. .............. .............. ........... .............. .............. ............ .............. ......... ..... 8-15
OnCaptionPos Property ....... .............. .............. ........... .............. .............. .............. ............ ..... ...... 8-15
OnCaptionX Property ................. ........... .............. .............. ............ .............. .............. ........... ...... 8-16
OnCaptionY Property ................. ........... .............. .............. ............ .............. .............. ........... ...... 8-17
OnColor Property ............. .............. .............. .............. ........... .............. ............... ........... .... .......... 8-17
OnPicPos Property ........ .............. .............. ........... .............. ............... .............. ........... ........ ......... 8-18
OnPicX Property ..... .............. ... ......... .............. ........... .............. ........... ............... ........... .... .......... 8-19
OnPicY Property ..... .............. ... ......... .............. ........... .............. ........... ............... ........... .... .......... 8-19
Operation Property ........... .............. .............. .............. .............. ........... ............... .............. . .......... 8-20
PressShift Property ................ ............ .............. .............. ........... .............. .............. ............ ........... 8-20
PulseTime Property .... .............. .............. ............ .............. .............. ........... .............. ........... ......... 8-21
Robot Property ........ .............. .............. ............ .............. .............. .............. ........... ........... . ........... 8-21
State Property .......... .............. .............. ............ .............. .............. .............. ........... ......... ... ........... 8-22
Style Property ..... .............. .............. ........... .............. .............. ............ .............. .............. ........... ... 8-22
Type Property ....... ............... .............. ........... .............. .............. ........... ............... ............ .......... ... 8-23
Verify Property ....... .............. .............. ............ .............. ........... .............. .............. ........... ......... ... 8-23
Click Event ...... ........... .............. .............. ............ .............. ........... .............. ........... ........ .... ........... 8-24
DisabledClick Event .. .............. .............. ............ .............. .............. .............. ........... ............ .. ...... 8-24
Help Event ....... .............. .............. ........... .............. ............ .............. .............. ........... ..... ......... ...... 8-25
IOChanged Event ............. .............. .............. ........... .............. ............ .............. .............. ..... ... ...... 8-25
Verify Event ............ .............. .............. ............ .............. ........... .............. .............. ......... ... ........... 8-26
General Property Page .. .............. .............. .............. ........... ............... .............. .............. ....... .... ... 8-27
Layout Property Page .... .......................................... ............................ ............ ........... ......... ........ 8-28
Interface Property Page . ............................ .......................................... ............ ........... ......... ........ 8-30
Colors Property Page . .............. .............. .............. ............ .............. .............. .............. ......... .. ...... 8-33
Fonts Property Page ......... .............. .............. .............. .............. ........... ............... .............. .. ......... 8-34
Pictures Property Page .......... ............ .............. ........ .............. ............ .............. ........... ......... ..... ... 8-35
T able of Contents
- ix
Chapter 9
Pilot Control.............. ........ ......... ........ ........ ......... ........ ......... ........ ............ ........ ......... .... . ......... ........ ..... 9-1
Overview ......... ........ ............ ........ ........ ......... ........ ......... ........ ......... ........ ......... ........ ..... .... ...... ....... 9-1
BackColor Property .......... ........ ...... ........ ......... ........ ......... ........ ......... ........ ......... ........ ........ ......... .. 9-2
BevelWidth Property ..... ........... ......... ........ ......... ........ ........... ......... ........ ......... ........ ........... . ..... ..... 9-2
BorderWidth Property ......... ........... ........ ......... ........ ......... ........ ......... ........ ........... ......... ....... ....... .. 9-3
Caption Property ........ ........... ......... ........ ......... ........ ......... ........ ......... ........... ........ ......... ... .. ......... .. 9-3
CPosition Property ........ ........... ......... ........ ......... ........ ........... ......... ........ ......... ........ .......... ....... ..... 9-4
Font Property .............. ......... ........... ........ ......... ........ ......... ........ ......... ........ ......... ........ ... ... ........ ..... 9-4
ForeColor Property ....... ........... ......... ........ ......... ........ ........ ......... ........ ............ ........ ......... .. ... ........ 9-5
InnerBevel Property ......... ........... ........ ......... ........ ......... ........... ......... ........ ......... ........ ........ ......... .. 9-5
IOInvert Property ....... ........... ......... ........ ......... ........ ......... ........ ......... ........... ........ ......... ... .. ......... .. 9-6
IOPoint Property ........ ........... ......... ........ ......... ........ ......... ........ ......... ........... ........ ......... ... .. ......... .. 9-6
OffColor Property ............... ........ ........ ......... ... ... ........ ........ ......... ........ ......... ........ ......... .... .... ........ 9-7
OnColor Property ....... ........... ......... ........ ......... ........ ......... ........ ......... ........... ........ ......... .... .... ........ 9-7
OuterBevel Property ........... ..... ......... ........ ......... ........ ........... ......... ........ ......... ........ ......... ... ..... ..... 9-8
PSize Property .... ........ ........... ......... ........ ......... ........ ......... ........ ........... ......... ........ ......... . ....... ........ 9-9
Robot Property ........ ............ ........ ........ ......... ........ ......... ........ ......... ........... ......... ........ ..... . ........ ..... 9-9
General Property Page .. ........... ......... ........ ......... ........ ........ ............ ........ ......... ........ ......... .... .... ... 9-10
Interface Property Page . .......................................... ............................ ............ ........... ......... ........ 9-11
Frame Property Page .. ......... ........... ........ ......... ........ ......... ........ ......... ........... ........ ......... ...... ........ 9-14
Colors Property Page . ........... ......... ........ ......... ........ ......... ........... ........ ......... ........ ......... ...... .. ...... 9-15
Fonts Property Page ......... ........... ........ ......... ........ ......... ........... ......... ........ ......... ........ ........ ......... 9-16
Chapter 10
Label Control ...... ........ ......... ........ ......... ........ ......... ........ ......... ........ ........... ......... ........ .... .. ........ ...... ... 10-1
Overview ......... ........ ............ ........ ........ ......... ........ ......... ........ ......... ........ ......... ........ ..... ...... ...... ... 10-1
AnalogSignal Property ..... ........... ........ ......... ........ ......... ........... ......... ........ ......... ........ .......... .... ... 10-2
BevelWidth Property ..... ........... ......... ........ ......... ........ ........... ......... ........ ......... ........ ........... . ..... ... 10-2
CaptionAlign Property .......... ............ ........ ......... ........ ........ ............ ........ ......... ........ ......... .... ....... 10-3
DataClass Property .............. ........... ........ ......... ........ ......... ........ ......... ........... ........ ......... .... .... ...... 10-4
DisabledBackColor Property ......... ........... ......... ........ ........ ......... ........... ......... ........ ......... ........ . .. 10-4
DisabledCaption Pro perty ........ ......... ........ ......... ........ ........ ......... ........... ......... ........ ......... ...... .. ... 10-5
DisabledCaptionFont Property ....... ........... ......... ........ ........ ............ ........ ......... ........ ........... ....... .. 10-5
DisabledForeColor Property ............... ......... ........ ......... ........ ............ ........ ......... ........ ........ ...... ... 10-5
DisableFrame Property . ........ ............ ........ ......... ........ ........ ......... ........ ............ ........ ......... ..... ...... 10-6
EnabledCaption Property ...... ............ ........ ......... ........ ........ ............ ........ ......... ........ ......... ...... .. ... 10-6
EnabledCaptionFont Property ........ ........... ......... ........ ........ ......... ........... ......... ........ ......... ........ . .. 10-7
HelpOn Property ..... ......... ........... ........ ......... ........ ......... ........ ......... ........ ......... ........ ......... . ....... ... 10-8
InterfaceState Property .. .......................................... .............. ............ ........... ...................... ... ...... 10-8
IOGroupName Property ...... ........... ........ ......... ........ ......... ........... ........ ......... ........ ......... .......... .... 10-9
IOInvert Property ....... ........... ......... ........ ......... ........ ......... ........ ......... ........... ........ ......... ... .. ....... 10-10
IOPoint Property ........ ........... ......... ........ ......... ........ ......... ........ ......... ........... ........ ......... ... .. ....... 10-10
OffBackColor Property ............ ......... ........ ......... ........ ........ ......... ........... ......... ........ ......... ..... .... 10-11
OffForeColor Property ........ ........... ........ ......... ........ ......... ........ ......... ........ ........... ......... ....... .... . 10-11
W ebW ar e SDK User ’ s Guide
- x
OffFrame Property ........ .............. .............. ........... .............. ............... .............. ........... ........ ...... . 10-12
OffText Property ........ .............. .............. ............ .............. .............. .............. ........... ......... .. ....... 10-13
OnBackColor Property ..... .............. .............. ........... .............. .............. ............ .............. ........ .... 10-13
OnForeColor Property .............. .............. .............. .............. ............ .............. .............. .......... ..... 10-14
OnFrame Property ......... .............. .............. ........... .............. ............... .............. ........... ........ ... .... 10-14
OnText Property ......... .............. ........... ............... .............. ........... .............. ........... ............ ......... 10-15
PID Property ........ ............... .............. ........... .............. ........... .............. ............... ........... . .......... . 10-16
Robot Property ..... ............... .............. ........... .............. .............. ........... ............... ............. ......... . 10-16
VarName Property ........ .............. .............. ........... .............. ............... .............. ........... ......... .. .... 10-17
VarType Property ....... .............. .............. ............ .............. ........... .............. .............. .......... ........ 10-17
General Property Page .. .............. .............. .............. ........... ............... .............. .............. ....... ..... 10-18
Interface Property Page . ...................................................................... ............ ........... ......... ...... 10-20
Frame Property Page ........ .............. .............. ........... .............. .............. ............... ........... ...... ..... . 10-22
Color Property Page ...... .............. .............. ........... .............. ............... ........... .............. ........ ... .... 10-24
Fonts Property Page ......... .............. .............. .............. .............. ........... ............... .............. .. ... .... 10-25
Chapter 11
ABBRobotFileManager Contro l ............ ........... .............. ........... .............. ............ .............. ........... . .. 11-1
Overview ......... .............. .............. ........... .............. ............ .............. .............. ........... ..... ......... ...... 11-1
PCDriveList Object .... ........... .............. ............... ........... .............. .............. ........... .............. ......... 11-2
List Property ....... .............. .............. ........... .............. .............. ............ .............. ............. ......... ...... 11-2
ListCount Property ........... ........... .............. ...... ..... .............. ............... ........... .............. ....... .... ...... 11-3
Add Method ......... ............... ........... .............. ........... .............. ............ .............. .............. .. ......... ... 11-3
Remove Method ......... .............. .............. ............ .............. ........... .............. .............. ........... ......... 11-4
RemoveAll Method .... .............. .............. ............ .............. .............. ........... .............. ............. ....... 11-4
RobotList Object ........ .............. .............. ............ .............. .............. .............. ........... ......... .. ......... 11-5
List Property ....... .............. .............. ........... .............. .............. ............ .............. ............. ......... ...... 11-5
ListCount Property ........... ........... .............. ...... ..... .............. ............... ........... .............. ....... .... ...... 11-6
Add Method ......... ............... ........... .............. ........... .............. ............ .............. .............. .. ......... ... 11-6
Remove Method ......... .............. .............. ............ .............. ........... .............. .............. ........... ......... 11-7
RemoveAll Method .... .............. .............. ............ .............. .............. ........... .............. ............. ....... 11-7
ABBRobotFileManager Properties ..... ............................. .................................................. ......... 11- 8
AllDisks Property .... .............. .............. ............ .............. .............. ........... .............. ............ ........... 11-8
AllowResize Property ........... ............ .............. ... ........ .............. ........... ............... ........... ....... ....... 11-9
AllRobots Property ....... .............. .............. ........... .............. ............... .............. ........... ........ ... ...... 11-9
DriveList Property ......... .............. .............. ........... .............. ............... .............. ........... ...... .. ....... 11-10
EditFileEnable Property ................. ........... .............. .............. ............ .............. .............. ....... . .... 11-10
MaskExtensions Property ........ .............. .............. ............ .............. .............. ........... .............. .. .. 11-11
ReadOnly Property ..... .............. .............. ............ .............. .............. ........... .............. ........... ....... 11-11
RobotList Property ........ .............. .............. ........... .............. ............... .............. ........... ....... . ....... 11-12
SafeCopy Property ........ .............. .............. ........... .............. ............... .............. ........... ........ ... .... 11-12
ShowFilesInMask Property ............ .............. .............. ........... .............. ............... ........... ........... .1 1 - 1 3
ViewStyle Property .......... .............. .............. .............. .............. ........... ............... .............. .. ....... 11-13
ABBRobotFileManager Methods .......... ......................................................... ...................... .... 11-14
GetCurrentPath Method ...... .............. .............. .............. ........... .............. .............. .............. .... ... 11-14
T able of Contents
- xi
ABBRobotFileManager Events .......... ............................. ............................ ......................... .... 11-1 5
FolderSelected Event .......... ........ ........ ......... ........... ......... ........ ......... ........ ......... ........... ...... ...... 11-15
FileSelected Event ......... ........... ......... ........ ......... ........ ........ ......... ........ ............ ........ ......... .. ....... 11-16
ABBRobotFileManager Property Page .. ............................ ........................................ ........... .... 11-17
Chapter 12
RobotBox Control . ........ ......... ........ ......... ........ ........... ......... ........ ......... ........ ......... ........ ...... ... ........ ... 12-1
Overview ......... ........ ............ ........ ........ ......... ........ ......... ........ ......... ........ ......... ........ ..... ...... ...... ... 12-1
Common Features ............ ..... ......... ........ ......... ........ ......... ........ ......... ........ ......... ........ ........ . ........ 12-4
Common Contr ol Gener al Proper ty Pa ge .... ........ ......... ........ ......... ........ ......... ........ ......... ........ ... 12-5
Common Control Color Property Page ........... ........ ... ... ........ ......... ........ ......... ........ ......... ........ ... 12-6
RobotBox General Property Page ....... ............ ..... ...... ........ ......... ........ ......... ........ ......... ........ ...... 1 2-7
RobotBox Color Property Page ......... ........ ........... ......... ........ ......... ........ ......... ........ ......... .......... . 12-8
Common Cont rol Robot Pro perty .. ..... ......... ........ ............ ........ ......... ........ ......... ........ ........ ......... 12 -9
Common Cont rol ReadOnly Property . ......... ........ ......... ........ ......... ........ ......... ........ ........... ......... 12-9
Common Control Enabled Prop erty .. .. ......... ........ ......... ........ ......... ........... ......... ........ ........ ....... 12-10
Common Control BackColor Property ................ ...... ........ ......... ........ ......... ........ ......... ........ .... 12-11
RobotBox Expanded Property ....... ........... ......... ........ ........ ......... ........ ......... ........ ............ ........ . 12 -11
RobotBox BackColor Property ......... ........... ........ ......... ........ ......... ........... ......... ........ ........ ....... 12 -12
RobotBox PanelColor Property .......... ............ ........ ......... ........ ......... ........... ........ ......... ........ .... 12 -12
RobotPanel Control ....... ........... ......... ........ ......... ........ ........ ......... ........ ............ ........ ......... .. ....... 12-12
RobotInfo Control ............ ........ ......... ........ ......... ........ ........ ......... ........... ......... ........ ......... . .... .... 12-13
RobotState Control .. ......... ........... ........ ......... ........ ......... ........ ......... ........... ......... ........ ....... .... .... 12-14
RobotPos Control . ......... ........ ............ ........ ......... ........ ........ ......... ........ ......... ........ ......... .... . ....... 12-15
RobotDIO Control ......... ........... ......... ........ ......... ........ ........ ......... ........ ............ ........ ......... .. ... .... 12-16
RobotGIO Control ......... ........... ......... ........ ......... ........ ........ ......... ........ ............ ........ ......... .. ... .... 12-17
RobotAIO Control ......... ........... ......... ........ ......... ........ ........ ......... ........ ............ ........ ......... .. ... .... 12-18
RobotBox Control ...... ........... ......... ........ ......... ........ ......... ........ ......... ........ ......... ........ ........ ....... 12-18
Chapter 13
WWClientApp Control ............... ......... ........ ......... ........ ........... ......... ........ ......... ........ ......... ..... ... ...... 13-1
Overview ......... ........ ............ ........ ........ ......... ........ ......... ........ ......... ........ ......... ........ ..... ...... ...... ... 13-1
Custom Table Field Definition Constants .......... ..... ......... ........ ......... ........ ......... ........... ........ ...... 13-2
WebWare Server Interface State Cons tants ......... .............. ........................................ ........... ...... 13-3
ApplicationName Property ... ............ ........ ......... ........ ........ ......... ........ ............ ........ ......... ........ ... 13-3
Author Property .......... ......... ........... ........ ......... ........ ......... ........ ......... ........ ......... ........ ..... . ........ ... 13-4
Company Pr operty .. ......... ........ ......... ........ ......... ........ ........... ......... ........ ......... ........ ......... ... ..... ... 13-4
Description Property ........ ........... ........ ......... ........ ......... ........... ......... ........ ......... ........ ........ ...... ... 13-4
InterfaceState Property .. .......................................... .............. ............ ................................. ......... 13-5
StatusLabel Property ................ ......... ........ ......... ........ ........... ......... ........ ......... ........ ......... .. ...... ... 13-5
StatusString Property ....... ........ ......... ........ ......... ........... ........ ......... ........ ......... ........... ........ ...... ... 13-6
Version Property .............. ........ ......... ........ ......... ........ ........ ............ ........ ......... ........ ......... ........ ... 13-6
AppLog Method ...... ......... ........... ........ ......... ........ ......... ........ ......... ........ ......... ........ ......... .. ...... ... 13-7
CreateTable Method ............ ........ ........ ......... ........ ......... ........ ......... ........... ......... ........ ........ . ........ 13-8
IncrementCounter Method ............. ........ ......... ........ ......... ........ ........... ......... ........ ......... ........ ... ... 13-9
LogTimedEvent Method ..... ........... ........ ......... ........ ......... ........ ......... ........ ......... ........ ........ ...... .1 3 - 1 0
W ebW ar e SDK User ’ s Guide
- xii
StartTimer Method ........ .......................................... .............. ............ ................................. ....... 13-11
StopTimer Method ........ .............. .............. ........... .............. ............... .............. ........... ......... .. .... 13-12
WriteRec Method ....... .............. .............. ............ .............. .............. .............. ........... ........... ....... 13-13
InterfaceStateChange Event ........................................................ ........... ............ ........... .......... .. 13-14
RequestComplete Event ...... .............. .............. ........... .............. .............. ............ .............. ...... .. . 13-15
WWClientApp Control Property Page ...... .............. ...... ..... ............ .............. .............. ........... .... 13-16
Chapter 14
WWClient Control Library........... .............. ............ .............. .............. ........... .............. ............. ....... 14-1
Overview ......... .............. .............. ........... .............. ............ .............. .............. ........... ..... ......... ...... 14-1
Common Features ............ ........ .............. .............. ............ .............. ........... .............. ........... . ........ 14-2
WWDeviceTree Control ....... .............. ............... ........... .............. .............. .............. ........... ...... ... 14-9
WWDeviceData Control ....... .............. ............... ........... .............. .............. .............. ........... ...... .1 4 - 1 6
WWFolderData Control ........... ........... ............... .............. ........... .............. .............. ........... ..... .. 14-1 7
Properties ..... .............. ........... .............. ............... ........... .............. ........... .............. ....... ..... ......... 14-19
DisplayAsTable Property ......... .............. ............ ........... .............. ........... .............. ............ ...... ... 14-19
DisplayCommonTree Property ......... ........... ........... .............. .............. ............ .............. ........... . 14- 20
DisplayHiddenTree Property ......... .............. ........... .............. ............ .............. ........... .............. . 14-21
DisplayTree Property ............... ........... ............... .............. ........... .............. .............. ........... . ...... 14-22
HasCheckSelect Property ............ ........... .............. ............ .............. ........... .............. ........... .... ... 14-23
HasFullRowSelect Property ..... .............. .............. ......... .............. ........... .............. ............ ........ .1 4 - 2 4
HasMultipleSelect Property ........... .............. .............. .............. .............. ............ .............. ....... .. 14-25
HasSplitLine Property ......... .............. .............. .............. .............. ........... .............. .............. . ...... 14-25
HasTableGrid Property ......... ............ .............. ........ .............. ............ .............. .............. ........ ... . 14-26
HasTreeButtons Property .... .............. .............. ........... .............. .............. ............ .............. ...... .. . 14-27
HeaderBackColor Property ............... ........... .............. ........... .............. ............ .............. ........... .1 4 - 2 8
HeaderFont Property ........... .............. .............. .............. ........... .............. .............. ............ ... ...... 14-28
HeaderForeColor Property .......... ........... .............. ............ .............. ........... .............. ........... ..... .. 14-2 8
HeaderType Property ............ ............ .............. .............. .............. ........... .............. .............. .. ..... 14-29
IconCheckType Property ......... ........... ............... ........... .............. ........... .............. ............ ....... .. 14-29
IconExpandType Property .... .............. ............... .............. ........... .............. .............. .............. ... .1 4 - 3 0
IconSizeType Property ..... .............. .............. .............. ........... .............. ............... .............. .... ..... 14-30
LineColor Property .......... ........ ... ........... .............. ............ .............. ........... .............. ........... ....... 14-30
LinkType Property ........... .............. .............. ........... .............. .............. ............... ........... ..... ...... . 14-31
ScrollBarType Property ...... .............. .............. ........... .............. .............. ............ .............. ..... ... . 14-31
SelectBackColor Property ........... .............. ........... .............. ............ .............. ........... .............. . ... 14-31
SelectForeColor Property ......... ........... ............... ........... .............. ........... .............. ............ ..... .... 14-32
TableAlignment Property ......... ........... ............... .............. ........... .............. ........... .............. .... ... 14-32
TableBackColor Property ... .............. .............. .............. ........... .............. .............. .............. ..... .. 14-33
TableColumnCount Property ............ .............. ..... ... .............. ............ .............. ........... .............. . 1 4-3 3
TableDis playType Proper ty ........... ........... .............. ........... ............... ........... .............. ........... ... .1 4 - 3 4
TableDisplayTypeCount Property . ................. ........... ........... .............. ............ .............. ............ 14-3 4
TableForeColor Property .... .............. .............. .............. ........... .............. .............. .............. .... ... 14-35
TableHeaderAlignment Property ...... .............. ........... .............. .............. ............ .............. ......... 1 4- 35
TableHeaderCaption Pr operty .. .............. .............. ............ .............. .............. ........... .............. .... 14-36
T able of Contents
- xiii
TableSortColumn Pro perty ......... ...... ........ ......... ........ ........ ......... ........ ......... ........... ......... ........ .1 4 - 3 6
TableSortType Property ........ ............ ........ ......... ........ ........ ............ ........ ......... ........ ......... ..... .... 14-37
TableWidth Property ........ ........ ......... ........ ......... ........ ........ ......... ........ ......... ........ ......... ...... .. .... 14-37
TreeBackColor Property ....... ......... ........ ......... ........ ........... ......... ........ ......... ........ ......... ........ . ... 14-38
TreeDispl ayType Prop erty ....... ......... ........ ......... ........ ........ ......... ........ ............ ........ ......... ....... .. 14-38
TreeDisplayTypeCount Property ........... ......... ........ ... ...... ........ ......... ........ ......... ........... ........ .... 14- 39
TreeForeColor Property ........... ........... ......... ........ ......... ........ ......... ........ ............ ........ ........ ... .... 14-39
TreeHeaderAlignment Pr operty ..... ........ ......... ........ ......... ........ ......... ........ ......... ........ ........ ....... 14 -39
TreeHeaderCaption Property ............ ..... ......... ........ ......... ........ ......... ........ ......... ........... ........ .... 14- 40
TreeNameTypeDisplayed Proper ty ..... ......... ........ ......... ........ ......... ........ ......... ........ ......... ........ . 14-41
TreeSortType Property ........ ........... ........ ......... ........ ......... ........ ......... ........ ........... ......... ....... .... . 14-41
TreeTableFont Property ........... ........... ......... ........ ......... ........ ......... ........ ............ ........ ........ ... .... 14-42
TreeWidth Property . ............................ ............... .......................................... ...................... ... .... 14-42
UseDefaultTextFormat Property ......... ......... ........... ...... ........... ......... ........ ......... ........ ........ ....... 14 -42
UseDefaultWidth Property .......... ........... ......... ........ ......... ........ ........... ......... ........ ......... ........ .. .. 14-43
UseSystemProperties Property .......... ........... ........ ......... ........ ............ ........ ......... ........ ........... .... 14-43
Methods ........ ........ ............ ........ ......... ........ ......... ........ ........ ......... ........ ......... ........ ....... .. ........... . 14-44
GetCheckSelectAliasName Met hod ... ........................................... ............................ ........... .... 14-44
GetCheckSelectClass Method .. ......... ........ ........... ......... ........ ......... ........ ......... ........ ........... ....... 1 4-44
GetCheckSelectContainerName Method ........... ........ ........ ......... ........ ......... ........ ......... ........ .... 14-45
GetCheckSelectCount Method .......... ........... ........ ......... ........ ............ ........ ......... ........ ........... .... 14 -46
GetCheckSelectLogicalName Method ................. ...... ........ ......... ........ ......... ........ ......... ........ .... 14-46
GetCheckSelectPhysicalName Method .......... ........ ... ... ........ ......... ........... ......... ........ ........ ....... 14-47
GetCheckSelectType Method ..... ........ ......... ........ ............ ........ ......... ........ ......... ........... ........ .... 14 -47
GetCheckSelectTypeName Method .......... ........... ......... ........ ......... ........ ............ ........ ........ ....... 14-48
GetCheckSelectVisibleName Method ......... ........ ......... ........ ......... ........ ......... ........ ......... ........ . 14-49
GetMultipleSelectAliasName Method ............ ........ ........... ......... ........ ......... ........ ............ ........ . 14-49
GetMultipleSelectClass Method . ........ ......... ........ ............ ........ ......... ........ ......... ........... ........ .... 14 -50
GetMultipleSelectCont ainerName Method ................ ........ ......... ........... ......... ........ ......... ........ . 14-50
GetMultipleSelectCount Method ........ ............ ........ ......... ........ ......... ........... ........ ......... ........ .... 14- 51
GetMultipleSelectLogicalName Method ........ ........ ......... ........ ......... ........ ......... ........ ........ ....... 14-51
GetMultipleSelectPhysicalName Method .... ........... ... ... ........ ......... ........ ......... ........ ......... ........ . 14-52
GetMultipleSelectType Method .......... ......... ........... ......... ........ ......... ........ ......... ........ ........... .... 14 -52
GetMultipleSelectTypeName Method ............ ........ ...... ..... ......... ........ ............ ........ ......... ........ . 14-53
GetMultipleSelectVisibleName Method ......... ........ ...... ........ ......... ........ ......... ........ ......... ......... 14-53
GetSingleSelectAliasName Method ...... ............ ........ ........ ......... ........ ............ ........ ......... ........ . 14-54
GetSingleSelectClass Method .. ......... ........... ........ ......... ........ ......... ........... ......... ........ ........ ....... 14-54
GetSingleSelectContainerName Method ........ ........... ... ........ ......... ........ ......... ........ ......... ........ . 14-54
GetSingleSelectCount Met hod .......... ................................................................... ............ ......... 1 4-55
GetSingleSelectLogicalName Method ......... ........ ............ ........ ......... ........ ......... ........ ........ ....... 14-55
GetSingleSelectPhysicalNam e Method ............... .............. ........................................ ........... .... 14-55
GetSingleSelectType Method ........... ................................................................... ............ ......... 1 4-56
GetSingleSelectTypeName Method ............. ........ ...... ... ........ ......... ........ ......... ........ ......... ........ . 14-56
GetSingleSelectVisibleName Method ............ ........ ...... ........ ......... ........ ......... ........ ......... ........ . 14-56
GetXMLCheckSelect Method ................ ......... ........ ......... ........ ........... ......... ........ ......... ........ .... 14- 57
W ebW ar e SDK User ’ s Guide
- xiv
GetXMLMultipleSelect Method ....... .............. .............. .............. .............. .............. .............. .... 14-5 8
GetXMLSingleSelect Method ................ ............ .............. .............. .............. .............. ........... .... 14 -58
SetDataNode Method ....... .............. .............. ........... .............. .............. ............... ........... ........ ... . 14-59
Events ........ .............. .............. ............ .............. ........... .............. .............. ............ ....... .... ............ 14-60
CheckSelectChanged Event ........ .............. .............. ........... ............... .............. .............. ........... . 14-60
MultipleSelectChanged Event ................ ............ .............. .............. .............. ........... .............. .... 14 -60
SingleSelectChanged Event ..... .............. .............. ............ .............. .............. .............. ........... ... .1 4 - 6 0
WWClient Constants ........ .............. .............. ........... .............. ............ .............. .............. ....... . .... 14-61
General Property Page .. .............. .............. .............. ........... ............... .............. .............. ....... ..... 14-73
Colors Property Page . .............. .............. .............. ............ .............. .............. .............. ......... ...... 14-74
Fonts Property Page ......... .............. .............. .............. .............. ........... ............... .............. .. ... .... 14-75
Chapter 15
RAPID Variable Object ................. ........... ............... .............. ........... .............. .............. .......... . ......... 15-1
Overview ......... .............. .............. ........... .............. ............ .............. .............. ........... ..... ......... ...... 15-1
S4ConfData Object .......... .............. .............. .............. ........... .............. ............... ........... ...... ..... ... 15-3
S4ExtJoint Object ... .............. ............ .............. .............. ........... .............. .............. ............ . .......... 15-4
S4LoadData Object .......... .............. .............. ........... .............. ............ .............. .............. ...... .. ...... 15-6
S4MotSetData Object ...... .............. .............. ........... .............. ............ .............. .............. ........ ...... 15-7
S4Orient Object ....... .............. .............. ............... ........... .............. .............. ........... ........... . ........... 15-9
S4Pos Object ...... ........... .............. ........... .............. .............. ............ .............. ........... ....... .... ....... 15-11
S4Pose Object ............... .............. ........... .............. .............. ............ .............. ........... ........ ... ....... 15-12
S4ProgDisp Object .. .............. .............. ............ .............. .............. .............. ........... .............. ....... 15-13
S4RobPosData Object ......... .............. .............. ........... .............. .............. .............. ............ ..... .... 15-16
S4RobTarget Object ...... .............. .............. ........... .............. ............... ........... .............. ......... ...... 15-18
S4SpeedData Object .. .............. .............. ............ .............. .............. ........... .............. ............. ..... 15-19
S4ToolData Object ..... .............. ........... ............... .............. ........... .............. .............. ........... ....... 15-20
S4WorkObjectData Object ............ .............. ........... .............. ............ .............. ........... .............. . 15-23
S4XData Object ...... .............. .............. ............ .............. ........... .............. .............. ............ . ........ 15-25
S4ZoneData Object .......... .............. .............. ........... .............. ............ .............. .............. ...... .. .... 15-26
Chapter 16
S4Array Object ... .............. .............. ........... ............... .............. .............. ........... .............. ... ........... ...... 16-1
Overview ......... .............. .............. ........... .............. ............ .............. .............. ........... ..... ......... ...... 16-1
Element1 Property ......... .............. .............. .............. ........... ............... .............. ........... ....... .... ...... 16-3
Element2 Property ......... .............. .............. .............. ........... ............... .............. ........... ....... .... ...... 16-4
Element3 Property ......... .............. .............. .............. ........... ............... .............. ........... ....... .... ...... 16-5
RawData Property ............... ........... .............. ........... .............. .............. ............ .............. ..... ... ...... 16-6
Type Property ....... ............... .............. ........... .............. .............. ........... ............... ............ ............. 16-6
AllocateStorage Method .. .............. .............. .............. ........... .............. ............... .............. ...... ..... 16-7
DimensionDataV alid Method ........... ............................ ....................................... ............ ........... 16-8
ElementSize Method ........ ........... .............. .............. ........... ............... .............. ........... .......... . ...... 16-9
ElementType Method ....... .............. .............. ........... .............. .............. ............ .............. ........ ...... 16-9
NumDimensions Method .... .............. .............. ........... .............. .............. ............ .............. ......... .. 16-9
RangeData Method . .............. .............. ............ .............. .............. ........... .............. .............. .. ..... 16-10
RawDataCount Method ....... .............. .............. .............. ........... .............. .............. ............ ....... .. 16-10
T able of Contents
- xv
SetDimensions Method ....... ........... ........ ......... ........ ......... ........ ......... ........ ........... ......... ........ . ... 16-11
StorageAllocated Method ... ........... ........ ......... ........ ......... ........ ........... ......... ........ ......... ........ .. .. 16-1 2
TotalElements Method ........ ........... ........ ......... ........ ......... ........ ......... ........ ........... ......... ........ .... 16-12
Chapter 17
S4VariableSubscriptionList Object ......... ......... ...... ........ ........ ......... ........... ......... ........ ......... ........ ... 17-1
Overview ......... ........ ............ ........ ........ ......... ........ ......... ........ ......... ........ ......... ........ ..... ...... ...... ... 17-1
List Property . ........ ......... ........ ............ ........ ......... ........ ........ ......... ........ ......... ........... ..... . ........ ...... 17-2
ListCount Property ........... ........ ......... ........... ... ... ........ ........ ......... ........ ......... ........ ......... .... ....... ... 17-3
PID Property ........ ......... ........... ......... ........ ......... ........ ........ ......... ........ ......... ........ ......... . .... ......... 17-3
VarType Property . ......... ........ ......... ........ ............ ........ ........ ......... ........ ......... ........ ......... .... . ......... 17-4
RemoveAll Method ............. ........ ........ ............ ........ ......... ........ ......... ........ ......... ........... ....... ....... 17-4
Chapter 18
S4SignalSubscriptionList Object ..... ........ ............ ... ..... ......... ........ ......... ........ ......... ........ ........ .... ..... 18-1
Overview ......... ........ ............ ........ ........ ......... ........ ......... ........ ......... ........ ......... ........ ..... ...... ...... ... 18-1
Defined Property ..... ......... ........... ........ ......... ........ ......... ........ ......... ........... ......... ........ ...... ........ ... 18-2
List Property . ........ ......... ........ ............ ........ ......... ........ ........ ......... ........ ......... ........... ..... . ........ ...... 18-3
ListCount Property ........... ........ ......... ........... ... ... ........ ........ ......... ........ ......... ........ ......... .... ....... ... 18-3
Add Method ....... ........ ......... ........ ........ ......... ........ ............ ........ ......... ........ ......... ........ ..... . ........ ... 18-4
Remove Method ......... ........... ......... ........ ......... ........ ......... ........ ......... ........ ......... ........ ........ ...... ... 18-4
Chapter 19
InterLink Configuration Objects ........... ........ ......... ........ ........ ......... ........ ......... ........ ......... ........ . ..... 19-1
Overview ......... ........ ............ ........ ........ ......... ........ ......... ........ ......... ........ ......... ........ ..... ...... ...... ... 19-1
Chapter 20
InterLinkAlias Object ............ ........ ........... ......... ........ ......... ........ ......... ........ ............ ........ .... .......... ... 20-1
Overview ......... ........ ............ ........ ........ ......... ........ ......... ........ ......... ........ ......... ........ ..... ...... ...... ... 20-1
AliasList Method ............. ........... ........ ......... ........ ......... ........ ......... ........... ......... ........ ...... ........ ... 20-1
AliasListCount Method ....... ........ ........ ......... ........ ......... ........ ............ ........ ......... ........ ........ ... ... ... 20-2
CreateLink Method ....... ........... ......... ........ ......... ........ ........ ......... ........ ............ ........ ......... ... ..... ... 20-2
DeleteAlias Method ...... ........ ............ ........ ......... ........ ........ ......... ........ ............ ........ ......... ... ........ 20-3
GetAlias Method ..... ......... ........... ........ ......... ........ ......... ........ ......... ........... ......... ........ ....... .......... 20-3
IsValidAlias Method ..... ........ ............ ........ ......... ........ ........ ......... ........ ............ ........ ......... ... ........ 20-4
SetAliasCfg Method ......... ........ ........... ......... ........ ......... ........ ......... ........ ............ ........ ........ . ........ 20-5
AliasAdded Event ............... ........ ........ ......... ........ ......... ........ ......... ........ ............ ........ ........ ...... ... 20-6
AliasDeleted Event ....... ........ ......... ........ ......... ........ ......... ........ ........... ......... ........ ......... ..... ......... 20-7
Chapter 21
AliasConfig Object ........ ............ ........ ........ ......... ........ ......... ........ ......... ........... ......... ........ .. .... ........ ... 21-1
Overview ......... ........ ............ ........ ........ ......... ........ ......... ........ ......... ........ ......... ........ ..... ...... ...... ... 21-1
Address Property ................... ...... ........ ......... ........ ......... ........ ......... ........ ............ ........ ...... .. ......... 21-1
ForceReset Property ........ ........... ........ ......... ........ ......... ........ ......... ........ ............ ........ ........ ......... 21-1
LinkAlias Property .............. ........ ........ ......... ........ ............ ........ ......... ........ ......... ........ ....... . ......... 21-2
ProfileProperty ........ ............ ........ ........ ......... ........ ......... ........ ......... ........... ......... ........ .... .. ........ ... 21-2
W ebW ar e SDK User ’ s Guide
- xvi
Chapter 22
Profile Object ......... .............. .............. ........... .............. .............. ............... ........... ........... .............. ...... 22-1
Overview ......... .............. .............. ........... .............. ............ .............. .............. ........... ..... ......... ...... 22-1
DeleteProfile Method ....... .............. .............. ........... .............. .............. ............... ........... ...... .. ...... 22-1
GetProfile Method ......... .............. .............. ........... .............. ............ .............. .............. ....... . ......... 22-2
ProfileList Method ........ .............. .............. .............. .............. ............ .............. .............. .... ....... ... 22-3
ProfileListCount Method ............ .......................................... ........................................ ......... ..... 22-3
SetProfile Method ......... .............. .............. ........... .............. ............... .............. ........... ....... . ......... 22-4
ProfileAdded Event ....... .............. .............. ........... .............. ............... ........... .............. ........ ......... 22-5
ProfileChanged Event ...... .............. .............. ........... .............. .............. ............ .............. ....... . ...... 22-6
ProfileDeleted Event ........ .............. .............. ........... .............. ............ .............. .............. ..... ......... 22-6
Chapter 23
ProfileConfig Object ........ ........... .............. ............... .............. .............. ........... .............. ...... ..... ......... 23-1
Overview ......... .............. .............. ........... .............. ............ .............. .............. ........... ..... ......... ...... 23-1
BackupDir Property ............ ........... .............. .............. ........... .............. ............... ........... ...... ........ 23-1
BackupLogs Property ....... .............. ........... .............. .............. ............ .............. .............. ....... . ...... 23-2
BackupMods Property .............. .............. .............. .............. ............ .............. .............. ........... ...... 23-2
BackupNetwork Property ............ ........ ............... ........... .............. .............. ........... .............. ..... .... 23-3
BackupProg Property ....... .............. .............. ........... .............. .............. ............... ........... ....... . ...... 23-3
BackupRamDisk Property ........ ........... ............... .............. .............. .............. ........... .............. ... ... 23-4
BackupSysPar Property ............... ........... .............. .............. ............ .............. .............. ........... ...... 23-4
ExtBackupDestinationDir Property ....... .............. ... ...... .............. .............. ........... .............. ......... 23 -5
ExtBackupDir Property ......... .............. ............... .............. ........... .............. .............. .............. ...... 23-5
ExtBackupExcludedFiles Property ... .............. .............. ........... .............. .............. .............. ......... 23 -6
ExtBackupIncludedFiles Property ......... .............. ............ .............. .............. .............. .............. ... 2 3-7
ExtBackupRamDiskCou nt Property .. ...... .............. ........... ............... ........... .............. .............. ... 23-8
ExtBackupRamDisk Property ............. ............ .............. .............. .............. .............. ........... ......... 23-8
ExtBackupRecurseDir Property ........ ........... .............. ........... .............. ............... ........... .............. 23-9
ExtBackupSourceDir Property .......... .............. .............. .............. ........... .............. .............. ....... 2 3-10
FileSystemPath Property .......... .............. .............. .............. ............ .............. .............. ........... .... 23-11
FileSystemType Property ...... .............. ............ .............. .............. .............. .............. ........... .... ... 23-11
InterfaceShutdownDelay Property .... .......................................... ....................................... ....... 23- 11
InterfaceStartMode Property ............... ............................. .......................................... ............. .. 23-12
InterfaceType Property .... .............. ..................................................... ............ ........... .......... ..... 23-12
IOCfgFile Property ....... .............. .............. ........... .............. ............... .............. ........... ........ ... .... 23-13
LinkStateHeartbeat Property ............. .............. ..... ... .............. ............ .............. ........... ............. .. 23-14
Logs Property ....... ............... .............. ........... .............. .............. .............. ............ ............ ........... 23-15
MaxExtBackupRamDisk Property ...... ......................................................... ......................... .... 23-16
MaxModule Property ....... .............. .............. ........... .............. .............. ............... ........... ........ ... . 23-16
MaxSubVar Property .......... ........... .............. .............. ........... .............. ............... ........... ........ .... 23-16
MirrorRamDisk Property ...... .............. ............... .............. .............. ........... .............. .............. .. .. 23-17
ModuleList Property ..... .............. .............. ........... .............. ............... ........... .............. ......... ...... 23-17
ModuleListCount Pro perty ......... ........ ............... ........... .............. ........... .............. ............ ........ .2 3 - 1 8
OptimizeIOPolling Property .......... .............. ........ ... .............. ............ .............. ........... .............. .2 3 - 1 8
T able of Contents
- xvii
Password Property ......... ........... ......... ........ ......... ........ ........ ......... ........ ............ ........ ......... . .... .... 23-19
PollDelay Property ........ ........... ......... ........ ......... ........ ........... ......... ........ ......... ........ .......... . ....... 23-19
PollSIMIO Property ......... ........... ........ ......... ........ ......... ........... ......... ........ ......... ........ ......... .. .... 23-20
ProgFileName Property ............ ......... ........... ........ ......... ........ ......... ........ ......... ........... ........ ... ... . 23-20
RootDrive Property ....... ........... ......... ........ ......... ........ ........... ......... ........ ......... ........ ........... ....... 23-21
SetOutputFlag Property ............ ................. ................. ........ ......... ........ ......... ........ ......... ....... . .... 23-21
SetOutputText Property ........ ............ ................. ........ ........ ............ ........ ......... ........ ......... ..... .... 23-22
Simulate Property ....... ........... ................. ......... ........ ........... ......... ........ ......... ........ ......... ... .. ....... 23-22
StandardBackup Property ... ........... ................. ........... ................. ........... ................. ........... ..... .. 23-2 3
SubListCount Property ........ ........... ................. ........ ......... ........... ........ ......... ........ ......... ....... ..... 23-23
SubVarName Property .......... ............ ........ ......... ........ ........ ......... ........ ............ ................. ...... .. . 23-24
SubVarPID Property ........ ........... ........ ......... ........ ......... ........... ......... ........ ......... ........ .......... ..... 23-24
SubVarType Property ... ........ ......... ........ ............ ................ ......... ........ ............ ........ ......... ..... .... 23-25
SynchronizeRobotClock Property ............. ......... ........ ........ ............ ........ ......... ........ ........... ....... 23- 25
TaskID Property ...... ......... ........ ......... ........ ......... ........ ........ ......... ........... ................. ......... ......... 23-26
UseReadBlock Property ........ ............ ........ ......... ........ ........ ............ ........ ......... ........ ......... ...... ... 23-26
UserName Property ....... ........... ................. ......... ........ ........... ......... ........ ......... ........ ......... ... ...... 23-27
Methods ........ ........ ............ ................. ........ ......... ........ ........ ............ ................. ........ .... ..... ........ . 23-27
DisableBackup Method ....... .......................................... ......................... ............ ........... ......... ... 23-27
Chapter 24
OPCDevice Object............ ........... ................. ......... ........ ......... ........ ........... ................. ......... .............. 24-1
Overview ......... ........ ............ ................ ......... ........ ......... ........ ............ ................. ........ .. ...... ......... 24-1
Methods ........ ........ ............ ................. ........ ......... ........ ........ ............ ................. ........ .... ..... ........ ... 24-2
OPCDeviceListCount Method ............... ................. ......... ........... ................. ........ ......... ........... ... 2 4-2
OPCDeviceList Method .............. ........ ......... ........ ......... ........ ............ ................. ........ ........ ..... .... 24-2
SetOPCDeviceCfg Method ... ......... ........ ......... ........... ........ ......... ........ ......... ........ ......... ........... .. . 24-3
GetOPCDeviceCfg Method ..... ......... ........... ........ ......... ........ ......... ........ ......... ........... ........ ......... 24-4
GetOPCDeviceCfg Method ..... ......... ........... ........ ......... ........ ......... ........ ......... ........... ........ ......... 24-6
Events ........ ......... ........... ................. ........ ......... ........ ......... ........... ................. ........ ..... .... ........ ...... 24-6
OPCDeviceAdded Event .......... ........... ................. ......... ........... ................. ......... ........ ........... ... ... 24-6
OPCDeviceChanged Event ......... ........ ......... ........ ......... ........... ................. ......... ........ ........... ..... . 24-7
OPCDeviceDeleted Event ........ ........... ................. ......... ........ ............ ........ ......... ........ ........ ...... ... 24-7
Chapter 25
OPCDeviceConfig Object ...... ........ ......... ........... ...... .. ................. ......... ........ ......... ........ ......... ... ..... ... 25-1
Overview ......... ........ ............ ................ ......... ........ ......... ........ ............ ................. ........ .. ...... ......... 25-1
Author Property .......... ......... ........... ................. ........ ......... ........ ......... ........... ................. .. ... ......... 25-1
CategoryIDs Property ... ........... ................. ........... ................. ............ ................. ........... ....... ....... 25-2
Company Pr operty .. ......... ........ ......... ........ ......... ........ ........ ......... ........ ......... ........ ......... ...... ..... ... 25-3
Description Property ........ ........... ........ ......... ........ ......... ........... ......... ........ ......... ........ ........ ......... 25-3
HiSeverity Property .......... ........... ................. ........ ............ ................. ........ ......... ........... .... . ......... 25-4
LoSeverity Property ......... ........... ........ ......... ........ ......... ........... ......... ........ ......... ........ ........ ......... 25-5
NodeName Property ......... ........... ................. ........ ......... ........... ......... ........ ......... ........ ........ .. ....... 25-5
NumCategories Property .. ........... ................. ................. ........ ......... ........ ......... ........ ......... ...... .. ... 25-6
NumTags Property ........... ........... ........ ......... ........ ......... ........ ......... ........... ................. ........ . ........ 25-6
W ebW ar e SDK User ’ s Guide
- xviii
ServerName Property ....... .............. .............. ........... .............. .............. ............... ........... ....... .... ... 25-7
StatusField Properti es ...... ........... .............. ........... .............. ............ .............. ........... ........... ... ...... 25-7
StatusLabel Properties ................. ........... .............. .............. ............... ........... .............. ........ ... ...... 25-8
TagName Property ........ .............. .............. ........... .............. ............ .............. .............. ......... ........ 25-8
TagType Property ... .............. .............. ............ .............. ........... .............. .............. ............ .. ...... ... 25-9
Version Property ........... .............. .............. ........... .............. ............ .............. .............. ...... ..... .... 25-10
Chapter 26
WebWare Data Event Editor ........ .............. ............ .. ............ .............. ........... .............. ........... .... ..... 26-1
WebWare Data Event Tag Name Format .......... ........ ... ........... .............. .............. ............ ........... 26-2
IWWEventConfig Interface .............. ........................................................ ........... ............ ......... .. 26-3
SetExpression Method ............. .............. .............. ............ .............. ........... .............. .............. ...... 26-4
DelExpression Method ........ .............. .............. ........... .............. .............. ............ .............. ..... ...... 26-5
GetExpressionCount Method ......... .............. .............. .............. .............. ............ .............. .......... . 26-5
GetExpression Method ........ .............. .............. ........... .............. .............. ............ .............. ..... ...... 26-6
GetCondTagCmnd Method ...... .............. .............. ............ .............. ........... .............. .............. ...... 26-7
IWWEventConfigEvents Interface ..... ........................................... ............................................. 26- 8
OnWWExpressionAdded Event ....... .............. .............. ........... .............. .............. .............. ......... 26-9
OnWWExpressionChanged Event .... .............. .............. .............. ........... .............. .............. ......... 26-9
OnWWExpressionDeleted Event ... .............. .............. ........ ............... ........... .............. ........... .... 26-10
Expression Syntax ...... .............. .............. ............ .............. .............. ........... .............. .......... . ....... 26-11
Appendix A
InterLink Module Error Codes ....... .............. .............. .............. .............. ............ .............. .......... ......A-1
Overview ......... .............. .............. ........... .............. ............ .............. .............. ........... ..... ......... ........A-1
RPC Communications Errors ......... .............. .............. ........... .............. ............... .............. .......... ...A- 2
InterLink Communication Errors ........ ............... .. ......... ........... .............. ............ .............. ........... .. A-3
General Error Messages ................. ........... .............. .............. ............ .............. .............. ........ ... ..... A-5
InterLink FTP Error Codes ............ .............. .............. .............. ........... ............... .............. ....... . ..... A-6
InterLink Error Code Definitions ...... .............. ........... .............. .............. .............. .............. ....... .. .. A-7
Variable Handling Error Messages ................. .............. ........... .............. .............. .............. .........A -10
Program Handling Error Messages ........ ............ .............. .............. .............. .............. .............. ... A- 13
File Handling Error Messages ............. ............... ........... .............. .............. ........... .............. ...... ...A-14
Configuration Handling Error Messages ............. ...... ...... .............. .............. ........... .............. ...... A-15
Log Error Messages ...... .............. .............. .............. ........... ............... .............. .............. ...... ........A-16
Appendix B
Null Modem Cable Diagrams .............. .............. .............. ........... .............. ............... ........... ......... .. ..... B-1
RS-232 Cable Diagrams .............. .............. .............. ........... ............... .............. .............. ......... ....... B-1
S4 Controller Diagrams ........ .............. ............... ........... .............. .............. ........... .............. ... ........ B-3
Appendix C
Virtual Controller . .............. .............. ........... .............. .............. ............ .............. .............. . ....... ...........C-1
Overview ......... .............. .............. ........... .............. ............ .............. .............. ........... ..... ......... ........ C-1
The Virtual Robot Browser ... .............. ............... .............. .............. .............. .............. ........... .. ...... C-2
The RobInstall Dialog ......... .............. .............. ........... .............. .............. .............. ............ ... .......... C-9
Robot Properties Dialog ...... .............. .............. .............. .............. .............. .............. ........... .. ....... C-13
T able of Contents
- xix
Teach Pendant Overview ...... ......... ........... ......... ........ ........ ......... ........ ......... ........ ......... ........ .. .... C-22
Using the Teach Pendant .. ............................ ....................................... ............ ...................... ...... C-25
I/O Simulator Overview ........... ... ... ........ ......... ........ ......... ........ ......... ........ ......... ........ ........ ......... C-26
Starting The I/O Simulator ....... ......... ........... ........ ......... ........ ......... ........ ......... ........ ........... ... ...... C-28
Sizing The Display ........... ........... ........ ......... ........ ......... ........ ......... ........... ......... ........ ....... ....... ... C-29
Appendix D
Running InterLink as a Service ....... ........... ......... ........ ......... ........... ........ ......... ........ ............ ..... ........D-1
Appendix E
Silently Installing InterLink ....... ............ ........ ......... ........ ........ ............ ........ ......... ........ ......... ..... ........ E-1
Index ......... ........ ......... ........ ......... ........ ........ ......... ........ ......... ........ ......... ........ ......... ... ..... ......... ... Index - 1
W ebW ar e SDK User ’ s Guide
- xx
This Page Intentionally Left Blank
Chapter 1
Getting S t arted
Introduction
We l c o m e Welcome to the WebWare SDK. This guide will familiarize you with the
WebWare SD K and pro vide the info rmation you need to generate high
quality appli cations. The WebWare SD K allows develo pers to create custom
windows app lications that communicate with ABB robot cont rollers.
What is the
W ebW are SDK? The WebWare SDK is a set of powerful too ls that simplifies com munication
between PC applications and ABB ro bot controllers.
The WebWare SDK frees you from the underlying comm unication
protocols, so you spend time designi ng a user interface rather than writing
communication software. Typical applic ations that would make use of the
WebWare SDK include cell controll ers, statistical proc ess control
supervisors, file servers, and other a pplications where a graphical operator
interface or remote process control are desire d.
Designed to leverage industry standard developm ent tools, the WebWare
SDK suppo rts your 32-bit Windows appli cations created with either
Microsoft Visual Basic, Visual C ++, or scripting. The WebWare SDK
interface consists of a set of OLE Custom Controls known as ActiveX
controls. The ActiveX interface mechanis m is a Microsoft standard utilized
in all Microsoft visual programmi ng environments. The WebWare SDK
presents the entire robot controller communication interface in a manner
consistent with oth er common tools dev elopers use to create modern
Windows applications.
The WebWare SDK includes the AB B Virtual Con troller, a unique
innovation that perm its offline developm ent and guarantees compat ibility
with the real robot.
Your applications work over a serial line to one robot or ov er Ethernet to
multiple ro bots.
W ebW ar e SDK User ’ s Guide
1 - 2
ABB InterLink
What Is InterLink? The WebWare SDK is based on the ABB InterLink communicatio n module,
a core component for co mmunication with the ABB robot controller(s).
InterLink is installed with the WebWare SDK.
The following diagram depicts the various products that are based on
InterLin k.
Figure 1-1: InterLink Based Products
How Does the ABB
InterLink Module
Wo rk ?
To understand how th e ABB InterLink Module work s, it is best to start with
some basic informatio n about the comm unication interface in the ABB
controller.
S4 Communication In the M94A, 2.0, and 2.1 rel eases of the S4 cont roller, synchronou s services
are provided via the Robot Appli cation Protocol (RAP). Begin ning with the
3.0 release of BaseWare, these servi ces are provided by the FactoryWare
Interface option.
continued on next page
ABB Robotics IT We bWar e SD K WebW are Server
ABB InterLink
Module
OPC Server
Chapter 1: Getting S tarted
1 - 3
ABB InterLink, continued
S4 Communication,
continued Synchronous requests are service reques ts that block your applic ation’s code
execution until one of three s tates ex ist: 1) the requ est has been performe d
successfully, 2) the request has been de nied, or 3) the request has timed-out.
A useful feature of the RAP proto col is the ability for your applications to
“subscribe” on specific controller even ts. When these events occur, the
controller sends a message noting th e ev ent to all of its s ubscribers. These
messages, resulting from ap plication subscriptions, are referred to as
spontaneous messa ges . They make polling for sp ecific controller states
unnecessary, and may greatly reduce the amount o f communication
overhead within an application.
Spontaneous messages may result from three types of events:
• Logged system events and errors, su ch as a change between auto and
manual modes.
• Digital input signal changes.
• The RAPID “SCW rite” instruction may transmit a RAPID program
variable to the remote PC.
Y our Applicat ion
and the ABB
InterLink Module
PC application s fulfill many real-world needs like process monitoring,
operator interfacing, troubl eshooting, an d cell supervision. Each ap plication
has unique requirements and needs. T hus, creating a single application for
all situatio ns is not feasibl e.
• The ABB InterLink M odule consists of components that are common to
all applications, thereby enabling ra pid application development. By
providing a common framewo rk for applications, the ABB InterLink
Module reduces deve lopment time while maxim izing integrity and
functionali ty .
The application framework provided by th e ABB InterLink Module can be
summarized in the following points.
The ABB InterLink Module creates, maint ains, and tracks the status of the
communication li nk to the robot(s). The InterLink M odule notifies the
application of any change in the communication link via events and
properties.
continued on next page
W ebW ar e SDK User ’ s Guide
1 - 4
ABB InterLink, continued
Y our Applicat ion
and the ABB
InterLink Module ,
continued
• The ABB InterLin k Module Configuration u tility provides m echanisms
to modify the network address of th e tar get robot(s) with out rebuilding
the user application. This allows th e same ap plication to be installed on
multiple machines ind ependent of network addressing.
• The ABB InterLink Modul e has a built-in polling engi ne that enables
event-driven u ser applicatio ns.
• The ABB InterLink Modul e exposes spontaneous message subscrip-
tions through ActiveX Control properties and delivers messages via
standard ActiveX event mechanisms.
• The ABB InterLink Modul e maintains a database of I/O signal names,
board names, and current signal values. The ABB Inte rLink Module
obtains this information directly from the S4 I/O configuration file and
uses this information to poll the curre nt state o f all defi ned I/O sign als.
Using the I/O database, the ABB InterLink Module can generate an
event when an I/O signal changes. Wh en an application reads the value
of a digital signal, the ABB InterLink Module returns the result imm edi-
ately , i mproving application responsiv eness. This facilitates the creation
of generic I/O signal monito rs that can be incorporated in any applica-
tion.
• The ABB InterLink Modul e allows applications to queue multip le
requests. Queued reques ts are executed in the background, and, if
desired, the results are return ed through a st andard event.
• The ABB InterLink Modul e has a built-in I/O simu lation that is useful
for developing appl ications and providing custo mer demonstration s.
• The visual ActiveX controls incl uded with the W ebW are SDK permit
the complete p resentation of a select digital I/O signal, without requir-
ing application cod e. These controls leverage the built-in capabil ities of
the ABB InterLink Module to presen t a full-featured interface. These
ActiveXs track the state of th e robot communication link and automati-
cally disable themselves when the interface is down. They also continu-
ously update t he display when the associated I/O signals ch ange state.
Chapter 1: Getting S tarted
1 - 5
We b W a r e S D K
How Can I Use The
W ebW are SDK? The WebWare SDK is used by incorpora ting the Act iveX controls within an
application. The operati on of each control is conf igured via the control’s
properties. The WebWare SDK includes four robot specific ActiveXs: the
Helper control, Button control, Pilot Light control, and Label Control. These
ActiveXs present a flexible, easy-to-u se communication in terface to the S4
controller. In additio n, there are controls for co mmunicatio n with WebWare
Server, if this product is installed at your facilit y. For more informatio n on
WebWare Server, see the WebWare Products Specification .
Helper Control This is the primary interface engine for The WebWare SDK. The Helper
control is an invisible (at ru n-time) control that provi des methods,
properties, and events to expose the entire S4 communication interface.
Button Co ntrol The Button control i s a derivative of the standard Wind ows button co ntrol. A
Button control can be connected directly to a specific digital signal in an
ABB controller. The Button cont rol provides a simple way to view and
modify a digital signal, and, in mo st cases, can be used wi t hout adding code
to your application.
The display of the button can be configured via pro perty settings to
automatically updat e itself based on the current state of the comm unication
link to the robot control and the state o f the digit al signal assign ed to the
button control. You can display separat e bitmaps, text strin gs, text colors,
and background colors based on th e signal state (on or off).
When the commun ication link to the ro bot control is down, the butto n
automatically disables itself then re-e nables itself when the communication
link is restored.
The button action can be configured to tu rn a digital signal on, turn a signal
off, toggle a signal, pulse a signal, or do nothing in response to a mou se
click.
The Button control supports two different display styles: Normal and Inset.
The normal disp lay style has a standard click depress operation, whereas the
inset style always appears de pressed. Th e inset butto n is designed to be used
as a display box with no associated click operation. Inset buttons are ideal
for displayin g the contents of digital signals that are “read-only”, for
example, a digita l input signal or a dedicated digi tal output signal.
continued on next page
W ebW ar e SDK User ’ s Guide
1 - 6
We b W a r e S DK , continued
Pilot Light Cont rol The Pilot Light control tracks the stat e of a specific digital signal. This
control is configured via properties and requ ires no add itional code.
The display of the Pilot Light is modeled after status lamps commonly used
in hard-wired operator panels. The Pilot Light displays bitmaps to represent
the on and off states of the associated signal. The user sel ects th e on and off
colors via properties. A Caption Propert y is used to label the Pilot Light.
When the commun ication link to the ro bot control is down, the Pilot Li ght
automatically disables itself and re-enables itself when the co mmunicatio n
link is restored.
The Pilot Light sup ports a “push to test” feature that is common i n hard-wired
operator panels. To test a light in a ha rd- wired panel, an operator can press t he
lamp to turn it o n. The Pilot Light control has a similar feature. Wh en a user
clicks on a Pilot Light and the communicatio n link is functional, th e Pilot
Light illumin ates (goes into the on state) briefly to show t hat the control is
working. If the communication link is down, the Pi lot Light is not configured
properly, or the Pi lot Light is already in the on state, nothing happen s.
Label Contr ol The Label control is a derivativ e of the standard Windows label co ntrol. A
Label can be connected directly to a sp ecific data point in an ABB control.
The Label control provides a simple way to view a digital signal, an analog
signal, or a variable and, in most cases, can be used without adding code to
your application.
The display of the label can be confi gured via property settings to
automatically updat e itself based on the current state of the comm unication
link to the robot control and the state o f the digit al signal assign ed to the
label control. You can display separat e text strings, text colors, and
background colors based on a digital sign al state (ON or OFF).
When the commun ication link to the robot controller is down, the label
automatically disables itself and th en re-enables itself when the
communication li nk is restored.
The Label control supports two different di splay styles: Norm al and inset.
These display styles can be tied to the state of a digita l signal.
continued on next page
Chapter 1: Getting S tarted
1 - 7
We b W a r e S D K , continued
RobotBox Co ntrols The ABB Robot Box Controls provide a se t of controls that can be used to
build user interfaces to set and/or di splay information fr om an ABB Robot
Controller. The control s are configured via propert y pages and require no
additional code for operation. It is possib le to modify the prop erties via code
or scripting language.
ABB FileManager
Control The ABB RobotFileManag er Control provides a W indows-style file browser
for both robot cont roller disks and other PC disk devices on the network.
This control provides a tree view and f ile list view with eas ily recognizable
buttons on a tool bar for standa rd file operations (cut, copy, paste, etc.).
The User
Application Your applicatio n can be written in Micr osoft Vi sual Basic or Visual C++ for
32-bit operating systems, includ ing Windows 98 SE/ME and Windows NT/
2000 on IBM-compati ble PCs. Visual Ba sic is generally preferred for rapid
development of user interface screens, whereas Visual C++ may be needed
in complex installat ions that require integrat ion with ot her progr amming
libraries. In addition to these Microsoft developmen t environments, there are
many third-party HMI environments, such as Wonderw are and Iconics, that
support ActiveX controls.
The WebWare SDK is designed so that multiple applications, inclu ding
multi-threaded applications, can communicate with multip le ABB
controllers withou t conflict.
What’ s Next? In order to develop and run the WebW are SDK applic ations, you must first
install the W ebWare SDK on your PC. See Setup and Inst allation in the ne xt
chapter for detailed instructions.
W ebW ar e SDK User ’ s Guide
1 - 8
About This Manual
T ypographical
Conventions We use the following typog raphical c onventions to diff erentiate between
information displayed on the screen and informat ion you enter i nto the
computer. Our conventions are:
Bold Face Text - represents the name of a button or menu choice that you
click on to i nitiate an action. For exam ple: “Click OK” indicates that the user
should click on the button labele d OK on the screen to indicate confirmation
of a choice.
Code Samples - Code sa mples app ear in Lucid a Sans
Typewrite r, a mono spaced fo nt.
If you are reading the electronic ve rsion of this document, all cross-
references and T able of Contents entries are hyperlinks. Look for the blue
underlined text to ind icate a clickable link.
Who Shou ld Use
This Manual This manual is intended for people w ho design custom interface applications
for ABB Robotic systems. In most cases , this means that you should:
• be somewhat familiar with programm ing ABB robots
• have intermediate to advanced ski lls in C++, and/or V isual Basic
• also have intermedi ate to advanced skills in networking and TC P/IP .
Knowledge of the Microsoft.Net envi ronmen t, as well as general w eb
manageme nt concepts woul d also be helpful.
Chapter 2
Setup and Inst allation
Overview
Inst allation Process Six steps are required to successfully install and configure the WebWare
ActiveX Control Li brary.
The Windows 98 SE/ME and Windows NT /2000 operating systems have
different TCP/IP installation and setu p procedures. Separate sections are
provided to explain the setup pro cedures. Follow the section for your
environment.
St e p A c t i o n
1 Install the W ebW are SDK software.
2 Generate a License Request Form and e- mail/fax it to ABB.
3 Install and configure the TCP/IP protocol.
4 Configure the robot controller .
5 Configure the ABB I nterLink Module (Chapter 4)
6 Install t he license file rece ived from ABB (Chapter 5)
W ebW ar e SDK User ’ s Guide
2 - 2
System Requirement s
Hardware
Requirement s Before installing WebWare SDK, make su re your syst em conforms to the
following minimu m config uration:
• Pentium II p rocessor (300mh z minimum)
• 128 MB RAM memory
• 2 GB hard disk space
• The amount of disk space depends upon the number of other W indows
applications installed and wh ether the on-line documentati on is
accessed via CD-ROM or installed on the hard drive.
• SVGA compatible disp lay (1024 x 768 recommen ded)
• Microsoft compatib le mouse
• One or more network interfaces: any NDIS-compliant or ODI network
adapter (Ethernet) or serial communication port (SLIP).
• A null modem cable is needed for a SLIP connection to the ro bot con-
troller (see appendix fo r wiring requirements).
• CD-ROM drive
System Permission
Requirement s In order to install the WebWare SDK, you must be a syst em administrator
with an administrator password for NT/2000 systems onl y.
Systems Running
NT 4.0 In order to install the WebWare SDK on a Windo ws NT 4.0 system :
• Y our hard drive must be formatted with an NTFS (NT File Syst em) par-
tition. W ebW are Server will not functi on correctly if NT Server is
installed on a F A T partitio n.
• Y ou must have installed Microsoft NT Server 4.0 w/ Se rvice Pack 6 or
above
OR
Microsoft W orkStation 4.0 w/ Service Pack 6 or above
Microsoft NT Service Packs ar e avail able for download from:
http://support .microsoft.com/support/ ntserver/content/servicepacks/
Default.asp
continued on next page
Chapter 2: S etup and Inst allation
2 - 3
System Requirement s, continued
Systems Running
NT 4.0, continued • The W indows NT Option Pack 4.0 and W indows NT Service Packs can
also be found by searching Microsoft’ s web site www .microsoft.com .
Systems Running
Windows 2000,
Server , Advanced
Server or
Professional
In order to install the WebWare SDK on a Windo ws 2000 system :
• Y ou must have install ed Microsoft W indows 200 0 with Service Pack 2
or above.
• Y ou must have install ed Microsoft Internet Explorer 4.0 (or later)
• Microsoft Internet Informatio n Server (IIS) 5.0 is provided as an Add-
On Component with W indows 2000 Pr ofessional, and is installed auto-
matically with W indows 200 0 Server and Advanced Server .
Systems Running
Windows 98 • Microsoft W indows 98 SE/ME
• Y ou must have install ed Microsoft Internet Explorer 4.0 (or later)
Robot Controller
Requirement s • FactoryW are Interface or RAP Communi cation option for the S4 is also
needed to provide the S4 external communication in terface (RAP proto-
col).
Sof tware
Development
Requirement s
• Microsoft V isual Basic, V isual C ++, or an HMI environment for appli-
cation development.
continued on next page
W ebW ar e SDK User ’ s Guide
2 - 4
System Requirement s, continued
TCP/IP Setup
Parameters To comp lete your installati on, you will need some syst em and network
information. The following form w ill help you collect the necessary
information before you start the inst allation process. Example values are
shown in brack ets.
Figur e 2-1: TCP/IP Setup Parameter Checklist
General
Where to install W ebW are SDK [C :\Program Files\W e bW are SDK] ______
_
_________ __________ ______________ __________ ___________ ______
_
Interface type [SLIP] _____________ __________ ______________ ______
_
S4 Internet add ress [100.100.100.1 ] _______ ___________ _____________
_
PC Internet address [100.100.100.2] _ _____________ ___________ ______
_
S4 Host name [myrobo t] __________ _____________ ___________ ______
_
PC Host name [m ypc] ________ __________ ___________ __________ ___
_
Subnet Mask [255.255 .255.0] ______ __________ ______________ ______
_
For SLIP interfaces
COM port [COM2] _______ _____________ ___________ __________ ___
_
Baud Rate [19200] __________ ______________ __________ __________
_
For LAN interfaces
Adapter vendor name [3COM] ________ ______________ __________ ___
_
Adapter type [3C509] ________ ______________ __________ __________
_
Interrupt l evel [3] ________ __________ __________ ___________ ______
_
I/O base address [0x300] __________ _____________ ___________ ______
_
Chapter 2: S etup and Inst allation
2 - 5
Inst alling the W ebW are SDK
Inst allation
Procedure The installation program extracts the n ecessary files to your hard disk,
registers the WebWare SDK and places the InterLink Module and Virtual
Controller icons on the desktop. Perform th e following steps to install the
WebWare SDK.
continued on next page
St e p A c t i o n
1 Close all open applications on the desktop.
2 Place the W ebW are SDK CD in your CD-ROM drive.
3 The W elcome dialog will appear . Click Next> to continue.
Figur e 2-2: W elc ome Dialog
W ebW ar e SDK User ’ s Guide
2 - 6
Inst alling the W ebW are SDK, continued
Inst allation
Procedure,
continued
continued on next page
St e p A c t i o n
4 The License dialog will appear .
Figure 2-3: License Dialog
Click on the “I accept…” ra dio button and then click:
• <Back - to return to the previous screen
• Next> - to continue to the next dialog
• Cancel - to cance l the installation and exit the Setup program.
Chapter 2: S etup and Inst allation
2 - 7
Inst alling the W ebW are SDK, continued
Inst allation
Procedure,
continued
continued on next page
St e p A c t i o n
5 The Customer Information dialog appears.
Figure 2-4: Cust omer Information Dia log
Enter the name of your company in the Organization: field.
6C l i c k :
• Anyone… - to allow any user who can access the computer to use
W ebW are Server . The shortcut icon s are installe d in the All Users
profile f or this comp uter .
• Only for me… - to allow only the user who installs the software t o
use W ebW are Server . The shortcut icons are installed in only in the
user/installer's profile.
• <Back - to return to the previous screen
• Next> - to continue to the next dialog
• Cancel - to cance l the instal lati on and exit the Setup program
W ebW ar e SDK User ’ s Guide
2 - 8
Inst alling the W ebW are SDK, continued
Inst allation
Procedure,
continued
continued on next page
St e p A c t i o n
7 The Setup T ype dialog appears.
Figur e 2-5: Setup T ype Dialog
Click:
• Complete - to install all fe atures. This is the recommended
installation.
• Custom - to choose which feat ures are installed and their
installati on locations. The Cust om Setup d ialog will appear .
Chapter 2: S etup and Inst allation
2 - 9
Inst alling the W ebW are SDK, continued
Inst allation
Procedure,
continued
continued on next page
St e p A c t i o n
8 The Ready to Install… dialog appear s. Click the chec k box to create
desktop items, if desired, and the n click Install to start the in stallation.
Figur e 2-6: Ready to Install… Dialog
9 A small dialog appears. “W ould you li ke to install Adobe Acrobat 5.0 to
view online documentation?” Click Ye s or No . Y es is recommended. The
software install s Acrobat. Follow the screen prompts to complete the
installati on
W ebW ar e SDK User ’ s Guide
2 - 10
Inst alling the W ebW are SDK, continued
Inst allation
Procedure,
continued
License Key
Request Process The License Key Request applicati on normally runs at the end of th e
installation process. Its pu rpose is to generate a form that is sent to ABB
Flexible Au tomation in exch ange for a license file that enables the full use of
the purchased product. The license request form can be e-mailed (preferred
method) or faxed to ABB Flexible Aut omation. The license file wil l be
returned in the same manner that it was received.
continued on next page
St e p A c t i o n
10 A dialog with a progress bar appe ars as the installation continues.
Figur e 2-7: Installatio n Pr ogress Dialog
1 1 Go on to create a license request.
St a g e E v e n t
1 Select Generate License Request Form… at the ICU interface.
2 When th e next dial og appears, click Next> .
3 Complete the Product Informatio n dialog.
4 Complete the User Information dialog.
5 Complete the System Information dialog.
Chapter 2: S etup and Inst allation
2 - 1 1
Inst alling the W ebW are SDK, continued
Create a License
Request Follow the steps below to start th e Create a License Key Application
process.
continued on next page
St e p A c t i o n
1 The License Key Request Form start dialog will appear .
Figur e 2-8: License Request Form Dialog S tart
Click:
• <Back - to return to the previous screen
• Next> - to continue to the next dialog
• Cancel - to cance l the installa tion and exit the Setup program.
W ebW ar e SDK User ’ s Guide
2 - 12
Inst alling the W ebW are SDK, continued
Complete the
Product
Information Dialog
The Product Information page is used to select th e desired product and
specify any optional features. Each field on this page must be filled out.
continued on next page
St e p A c t i o n
1 After clicking N ext > at the Lice nse Key Re quest Form dialog, the
Product information dialog appears.
Figure 2-9: Product Information Dialog
2 Use the Product Name drop down list box to select the desired product.
The availabl e selections are W ebW are Server an d W ebW are SDK. The
installati on program will automati cally select the correct product.
3 Use the Product V ersion drop down list box to select the version of the
product you purchased. The installa tion program will automatically
select the correct version for the produc t being installed.
4 Enter the product serial number that can be found on the side of the
product box. It is very important that this number be entered correctly so
that your purchase can be verified in our customer database. If you do
not know or do not have your seri al number , you will be issued a
temporary license.
Chapter 2: S etup and Inst allation
2 - 13
Inst alling the W ebW are SDK, continued
User Information
Dialog The User Information dialog is used to enter informat ion about you, ou r
customer. Th is information is stored in our cu stomer database an d is used for
warranty issues and any other relat ed inquiri es. Each field within this page
must be filled out.
Figur e 2-10: License Reques t Form User Information Dialog
continued on next page
W ebW ar e SDK User ’ s Guide
2 - 14
Inst alling the W ebW are SDK, continued
Completing User
Information Follow the steps below to complete the User Information dialog. All fields
must be filled out.
continued on next page
St e p A c t i o n
1 Enter the name of the primary user of the purchased product in the
“Name” fi eld. This person will be used as the contact person for any
questions regarding this form as well as any update of fe rs or additional
product information that may arise.
2 Enter your company’ s name in the “Company” field.
3 Enter your company’ s postal (i.e., stre et) address in the “Postal Address”
field.
4 Enter the city or town where your co mpany is locate d in the “Cit y” field.
5 Enter the state, province, or region your company is located in the “S tate/
Province/Region” field.
6 Enter your company’ s zip or postal c ode i n the “Zip / Post Cod e” field.
7 Enter the country where the product was purchased in the “Country”
field.
8 Enter the contact person’ s telephone number in the “T elephone Number”
field.
9 Enter your e-mail address in the “E-Mail / (F AX if no E-Mail)” field.
If you do not have an e-mail address, enter your F AX number . E-mail is
the most ef ficient way of sending the completed license request form to
ABB. If you specify a valid Internet e-mail address, ABB will return
your license file via e-mail. For more information, “Obtaining A
W ebW are License V ia E-Mail” on page 2 - 19
Chapter 2: S etup and Inst allation
2 - 15
Inst alling the W ebW are SDK, continued
System Information
Dialog The System Information page is used to enter information about the PC you
installed the soft ware product on. This information i s stored in our customer
database and is used for service bulle tins and customer service to help
resolve problems . Each field within this pa ge must be filled out.
Figur e 2-1 1: License Request Form System In formation Dialog
continued on next page
W ebW ar e SDK User ’ s Guide
2 - 16
Inst alling the W ebW are SDK, continued
Completing System
Information Follow the step s below t o complete the System Information dialog. All fields
must be filled out.
The License Request Form applic ation will au tomatically q uery your P C for
the following informati on:
• Operating Syst em and version
• Service Pack / System Add-on
• Computer typ e
• Number of processo rs
• Processor type/speed
• RAM installed
continued on next page
St e p A c t i o n
1 Use the “Computer T ype” drop down list box to select the computer
type. Y ou may also enter a different type manually .
2 Enter the brand of computer (e.g., T oshiba T ecra) in “Computer T ype”
field.
3 V erify that the PC processor type (e.g ., Pentium) is corre ct and enter the
processor speed (e.g., 400mhz) .
Chapter 2: S etup and Inst allation
2 - 17
Inst alling the W ebW are SDK, continued
Complete the
Registration
Procedure
The Registration Complete page contains the e-mail address and FAX
number to send your comp leted License Request Form.
Figur e 2-12: License Request Form Registration Completed Dialo g
Follow the steps below to complete the registration process.
continued on next page
St e p A c t i o n
1 Clicking the Finish button w ill di splay th e follo wing dial og.
Figur e 2-13: Li cense Requ est Form S ave as Dialog
This dialog allows you to save th e License Request Form in any
directory you choose. During installa tion the default directory is the
same one that the product was installe d to, or it is the directory this
application is being r un from. The de fault file name is ABBLic Rqst.txt .
W ebW ar e SDK User ’ s Guide
2 - 18
Inst alling the W ebW are SDK, continued
Complete the
Registration
Procedure,
continued St e p A c t i o n
2C l i c k Cancel to exit the utility without saving the License Request Form.
OR
Click S ave to save the Licens e Request Form and bring up the following
dialog:
Figure 2-14: License Request Form Print Dialog
3C l i c k Y es to bring up Notepad with the License Request Form.
4 In Notepad, click F ile and then P rint to print the License Request Form
(assuming your PC has a printer c onnected and con figured properly).
Chapter 2: S etup and Inst allation
2 - 19
Complete The W ebW are SDK Inst allation
Completion
Procedure Follow the steps below to complete the Installatio n procedure.
Obt aining A We bW are License V ia E- Mail
Procedure Follow the steps below to receive a product license for WebWare via email:
St e p A c t i o n
1 When the insta llation comple tes, the screen below appears. Cli ck Finish
to return to the desktop .
Figur e 2-15: Setup Completed Dialog
St e p A c t i o n
1 Find the license request form on your computer . The request form should
be in the folder that you saved it to in the previous section. As a reminder ,
look at “License Request Form Save as Dialog” on page 2 - 17.
2 Mail the file as an attachment to [email protected] .
3 The system will generate a license and send it back t o the e-mail address
specified in the reque st file.
NOTE: The automated license genera tion syst em w ill wo rk
only if you specify a valid Internet E-Mail address in
the license r equest file.
W ebW ar e SDK User ’ s Guide
2 - 20
Applying a License
License Application
Procedure Once ABB rece ives and processes the li cense request fo rm, you are sen t a
license file that enables the desired product to run on the t arget PC. In order
to apply a license, you must use the InterLink Module Confi guration utility.
Follow the steps below to apply an InterLink license.
continued on next page
St e p A c t i o n
1 On the T ools menu of the utility , select the A pply li cense… menu item
as shown in the figure below .
Figure 2-16 : T ools menu – A pply license…
NOTE: Clicking the Apply license icon on the shortcut
button toolbar will also bring up the I nterLink
License Setup.
Chapter 2: S etup and Inst allation
2 - 21
Applying a License, continued
License Application
Procedure,
continued St e p A c t i o n
2 The tabs of the Inter Link License Setup prop erty sheet sele ct the li cense
to be applied. Note that only the tabs of the installed products are
displayed. Each page (i .e., tab) of the InterL ink License Setup property
sheet displays the cu rrent state of the insta lled license. Y ou will be
presented with the a dialog similar to the fo llowing:
Figur e 2-17: InterLink License Setup D ialog
3 Enter the complete path to the lice nse file that you received from ABB.
Y ou can browse to the file by clicking the Browse… button. The license
file for the W ebW are SDK will typically have the name
W e bW are_SDK.lic.
4 Clicking Apply or OK to apply the license file. Not e that in the dialog
above, the W ebW are SDK license ha s been successf ully applied.
NOTE: The W ebW ar e Server license is applied using the
W ebW ar e Server ’ s Admin page.
W ebW ar e SDK User ’ s Guide
2 - 22
TCP/IP Interface Inst allation and Setup
Introducti on This section discusses how to s et up and configure the Microsoft TCP/IP
stack for Windows 98 SE/M E and Window s NT operating systems. If you
have already installed TCP/IP, skip this section.
NOTE: It is str ongly r ecommended that you use the Microsoft stack
implementation. W e bW ar e SDK was tested using this stack.
The RPC interface library used by the W ebW are SDK takes
advantage of some extensions to the standard TCP/IP stack
that Microsoft has implemented. Many other vendors do n ot
support the Micr osoft extensions to Winsock . W e can not guar-
antee that the W ebW ar e SDK w ill work with other TCP/IP
implementations.
If you are using the WebWare SD K over an Ethernet network, follow the
guidelines provided by the supplier of your network interface card for
installing and configuri ng the hardware.
If you are using the WebWa re SDK over an RS232 serial line (SLIP), you
should not n eed addition al hardw are, provided your PC has an available
serial port .
The following sections display the installation pro cedures for various
operating systems as follows:
T opic See Page
Installing TCP/IP Under W indows 2000 2 - 23
Installing TCP/IP Under W indows NT 4.0 2 - 14
Chapter 2: S etup and Inst allation
2 - 23
Inst alling TCP/IP Under Windows 2000
Introducti on Microsoft has included their TCP/IP protocol stack as part of Windows
2000. However, you need to inst all and configure the TCP/IP protocol on
your machine if you have no t already done this . Additionally, if you are
using a serial line connec tion, you need to instal l and configure Dial-Up
Networking , also included with Windows 2000.
Configuring TCP/IP
Settings Follow the steps below to configu re the TCP/IP settings on your Windows
2000 system:
St e p A c t i o n
1 T o open Network and Dial -up Connections, click St a r t , point to
Settings , and then cl ick Network and Dial-up Connections .
2 Right-click the connect ion you want to configure, and then click
Properties .
3 If… Then…
the conn ection is a loc al area
connection, under Components checked are
used by this c onnection. click
Internet Pr ot ocol (TCP/IP) , and
then clic k Pr operties .
the connec tion is a dial-up, VPN,
or incoming conn ection on the N etworking tab, under
Network components used in
this conn ection , click Internet
Protocol (TCP/IP) , and then click
Pr operties .
4 If… Then…
you want IP settings to be
assigned a utomatica lly click Obtain an IP address
automatically , and then click
OK .
you want to specify an IP address
or a DNS server address, Click Use the following IP
address , and in IP addr ess , type
the IP address.
Click Use the following DNS
serv er addresses , and in Primar y
DNS s erver and Secondary DNS
server , type the addresses of the
primary and secondary DNS
servers.
W ebW ar e SDK User ’ s Guide
2 - 24
Inst alling TCP/IP Under W indows 2000, continued
Configure DNS,
WINS, and Other
Options
Microsoft recommends that you us e auto mated IP setti ngs (DHCP)
whenever possible, for the followi ng reasons:
• DHCP is en abled by default.
• If your location changes, you do n ot have to modify y our IP settings.
Automated IP settings are used for al l connections, and they eliminate the
need to configure settings su ch as DNS, WINS, and so on.
Setting up
Windows 2000 for a
SLIP Connection
Configuring Win dows 2000 fo r a SLIP connection is a three-step process.
• First, you need to install Dial-Up Networkin g and SLIP support.
• Second, install the W indows SE/ME “modem” that came w ith the W eb-
Wa r e S D K .
• Finally , create a dial-up entry to the S4 fo r Dial-Up Networ king.
Inst alling TCP/IP Under W indows NT 4.0
Introducti on Microsoft has included their TCP/IP pr otocol stack as part of W indows NT
4.0. However, you n eed to install and configure the TCP/IP protocol on your
machine if you have not already done this. Add itionally, if you are using a
serial line connection, yo u need to install and con figure Dial-U p
Networking , also included with Windows NT 4.0.
Configuring TCP/IP Follow the steps below to configure TCP/IP in Windows NT 4.0 .
continued on next page
St e p A c t i o n
1 Navigate to the Control Panel and double click the Network icon.
2 The Network dialog a ppears. Click on the Pr otocols tab.
3 The Protocols tab appears. Click the Add… button.
Chapter 2: S etup and Inst allation
2 - 25
Inst alling TCP/IP Under Windows NT 4.0, continued
Configuring TCP/IP ,
continued
continued on next page
St e p A c t i o n
4 The Network Protocols dialog appears. Select the TCP/IP protocol and
click OK .
Figure 2-18: Select Network Protocol Dialog
5 The system asks if you are using DHC P to assign your IP address. If you
are not using DHCP or do not know what DHCP is, click on No .
6 The system then asks you to in sert your W indows NT 4.0 CD in the drive
and then install s the driver file s.
W ebW ar e SDK User ’ s Guide
2 - 26
Inst alling TCP/IP Under W indows NT 4.0, continued
Configuring TCP/IP ,
continued St e p A c t i o n
7 After the drivers have be en installe d, click on the Close button . NT then
presents the following TC P/IP Properties dialog:
Figure 2-19 : TCP/IP Properties Dialog
8 Enter the network interface IP a ddress and subnet mask and click OK .
The sy stem then prom pts you to re start the co mputer .
9 Edit the ‘hosts’ file by entering th e IP addresses and names for your
robots. W indows NT 4.0 maintains a database of all known machines
based on the entries in this file. A sample hosts file is included in the
release. Add your entries to th is file, and place it in the
‘\WINDOWS\SYSTEM32\DRIVERS\ETC’ directory . The name of this
file must be ‘hosts’, w ith no file name extension.
Chapter 2: S etup and Inst allation
2 - 27
Setting up Windows NT 4.0 for a SLIP Connection
Introducti on Configuring Win dows NT 4.0 for a SLIP connection is a three-stage process:
Inst all RAS Follow the steps below to instal l the NT 4.0 Remote Access Service (RAS).
continued on next page
St a g e E v e n t
1 Complete th e Remote Access Service (RAS) inst allation.
2 Configure the W indows NT 4.0 “mode m”(S4 Null Modem) shipped with
the W ebW are SDK
3 Create a dial-up e ntry to the robot controller for Di al-Up Networking.
St e p A c t i o n
1 Navigate to the Control Panel and doubleclick Network . The Netw ork
dialog appears.
2 Click on the Serv ices tab. The Select Network Service dialog appears.
Figur e 2-20: Select Network Service Dialog
W ebW ar e SDK User ’ s Guide
2 - 28
Setting up Windows NT 4.0 for a SLIP Connection, c ontinued
Inst all RAS,
continued
Inst all the Null
Modem Follow the steps below to install and configu re the modem shipped with the
WebWare SDK.
continued on next page
St e p A c t i o n
3I n t h e Select Network Service dialog, click on Remote Access Service
and then click OK . The system will co py all of the necessary files from
your NT 4.0 CD.
4 If you do not already have a modem in stalled, the system will prompt
you to in stall one. T his step is actual ly the first step in the RAS
configuration procedure, which follows.
St e p A c t i o n
1C l i c k Ye s when the “Add Modem” prompt appears. The Install New
Modem Dialog appears.
Figure 2-21: Install New Modem Dialog
2 In the Instal l New M odem dialog, click on “ Don’t detect my
modem…”
3 Click the Next button.
4 Click the Have Disk… button and then the Br owse… button.
Chapter 2: S etup and Inst allation
2 - 29
Setting up Windows NT 4.0 for a SLIP Connection, c ontinued
Inst all the Null
Modem Follow the steps below to install and configu re the modem shipped with th e
WebWare SDK.
Configure the RAS
Device Follow the steps below to configur e the Remote Access Service (RAS)
device.
continued on next page
St e p A c t i o n
5 Use the file browser to loc ate the winnt40.i nf modem interface file. The
file is in the “Program Files\Commo n Files\ABB
Automation\Inte rLink\Inclu de\” folder .
6I n t h e Browse dialog, selec t the file and then cl ick Open .
7 Click OK . The system adds the “S4 Null Mod em” to your modem model list.
8 In the modem model list, select the “S4 Null Modem” and then click Next .
9 Selec t the co mmunications p ort a ssigned to the “S4 Null Modem” and
click Next .
10 Click on Fini sh to complete the procedure.
St e p A c t i o n
1 After the ABB null modem has been inst alled and c onfigured, t he Add
RAS Device dialog appears.
Figure 2-22: Add RAS Device Dialog
Select the “S 4 Null Modem” fro m the drop down list and click on OK .
W ebW ar e SDK User ’ s Guide
2 - 30
Setting up Windows NT 4.0 for a SLIP Connection, c ontinued
Configure the RAS
Device, continued
continued on next page
St e p A c t i o n
2 The main Remote Access Setup dialog is displayed.
Figure 2-23: Remote Access Setup Dialo g
Click the Configure button.
3 The Configure Port Us age dialog appears.
Figure 2-24: Configur e Port Usage Dialog
Select “Dial out only” and click on OK . Then click on Close to finish the
Remote Access Server installa tion and restart your computer .
Chapter 2: S etup and Inst allation
2 - 31
Setting up Windows NT 4.0 for a SLIP Connection, c ontinued
Create a Dial-up
Entry Follow the steps below to create a di al-up entry for the ABB Null Modem.
continued on next page
St e p A c t i o n
1 In the W in dows Explorer , go to Dial-Up Networking.
2 If you have no dialup interface de fined, the New P honebook entry dialog
is displayed. If you alre ady have a dialup interfa ce defined, select New…
to define the new en try .
Figure 2-25: New Phonebook Entry Basic Dialog
3 Place the name for your entry in the Entry name field. If you are not
sure what name to use, place S 4 Direct Connection in this field.
4 Disable the Use T elephony dialing pr operties check box. Select the S4
Null Modem you installed in the Dial using drop down list. Disable the
Use another port if bu sy ch eck box.
W ebW ar e SDK User ’ s Guide
2 - 32
Setting up Windows NT 4.0 for a SLIP Connection, c ontinued
Create a Dial-up
Entry , continued
continued on next page
St e p A c t i o n
5 Select the SLIP:Internet option from the Dial-up server type drop down
list. Press the TCP/ IP Settings button.
Figure 2-26: SLIP TCP/IP Setting s Dialog
6 T urn of f the Force IP header compression. T urn off the Use default
gateway on remote network. Enter the IP addr ess of the PC and press
OK .
Chapter 2: S etup and Inst allation
2 - 33
Setting up Windows NT 4.0 for a SLIP Connection, c ontinued
Create a Dial-up
Entry , continued
continued on next page
St e p A c t i o n
7 Use the defaults for the Script , Security , and X.25 tabs.
Figure 2-27: Dial-Up Networking Dialo g
W ebW ar e SDK User ’ s Guide
2 - 34
Setting up Windows NT 4.0 for a SLIP Connection, c ontinued
Create a Dial-up
Entry , continued St e p A c t i o n
8 T o attach your connection to the seri al port, select your new entry name
in the Phonebook entry to dial drop down list and click on the Dial
button. The system displa ys the following prompt:
Figure 2-28: Connect Dialo g
9 Just click on Save password and press OK. A small dialog will be
displayed that indicates the modem is “Diali ng...” This will take a few
seconds to complete. Once you get the connection established, you
should be able to “ping” the controll er ’ s address if your cabling and S4
configuration are correct.
Chapter 2: S etup and Inst allation
2 - 35
T roubleshooting the Network Connection
Slip Doesn’t W ork My PC has an Ethernet LAN connectio n in addition to a SLIP connection
to the robot, however when I try to communicate with the robot using
SLIP, it doesn't work. W hy?
This may be one of the more difficult configurations to troubleshoot, but
with a little background know ledge th e configuration can go sm oothly. Al l
communication wi th the robot controll er is based on the TCP/IP protocol s.
An IP address is mad e up of 4 octets d elimited by periods. Any IP add ress is
divided into two part s, a network segment and a host id. The subnet mask
determines how much of the IP addr ess defines the netw ork segment. For
example, if the subnet mask is 255.2 55.255.0 then the fi rst three octets
define the network segment an d the last oc tet is th e host id. In this situatio n,
the PC already has one IP address assigned to it, lets call it X.X.X.X. This IP
address is in use by the Ethernet LAN interface. Make sure that both the PC
and the robot controller use the same subnet mask, typical values are
255.255.0.0 or 255.255.2 55.0. To add the SLIP connection to the PC you
must assign a va lid IP address to th e SLIP (serial) interface. The network
segment specified by the SLIP interface address should be different from the
network segment specified by the LA N interface address, for example we
can use Y.Y.Y.Y. This allows the routing table to determ ine what network
interface to use when sending IP traffi c. The following fi gure shows a robot
controller with an Ethernet conn ection and a SLIP connection. While
connecting the PC and robot twice is not practical, the figu re illustrates the
need to specify differen t network segment s when using mul tiple PC network
interfaces.
continued on next page
W ebW ar e SDK User ’ s Guide
2 - 36
T roubleshooting the Network Connection, continued
To communicate with the robot over th e ethernet connection, use the target
address 100.110.100.11. To comm unicat e w ith the rob ot via the SLIP
connection, address the robot as 100. 100.100.2. The PC et hernet interface,
unlike this example, wo uld typically be a LAN connection.
PC
LAN
Slip
The PC has two IP
addresses, one for the slip
interface 100.100.100.1,
the other IP address is for
the ethernet interface
100.110.100.10. The
Subnet Mask should be the
same as the Robot
Controller.
Null Modem
Cable
10 Base T
Ethernet
The Robot Controller has two IP
addresses one for the SLIP interface
100.100.100.2, the other IP address is
for the Ethernet interface
100.110.100.11. The subnet mask
should be the same as the PC.
Chapter 2: S etup and Inst allation
2 - 37
Configuring The S4 Controller
Ve r i f y i n g S 4 / P C
Configuratio ns Once you have all soft ware installed and confi gured, you need to make sure
that the S4 configurat ion is consistent with you r PC confi guration. The S4
communication interface is an optional software pack age (RAP Serial Link).
When this software is instal led, you can configure the controller serial port
#1 to communicate using the SLIP protocol. To configure your S4 , do the
following :
• Go to the commun ication parameters setup . (Select Communication
under the System Parameters menu.)
• Highlight sio1: and press <Enter> . In this w indow , configure the baud
rate, parity , and bit patt ern parameters . When you hav e done this select
“OK”.
• Now , under th e Ty p e s menu select option 2, T ransmission Protocols,
and press enter to select physical channel 1.
• Here you should configure the type as SLIP . The port number must be
set to 3001. The values for local and remote address must be consistent
with your PC. That is, the S4 remote address must be the same as the IP
address configured on the PC. The S4 local address is the address you
specify when you Ping or attempt a co nnection to the controller . If the
PC and S4 are the only devices on your network, your choi ce for local
and remote address is arbitrary . However , they cannot be the same
address, and they must be val id IP addresses.
• After making parameter changes, you need to restart the S4.
When you have the S4 and PC properly configured, you shou ld connect and
then use “Ping” to verify the physical link
W ebW ar e SDK User ’ s Guide
2 - 38
This Page Intentionally Left Blank
Chapter 3
ABB InterLink Module
Overview
Introducti on The ABB InterLink Module contains al l of the key components necessary to
communicate with one or more robot control lers and other production
equipment. This m odule is inclu ded in m ultiple ABB software products. In
addition, this mod ule may be bund led with third party appli cations that need
to communicate with plant equipment.
This section describes the ABB InterLink Mod ule and explains how to
configure and optimize Int erLink.
Chapter Content s The table below lists the starting page for eac h section.
T opic See Page
Product Architecture 3 - 2
Robot Addressing 3 - 5
Network Address Resolution 3 - 6
Robot Aliases 3 - 7
W ebW ar e SDK User ’ s Guide
3 - 2
Product Architect ure
ABB
Communication
Architecture
The following diagram depicts th e ABB communica tion architecture:
Figur e 3-1: InterLink Mo dule Softwar e Ar chitectur e
The software com ponents depicted in the diagram are described as fo llows:
ABB InterLink
Module The ABB InterLink Module provides the core communication s support
needed for all WebWare components a nd compatible factory floor devices.
Only one copy of InterLink is installed on each computer using any of these
products. This single copy is shared by each of the installed client
applications.
The ABB InterLink Modul e can be distributed with applications generated
using any of the to olkit product s that require InterLink. For com plete details,
see “Silently Installing InterLink” on pa ge E - 1.
The following sections describe th e components that make up the ABB
InterLink Modu le.
continued on next page
A BB InterLink Module
WebWa re
SDK WebWa re
Serve r
InterLink M odule
Configur ation
Utility
Inte r Link COM
Interf ace
InterLink Connect ion Ma nager
ABB Robotics IT
OPC S erver
OPC Servers
OPC Clien t
Interf ace S4 R AP
Interf ace
A BB S4 Robot
Controller s
S4 Virtual
Controlle r
Interf ace
ABB V irtual
Controller
FTP
Inte rface
FTP
Device s
Chapter 3: ABB InterLink Module
3 - 3
Product Architect ure, continued
InterLink Module
Configuratio n
Utility
This application is used to configure the operation of th e ABB InterLink
Module. The primary uses of this utility are:
• Configure th e PC side of PC-robot commun ication.
• Configure com munication with FT P fi le servers (for use with W ebW are
Server only).
• Configure com munication with ot her plant floor devices using OPC
servers supplied by the device vendor . (for use with W ebW are Server
only).
• Configure W ebW are Data Events fo r collecting process statistics (for
use with W ebW are Server only).
• Enable the connection between Inte rLink and the W ebW are Server web
interface.
• License administration (for W ebW are SDK only).
InterLink COM
Interface This is a private, unsupported COM inte rface. User application s should not
use this interface as stability and fu ture compatibility are not assured.
InterLink
Connection
Manager
The InterLink Connection Manag er conn ects client applications to the
appropriate interface and manages that connection. The primary functions of
this component are:
• Services and tracks the state of all user applications.
• Maintains status of configured interfaces.
• Manages communication wi th all connected devices.
• Directs service requests to the appropriate interface.
continued on next page
W ebW ar e SDK User ’ s Guide
3 - 4
Product Architect ure, continued
S4 RAP Interface This component implements the comm unications interface to the ABB S4
robot controller using th e S4 RAP protocol. The ABB InterLink Modu le
creates a new instance of this in terface for each S4 robot controller.
S4 Virtual
Controller Interface This component implements a COM interface to the ABB S4 Virtual
Controller . The interface implements a subset o f the comman ds provided b y
the S4 RAP Interface compone nt.
OPC Client
Interface This component implements a COM interface between InterLink and an
OPC Device (OPC Server). The OPC Devi ce can be connected to either an
OPC Data Access Server or an OPC Alarms & Events Server.
FTP Device
Interface This component implements a COM in terface between InterLink and an FTP
Device (FTP Server). This interface can be connected to any FTP compliant
device.
W ebW are SDK This product contains a number of Ac tiveX controls that encapsulate the
ABB InterLink Module int erface. Thes e control s can be used to deve lop
applications that comm unicate with ABB robot controllers. In additio n,
WebWare SDK includes the OPC Server and the ABB Virtual Cont roller.
WebW are Server This product provides web-based pro ducti on monitoring and reporting. It is
implemented as a fully-developed web site th at presents information
collected through any attached ABB In terLink Modules. The informati on is
presented in a series of dynamic web pages that can be viewed using the
Microsoft Internet Explorer web browser.
ABB Robotics OPC
Server This product provides a standard OP C (OLE for Process Controls) interface
to the ABB Int erLink Module. The serv er supports both Data Access and
Alarms and Events OPC Clients.
Chapter 3: ABB InterLink Module
3 - 5
Robot Addressing
Introducti on The InterLink Module requires a descri ption of each of the target robot
controllers. This description is cal led an “alias”. The InterLink Module
Configuration utility is used to configure ho w the alias should operate. The
major part of t he alias configuratio n is contained in a file called a Profile.
Profiles are created and modifi ed via the Profile Editor th at is an integral part
of the InterLink Mo dule Configuratio n Utility. See “Profile Editor” on
page 4 - 20 in “Ch apter 4: InterLink Modul e Configurati on Utility
(ICU)” for detailed informatio n on Profiles. Wi thout changing the client
application, the InterLink M odule Configuratio n utility can be used to
modify the follo wing alias attributes:
• Network address
• Robot I/O co nfiguration file (specified in the Profile)
• Enable/disabl e simulation m ode(specified in the Profi le)
• Digital signal pollin g mechanism(specified in the Profile)
When any alias property is chan ged using the u tility, the communicat ion link
to the associated alias is shut down and recreated using the new property
settings. If a client application is running when the alia s attributes are
changed, the state of all components th at reference the alias is automa tically
updated to reflect th e new configuration.
The selection of the alias name for a robot is important. The alias names are
used to form a reference to the data in the robot controller. Every client
application that co mmunicates w ith the robot uses the specified alias name.
“S4” is the Alias name used by the sample application included.
In some cases, two applications may com municate to the same robot usin g
different Alias na mes. This practi ce is not recommended due to the resulting
additional commu nication overhead required to create and main tain two
interfaces to the same robot controller.
For these situation s, InterLink su pports a speci al type of robot alias called a
“Linked Alias”. A Linked Alias app ears to the application as a normal
InterLink Alia s, but a Linked Alias is associated wit h another In terLink
Alias when created. This mechanism al lows two different Alias names to
share a common communication interf ace. Please see “Create A Linked
Alias” on page 4 - 15 in “Chapter 4: InterLink Module Configuratio n
Utility (ICU)” for information on creating a Li nked Alias.
W ebW ar e SDK User ’ s Guide
3 - 6
Network Address Resolution
Introducti on When InterLink attempts to communicate with a robot cont roller, it need s to
know either the host name or th e IP address assigned to the robot controller.
Administration of TCP/ IP addresses and host names can be sophisticated.
The simplest approach is to place the hos t names and addresses in a local
“hosts” file stored on the PC. The fi le name is “hosts”, and its location
depends on your operating system. Th e InterLink Mod ule Configurat ion
utility uses the hosts file to prov ide a list of host names known to the local
PC and provides method s to add, modify, and delet e host names in this file.
NOTE: Administrators ar e the only users allowed to access and change
entries in the host file, in most cases. Other users can still set up
r obot aliases by directly ent ering the robot contr oller IP
addr ess in the “TCP/IP” field of the I nterLink Module Config-
uration utility “Edit Profile” or “Add Pr ofile” dialogs. See
“Adding A New Robot Alias” on page 4 - 12 or “Edit A Robot
Alias” on page 4 - 14.
More advanced methods are available in newer operating systems for the
management of TCP/IP host names and addresses. Two of the methods are
Domain Name Se rvice (DNS) and W indows Internet Name Service (W INS).
Refer to your operating sy stem documen tation for comp lete descriptions of
how to setup and use these services. If you prefer, you can us e either of these
mechanisms instead of the “hosts” file.
No matter which name resolut ion scheme you use, the best way to det ermine
if InterLink will be able to communicate with a specific host name is to use
the PING utility to ve rify that the host name is valid. If you can PING a
robot, In terLink should be able to com municate with it . PING is a utility
included in your operating system and can be executed in a Command
Prompt window.
Chapter 3: ABB InterLink Module
3 - 7
Robot Aliases
Introducti on InterLink requires th at an Alias be created for each robot accessed by a client
application. The InterLi nk interface uses aliases when designating specific
robot contro ls. This is don e to isolat e the client appli cations from the
network confi guration. For instance, a single client application can be
written to access a robot named “spotw eld” a nd then installed on two
hundred spot welding robot s without chang ing the client application .
There are many parameters used to configure how each A lias communicates
with the assigned robot controll er. Inte rLink stores all of these parameter
values in named operational Profiles and assigns a Profile to each Alias.
Each Profile may be assigned to one or more Alias definitions.
Every InterLink Alias represents an interface to a single robot controller.
InterLink maintain s that interface as long as any InterLin k application is
running. Once all of th e client applicat ions have exited, Int erLink shuts
down the interface. You can te ll that InterLink is running by looking for the
InterLink Status Moni tor icon in the system tray. As you add new Alias
definitions, the InterLi nk Status Monitor will update its display to note the
newly added interfaces.
The selection of the Alias name fo r a robot is important. Every control us ed
in your application to communicate with this robot uses the alias name you
specify. If you are not sure what alias name makes sense for you to use, use
“S4”. This is the Alias nam e used by the sample application inclu ded with
InterLin k.
InterLink supports two different types of interfaces. E ach type of interface is
defined in the following sectio ns.
FactoryW are
Interface This is the standard communications interface that is used to communicate
with an ABB S4 robot cont roller. This is the standa rd interface used by eve ry
Alias defined in the configuration modu le.
V irtual Cont roller
Interfaces The InterLink Configuration Modu le cannot b e used to d efine an alias t hat
uses the Virtual Controller interface. These aliases are created automatically
by applications that need this interface, such as I/ O Simulator and/or Robot
Studio.
W ebW ar e SDK User ’ s Guide
3 - 8
This Page Intentionally Left Blank
Chapter 4
InterLink Module Configuration Utility (ICU)
Configuring the InterLink Module
Chapter Content s The table below lists the starting page for each section in this chapter.
Accessing the
Configuratio n
Utility
Once InterLink is installed and the TCP/ IP interface is conf igured correctly,
you will need to configure InterLink. InterLink uses Alias n ames to identify
specific robot controllers and other plant fl oor devices. The In terLink
configuration requires an alia s for each device to be accessed.
To create a new alias for use with In terLink, start th e InterLink Module
Configuration utility. A shortcu t to this application can be found in t he ABB
Flexible Automat ion program group.
You can also double-click on the desktop icon.
T opic See Page
InterLink Module Configur ation Utili ty Main Screen Components 4 - 2
Menu Functions and T oolba r Shortcut Buttons 4 - 8
Adding A New Robot Alias 4 - 12
Edit A Robot Alias 4 - 14
Create A Linked Alias 4 - 15
Edit Host File 4 - 17
Add a Host File Entry 4 - 19
Profile Editor 4 - 20
W ebW are Server Interface C onfiguration 4 - 44
Analyze IO Configuration File 4 - 46
OPC Devices 4 - 49
Plant Model 4 - 67
W e bW are Data Event Editor 4 - 71
W ebW ar e SDK User ’ s Guide
4 - 2
ICU Main Screen Component s
Main Screen
Component s The ICU user interface is shown below.
Figur e 4-1: ICU Default Window
The main view of this program is divided int o five pages:
• Robot Alias pag e - displays a list of robot aliases
• OPC Device page - displays a list of OPC devices
• File System page - displays a list of File System devices
• Plant Model page - displays the Pl ant Model. The Plant Model is a con-
figurable view of all the devices connected to the W ebW are network.
• Data Events Editor page - displays the Data Events configured on th e
system.
Each of the following sect ions details the main screen componen ts.
continued on next page
Chapter 4: InterLink Module Config uration Utility (ICU)
4 - 3
ICU Main Screen Component s, continued
W orking Wit h the
Robot Device Page You can add, delete, modify and co py devices shown on each device page
using standard Windows approaches. For example, right -click on a device
icon to display a menu of availabl e commands, as shown below.
Figur e 4-2: Robot Device Right-Click Menu
W orking Wit h the
Robot Device Page,
continued
The table below describes the differen t screens that will appear, depending
on the menu choice you make:
continued on next page
Menu Choice Result
Analyze IO
Configuration File The Analyze IO Configurat ion dialog appears. For
complete de tails, see “Analyze I O Configuration File” on
page 4 - 46.
Create Link The Create Linked Alia s dial og appears. F or comple te
details, see “Creat e A Li nked Alias” on page 4 - 15.
Delete Alias The selected device is deleted from the system.
Edit Alias The Edit Ali as dialog appears. For complete details, see
“Edit A Robot Alias” on page 4 - 14.
Rename Alia s The alias name become s active and is highlighted. T ype
in a new name and then press Enter to sa ve the new
name.
Edit Profile The Edit Profile dialog a ppears. For com plete details, see
“Profile Editor” on page 4 - 20.
W ebW ar e SDK User ’ s Guide
4 - 4
ICU Main Screen Component s, continued
W orking With th e
OPC Device Page You can add, delete, modify and co py devices shown on each device page
using standard Windows approaches. For example, right -click on an OPC
device icon to display a menu of available command s, as shown below.
Figure 4-3: OPC Device Right-Click Menu
The table below describes the differen t screens that will appear, depending
on the menu choice you make:
continued on next page
Menu Choice Result
Delete De vice The sel ected de vice will be de leted from t he system .
NOTE: The software does NOT ask for confirmatio n -
make sure you have selected the correct device before
selecting “De lete Device” from the men u.
Edit Device An Edit OPC Device dialog appears. The dialog will
change depending on whether th e dev ice selected is an
Alarm or a Data Access device.
Rename Device The device name beco mes active and is hig hlighted. T ype
in a new name and then press Enter to sa ve the new
name.
Copy Device A copy of the selected device will appear on the device
page.
Chapter 4: InterLink Module Config uration Utility (ICU)
4 - 5
ICU Main Screen Component s, continued
W orking Wit h the
File Device Page You can add, delete, modify and co py devices shown on each device page
using standard Windows approaches. For example, right -click on an File
System icon to display a menu of availab le commands, as shown below
Figure 4-4: File Device Right-Click Menu
The table below describes the differen t screens that will appear, depending
on the menu choice you make:
Menu Choice Result
Delete F ile Devic e The sel ected de vice will be delet ed from the syst em.
NOTE: The software does NOT ask for confirmatio n -
make sure you have selected the correct device before
selecting “De lete Device” from the menu.
Edit File De vice An Edit File Device dialog appears. The dialog will
change depending what type of device you clicked on.
Rename File Device The de vice name beco mes active and is hig hlighted. T ype
in a new name and then press Enter to sa ve the new
name.
Edit Profile The Edit Profile dialog a ppears. For com plete details, see
“Profile Editor” on page 4 - 20.
W ebW ar e SDK User ’ s Guide
4 - 6
ICU Main Screen Component s, continued
Plant Model Pa ge The Plant Model allows the user to create a logical repr es entation of the
plant in the form of a tree view. The user can create entities that appear in the
tree representing work cells or even en tire assembly lines. The Plant Model
will appear on the WebWare web site as the logical view of the plant.
Figur e 4-5: Plant Model Right-Click Menu
The left-hand pane can be expanded to sh ow the plant model that you
created to represent your plan t. The right-hand pane is a li st of devices that
are configured on your system in InterLink but not used in your model.
For more details, see “Plant Model” on page 4 - 67.
continued on next page
Chapter 4: InterLink Module Config uration Utility (ICU)
4 - 7
ICU Main Screen Component s, continued
W orking Wit h the
Dat a Event Page You can add, delete, modify and co py devices shown on each device page
using standard Windows approaches. For example, right -click on an Data
Event icon to display a menu of available command s, as shown below.
Figure 4-6: Data Event Right-Click Menu
The table below describes the differen t screens that will appear, depending
on the menu choice you make:
Menu Choice Result
Delete Da ta Event The sele cted devi ce will be deleted from the system .
NOTE: The software does NOT ask for confirmatio n -
make sure you have selected the correct device before
selecting “De lete Device” from the menu.
Edit Data Event An Edit OPC Device dialog appears. The dialog will
change depending on whether th e dev ice selecte d is an
Alarm or a Data Access device.
W ebW ar e SDK User ’ s Guide
4 - 8
Menu Functions and T oolbar Shortcut Buttons
Introducti on The InterLink Configuration utility provides a wind ows-style menu bar and
toolbar. The toolbar cont ains shortcut buttons for each menu command,
except for the Exit command under the File menu.
Each menu command and its correspondi ng toolbar shortcut button is
detailed in th e sections that foll ow.
File Menu
Commands The File menu off ers the following command:
Shortcut s Mouse: Double-click the application's Cont rol menu butto n.
Shortcut Key: ALT+F4
continued on next page
Comman d Function
Exit Exits the InterLink Se tup application.
Chapter 4: InterLink Module Config uration Utility (ICU)
4 - 9
Menu Functions and T oolbar Shortcut Buttons, continued
Vi e w M e n u
Commands The View Menu offers the following comm ands:
Shortcut To hide or display the Toolb ar, choose Toolbar from the View menu (ALT,
V, T). You cannot hide the standard Window s buttons (Large Icons, Small
Icons, etc.).
continued on next page
Command T oolbar Bu tton Functi on
T oolbar None Click to toggle the toolb ar (buttons) ON
or OFF .
S tatus Bar None Click to toggle th e status bar (at the
bottom of the user interface) ON or OFF .
Robots Click to display the Robots page.
OPC Devices Click to disp lay the OPC Device page.
File Devices Click to disp lay the File Device page.
Plant Model Click to disp lay the Plant Model page.
Data Event s Click to di spla y the Data Events page.
Lar ge Icons Click to displa y items as large icons.
Small Icons Click to disp lay items as small icons
List Click to display items in a list
Details Click to display items in a list with all
details
W ebW ar e SDK User ’ s Guide
4 - 10
Menu Functions and T oolbar Shortcut Buttons, conti nued
To o l s M e n u
Commands The Tools menu offers the follow ing commands:
continued on next page
Command T oolba r Button Functi on
Apply License Use this command to apply a W ebW are
license to the SDK installat ion. Opens the
InterLink License Setup dialog.
Configure
We b Wa r e
Interface
Use this command to define the link
between the data co llector (attached to the
robot controllers) and W ebW are Server .
Configure NFS None Use this command to open the NFS
Configuration dialog, to enable Network
File System (NFS) file hand ling on the
W ebW are Network.
Generate L icense
Request Form
None Use this command to apply and generate a
license request form. R efer to the Product
Licensing topic for a detailed discussion of
InterLink licensing.
Add New Device V arious Use this command to add a new device to
the syst em. This m enu item c hanges
depending upon the page displayed.
Edit Plant Model Use this comm and to open the Plant Model
for editing. Active only when the Plant
Model is select ed.
Save Plant Model Use this co mmand to save any changes
made to the Plant Mode l. Active only when
the Plant Model is open for editing.
Undo Plant Model
Changes Use this command to undo any changes
made to the Plant Mode l. Active only when
the Plant Model is open for editing.
Edit Profile Use this command to modify , create, and
delete Profiles.
Analyze IO
Configuration
File
Use this command to inspect an S4 IO
Configuration file to de termine how
ef fective InterLink will be using this file to
build a list of IO signals used to read the
signal values in the robot control.
Chapter 4: InterLink Module Config uration Utility (ICU)
4 - 1 1
Menu Functions and T oolbar Shortcut Buttons, continued
Help Menu
Commands The Help menu offers the foll owing commands:
Shortcut Shortcut Keys: SHIFT+F1
Command T oolbar Bu tton Functi on
Help T opics From the Menu - Opens the help topic
index.
From the T oolbar Button - Use the
Context Help command to obtain help
on some portion of InterLink Setup.
When you choose the T oolbar's Context
Help button, the mouse pointer will
change to an arrow and question mark.
Then cl ick somewhere in the InterLink
Setup window , such as another T oolbar
button. The Help topic will be shown for
the item you clicked.
About Setup Displays the About InterLink Module
Configuration dialog box, which
displays version numbers installed ABB
applications.
W ebW ar e SDK User ’ s Guide
4 - 12
Adding A New Robot Alias
Screen
Component s The Add New Alias screen componen ts are de scribed in the table
following the illustration.
Figur e 4-7 : Add New Alia s Dialog
continued on next page
Component Function
Robot’ s alias name field Enter the robot al ias name that you will assign to the new
robot in this field .
TCP/IP field Drop-down list contai ning referenced nodes from the
host file.
Profile field Drop-down list containing existing pr ofiles.
Edit Host File Button Click to access the Edit Host File dialog.
Edit Profile Click to access the Edit Profile dialog
Finish Click to save the new robot alias name and profile.
Cancel Click to cancel the opera tion without saving any changes.
Help Click to open the available context sensitive Help dialog.
Chapter 4: InterLink Module Config uration Utility (ICU)
4 - 13
Adding A New Robot Alias, continued
Procedure Follow the steps below to add a new InterLink robot alias.
St e p A c t i o n
1 In the InterLink Module Configuration Ut ility Robot Alias page, double-
click on the Add New Alias icon . The Add New Alias screen appears:
2 Enter an alias name in th e “robot’ s alias name” field.
3 Enter or se lect the TCP /IP node where the ne w alias is located.
If… …Then
…you know what host name you
want to assign to th is alias,
enter that name in the field either
by selecting it fro m the list or
typing it in
…you have a TCP/IP “Hosts” file
on your system,
you can select th e host name from
the drop down list. If the “Hosts”
file cannot be found, the list is
empty .
… you do not know what host
name to use, or are planning to use
InterLink to simulate the inter face
to the robot,
enter the same name you used for
the alias na me.
…you do not have read/write
permissions for the host file on
your machine,
enter the TCP/IP address directly
in the TCP/IP fie ld of the Add
New Alias dialog.
4 Enter the desired profile name or select a previously defined profile f rom
the drop down list. A profile cont ains the InterLink configuration
parameters th at are as sociate d with one or more aliases. In other words,
one profile can be used with severa l aliases. This avoids having to
specify the InterLink configuration pa rameters for each and ev ery alias.
NOTE : Each alias must have a pr ofil e entry or the new alias will
not be saved.
W ebW ar e SDK User ’ s Guide
4 - 14
Edit A Robot Alias
Procedure Follow the steps below to edit a robot alias.
St e p A c t i o n
1 From the robot device page, do uble-cl ick on the robot icon, or right-click
on the icon and select Edit Alias from the pop-up menu.
2 The Edit Alias dialog appears.
Figure 4-8: Edit Alias Dial og
If you need to: …then
Rename the Alias Highlight th e alias name and type in a
new name.
Select a different TCP/IP
node Click on the down arrow and select a
dif ferent node name from the list.
Edit th e host file name or
address Click the Edit Host File button
Note: If you do not have read/write
permissions for the host file on your
machine, enter the TCP/IP ad dress
directly in the TCP/ IP field.
Change the alias profil e Click the Edit Pr ofile button.
3 When you have finished your edits, click:
• OK - to save your changes, close the dialog and return to the ICU
main scre en
• Cancel - to retu rn to the ICU main screen without saving any
changes
• Help - to open the availab le he lp information for this dia log
Chapter 4: InterLink Module Config uration Utility (ICU)
4 - 15
Create A Linked Alias
Introducti on In some cases, you may need to run two In terLink applications that were
written using di fferent Alias names to talk to the same robot. Yo u could
make this work by defining both Alias nam es to make the two appli cations
work, but this would cause InterLink to create and maintain two int erfaces to
the same robot controller. Th is would stress both the robot control ler and the
PC running the InterLink applicat ions.
InterLink has a solution for this problem . It supports a special type of robot
alias called a “Linked Alias”. A Linked Alias appears to the application as a
normal InterLink Alias, but the Linked A lias is attached to anot her InterLink
Alias when it is created. This mechanism is provi ded to allow two Alias
names to share the sa me robot interface.
A Linked Alias is a robot Alias that att aches to the interface of another Alias.
This is a useful mechanism for allowi ng two InterLink applications that are
written to work with different Alias names to communicate with a single
robot con troller.
Procedure Follow the steps below to create a linked alias.
continued on next page
St e p A c t i o n
1 T o create a linked alias, right click on a n existing alia s in the Al ias Name
page. A dialog similar to the fo llowing will be displayed:
Figur e 4-9: Cr ea te Link Pop-Up Men u
W ebW ar e SDK User ’ s Guide
4 - 16
Create a Linked Alias, continued
Procedure,
continued St e p A c t i o n
2 Selec t Create Link from the drop down menu. A dialog similar to the
following will be displayed:
Figure 4-10: Create Linked Alias Dia log
3 In the “Enter the robot application Link name” field, en ter the name of
the new link.
4 In the “Assign the linked Alias name...” l ist box, select the Alia s that you
want to use from the list of defined Alias names.
5C l i c k OK to create the linked alias.
Chapter 4: InterLink Module Config uration Utility (ICU)
4 - 17
Edit Host File
Introducti on If this is a new in stallation, you will have to select or create a node name and
specify its TCP/IP address for the robot that this alias represents. Click on
the Edit host file button on either the Add Alias or Edit Ali as dialogs and the
following dialog w ill be di splayed:
Figure 4-1 1: Edit Host File Dialog
This dialog is used to add, remove, or edit a network node name and its
associated IP address from the Hosts fi le. For example, the Hosts file usua lly
resides in the C:\Windows\system32\ drivers\etc directory.
You must have read/write access to this fi le to add, remove or edit an entry.
If you do not have access to the host file, type in the TCP/IP address directly
into the “TCP/IP” field of either the Add or Edit Alias dialo gs.
Screen
Component s The table below lists the screen compon ents for the Edit Host File dialog.
continued on next page
Component Function
Add button Click Add to open the Add New Host Entry dialog:
Remove Button Select one of the node names in the Host file nodes list
box to enable the Remove but ton. Clicking Remove to
delete the entry from the list box as well as from the
Hosts file
Edit Button Click Edit to open th e Edit Node IP Address dialog.
Ok Button Save any changes to the Hosts file on the machine.
W ebW ar e SDK User ’ s Guide
4 - 18
Edit Host File, continued
Edit Procedure Follow the steps below to edit an exis ting host fi le entry.
St e p A c t i o n
1 In the Edit Host File dialog, select the address that you wish to edit. The
Edit button will be come available.
2C l i c k Edit . The Edit Node IP Add ress dialog will appear .
Figur e 4-12: Edit Node IP Address Dialog
3 Enter the new address and click OK .
Chapter 4: InterLink Module Config uration Utility (ICU)
4 - 19
Add a Host File Entry
Screen
Component s The Add New Host Entry dialog appears after you click on the Add button
on the Edit Host File dialog.
Use this dialog to add a new node name to the Hosts fi le. Enter the Host
name and the IP address for the robot controller that this n ode represents.
Figur e 4-13: Add New Host Entry
Procedure Follow the steps below to complete a new host file entry.
St e p A c t i o n
1 Navigate to the Edit Host File dialog.
2C l i c k Add . The Add New Host Entry dialog appears.
3 T ype in the new host name.
4 Press T ab or click on the first digit block of the IP address.
5 T ype in the new IP address. The OK button will become available.
6C l i c k OK . The syst em will add the new IP address to th e host file .
W ebW ar e SDK User ’ s Guide
4 - 20
Profile Editor
Introducti on A profile contains the InterLin k configur ation parameters that are associated
with one or more aliases. One profile can be used with several aliases. This
avoids having to specify the InterLin k configurati on parameters separately
for each and every alias that you create.
St arting the Profile
Editor To access the Profile Editor, do any one of the follo wing:
•C l i c k Edit Profile on the Add New A lias dialog
• Click the toolbar button
• Select Edit Pr ofile on the T ools menu:
Figure 4-14: T ools Menu – E dit Profile
continued on next page
Chapter 4: InterLink Module Config uration Utility (ICU)
4 - 21
Profile Editor , continued
Select Profile
Dialog This dialog allows you to select the profile that you wi ll add or modify.
Figure 4-15: Select Pr ofile Dialog
Screen
Component s The table below describes the function of the dialog shown above.
continued on next page
Component Function
Profile list box Displays all of th e profiles av ailable on the system.
Display S4 Profiles
radio button Click to filter the profile list to show only S4 profiles.
Display File Device
Profiles radio button Click to filter the profil e list to show only File Device
profiles.
Display All Profiles
radio button Click to filter the profile list to show all profiles on the
syst em.
Add Profile butto n Click to add a new profile to th e system. Opens the Ent er
New Profile dialog.
Delete Profile button Delete the hi ghlighted profile from the list.
W ebW ar e SDK User ’ s Guide
4 - 22
Profile Editor , continued
Add Profile
Procedure Follow the steps below to add a device profile on your system.
St e p A c t i o n
1 Click the Edit Pr ofile button.
2 The Select a Pr ofile dialog appears. (see Figure 4-15). Click Add
Profile .
3 The Enter New Profile Name dialog appears.
Figure 4-16 : Enter New Pr ofile Name Dialog
T ype in the profile name and click on the appropriate profile type radio
button.
4C l i c k OK to save the new profile to …\Docume nts and Settings\All
Users\Application Data \ABB Automation\InterLink.
Chapter 4: InterLink Module Config uration Utility (ICU)
4 - 23
Profile Editor User Interface Comp onent s
Introducti on The Profile Editor is used to edit the alias configuratio n pa rameters that are
associated with one or more robot aliases. It is possible to use th e same
profile for multiple al iases. Each profile contains communi cation link
settings, variable subscriptions, and back up settings.
Figur e 4 -17: Profile Editor – Interface T ab
You make changes to the alias profile using any or all of the tabbed property
pages. Each property page is detailed in the sections that follow:
T opic See Page
Robot Interface Property Page 4 - 24
V ariable Subscriptions Property Page 4 - 27
Backup File Set Property Page 4 - 29
FTP Prope rty Page 4 - 38
File Device Interface Property Page 4 - 41
W ebW ar e SDK User ’ s Guide
4 - 24
Profile Editor – Robot Interface Property Page
Screen
Component s The table below describes the function of each screen component on the
Profile Editor Interface Prope rty Page for robot devices.
continued on next page
Component Function
Set default butto n Click the Set default butt on to set the current profile’ s
parameters to their defaul t va lues. Th ey can be res tored
to their previous values by clicking the Reset button.
Reset button Click the reset button to restore the current profile’ s
original settings. Keep in mind that if you clicked the
Apply or OK button, any changes you have made are
saved and can not be un done by clicking the Reset
button.
Robot Clock check bo x Check this box to activate the W ebW are robot clock
synchronization f unction. Ea ch data coll ector in the
system will compare the robot's clock, to the data
collector clock at one hour inte rvals. If the clock times do
not match, the data collec tors will update the robot
clocks. For more information, see “Data Collector/Robot
Clock Synchronization” on page 5 - 16
Link State Heartbe at
check box Check this box to activate the W ebW are Link State
Heartbeat functi on. This function helps synchronize
W ebW are Server with RAP to prevent cer tain types of
errors caused by applications sending messages before
RAP is fully initialize d. For more information, see the
W ebW are SDK help file.
Mirror ramdisk Checking this box will mirror the robot’ s ramdisk to the
server .
Briefly , the r amdisk mirror is the functional equiva lent of
a “hot” backup. Any change s to the ramdisk will be
reflected in the mirror ima ge on the PC. For further
information on mirroring the ramdisk, see “W ebW a r e
Ramdisk Mirr or” in “W ebW ar e Server Installa tion and
Setup Guide” .
IO Configuration file This edit box is us ed to specify an I/O configuration.
InterLink uses the I/O configur ation file to determi ne all
of the I/O boards, signals, a nd groups configured in the
robot controller . This file can be copied directly from the
robot controller to the PC via a floppy disk.
Chapter 4: InterLink Module Config uration Utility (ICU)
4 - 25
Profile Editor - Robot Interface Property Page, continued
Screen
Component s,
continued
continued on next page
Component Function
Simulate int erface
check box Selecting this check box tells InterLink to simulate the
communication link. When Int erLink simulat es a
communication link, it does not ac tually commu nicate
with the robot. In stead, it re sponds to all of its functions
and methods as if a robot were connected. This is useful
for application development and making demonstrations
when a robot controll er is not available.
If this box is not selected, InterLink esta blishes and
maintains a communication link to a connected S4 robot
controller . Y ou must have your TCP/IP protocol
configured properly b efo re disabling simulation.
This box def aults to simulation mode.
Note: If this box is checked, the backup functions will
not work since you are not communicating with the robot
controller .
Use read block interface
check box Selecting this check box sets InterLink to use the RAP
read block function in order to poll the state of digital I/
O. Y ou should always check th is box unless you have an
M94 controller .
Poll simulate d I/O
check box The S4 robot control is capa ble of simulating I/O boards
for communication between r obot tasks and InterLink
applications. If this box is selected, InterLink polls the
simulated I/O board s in additi on to other signals. If this
box is not selected, signals on simulated I/O boards will
not be accessible to InterLink applications.
Use optimal polling list Setting this check box sets InterLink to reduce the polling
list down to a minimum subset of values. Reducing the
polling list size reduce s the poll cycle. Smal ler poll
cycles improves the applic ation's performance and
responsiveness.
InterLink extrac ts signal va lues from overlapped group
values in order to reduce the list size. Adding group
definitions to the robot's IO configuration allows
InterLink to minimi ze the IO polling list. If there ar e no
groups defined in the IO conf iguration file, setting this
check box is meaningless.
W ebW ar e SDK User ’ s Guide
4 - 26
Profile Editor - Robot Interface Property Page, continued
Screen
Component s,
continued
continued on next page
Component Function
Use optimal polling list,
continued If this check box is not selected, InterLink polls every
signal contained in the IO configuration file.
Use the Analyze IO Confi guration File command to
better me asure the ef fectiveness of the automatic po ll list
optimization for a spec ific IO configuration file. See
“Analyze IO Configuratio n File” on page 4 - 46.
Poll delay
(milliseconds) This field contains the InterLink polling delay in
milliseconds. The pol ling delay is the am ount of time the
robot sleeps between polling cycles. The default polling
delay is 1000 milliseconds.
Selecting the proper polling de lay depends on the type of
application being implemented. An interactive user
interfac e that acti vely monito rs signal and va riable valu es
in the robot control should have a fairly low poll delay . A
file server or backup applic ation can function adequately
with a longer poll delay . The tuning page of the InterLink
status monitor can be used to experiment with dif ferent
poll delay values to determ ine the best value for an
application.
The poll delay setting is i ndependent of and does not
af fect the reception of s pontaneous messages from the
robot controller . For detail s, see “Understanding and
Optimizing the Polling Engine” on page 5 - 9.
Browse Button Click this button to o p en a dialog to navigate to the IO
Configuration file to use for this profile.
Delete button Click the delete but ton to delete the selected prof ile file
from the profile directory (e.g., C:\Documents and
Settings\All User s\Application Dat a\ABB
Automation\Inter Link).
OK button Clicking the OK button performs the same function as the
Apply button with the additi onal task of closing the
Profile Editor .
Cancel Click to close the dial og without saving any changes.
Chapter 4: InterLink Module Config uration Utility (ICU)
4 - 27
Profile Editor - Robot Interface Property Page, continued
Screen
Component s,
continued
Profile Editor – V ariable Subscriptions Property Page
Screen
Component s The Variable Subscription page specifies the variables to b e displayed in the
WebWare data page’s Variable view. Th e variables must exist on the robot
controller and be persi stent in order fo r valid da ta to be displayed on the web
page.
Figure 4-18: Pr o file Editor – V ariable Subscriptions T ab
continued on next page
Component Function
Apply button Click the Apply button to save the profile’ s current
parameter v alues to t he prof ile file. Clicking t he Reset
button will not restore the pr ofile’ s para meters to the
values that existed befor e the Apply button was clicked.
V ariable Subscriptions
tab Select this tab to open th e V a riable Subscrip tions
property page.
Backup File Set tab Select this tab to open the Backup File Set property page.
FTP T ab Select this tab to open th e FTP property page.
W ebW ar e SDK User ’ s Guide
4 - 28
Profile Editor – V ariable Subscriptions Property Page,
continued
Screen
Component s,
continued Component Function
V ariable name Enter the nam e of th e RAPID variable to be displayed
(e.g., reg1). Again the variable must exist in the robot
controller and be pe rsiste nt in order to view the variable
in the W ebW are data page’ s V ariable view .
Add button Clicking the Add button will add t he variable name to the
variable subscription list and be added to the entries in
the list box.
Remove button Selecting a variable from the list box and clicking the
Remove button will dele te the variable from the variable
subscription list and remove the varia ble name from the
list box.
V ariable type Select th e variable type for the va riable you are adding to
the list. The default value is num (numeric). The type
must match the type of th e variable in the robot
controller .
V ariable program ID This value is norma lly 0 (also the default value). Do not
change this unless you are sure of what you are do ing.
Select the Backup File Set tab to go to the next property
page.
Subscription List list
box Lists al l of the subscribed variabl es in the system.
Chapter 4: InterLink Module Config uration Utility (ICU)
4 - 29
Profile Editor – Backup File Set Property Page
Screen
Component s The Backup File Set property page is used to configure the WebW are
backup system parameters for the s elected profile.
Figure 4-19: Pr ofile Editor – Backup File Set
This section only prov ides instructions fo r configuring t he WebWare backup
system. For detailed informat ion on the WebWare Backup system, see the
chapter entitled “W ebW are Backup” in the W ebW ar e Server Installat ion and
Setup Guide . For in formation on ramdisk m irroring, see the chapter entitled
“W ebW ar e Ramdisk Mirr or” in the W ebW ar e Server In stallation and Se tup
Guide.
continued on next page
W ebW ar e SDK User ’ s Guide
4 - 30
Profile Editor – Backup File Set Property Page, continued
Screen
component s,
continued
continued on next page
Component Function
Files list box This scrollabl e list box shows all of the el ements that
have been selected for backup.
S tandard Backup check
box Click to back up all:
• Programs
• Modules
• Ramdisk (S4C+ only)
• Paramete rs
Any other check boxes except for the Event Logs and
Ramdisk check boxes will be cleared. The RAPID and
Event Log buttons to the right of the check boxes will
also be disabled.
RAPID check box Click to back u p only the robot program and program
modules. Opens the RAPID dialog. For details, see
“Configuring W ebW are Backup” in W ebW ar e Server
Installation and Setup Guide .
Event Logs check box Click to back up the event logs. The Event Logs dialog
opens, and the Event Logs button is activated. If you
choose one or more Event Logs to back up alo ng with a
St andard Backup, the Event Log Button on the Backup
tab will be activated.
Parameters check box Click to back up all ro bot system parame ters .
Other Click to open the Other Ba ckup dialog, to configure the
robot ramdisk backup.
RAPID dialog button Click to display the Rapid Backup Di alog showing the
selected files to be bac ked up. This bu tton is active only
when the RAPID checkbox is selected.
Event Log dialog button Click to displa y the Event Log Dialog showing the
selected logs to be backed up. This button is active only
when the Logs checkbox is selected.
Other Backup dialog
button Click to display the Other Backup Dialog showing the
selected backup defi nitions. This button is active only
when the Other Backup checkbox is selected.
Chapter 4: InterLink Module Config uration Utility (ICU)
4 - 31
Profile Editor – Backup File Set Property Page, continued
Screen
component s,
continued
RAPID Dialog The RAPID dialog appears whenever the RAPID check box or button is
clicked on the Backup File Set property page.
Figur e 4-20 : RAPID Dialog
continued on next page
Component Function
Backup to Network
Drive check box Click to back up the select ed files via Network File
System (NFS). For details see “Chapter 7: W ebW ar e &
ABB Network Fi le System (NFS)” in the W ebW ar e Server
Installation and Setup Guide .
Set Output to High
check box This option turns an output ON to signal the robot
program and/or attached devi ces tha t a backup is in
progress.
OK button Click to save the change s to the backup configuration and
close the dialog.
Cancel button Click to close the dialog without saving any changes
made.
Apply button Click to apply the ch anges to the bac kup configuration
and leave the dialog open.
W ebW ar e SDK User ’ s Guide
4 - 32
Profile Editor – Backup File Set Property Page, continued
RAPID Dialog,
continued The RAPID dialog contains the following comp onents:
continued on next page
Component Function
Program check box Click to activate th e RAPID Program name... field to
allow you to specify the names of the programs to back
up.
Modules check box Click to activate the RAPID Module name... field to
allow you to specify the names of the modules to back
up.
RAPID Module... field Act ivated when Modules radio button is selected.
T ask ID field Only applicable if the robot contr oller has the ABB
Multitasking option instal led. T ask 0 is always the
“foreground” task - the robot program. Y ou can
determine the “background level” number of the backup
task by entering a number from 1 - 10 in this field.
Program Module radio
button Enter the RAPID program module name - when you click
Add , the system will add the .m od extension to the name
you type into the field.
System Module radio
button Enter the RAPID system module name - when you click
Add , the system wi ll add the .s ys extension to the name
you type into the field.
Add button Click to add the entry in ei ther the RAPID Program... or
RAPID Module... field to the backup list.
Remove button Select a program or module from the list and click
Remove to remove the item from the backup list.
OK button Click to save the curre nt list and close the dialog.
Cancel button Click to close the di alog without saving any changes to
the backup list.
Chapter 4: InterLink Module Config uration Utility (ICU)
4 - 33
Profile Editor – Backup File Set Property Page, continued
Logs Dialog The Logs Dialog appears when you click the Logs check box or the Logs
button (if it is activated) on the Backu p File Set property page.
Figure 4-21: Logs Dialog
The Logs d ialog contains the following com ponents:
Component Function
A vailable Logs field T his field shows the logs that have not been configured
for backup. Highlight the logs in the A vailable Logs field
that you wish to back up and then click > >>Add to add
the logs to the backup list.
>>>Add All button Click to add all available logs to the backup list.
>>>Add button Click to add select ed logs to the back up list.
Remove<<< button Cli ck to clear all selected logs from the backup list.
Remove All<<< button Click to clear selected l ogs from the backup list.
Selected Logs field This fi eld shows the logs in the backup list.T o remove a
log or logs from the backup li st, highlight the logs to be
removed and click Remove<<< .
OK button Click to save the curre nt list and close the dialog.
Cancel button Click to close the di alog without saving any changes to
the backup list.
W ebW ar e SDK User ’ s Guide
4 - 34
How to Configure Extende d Ramdisk (Other) Backup
Introducti on Use this dialog to customize the backup configuration for the ram disk
backup. Select:
• the name and location of the folder that wil l contain the ramdisk files
• which files sho uld be included or excluded
• which sub folders or files should be incl uded or excluded.
User Interface
Component s The illustration below shows the Other Backup dialog.
Figur e 4-22 : Ramdis k Backup Config uration Dia log
The table below details the function of the components in the dialog shown
above.
continued on next page
Component Functi on
Full Ramdisk Click to select all files and sub-folders in the ramdisk.
Disables all other co mponents on this dialog.
Base Fol der field Enter the na me of the folder that will contain the files
backed up from the ramdisk. If th is field is left blank, the
system will place th e backup starting at the root of the
destination fold er specified in InterLin k Monitor's
Backup tab.
Chapter 4: InterLink Module Config uration Utility (ICU)
4 - 35
How to Configure Extended Ramdisk (Other) Backup,
continued
User Interface
Component s,
continued
The table below refers to Figure 4-22.
continued on next page
Component Functi on
Ramdisk radio button For: Select to Back Up
S4C Controllers Ram1Disk Fo lder ($Ramdisk)
S4c+ Controllers Root of th e C urrent System ($Root)
Disk Root radio button For: Select to Back Up
S4C Controllers Root (same as Ram1Disk) Folder
S4c+ Controllers HD0A folder (hd0a:\)
Source Folder field Enter the specific name of a folder on the robot that you
wish to back up. The sy stem will automati cally prefix the
folder with the defau lt value of the Ramdisk or Root
folder , depending on the def ault for the robot controller
type. The default value is $RAMDISK.
Replicate on
Destination Folder
checkbox
Click this checkb ox to enter anything typed into the
Source Fold er Fiel d into the De stination Folder fie ld.
Destination Folder path
indicator field This fiel d contains the path to the folder on the
destination drive that will contain the files backed up
from the robot. The Base Folder path will automatically
prefix the name you specify in this field.
Add button Click to add the specified paths, folders and/or files to the
backup settings fo r this profile.
Remove button Click to remove the spe cified path, folde rs and/or files
from the backup settings for this profile.
Modify button Select an item from the Backup Configuration list and
click Modi fy to make the parameters available for
editing.
Include Sub Folders
check box Click to add all sub-folders under the selected folder to
the current backup profile.
W ebW ar e SDK User ’ s Guide
4 - 36
How to Configure Extended Ramdisk (Other) Backup,
continued
User Interface
Component s,
continued
The table below refers to Figure 4-22 on page 4 - 34.
Importan t
If the *.* definition is used and the device is a robot , an internal exclude list
is used automatically. In other words, if the *.* definition is used, all of the
files on the robot ramdisk are back ed up except for the following files:
The only way to back up the excluded files is to add additi onal backup
definitions that incl ude these types of files.
continued on next page
Exclude Files radio
button Click to e xclude the files as described in the Files field
from the backup session.
Include Files radio
button Click to i nclude the fi les as described in the Files field
from the backup session.
Files field Enter the selection para meters in this field. Supported
parameters are described in th e example se lect ions below .
These formats work for both the include and exclude
functions.
Entry Format: Definition
*.cfg All files with the “cfg” ext ension
Robot1.* All files w ith the f ile name
“Robot1”
*.* All files
Note: Not valid for “Exclude Files”
definition
Robot1.cfg The file named “Robot1.cfg” (The
exact f ile name)
[filename] All files with the specified na me
*.id *.bin *.tpu *.chk
*.cmd *.dir *.ini
Chapter 4: InterLink Module Config uration Utility (ICU)
4 - 37
How to Configure Extended Ramdisk (Other) Backup,
continued
Configure Backup
Procedure Follow the steps below to configure the backup of the ramdisk fil es on the
selected robot. Remember, if you select Full Ramdisk , all of the other
functions in this dialog are disabled. The procedure below assumes that you
want to customize the parameters for this backup session.
continued on next page
St e p A c t i o n
1 On the Profile Editor Ba ckup File Set T ab, click Other . The Other
Backup dialog will appear .
2 Enter the path and name of the base folder . The path and name that you
enter here will be the prefix for an y destination directory that you enter
later .
3 Select e ither RamDi sk or Disk Root, depending upon the type of
controller you have and which folder you want to back up.
For S4 C contr ollers :
RamDisk and Disk Root are e ssentially the same - they both will back up
the Ram1Disk folde r .
For S4c+ Controllers:
Select RamDisk to back up the root of the current system
Select Disk Root to back up the root of the cu rrent system (the HD0A)
folder .
4 Select I nclude Sub dir ectorie s if you want to back up all the sub-folders
inside the fo lder you select.
5 If you need to include a specific set of files with the backup, click the
Include F iles radio button and enter the crite ria as shown in Figure 4-22.
Y ou can enter multipl e wildcards in a comma separated list.
6 If you want to exclude a sp ecific set of files fro m the backup, click the
Exclude Files radio button and enter the crit eria as shown in Figure 4-22.
Y ou can enter multipl e wildcards in a comma separated list.
7 Click Add to add the definition to the definition table. When you are
finished adding definitions, click OK .
W ebW ar e SDK User ’ s Guide
4 - 38
How to Configure Extended Ramdisk (Other) Backup,
continued
Modify Backup
Procedure Follow the steps below to modify one of the entri es in a ramdisk backup
configuration.
Profile Editor – FTP Property Page
Introducti on ABB ro bot controll ers offer tw o file transfer mechanisms:
• RAP - the default mechanism. The RAP protocol w orks on all S4 con-
trollers.
• FTP - S4C+ controllers support FTP in addition to the standard RAP
protocol.
There are two advantages to using FTP for file transf ers:
• FTP supp orts long file name s. The RAP protocol onl y supports 8.3 fi le
names.
•F T P i s f a s t e r .
No code changes are required to activat e or deactivate the FTP file transfer
feature.
continued on next page
St e p A c t i o n
1 On the Profile Editor Backup File Set T ab, click Other . The Other
Backup dialog will appear .
2 On the Other Backup Dialog, double cl ick one of the items on the backup
definitions table. The syst em will plac e all of the relevant information for
the definition in the appr opriate fields in the upper part of the dialog.
3 Make any changes and then click Modi fy to save the changes.
Chapter 4: InterLink Module Config uration Utility (ICU)
4 - 39
Profile Editor – FTP Property Page, continued
Procedure Follow the steps below to enable the FTP interface for the selected robot
profile.
St e p A c t i o n
1 Click on the FTP tab to op en the FTP property page.
Figur e 4-23: FTP Pr operty Page
2 Check the Enable FTP Interface check box to enable the interface.
3 T ype in the user name that W ebW are should use to recognize when
accessing t he interface.
4 T ype in the password and the c onfirma tion password that W ebW are
should use when acce ssing the interface.
5C l i c k :
OK - to save the changes and close the dialog.
Cancel - to close the dialog without saving an y changes
Apply - to apply the changes and leave the dialog open.
W ebW ar e SDK User ’ s Guide
4 - 40
Profile Editor - File De vice Interface Property Page
Introducti on File Devi ces fill two purp oses for Web Ware. File Devices can connect to the
WebWare network via FTP and can display file/folder information on the
WebWare web site. The data will ap pear in the WebWare tree view as
shown below .
WebWare Server can use the FTP connection to allow the backup system to
access and backup those files/folders. Th is allows you to see file/folder
information on any FTP-enabled clien t device on the network, and use a
single method to back up that valuable data.
Figure 4-24: W ebW ar e Server File Page
continued on next page
Chapter 4: InterLink Module Config uration Utility (ICU)
4 - 41
Profile Editor - File Devi ce Interface Property Page, continued
Adding a File
Device Profile Follow the steps below to add or modify a file device.
continued on next page
St e p A c t i o n
1 On the InterLink File Device page, click the Add File Device button.
2 The Add New File De vice d ialog appears .
Figure 4-25: Add File Device Dialog
3 Enter a name in the Enter the file device name field.
4 Enter or select the TCP/IP node where the new device is located.
If… …then…
...you know what host name you
want to assign to this a lias, enter that name in the field either by
selecting it from the list or typing it
in
...you have a TCP/IP “Hosts” file on
your system, you can select the host name from
the drop down list. If the “Hosts” file
cannot be found, th e list is empty .
... you do not know what host name
to use, or are planning to use
InterLink to simul ate the inter face to
the robot,
enter the same name you used for the
alias name.
...you do not ha ve read/write
permissions for the host file on your
machine (the Edit Host File button is
disabled),
enter the TCP/IP addr ess directly in
the TCP/IP field of the Add New
Alias dialog.
W ebW ar e SDK User ’ s Guide
4 - 42
Profile Editor - File Devi ce Interface Property Page, continued
Adding a File
Device Profile,
continued
continued on next page
St e p A c t i o n
5 Enter the desired profile name or select a previ ously defined profile from
the drop down list. A profile contai ns the InterLi nk configuration
parameters that are associated with one or more file devi ces. In other
words, one profile can be used with several device s. This avoids having
to specify the InterLink configurat ion parameters for each and every
device. NOTE: Each device must have a profile entry or the new file
device will not be saved.
6C l i c k Edit Pr ofile . The Edit P rofile di alog fo r file devices will appear .
Figure 4-26: File Devi ce Interface Property Page
Chapter 4: InterLink Module Config uration Utility (ICU)
4 - 43
Profile Editor - File Devi ce Interface Property Page, continued
Editing a File
Device Profile Follow the steps below to edit the pr ofile for a WebWare file device. The
steps below apply whether you are adding or changing the profile fo r a new
or existing WebWare file device. Note : User Data i s required only if the file
device is an FTP server. If the file devi ce is an S4C+ robot, the optional FTP
client installed does not require a user name or password for access.
St e p A c t i o n
1C l i c k Edit Pr ofile . The Edit P rofil e dialo g fo r file devices will appear .
Figure 4-27: File Devi ce Interface Property Page
2 Enter a user na me a nd password. Enter the password again in the Ve r i f y
Password field.
3 Selec t:
• Mirror - to mirror the co ntents of the file device at th e W ebW are
Server network server .
• Backup - to back up the contents of th e file device at the W ebW are
Server network server .
4C l i c k :
OK - to save the changes and close the dialog.
Cancel - to close the dialog without saving an y changes
Apply - to apply the changes and leave the dialog open.
W ebW ar e SDK User ’ s Guide
4 - 44
W ebW are Server Interface Configuration
Accessing the
Configuratio n
Function
NOTE: Y ou use this dialog ONL Y if you ar e using W ebW are SER VER!
If you ar e not connecting to a W ebW ar e Server network, DO
NOT enable this interface!
The WebWare interface is the link between the Data Collector (i.e., the PC
connected to the robot c ontrollers) and WebWare Server. Configuring the
WebWare Server interface informs In terLink where WebWare Server is
located (i.e., its IP address) and instru cts InterLin k to supply information to
the Server.
To access the configuration functions:
• Select Configur e W ebW are Interface on the T ools menu (see Fi gure
4-28)
• Click button on the toolb ar
Figure 4-28: T ools Menu – C onfigure W ebW ar e Interface…
continued on next page
Chapter 4: InterLink Module Config uration Utility (ICU)
4 - 45
W ebW are Server Interface Configuration, continued
Screen
Component s The WebWare Interface Configurat ion dialog is shown below.
Figure 4-29: W ebW are Interface Configuration
Procedure Follow the steps below to en able the WebWare Interface:
Component Function
W ebW are Server IP
Address This combo box is used to specify the W ebW are network
server ’ s IP address.
Edit Host File This button invo kes the Edit Ho st File dialog. T his can be
used to address new IP addr ess definitions in the loca l
hosts (i.e ., Hosts) file. See “Edit Host File” on p age 4 -
17.
St e p A c t i o n
1 Navigate t o the W ebW are In terface Confi guration dialog.
2 Check the Enable W e bW are Interface checkbox to enable the interfa ce
between W ebW are Server and the Data Collector (i.e., the PC connec ted
to the robot controllers)
3 Enter the IP address o f the W ebW are network server or click on the list
box down arrow and select an ex isting address from the list.
4C l i c k OK .
5 Reboot the computer .
W ebW ar e SDK User ’ s Guide
4 - 46
Analyze IO Configuration File
Accessing the
Analysis Function Use the Analyze IO Configuration F ile dialog to inspect an S4 IO
Configuration file to determine how efficiently In terLink will build the list
of IO signals used to read the signal values in the robot control.
To access the dialog, do either of the following:
• Select Analyze IO Configurat ion File… from the T o ols menu
• Click on the tool bar
Figur e 4-30: T ools Menu – Analyze I O Configuration Fi le…
For more information, see “Underst anding and Optimizing the Pol ling
Engine” on page 5 - 9.
continued on next page
Chapter 4: InterLink Module Config uration Utility (ICU)
4 - 47
Analyze IO Configuration File, continued
Procedure Follow the steps below to an alyze a configuration file:
continued on next page
St e p A c t i o n
1 Navigate to the Select S4 IO Configurati on File dialog.
Figur e 4-31: Select S4 IO Configuration File
2 Use the navigation components of the dialog to find and select the fil e
that you wish to analyze.
W ebW ar e SDK User ’ s Guide
4 - 48
Analyze IO Configuration File, continued
Procedure,
continued
continued on next page
St e p A c t i o n
3 Click OK. The IO Configuration File Analysis dialog appears,
displaying the analysis of the file you selected.
Figure 4-32: IO Confi guration File Analysis
Chapter 4: InterLink Module Config uration Utility (ICU)
4 - 49
Analyze IO Configuration File, continued
Using the Result s The summary box shows totals for each signal type. The list box provides a
detailed listing of any signals not c overed by a group definition . Using this
file, you can det ermine how effective InterLink will be in using th e listed fil e
to build a list of robot cont rol signal values.
OPC Device Page
Introducti on The OPC Device pane shows all of the OPC devices connected to the
WebWare n etwork.
InterLink uses OPC devices to pres ent OPC device information to WebWare
Server. InterLink requ ires that each OPC de vice accessed by a client
application have a name. The InterL ink interface uses this name when
designating specific OPC device controls.
Every InterLink OPC name represents an interface to an OPC device.
InterLink maintain s that interface as long as any InterLin k application is
running. Once all of the cl ient applications have exited, InterLink shu ts
down the interface. You verify that In terLink is running by looking for the
InterLink Status Moni tor icon in the system tray. As you add new OPC
devices, the InterLink St atus Monitor will update its di splay to note the
newly added interfaces.
For More
Information This section assumes that you alrea dy have a basic understanding of OPC
concepts. For more informat ion on OPC, visit the OPC Foundation web site
at www.opcfo undation.org.
You can also read more in the ABB Robotics IT OPC Server User’s Guide.
OPC Device Names The selection of the OPC Device name is important. Every control used i n
your application to com mun icate with this OPC Device uses the name you
specify.
InterLink su pports two different typ es of OPC D evices. Each type of devi ce
is displayed with its own icon.
continued on next page
W ebW ar e SDK User ’ s Guide
4 - 50
OPC Devices, continued
OPC Device Names,
continued The two different types of OPC devices and their corresponding icon s are
shown below .
Figure 4-33: OPC Device Icon T ypes
Icon Device T ype
Data Access Device
This i dentifies t he OPC devic e as a Data Acce ss Devic e.
Alarms and Events
Device
This id entifies the OPC device as an Alarms a nd Events
OPC device.
Chapter 4: InterLink Module Config uration Utility (ICU)
4 - 51
Adding OPC Devices
Procedure Follow the steps below to add a ne w OPC device to the WebWare network.
The following sections describe th e various tabs on the New OPC Device
dialog and their functions.
continued on next page
St e p A c t i o n
1 T o add an OPC device double clic k on the button. The dialog shown
below will appear .
Figure 4-34: Select OPC Server Dialog
2 Use this dialog to select the OPC se rver f or this OPC c onnection. The list
box displays the available servers a nd their types. High light the desired
server to place it in the top edit box. The server name can also be typed
in the top edit box.
3 When th e desired server is in the edit box click on OK . The New OPC
Device dialog appears.
4 Modify any of the entries in the New OPC Device di alog as necessary
and click OK . The new device will appe ar on the OPC device page.
W ebW ar e SDK User ’ s Guide
4 - 52
Adding OPC Devices, continued
New OPC Device
Dialog - Server T ab The New OPC Device dialog provides three tabbed pro perty pages that
allow you to set up the devi ce on the network. The Server tab is display ed by
default. The Server tab specifi es the OPC server information.
Figur e 4-35: New OPC Device Dialog
continued on next page
Compon ent Function
OPC Device Name
field Enter the name of this OPC Server configuration. If you
are editing the setup, you will not be able to change the
name.
OPC Server The current OPC server fo r this device is displayed here.
OPC Server Node The current OPC server node for this device is displayed
here.
Change OPC Server
button This button can be used to change the OPC serve r . Opens
the Select OPC S erver dialog. For more details, see Figure
4-34 on page 4 - 51.
If the new device is an alarm, this page will show three
additional boxes:
Active Box This box is used to turn the event subscription on and off.
This is only avai lable for an Alarms and Even ts Server .
Chapter 4: InterLink Module Config uration Utility (ICU)
4 - 53
Adding OPC Devices, continued
New OPC Device
Dialog - Server T ab
continued
Ta g s Ta b The Tags tab all ows open the Tags propert y page. The Tags t ab appear s
when you edit OPC devices also - see “Tags Tab” on page 4 - 56 for
complete de tails.
Main Page Layout
Ta b The Main Page Layout Property page specifies the text that will be disp layed
for this device in the WebWare Server user interface. This tab appears when
you edit OPC devices also - for complet e details, see “Main Page Layout
Tab” on page 4 - 58.
Component Func tion
Update Rate This edit box is used to set the update rate if the event
subscription is on. This is only available for an Alarms
and Events Server . The update rate is enter ed in
milliseconds. The number must not be negative.
Maximum # of Events This edit box is used to set the maximum number of
events i f the event s ubscr iption is on. This is only
available for an Alarms and Event s Server . The
maximum number of events must not be negative.
Click on the OK button to continue. The new device will
now appear in the InterLi nk Module Configuration OPC
Devic e page.
W ebW ar e SDK User ’ s Guide
4 - 54
Modifying an OPC Device
OPC Device
Modification Popup
Menu
At the InterLink Configuration M odule, right click on th e device that you
wish to modify. A men u with the allowable changes will app ear. .
Figure 4-36: Right-Click M odificati on Menu
Component Function
Delete Device Delete the highli ghted device from the module.
NOTE: The softwar e does NOT ask for confir-
mation - make sur e you have sel ected
the corr ect device before selecting
“Delete Device” fr om the menu.
Edit Device Displays the “Edit OPC De vice” dialog. For more details,
see the follo wing section.
Rename Activates the devi ce name for editing.
Copy Device Creates a copy of the highlighted device , and modifies
the device name of the new device.
Chapter 4: InterLink Module Config uration Utility (ICU)
4 - 55
Edit OPC Device Dialog - Dat a Access Devices
Introducti on Use the tabs on the Edit OPC Device di alog to ma ke changes to the OPC
device you selected in InterLink.
Server T ab The Server tab specifies the OPC server information.
Figure 4-37: Edit OPC Device Dialog - Server T ab
continued on next page
Component Function
OPC Device Name Enter the name of th is OPC Server c onfiguration. If you
are editing the setup, you will not be able to change the
name.
OPC Server The current OPC server f o r this device is displayed here.
OPC Server Node The current OPC server node for this devi ce is displayed
here.
Change OPC Server
Button This button can be used to change the OP C server . Opens
the Select OPC Server dial og. For more de tails, see
“Adding OPC Devices” on pag e 4 - 51.
W ebW ar e SDK User ’ s Guide
4 - 56
Edit OPC Device Dialog - Non-Alarm Devices continued
Ta g s Ta b The Tags tab specifies a list of tags for this device. This tab is only available
for the data access OPC server.
Figure 4-38: Edit OPC Device Dialo g - T ags T ab
Tag information is sent to WebW are Server and is displayed on the Data
page.
continued on next page
Component Function
Current T ag(s) This list box is a list of the current tags for this device.
Add T ag Click on this button to open a dialog box that allows the
user to add tags. See“A dd T ag Dialog” on page 4 - 57.
Remove T ag Pressing this button wi ll remove all the tags in the
Current T ag(s) list that are highlighted.
Select T ag Data T ype When one tag is highl ighted this option w ill be available.
This allows the user to s elect a type for the tag.
Chapter 4: InterLink Module Config uration Utility (ICU)
4 - 57
Edit OPC Device Dialog - Dat a Access Devices, continued
Add T ag Dialog This dialog is used add a tag to the tag list. Follow the steps bel ow to add a
tag for the selected OPC device.
Figur e 4-39: Add T ag Dialog
continued on next page
St e p A c t i o n
1 Select t he devi ce from t he device pane on the left. A list of a vailable tags
for that device appears in the pane on the right.
2 T o select a tag, click on the desired tag in the list box . The selected tag
will appear in the top edit box.
Note: Not all OPC Servers support ta g browsing. If no list of tags
appears in the right-hand field, you can enter the tag name directly in the
Item Name field.
3 Set the data type b y c licking on one of the data type radio buttons at the
bottom of the dialog.
4C l i c k Add Item to add the tag to the tag list for the device . Repeat steps
1 - 3 for each additional tag and/or device that yo u need to ad d.
5 When you have finished selecting tags, click Done to close the dialog
and return to the Edit OPC Device dialog.
W ebW ar e SDK User ’ s Guide
4 - 58
Edit OPC Device Dialog - Dat a Access Devices, continued
Main Page Layout
Ta b The Main Page Layout tab specifies the text that will be displa yed for this
device in the WebWare Server user interface.
Check the Tag checkbox to allow the OPC server to dynamically updat e the
tag data. The tag option on this page is onl y available for data access OPC
servers.
Figure 4-40: Edit OPC Device Dial og - Main Page Layout T ab
Use this tab to set up the main page for OPC devices on the WebWare Server
network, as shown in Figure 4-41.
continued on next page
Compon ent Function
Author (See Figure
4-40) Ente r the text that will be di splayed in the author field.
V ersion Enter the text that will be displayed in the version field.
Company Enter the text that will be displayed in the company field.
Description Enter the text that will be displayed in the description field.
Used Defined There are four edit boxe s that you can enter any title and
field data. The information entere d here will be displayed as
entered.
The T ag check boxes will not appear for OPC Alarm
devices.
Chapter 4: InterLink Module Config uration Utility (ICU)
4 - 59
Edit OPC Device Dialog - Dat a Access Devices, continued
Main Page Layout
Property Pa ge,
continued
The figure below shows the resulting page at the WebWare web site, where
the OPC tags are displayed live on the page.
Figure 4-41: W ebW ar e Server Main Page - OPC Devices
Component Function
Ta g Data access OPC server only - Each edit box has a
corresponding tag check box. Selecting this box will
bring up the Add Item dialog box (see Figure 4-39) that
allows the user to assign a tag to the edit box on this
dialog. W ith this box ch ecked th e corresponding tag
information will be displaye d instead of static text.
W ebW ar e SDK User ’ s Guide
4 - 60
Edit OPC Device Dialog Component s - Alarms
Introducti on Use the tabs on the Edit OPC Device di alog to make changes to the OPC
device you selected in InterLink Configuration U tility.
Server T ab The Server tab specifies the OPC server information.
Figure 4-42: Edit OPC Device Dialog - Server T ab
continued on next page
Component Function
OPC Device Name Enter the name of th is OPC Server c onfiguration. If you
are editing the setup, you will not be able to change the
name.
OPC Server The current OPC server f o r this device is displayed here.
OPC Server Node The current OPC server node for this devi ce is displayed
here.
Change OPC Server
Button This button can be u sed to change the OPC server .
Active Box This box is used to turn the event subscription on and of f.
Chapter 4: InterLink Module Config uration Utility (ICU)
4 - 61
Edit OPC Device Dialog Component s - Alarms, continued
Server Page,
continued
T ype & Severity T ab The Type and Seve rity tab specifies the Event Type and Severity Range for
the Alarms and Events OPC server.
Figure 4-43: Edi t OPC Device - Categories T ab
continued on next page
Component Function
Update Rate This edit box is used to set the update ra te if the event
subscription is on. The upda te rate is entered in
millise conds. T he number must NOT be negative.
Maximum # of Events This edit box is used to set the maximum number of
events if the event subscri ption is on. The ma ximum
number of events must NOT be negative.
Component Function
Event T ype Select the event types that will be displayed for the
device.
Severity Range Set the range of event se verity that will be display ed. The
severity range can be a ny integer between 0 and 1000.
W ebW ar e SDK User ’ s Guide
4 - 62
Edit OPC Device Dialog Component s - Alarms, continued
Categories T ab The Categories tab specifies the categories to be displayed.
Figure 4-44: Edit OPC Device - Categories T ab
continued on next page
Component Function
Disable Category
Filtering Select this check box to turn the category filtering of f.
A vailable: The left list box displays the available categories for this
OPC server . Double click or highlight and click the
>>> Add button to select the desired category .
Selected: The right list box displays the categories that are selected
for this OPC Device. T o add categ ories to this list click
on selected entries in the A v ailable list box. T o remove
categories from this list, do uble click the category or
highlight category and click the Rem ove <<< but ton.
>>>Add Click to add the category hi ghlighted in the available list
to the sele cted list.
Remove<<< Click to remove the categ ory highlighted in the selected
list.
Chapter 4: InterLink Module Config uration Utility (ICU)
4 - 63
Edit OPC Device Dialog Component s - Alarms, continued
Areas T ab The Areas tab specifies the ar eas selected for this device.
Figur e 4-45: Edit OPC Devi ce - Areas T ab
continued on next page
Component Function
Disable Area Filtering Select this check box to turn the area filtering off.
Filter: This edit box is used to fi lter the areas displayed in the
available areas list box. Only the areas that match the
filter wi ll be displ ayed. The asterisk is a wild ca rd
characte r (or char acte rs) in the filter .
A vailable: The left list box displays the available areas for this OPC
server . Highlight the area and click the >>>Add button to
add that area to the selecte d list.
W ebW ar e SDK User ’ s Guide
4 - 64
Edit OPC Device Dialog Component s - Alarms, continued
Areas T ab,
continued
Sources T ab The Sources tab specifies the sources se lected for this device. This tab is
only available for the Alarms and Events OPC Server.
Figur e 4-46: Edit OPC Device - So ur ces T ab
continued on next page
Component Function
Selected: The right list box displ ays the areas that ar e selected for
this OPC Device. T o add areas to this list go to the
available list box. T o remove an area from this list,
double-click the area or highli ght the area and click the
Remove<<< button.
>>>Add Click to add the area highlighted in the available list to
the selected list. Pre ssing this button witho ut an available
area selected will bring up a dialog box that allows the
user to enter an area by hand.
Remove<<< Click to remove the are a highlighted in th e sele cted list.
Add Children Click to add the area highlighted along with all of its
children t o the sele cted list.
Chapter 4: InterLink Module Config uration Utility (ICU)
4 - 65
Edit OPC Device Dialog Component s - Alarms, continued
Sources T ab,
continued
continued on next page
Component Function
Disable Source Filtering Sel ect this check box to turn the source filtering of f.
Filter: This edit box is used to fi lter the sources displayed in the
available sources list box. On ly the sources that match
the filter will be displayed. The asterisk is a wild card
characte r (or char acte rs) in the filter .
A vailable: The left list box displays the available sources for this
OPC server . Highlight th e source and press the >>>Add
button to a dd that sour ce to the se lected list.
Selected: The right list box displa ys t he sources that are sele cted
for this OPC Device. T o add a sources to this l i st go to the
available list box. T o remove a source from this list,
double-click the source or highl ight the source and press
the Remove<<< button.
>>>Add Click to add the source highlighted in the available list to
the selected list. Pre ssing this button without an av ailable
source selected will brin g up a dialog box that allows the
user to enter a source by hand.
Remove<<< Click to remove the sour ce highlighte d in the sele cted
list.
Add Children Click to add the source highlighted along with all of its
children t o the select ed list .
W ebW ar e SDK User ’ s Guide
4 - 66
Edit OPC Device Dialog Component s - Alarms, continued
Main Page Layout
Ta b The Main Page Layout tab specifies the text that will be displa yed for this
device. This tag option on this tab is only available for the data access OPC
server.
Figure 4-47: Edit OPC Device - Main Page Layout T ab
Component Function
Author Enter th e text tha t will be displayed in the author field.
V ersion Enter the te xt that will be displayed in the version field.
Company Enter the te xt that will be displayed in the company field.
Description Enter the text tha t will be displa yed in the description
field.
User Defined There are four of edit boxes that you can enter any title
and field data. The informat ion entered here will be
displayed as entered.
Chapter 4: InterLink Module Config uration Utility (ICU)
4 - 67
Plant Model
Introducti on The Plant Model allows the user to create a logical repr es entation of the
plant in the form of a tree view. The user can create entities that appear in the
tree representing work cells or even en tire assembly lines. The Plant Model
will appear on the WebWare web site as the logical view of the plant.
The Plant Model that appears on your PC may look different, dependin g
upon where the model originates.
If WWS ervice is config ured, the Plant Model wi ll orig inate wit h the
WebWare network server, and will contai n all of the data collectors in the
network. In the device tree pane, t he r oot object will app ear as “The Plant
Model (WWService Version).”
If WWService is not conf i gured, the Plan t Model that appears o n your PC
will be the one stored in InterLink. In most cases, InterLink will store the
model based on your local m achine. If y our local machine is the server, then
the Plant Mo del that you see will be th e same as the WWService version. In
the device tree pane, the root object will appear as “The Plant Model (Local
Link Version).”
The WebWare Plant Model features a checkout device to prevent more than
one user at a time from modifying a Plant Model. You must check out the
model, make your modi fications and then save the mod el (check it back in)
in order to apply the changes to the system.
continued on next page
W ebW ar e SDK User ’ s Guide
4 - 68
Plant Model, continued
Create a Plant
Model To create a plant model:
continued on next page
St e p A c t i o n
1 At the InterLin k Configuration Utility (ICU), click on the Plant Model
button. The Plant Model page appears.
Figur e 4-4 8: Plant Model Page
The left hand pane shows the new empty plant model. The right hand
pane displays a list of devices. Y ou can toggle the list between all
available devices in the system (All Devices) or only devices that you
haven’t used in you r model (Unused Devices).
2 Y ou must check out the Plant Model before you can edit it. Click the
Edit button to check out the Plant Model.
Chapter 4: InterLink Module Config uration Utility (ICU)
4 - 69
Plant Model, continued
Create a Plant
Model, continued
continued on next page
St e p A c t i o n
3 The Plant Model tree will turn red, indicating that it is now editable .
Figure 4-49: Active Plant Model
Use the m ouse to drag items from the right pane over to the left pane.
Release the mouse button to drop the ite m into the plant model.
4 When you have finished arranging th e items in the plant mo del the way
you want them:
• click the Save button to save the model.
• click the Undo button to check in the model without saving
any changes.
W ebW ar e SDK User ’ s Guide
4 - 70
Plant Model, continued
Adding Branches to
Yo u r P l a n t M o d e l When the user right clicks the mouse on an item in the tree control, a popup
menu appears. The menu will only appear if the Plant Model is ch ecked out.
Figur e 4-50: Device T ree Popup Menu
Device T ree Popup
Menu The table below describes the functio n of each menu item in the Pl ant Model
device tree rig ht-click popup m enu.
Menu Item Function
Delete Click Delete to remove the selected item along with all of
its child ele ments from the tre e. This menu item is grayed
out for the root object.
Add Branch Click Add Branch to add a branch to the tree. Use
branches to crea te work cells, plant lines, etc. Y ou can
add devices under branches.
Rename Click Rename to activate the node or device name on the
tree. Y ou can then edit the node or device name.
Copy When the Copy menu item is select ed the c urrent tr ee
item and all of its bran ches is copied to the clipboard.
This menu item shal l be gray ed out for the root object.
Paste When the Paste item is selected th e tree item on the
clipboard is added to the sele cted tree item. This menu
item is grayed out if there are no items on the clipboard.
Chapter 4: InterLink Module Config uration Utility (ICU)
4 - 71
W ebW are Dat a Event Editor
Introducti on The WebWare Data Event Editor a llows you to in crement WebWare
counters or start and stop WebWare timers based on an O PC tag’s state.
OPC tags defined in the WebWare Data Event Editor are different from
those defined in the OPC Device Li st portion of the InterLink Configuration
Utility (ICU).
The WebWare Data Event Editor starts or stops a WebWare timer based on
the resultant state of a user specified OPC tag. The tim er is updated only
when the OPC tag is first entered or when the state of the OPC tag changes.
The WebWare Event Editor increments or decrem ents a WebWare counter
based on the resultant state of a user specified OPC tag. The counter is
updated only when the expression is fi rst entered or when the state of the
Boolean expression changes.
The WebWare Event Editor also writes an entry into a custom table based on
the resultant state of the expression. The custom table entry is updated only
when the OPC tag is first entered or when the state of the OPC tag changes.
It is possible to use tags from ABB Robots (e.g., I/O signals) as well as OPC
Servers that comply with the OPC Data Access 1.0 and/or 2.0 Ser ver
standards.
A COM interface (IWWEventConfig) is provided for the WebWare Data
Event Editor configuration.
continued on next page
W ebW ar e SDK User ’ s Guide
4 - 72
W ebW are Dat a Event Editor , continued
Add a New Dat a
Event Expression There are three main steps to c r eating an Data Event expression:
The following sections provide the deta ils for each of the steps in the table
above.
Set Up the Dat a
Event Follow the steps below to add a new data event.
continued on next page
St e p A c t i o n
1 Set up and name the new data event.
2 Set up the Boolean attri butes of the data event.
3 Select the counter that will increment as a result of the data event.
St e p A c t i o n
1 At the InterLi nk Configuration Utility screen, clic k the Data Events
button.
2 The data event pane appears. Cl ick on the Add New Data Event
button.
3 The Add Data Event dialog appears.
Figure 4-51: Add Data Event Dialog
Enter a na me for the new data event and click OK . This name will
appear in the Data Eve nt pane in th e ICU. Choose a descriptive, unique
name.
Chapter 4: InterLink Module Config uration Utility (ICU)
4 - 73
W ebW are Dat a Event Editor , continued
Set Up the Dat a
Event, continued
continued on next page
St e p A c t i o n
4 The Data Event dialog appears.
Figur e 4- 52: Data Event Dia log
Click on the top Br owse button.
5 The Select OPC Server dialog appe ars (see Figure 4-34). Select the OPC
server where the tag you will use in your expression is located an d click OK .
6 Select the OPC tag from the selected server that you will use in your data
event. Click the second Browse button.
W ebW ar e SDK User ’ s Guide
4 - 74
W ebW are Dat a Event Editor , continued
Set Up the Dat a
Event, continued
continued on next page
St e p A c t i o n
7 The Change T ag dialog appears.
Figure 4-53: Change T ag Dialog
Navigate through the tree in the left ha nd pane to the device you will use.
Then select from the available ta gs in the right ha nd pane and click
Change T ag .
8 The Data Event dialog reappears, and the OPC server and tag that you
have selected should appear in th e tw o top fields of the dialog. Continue
on and create the data event expression.
Chapter 4: InterLink Module Config uration Utility (ICU)
4 - 75
W ebW are Dat a Event Editor , continued
Create the Da t a
Event Expression Follow the steps below to create the Data Event expression that will trigger
the counter or timer you will select in the next section.
continued on next page
St e p A c t i o n
1 At the Da ta Event dial og, select TRUE or F ALSE from the IF list.
2 Select the action that will occur from the THEN li st.
• If you want a counter action to occu r , change the counter increment
interval. The default is set to 1.
• If you cho ose a timer , select whethe r the timer will start, stop or
restart from the drop down list.
3 Y ou can hard code the name of th e timer or counter node by typing the
name in the Counter n ode name field.
OR
If you wish to use an OPC T ag as the timer or counter node name, select
the OPC T ag check box, and click Br owse to display the Change T ag
dialog. Choose the tag that will serve as the timer or counter .
W ebW ar e SDK User ’ s Guide
4 - 76
W ebW are Dat a Event Editor , continued
Select the Counter/
Timer Node Name Follow the steps below to select the node name for the coun ter or timer that
will be affected as a result of the OPC tag state change.
continued on next page
St e p A c t i o n
1 Click on the bottom Br owse… button.The Browse Data Events dialog
appears.
Figur e 4-54: Browser Data Events Dialog
This d ialog shows all of the “W eb W a re Devices” in the network.
“W ebW are Devices” identify the cont ainers where the counter or timer
operation will be stored in the W ebW are database. Each count er or timer
operation will be stored in the database using th e device name you select
from the list above as the key . Y ou us e the same device name to extract
the data in a report.
Click on the top left-hand bu tton to view the nodes in Physical view ,
looking at the actual devices on the network. Click on the top right-hand
button to view the logical plant model created in the ICU.
2 Click on the counter/tim er node and then click OK .
Chapter 4: InterLink Module Config uration Utility (ICU)
4 - 77
W ebW are Dat a Event Editor , continued
Select the Counter/
Timer Node Name,
continued
continued on next page
St e p A c t i o n
3 The Data Event dialog will reappe ar . The figure below shows the
completed dialog.
Figure 4-55: Completed Data Event Dialog
Click OK to save the data event and cl ose the Data Event dialog.
W ebW ar e SDK User ’ s Guide
4 - 78
W ebW are Dat a Event Editor , continued
Edit an Existing
Event Expression Follow the steps below to edit an existing D ata Event expressi on.
St e p A c t i o n
1 At the InterLink Configuration Utility (ICU), select the Data Even t page
(click the button).
2 Double-click on the data event you wish to edit.
3 The Data Event dialog appears (see Figur e 4-52). Change the data in the
appropriate fields and click OK to save the revised expression.
4C l i c k :
• the top Browse button to open the Sele ct OPC Server dialog to
change the sel ected server
• the next Br owse button to open the Change T ag dialog to select a
different tag to use
• the IF list box to change the IF expression condition
• the THEN list box to change the result
• the Counter /T imer Name field to ch ange the name of the counter or
timer
• the Counter/T imer Node Name Br owse button to select a new
network counter/timer node
5 When you hav e completed your changes, click :
• OK to save the changes and re turn to the previous screen
• Cancel to close the dialog and return to the previous screen without
making any changes
• Apply to save the changes and keep the dialog open.
Chapter 5
Using the InterLink Monitor
Using the ABB InterLink Monitor
St arting the
InterLink Monito r The ABB InterLink Mon itor is a tabbed property page dialo g. The InterLink
Monitor displays the current status of all of the defined aliases and provides
a tuning interface to adjust how InterLink communicat es with each alias. A
shortcut to the InterLink Monit or can be found in the ABB Automation\
WebWare SDK\program group.
You can also double-click on the desktop icon.
The following sections describe each Monitor tab in detail.
Robot S t atus T ab This tab displays the current interface state of each of the defined aliases.
Figure 5-1: Alias S tatus T ab
continued on next page
W ebW ar e SDK User ’ s Guide
5 - 2
Using the ABB InterLink Monitor , continued
Alias St atus T ab,
continued The state columns are defined as follows:
continued on next page
Component Function
Alias Name The alias name as defined in the ICU.
S tate The current interface state. The interface state definiti ons
are as follows:
Conne cting - This si gnifies t hat InterLink is attempt ing
to establish a communications link with the robot
controller .
Running - InterLink enters this state while it has a live
communications link to the assigned robot controller .
Simulate - InterL ink is simulating th e interface to t he
robot controller .
Halted - The InterLink interface has not been started.
InterLink is placed in th is state when running the
InterLink Setup app lication. Once Inte rLink is accessed
by a client application , it transitions into the Connecting
state.
Last Poll Duration of the last po lling cycle in mill iseconds. It only
has meaning when the in terface state is Running.
Min Poll Duration of the shortest polling cycle in mi lliseconds that
has occurred since the alias transitioned into the Running
state. It only has meaning wh en the interfa ce state is
Running.
Max Poll Duration of the longest pol ling cycle in milliseconds that
has occurred since the alias transitioned into the Running
state. It only has meaning wh en the interfa ce state is
Running.
Chapter 5: Using the InterLink Monitor
5 - 3
Using the ABB InterLink Monitor , continued
T uning T ab This tab is used to tune the operation of the InterLink pollin g engine.
Changes made using this dialog are dynamic and are not saved when the
InterLink Modu le terminates. Use this dial og in conjun ction with t he Alias
Status tab and operating system performance monitori ng tools to determine
the optimum Poll Delay value for your application. Then assi gn the Poll
Delay value to the alias confi guration using th e InterLink Module
Configuration utility.
Figur e 5-2: T unin g T ab
The dialog controls ar e defined as follows:
continued on next page
Compon ent Function
Alias Used to select an alias interface for tuning.
Enable Status
Polling Used to enable /disable status polling. When disabled, InterLink
cannot generate S tat usChanged events.
Enable IO Polling Used to enable/di s play IO polling. When disabled, InterLink
cannot generate IO ev ents.
Poll Delay The time, in milliseconds, In terLink sleeps be tween poll cycles.
Apply Used to apply modified t uning values. Enabled when the
parameters in the tuning window differ from their current
settings.
Reset Used to reset the modified t uning values to the current active
settings. Onl y enabled when the parameters in the tuning
window dif fer from their current settings.
W ebW ar e SDK User ’ s Guide
5 - 4
Using the ABB InterLink Monitor , continued
W ebW are S t atus
Ta b This tab is used to display the status of the WebWare network server
Figur e 5-3: W ebW ar e S tatus T ab
This dialog displays the follow ing data:
continued on next page
Component Function
Server Address: Displays the name of the W ebW are network server
followed by the server ’ s IP address. This address is
specified using the InterL ink Module Configuration
Utility (select C onfigure W ebW are Interface under the
T ools menu).
S tatus: Displays the current W ebW are Server status.
Error Condition Displays any erro r conditions that occurred while
connecting to the W ebW are network server .
Chapter 5: Using the InterLink Monitor
5 - 5
Using the ABB InterLink Monitor , continued
OPC St atus T ab This tab is used to display the status of the activated OPC devices.
Figur e 5-4: OPC S tatus T ab
continued on next page
Scr een Component Function
OPC Name: Displays the name of the OPC Device followed by the
server ’ s IP address. This address is specified using the
InterLink Module Configurati on Utility (select Configure
W ebW are Interface under the T ools menu).
S t atus: Displays the current status of the OPC device.
T ype Displays the OPC Device type.
W ebW ar e SDK User ’ s Guide
5 - 6
Using the ABB InterLink Monitor , continued
File System St atus
Ta b This tab shows the status of activ ated WebWare File System devices.
Figure 5-5: File System S tatus T ab
continued on next page
Scr een Component Function
File Sy stem Na me: Displays the name of the File System device followed by
the server ’ s IP address. This address is specified using the
InterLink Configuration Ut ili ty (select Configure
W e bW are Interface under the T ools menu).
T ype The only availabl e file type is FTP .
Node Name Displays the W e bW are ne twork node name. This address
is specified using the Inte rLink Modu le Configuration
Utility (select Edi t Profile under the T ools menu).
Chapter 5: Using the InterLink Monitor
5 - 7
Using the ABB InterLink Monitor , continued
Backup T ab The InterLink Monitor user inte rface looks different depending upon
whether the WebWare Interface is e nab led or disabled. When the WebWare
Interface is disc onnected, a Backup tab appears, as shown below.
Figur e 5-6: InterLink Monitor Interface Differ ences
Backup T ab User
Interface
Component s
Important
This tab is visible only when the WebWare interface is disconnected.
You connect or disconnect the WebWa re Interface via the InterL ink
Configuration Utility (ICU).
This tab shows the status of robots on the ne twork, and the status of the last
backup that was started. You can b ack up all of the robots on the data
collector by checking the “All Robots” check box, or you can back up
individual robo ts by checkin g only t hose that yo u want to back up.
Each robot has its own backup directory. The system append s the computer
name of the backup computer and the ro bot name to the pat h that you
specified in the Backup Location field.
continued on next page
W ebW ar e SDK User ’ s Guide
5 - 8
Using the ABB InterLink Monitor , continued
Backup T ab,
continued When you click Start Backup , th e system deletes all fil es found in the
backup directory for each r obot, and then copies all of the files specified in
the robot profile to the directory.
Fi gu re 5-7 : Backup T ab - (W ebW are I/F Disabled)
continued on next page
Scr een Component Function
S tart Backup Click to start the backup for the selected robots.
Cancel Backup Click to cancel th e backup for the selected robots.
Destination Displays the path to the backup files for th e robot
selected in the page.
T imeout (min) Use the spin box or enter the number of minutes that the
system should attempt to comp lete a backup.
Browse... Click to open the Browse dialog to change the location
where the backup files will be stored.
V i ew Log Click to display a bac kup log for the highlighted robot
(Look at the “ROBOTB” en try in the list in the
illustration above). Y ou use the log to determine why a
backup did not complete, or to view the status messages
generated by the system.
NOTE: Logs will only be available for list e ntries that
have backups with errors. If the backup for the
highlighted robot completed without errors, or if no
backup has yet been run for the robot, no logs will exist.
Chapter 5: Using the InterLink Monitor
5 - 9
Using the ABB InterLink Monitor , continued
Local Backup s to
Network Drives When Interlink.exe is regi stered as a services it runs using the “Local
System” account. Performing a local back up to a network drive with this
configuration often causes the backup to fail.
To allow backups to network drives interlink.exe (wh en registered as a
service) needs to be registered to start as a specific user. This user must have
privileges to the drive/share the backup is destined for.
For complete details on setting up InterLink to run as a service and making
changes to its user identity, see “R unning InterLink as a Service” on page D
- 1.
Underst anding and Optimizing the Polling Engine
Overview InterLink has a built-in p olling engine t hat communicates co ntinuously wi th
the robot controller. It does this to determine the state of the communication
link, the current state of all the digital signals defined in th e robot control,
the current state of all subscribed anal og signal values, and the current state
of all subscribed variable valu es.
InterLink creates a poll ing thread for each alia s. Each polling thread
maintains a state database containing th e status of the communications link,
the state of the robot controller, the curr ent setting s of all digital sign als, and
the current values for all subscrib ed analog and variable values.
When the InterLink client applicatio n needs to access a piece of information
stored in the state database, no direct comm unication with the robot control
is needed. Instead, the InterLink Module returns the current value contained
in the InterLink state database. This feature mi nimizes the time required for
a client application to access any of th e state data. Even though the client
application accesses this data quickly, the age of the data can be up to the
duration of the polling cycl e used to obtain the data. In client applications
that display the state database change s in real-time, a long polling cycle
makes the display app ear to lag behind the actual state of th e robot control. If
the time to perform a polling cycle is redu ced, the display appears more
responsive.
continued on next page
W ebW ar e SDK User ’ s Guide
5 - 10
Underst anding and Optimizing the Polling Engine, continued
Polling Engine
St ates When the polling engine is ru nning, it transitions through several states. The
current state is stored in a property called InterfaceState. Each of the
products that utilize the ABB InterLink Module returns the values of th is
state through a product specific me thod. The co mmon values for th is
property are as follows:
• Halted – The polling eng ine has not been started. The polling engine
remains in this state for a brief amount of time during startup. Halted is
the initial state of th e polling engi ne. The polling engine transitions
from this state to th e Connecting state. When the polling engine is
halted, the InterfaceS tate proper ty is set to halted (4).
• Connecting - The polling engin e is attempting to esta blish a working
connection w ith the target robot cont ro l. It continues tr ying to create a
connection until a connection is made or it is shut dow n. Once a suc-
cessful connection has been establishe d, the engine moves into t he Run-
ning state. While the polling eng ine is connecting, the InterLink
InterfaceS tate property is set to disconnected (0).
• Running - The primary working state of the polling engine; the polling
cycle is executed continuously . The polling engine remains in th is state
until the connection to th e robot is broken or the polling engi ne is shut
down. If the connection to the robot is lost, the polling engine reverts
back to the Connecting state. When the polli ng engine is in the Running
state, the InterLink InterfaceS tate property is set to connected (1).
• Simula tion - The only valid st ate when simulation mode is enabled.
This mode is enabled for aliases using the InterLink Setup utility . In this
state, InterLink maintains a stat e database that is used to simulate the
actual robot. All digital sig nals can be read or written in this state and
the polling engine rem embers the values written. InterLink does not
cache subscribed analog signal and vari able values in this state. When
the polling eng ine is in th is state, the InterLink InterfaceS tate prop erty
is set to simulated (2).
continued on next page
Chapter 5: Using the InterLink Monitor
5 - 1 1
Underst anding and Optimizing the Polling Engi ne, continued
Anatomy of the
Polling Cycle In order to optimize poll ing, you first need to understand the polling cycle.
The polling engine performs the following functions in each cycle.
• Obtains new values from the robot controller for the Operational State,
Control S t ate, Program S tate, and Program Controller S t ate variables.
• Reads the current value of all the di gital sign als defined in the I/O con-
figuration file. The I/O configuration file is assigned using the Profil e
Editor in t he InterLink Modul e Configuratio n utility .
• Checks to see if there has been a change in the analog and variable event
subscription list. If a chan ge has been made, a new p olling variable p age
definition is gen erated.
• Performs a variable page read contai ning all of the analog and variable
values that have outst anding event subscrip tions.
• If the Ramdisk Mirroring is enab led, the Ramdisk state en gine performs
one robot access call to obtain the la te st information on any changes to
the robot’ s ramdisk. Any changes will be reflected in the local Ramdisk
mirror as well as the W ebW are network server ’ s Ramdisk mirror .
• If a backup is in progress, it attempts to perform the next backup task
item. The backup task list comes from the config uration set on the ICU
Backup Set property page.
• Suspends th e polling engin e for the currently active po ll delay durati on
to limit the impact of the poll ing engine on system performance. The
poll delay value is defined as part of th e alias’ s Profile. It can also be
dynamically modi fied using the ABB InterLink S tatus Monitor tun ing
page.
The time to perform each poll cycle is proportional to the numbe r of
communication requests required to ob tain the information and the amount
of data needed to convey the info rmation. The time to obtain the state
information is fixed and cannot be o ptimized. Most polling time is consumed
by reading the value of digital sign als, analog signal s, and variables.
The polling engine uses the I/O configuratio n file to determine the
configuration of t he robot controller’s digital signals. If this file is missing o r
corrupted, I/O polling is disabled and the po lling cycle time is minim ized,
but InterLink applications are unable to access any digital signals on the
robot controller. For applications that have no need to access digital signals,
I/O polling can be disab led altogether by omitt ing the IO configuration file.
continued on next page
W ebW ar e SDK User ’ s Guide
5 - 12
Underst anding and Optimizing the Polling Engine, continued
Anatomy of the
Polling Cycle,
continued
If the I/O configuratio n file does not correctly match the confi guration on the
robot controller, th e I/O polling engine au tomati cally reduces the digital
signal polling l ist to the com mon signals found in both the I/ O configuratio n
file supplied to In terLink and the actua l I/O configuratio n in the robot
controller.
If InterLink is unable to read any subs cribed analog or variable information,
it deactivates these subscriptions.
Periodically, the polling engi ne attempts to read those digi tal signals, analog
signals, and variables that have been deactivated. When a su bscribed item is
once again available, InterLink reactivat es polling of that item and generates
the appropriate events.
Configuring the
Polling Cycle There are three distinct methods of altering and configuring the polling
cycle.
St atic Polling Cycle
Configuratio n The Profile Edito r in the InterLink Module Configuration utility can be used
to modify the polling cycle paramete rs using the Interface property page.
Please refer to the Profile Editor section of t he Inte rLink Configurat ion
Utility ch apter for detailed information on pro files.
Dynamic Polling
Cycle Configuration The polling cycle can be adjusted dynamically using the ABB InterLink
Status Monitor's tuning dialog. This is described in the Using the ABB
InterLink Mo nitor section of this chapter.
Measuring th e
Polling Cycle
Perform ance
Use the ABB InterLink Status Moni tor to measure the polling cycle
performance. Th e monitor disp lays the poll ing cycle time i n millisecon ds on
the Alias Status tab. To calculate th e polling frequency, a dd the configured
poll delay value to the polling cycle ti me. Ideally, for a user interface that
displays real time information, the pol ling engine should be configured to
read data one or more times a second.
If the robot controller is polled to o often, it adversely effect s the
responsiveness of the robot's teach pende nt interface. If this happens,
increase the configured poll delay time to strike an acceptable balance
between your client application an d the controller's teach pendant.
continued on next page
Chapter 5: Using the InterLink Monitor
5 - 13
Underst anding and Optimizing the Polling Engine, continued
Optimizing the
Polling Cycle Several strategies fo r optimizing poll ing time exist. None are difficult to
implement, but all are depend ent on the structure of the robot RAPID
programs, the IO configuration file, and the client applicatio n. If the
interface to the robot controller is strictly for monitoring the status of the
controller, you may have no need to optimize the polling cycle.
If the cycle time of the RAPID program is affected by the PC application,
minimizing t he polling time wi ll limit t he impact on cycle tim e. This may be
the case when the client application is pa rt of the robot process, for example,
the PC incorporates a vision system interface that is used by the RAPID
program to find a part.
The following sections discuss different strat egies for minimizing polling time.
Optimizing the I/O
Polling List There is an alias configuration option called Aut omatic Poll List
Optimization . This option is selected o n the Profile Edit or’s Interface
property page. The Profile Editor is part of the InterLink Modul e
Configuration utility. This option instructs In terLink to calculate and use the
minimum su bset of digital grou ps and signals to obtai n values for all of the
groups and signals defined in the I/O configurat ion file.
To take advantage of this feature, you need to define I/O signal groups, each
containing 16 signals, th at include all the I/O sign als of interest to yo ur
application. If yo u do not supply t hese group definiti ons, InterLink is no t
able to optimize the signal pol ling list.
continued on next page
W ebW ar e SDK User ’ s Guide
5 - 14
Underst anding and Optimizing the Polling Engine, continued
Optimizing the I/O
Polling List,
continued
There is a dialog supplied in t he InterLink Mo dule Configurat ion utilit y that
will analyze an I/O configuration file to determine how successfully
InterLink can redu ce the polling li st length. To invoke th is utility, start the
InterLink Module Configu ration utilit y, click on the tools menu, and select
the Analyze IO Confi guration File Tool. Please refer to the Analyze IO
Configuratio n File section of t he InterLink Module Co nfiguration chapter
for detailed information on starting the Analyze IO utilit y.
After you select the tool, the applicat ion presents a “file open” dialog. Use
the file open dialog to locate the I/O c onfiguration file to be anal yzed, and
then click Open . The Int erLink ModuleConfigu ration utili ty analyzes the
selected configuration file and pr esents the followi ng summary dialog.
Figur e 5-8: I/O Configur ati on Analysis Summary Dialog
continued on next page
Chapter 5: Using the InterLink Monitor
5 - 15
Underst anding and Optimizing the Polling Engine, continued
Optimizing the I/O
Polling List,
continued
The dialog displays all of the key statistics of the I/O configuration file, the
current calculated Poll List Length, and an ideal Poll List Length that
assumes all of the necessary group defi nitions have been added to the file.
The summary dialog also includes a list of all of the signals not covered by a
group definition. Use this info rmation to add add itional groups th at overlap
the uncovered signals.
To achieve the optimal sig nal list, the Poll List Length should b e less than or
equal to the calculated Ideal List Length and all signals should be covered by
a group defi nition.
Screen
Component s The table below defines the screen componen ts for the IO Configuration File
Analysis dialog.
Component Description
Disable Polling of
Simulated I/O Boa rds Many RAPID programs use simulated I/O boards to
exchange information with background tasks. If the
contents of these simulated boards are not needed by the
client application, you ca n disable polling of this
information in the Profile Editor ’ s Interface property
page.
The magnitude of the improvement from this
optimization depends on the I/O configuration. If no
simulated boards are defined in the robot, nothing is
gained.
Reduce Number of
Polled Signals The InterLink pollin g engine uses the I /O configuration
file assi gned to the al ias to build a signal list. Y ou can ed it
the I/O configuration file to elim inate signals not required
by the InterLink application. Y our application will only
be able to acces s the signal s defined in the configuration
file
W ebW ar e SDK User ’ s Guide
5 - 16
File Date/T ime S t amp Process
Dat a Collector/
Robot Clock
Synchronization
Users may some times be confused b y th e fact that files backed up from the
robot into the b ackup folder o n the WebWare network server may have a
different time or date than the folder name itself. WebWare Server can be set
up to automatically synchron ize clocks between the data collector (DC)
computer and the robots connected to that DC and Robots. The clock
synchronization function i s triggered whenever the robot conn ects to
InterLink and on a hard coded period base (o nce every five minutes) after
the initial connect ion. If the robot cont roller real time cloc k differs from the
DC computer clock setting by more than one second, InterLink resets the
robot contro ller clock val ue to ma tch the DC's current clock time.
You enable or disable the clock synchronization function using the ICU
Profile Editor user interface. The default state for this function is disabled. If
the clock synchroni zation feature is disabled, InterLin k does not poll the
robot controller’s clock value, and will not make any changes to the clock
value.
Monitoring InterLink St ate From a Program
Introducti on Imagin e the following sit uation. You’ve developed an appl ication using the
ABB Robotics OPC Server, and it work s great in simulation mode. Now,
you modify the alias properties (i.e., Profi le) using the InterLink Modu le
Configuration utility, try to attach to a live robot, an d nothing happens. The
robot config uration is val id, and you can PING t he robot; so you k now the
TCP/IP interface is alive and well. What do you do next?
The ABB Robotics OPC Server provides a single data item that can be used
to track the robot‘s interface state. Th e Helper control also provides access to
this property. The OPC item is as follows:
InterfaceSt ate This item name is formed using th e following syntax:
AliasName .InterfaceState
Where AliasName is the name as sociated with the target robot using the
InterLink Modu le Configuration utilit y.
When an InterLink applicat ion is run ning, this integer state variable is
constantly updated with th e current interface status. Th is value represents the
state of the connection between the robot controller and the InterLink
module. The status valu es presented by this data item are:
continued on next page
Chapter 5: Using the InterLink Monitor
5 - 17
Monitoring InterLink S t ate From a Program, c ontinued
Interface St ate,
continued 0 - The interface to the S4 controller is disconnected and non-functional.
This means that the alias has been co nfigured properly, but InterLink has
been unable to connect to the robot controll er. If this persists, verify the
address assigned to the alias in InterLink Module Con figuration utility.
1 - The interface to the S4 controller is operational. InterL ink has been able
to successfully connect to the robot controller. The communication link is
alive and well. One problem that may occur is an I/O configuration file
mismatch. If the I/O configuration file in the robot is different from the I/O
configuration file assigned to the alias’s Profile, y ou will not b e able to read
or write all o f the di gital si gnals.
2 - The interface to the S4 controller is simulated. You must use the Profile
Editor included with the InterLink Module Configuration utility to disable
simulation. Once simulati on has been turned off, InterLink will attempt to
connect to the robot controller.
3 - The selected S4 controller has no t been added to the alia s list. This
indicates either a programmi ng problem or an InterLink Modu le
Configuration problem. You m ay want to add a dialog to yo ur application to
anticipate and handle this state. It sh ould instruct the user to add and
configure the required alias using the InterLink Module Configuration
utility.
4 – The interface to the S4 controller is halted. This only occurs for a brief
moment at st artup. Norm ally this stat e is not seen by the client application.
This property should never have any other value. If it does, something
catastrophic has happened and the appli cation should treat the state value as
if it were a configuration error.
W ebW ar e SDK User ’ s Guide
5 - 18
This Page Intentionally Left Blank
Chapter 6
Using W ebW are ActiveX Controls
Basic Concept s
ActiveX Controls The WebWare ActiveX Control Library is a collection of ActiveX Custom
Control s used by placing one o r more of these ActiveXs in a Visual Basic
form or a C++ dialog. You configure the behavior of each ActiveX by
setting properties of the ActiveX Control. Each of the WebW are ActiveXs
exposes properties on custom property pages. The ActiveX properti es may
also be edited using the property editor of your design envi ronment.
The ActiveXs also have ext ensive built-in help features. In Visual Basic you
can obtain help on any method or pro perty using the Object Browser. In
Visual C++, use the Component Gallery.
Robot Addressing Every WebWare ActiveX Control includes a Robo t property. This property
identifies which robot “ali as” is linked to the ActiveX. Inte rLink uses aliases
to identify specific robot con trollers.
The InterLink Module Confi guration util ity is used to configure h ow the
alias should operate. Without changing the application, the InterLink
Module Configuration ut ility can be used to modify the follo wing alias
attributes.
• Network address
• Robot I/O co nfiguration file
• Enable/disabl e simulatio n mode
• Digital signal pollin g mechanism
When any alias property is changed usin g the InterLink Modu le
Configuration utility, the communication li nk to the associated alias is shut
down and recreated using the new property settings. If a client appli cation is
running when the alias at tributes are changed, each of the WebWare
ActiveX Controls in the application are automatically reset to reflect the new
alias configuration.
continued on next page
W ebW ar e SDK User ’ s Guide
6 - 2
Basic Concept s, c ontinued
Robot Addressing,
continued The selection of the alias name for a robot is important. Every control used
to communicate with a robo t, uses the specified alias name. “S4” is the Alias
name used by the sample applicat ion included with the WebWare SDK.
In some cases, two client applicatio ns may communicate to the same robot
using different Alias names, however, this practice is not recommended due
to the resulting additional com munication overhead required to create and
maintain two interfaces to the s ame robot controller.
For these situation s, the InterLink Module suppo rts a special type of rob ot
alias called a “Linked Alias”. A Linked Alias appears to the application as a
normal InterLink Alias, bu t a Linked Alias is associated with another
InterLink Alias when creat ed. This mechanism allows two different Alias
names to share a common communication interface.
Network Address
Resolution When the InterLink Module attempts to communicate with a robot
controller, it need s to know either the host name or the IP address assigned
to the robot controller.
Administration of TCP/ IP addresses and host names can be sophisticated.
The simplest approach is to place the hos t names and addresses in a local
“hosts” file stored on the PC. The fi le name is “host s,” and its location
depends on your operating syst em. The InterLink Mod ule Configurat ion
utility uses the hosts file to prov ide a list of host names known to the local
PC and provides method s to add, modify, and delet e host names in this file.
More advanced methods are available within newer operating systems for
the management of TCP/IP host names and addresses. Two of the m ethods
are Domain Name Service(DNS) and Windows Internet Name
Service(WINS). Refer to your operat ing system documen tation for complete
descriptions of how to setup and use these services . If you prefer, you can
use either of these mechanisms instead of the “hosts” file.
No matter which name resolut ion scheme you use, the best way to det ermine
if InterLink will be able to communicate with a specific host name is to use
the PING utility to ve rify that the host name is valid. If you can PING a
robot, In terLink shoul d be able to communicate with it . PING is a utility
included in y our operating system and can be executed i n a DOS window.
Chapter 6: Using W ebW ar e ActiveX Contr ols
6 - 3
Developing Y our Application
Introducti on When develop ing your ap plication, it is best to keep ActiveX instances
together with the application dialogs w here they are us ed, so the resulting
application is easier to maintain an d understand. For i nstance, if a dialog box
or form needs to track the state of a robot, use a Helper ActiveX Control
placed on the form to obtain the informat ion. It is muc h easier to add another
ActiveX control instance rat her than trying to main tain a single, global
ActiveX contro l used through out the appli cation. This practice produces
more portable code; a single dialog or form can be more easi ly moved
between applications.
It can also be useful to add multiple Helper ActiveX Co ntrols to a single
form. For exam ple, you mi ght use one Helper ActiveX Control to track the
state of a process and another to tr ack the s tate of the production line
interface. You could manage with one ActiveX Control, but using two
instances may be more logical and therefore easier to mainta in.
There is no limit on the number of applicati ons that can be running
concurrently. In many cases, sev eral sma ll ap plications may be better than a
single large app lication. Smaller appli cations can be much easier to support
and main tain.
W ebW are ActiveX
Control
Initialization
When using the WebWare Ac tiveX Contro l events to drive an application
display, no special code is needed to initialize th e display. When any
WebWare ActiveX Control is activated , it immediately fires all enabled
status and information events, min imizing your initializat ion code.
This feature adds overhead to the in itialization process and slows dow n the
startup of an application. All of these events can be selectively enabled and
disabled using the ActiveX Control’s properti es. You should only enable th e
events your application needs.
T r acking the S tate
of the Interface Imagine the following situation. Y ou’ve developed an application, an d it
works great in simulation m ode. Now, you mo dify the alias propert ies using
the InterLink Module Configurat ion utility, try to attach to a live robot, and
nothing happens. The robot configuration is vali d, and you can PING the
robot; so you kno w the TCP/IP interface is aliv e and well. What do you do
next?
Two mechanisms in the Helper ActiveX Control provide an excellent m eans
of tracking the robot’s interface state.
continued on next page
W ebW ar e SDK User ’ s Guide
6 - 4
Developing Y our Application, conti nued
InterfaceSt ate
Property When an applicati on is running, this integer state variabl e is constantly
updated with the current interface status. The status values presented by this
property are:
0 - The interface to the S4 controller is disconnected and non-functional.
This means that the alias has been co nfigured properly, but the InterLink
Module has been unable to connect to the robot con troller. If this persists,
verify the address assigned to the alias using the InterLink Module
Configuration utility.
1 - The interface to the S4 controller is operational. The Inte rLink Module
has been able to successfully conn ect to the robot controller. The
communication link is alive and well. On e problem that may occur is an I/O
configuration file mism atch . If the I/O configuratio n file in the robot is
different from the I/O configuration fi le assigned to the al ias, you will no t be
able to read or write all of the digital signals. This can result in Pilot Li ght
ActiveX Control not functi oning or Button ActiveX Cont rol automatically
disabli ng themselves.
2 - The interface to the S4 controlle r is simulated. You must use the
InterLink Modu le Configuration utility to di sable simulation. Once
simulation has been turn ed off, the InterLink M odule will attempt to connect
to the robot controller.
3 - The selected S4 controller has no t been added to the ali as list. This
indicates either a programmi ng problem or an InterLink configurati on
problem. You m ay want to add a dialog to y our application to ant icipate and
handle this state. It should i nstruct th e user to add and configure the required
alias using the InterLink Modul e Configuration utility.
4 – The interface to the S4 controller is halted. This only occurs for a brief
moment at st artup. Normally this stat e is not seen by the client application.
7 - InterLink has not been abl e to locate a valid license to allow it to
communicate with the robot controll er. In this case, you need to run the
InterLink Module Configur ation to insure tha t th e necessary licenses have
been applied.
This property should never have any other value. If it does, something
catastrophic has happened and the appli cation should treat the state value as
if it were a configuration error.
continued on next page
Chapter 6: Using W ebW ar e ActiveX Contr ols
6 - 5
Developing Y our Application, continued
St atusChanged
Event One problem with using the InterfaceState property is that you must decide
when to read it, and the la st thing you want to do in an event-driven
application is poll a variable to find out when it changes. To resolve this
problem, use th e StatusCh anged event in the Helper ActiveX Control. This
event is fired for every significant ch ange in the communication link st ate.
This event can be enabled in the Helper ActiveX Control’s General property
page. It is fired once when the appl ication starts to provide an ini tial status
and fired again each time one of the se lected status values changes. When
the communication lin k is down, status values are all zero. Anytime a status
value changes from zero to non-zero , the communicat ion link has been
restarted. Following is a list of things you should do when the
communication li nk is establishe d.
• Check for simulated or live c ommunication - Y ou probab ly want to
display somethin g on your screen noting the simulation mo de; other-
wise, an operator migh t wonder why the robot doesn’t respond to com-
mands.
• Update digital si gnal names - If you are usin g digital I/O signal names
in an application, you should refresh your list of signal names each time
the comm unication link i s restarted. The IO configu ration file may have
changed.
• Refr esh contr oller ID and version fields - Many applications display
the Helper ActiveX Control’ s BootV ersion , ControlID , RAPV ersion ,
SysV ersion , and TPUV ersion property valu es to identify the robot con-
troller . The values in these fields are obtained from th e robot when the
communication li nk is establishe d, so they should be refreshed when-
ever the communica tion link comes up.
When any of the status event values are set to zero, the communication link
has gone down. Following are actions your appl ication should take.
• Check the InterfaceS tate property - If the InterfaceS tate property i s
set to 3, you need to tell the user t hat the alias is not configured properly .
• Notify the user – The InterLink Module automa tically disab les all Pilot
Light, Button, and Label ActiveX Controls. Make a visible change in
the user interface to indicate the state of the communication link.
W ebW ar e SDK User ’ s Guide
6 - 6
Using The V irtual Controller to T est InterLink Applications
Introducti on The ABB Virtual Controller represen ts the ideal InterLink development
environment, by providing the application dev eloper with an offline test an d
debug environment. The WebWare SDK includes the Virtual Con troller
application that supports the same co mmunication interface as the real S4
robot con troller.
The Virtual Controller IO Simul ator component utilizes an In terLink alias
named “S4VIRTCTRL.” This a lias uses a special interface called the S4
Virtual Controller inte rface. The S4 Virtua l Controller interface is a subset of
the standard RA P communications inter face that is based on COM. Th is IO
Simulator uses this int erface because the interface does not requi re an installed
TCP/IP stack. The S4 Virtual Controller interface should not be used to
develop and test Int erLink client application s, because it only support s a small
subset of all of the features supported by the stand ard interface.
To develop and test InterLin k client applications using the Virtu al
Controller, you need to define an Inte rLink alias that communicates with the
Virtual Controller using the sta ndard RAP communications interface.
Creating Alias
Names To create your own alias name fo r use with the Virtual Controller, follo w
these steps:
V irtual Controller
Limit s The ABB Virtu al Controller does not support multi ple RAP communication
clients. Attempt ing to define more than one Int erLink alias that is attached to
the Virtual Control ler produces unpredictab le results. If you need to define
additional aliases to perform a test, create the additional alias names as
“Linked Aliases” u sing the InterLink Mod ule Configuration utility.
St e p A c t i o n
1 Run the InterLink Module Conf iguration uti lity and click Add New
Alias button.
2 Enter your new alias name a nd set the network address to “127.0.0.1” .
3C l i c k Properties .
4 On the Interface dialog page, de-select “Simulate the interface to the
r obot contr ol?”
5 On the I/O Config File dialog page, se lect the I/O c onfiguration file that
is loaded in the ABB V irtual Control ler .
6C l i c k OK to apply the configuration.
Chapter 6: Using W ebW ar e ActiveX Contr ols
6 - 7
Using the ABB InterLink Monitor
Introducti on The ABB InterLink Monitor is a tabbed prop erty page dialog presented by
the InterLink Module. The InterLink Monito r displays the current status of
all of the defined aliases and provide s a tuning interface to adjust how
InterLink communicates with e ach alias. Please refer to the Using the ABB
InterLink Mo nitor section for detai led information on the ABB Inte rLink
Monitor.
Delivering An InterLink Application
Development Tip s When you have completed your appli cation, you may need to tran sfer your
application to another machine. The Int erLink Module consists of m any
files, and you will need to fi rst install th e InterLink Module on th e target
machine. Then install your application separately.
When creating your own applicati on installation di sks, exclude the
WebWare ActiveX Li brary file, “rimbase.ocx,” from your installation
program. This file is version dependent and needs to be registered by the
InterLink Modu le installation in order to function properly.
The WebWare SDK comes with a separate installation pro gram to install the
InterLink Module. Refer to the InterLink Module In stallation docume nt for
further detai ls.
Advanced Programming T opics
Servicing Robot
Log Event s The Helper ActiveX Control can fire an event whenever the robot sends a
log event spontaneous mes sage. The l og event information includes the log,
log type, log number, and a text st ring describing the event. Th e generation
of log events is enabled in the Helper ActiveX Control’s Ge neral p roperty
page.
The InterLink Module uses this same event mechan ism to report InterLink
error events and application error event s. A method within the Help er
ActiveX Control, called AppLog, can be used to generate application event
log messages. Thus, y our application can present all error messages in a
common manner.
continued on next page
W ebW ar e SDK User ’ s Guide
6 - 8
Advanced Programming T opics, continu ed
Using the InterLink
Module for Inter-
Process
Communication
The InterLink Module is aware of a ll executing InterLink applications.
Often, an application needs to co mmunicate information to another
application asynchronously. You can use the InterLink AppLog method for
inter-process communication.
To do this, place a Helper ActiveX C ontrol on each form that needs to
receive information and enable the firi ng of PC applicat ion events on each
Helper ActiveX Control’s General property page. Then use the AppLog
method to send messages to the recei ving application. When the AppLog
method is called, it will generate a PC application event on each Helper
ActiveX Control that has th e application event enabled. Send your m essages
using the parame ters of the AppLog met hod. Then, in t he event code you can
decode messages and respond accordingly .
Asynchronous
Event Notifications The InterLink Module utili zes the S4 RAP protocol to commu nicate with the
robot contro ller. Each of th e functions con tained in the RAP protocol i s
synchronous and can take several hundred milli seconds to execute over a
serial connection. During this delay, your appli cation will be unable to
perform other work while wait ing for the RAP function to be execut ed.
The InterLink Module provides a mechani sm to enable background
execution of RAP functions, releasing the user application to perform other
tasks. To enable this mechanism, a background thread is created for each
alias. All RAP function requ ests are queu ed for sequential execution by this
thread. When each request is completed, the result is sent to the requesting
ActiveX control.
Event Notifications This mechanism allows an Button ActiveX Control to m odify a digital signal
without pausing the appl ication. The button queues a write request and an
IOChanged event is then generat ed by the polling engine to updat e the
button display. The Button Acti veX Control ignores the status of the wri te
request, relying instead on the pollin g engine to update the state of the button
display. The result is a more responsive user interface.
Result
Sp ecifications Applicat ions can take advantage of the asynchronous event notifi cation
feature by setting the Resul tSpec parameter provided in t he Helper ActiveX
Control methods. This is an inte ger parameter included in all of th e Helper
ActiveX Control meth ods that suppor t asynchronous ev ent notificatio n.
continued on next page
Chapter 6: Using W ebW ar e ActiveX Contr ols
6 - 9
Advanced Programming T opics, continued
Result
Sp ecifications,
continued
The supported values are:
0 - NO_NOTIFY : The function immediately returns to the caller after the
request is queued, and no result is retu rned to the caller when the function is
executed.
1 - NOTIFY_IF_ERROR: The function imme diatel y returns to the caller
after the request is queued, and a RequestCom plete event is triggered only
if the function en counters an error durin g execution.
2 - NOTIFY : The function immedi ately returns to the caller after the request
is queued, and a RequestComplete event is triggered when the request is
completed .
3 - WAIT : The function does no t return contro l to the caller unti l the request
is complete. This value shou ld be used when execution order is important or
when the timing of seve ral requests n eeds to be controlled, for example,
when perform ing a spot weld.
Adding On-Line
Help to a T ouch-
Screen
Every application needs to have some sort of on-line help system. The
windows env ironment provid es a robust help mechani sm.
In touch-screen applications, the standard help interface is difficult to use. With a
touch-screen interface, no keyboard is av ailable and the user interface is not
“touch-friendly” because targets are too small. InterLink provides help support
for this environment in the Helper, Button, and Label ActiveX Controls.
The Helper ActiveX Control contai ns a Boolean property called Help On .
When HelpOn is set to TRUE, all Button ActiveX Controls fire the
HelpEvent in response to a single mouse click rather than a Click event.
If no code is provided in th e HelpEvent when it is fir ed, the Butt on ActiveX
Control n otifies all Helper ActiveX Cont rols that in turn fire th e
HelpNotSupported event.
The strategy for using the HelpEvent and HelpNotSupported events is
simple. Add code to each Hel pEvent to display the help text associated with
a button. Then enable the HelpNotSupported event on only one Helper
ActiveX Control. In this HelpNotSupported event, the programmer
displays something on the screen to tell the user no help is availab le for that
button. The program mer shoul d also pr ovide an on-screen mechanism to
enable/disable help by toggling the HelpOn property.
When the user enables help, all button c lick events then result in an on-line
help message. If no help is available fo r a particular button, the user receives
the message displayed by the HelpNotSupported event. The user then
restores button Click events by disabling hel p.
W ebW ar e SDK User ’ s Guide
6 - 10
This Page Intentionally Left Blank
Chapter 7
Helper Control and HelperScript Object
Overview
Helper Control The Helper control is an invi sible cust om control us ed to communi cate with
an ABB robot controller. Each insta nce of the contro l communicates with a
single robot. The Helper control pro vides the functional ity of the S4 control
RAP interface in a simple, easy-to-use format.
You can have on e or more Helper controls i n a program. The control
properties should be set up us ing the cu stom property dialog pages. These
dialogs provide optimal m echanisms for configuring the operation of the
control.
HelperScript Object The ABB HelperScript Object is also used to communi cate with an AB B
robot controller, usi ng either VBScript or JScrip t, in much t he same way as
the Helper Control.
All ABB Helper Control properties are scriptable, and are available to the
HelperScript Object, with the exception of the GetScript() property. Refer to
the Helper Control chapter fo r a complete list of prop erties applicable to the
HelperScript Object.
Events are not supporte d by the HelperSc ript Object. Use the Helper Control
to manage events.
The following Helper Con trol methods are not scriptable:
continued on next page
• S4BoardAddress Method • S4ModeGet Method
• S4BoardConfig Method • S 4ProgramDelete Method
• S4BoardConfigEx Method • S4ProgramLoad Method
• S4ContactName Method
W ebW ar e SDK User ’ s Guide
7 - 2
Overview , continued
Chapter Content s All of the information in this chapter is grouped by prop erties, methods,
events and property pages that pertain to this control. The table below list s
the starting page for each section.
Properties
AliasList Property
Introducti on This is a read-only Stri ng array property that contains the list of configured
Alias names.
Synt ax object . AliasList ( index )
The AliasList property synt ax has these parts:
Remarks This property is only accessible at run- time. If an attempt is made to access a
list entry out of range, an empty string is returned.
T opic See Page
Properties 7 - 2
Methods 7 - 32
Events 7 - 90
Property Pages 7 - 102
Part Description
object An object expression that evaluates to a Helper control.
index This is the list index to be accessed. V alid index values
range from zero to AliasListCount - one.
Chapter 7: Helper Contr ol and HelperSc ript Object
7 - 3
AliasListCount Pr operty
Introducti on This is a read-only Integer propert y th at contains the numb er of configured
InterLink Ali as names.
Synt ax object . AliasListCount
The object expression evaluates to a Helper control.
Remarks This property is only accessible at run-time.
AnalogEventList Property
Introducti on This is a read-only object propert y that returns a reference to the
S4SignalSubscriptionList object that encaps ulates the analog event list.
This object is used to dynamically modi fy the analog event list. The analog
event list identifies the signals th at are monitored by InterLink to generate
AnalogChanged events for the Helper control instance.
Synt ax object . AnalogEventList
The object expression evaluates to a Helper control.
Remarks The initial values for this object ar e assigned using the Helper control
Analog Property Page while the program is being developed. In most cases
all of the signals to be monitored are known at design time and this object
does not need to be referenced. This object should only be used in programs
that need to select signals to be monitored whi le the application is running .
This property is only accessible at run-time.
W ebW ar e SDK User ’ s Guide
7 - 4
BoardAnalogNumInput s Pr operty
Introducti on This is a read-only In teger array property that contains the number of analog
inputs for each board.
Synt ax object . BoardAnalogNumInputs ( BoardIndex As Integer ) As Integer
The BoardAnalogNumInpu ts property syntax has these parts:
Remarks If an attempt is made to access an analog input th at does not exist on the
board, the program will return 0.
BoardAnalogNumOutput s Property
Introducti on This is a read-only In teger array property that contains the number of analog
outputs for each board.
Synt ax object . BoardAnalogNumOutputs ( Boar dIndex As Integer ) As Integer
The BoardA nalogNumOu tputs pr op erty syntax has these parts:
Remarks If an attempt is made to access a list entry out of range, 0 is returned.
Part Description
object An object expression that evaluates to a Helper control.
index This is the list index t o be accessed. V alid index values
range from zero to the number of boards - one.
Part Description
object An object expression that evaluates to a Helper control.
index This is the list index t o be accessed. V alid index values
range from zero to the number of boards - one.
Chapter 7: Helper Contr ol and HelperSc ript Object
7 - 5
BoardBus Property
Introducti on This is a read-onl y Integer array property that contains the S4 board bus type
for each board.
Synt ax object . BoardBus ( BoardIndex As Integer ) As Integer
The BoardBus property syntax has these parts:
Settings The bus variable definitions are as fol lows:
Remarks If an attempt is made to access a list entry out of range, -1 is returned.
Part Description
object An object expression that evaluates to a Helper control.
index This is the list index to be accessed. V alid index values
range from zero to the number of boards - one.
V alue Description
0 SIM bus that contains S4 simulation boards.
1 BAS bus that contains S4 I/O boards.
-1 Bus does not exist.
W ebW ar e SDK User ’ s Guide
7 - 6
BoardDigit alNumInput s Property
Introducti on This read-only pro perty represents the number of inputs as an integer.
Synt ax object . BoardDigitalNumInputs ( BoardIndex As Integer ) As Integer
The BoardDigitalN umInputs prop erty syntax has these parts:
Remarks If an attempt is made to access a board that does not exist, the program
returns 0.
BoardDigit alNumOutput s Propert y
Introducti on This read-only pro perty represents the number of outputs as an integ er.
Synt ax object . BoardDigitalNumOutputs ( BoardIndex As Integer ) As Integer
The BoardDigitalN umOutputs property syntax has these parts:
Remarks If an attempt is made to access a board that does not exist, the program
returns 0.
Part Description
object An object expression that evaluates to a Helper control.
index This is the list index t o be accessed. V alid index values
range from zero to the number of boards - one.
Part Description
object An object expression that evaluates to a Helper control.
index This is the list index t o be accessed. V alid index values
range from zero to the number of boards - one.
Chapter 7: Helper Contr ol and HelperSc ript Object
7 - 7
BoardGroupNumInput s Property
Introducti on This is a read-only Integer array pro perty that contains th e number of Grou p
inputs for each board.
Synt ax object . BoardGroupNumInputs ( BoardIndex As Integer ) As Integer
The BoardGroupNumInp uts property sy ntax has these parts:
Remarks If an attempt is made to access an i nput grou p that does not exist, the
program will return 0.
BoardGroupNumOutput s Property
Introducti on This is a read-only Integer array pro perty that contains th e number of Grou p
outputs for each board.
Synt ax object . BoardGroupNumOutputs ( BoardIndex As Integ er ) As Integer
The BoardGroupN umOutputs pro perty syntax has these parts:
Remarks If an attempt is made to access a list entry out of range, 0 is returned.
Part Description
object An object expression that evaluates to a Helper control.
index This is the list index to be accessed. V alid index values
range from zero to the number of boards - one.
Part Description
object An object expression that evaluates to a Helper control.
index This is the list index to be accessed. V alid index values
range from zero to the number of boards - one.
W ebW ar e SDK User ’ s Guide
7 - 8
BoardIndex Property
Introducti on This is a read-only Integer propert y that contains the board index of a board
according to its name.
Synt ax object . BoardIndex ( BoardNa me As String ) As Integer
The object expression evaluates to a Helper control.
The BoardIndex pr operty syntax ha s these parts:
Remarks If an attempt is ma de to access a board that does not exist, -1 is returned.
BoardIndex Property
Introducti on This is a read-only Integer propert y that contains the board index of a board
according to its name.
Synt ax object . BoardIndex ( name )
The BoardIndex property syntax has these parts:
Remarks If an attempt is ma de to access a board which does not exist, -1 is returned.
Part Description
object An object expression that evaluates to a Helper control.
name This is the name of the boar d from which the index is
retrieved
Part Description
object An object expression that evaluates to a Helper control.
name This is the nam e of the board from which we retrieve t he
index.
Chapter 7: Helper Contr ol and HelperSc ript Object
7 - 9
BoardName Property
Introducti on This is a read-only Stri ng array property that contains the board name for
each board in the system.
Synt ax object . BoardName ( BoardIndex As Integer ) As String
The BoardName property syntax has these parts:
Remarks If an attempt is ma de to access a list index out of range, an empty string is
returned.
BoardT ype Property
Introducti on This is a read-only String array property that contains the board type for each
board. The possible board type are defined in the S4 control do cumentation.
Synt ax object . BoardType ( BoardIndex As Integer ) As String
The BoardType property syntax has these parts:
Remarks If an attempt is ma de to access a list entry out of range, an empty string is
returned.
Part Description
object An object expression that evaluates to a Helper control.
index This is the list index to be accessed. V alid index values
range from zero to the number of boards - one.
Part Description
object An object expression that evaluates to a Helper control.
index This is the list index to be accessed. V alid index values
range from zero to the number of boards - one.
W ebW ar e SDK User ’ s Guide
7 - 10
BootV ersion Property
Introducti on This is a read-only Stri ng property that contains the S4 controller’s boot
prom version string. It is only valid when the inte rface to the controller is
operational.
Synt ax object . BootVersion
The object expression evaluates to a Helper control.
Remarks This property is displayed in the Vi sual Basic property box, but it is not
updated in real-time at de sig n time. The value displayed in the property box
is the value that was current when the control was loaded.
When the program is running, this value is updated in real-time.
Cont actName Property
Introducti on This is a read-only Stri ng property that contains the S4 signal name of a
specific contact on a speci fic S4 board. The configuration data is obtained
directly from the S4 I/O configuratio n file.
Synt ax object . ContactName ( Board as Integer , Cont act As Integer , Contact Type
As Integer )
The ContactName property syntax h as these parts:
continued on next page
Part Description
object An object expression that evaluates to a Helper control.
Boar d This is the number of the boa rd containing the contact to
be named. Board numbers start at zero and must be less
than the number of boards configured in the S4 control.
Contact This is the number of the cont act to be iden tified. V alid
contact numbers start at zero and must be le ss than the
number of contacts on the bo ard.
Chapter 7: Helper Contr ol and HelperSc ript Object
7 - 1 1
Cont actName Property , continued
Synt ax, continued
Remarks If an attempt to access a c ontact that does not exist on the board is made, an
empty string is returned.
Cont actLongName Pr operty
Introducti on This read-only propert y represents th e I/O board contact name as a string.
Synt ax object . ContactLongName ( Board Index As Integer , Contac tIndex As
Integer , ContactType As Integer ) As String
The ContactName property syntax h as these parts:
continued on next page
Part Description
ContactT ype This is the ty pe of contact t o be named. The valid contact
type definitions a re as follows :
0 - input contact
1 - output contact
2 - analog input con tact
3 - analog output co ntact
4 - group in put contact
5 - group output contact
Part Description
object An object expression that evaluates to a Helper control.
Boar d This is the number of the boa rd containing the contact to
be named. Board numbers start at zero and must be less
than the number of boards configured in the S4 control.
Contact This is the number of the cont act to be ide ntified. V alid
contact numbers start at zero and must be less than th e
number of contacts on the bo ard.
W ebW ar e SDK User ’ s Guide
7 - 12
Cont act LongName Property , continued
Synt ax, continued
Remarks If an attempt to acces s a contact that do es not exist on the board is made, the
program will return an empty string.
CurNoOfC ycle Property
Introducti on This is a read-only Long property that contains the current number of cycles
setting for the selected program. This informati on is obtained by the
S4ModeGet meth od or the S4GetRunModeInfo method
Synt ax object . CurNoOfCy cle
The object expression evaluates to a Hel per control.
Settings The CurNoOfCycle property has the following settings:
Remarks This property is only accessible at r un-time. Its contents are zero before a
successful execution of the S4ModeGet method or the S4GetRunModeInfo
method The selection of the program id is done usin g one these methods.
Part Description
ContactT ype This is the ty pe of contact t o be named. The valid contact
type definitions a re as follows :
0 - input contact
1 - output contact
2 - analog input con tact
3 - analog output co ntact
4 - group in put contact
5 - group output contact
Setting Description
0 Invalid value retrieved
-1 Run continuously/without limit
>0 Run a fixed number of cycles
Chapter 7: Helper Contr ol and HelperSc ript Object
7 - 13
CurRunMode Property
Introducti on This read-only propert y expresses the current execution mode for the
selected program as a long.
Synt ax object. GetCurRunMode ()
The object expression evaluates to a Hel per control.
Remarks This property is fill ed only after either:
• a call to S4ModeGet from the Helper interface
OR
• a call to S4GetRunModeInfo from the Scriptable Helper interface.
ControlId Property
Introducti on This is a read-only Stri ng property that contai ns the S4 controller
identification for the attached robot co ntrol. It is o nly valid when the
interface to the controller is operational.
Synt ax object. ControlId
The object expression evaluates to a Helper control.
Remarks This property is displayed in the Vi sual Basic propert y box, but it is not
updated in real-time at de sig n time. The value displayed in the property box
is the value that was current when the control was loaded.
When the program is running, this value is updated in real-time.
W ebW ar e SDK User ’ s Guide
7 - 14
DevCap acity Property
Introducti on This is a read-only Long array property that size in bytes of each of file
devices obtained by the last execution of the S4GetFileDev Info method.
SectionSynt ax object . DevCap acity ( inde x )
The DevCap acity property syntax has these parts:
Remarks This property is only accessible at run-ti me. It’s contents are empty before a
successful execution of the S4G etFileDevInfo method. If an attempt is
made to access a list entry out of range, zero is returned.
DevFreeS p ace Property
Introducti on This is a read-only Long array property that contai ns free space in bytes for
each of file devices obtained by the last execution of the S4GetFileDevInfo
method.
Synt ax object . DevFreeSpace ( index )
The DevFreeSpace property syntax has these parts:
Remarks This property is only accessible at run-ti me. It’s contents are empty before a
successful execution of the S4G etFileDevInfo method. If an attempt is
made to access a list entry out of range, zero is returned.
Part Description
object An object expression that evaluates to a Helper control.
index This is the list index t o be accessed. V alid index values
range from zero to DevListCount - one.
Part Description
object An object expression that evaluates to a Helper control.
index This is the list index t o be accessed. V alid index values
range from zero to DevListCount - one.
Chapter 7: Helper Contr ol and HelperSc ript Object
7 - 15
DevList Property
Introducti on This is a read-only String array property th at contains the list of file devices
obtained by the last execution of the S4GetFileDevInfo method.
Synt ax object . DevList ( index )
The DevList property syntax has these parts:
Remarks This property is only accessible at run-ti me. It’s contents are empty before a
successful execution of the S4G etFileDevInfo method. If an attempt is
made to access a list entry out of range, an empty stri ng is returned .
DevListCount Property
Introducti on This is a read-only Integer propert y that contains the number of file devi ces
supported by the robot con troller. Th is value for this property is assigned by
a successful execution of the S4GetFileDevInfo m ethod.
Synt ax object . DevListCount
The object expression evaluates to a Helper control.
Remarks This property is only accessible at r un-time. It’s value is zero before a
successful execution of the S4G etFileDevInfo method.
Part Description
object An object expression that evaluates to a Helper control.
index This is the list index to be accessed. V alid index values
range from zero to DevListCount - one.
[Document text truncated for crawler view.]