AdeptWindows User'

AdeptWindows
User’s Guide
Version 2.0
Video in
DO NOT REMOVE OR INSTALL THIS
MODULE UNLESS HIGH VOLTS LED
IS COMPLETELY EXTINGUISHED.
PULNIX
DO NOT REMOVE OR INSTALL THIS
MODULE UNLESS HIGH VOLTS LED
IS COMPLETELY EXTINGUISHED.
VJI
ES
HIGH VOLTS ON
HIGH VOLTS ON
PWM ON
PWM ON
LOW VOLTS ON
LOW VOLTS ON
OPEN CKT FAULT
OPEN CKT FAULT
HV SAG/OVER TEMP
HV SAG/OVER TEMP
A PHASE SHORT FAULT
A PHASE SHORT FAULT
B PHASE SHORT FAULT
HPE
1
2
3
4
5
6
B PHASE SHORT FAULT
C PHASE SHORT FAULT
C PHASE SHORT FAULT
AMPLIFIER
SIGNAL
C
O
N
T
R
O
L
C
O
N
T
R
O
L
S
I
G
N
A
L
S
I
G
N
A
L
BELT
ENCODER
ARM
SIGNAL
adept
technology, inc.
AWC
a d e pt
Video
Video in
A AMP
Video in blue
A AMP
AdeptWindows
User’s Guide
Version 2.0
Video in
Video in
DO NOT REMOVE OR INSTALL THIS
MODULE UNLESS HIGH VOLTS LED
IS COMPLETELY EXTINGUISHED.
PULNIX
DO NOT REMOVE OR INSTALL THIS
MODULE UNLESS HIGH VOLTS LED
IS COMPLETELY EXTINGUISHED.
VJI
ES
HIGH VOLTS ON
Video in blue
A AMP
Video
A AMP
HPE
1
2
3
4
5
6
AWC
a d e pt
HIGH VOLTS ON
PWM ON
PWM ON
LOW VOLTS ON
LOW VOLTS ON
OPEN CKT FAULT
OPEN CKT FAULT
HV SAG/OVER TEMP
HV SAG/OVER TEMP
A PHASE SHORT FAULT
A PHASE SHORT FAULT
B PHASE SHORT FAULT
B PHASE SHORT FAULT
C PHASE SHORT FAULT
C PHASE SHORT FAULT
AMPLIFIER
SIGNAL
C
O
N
T
R
O
L
C
O
N
T
R
O
L
S
I
G
N
A
L
S
I
G
N
A
L
BELT
ENCODER
ARM
SIGNAL
adept
technology, inc.
Part Number 00963-07300, Rev. A
September 1998
150 Rose Orchard Way • San Jose, CA 95134 • USA • Phone (408) 432-0888 • Fax (408) 432-8707
Otto-Hahn-Strasse 23 • 44227 Dortmund • Germany • Phone (49) 231.75.89.40 • Fax(49) 231.75.89.450
41, rue du Saule Trapu • 91300 • Massy • France • Phone (33) 1.69.19.16.16 • Fax (33) 1.69.32.04.62
The information contained herein is the property of Adept Technology, Inc., and shall not be reproduced in whole or in part without prior written approval of Adept Technology, Inc. The information herein is subject to change without notice and should not be construed as a
commitment by Adept Technology, Inc. This manual is periodically reviewed and revised.
Adept Technology, Inc., assumes no responsibility for any errors or omissions in this document.
Critical evaluation of this manual by the user is welcomed. Your comments assist us in preparation of future documentation. A form is provided at the back of the book for submitting your
comments.
Copyright  1998 by Adept Technology, Inc. All rights reserved.
The Adept logo is a registered trademark of Adept Technology, Inc.
AdeptOne-XL, AdeptThree-XL, HyperDrive, Adept 550, Adept 550 CleanRoom, Adept 1850,
Adept 1850XP, Adept Cobra 600, Adept Cobra 800, Adept Flexfeeder 250, Adept MV, Adept MV4,
AdeptVision, AIM, VisionWare, AdeptMotion, MotionWare, PalletWare, FlexFeedWare,
AdeptNet, AdeptFTP, AdeptNFS,
AdeptTCP/IP, AdeptForce, AdeptModules, AdeptWindows, AdeptWindows PC,
AdeptWindows DDE, AdeptWindows Offline Editor, and V+ are trademarks of
Adept Technology, Inc.
Any trademarks from other companies used in this publication
are the property of those respective companies.
Printed in the United States of America
Table of Contents
1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . .
2
Installing AdeptWindows . . . . . . . . . . . . . . . . . . . .
21
Installing the AdeptWindows Software . . . . . . . . . . . . . . . . . . .
Installing the AdeptWindows License . . . . . . . . . . . . . . . . . . . .
Setting up a Serial Connection . . . . . . . . . . . . . . . . . . . . . . .
Required Cabling . . . . . . . . . . . . . . . . . . . . . . . . . . .
Hardware Connection . . . . . . . . . . . . . . . . . . . . . . . .
Configuring the Serial Protocol . . . . . . . . . . . . . . . . . . . .
Ethernet Connection Overview . . . . . . . . . . . . . . . . . . . . . . .
A Note on IP Addresses . . . . . . . . . . . . . . . . . . . . . . . .
Required Interface Hardware. . . . . . . . . . . . . . . . . . . . .
Basic Configurations Using Adept Defaults . . . . . . . . . . . . . . . . .
Configuring One PC, Controller, and NFS Server . . . . . . . . . .
Configuring One PC, Multiple Controllers, and One NFS Server . .
Configuring Multiple PCs, Multiple Controllers, and
One NFS Server . . . . . . . . . . . . . . . . . . . . . . . .
Other Network Configurations . . . . . . . . . . . . . . . . . . . . . . . .
Configuring Multiple PCs, Controllers, and NFS Servers. . . . . . .
Configuring Multiple PCs, Controllers, NFS Servers, and Networks .
Installing TCP/IP on the PC . . . . . . . . . . . . . . . . . . . . . . . . . .
Installing TCP/IP on a PC Running Windows 95 . . . . . . . . . . .
Installing TCP/IP on a PC Running Windows NT 4.0 . . . . . . . . .
Using PING to Test the Ethernet Setup . . . . . . . . . . . . . . . . . . . .
23
24
25
25
25
26
27
27
28
29
30
32
What Is AdeptWindows? . . . . . . . .
AdeptWindows PC. . . . . . . .
AdeptWindows DDE . . . . . . .
AdeptWindows Offline Editor . .
AdeptWindows TFTP Server . . .
System Requirements. . . . . . . . . .
PC Requirements . . . . . . . .
Adept Controller Requirements
Do I Need to Read Other Manuals? . .
How Do I Begin? . . . . . . . . . . . .
How Can I Get Help? . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
AdeptWindows User’s Guide, Rev. A
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
13
.
.
.
.
.
.
.
.
.
.
.
14
14
15
16
16
17
17
17
18
18
19
34
36
36
38
40
40
42
46
5
Table of Contents
Pinging the Controller . . . . . . . . . . . . . . . . . . . .
Pinging the PC . . . . . . . . . . . . . . . . . . . . . . . .
Installing NFS . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Installing Solstice Software on the PC . . . . . . . . . . .
Enabling NFS Sharing . . . . . . . . . . . . . . . . . . . .
Checking the Status of the Solstice NFS Server . . . . . .
On Windows NT Systems . . . . . . . . . . . . . . . . .
On Windows 95/98 Systems . . . . . . . . . . . . . . .
Mounting an NFS Drive From the Adept Controller . . . .
Referring to Mounted Drives . . . . . . . . . . . . . . . .
Testing the NFS Mounted Drives . . . . . . . . . . . . . .
Setting the DIP Switches on the AWC Board . . . . . . . . . . .
Changing AWC Board and Network Settings . . . . . . . . . . .
Loading and Running the CONFIG_C Utility . . . . . . . .
Changing the Software Switch Settings . . . . . . . . . .
Changing the User-Defined IP Address in NVRAM . . . .
Changing the Names and Paths for NFS Mounted Drives
Installing DDE With AIM . . . . . . . . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
3
AdeptWindows PC User Interface . . . . . . . . . . . . . . .
4
AdeptWindows TFTP Server . . . . . . . . . . . . . . . . . . .
5
AdeptWindows DDE . . . . . . . . . . . . . . . . . . . . . . .
6
AdeptWindows User’s Guide, Rev. A
Introduction . . . . . . . . . . . . . . . . . . . . . . . . .
Starting AdeptWindows PC. . . . . . . . . . . . . . . . .
Connecting Through Ethernet. . . . . . . . . . . .
Scanning Ethernet for Available IP Addresses .
Connecting Through a Serial Port . . . . . . . . .
AdeptWindows PC Main Window. . . . . . . . . .
Disconnecting From the Adept Controller . . . . . . . .
Closing AdeptWindows PC. . . . . . . . . . . . . . . . .
Introduction . . . . . . . . . . . . . . . . . .
Starting AdeptWindows TFTP Server . . . . .
Booting the Adept Controller Over Ethernet
TFTP Server Diagnostics . . . . . . . . . . . .
Enabling Diagnostic Messages . . . .
Clearing the Messages . . . . . . . .
Closing AdeptWindows TFTP Server . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
46
46
47
47
55
57
57
58
59
59
60
62
63
63
64
64
64
65
67
.
.
.
.
.
.
.
.
68
68
69
69
70
71
72
73
75
.
.
.
.
.
.
.
76
76
77
78
78
79
80
81
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
Starting AdeptWindows DDE . . . . . . . . . . . . . . . . . . . . . . . . . 82
Table of Contents
From the Windows Program Manager . . . . . . . . . . . . .
From the MS-DOS Prompt . . . . . . . . . . . . . . . . . . . .
Defining, Modifying, or Deleting a V+ Host . . . . . . . . . . . . . .
Running the DDE Driver on the Adept Controller . . . . . . . . . . .
Specifying DDE Item Names . . . . . . . . . . . . . . . . . . . . . .
Hot and Cold Links . . . . . . . . . . . . . . . . . . . . . . . . . . .
Getting DDE Status Information . . . . . . . . . . . . . . . . . . . .
Customizing DDE Variable Records in AIM . . . . . . . . . . . . . .
Modifying DDE Records in AIM . . . . . . . . . . . . . . . . .
Creating New DDE Records in AIM . . . . . . . . . . . . . . .
Defining the V+ Expression Associated With the DDE Record
Creating Variable Records . . . . . . . . . . . . . . . . . . .
Simple DDE Examples . . . . . . . . . . . . . . . . . . . . . . . . .
Reading Data Using Microsoft Excel . . . . . . . . . . . . . .
Important Delimiters for the Definition of DDE Links . . . .
Example of a Static DDE System Variable . . . . . . . . .
Example of a Dynamic DDE System Variable . . . . . . .
Example DDE Link to an AIM Variable . . . . . . . . . . .
6
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
AdeptWindows Offline Editor . . . . . . . . . . . . . . . . . .
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . .
Features of the Offline Editor . . . . . . . . . . . . . . . . .
Starting the Offline Editor . . . . . . . . . . . . . . . . . . .
Using the Toolbars . . . . . . . . . . . . . . . . . . . . . .
Description of the Toolbar Icons . . . . . . . . . . .
Editing Toolbar Icons. . . . . . . . . . . . . . . .
Loop/Branch Toolbar Icons . . . . . . . . . . . .
Motion Toolbar Icons . . . . . . . . . . . . . . .
Getting Online Help . . . . . . . . . . . . . . . . . . . . .
Keyword Syntax Help . . . . . . . . . . . . . . . . .
Details on Keywords . . . . . . . . . . . . . . . . . .
Reference Guide Information. . . . . . . . . . . . .
Getting Around . . . . . . . . . . . . . . . . . . . . . . . .
Find and Replace . . . . . . . . . . . . . . . . . . .
Goto Program and Previous Program . . . . . . . .
Program Pick Lists . . . . . . . . . . . . . . . . . . .
Navigate . . . . . . . . . . . . . . . . . . . . . . . .
Creating and Editing a Program . . . . . . . . . . . . . . .
Creating a New File/V+ Program . . . . . . . . . . .
Opening an Existing V+ Program File. . . . . . . . .
Adding a New Program to an Existing Program File
The Editor Window . . . . . . . . . . . . . . . . . . .
AdeptWindows User’s Guide, Rev. A
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
82
83
84
85
86
87
88
89
89
90
91
93
94
94
94
94
94
94
95
. . 97
. . 97
. . 99
. 100
. 100
. 100
. 100
. 101
. 102
. 102
. 102
. 103
. 104
. 104
. 105
. 106
. 106
. 108
. 108
. 108
. 109
. 110
7
Table of Contents
Working With Program Variables . . . . . .
Displaying Variable Properties . . . . .
Replacing a Variable . . . . . . . . . .
Working With Projects . . . . . . . . . . . . . . .
Creating a New Project . . . . . . . . . . .
Opening an Existing Project . . . . . . . .
Getting Information on the Current Project
Modifying Project Files . . . . . . . . . . .
Modifying Project File Attributes . . . . . .
Building a Project . . . . . . . . . . . . . .
Listing and Renaming Program Files. . . . . . . .
Customizing the Programming Environment . . .
The Standard Program Header . . . . . . .
Customizing the Highlighting Colors . . . .
Displaying or Hiding the Toolbars . . . . .
Creating CALL Tree and Keyword Listings . . . .
CALL Tree Listing . . . . . . . . . . . . . . .
Keyword Listing . . . . . . . . . . . . . . .
Printing and Documentation . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
111
111
111
112
112
113
113
114
115
117
117
118
119
120
121
122
122
122
124
A
Menu Bars and Quick Keys . . . . . . . . . . . . . . . . . . . 125
B
Using Existing V+ Routines With AdeptWindows . . . . . . . . 131
C
Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . 137
8
AdeptWindows PC Main Menu Bar . . . . .
Adept TFTP Server Main Menu Bar . . . . . .
AdeptWindows DDE Server Main Menu Bar.
Offline Editor Main Menu Bar. . . . . . . . .
Introduction . . . . . . . . . . .
The BUFFERED Keyword . . . . .
The EVENT CONNECT Keyword.
The ID Keyword . . . . . . . . .
The MENU Keyword . . . . . . .
Menu Events. . . . . . . . . . .
Window Size . . . . . . . . . . .
Example V+ Program . . . . . .
Introduction . . . . . . . . .
DDE Errors . . . . . . . . . .
Connecting to Host .
Using Microsoft Excel
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
AdeptWindows User’s Guide, Rev. A
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
126
126
127
128
132
132
132
132
133
133
133
134
138
138
138
138
Table of Contents
Energy Star Compliant Systems . . . . . . . . . . . . . . .
Ethernet TCP/IP . . . . . . . . . . . . . . . . . . . . . . . .
Connecting to an Adept Controller Through TCP/IP
NetManage’s TCP/IP . . . . . . . . . . . . . . . . .
PC or Adept Controller Problems . . . . . . . . . . . . . .
PC or Windows Program Problems . . . . . . . . . .
Adept Controller Problems . . . . . . . . . . . . . .
TIFF Image Export . . . . . . . . . . . . . . . . . . . . . . .
V+ License . . . . . . . . . . . . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
139
139
139
140
140
140
140
141
141
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
AdeptWindows User’s Guide, Rev. A
9
Table of Contents
List of Figures
Figure 1-1
Figure 1-2
Figure 2-1
Figure 2-2
Figure 2-3
Figure 2-4
Figure 2-5
Figure 2-6
Figure 2-7
Figure 2-8
Figure 2-9
Figure 2-10
Figure 2-11
Figure 2-12
Figure 2-13
Figure 2-14
Figure 2-15
Figure 2-16
Figure 2-17
Figure 2-18
Figure 2-19
Figure 2-20
Figure 2-21
Figure 2-22
Figure 2-23
Figure 2-24
Figure 2-25
Figure 2-26
Figure 2-27
Figure 2-28
Figure 2-29
Figure 2-30
Figure 2-31
Figure 2-32
Figure 2-33
Figure 2-34
Figure 2-35
Figure 2-36
Figure 3-1
10
Connections Between PC and Adept Controller(s) . . . .
DDE Communication Between PC and Adept Controller .
AdeptWindows Installation . . . . . . . . . . . . . . . . .
The Controller IP Address . . . . . . . . . . . . . . . . . .
One PC, Controller, and NFS Server . . . . . . . . . . . .
One PC, Multiple Controllers, One NFS Server . . . . . . .
Single PC, Multiple Controllers, One NFS Server . . . . . .
Multiple PCs, Controllers, and NFS Servers . . . . . . . . .
Multiple PCs, Controllers, NFS Servers, and Networks . . .
Windows 95 Network Configuration Dialog Box . . . . . .
Selecting a New Network Component (Windows 95) . . .
Network Protocol Selection (Windows 95) . . . . . . . . .
TCP/IP Properties Dialog Box (Windows 95) . . . . . . . .
Windows NT 4.0 Network Configuration Dialog Box . . . .
Selecting a Network Component (Windows NT). . . . . .
Network Protocol Selection (Windows NT) . . . . . . . . .
TCP/IP Properties Dialog Box (Windows NT) . . . . . . . .
The Solstice Network Client Startup Window . . . . . . . .
Solstice Welcome Window . . . . . . . . . . . . . . . . .
Solstice User Information Window. . . . . . . . . . . . . .
Solstice Choose Destination Directory Window . . . . . .
Solstice Setup Type Window. . . . . . . . . . . . . . . . .
Solstice Select Components Window. . . . . . . . . . . .
Solstice Select Sub-components Window . . . . . . . . .
Solstice Setup Configuration Wizard . . . . . . . . . . . .
License Server Information . . . . . . . . . . . . . . . . .
Solstice Name Service Window . . . . . . . . . . . . . . .
Solstice Start Copying Files Confirmation Window. . . . .
Solstice Setup Is Complete Window . . . . . . . . . . . .
Creating the “etc” Directory . . . . . . . . . . . . . . . .
NFS Sharing Properties . . . . . . . . . . . . . . . . . . . .
Windows NT Services Dialog Box . . . . . . . . . . . . . .
Windows NT Service Dialog Box. . . . . . . . . . . . . . .
Solstice NFS Server Icon on Windows 95/98 Taskbar . . .
Adept Controller Network Status . . . . . . . . . . . . . .
Directory Listing of an NFS Shared Drive . . . . . . . . . .
The CONFIG_C Main Menu . . . . . . . . . . . . . . . . .
DDE Enable Record . . . . . . . . . . . . . . . . . . . . .
Connection Type Dialog Box . . . . . . . . . . . . . . . .
AdeptWindows User’s Guide, Rev. A
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
15
16
23
27
30
32
34
36
38
40
41
41
42
43
43
44
45
48
48
49
50
51
51
52
52
53
53
54
54
55
56
57
58
58
60
61
63
65
68
Table of Contents
Figure 3-2
Figure 3-3
Figure 3-4
Figure 3-5
Figure 3-6
Figure 3-7
Figure 4-1
Figure 4-2
Figure 4-3
Figure 4-4
Figure 5-1
Figure 5-2
Figure 5-3
Figure 5-4
Figure 5-5
Figure 5-6
Figure 5-7
Figure 5-8
Figure 6-1
Figure 6-2
Figure 6-3
Figure 6-4
Figure 6-5
Figure 6-6
Figure 6-7
Figure 6-8
Figure 6-9
Figure 6-10
Figure 6-11
Figure 6-12
Figure 6-13
Figure 6-14
Figure 6-15
Figure 6-16
Figure 6-17
Figure 6-18
V+ Cell Address Dialog Box . . . . . . . . . . . . .
Listing of Available IP Addresses . . . . . . . . . .
COM Port Selection Dialog Box . . . . . . . . . . .
AdeptWindows PC Main Window . . . . . . . . . .
Disconnecting From the Adept Controller . . . . .
Exiting AdeptWindows PC . . . . . . . . . . . . . .
AdeptWindows TFTP Server Main Window . . . . .
AdeptWindows TFTP Server Minimized . . . . . . .
AdeptWindows TFTP Server Settings Window . . . .
TFTP Server Messages . . . . . . . . . . . . . . . .
AdeptWindows DDE Main Window . . . . . . . . .
List of Defined Hosts . . . . . . . . . . . . . . . . .
Define Adept Hosts. . . . . . . . . . . . . . . . . .
DDE Status Window. . . . . . . . . . . . . . . . . .
Select Initialization Database Page . . . . . . . .
DDEINI.DB Record Page . . . . . . . . . . . . . . .
DDE Initialization Data Definition . . . . . . . . . .
DDE Access Selection for Variable Records . . . .
Offline Editor Main Window . . . . . . . . . . . . .
Offline Editor Menu/Toolbar . . . . . . . . . . . . .
The Find Dialog Box . . . . . . . . . . . . . . . . .
The Replace Dialog Box . . . . . . . . . . . . . . .
Navigate CALL Tree . . . . . . . . . . . . . . . . .
New File/Program Name Dialog Box . . . . . . . .
Open a Program File. . . . . . . . . . . . . . . . .
Main Program Editing Window . . . . . . . . . . .
New Project Dialog Box . . . . . . . . . . . . . . .
Project Information Dialog Box . . . . . . . . . . .
Project Files Dialog Box . . . . . . . . . . . . . . .
File Attributes Dialog Box . . . . . . . . . . . . . .
Program List Dialog Box . . . . . . . . . . . . . . .
Customize Program Header Template Dialog Box
Customize Highlighting Colors . . . . . . . . . . .
Sample CALL Tree . . . . . . . . . . . . . . . . . .
Listing Tool for Programs . . . . . . . . . . . . . . .
Sample Keyword Listing . . . . . . . . . . . . . . .
AdeptWindows User’s Guide, Rev. A
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
69
69
70
71
72
73
76
76
79
79
83
84
85
88
89
90
92
93
99
100
104
105
106
108
109
110
112
114
115
116
118
119
120
122
123
124
11
Table of Contents
List of Tables
Table 1-1
Table 1-2
Table 2-1
12
Manuals You Should Read or Review . . . . . . . . . . . . . . 18
Manuals Used for Custom Programming . . . . . . . . . . . . 18
DIP Switch SW1 Factory Settings . . . . . . . . . . . . . . . . . 62
AdeptWindows User’s Guide, Rev. A
Introduction
What Is AdeptWindows?
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
14
AdeptWindows PC . . . .
AdeptWindows DDE . . . .
AdeptWindows Offline Editor
AdeptWindows TFTP Server .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
14
15
16
16
.
.
.
.
.
.
.
.
.
.
.
.
.
.
17
PC Requirements . . . . . .
Adept Controller Requirements
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
17
17
System Requirements
.
.
.
.
.
.
.
.
.
.
Do I Need to Read Other Manuals?
.
.
.
.
.
.
.
.
.
.
.
.
.
.
18
How Do I Begin?
.
.
How Can I Get Help?
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
18
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
19
Help Markers
AdeptWindows User’s Guide, Rev. A
13
Introduction
What Is AdeptWindows?
What Is AdeptWindows?
AdeptWindows represents the first step toward drawing the PC closer to the
Adept controller. In keeping with the tradition of providing a safe and predictable
development environment, Adept will continue this evolution of software tools in
a phased approach.
AdeptWindows is an application suite of four programs for the personal
computer (PC) that provides new capabilities for the Adept controller and a user
interface for the PC. The AdeptWindows suite consists of:
•
AdeptWindows PC
•
AdeptWindows DDE
•
AdeptWindows Offline Editor
•
AdeptWindows TFTP Server
Your AdeptWindows 2.0 software kit (PN 90963-00210) includes the following
items:
•
AdeptWindows v2.0 Software and User’s Guide
•
Sun Microsystems Solstice Network Client software for the PC
•
Shielded Ethernet cross-over cable and adapter
AdeptWindows PC
AdeptWindows PC enables a PC to display the real-time Graphical User Interface
(GUI) for an Adept controller. The AdeptWindows PC solution allows a PC
connected to the controller using either Ethernet or a COM (serial) port to replace
14
AdeptWindows User’s Guide, Rev. A
Introduction
What Is AdeptWindows?
the VME Graphics Board (VGB), a dedicated display monitor, keyboard, and
mouse. See Figure 1-1.
PC
PC
6HULDO
Adept
MV
Controller
(WKHUQHW
Adept
MV
Controller
Adept
MV
Controller
Adept
MV
Controller
Figure 1-1. Connections Between PC and Adept Controller(s)
NOTE: Except for images in the Vision window, AdeptWindows
PC does not support the AIM screen capture utility. However, you
can capture AdeptWindows screens using any Windows-compatible
screen capture utility program (e.g., HiJaak™). See “TIFF Image
Export” on page 141 for more details.
To ensure compatibility with existing V+ applications, the AdeptWindows PC
product uses existing V+ instructions to display graphics to the user. AIM
software and existing customer libraries are compatible, and only minor additions
are needed to enable the connection between the Adept controller and a PC that is
running AdeptWindows PC. See Chapter 3 for more details on AdeptWindows
PC.
AdeptWindows DDE
AdeptWindows DDE provides a standard Dynamic Data Exchange (DDE) server
application to allow communication with other DDE-capable applications
running under Microsoft Windows 95/98 or Microsoft Windows NT 4.0 on a PC
(e.g., WonderWare®, Excel®).
AdeptWindows User’s Guide, Rev. A
15
Introduction
What Is AdeptWindows?
The DDE functionality is embedded in the interface between the PC and the
controller. This provides the first open link between standard applications
running on the PC and Adept controller. Extending this concept further, custom
applications developed in C, C++, or Visual Basic™ on the PC can use the DDE
protocol to converse with the Adept controller through the DDE interface. See
Figure 1-2.
AIM DDE Server
or
AdeptWindows
DDE
Application
Custom V+ Task
Excel
AIM 3.1 DB
V+ Global Variable
INTouch
WonderWare
Adept Controller
PC
Figure 1-2. DDE Communication Between PC and Adept Controller
See Chapter 5 for more details on AdeptWindows DDE.
AdeptWindows Offline Editor
AdeptWindows Offline Editor is an upgrade to our popular offline editor that
provides the system administrator/customizer with the capability to edit and
manage disk files on the PC. See Chapter 6 for more details on AdeptWindows
Offline Editor.
AdeptWindows TFTP Server
AdeptWindows TFTP Server allows the Adept controller to boot over Ethernet. It
contains a user-enabled diagnostics capability that displays the IP node address,
file names, and error messages during the booting process. See Chapter 4 for
more details on AdeptWindows TFTP Server.
16
AdeptWindows User’s Guide, Rev. A
Introduction
System Requirements
System Requirements
The following sections describe the requirements for using AdeptWindows with
your PC and Adept controller.
NOTE: AdeptWindows runs on both Windows 95/98 and
Windows NT 4.0. Unless noted, the term “Windows” refers to both
operating systems.
PC Requirements
In order to use AdeptWindows, your PC should be configured with:
•
IBM-compatible PC with a processor capable of running Windows® 95 or
Windows® NT
•
Windows 95 or Windows NT 4.0 operating system
•
500 Mb hard disk (recommended)
•
Minimum of 16 MB RAM (more memory may be required to run Windows
NT)
•
SVGA monitor
•
For the Ethernet option, the PC requires an Ethernet card and networking
hardware (cabling, hub, etc.). See “Ethernet Connection Overview” on page
27 for details.
•
For the serial option, a serial-interface cable is required. See “Setting up a
Serial Connection” on page 25 for details.
Adept Controller Requirements
In order to use AdeptWindows, your Adept controller should be configured with:
•
V+ 13.0 or later
•
An AdeptWindows Controller (AWC) board
•
For AdeptWindows PC, the AdeptWindows license must be enabled
•
For the Ethernet interface, the AdeptNet license must be enabled
•
For the serial option, a serial link between the PC and the Adept controller is
required. This link uses the serial RS-232/Term port, located on the
AdeptWindows Controller (AWC) board.
NOTE: The AdeptVision image is not supported by the serial
option. However, vision graphics are displayed on the PC.
AdeptWindows User’s Guide, Rev. A
17
Introduction
Do I Need to Read Other Manuals?
Do I Need to Read Other Manuals?
This manual covers the basics of using AdeptWindows. However, to install
AdeptWindows, you also need to be familiar with the Adept controller and your
PC. Therefore, you should read the manuals listed in Table 1-1. You can ignore the
manuals in Table 1-2 unless you are programming or customizing your system.
Table 1-1. Manuals You Should Read or Review
Manual
Material Covered
Your Computer User’s
Guide
This manual should describe the basics of your PC. You should
be familiar with the hardware/software configuration of your
PC.
Adept MV Controller
User’s Guide
Basics of using the Adept controller.
Instructions for Adept Instructions for running the different Adept utility programs.
Depending on which options you use, you may have to run
Utility Programs
different Adept utility programs. Keep the manual handy for
instructions on any utility programs you may have to run.
AdeptNET User’s
Guide
Instructions for installing the AdeptNET option on the Adept
controller.
Table 1-2. Manuals Used for Custom Programming
Manual
Material Covered
V+ Language User’s
Guide
This manual covers the basic V+ system. If you plan to use the
AdeptWindows Offline Editor, read this manual.
V+ Language Reference This set of reference manuals covers the language in which all
V+ and AIM programs are written. If you plan to use the
Guide
AdeptWindows Offline Editor to write custom V+ or AIM
code, you should keep this manual handy for reference.
How Do I Begin?
Before you can use AdeptWindows, you must complete the following steps:
18
•
Install the Adept controller (see the Adept MV Controller User’s Guide).
•
Install AdeptWindows on your PC (see page 23).
AdeptWindows User’s Guide, Rev. A
Introduction
•
•
•
How Can I Get Help?
Install the AdeptWindows license on the Adept controller (see page 24).
Set up a serial or Ethernet connection (see pages 25 and 27).
Start the AdeptWindows program(s) (see pages 68, 82, and 99).
How Can I Get Help?
Refer to the How to Get Help Resource Guide (Adept P/N 00961-00700) for
details on getting assistance with your Adept software or hardware.
You can obtain this document through Adept On Demand. The phone numbers
are:
(800) 474-8889 (toll free)
(503) 207-4023 (toll call)
Please request document number 1020.
AdeptWindows User’s Guide, Rev. A
19
Installing AdeptWindows
Installing the AdeptWindows Software
.
.
.
.
.
.
.
.
.
.
.
.
.
23
Installing the AdeptWindows License
.
.
.
.
.
.
.
.
.
.
.
.
.
24
.
.
.
.
.
.
.
.
.
.
.
.
.
.
25
Required Cabling . . . . . .
Hardware Connection . . . .
Configuring the Serial Protocol
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
25
25
26
Setting up a Serial Connection
Ethernet Connection Overview
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
27
A Note on IP Addresses . .
Required Interface Hardware
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
27
28
.
.
.
.
.
.
.
.
.
.
.
29
Configuring One PC, Controller, and NFS Server . . . . . .
Configuring One PC, Multiple Controllers, and One NFS Server .
Configuring Multiple PCs, Multiple Controllers, and One NFS Server
30
32
34
.
Basic Configurations Using Adept Defaults
Other Network Configurations
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Configuring Multiple PCs, Controllers, and NFS Servers . . . .
Configuring Multiple PCs, Controllers, NFS Servers, and Networks
Installing TCP/IP on the PC
.
.
.
.
.
.
.
.
.
.
.
.
Installing TCP/IP on a PC Running Windows 95 .
Installing TCP/IP on a PC Running Windows NT 4.0
Using PING to Test the Ethernet Setup
Pinging the Controller
Pinging the PC . . .
Installing NFS
.
.
.
.
.
.
36
36
38
.
.
.
.
.
.
40
.
.
.
.
.
.
.
.
.
.
.
.
40
42
.
.
.
.
.
.
.
.
.
.
.
.
.
46
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
46
46
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
47
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
47
55
57
57
58
59
Installing Solstice Software on the PC . . . . .
Enabling NFS Sharing . . . . . . . . . . .
Checking the Status of the Solstice NFS Server .
On Windows NT Systems . . . . . . .
On Windows 95/98 Systems . . . . . .
Mounting an NFS Drive From the Adept Controller
AdeptWindows User’s Guide, Rev. A
21
Chapter 2
Referring to Mounted Drives .
Testing the NFS Mounted Drives
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
59
60
Setting the DIP Switches on the AWC Board
.
.
.
.
.
.
.
.
.
.
.
62
.
.
.
.
.
.
.
.
.
.
63
Loading and Running the CONFIG_C Utility . . . . .
Changing the Software Switch Settings . . . . . . .
Changing the User-Defined IP Address in NVRAM . . .
Changing the Names and Paths for NFS Mounted Drives
.
.
.
.
.
.
.
.
.
.
.
.
63
64
64
64
.
.
.
65
Changing AWC Board and Network Settings
Installing DDE With AIM
22
.
.
.
.
.
.
.
.
.
.
.
AdeptWindows User’s Guide, Rev. A
.
.
.
.
.
Chapter 2
Installing the AdeptWindows Software
Installing the AdeptWindows Software
The AdeptWindows software for the PC is distributed on one diskette. The disk
contains an installation program to properly install the software on the PC. The
following programs will be installed:
•
AdeptWindows PC
•
AdeptWindows Offline Editor
•
AdeptWindows DDE Server
•
AdeptWindows TFTP Server
After installation, each of these programs can be started from the Start menu bar
in Windows. See Chapters 3, 4, 5, and 6 for details.
To install the software:
1.
Make a note of the Keyword on the AdeptWindows Installation Disk and
insert the disk in the 3.5” floppy drive (typically drive A) of your PC.
2.
From the Windows taskbar select:
Start ➡ Run
The following dialog box is displayed:
Figure 2-1. AdeptWindows Installation
3.
Type A:\SETUP in the text box.
4.
Choose OK to start the installation process. By default, the software is installed
into the subdirectory
C:\Adept\AdeptWindows
on the hard drive of your PC. You can specify a different directory if desired.
Additionally, during installation, the software automatically creates the
subdirectory
AdeptWindows User’s Guide, Rev. A
23
Chapter 2
Installing the AdeptWindows License
C:\Adept\Disks\Disk_C
that can be mounted as an NFS directory by the Adept controller. See
“Mounting an NFS Drive From the Adept Controller” on page 59 for details.
5.
When the installation program prompts you for the Keyword, enter the
characters previously noted (see Step 1) from the label on your
AdeptWindows disk.
NOTE: Do not confuse the Keyword for the AdeptWindows
software on the PC with the password for the AdeptWindows
license on the Adept controller.
Installing the AdeptWindows License
To use AdeptWindows PC, the AdeptWindows license must be installed on the
Adept controller. If your system was ordered from Adept with the
AdeptWindows PC option, the license is already installed. If you are adding the
AdeptWindows PC option to an existing system, the license must be installed. On
a controller that does not have the license installed, the controller will allow a
connection to an AdeptWindows PC interface. However, all the other license
options on your Adept controller are disabled. This allows you to install the
license and then restart the controller. After restarting, all controller options will
initialize normally.
To install the license on the Adept controller, type the following at the Monitor
prompt:
INSTALL password
where “password” is the password for AdeptWindows on your Adept controller.
NOTE: Do not confuse the password of the AdeptWindows license
of the Adept controller with the Keyword for installing the
AdeptWindows software on your PC.
24
AdeptWindows User’s Guide, Rev. A
Chapter 2
Setting up a Serial Connection
Setting up a Serial Connection
This section describes how to set up a serial communication link between your PC
and the Adept controller. If you are using an Ethernet communication link, see
“Ethernet Connection Overview” on page 27.
NOTE: The serial connection works only with the RS-232/TERM
serial port on the AWC board being used as the Adept controller’s
main system processor. It cannot be used with the controller’s global
serial ports located on an SIO board or serial ports on an auxiliary
processor board.
Required Cabling
The AWC board serial interface cable is provided with the AdeptWindows
Controller board.
The controller end of the cable has a circular mini-DIN male connector. This
connector plugs into the RS-232/TERM port (circular mini-DIN female connector)
located on the AWC board. See the Adept MV Controller User’s Guide for pinout
details.
The PC end of the cable is terminated with a DB 25-pin serial connector. This
plugs into a 25-pin serial port on your PC. A 25- to 9-pin adapter is included that
can be used to connect the cable to a 9-pin serial port.
Hardware Connection
To set up the serial connection:
1.
Connect one end of the serial interface cable to a COM port in your PC. Make
a note of the COM port you are using (this information is required during the
software startup).
2.
Connect the other end of the cable to the RS-232/TERM port on the AWC
board.
3.
Set the DIP switches on SW1 on the AWC board. See “Setting the DIP
Switches on the AWC Board” on page 62.
NOTE: When the DIP switches on the AWC board are set for
AdeptWindows, the AdeptWindows option must be enabled (see
“Installing the AdeptWindows License” on page 24 for details).
Otherwise, the connection will succeed but all other installed license
options on the controller will be unavailable.
AdeptWindows User’s Guide, Rev. A
25
Chapter 2
Setting up a Serial Connection
Configuring the Serial Protocol
The serial ports are automatically configured by the AdeptWindows PC software
and V+ 13.0 operating system. Therefore, you do not need to manually configure
the serial protocol.
NOTE: The V+ version 13.0 operating system (running on the
Adept controller) and the AdeptWindows PC application (running
on the PC) are configured to operate at a predefined baud rate. This
protocol automatically overrides any previously defined serial
configuration for the serial port on the Adept controller and on the
PC.
You are now ready to start AdeptWindows PC. See “Connecting Through a
Serial Port” on page 70 for details.
NOTE: The rest of this chapter applies to Ethernet configurations.
Therefore, if you are planning on using a serial connection, you may
stop reading here.
26
AdeptWindows User’s Guide, Rev. A
Chapter 2
Ethernet Connection Overview
Ethernet Connection Overview
This section describes how to set up a simple Ethernet communication link
between one or more PCs and a one or more Adept controllers (see Figure 2-3).
A Note on IP Addresses
The IP address is the logical means by which the higher-level Ethernet software
identifies a specific node. The IP address must be unique for each node within a
LAN.
When an AWC board is installed in the Adept controller, V+ version 13.0 will
automatically create a “default” IP address for the controller that is based on the
AWC board’s serial number (not the controller’s serial number). The default IP
address will be:
172.16 .1xx.1yy
where “xx” and “yy” are the low 4 decimal digits of the AWC board’s serial
number.
6000030542
{
{
AWC Board Serial Number:
{
{
Default IP Address:
172.16 .105.142
Figure 2-2. The Controller IP Address
NOTE: The AWC board serial number is located on a bar code label
attached to the bus connectors at the rear of the board.
As shown in Figure 2-2, if the AWC board serial number is 6000030542, the Adept
controller’s default IP address will be:
172.16 .105.142
This IP address will be used whenever:
•
the NVRAM has not been initialized
•
the IP address in the NVRAM has been set to 0
•
a hardware or software switch on the AWC board forces use of the default IP
address.
AdeptWindows User’s Guide, Rev. A
27
Chapter 2
Ethernet Connection Overview
If you are using the default IP address for the Adept controller, then you must use
the following IP address and subnet mask for the PC:
IP Address:
172.16 .200. xx
Subnet Mask: 255.255. 0 . 0
where “xx” in the IP address is a unique node address for each PC in the system.
Adept recommends using 1 for the first PC, 2 for the second PC, 3 for the third PC,
etc. See “Installing TCP/IP on the PC” on page 40 for details on setting the IP
address and subnet mask in Windows 95/NT.
Required Interface Hardware
Each PC requires a user-supplied Ethernet interface card. These are available at
most PC supply outlets.
A shielded cross-over Ethernet cable is provided with the AdeptWindows
Software Kit (Adept PN 90963-00210). This cable can be used in place of a
network hub when one PC is connected to one Adept controller.
If more than one PC or Adept controller is being connected, you must use a
user-supplied network hub and user-supplied Ethernet cables. These are
available at most PC supply outlets.
CAUTION: Do not use the supplied cross-over Ethernet cable
when using a network hub.
The AWC board comes equipped with an Ethernet interface connector. No
additional hardware is required for the Adept controller. See the Adept MV
Controller User’s Guide for details.
28
AdeptWindows User’s Guide, Rev. A
Chapter 2
Basic Configurations Using Adept Defaults
Basic Configurations Using Adept Defaults
This section describes the basic controller/PC configurations that use the Adept
default settings. The basic configurations are:
•
One PC, controller, and NFS server (see page 30)
•
One PC, multiple controllers, and one NFS server (see page 32)
•
Multiple PCs, multiple controllers, and one NFS server (see page 34)
The section “Other Network Configurations” describes more complex,
non-default controller/PC configurations. See page 36 for details.
AdeptWindows User’s Guide, Rev. A
29
Chapter 2
Basic Configurations Using Adept Defaults
Configuring One PC, Controller, and NFS Server
As shown in Figure 2-3, there is one PC networked to one Adept controller. The
controller is using the default IP address assigned by V+. Additionally, the
controller has mounted NFS drives exported by the PC node ASERVER.
NFS
PC node ASERVER
Exported C:\ADEPT\DISKS\DISK_C
Drives
A:\
PC node ASERVER
IP: 172.16 .200. 1
SM: 255.255. 0 . 0
Network Hub
Controller 1
Using factory default
settings
To access the NFS drives, at the monitor prompt type:
fdir NFS>XC:\
(this displays a directory of all the files in the PC’s C:\ADEPT\DISKS\DISK_C directory)
fdir NFS>XA:\
(this displays a directory of all the files in the PC’s A:\ directory)
Figure 2-3. One PC, Controller, and NFS Server
To create the network shown in Figure 2-3, complete the following steps:
30
1.
Connect the Adept controller and your PC to a network hub, or use a
cross-over cable in place of the hub.
2.
Install the AdeptWindows software on the PC. See “Installing the
AdeptWindows Software” on page 23.
3.
Install TCP/IP on the PC using the IP address and subnet mask shown in
Figure 2-3. See “Installing TCP/IP on the PC” on page 40.
AdeptWindows User’s Guide, Rev. A
Chapter 2
Basic Configurations Using Adept Defaults
4.
Start the Adept controller and test the Ethernet connection. See “Using PING
to Test the Ethernet Setup” on page 46.
5.
Install the Solstice software on the PC. See “Installing Solstice Software on
the PC” on page 47. Make certain you restart the PC after installing the Solstice
software, and verify that the Solstice NFS server is running.
6.
If required, install the AdeptWindows license on the controller. See
“Installing the AdeptWindows License” on page 24.
7.
Restart the Adept controller to automatically mount the default NFS
directories exported by the PC.
8.
Start AdeptWindows on the PC and connect to the controller. Since you are
starting AdeptWindows for the first time, you will have to scan for the
controller’s IP address. See “Connecting Through Ethernet” on page 69.
9.
Test the NFS mounted drives. See “Testing the NFS Mounted Drives” on
page 60.
AdeptWindows User’s Guide, Rev. A
31
Chapter 2
Basic Configurations Using Adept Defaults
Configuring One PC, Multiple Controllers, and One NFS Server
In this example, there is one PC networked to multiple Adept controllers. Each
controller is using the default IP address assigned by V+. Additionally, all
controllers have mounted the same NFS drives exported by the PC node
ASERVER.
NFS
PC node ASERVER
Exported C:\ADEPT\DISKS\DISK_C
Drives
A:\
PC node ASERVER
IP: 172.16 .200. 1
SM: 255.255. 0 . 0
Network Hub
Controller 1
Using factory default
settings
Controller 2
Using factory default
settings
To access the NFS drives, at the monitor prompt type:
fdir NFS>XC:\
(this displays a directory of all the files in the PC’s C:\ADEPT\DISKS\DISK_C directory)
fdir NFS>XA:\
(this displays a directory of all the files in the PC’s A:\ directory)
Figure 2-4. One PC, Multiple Controllers, One NFS Server
To create the network shown in Figure 2-4, complete the following steps:
32
1.
Connect the Adept controllers and your PC to a network hub.
2.
Install the AdeptWindows software on the PC. See “Installing the
AdeptWindows Software” on page 23.
3.
Install TCP/IP on the PC using the IP address and subnet mask shown in
Figure 2-4. See “Installing TCP/IP on the PC” on page 40.
AdeptWindows User’s Guide, Rev. A
Chapter 2
Basic Configurations Using Adept Defaults
4.
Start the Adept controller and test the Ethernet connection. See “Using PING
to Test the Ethernet Setup” on page 46.
5.
Install the Solstice software on the PC. See “Installing Solstice Software on
the PC” on page 47. Make certain you restart the PC after installing the Solstice
software, and verify that the Solstice NFS server is running.
6.
Install the AdeptWindows license on each controller. See “Installing the
AdeptWindows License” on page 24.
7.
Restart the Adept controllers to automatically mount the default NFS
directories exported by the PC.
8.
Start AdeptWindows on the PC and connect to the desired controller. Since
you are starting AdeptWindows for the first time, you will have to scan for the
available IP addresses. See “Connecting Through Ethernet” on page 69.
NOTE: You can connect to multiple controllers from one PC by
simply starting additional AdeptWindows sessions and entering the
appropriate IP addresses in the Ethernet connection dialog boxes.
9.
Test the NFS mounted drives. See “Testing the NFS Mounted Drives” on
page 60.
AdeptWindows User’s Guide, Rev. A
33
Chapter 2
Basic Configurations Using Adept Defaults
Configuring Multiple PCs, Multiple Controllers, and One NFS Server
In this example, there are multiple PCs networked to multiple Adept controllers.
Each controller is using the default IP address assigned by V+. Additionally, all
controllers have mounted the same NFS drives exported by the PC node
ASERVER.
NFS
PC node ASERVER
Exported C:\ADEPT\DISKS\DISK_C
Drives
A:\
PC node ASERVER
IP: 172.16 .200. 1
SM: 255.255. 0 . 0
PC node (no NFS)
IP: 172.16 .200. 2
SM: 255.255. 0 . 0
Network Hub
Controller 1
Using factory default
settings
Controller 2
Using factory default
settings
To access the NFS drives, at the monitor prompt type:
fdir NFS>XC:\
(this displays a directory of all the files in the PC’s C:\ADEPT\DISKS\DISK_C directory)
fdir NFS>XA:\
(this displays a directory of all the files in the PC’s A:\ directory)
Figure 2-5. Single PC, Multiple Controllers, One NFS Server
To create the network shown in Figure 2-5, complete the following steps:
34
1.
Connect the Adept controllers and your PC to a network hub.
2.
Install the AdeptWindows software on each PC. See “Installing the
AdeptWindows Software” on page 23.
3.
Install TCP/IP on each PC using the IP address and subnet mask shown in
Figure 2-5. See “Installing TCP/IP on the PC” on page 40.
AdeptWindows User’s Guide, Rev. A
Chapter 2
Basic Configurations Using Adept Defaults
4.
Start the Adept controller and test the Ethernet connection. See “Using PING
to Test the Ethernet Setup” on page 46.
5.
Install the Solstice software on the NFS server PC. See “Installing Solstice
Software on the PC” on page 47. Make certain you restart the PC after
installing the Solstice software, and verify that the Solstice NFS server is
running.
6.
Install the AdeptWindows license on each controller. See “Installing the
AdeptWindows License” on page 24.
7.
Restart the Adept controllers to automatically mount the default NFS
directories exported by the NFS server PC.
8.
Start AdeptWindows on each PC and connect to the desired controller. Since
you are starting AdeptWindows for the first time, you will have to scan for the
available IP addresses. See “Connecting Through Ethernet” on page 69.
NOTE: You can connect to multiple controllers from one PC by
simply starting additional AdeptWindows sessions and entering the
appropriate IP addresses in the Ethernet connection dialog boxes.
However, only one PC can be connected through Ethernet to each
controller.
9.
Test the NFS mounted drives. See “Testing the NFS Mounted Drives” on
page 60.
AdeptWindows User’s Guide, Rev. A
35
Chapter 2
Other Network Configurations
Other Network Configurations
The previous sections described how to configure a basic Ethernet installation
between one or more PCs (with only one PC configured as an NFS server), a hub
or cross-over cable, and one or more Adept controllers. In this section, we will
describe more complex installations with multiple PCs, multiple controllers, and
multiple NFS servers.
Configuring Multiple PCs, Controllers, and NFS Servers
In this example, there are multiple PCs networked to multiple Adept controllers.
Each controller is using the default IP address assigned by V+. Additionally,
Controller 1 has mounted two NFS drives exported by the PC node ASERVER;
Controller 2 has mounted two NFS drives exported by the PC node BSERVER.
NFS
PC node ASERVER
Exported C:\ADEPT\DISKS\DISK_C
Drives
A:\
NFS
PC node BSERVER
Mounted C:\ADEPT\DISKS\DISK_C
Drives
A:\
PC node ASERVER
IP: 172.16 .200. 1
SM: 255.255. 0 . 0
PC node BSERVER
IP: 172.16 .200. 2
SM: 255.255. 0 . 0
Network Hub
Controller 1
Using factory default
settings
Controller 2
Using factory default
settings
Controller 1 NETWORK configuration statements:
MOUNT 1 = “/MOUNT ‘XC’ /NODE ‘ASERVER’ /PATH ‘C:/ADEPT/DISKS/DISK_C’”
MOUNT 2 = “/MOUNT ‘XA’ /NODE ‘ASERVER’ /PATH ‘A:/’”
NODE 1 = “/NODE ‘ASERVER’ /ADDRESS 172 16 200 1”
Controller 2 NETWORK configuration statements:
MOUNT 1 = “/MOUNT ‘XC2’ /NODE ‘BSERVER’ /PATH ‘C:/ADEPT/DISKS/DISK_C’”
MOUNT 2 = “/MOUNT ‘XA2’ /NODE ‘BSERVER’ /PATH ‘A:/’”
NODE 1 = “/NODE ‘BSERVER’ /ADDRESS 172 16 200 2”
Figure 2-6. Multiple PCs, Controllers, and NFS Servers
36
AdeptWindows User’s Guide, Rev. A
Chapter 2
Other Network Configurations
To create the network shown in Figure 2-6, complete the following steps:
1.
Connect the Adept controllers and your PC to a network hub.
2.
Install the AdeptWindows software on each PC. See “Installing the
AdeptWindows Software” on page 23.
3.
Install TCP/IP on each PC using the IP address and subnet mask shown in
Figure 2-6. See “Installing TCP/IP on the PC” on page 40.
4.
Start the Adept controller and test the Ethernet connection. See “Using PING
to Test the Ethernet Setup” on page 46.
5.
Install the Solstice software on the NFS server PC(s). See “Installing Solstice
Software on the PC” on page 47. Make certain you restart the PC(s) after
installing the Solstice software, and verify that the Solstice NFS server is
running.
6.
Install the AdeptWindows license on each controller. See “Installing the
AdeptWindows License” on page 24.
7.
Modify the NETWORK section of the V+ System Configuration file for each
controller using the statements shown in Figure 2-6. See “Changing the
Names and Paths for NFS Mounted Drives” on page 64.
8.
Restart the Adept controllers to automatically mount the default NFS
directories exported by the NFS server PC.
9.
Start AdeptWindows on each PC and connect to the desired controller. Since
you are starting AdeptWindows for the first time, you will have to scan for the
available IP addresses. See “Connecting Through Ethernet” on page 69.
NOTE: You can connect to multiple controllers from one PC by
simply starting additional AdeptWindows sessions and entering the
appropriate IP addresses in the Ethernet connection dialog boxes.
However, only one PC can be connected through Ethernet to each
controller.
10. Test the NFS mounted drives. See “Testing the NFS Mounted Drives” on
page 60.
AdeptWindows User’s Guide, Rev. A
37
Chapter 2
Other Network Configurations
Configuring Multiple PCs, Controllers, NFS Servers, and Networks
In this example, there are multiple PCs networked to multiple Adept controllers.
This network is attached to another network by a hub/gateway. In this situation,
all PC node names, IP addresses, and subnet masks are assigned by the network
administrator.
NFS
PC node
Exported C:\ADEPT\DISKS\DISK_C
Drives
A:\
NFS
PC node
Exported C:\ADEPT\DISKS\DISK_C
Drives
A:\
PC node
(IP address and subnet
mask assigned by
network administrator.)
PC node
(IP address and subnet
mask assigned by
network administrator.)
Network
Hub/Gateway
Network Hub
Controller
(IP address and subnet
mask assigned by
network administrator.)
Controller
(IP address and subnet
mask assigned by
network administrator.)
All PC node names, IP addresses, and subnet masks are assigned by the network
administrator. The NFS mount information and IP addresses must be specified in
CONFIG_C.
Figure 2-7. Multiple PCs, Controllers, NFS Servers, and Networks
To create the network shown in Figure 2-7, complete the following steps:
38
1.
Connect the Adept controller and your PC to a network hub, or use a
cross-over cable in place of the hub.
2.
Install the AdeptWindows software on the PC. See “Installing the
AdeptWindows Software” on page 23.
3.
Install TCP/IP on each PC using the IP address and subnet mask assigned by
your system administrator. See “Installing TCP/IP on the PC” on page 40.
4.
Start the Adept controller and test the Ethernet connection. See “Using PING
to Test the Ethernet Setup” on page 46.
AdeptWindows User’s Guide, Rev. A
Chapter 2
Other Network Configurations
5.
Install the Solstice software on the NFS server PC(s). See “Installing Solstice
Software on the PC” on page 47. Make certain you restart the PC(s) after
installing the Solstice software, and verify that the Solstice NFS server is
running.
6.
Install the AdeptWindows license on each controller. See “Installing the
AdeptWindows License” on page 24.
7.
Modify the NETWORK section of the V+ System Configuration file for each
controller. The node names, IP addresses, mount names, etc., must be assigned
by your system administrator. See “Changing the Names and Paths for NFS
Mounted Drives” on page 64.
8.
Modify the user-defined IP address for each controller to the settings assigned
by your system administrator. See “Changing the User-Defined IP Address
in NVRAM” on page 64.
9.
Restart the Adept controllers to automatically mount the default NFS
directories exported by the NFS server PC.
10. Start AdeptWindows on each PC and connect to the desired controller. Since
you are starting AdeptWindows for the first time, you will have to scan for the
available IP addresses. See “Connecting Through Ethernet” on page 69.
NOTE: You can connect to multiple controllers from one PC by
simply starting additional AdeptWindows sessions and entering the
appropriate IP addresses in the Ethernet connection dialog boxes.
However, only one PC can be connected through Ethernet to each
controller.
11. Test the NFS mounted drives. See “Testing the NFS Mounted Drives” on
page 60.
AdeptWindows User’s Guide, Rev. A
39
Chapter 2
Installing TCP/IP on the PC
Installing TCP/IP on the PC
TCP/IP is a networking protocol that is used to establish Ethernet
communications between the PC and the Adept controller. The setup for
Microsoft Windows 95/98 and NT 4.0 is slightly different.
Installing TCP/IP on a PC Running Windows 95
To install the TCP/IP protocol on a PC running Windows 95:
1.
From the START menu in Windows 95:
Start ➡ Settings ➡ Control Panel ➡ Network
The following dialog box is displayed:
Figure 2-8. Windows 95 Network Configuration Dialog Box
40
AdeptWindows User’s Guide, Rev. A
Chapter 2
Installing TCP/IP on the PC
2.
If TCP/IP is on the list of installed components, go to Step 3. If TCP/IP is not
on the list of installed components, choose Add to add a new protocol.
Figure 2-9. Selecting a New Network Component (Windows 95)
a.
Select Protocol from the list of network components.
b.
Choose Add to display the Network Protocol selection.
Figure 2-10. Network Protocol Selection (Windows 95)
3.
c.
Select Microsoft from the Manufacturers list.
d.
Select TCP/IP from the Network Protocols list.
e.
Choose OK to save these selections and return to the Network dialog
box.
From the Network dialog box, select TCP/IP.
AdeptWindows User’s Guide, Rev. A
41
Chapter 2
4.
Installing TCP/IP on the PC
Choose the Properties tab to display the TCP/IP Properties dialog box.
Figure 2-11. TCP/IP Properties Dialog Box (Windows 95)
5.
Type in the correct IP Address and Subnet Mask. If you are using the default
IP address (in NVRAM) for the Adept controller, then you must use the
following IP address and subnet mask for the PC:
IP Address:
172.16 .200. xx
Subnet Mask: 255.255. 0 . 0
where “xx” in the IP address is a unique node address for each PC in the
network. Adept recommends using 1 for the first PC, 2 for the second PC, 3
for the third PC, etc. If you are not using the default IP address for the Adept
controller, see your network system administrator.
Installing TCP/IP on a PC Running Windows NT 4.0
To install TCP/IP on your Windows NT 4.0 PC:
1.
From the START menu in Windows NT 4.0:
Start ➡ Settings ➡ Control Panel ➡ Network
42
AdeptWindows User’s Guide, Rev. A
Chapter 2
Installing TCP/IP on the PC
The following dialog box is displayed:
Figure 2-12. Windows NT 4.0 Network Configuration Dialog Box
2.
If TCP/IP is on the list of installed components, go to Step 3. If TCP/IP is not
on the list of installed components, choose Add to add a new protocol.
Figure 2-13. Selecting a Network Component (Windows NT)
AdeptWindows User’s Guide, Rev. A
43
Chapter 2
Installing TCP/IP on the PC
a.
Select TPC/IP Protocol from the list of network components.
b.
Choose OK to add the Network Protocol selection.
Figure 2-14. Network Protocol Selection (Windows NT)
c.
3.
44
Choose OK to save these selections and return to the Network dialog
box.
From the Network dialog box, select Protocols.
AdeptWindows User’s Guide, Rev. A
Chapter 2
4.
Installing TCP/IP on the PC
Choose the Properties tab to display the TCP/IP Properties dialog box.
Figure 2-15. TCP/IP Properties Dialog Box (Windows NT)
5.
Type in the correct IP Address and Subnet Mask. If you are using the default
IP address for the Adept controller, then you must use the following IP
address and subnet mask for the PC:
IP Address:
172.16 .200. xx
Subnet Mask: 255.255. 0 . 0
where “xx” in the IP address is a unique node address for each PC in the
network. Adept recommends using 1 for the first PC, 2 for the second PC, 3
for the third PC, etc. If you are not using the default IP address for the Adept
controller, see your network system administrator.
AdeptWindows User’s Guide, Rev. A
45
Chapter 2
Using PING to Test the Ethernet Setup
Using PING to Test the Ethernet Setup
To test the Ethernet connection, it is useful to know how to “PING” between the
PC and the controller. The PING command sends a quick message between the
two devices to verify that the Ethernet connection is working.
Pinging the Controller
To test the communication from the PC to the Adept controller, you can execute
the PING command at the PC’s MS-DOS prompt. From the Windows Program
Manager, select:
Start ➡ Programs ➡ MS-DOS Prompt
At the MS-DOS prompt, type the PING command followed by the IP address (or
host name) for the Adept controller. If you do not know the IP address of the
controller, you will have to scan for it using AdeptWindows. See “Scanning
Ethernet for Available IP Addresses” on page 69 for details.
For example, to PING a controller with the IP address 172.16.113.170, type:
PING 172.16.113.170
If the PING is successful, a message similar to the following is displayed:
Pinging 172.16.113.170 with 32 bytes of data:
Reply from 172.16.113.170: bytes=32 time=39ms TTL=15
Reply from 172.16.113.170: bytes=32 time=39ms TTL=15
Reply from 172.16.113.170: bytes=32 time=39ms TTL=15
Pinging the PC
You can also use the PING command to test the communication from the Adept
controller to your PC. At the Monitor prompt, type the PING command followed
by the IP address (or host name) for the PC:
PING 172.16.200.1
If the PING is successful, the following message is displayed:
.Success
46
AdeptWindows User’s Guide, Rev. A
Chapter 2
Installing NFS
Installing NFS
Network Files System (NFS) capability requires two parts: an NFS client and an
NFS server. AdeptNet, included with the AWC board, provides the NFS client
portion on the Adept controller. To complete the package, you must also install
NFS server software on the PC.
Once both parts have been installed on their respective systems, the client system
can “mount” additional drives/directories exported by any “server”. After
mounting the drives, the client can access files on these drives in the same manner
as any local drive. This allows the Adept controller to:
•
Load or store files from/to the server.
•
Create or delete files and directories on the server.
•
Attach, read, and write files on the server under program control.
Your AdeptWindows software includes an NFS software package for the PC
named “Solstice”, manufactured by SUN Microsystems. The following section
describes the installation process for this software.
Installing Solstice Software on the PC
This section describes the installation of the Solstice NFS Server on a PC with
either the Microsoft Windows 95/98 or Windows NT 4.0 operating system. For
details on installing other Solstice components, please refer to the Solstice
Network Client 3.2 User’s Guide and online documentation supplied with the
Solstice CD-ROM.
To install Solstice NFS Server:
1.
Put the Solstice CD-ROM into the CD-ROM drive of your PC. Your PC will
automatically start the SETUP program from the CD-ROM. The startup
window shown in Figure 2-16 is displayed.
If the CD was already in the drive, you need to eject the CD and then put it
back into the drive.
If you have Windows AUTOSTART disabled, then you will have to manually
invoke the setup from the Windows Taskbar by selecting
Start ➡ Run
and then typing
[CDROM]:\SETUP.EXE
AdeptWindows User’s Guide, Rev. A
47
Chapter 2
Installing NFS
where [CDROM] is the letter of your CD-ROM drive.
Figure 2-16. The Solstice Network Client Startup Window
2.
Choose the Install Network Client icon (highlighted above). The system starts
the installation process and displays the Welcome window.
Figure 2-17. Solstice Welcome Window
48
AdeptWindows User’s Guide, Rev. A
Chapter 2
3.
Installing NFS
Choose Next to proceed. The system displays the User Information window
shown in Figure 2-18.
Figure 2-18. Solstice User Information Window
4.
Type in your name, company information, and Solstice serial number. The
serial number is printed on the Solstice NFS Client User Right-to-Use License
Agreement.
AdeptWindows User’s Guide, Rev. A
49
Chapter 2
Installing NFS
5.
Choose Next to proceed. The Registration Confirmation window is displayed.
If the information is correct, choose Yes. The Choose Destination Directory
window is displayed (see Figure 2-19).
Figure 2-19. Solstice Choose Destination Directory Window
If the information is incorrect, choose No and you will return to the User
Information window shown in Figure 2-18.
50
AdeptWindows User’s Guide, Rev. A
Chapter 2
Installing NFS
6.
Check the directory information in the Choose Directory Destination window.
You can use the displayed default directory or specify a different directory.
Choose Next to proceed. The Setup Type window is displayed (see Figure
2-20).
Figure 2-20. Solstice Setup Type Window
7.
Select the Custom setup and choose Next. The Select Components window is
displayed (see Figure 2-21).
Figure 2-21. Solstice Select Components Window
AdeptWindows User’s Guide, Rev. A
51
Chapter 2
8.
Installing NFS
Select File and Print Sharing and deselect all the other check boxes. Then
select File and Print Sharing again and choose Change. The Select
Sub-components window is displayed (see Figure 2-22).
Figure 2-22. Solstice Select Sub-components Window
9.
Select NFS Server and deselect all other boxes. Choose Continue to return to
the Select Components window.
10. Choose Next in the Select Components window to proceed. The Setup
Configuration Wizard window is displayed (see Figure 2-23).
Figure 2-23. Solstice Setup Configuration Wizard
52
AdeptWindows User’s Guide, Rev. A
Chapter 2
Installing NFS
11. Choose Next to proceed. The License Server Information window is displayed.
Figure 2-24. License Server Information
12. Verify that the Use License Server checkbox is unchecked and choose Next to
proceed. The Name Service window is displayed (see Figure 2-25).
Figure 2-25. Solstice Name Service Window
AdeptWindows User’s Guide, Rev. A
53
Chapter 2
Installing NFS
13. Select Windows Default and then choose Next. The Start Copying Files
confirmation window is displayed (see Figure 2-26).
Figure 2-26. Solstice Start Copying Files Confirmation Window
14. Choose Next to proceed. The Setup is complete window is displayed (see
Figure 2-27).
Figure 2-27. Solstice Setup Is Complete Window
15. Select No, I will restart my computer later and then choose Finish.
54
AdeptWindows User’s Guide, Rev. A
Chapter 2
Installing NFS
16. Use Windows Explorer or My Computer to see if the subdirectory
C:\Program Files\Solstice\etc
is present. If it is, go to Step 17. If not, you need to add that subdirectory.
NOTE: If you did not use the default destination directory during
installation, you will need to look for the “etc” subdirectory where
Solstice was installed. See Step 5 for details.
a.
From the Windows Explorer or My Computer menu bar, select
File ➡ New ➡ Folder
Figure 2-28. Creating the “etc” Directory
b.
Locate the highlighted new directory named “New Folder” in the
window. Type the name “etc” (no quotes) and press the ENTER key. The
directory name changes to “etc”.
c.
Close Windows Explorer or My Computer by selecting
File ➡ Close
17. Restart your computer. If you have a diskette in the floppy drive, remove it
before restarting your computer.
Enabling NFS Sharing
After restarting the computer you need to enable NFS sharing on the directories
you want to share. You can use Windows Explorer or My Computer to display the
directories on your system.
AdeptWindows User’s Guide, Rev. A
55
Chapter 2
Installing NFS
NOTE: The Adept controller’s default NFS configuration (set in
CONFIG_C) will attempt to mount the following directories on
your PC:
C:\Adept\Disks\Disk_C
A:\
If you wish to use the default mounts, you must enable NFS sharing on the
Disk_C parent directory (named Disks), as shown in Figure 2-29. You must
also enable sharing on drive A.
When using the Adept controller’s default mounts, use the Windows
default share names for the shared drives (share name Disks for the Disks
folder and share name A for the A:\ drive).
To enable NFS sharing:
1.
Using Windows Explorer or My Computer, select a directory, press the right
mouse button, and select Properties. The Properties window is displayed (see
Figure 2-29).
Figure 2-29. NFS Sharing Properties
56
2.
Choose the NFS Sharing tab to display the NFS sharing properties.
3.
Select Shared As. The default Share Name, Access Type, and Access
Restriction are enabled. The Share Name box displays the default share name.
AdeptWindows User’s Guide, Rev. A
Chapter 2
Installing NFS
4.
Choose OK to save the selections and close the Properties window.
5.
Repeat steps 1 through 4 for the remaining drives/directories you wish to
share.
For further information refer to the SunSoft Solstice Network Client 3.2 User’s
Guide and online documentation supplied on the Solstice CD-ROM.
Checking the Status of the Solstice NFS Server
This section describes how to check the status of the Solstice NFS Server on
Windows NT and Windows 95/98 systems.
On Windows NT Systems
To check the status of Solstice NFS Server on Windows NT systems:
1.
From the START menu in Windows NT:
Start ➡ Settings ➡ Control Panel ➡ Services
The following dialog box is displayed:
Figure 2-30. Windows NT Services Dialog Box
2.
Scroll down to the service named Solstice NFS Server. The Status column
should be marked Started and the Startup column should be marked
Automatic.
If the Solstice NFS Server is not started (the Status column is blank), highlight
the Solstice NFS Server line and then choose Start. The Status column changes
to Started.
AdeptWindows User’s Guide, Rev. A
57
Chapter 2
Installing NFS
If the Solstice NFS Server is not set for automatic startup (the Startup column
is labeled Manual), highlight the Solstice NFS Server line and then choose
Startup. The following dialog box is displayed:
Figure 2-31. Windows NT Service Dialog Box
Select Automatic and then choose OK to close the Service dialog box.
3.
Choose Close to exit the Services dialog box.
On Windows 95/98 Systems
To check the status of Solstice NFS Server on Windows 95/98 systems:
1.
Display the Task Bar on the Windows 95 desktop.
2.
Check the icons on the right-hand side of the Task Bar. Each icon represents a
program or task that is loaded or running. Figure 2-32 shows the Solstice NFS
Server icon as it appears on the Windows 95/98 Task Bar.
Solstice NFS Server Icon
Figure 2-32. Solstice NFS Server Icon on Windows 95/98 Taskbar
58
AdeptWindows User’s Guide, Rev. A
Chapter 2
3.
Installing NFS
If the Solstice NFS Server icon does not appear on the Task Bar, it must be
started manually. From the START menu in Windows 95:
Start ➡ Programs ➡ Solstice Utilities ➡ NFS Server
The Solstice NFS Server starts and the icon appears on the Task Bar (see
Figure 2-32).
Mounting an NFS Drive From the Adept Controller
At startup, provided that the NFS server software is already running, the Adept
controller performs the necessary network initialization and mounting procedure
to mount the external drive(s) defined by the MOUNT statements contained in
the configuration data file. See “Changing the Names and Paths for NFS
Mounted Drives” on page 64.
If the NFS server cannot be recognized, this mount fails. A failure occurs, for
example, if the server software is not running or if the server is disconnected from
the network. Use the NET monitor command after startup to determine which
mounts were successful. See “Testing the NFS Mounted Drives” on page 60 for
details.
NOTE: You cannot initialize the network after the V+ system has
completed its initialization. You can use the PING monitor
command to verify network connectivity. If a problem exists with
the network connection, correct it and restart the V + system.
You can also mount additional NFS drives using the FSET monitor command and
the FSET program instruction, or add additional statements to the configuration
file (using CONFIG_C) to automatically mount the additional drives. Refer to the
AdeptNet User’s Guide for more details.
Referring to Mounted Drives
The following syntax is used to fully specify any file in the V+ environment:
device>disk_unit: directory_path\ filename
For example, the full specification of a file called MY_FILE.DAT, residing in the
directory NEW_DATA on an Adept controller’s local D drive, is:
DISK>D:\NEW_DATA\MY_FILE.DAT
With the NFS functionality, the device name NFS has been added to V+. If the
same file is in a directory with the same name but on a remote disk mount called
DISK1, the full description is:
NFS>DISK1:\NEW_DATA\MY_FILE.DAT
AdeptWindows User’s Guide, Rev. A
59
Chapter 2
Installing NFS
In the case of the “default” NETWORK configuration statements, the mounted
drives are designated “XC” and “XA”. So, the specification for the same file
(MY_FILE.DAT) on the mounted XC drive would look like:
NFS>XC:\MY_FILE.DAT
Testing the NFS Mounted Drives
The NET command can be used to display the status of any mounted drives. At
the dot prompt, type
NET
The network status is displayed:
Figure 2-33. Adept Controller Network Status
Once you have verified that the correct drives are mounted, you can list the files
on any of the mounted drives by typing:
fdir NFS>[MOUNT]:\
where [MOUNT] is the mount name assigned to the drive. For example, in Figure
2-33 the mount name XC is assigned to the directory C:\ADEPT\DISKS\DISK_C.
So, to display a listing of the files in that directory, simply type:
fdir NFS>XC:\
60
AdeptWindows User’s Guide, Rev. A
Chapter 2
Installing NFS
A directory listing similar to the one in Figure 2-34 is displayed.
Figure 2-34. Directory Listing of an NFS Shared Drive
AdeptWindows User’s Guide, Rev. A
61
Chapter 2
Setting the DIP Switches on the AWC Board
Setting the DIP Switches on the AWC Board
The factory default settings for hardware DIP switch SW1 are:
Table 2-1. DIP Switch SW1 Factory Settings
SW 4
SW 3 SW 2
SW 1
Interpretation
OFF
OFF
OFF
CPU #1, normal operation (per NVRAM settings)
OFF
With the factory DIP switch setting, the system will read the configuration data
from the NVRAM chip. This allows you to set all the configuration options in
software without changing the physical DIP switches. See the description of the
CONFIG_C program in the Instructions for Adept Utility Programs for details.
NOTE: When the hardware or software switches on the AWC
board are set for AdeptWindows, the AdeptWindows option must
be enabled (see “Installing the AdeptWindows License” on page
24 for details). Otherwise, the connection will succeed but the
installed license options on the Adept controller will not be
available.
If you decide to use the hardware DIP switch settings, rather than the software
switches in NVRAM, you must first decide which interface you want to use—
serial or Ethernet—and then use the appropriate DIP switch settings shown in the
Adept MV Controller User’s Guide. For details on the serial interface, see “Setting
up a Serial Connection” on page 25. For details on the Ethernet interface, see
“Ethernet Connection Overview” on page 27.
62
AdeptWindows User’s Guide, Rev. A
Chapter 2
Changing AWC Board and Network Settings
Changing AWC Board and Network Settings
This section describes how to use the Adept controller’s CONFIG_C utility to
change software switch settings, the IP address stored in NVRAM, and the names
and paths for NFS mounted drives.
Loading and Running the CONFIG_C Utility
To access the CONFIG_C utility:
1.
Change to the UTIL directory by typing:
↵
CD UTIL
2.
Load the CONFIG_C utility by typing:
LOAD CONFIG_C
3.
↵
Run the CONFIG_C utility by typing:
EXECUTE A.CONFIG_C↵
The following menu is displayed:
Figure 2-35. The CONFIG_C Main Menu
AdeptWindows User’s Guide, Rev. A
63
Chapter 2
Changing AWC Board and Network Settings
Changing the Software Switch Settings
The AWC board is equipped with hardware and software switches. The software
switches can be viewed and changed using the CONFIG_C utility. See the
Instructions for Adept Utility Programs manual for details.
Changing the User-Defined IP Address in NVRAM
If you are connecting your Adept controller to an existing network (see Figure
2-7), you will need to set the user-defined IP address to match your existing
network. In this situation, your network system administrator will need to specify
the correct IP address for the Adept controller.
The user-defined IP address is set to:
0.0.0.0
when the AWC board is shipped from the Adept factory.
The user-defined IP address can be viewed and changed using the CONFIG_C
utility. See the Instructions for Adept Utility Programs manual for details.
Changing the Names and Paths for NFS Mounted Drives
In certain situations, it may be necessary to change the node names, IP addresses,
or paths of any NFS mounted drives. This information is stored in the NETWORK
section of the V+ system configuration file. It can be viewed and changed using
the CONFIG_C utility.
Before editing the NETWORK section of the V+ system configuration file, you
need the following information:
•
•
•
•
The IP address of each PC that contains the drives/directories you wish to
mount
The path/name of each directory you wish to mount
A node “name” that you wish to assign to each PC
A mount “name” that you wish to assign to each mounted drive.
For example, the following NETWORK configuration statements create two
mounted drives: XC and XA, and create the PC node ASERVER with the IP
address 172.16.200.1:
.NETWORK
MOUNT 1 = “/MOUNT ‘XC’ /NODE ‘ASERVER’ /PATH ‘C:/ADEPT/DISKS/DISK_C’”
MOUNT 2 = “/MOUNT ‘XA’ /NODE ‘ASERVER’ /PATH ‘A:/’”
NODE 1 = “/NODE ‘ASERVER’ /ADDRESS 172 16 200 1”
For more information on viewing and editing the default configuration file, see
the Instructions for Adept Utility Programs manual.
64
AdeptWindows User’s Guide, Rev. A
Chapter 2
Installing DDE With AIM
Installing DDE With AIM
The DDE driver software is part of the standard AIM 3.1 and AIM 3.2 Baseline
module. However, it is not automatically enabled.
To enable the AIM DDE server:
Setup ➡ Initialization Data ➡ double-click “baseini.db” ➡
Seek ➡ Index ➡ double-click “DDE enable”
The DDE Enable record is displayed.
Figure 2-36. DDE Enable Record
Select On to enable the DDE server (the default setting is Off).
Shut down AIM and then restart it. The DDE server is automatically enabled.
AdeptWindows User’s Guide, Rev. A
65
AdeptWindows PC User Interface
Introduction
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
68
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
68
Connecting Through Ethernet . . . . . . . . .
Scanning Ethernet for Available IP Addresses
Connecting Through a Serial Port . . . . . . .
AdeptWindows PC Main Window . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
69
69
70
71
.
.
.
.
.
.
Starting AdeptWindows PC
Disconnecting From the Adept Controller
.
.
.
.
.
.
.
.
.
.
.
.
72
Closing AdeptWindows PC
.
.
.
.
.
.
.
.
.
.
.
.
73
.
.
.
.
.
.
AdeptWindows User’s Guide, Rev. A
67
Chapter 3
Introduction
Introduction
The AdeptWindows PC user interface (AdeptWindows PC) allows direct
communication between your PC and the Adept controller. With AdeptWindows
PC running on your PC, you can operate the Adept controller from your PC using
the same commands and keystrokes that you would use with the Adept keyboard
and VGA monitor.
NOTE: If you are using the Ethernet option, it is possible to connect
to multiple Adept controllers at the same time (each connection
requires a separate AdeptWindows PC session running on the PC).
The maximum number of open AdeptWindows PC sessions is
limited only by the amount of memory (RAM) installed on your PC.
Starting AdeptWindows PC
To start AdeptWindows PC from the Windows Program Manager:
Start ➡ Programs ➡ Adept ➡ AdeptWindows PC
If this is the first time that AdeptWindows PC has been started on the system, the
AdeptWindows PC introductory screen is displayed followed by the Connection
type dialog box (see Figure 3-1).
NOTE: The AdeptWindows TFTP Server is also automatically
started and then minimized on the Windows Taskbar. See Chapter 4
for details.
Figure 3-1. Connection Type Dialog Box
Select the connection type: either Ethernet or a COM port (for serial
communication). Choose OK to save the selection.
NOTE: The system “remembers” your connection preference. It
prompts you appropriately the next time you try to connect.
68
AdeptWindows User’s Guide, Rev. A
Chapter 3
Starting AdeptWindows PC
Connecting Through Ethernet
Selecting Ethernet displays the following dialog box:
Figure 3-2. V+ Cell Address Dialog Box
In the IP field, type the IP address (or host name) for the Adept controller (if you
do not know the IP address, see “Scanning Ethernet for Available IP
Addresses”, below). This should be the same address used when you PINGed the
controller during installation (see Chapter 2 for details).
Scanning Ethernet for Available IP Addresses
If you do not know what IP addresses are available, you can select File ➡ Scan
Ethernet to display a list of the Adept controller IP addresses that support
AdeptWindows PC on your network. The following window is displayed:
Figure 3-3. Listing of Available IP Addresses
AdeptWindows User’s Guide, Rev. A
69
Chapter 3
Starting AdeptWindows PC
Connecting Through a Serial Port
Selecting COM Port displays the following dialog box:
Figure 3-4. COM Port Selection Dialog Box
Use the scrolling COM Port list to select the COM port your PC uses to connect to
the Adept controller. See Chapter 2 for details.
70
AdeptWindows User’s Guide, Rev. A
Chapter 3
Starting AdeptWindows PC
AdeptWindows PC Main Window
If autoboot is enabled and the controller is booted and waiting, the
communication should happen immediately (within 1-2 seconds) after you
choose OK. When communication begins, the AdeptWindows PC window,
shown in Figure 3-5, expands to fill the entire PC screen.
Figure 3-5. AdeptWindows PC Main Window
NOTE: If autoboot is not enabled and the Adept controller is on
when you try to connect, the DDT window (black window with
yellow text) will be displayed when the connection is made. You
will then see the “Load from local disk...” prompt and DDT will
wait for your input before proceeding. See “Booting the Adept
Controller Over Ethernet” on page 77 for details.
You can reduce the window size by double-clicking on the AdeptWindows PC
menu bar or clicking:
File ➡ Normal Size
AdeptWindows User’s Guide, Rev. A
71
Chapter 3
Disconnecting From the Adept Controller
Once the window is opened, you can execute Monitor commands, use the SEE
editor, start up AIM, etc.
If the AdeptFTP or AdeptNFS license is installed on your Adept controller and the
appropriate software is installed on your PC, then you can perform file transfers
between the Adept controller and your PC. This allows you, for instance, to write
and edit programs on the PC (using the AdeptWindows Offline Editor) and then
transfer them to the Adept controller using AdeptFTP or AdeptNFS. See Chapter
6 for details on the AdeptWindows Offline Editor. See the Instructions for Adept
Utility Programs for details on the AdeptFTP client/server utility. See the
AdeptNet User’s Guide for details on AdeptNFS software.
NOTE: File transfers require either the AdeptFTP or AdeptNFS
license and File Transfer Protocol (FTP) or Network File System
(NFS) software running on your PC. Windows contains an FTP
program that can be accessed by typing “FTP” (no quotes) at the
MS-DOS prompt (or type “FTP ?” for a list of commands). NFS
software can be purchased from software retailers.
Disconnecting From the Adept Controller
In certain situations, you may wish to disconnect from the current Adept
controller and then connect to a different Adept controller without closing
AdeptWindows PC. To disconnect from an Adept controller:
File ➡ Disconnect
The following message is displayed:
Figure 3-6. Disconnecting From the Adept Controller
Choose Yes to disconnect. You can now reconnect to a different Adept controller
by following the procedure described in Connecting Through Ethernet or
Connecting Through a Serial Port.
72
AdeptWindows User’s Guide, Rev. A
Chapter 3
Closing AdeptWindows PC
The Disconnect command does not change the status or operation of the Adept
controller. After disconnecting it is always possible to reconnect to the Adept
controller.
Closing AdeptWindows PC
To close AdeptWindows PC:
File ➡ Exit
The following message is displayed:
Figure 3-7. Exiting AdeptWindows PC
Choose Yes to exit.
NOTE: If you are still connected to the Adept controller, the
message shown in Figure 3-6 is displayed. Follow the procedure in
“Disconnecting From the Adept Controller” on page 72 to
disconnect from the Adept controller.
The Windows 95 or Windows NT desktop is displayed.
AdeptWindows User’s Guide, Rev. A
73
AdeptWindows TFTP Server
Introduction
.
.
.
.
.
.
.
.
.
.
.
.
.
.
76
.
.
.
.
.
.
.
.
.
.
.
.
.
.
76
Booting the Adept Controller Over Ethernet
.
.
.
.
.
.
.
.
.
.
.
77
TFTP Server Diagnostics
.
.
.
.
.
.
.
.
.
Starting AdeptWindows TFTP Server
.
.
.
.
.
.
.
.
.
.
.
.
.
.
78
Enabling Diagnostic Messages
Clearing the Messages . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
78
79
.
.
.
.
.
.
.
.
.
.
.
.
.
80
.
.
.
.
Closing AdeptWindows TFTP Server
.
.
AdeptWindows User’s Guide, Rev. A
75
Chapter 4
Introduction
Introduction
This chapter describes the operation of AdeptWindows TFTP Server.
The AdeptWindows TFTP Server is automatically started whenever
AdeptWindows PC is started. It runs in the background and reacts only when the
AWC board requests data. The TFTP Server also includes a diagnostic capability
for displaying messages when booting the Adept controller over Ethernet. See
“TFTP Server Diagnostics” on page 78 for details.
Starting AdeptWindows TFTP Server
AdeptWindows TFTP Server starts automatically whenever the AdeptWindows
PC program is started. See “Starting AdeptWindows PC” on page 68 for details.
Or, to manually start AdeptWindows TFTP Server from the Windows Program
Manager:
Start ➡ Programs ➡ Adept ➡ AdeptWindows TFTP Server
The program displays the following window:
Figure 4-1. AdeptWindows TFTP Server Main Window
Once the TFTP Server is initialized, the window is minimized on the Windows
Taskbar (see Figure 4-2). To view the TFTP Server window, simply double-click
the Adept TFTP Server task on the Taskbar.
Figure 4-2. AdeptWindows TFTP Server Minimized
76
AdeptWindows User’s Guide, Rev. A
Chapter 4
Booting the Adept Controller Over Ethernet
The AdeptWindows TFTP Server window has two menus:
•
•
File
Help
See “Adept TFTP Server Main Menu Bar” on page 126 for details.
Booting the Adept Controller Over Ethernet
The TFTP Server is used to boot the Adept controller (equipped with an AWC
board) over Ethernet.
NOTE: All screen messages shown in this section are displayed in
the DDT window (black window with yellow text).
To boot the Adept controller over Ethernet:
1.
Set the hardware DIP or software switches on the Adept controller so that
auto boot is disabled. See “Setting the DIP Switches on the AWC Board” on
page 62 for details on setting the hardware DIP switches. See the Instructions
for Adept Utility Programs for details on setting the NVRAM software
switches using the CONFIG_C utility.
2.
Start the PC.
3.
Start AdeptWindows PC and check that the TFTP Server window is displayed
(it will appear as a minimized task on the Windows Taskbar). See “Starting
AdeptWindows TFTP Server” on page 76 for details.
NOTE: If you are using the Adept VGB/monitor/keyboard
interface in place of AdeptWindows PC, you can manually start the
TFTP Server without starting AdeptWindows. See “Starting
AdeptWindows TFTP Server” on page 76 for details.
4.
Start the Adept controller. See the Adept MV Controller User’s Guide for
details. After the controller completes the self tests, the following prompt is
displayed:
Load from local disk (B or D) or network disk (X) [default is D]?
NOTE: If a SIO board is present, the list of local disks is A, B, C, or
D, and the default disk is A.
5.
Type “X” to choose the network disk and press the ENTER key. The following
prompt is displayed:
Enter IP address of server (e.g., 172.16.200.1):
AdeptWindows User’s Guide, Rev. A
77
Chapter 4
6.
TFTP Server Diagnostics
Type the IP address of the PC and press the ENTER key. If you do not know
the IP address of your PC, you should contact your network administrator.
The following prompt is displayed:
Enter directory path (e.g., “A:\” or “C:\Adept\Disks\Disk_C\”):
7.
Type the directory path containing the V+ version 13.0 or later system files and
then press the ENTER key. The directory path must be in the format that is
native to the machine that is running TFTP. That is, for PCs, backslashes are
used to separate directory names.
NOTE: A separator (slash or backslash) must be included at the
end of the path if a directory is specified.
The boot process continues and the following messages are displayed:
Reading C:\Adept\Disks\Disk_C\ADEPTSYS.ADM
Reading C:\Adept\Disks\Disk_C\ADEPTSYS.CFG
Reading C:\Adept\Disks\Disk_C\ADEPTSYS.SYS
NOTE: You can abort the Ethernet boot process by pressing the
ENTER key one time. The system returns to the “Load from local
disk...” prompt displayed in Step 4.
TFTP Server Diagnostics
The AdeptWindows TFTP Server window contains a diagnostics capability for
displaying messages while booting the Adept controller over Ethernet.
Enabling Diagnostic Messages
To enable diagnostics:
File ➡ Settings
78
AdeptWindows User’s Guide, Rev. A
Chapter 4
TFTP Server Diagnostics
The program displays the Settings window:
Figure 4-3. AdeptWindows TFTP Server Settings Window
After the Settings window appears, select the Display diagnostics checkbox.
Close the Settings window by choosing OK.
Once the diagnostics are enabled, the AdeptWindows program will display all
connect messages when booting over Ethernet such as the IP address of the node
that is requesting files, the names of files being sent, and error messages.
Figure 4-4. TFTP Server Messages
Clearing the Messages
When the AdeptWindows TFTP Server diagnostics are enabled, the diagnostic
messages will continue to accumulate in the server window until they are
manually cleared or until the server window is closed. To manually clear the
messages:
File ➡ Clear display
All messages are cleared from the AdeptWindows TFTP Server window.
AdeptWindows User’s Guide, Rev. A
79
Chapter 4
Closing AdeptWindows TFTP Server
Closing AdeptWindows TFTP Server
AdeptWindows TFTP Server does not close automatically whenever the
AdeptWindows PC program is closed. Therefore, it must be closed manually.
To close AdeptWindows TFTP Server, from the TFTP Server menu bar select:
File ➡ Exit
The AdeptWindows TFTP Server window closes.
80
AdeptWindows User’s Guide, Rev. A
AdeptWindows DDE
Introduction
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
82
Starting AdeptWindows DDE
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
82
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
82
83
.
.
.
.
.
.
.
.
.
.
.
84
Running the DDE Driver on the Adept Controller
.
.
.
.
.
.
.
.
.
85
Specifying DDE Item Names
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
86
Hot and Cold Links
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
87
Getting DDE Status Information
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
88
.
.
.
.
.
.
.
.
.
.
.
89
.
.
.
.
.
.
.
.
89
90
91
93
.
.
.
.
.
From the Windows Program Manager
From the MS-DOS Prompt . . . . .
Defining, Modifying, or Deleting a V+ Host
.
.
.
.
Customizing DDE Variable Records in AIM
Modifying DDE Records in AIM . . . . . . . . . . .
Creating New DDE Records in AIM . . . . . . . . . .
Defining the V+ Expression Associated With the DDE Record
Creating Variable Records . . . . . . . . . . . . .
Simple DDE Examples
.
.
.
.
94
Reading Data Using Microsoft Excel . . . . . . . .
Important Delimiters for the Definition of DDE Links
Example of a Static DDE System Variable
. . .
Example of a Dynamic DDE System Variable . .
Example DDE Link to an AIM Variable . . . . .
.
.
.
94
94
94
94
94
.
.
.
.
.
.
.
.
.
.
.
.
AdeptWindows User’s Guide, Rev. A
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
81
Chapter 5
Introduction
Introduction
This chapter describes the operation of AdeptWindows DDE.
NOTE: AdeptWindows DDE works only with an Ethernet TCP/IP
link between the PC and Adept controller.
Dynamic Data Exchange (DDE) is a protocol defined by Microsoft for data
exchange between different tasks running under Windows. AdeptWindows DDE
allows a PC application to access data on an Adept controller that is running AIM
3.1 or AIM 3.2.
AdeptWindows DDE consists of two major parts:
PC An application that runs on your PC and acts as a DDE server to DDE client
programs on the same PC. This application forwards messages to the Adept
controller using a TCP/IP link over Ethernet.
V+
A driver task that runs on the Adept controller under AIM 3.1 or AIM 3.2.
This task receives messages from the DDE server and accesses V+ and AIM
variables to provide data items as requested.
NOTE: The DDE driver runs in task 9 on the Adept controller.
Therefore, the V+ Extensions license on the Adept controller is
required in order to exchange DDE variables with your PC.
Starting AdeptWindows DDE
This section describes how to start AdeptWindows DDE.
From the Windows Program Manager
To start AdeptWindows DDE from the Windows Program Manager:
Start ➡ Programs ➡ Adept ➡ AdeptWindows DDE
Or, from the AdeptWindows PC menu bar:
File ➡ Start AdeptDDE
82
AdeptWindows User’s Guide, Rev. A
Chapter 5
Starting AdeptWindows DDE
The program displays the following window:
Figure 5-1. AdeptWindows DDE Main Window
The AdeptWindows DDE window has six menus:
•
•
•
File
View
Status
•
Help
See “AdeptWindows DDE Server Main Menu Bar” on page 127 for details.
From the MS-DOS Prompt
To start AdeptWindows DDE from the MS-DOS prompt, use the following
command:
<path>adept nodename
where
<path>
This is the full path name to the directory where the file ADEPT.EXE
is located.
adept
This executes the program file ADEPT.EXE.
nodename
This is the name of the DDE host (see “Defining, Modifying, or
Deleting a V+ Host” below).
AdeptWindows User’s Guide, Rev. A
83
Defining, Modifying, or Deleting a V+ Host
Chapter 5
For example, if the file ADEPT.EXE is located in the subdirectory
C:\ADEPTWINDOWS\PROGRAMS and the DDE host name is USER1, you
must type:
c:\adeptwindows\program\adept user1
Command line execution can be used to manually start the server by typing the
commands at the MS-DOS prompt, or these commands can be embedded in your
AUTOEXEC.BAT or WIN.INI file to automatically start the server each time your
PC is booted.
Defining, Modifying, or Deleting a V+ Host
The AdeptWindows DDE server uses a V+ host address to define the routing of
information to a certain Adept controller on a local area network (LAN). A V+
host name is used to represent the IP address of a specific Adept controller. (You
must define a unique host name for each Adept controller that is connected to the
LAN.) In your DDE applications you use only the V+ host name to specify the
Adept controller you would like to exchange data with.
Once a host is defined, the DDE server automatically senses if a host is requesting
information and then sends it to the defined address. The connection to and
disconnection from the host is handled automatically through the software.
The Adept V+ Hosts dialog box is used to define, modify, or delete a V+ host. To
display the Adept V+ Hosts dialog box:
File ➡ Hosts
The following window is displayed:
➊
➋
➌
➍
➎
Figure 5-2. List of Defined Hosts
➊
This item displays a list of the current (defined) V+ hosts.
84
AdeptWindows User’s Guide, Rev. A
Chapter 5
Running the DDE Driver on the Adept Controller
NOTE: The name “User1” is shown only as an example. The
name(s) displayed on your system will depend on the host name(s)
that you have defined.
➋
Choose Add Host to define a new host. The Define Adept Host dialog box is
displayed:
Figure 5-3. Define Adept Hosts
Enter the V+ host name in the Host Name field and the corresponding IP address in
the IP Address field. You must enter the IP address in decimal format (e.g.,
192.168.144.1).
➌
Choose Modify to modify an existing V+ host’s content. The Define Adept Host
dialog box is displayed (see item ➋).
➍
Choose Delete to delete an existing V+ host.
➎
Choose Done to return to the main window.
Running the DDE Driver on the Adept Controller
The DDE driver on the Adept controller is part of the DDE module included in
the AIM Baseline package. It is enabled using the Initialization Data setup menu
in AIM. See “Installing DDE With AIM” on page 65 for details. Also see the
MotionWare User’s Guide.
Once it is enabled, the DDE driver loads automatically when AIM is started. It
executes as a separate program task in V+ task 9 and uses negligible CPU time
until it is accessed by the AdeptWindows DDE server through the network.
CAUTION: The V+ Extensions license must be installed on the
Adept controller in order to run AIM and the DDE driver.
AdeptWindows User’s Guide, Rev. A
85
Chapter 5
Specifying DDE Item Names
Specifying DDE Item Names
The DDE data format is a triplet: an application name, a topic name, and an item
name. For the AdeptWindows DDE server, the application name is “Adept”; the
topic name is mapped to an Adept controller name that is defined by the “Hosts”
pull-down in the AdeptWindows DDE File menu. See “Defining, Modifying, or
Deleting a V+ Host” on page 84 for details.
The item name identifies a V + system item or an AIM variable. It consists of a
number of names or numbers delimited by “\” (backslash without quotes)
characters. Currently, all item names must begin with one of the following:
sys\ Specifies a V+ system data item.
aim\ Specifies an AIM variable database item.
For example, the item name “sys\controller_serial_number” returns the serial
number of the Adept controller.
The system names are defined in the DDE initialization database, DDEINI.DB,
which you may modify as desired. The system names refer to V + expressions
with optional arguments. You can use up to three different arguments in each
expression. The values of the three optional fields following the argument name
are substituted into the V + expression in place of dummy parameters “#1”, “#2”,
and “#3”.
For example, the item name “sys\switch\robot\1” is defined as the V+
expression:
switch(#1[#2])
In this example, “robot” is the first argument, and “1” is the second argument.
AIM variables are specified as: “aim\module\variable” where “module” is the
name of a loaded (but not necessarily selected) resource module, and “variable” is
the name of a Variable database record in that module. If “module” is omitted (as
in “aim\\variable”), the global Variable database is accessed.
86
AdeptWindows User’s Guide, Rev. A
Chapter 5
Hot and Cold Links
Hot and Cold Links
A DDE client can ask for a data item to be accessed once and its value returned.
This access is called a “cold link”. Alternatively, the client can ask that a data item
value be sent every time it changes. This access is called a “hot link”. To
implement hot links, the V+ DDE driver polls the values of hot link items
periodically.
In the current implementation, all “sys\” items may have their polling time set in
the BASEINI.DB record. All “aim\” items in the Variable database allow you to
set the polling time and control read-write access for all AIM variables. To
minimize system overhead, static data items (such as “controller_serial_number”)
should have the polling time set to zero (do not poll).
NOTE: Even if the polling interval is set to zero, AIM variable
values are always sent to the client whenever they are changed by
an AIM SET or SETS statement or by an AIM menu page. Therefore,
to improve efficiency, always use a polling interval of zero for AIM
variables unless they are being changed by some other method.
Database record fields that are linked to an AIM variable are not
automatically polled when the field value changes.
AdeptWindows User’s Guide, Rev. A
87
Chapter 5
Getting DDE Status Information
Getting DDE Status Information
AdeptWindows DDE provides a convenient way of monitoring the status of your
DDE connections and links. This can be useful if you are gathering information
from multiple hosts (controllers) and have multiple links established with each V+
host.
To obtain DDE status information:
Status ➡ Connections...
Status ➡ Links
A status window is displayed:
Figure 5-4. DDE Status Window
The window lists the names of all connected hosts and all active links. Once the
window is opened, the information is dynamically updated as connections and
links are established or terminated. This feature is helpful for status information
during operation of a DDE connection and for debugging a new DDE application.
NOTE: You can view only the connected hosts or only the active
links by selecting just the item you want to display from the Status
menu. (A check mark is displayed next to the item to indicate that it
is being displayed in the window.)
88
AdeptWindows User’s Guide, Rev. A
Chapter 5
Customizing DDE Variable Records in AIM
Customizing DDE Variable Records in AIM
All DDE records are stored in the DDE initialization database (DDEINI.DB). Once
the DDE driver is enabled, the DDE initialization database automatically appears
on the list of available databases on the Select Initialization Database page:
Figure 5-5. Select Initialization Database Page
CAUTION: The DDE initialization records control the interaction
between the Adept DDE driver and other DDE applications.
Therefore, it is recommended that you have a good understanding
of DDE, AIM customizing, and your application before attempting
to create or modify DDE initialization records.
Modifying DDE Records in AIM
To modify the records in the DDE initialization database:
Setup ➡ Initialization Data ➡ double-click “ddeini.db”
Select ➡ Index ➡ double-click record name
Once the record is opened, you can change the values on the record page. AIM
automatically saves the changes when closing the record page.
AdeptWindows User’s Guide, Rev. A
89
Chapter 5
Customizing DDE Variable Records in AIM
Creating New DDE Records in AIM
You can now create records that outline specific V+ functions and/or V+ variables
that you want to write to the AdeptWindows DDE server task on the PC. There
are nine predefined DDE records included in AIM. The function of each record is
fully described in the record’s Description field. You can copy and edit one of the
existing records or create a new record from scratch. (The steps below use the
copy and edit method.)
To create a new DDE record:
Special ➡ Edit Init Data ➡ double-click “ddeini.db”
Edit ➡ Copy
Edit ➡ Paste
The following record page is displayed:
➊
➋
➌
➍
➎
➏
Figure 5-6. DDEINI.DB Record Page
90
AdeptWindows User’s Guide, Rev. A
Chapter 5
Customizing DDE Variable Records in AIM
To edit the fields on the new record page, select the desired field and enter the
information. See the section titled “Customizing Initialization Databases” in the
AIM Customizer’s Reference Guide for details. The following information must be
entered:
1.
Enter the name in item ➊ that will be used by the DDE client to refer to this
record. The name must contain only alphanumeric characters and
underscores.
2.
Verify the information in item ➋. The Page Name field must contain
“DDE_SYS”. The File Name field must contain “ini.mnu”.
3.
Enter a description for the record page in item ➌.
4.
Verify that the Command Line field (item ➍) contains the information shown
in Figure 5-6.
5.
Set the #A field in item ➎ to zero or blank. All other fields in this group should
be blank.
6.
Set all fields in item ➏ to blank.
After the record is created, you must also create a definition as shown in the
following section.
NOTE: Once the record is saved, you can edit the values on the
record. See “Modifying DDE Records in AIM” on page 89 for
details.
Defining the V+ Expression Associated With the DDE Record
Once the DDE record is created (see the section above) you must define the V+
expression that will be associated with that record.
To define the V+ expression:
Setup ➡ Initialization Data ➡ double-click “ddeini.db”
Seek ➡ Index ➡ double-click the record name created in the previous
section
AdeptWindows User’s Guide, Rev. A
91
Chapter 5
Customizing DDE Variable Records in AIM
The following window is displayed:
➊
➋
➌
➍
➎
Figure 5-7. DDE Initialization Data Definition
1.
Enter the name in item ➊ that will be used by the DDE client to refer to this
record. The name must contain only alphanumeric characters and
underscores.
NOTE: This name is not used by the expressions defined in items ➌
or ➍.
2.
Check the description contained in item ➋ (you may change it if needed). This
text comes from the description entered in Figure 5-6, item ➌.
3.
Enter a V+ string or real-valued expression in item ➌ that evaluates to the data
associated with reading the DDE item. If the expression begins with a double
quote (") or a dollar sign ($), the expression is assumed to be a string value.
Otherwise, it is assumed to be a real value.
When this expression is evaluated, any arguments of the form #1, #2, or #3 are
replaced by additional “\” arguments found in the request from the DDE client.
4.
This field in item ➍ is optional. If blank, this DDE item cannot be written. If
nonblank, it must be a V+ global variable name of the same type as the
expression in item ➌. This variable occurs on the left side of an equal (=) sign
in an assignment operation. Array variables are permitted and may contain
#1-type arguments.
When this expression is evaluated, any arguments of the form #1, #2, or #3 are
replaced by additional “\” arguments found in the request from the DDE client.
92
AdeptWindows User’s Guide, Rev. A
Chapter 5
Customizing DDE Variable Records in AIM
5.
Set the optional polling time by entering a value in the Polling time field (item
➎). For example, if you enter 5, the information is updated every five seconds.
Creating Variable Records
You also can create variables in the Variables database in AIM 3.1 that can be
accessed (read/write) through the DDE link. These variables may be of any type
available to the Variables database records. See the section titled “Variable
Database” in the MotionWare User’s Guide for details on creating Variable
records.
Once a Variables database record is created, you can control DDE access to the
record using the DDE Access options:
Figure 5-8. DDE Access Selection for Variable Records
Select Read to set up the Variable record for read access from a PC application
using DDE.
Select Write to set up the Variable record for write access from a PC application
using DDE.
NOTE: The Write check box is available only when the Read check
box is selected.
Set the polling time for the variable by entering a value in the Polling time field.
For example, if you enter 5, the information is updated every five seconds.
NOTE: A polling time of zero means that the information is
updated only when it changes (see the note in “Hot and Cold
Links” on page 87). This is useful for items that never change, such
as constants, ID numbers, number of robots, etc.
AdeptWindows User’s Guide, Rev. A
93
Chapter 5
Simple DDE Examples
Simple DDE Examples
This section contains several DDE examples that you can experiment with on
your system to see how DDE operates. For further examples, refer to the
documentation for your specific programming application (e.g., Microsoft Visual
Basic).
Reading Data Using Microsoft Excel
Microsoft Excel provides a good example of using DDE to read static and
dynamic data.
NOTE: The following examples assume that you have defined the
V+ host as “User1”. If not, simply substitute your host name where
“User1” appears.
Important Delimiters for the Definition of DDE Links
The “|” and “!” characters are delimiters for the application name, topic name,
and item name. “User1” represents a V+ host name that you defined in the
AdeptWindows DDE server. See “Specifying DDE Item Names” on page 86 for
details on the item name format.
Example of a Static DDE System Variable
1.
2.
Start Microsoft Excel.
Select any empty cell and type:
=Adept|User1!sys\controller_serial_number
3.
Press the Enter key. The cell displays the serial number of the Adept controller.
Example of a Dynamic DDE System Variable
1.
2.
Start Microsoft Excel
Select any empty cell and type:
=Adept|User1!sys\time_since_boot
3.
Press the Enter key. The cell displays the time that has elapsed since the
controller was booted. Continue watching the screen to see the time update
automatically.
Example DDE Link to an AIM Variable
Here is an example of a link to an AIM variable named status in an AIM resource
module named assembly_cell. The V+ host name for the Adept controller that is
running AIM is mtr_cell.
=Adept|mtr_cell!aim\assembly_cell\status
94
AdeptWindows User’s Guide, Rev. A
AdeptWindows Offline Editor
Introduction
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
97
Features of the Offline Editor
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
97
Starting the Offline Editor
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
99
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
100
Description of the Toolbar Icons .
Editing Toolbar Icons . . .
Loop/Branch Toolbar Icons
Motion Toolbar Icons . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
100
100
100
101
.
.
.
Using the Toolbars
.
Getting Online Help
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
102
Keyword Syntax Help . . .
Details on Keywords . . . .
Reference Guide Information
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
102
102
103
.
.
.
.
.
.
.
.
.
.
.
.
.
104
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
104
105
106
106
.
.
.
.
.
.
.
.
.
.
108
Creating a New File/V+ Program . . . . . . . .
Opening an Existing V+ Program File . . . . . .
Adding a New Program to an Existing Program File
The Editor Window . . . . . . . . . . . . .
Working With Program Variables . . . . . . . .
Displaying Variable Properties . . . . . .
Replacing a Variable
. . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Getting Around
.
.
.
.
.
.
.
.
.
.
.
.
.
Find and Replace . . . . . . . .
Goto Program and Previous Program
Program Pick Lists . . . . . . . .
Navigate . . . . . . . . . . .
Creating and Editing a Program
Working With Projects
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Creating a New Project . . . . . . .
Opening an Existing Project . . . . . .
Getting Information on the Current Project
Modifying Project Files . . . . . . . .
.
.
.
.
.
.
.
.
108
108
109
110
111
111
111
.
.
.
.
.
.
.
.
112
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
112
113
113
114
AdeptWindows User’s Guide, Rev. A
95
Chapter 6
Modifying Project File Attributes
Building a Project . . . . . .
Listing and Renaming Program Files
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
115
117
.
.
.
.
.
.
.
.
.
.
.
.
117
.
.
.
.
.
.
.
.
.
.
118
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
119
120
121
.
.
.
.
.
.
.
.
.
.
.
122
Customizing the Programming Environment
The Standard Program Header . .
Customizing the Highlighting Colors
Displaying or Hiding the Toolbars .
Creating CALL Tree and Keyword Listings
CALL Tree Listing
Keyword Listing
96
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
122
122
Printing and Documentation
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
124
AdeptWindows User’s Guide, Rev. A
Chapter 6
Introduction
Introduction
This chapter explains how to use the Offline Editor provided with
AdeptWindows. It is assumed that you are familiar with the Microsoft Windows
environment and basic V+ programming.
Features of the Offline Editor
The AdeptWindows Offline Editor allows you to write and edit V+ programs on
your PC. The editor is a comprehensive program development package that runs
under Windows 95 and Windows NT 4.0.
NOTE: You do not have to be connected to the Adept controller to
use the AdeptWindows Offline Editor.
The software provides:
•
Automatic syntax checking
Syntax errors are trapped and a “?” (question mark without quotes) is
inserted at the beginning of the line containing the error.
•
Automatic keyword expansion
For example, “ena po” automatically expands to ENABLE POWER.
•
Toolbars with icons that provide shortcuts for common operations
These toolbars contain icons for program editing (cut, copy, paste, etc.),
inserting looping/branching structures (FOR, CASE, IF, WHILE, DO), and
inserting motion program instructions (MOVE, APPRO, DEPART, etc.).
•
Automatic dynamic indentation for control constructs
•
Customized header templates
A default header template is supplied that can be automatically inserted after
a .PROGRAM declaration. The header template can be customized for your
application.
•
Menus for CALL Tree listings and Keyword listings
•
Color-coded variable names and instructions
All variable names and instructions are color-coded to remind you of their
use.
•
Separate editing windows
Multiple files may be opened in separate windows, allowing you to cut and
paste information between them.
AdeptWindows User’s Guide, Rev. A
97
Chapter 6
Features of the Offline Editor
•
Global Find and Replace
These commands can be applied to entire files or to just one program.
•
Retrieve, Goto, Cut, Paste, etc.
These commands allow you to share information and navigate between
programs.
•
Project management tools
This set of tools allows you to maintain V+ files on the PC.
•
Online help system
The online help system displays proper keyword syntax and provides online
viewing of the keyword description/details from the appropriate reference
guide.1
Restrictions:
1
98
•
Although indentation is performed, V+ control structures are not validated
•
GOTO labels are not validated
Requires installation of Adobe Acrobat Reader version 3.0 and Adept’s Manuals on CD-ROM.
AdeptWindows User’s Guide, Rev. A
Chapter 6
Starting the Offline Editor
Starting the Offline Editor
To start the AdeptWindows Offline Editor:
Start ➡ Programs ➡ Adept ➡ AdeptWindows Offline Editor
Figure 6-1. Offline Editor Main Window
The editor window expands to the maximum size of the PC monitor screen. You
can adjust the size of the window using the icons located at the upper right-hand
corner of the window.
AdeptWindows User’s Guide, Rev. A
99
Chapter 6
Using the Toolbars
Using the Toolbars
AWOL_ICONS
All of the features of the editor can be accessed using the main menu bar or by
clicking on a toolbar icon for the desired feature. See “Offline Editor Main Menu
Bar” on page 128 for details on the pull-down menus.
Figure 6-2. Offline Editor Menu/Toolbar
Description of the Toolbar Icons
Editing Toolbar Icons
The Editing Toolbar icons provide a shortcut for common program editing
operations (cut, copy, paste, etc.)
AWOL_EDIT_ICONS
Create a new program file (see page 108)
Open an existing program file (see page 108)
Save the current program file to disk
Cut the selected lines of code to the clipboard (see page 111)
Copy the selected lines of code to the clipboard (see page 111)
Paste the cut/copied lines of code from the clipboard (see page 111)
Access the online help system (see page 102)
Loop/Branch Toolbar Icons
The Loop/Branch Toolbar icons provide a shortcut for inserting looping and
branching structures into your programs (see page 111).
AWOL_LOOP_ICONS
Inserts an IF structure into the program on the line below the cursor position
Inserts a CASE structure into the program on the line below the cursor
position
Inserts a FOR structure into the program on the line below the cursor position
100
AdeptWindows User’s Guide, Rev. A
Chapter 6
Using the Toolbars
Inserts a WHILE structure into the program on the line below the cursor
position
Inserts a DO structure into the program on the line below the cursor position
Motion Toolbar Icons
AWOL_MOTION_ICONS
The Motion Toolbar icons provide a shortcut for inserting motion program
instructions into your program.
Inserts a MOVE program instruction on the line below the cursor position
Inserts a MOVES program instruction on the line below the cursor position
Inserts a DEPART program instruction on the line below the cursor position
Inserts a DEPARTS program instruction on the line below the cursor position
Inserts an APPRO program instruction on the line below the cursor position
Inserts an APPROS program instruction on the line below the cursor position
Inserts an OPEN program instruction on the line below the cursor position
Inserts a CLOSE program instruction on the line below the cursor position
Inserts a SPEED program instruction on the line below the cursor position
Inserts an ACCEL program instruction on the line below the cursor position
Inserts a SIGNAL program instruction on the line below the cursor position
Inserts a WAIT program instruction on the line below the cursor position
Inserts a BREAK program instruction on the line below the cursor position
Inserts a TYPE program instruction on the line below the cursor position
AdeptWindows User’s Guide, Rev. A
101
Chapter 6
Getting Online Help
Getting Online Help
The AdeptWindows Offline Editor features an online help system. The help
system provides quick access to proper keyword1 syntax, detailed keyword
descriptions, and online versions of the V+ Language Reference Guide and the
AdeptWindows User’s Guide (the manual you are currently reading).
The online help system should address most of your AdeptWindows usage and
V+ programming questions. However, if you require further assistance, Adept
provides an applications questions hotline along with several other services for
applications and software support. See “How Can I Get Help?” on page 19 for
details.
Keyword Syntax Help
The AdeptWindows Offline Editor provides immediate access to proper keyword
syntax. To display the syntax of any V+ keyword:
1.
Place the cursor on the keyword in question in your program.
2.
Press the right mouse button. The following menu is displayed:
3.
Choose Show abbreviated syntax. The correct syntax for the keyword is
displayed.
4.
Choose OK to close the syntax display.
Details on Keywords
The AdeptWindows Offline Editor provides immediate access to details on V +
keywords.
NOTE: This feature requires that Adobe Acrobat Reader is installed
on the system and that Adept’s Manuals on CD-ROM is available in
the CD-ROM drive or copied onto the system’s hard drive.
To display reference information on any V+ keyword:
1.
1
102
Place the cursor on the keyword in question in your program.
Keyword is a generic term for V+ Program Instruction, Real-Valued Function, String Function,
Transformation Function, etc.
AdeptWindows User’s Guide, Rev. A
Chapter 6
Getting Online Help
2.
Press the right mouse button. The following menu is displayed:
3.
Choose Display reference guide. The page from the appropriate reference
guide that describes the keyword is displayed in an Acrobat Reader window.
4.
Choose
window.
from the Acrobat Reader toolbar to return to the Offline Editor
Reference Guide Information
You can access the online version of the V+ Language Reference Guide at any time
by pressing the F1 key. The V+ Language Reference Guide is displayed in an
Acrobat Reader window.
NOTE: This feature requires that Adobe Acrobat Reader is installed
on the system and that Adept’s Manuals on CD-ROM is available in
the CD-ROM drive or copied onto the system’s hard drive.
Choose
window.
from the Acrobat Reader toolbar to return to the Offline Editor
AdeptWindows User’s Guide, Rev. A
103
Chapter 6
Getting Around
Getting Around
When a program file is opened, the first program in the file is displayed. There are
several options for moving from one program in the file to another. These options
are found under the Search pull-down menu.
Find and Replace
The Find option allows you to quickly locate a specified text string. To use the
Find option:
Search ➡ Find...
The following dialog box is displayed:
➊
➋
➌
➍
➎
Figure 6-3. The Find Dialog Box
➊
Use the Find What field to specify the text to search for. You can match the
specified case by selecting item ➋.
➌
Choose Find Prev. to individually find each occurrence of the specified text.
➍
Choose Find Next to individually find each occurrence of the specified text.
➎
Choose Cancel to clear all entries and close the dialog box.
The Replace option allows you to quickly locate a specified text string and then
replace it with a different (specified) text string. To use the Replace option:
Search ➡ Replace...
The following dialog box is displayed:
104
AdeptWindows User’s Guide, Rev. A
Chapter 6
Getting Around
➊
➋
➎
➏
➌
➍
Figure 6-4. The Replace Dialog Box
➊
Use the Find What field to specify the text to search for. You can match the
specified case by selecting item ➌.
➋
Use the Replace With field to specify the new (replacement) text.
➍
Choose Find Next followed by Replace. Then Find to individually find and
replace each occurrence of the specified text.
➎
Choose Replace All to find and replace every occurrence of the specified text.
➏
Choose Done to close the dialog box.
Goto Program and Previous Program
When the cursor is on a line with a CALL instruction, choose the Goto Prgm
option (or press Ctrl+G) to open a new window and display the called program. If
the cursor is not on a line with a CALL instruction, the editor displays a dialog
box that asks you for the program name. The following restrictions apply:
•
The called program must be in the open project’s file list (see page 114).
•
The called program must be open (see page 108).
After using the Goto Prgm option, you can use the Prev. Prgm option (or press
Ctrl+P) to display the previous program.
NOTE: The editor window displays only the previously viewed
programs that are contained in the current file. It cannot switch from
the current file window back to the previously displayed file
window.
AdeptWindows User’s Guide, Rev. A
105
Chapter 6
Getting Around
Program Pick Lists
Choose the List All Pgms option (or press Ctrl+A) to display an alphabetical pick
list of all the programs in the file. Double-click one of the programs on the pick list
to open that program for editing.
Choose the List Bad Pgms option (or press Ctrl+B) to display a pick list of the
programs that have syntax errors. Once a program is opened (by double-clicking
on the program name) use the Next Error menu option (or press Ctrl+E) to locate
each error.
Navigate
It is often useful to see the call/caller relationship among different programs in a
program file. This is particularly true in a large file containing many programs, or
when you are trying to understand a V+ application written by someone else.
Choose Tools ➡ Navigate to create an interactive CALL tree.
Figure 6-5. Navigate CALL Tree
This option provides an interactive display of the CALL hierarchy of programs in
a file. Navigate works only for program files that are open. The CALL relationship
is displayed with file icons next to the program names. These icons can be
interpreted as follows:
106
•
An open file icon indicates that the branch of the call tree has been expanded.
•
A closed file icon indicates that this program is the end of a branch (it calls no
other programs).
•
A closed file icon with a “+” indicates that this branch is not fully expanded
and the program contains calls to other programs that are not displayed.
AdeptWindows User’s Guide, Rev. A
Chapter 6
•
Getting Around
A closed file icon with an “x” indicates that this program is not in the current
file.
To expand all branches of the CALL tree, choose Tools ➡ Expand All.
To open a program for editing, double-click the program name.
To view the original Navigate call tree:
Window ➡ click on the Call tree name
NOTE: Do not use the Navigate option to return to the original call
tree. This option creates a call tree for the current program. It does
not take you back to the original call tree.
AdeptWindows User’s Guide, Rev. A
107
Chapter 6
Creating and Editing a Program
Creating and Editing a Program
The following sections describe how to use the AdeptWindows Offline Editor to
create and edit a V+ program.
Creating a New File/V+ Program
To create a new program file, choose
or:
File ➡ New File...
The following dialog box is displayed:
➊
➋
➌
Figure 6-6. New File/Program Name Dialog Box
➊
Enter the new program name in the New Program Name field. (The disk file
and the program use this name.) The program name must conform to V+ file
name restrictions.
➋
Select Add Program Header to insert a program header. See “The Standard
Program Header” on page 119 for details.
➌
Choose OK to save all entries and close the dialog box, or choose Cancel to
clear all entries and close the dialog box.
Opening an Existing V+ Program File
To open an existing program file, choose
or:
File ➡ Open File...
108
AdeptWindows User’s Guide, Rev. A
Chapter 6
Creating and Editing a Program
The following dialog box is displayed:
➋
➊
➌
➍
➎
Figure 6-7. Open a Program File
➊
Use this item to locate the drive/directory where the file is stored.
➋
Double-click the desired file name. You also can enter the desired file name in
the File name: field (item ➌).
➍
Use this item to control the file type(s) displayed in item ➋.
➎
Choose Open to display the file. Choose Cancel to clear all entries and close the
dialog box.
Adding a New Program to an Existing Program File
To add a new program to an existing program file:
Edit ➡ New Pgm...
The New file/program name dialog box is displayed. See page 108 for details.
AdeptWindows User’s Guide, Rev. A
109
Chapter 6
Creating and Editing a Program
The Editor Window
The editor window is displayed after you create a new program file or open an
existing program file:
Figure 6-8. Main Program Editing Window
At this point, you can begin typing V+ code just as you would if you were using
the SEE editor on the Adept controller. Refer to the V+ Language User Guide for
information on the SEE editor. Also refer to the V+ Language Reference Guide for
information on V+ commands.
The AdeptWindows Offline Editor has several “automated” features to assist you:
110
•
It checks the program instructions for the proper syntax as they are entered. If
you type an unknown command or use a command incorrectly, the line is
flagged with a question mark (?).
•
It formats each line with the proper indentation for all logic loops (FOR,
WHILE, etc.).
AdeptWindows User’s Guide, Rev. A
Chapter 6
•
Creating and Editing a Program
It color codes variable names, instructions, and comments for easy
identification. You can select the color used for each item (see page 120 for
details).
You can use the Loop/Branch and Motion toolbars to access icons that
automatically insert For, While, Do, etc., structures and motion program
instructions into your programs.
Additionally, the Edit menu and Editing toolbar include a list of options, such as
Undo, Cut, Copy, Paste, etc., that simplify program editing. See page 128 for a
listing and descriptions of these menu options.
Working With Program Variables
The AdeptWindows Offline Editor includes several useful tools for working with
program variables.
Displaying Variable Properties
To display the properties of any variable in your V+ program:
1.
Place the cursor on the variable.
2.
Press the right mouse button. The following menu is displayed:
3.
Choose Display variable properties. The variable’s properties are displayed
in a window.
4.
Choose OK to close the window.
Replacing a Variable
The AdeptWindows Offline Editor allows you to easily replace a variable with
another variable in the current program or in the module. To replace any variable
in your V+ program:
1.
Place the cursor on the variable.
2.
Press the right mouse button. The following menu is displayed:
3.
Choose Replace with another variable from current program or Replace with
another variable from current module. A listing of available program or
module variables is displayed.
AdeptWindows User’s Guide, Rev. A
111
Chapter 6
Working With Projects
4.
Choose the new variable from the variable list.
5.
Choose OK to close the list and insert the new variable into the program.
Working With Projects
A project is a tool to manage the V+ files that you create and store on the PC. This
tool creates a list of the files you want to keep together as a “project”. When you
build your project into the source files for transfer to the Adept controller, the
project file is used to locate all of the different files. In addition to V+ source code,
you can also attach documentation files (such as Microsoft Word, text files, or
other file types), spreadsheet files, project management files, and AIM database
files (archived on the PC’s hard drive) to a project.
When you build a project, the AdeptWindows Offline Editor locates the source
files and transfers them from the source directories to the target directories. See
page 117 for details.
Creating a New Project
To create a new project:
File ➡ New Project...
The following dialog box is displayed:
➊
➋
➌
➍
➎
➏
Figure 6-9. New Project Dialog Box
112
AdeptWindows User’s Guide, Rev. A
Chapter 6
Working With Projects
➊
Enter the directory and path where the project will be stored. You can type the
information or choose Browse to scroll through a list of available
drives/directories.
➋
Enter the project name. The name must conform to filename specifications
defined in Windows 95 and Windows NT 4.0. The file name can contain up to
255 characters (including spaces) except for the following:
\/:*?"<>|
➌
Enter the project description. This description appears when you access the
Project Information dialog box.
➍
Enter the project version. For example, if you are creating version 3.1 of your
project, Major = 3, Minor = 1.
➎
Enter the V+ version. (This enables the correct syntax checking for the V+
programs.) You can type the information or choose Browse to scroll through a
list of available versions.
NOTE: V+ versions 8.4 and 10.5 apply to all releases of version 8.x
and version 10.x, respectively.
➏
Choose OK to save all entries and close the dialog box, or choose Cancel to
clear all entries and close the dialog box.
At this point, you must create the V+ program files for the project (see page 108)
and place these files on the project file list (see page 114).
Opening an Existing Project
To open an existing project:
File ➡ Open Project... ➡ double-click project name
The Project Information dialog box is displayed. See the following section for
details.
Getting Information on the Current Project
To get information about the current (open) project:
Project ➡ Project Info...
AdeptWindows User’s Guide, Rev. A
113
Chapter 6
Working With Projects
The following dialog box is displayed:
➊
➋
➌
➍
Figure 6-10. Project Information Dialog Box
The Project Information dialog box displays information about the project (name,
description, date created, date modified, etc.). You also have the option to edit the
following items:
➊
You can edit the project description directly in the Description field.
➋
You can edit the Major and Minor Project Version numbers.
➌
You can change the V+ version by typing the new version number or by
choosing Browse to scroll through a list of available versions.
➍
After you have finished viewing/editing the dialog box, choose Done to close
the dialog box.
Modifying Project Files
The Project Files dialog box is used to modify the files within the current (loaded)
project. To display the Project Files dialog box:
Project ➡ Files...
114
AdeptWindows User’s Guide, Rev. A
Chapter 6
Working With Projects
The following dialog box is displayed:
➊
➋
➌
➍
➎
➏
➐
➑
Figure 6-11. Project Files Dialog Box
➊
This item contains a list of the files in the current project.
➋
Choose OK to save all changes and close the dialog box.
➌
Choose Cancel to close the dialog box prior to making any changes.
➍
Choose Add to add more files to the current project.
➎
Choose Add All to add all files in the working directory to the current project.
➏
Choose Remove to remove the selected file from the current project.
NOTE: The file name is removed from the project file list. The file is
not deleted from the hard disk.
➐
Choose Edit to edit the selected file.
➑
Choose Properties to display the File Attributes dialog box for the selected file.
See Figure 6-12 for details.
Modifying Project File Attributes
The File Attributes dialog box allows you to change the attributes
(Source/Destination File Type and Target Directory) for the file selected on the
Project File dialog box. To display the File Attributes dialog box:
Project ➡ Files... ➡ select a file name ➡ Properties
AdeptWindows User’s Guide, Rev. A
115
Chapter 6
Working With Projects
The following dialog box is displayed:
➊
➋
➌
➎
➍
Figure 6-12. File Attributes Dialog Box
➊
This item displays the name of the selected file.
NOTE: The Read Only option is not enabled in this release.
➋
Use this group to set the file type for the source file.
V+ Source Code: a V+ file that can be edited with the AdeptWindows Offline
Editor.
➌
Data File:
any source file on the PC.
Documentation:
a text file created by a text editing program.
Project File:
a file with a .PRO extension. This file is used as a directory
to other files in the project.
Select Squeezed if you want all comments and blank lines removed from the
destination file. The .SQU extension is automatically added to the destination
file name.
NOTE: This option is enabled only for V+ Source Code files.
116
➍
Enter the destination directory and file name. This is the location that the file is
copied to when you build the project. You can type the information or choose
Browse to scroll through a list of available directories.
➎
Choose OK to save all entries and close the dialog box. Choose Cancel to clear
all entries and close the dialog box.
AdeptWindows User’s Guide, Rev. A
Chapter 6
Listing and Renaming Program Files
Building a Project
Once your project is completed (you have created a project and written all of the
V+ programs for the project), you are ready to “build” the project. The Build menu
option, located on the Project menu, copies all of the V+ program files for the
project to the specified target directories.
The target directory can be a floppy disk (for transfer to the Adept controller,
creation of a utility disk, etc.) or any directory on the hard disk drive of your PC.
If the Ethernet NFS option is installed on your PC and on the Adept controller,
you can directly access the hard disk drive on the controller and use any directory
on that drive as a “target” directory. See the AdeptNet User’s Guide for details on
installing the NFS option.
If you select the Squeezed option (on the File Attributes dialog box), all header
information, comments, and blank lines are removed from the specified file(s) as
they are being copied to the target directories.
Listing and Renaming Program Files
The Program List dialog box provides a pop-up list of all the V + programs
contained in a file. It provides an easy way to navigate between all of the
programs. It also provides an option for renaming a program.
To display the Program List dialog box:
Search ➡ List All Pgms...
AdeptWindows User’s Guide, Rev. A
117
Chapter 6
Customizing the Programming Environment
The following dialog box is displayed:
➊
➋
➌
➍
➎
➏
➐
Figure 6-13. Program List Dialog Box
➊
This item contains the listing of the program file names.
➋
Choose Select to display the selected program in the editor window.
➌
Choose Delete to delete the selected program from the file.
NOTE: The program name is removed from the list and the
program is deleted from the file.
➍
Choose New to create a new program in the file.
➎
Choose Rename to rename the selected program.
➏
Choose Copy to make a copy of the selected program and insert it in the current
file.
➐
Choose Done to close the Program List dialog box.
Customizing the Programming Environment
The AdeptWindows Offline Editor has two areas that you can customize:
118
•
Program Header Template
•
Highlighting Colors
AdeptWindows User’s Guide, Rev. A
Chapter 6
Customizing the Programming Environment
The Standard Program Header
The AdeptWindows Offline Editor can insert a standard header template at the
top of every program. This is an option that is selected on the New File/Program
Name dialog box (see page 108 for details).
The editor includes a dialog box that allows you to customize the header template
information. This is useful for adding header information that is used in every
program (this eliminates retyping it each time). For example, you could have a
standard template that includes your company name and address; your name as
the program author; and categories for typing program-specific information
(abstract, input/output parameters, side effects, etc.).
To customize the program header:
Edit ➡ Properties ➡ Define Pgm. Header...
The following dialog box is displayed:
➊
➋
➌
➍
➎
➏
Figure 6-14. Customize Program Header Template Dialog Box
The template has six predefined categories: ABSTRACT, INPUT PARAM,
OUTPUT PARAM, SIDE EFFECTS, DATA STRUCT, and MISC. You can edit the
template as follows:
➊
This item displays the program header template.
➋
To add a new line, select an existing line (item ➊) and choose Add. The new line
is inserted below the selected line.
➌
To edit an existing line, double-click the line or select the line and choose Edit.
The selected line is displayed in the edit dialog box (item ➊).
➍
To delete a line, select the line (item ➊) and choose Delete. The selected line is
removed from the template.
AdeptWindows User’s Guide, Rev. A
119
Chapter 6
Customizing the Programming Environment
➎
Choose Save to save the changes and close the dialog box.
➏
Choose Cancel to clear all changes and close the dialog box.
Customizing the Highlighting Colors
The AdeptWindows Offline Editor allows you to customize the colors used to
identify variables, comments, and other parts of a program.
To edit the color scheme:
Edit ➡ Properties ➡ Set Color
The following dialog box is displayed:
➊
➍
➎
➋
➌
Figure 6-15. Customize Highlighting Colors
➊
Select the category that you want to change.
➋
Foreground Color sets the color of the text.
➌
Background Color sets the color of the area behind the text.
NOTE: Always use different (contrasting) colors for the foreground
and background. Otherwise, the corresponding text line(s) will not
be legible.
120
➍
Choose Change to save the new settings.
➎
Choose Cancel to clear the new settings and close the dialog box. This must be
done instead of choosing item ➍.
AdeptWindows User’s Guide, Rev. A
Chapter 6
Customizing the Programming Environment
Displaying or Hiding the Toolbars
The AdeptWindows Offline Editor allows you to display or hide the toolbars in
the Offline Editor window.
To display or hide a toolbar:
Tools ➡ Editing Toolbar
or
Tools ➡ Loop/Branch Toolbar
or
Tools ➡ Motion Toolbar
Each of these menu items works like a toggle switch—each time you select it, the
display mode changes. A check mark next to the menu item indicates that the
toolbar is displayed.
AdeptWindows User’s Guide, Rev. A
121
Chapter 6
Creating CALL Tree and Keyword Listings
Creating CALL Tree and Keyword Listings
You can create calling tree listings for your V+ program files using the
AdeptWindows Offline Editor. This is useful for debugging the code and for
documentation purposes.
CALL Tree Listing
To create a call tree listing, load a program file (see page 108) and then:
Tools ➡ CallTrees...
The following window is displayed:
Figure 6-16. Sample CALL Tree
The window displays a text file with the call tree listing. The file is displayed
using Windows 95 Notepad. It can be viewed, edited, and saved with Notepad or
any text editor.
Keyword Listing
The keyword listing menu item searches the program file for all occurrences of a
keyword and outputs this to a text file.
To create a keyword listing:
Tools ➡ Listings...
122
AdeptWindows User’s Guide, Rev. A
Chapter 6
Creating CALL Tree and Keyword Listings
The following dialog box is displayed:
➊
➋
➎
➌
➍
Figure 6-17. Listing Tool for Programs
➊
Enter the input file to process. This automatically defaults to the path and file
name of the file currently being edited. However, you can enter the path and
file name of any program file.
➋
Enter the output file name (this is the text file that contains the search results).
The default file name is LISTING.OUT.
➌
Check this box to insert the input file header information at the beginning of the
listing.
➍
Check this box to search for a specific keyword. Enter the keyword(s) in the
corresponding field. If you wish to search for multiple keywords, enter all
keywords separated by a comma.
➎
Choose OK to save all entries and close the dialog box. Choose Cancel to clear
all entries and close the dialog box. If you choose OK, a window displays the
search results:
AdeptWindows User’s Guide, Rev. A
123
Chapter 6
Printing and Documentation
Figure 6-18. Sample Keyword Listing
The window displays a text file with the keyword listing. The file is displayed
using Windows Notepad. It can be viewed, edited, and saved with Notepad or
any text editor.
Printing and Documentation
To make creation of program documentation easier, the AdeptWindows Offline
Editor allows you to print programs and CALL trees. Print and Print Preview
options are found on the File menu. See the Windows online help system for
more information on using these options.
NOTE: The Print and Print Preview options use the standard
Windows printer interface.
124
AdeptWindows User’s Guide, Rev. A
Menu Bars and Quick Keys
AdeptWindows PC Main Menu Bar
.
.
.
.
.
.
.
.
.
.
.
.
.
126
.
.
.
.
.
.
.
.
.
.
.
.
.
126
AdeptWindows DDE Server Main Menu Bar
.
.
.
.
.
.
.
.
.
.
127
Offline Editor Main Menu Bar
.
.
.
.
.
.
.
.
.
.
128
Adept TFTP Server Main Menu Bar
.
.
.
.
.
.
.
AdeptWindows User’s Guide, Rev. A
125
Appendix A
AdeptWindows PC Main Menu Bar
AdeptWindows PC Main Menu Bar
These menus are displayed whenever AdeptWindows PC is running
AWPC_MENU_FILE
File
Connect via Ethernet...
Starts a connection using the Ethernet link (see page 69).
Connect via COM port...
Starts a connection using the serial link (see page 70).
Scan Ethernet...
Broadcasts on the Ethernet for all Adept controllers configured for
AdeptWindows. Displays a list of IP addresses (see page 69).
Disconnect
Closes the connection between the PC and the current controller (see page 72).
Test COM Port...
Tests a selected COM port to make sure it is operating correctly.
Start AdeptDDE
Starts the AdeptWindows DDE application (see page 82).
Normal size
Reduces the window from the maximum size.
About AdeptWindows PC...
ID window for AdeptWindows PC. Lists current version number.
Exit
Exits the program.
AWPC_MENU_ADEPT
Adept
Vision
Displays the Vision window if the Vision option is enabled (see page 71).
Monitor
Displays the Monitor window (see page 71).
Note: Other window names created by V+ programs also appear here.
Adept TFTP Server Main Menu Bar
These menus are displayed whenever Adept TFTP Server is running
AWTFTP_MENU_FILE
File
Settings..
Access settings for timeout, retries, and messages (see page 78).
Clear display
Clears all messages from the TFTP Server window (see page 79).
Exit
Exits the program (see page 80).
AWTFTP_MENU_HELP
Help
About Adept TFTP Server... ID window for Adept TFTP Server. Lists current version number.
126
AdeptWindows User’s Guide, Rev. A
Appendix A
AdeptWindows DDE Server Main Menu Bar
AdeptWindows DDE Server Main Menu Bar
These menus are displayed whenever AdeptWindows DDE Server is running.
AWDDE_MENU_FILE
File
Hosts...
Adds, modifies, or deletes V+ hosts (see page 84).
Save
Saves the current DDE configuration.
Exit
Exits the program.
AWDDE_MENU_VIEW
View
Status Bar
Toggles the status bar (located at the bottom of the DDE window) on and off.
Ignore errors
Instructs the DDE Server to ignore certain error conditions.
AWDDE_MENU_STATUS
Status
Connections...
Displays a list of connected hosts in the DDE window (see page 88).
Links
Displays a list of active links in the DDE window (see page 88).
AWDDE_MENU_HELP
Help
About Adept DDE...
Displays a pop-up window with information about the version, edit, and
edit date.
AdeptWindows User’s Guide, Rev. A
127
Appendix A
Offline Editor Main Menu Bar
Offline Editor Main Menu Bar
These menus are displayed whenever the AdeptWindows Offline Editor is running.
AWOL_MENU_FILE
File
New
File...
Creates a new .V2 file (see page 108).
Open
File...
Opens an existing .V2 file (see page 108).
Close
File
Closes the current .V2 file.
Save
File
Saves the current file.
Save As
File
Saves the current file using a new file name.
New
Project...
Starts a new project (see page 112).
Open
Project...
Opens an existing project (see page 113).
Close
Project
Closes the current project.
Save
Project
Saves the current project.
Print
Prints the current .V2 file.
Print Preview
Displays the file as it looks when printed.
Exit
Exits the program.
AWOL_MENU_EDIT
Edit
Undo
Ctrl+Z
Undoes the last entry, command, or keystroke, if possible.
Cut
Ctrl+X
Removes the selected text/graphics and places it on the clipboard.
Copy
Ctrl+C
Copies the selected text/graphics to the clipboard.
Paste
Ctrl+V
Inserts the contents of the clipboard at the current cursor position.
Select All
Ctrl+L
Selects the entire contents of the open file.
New Pgm...
Ctrl+N
Adds a new program to the current file (see page 109).
Delete Pgm...
Ctrl+D
Deletes a program from the current file.
Set Font Style
▲ ▲
Set Font Size
128
Changes fonts, foreground and background colors, and V+ version (see page 118).
▲
Properties
Sets the font size at the cursor position or for the selected text.
Sets the font style at the cursor position or for the selected text.
V+ version...
Sets the current V+ version.
Read Only Mode
Makes the current program “read only” (disables editing).
Define Pgm. Header
Defines the standard header template (see page 119).
Set Color
Sets the foreground/background colors for variables,
comments, etc. (see page 120).
AdeptWindows User’s Guide, Rev. A
Appendix A
Offline Editor Main Menu Bar
AWOL_MENU_SEARCH
Search
Find...
Ctrl+F
Finds a specified text string (see page 104).
Replace...
Ctrl+H
Finds a specified text string and replaces it with a specified text
string (see page 104).
Goto Pgm...
Ctrl+G
Goes to the specified program in the current (displayed) file (see
page 105).
Prev. Pgm
Ctrl+P
Goes to the previously specified program in the current (displayed)
file (see page 105).
List All Pgms... Ctrl+A
Displays an alphabetical pick list of all the programs in the file (see
page 106).
LIst Bad Pgms Ctrl+B
Displays an alphabetical pick list of the programs in the file that have
syntax errors (see page 106).
Next Error
Locates the next error in the current (displayed) file (see page 106).
Ctrl+E
AWOL_MENU_PROJECT
Project
Files...
Displays the Project File dialog box (see page 115).
Project Info...
Displays the Project Information dialog box (see page 113).
Build
Builds the project (moves files to target directories, squeezes files,
etc.; see page 117).
AWOL_MENU_INSERT
Insert
Pgm. Header
Inserts the standard program header at the line below the
.PROGRAM line (see page 119).
Date/Time
Inserts a comment line with the current date and time at the cursor
position.
AdeptWindows User’s Guide, Rev. A
129
Appendix A
Offline Editor Main Menu Bar
AWOL_MENU_TOOLS
Tools
✔ Editing Toolbar
When checked, displays the editing toolbar (see page 100).
✔ Loop/Branch Toolbar
When checked, displays the loop/branch toolbar (see page 100).
✔ Motion Toolbar
When checked, displays the motion toolbar (see page 101).
Navigate
Displays an interactive CALL tree for the current file. Move to a
CALLed program by choosing it (see page 106).
CallTrees...
Creates a text file listing of all CALLs in a specific program (see page
122).
Squeeze...
Creates a “squeezed” (compressed) version of the current program.
Listings...
Creates a text file listing of all occurrences of a specified keyword
(see page 122).
Expand/Collapse
Expands or collapses the CALL tree created by the Navigate option
(see page 106).
Expand All
Expands all branches of the CALL tree created by the Navigate
option (see page 107).
AWOL_MENU_WINDOW
Window
Cascade
Displays all open windows one in front of another.
Tile
Displays all open windows one next to another.
Narrow Mode Ctrl+O
Displays only one program in a multiprogram file. In Narrow mode, Find
and Replace apply only to the displayed program.
1 Sample_file_1
Displays a list of available windows. Select a window name to make
that window the active window (indicated by a check mark).
✔ 2 Sample_file_2
AWOL_MENU_HELP
Help
V+ Language Reference Guide
AdeptWindows Offline Editor User’s Guide
About AdeptWindows Offline Editor
130
F1
Displays the V+
Language Reference Guide.
Displays the AdeptWindows User’s Guide.
Displays a pop-up window with information
about the version, edit, and edit date.
AdeptWindows User’s Guide, Rev. A
Using Existing V+ Routines
With AdeptWindows
Introduction
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
132
The BUFFERED Keyword
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
132
The EVENT CONNECT Keyword
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
132
The ID Keyword
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
132
The MENU Keyword
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
133
Menu Events
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
133
Window Size
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
133
Example V+ Program
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
134
.
AdeptWindows User’s Guide, Rev.A
131
Appendix B
Introduction
Introduction
This appendix describes the changes required when upgrading existing V+
version 11.x routines for use with AdeptWindows and V+ version 12.x.
The BUFFERED Keyword
FOPEN(lun) "Iconname/ICON/BUFFERED"
The /BUFFERED keyword may appear in the FOPEN instruction when used for
creating new icons. It causes the subsequent WRITEs to the icon to be buffered to
512-byte blocks. The syntax for WRITE remains unchanged.
The EVENT CONNECT Keyword
FSET(lun) "/EVENT CONNECT"
The new /EVENT CONNECT keyword enables connect and disconnect event
notification. The event values are:
20 Connected to the PC front end
21 Disconnected from the PC front end
The ID Keyword
ID(11,1)
In V+ version 12.x, the above code returns a bit mask value. The first bit and the
last bit apply to AdeptWindows applications.
For example, if the above command returns a value of ^H1B on a system that is
running AdeptWindows, this hex value translates to the binary value:
132
AdeptWindows User’s Guide, Rev.A
Appendix B
The MENU Keyword
11011
Using graphics
Monitor is displayed in a graphics window
(not used)
Controller has SYSIO
Controller has a PC front end (using AdeptWindows)
The MENU Keyword
FSET(lun) "Filename/MENU ..."
In V+ version 12.x, the /MENU keyword may appear only in the FSET
instruction. (In version 11.x, the /MENU keyword was also allowed in the
FOPEN instruction.)
Menu Events
Menu events may arrive at any time (if they are enabled) rather than just when
the user clicks on the menu bar. These apparently random events always have
menu ID (event[1]) equal to zero. For example, when you enter the following
command:
FSET /MENU ’xxx’ ’yyy’ ’zzz’
three events will be received (i.e., <event[1] = 0, event[2] = 1; followed by:
event[1] = 0, event[2] = 2>; followed by: <event[1] = 0, event[2] = 3>).
These events are intended to elicit the FSET /PULLDOWN instructions from V+
to set the contents of all possible pull-down menus.
Window Size
In V+ version 11.x, the minimum window size (for windows containing a title bar)
is 64 x 64. (This means that windows with a dimension of less than 64 x 64 are
automatically increased to 64 x 64.) In V+ version 12.x, the minimum window size
is 8 x 8 (this is the same as the minimum size for windows without title bars).
AdeptWindows User’s Guide, Rev.A
133
Example V+ Program
Appendix B
If your program specifies a window dimension less than 64 x 64, the window
displayed in V+ version 12.x will be smaller than it was in V+ version 11.x.
Example V+ Program
The following V+ program illustrates the correct use of the items discussed in this
appendix.
;ABSTRACT
: The following example program shows how to use an
;
event loop to make selections in a menu program.
;
;INPUT PARAM :
;
;OUTPUT PARAM :
;
;SIDE EFFECTS :
;
;DATA STRUCT :
;
;MISC :
;
;* Copyright (c) 1997 by Adept Technology Inc.
;--------------------------------------------------------AUTO glun
; Attach to a window Logical Unit (LUN)
ATTACH (glun, 4) "GRAPHICS"
; Open the window "example" with a maximum size of 400 x 300 pixels
FOPEN (glun) "example", "/MAXSIZE 400 300"
; Check to see if system is running AdeptWindows or is using the VGB
; If the system is using AdeptWindows write the Adept icon to the
; window.
IF (ID(11,1) BAND BMASK(5)) AND (ID(11,1) BAND BMASK(1)) THEN
GICON (glun) 365, 1, "system_adept"
END
; Set the top-level menu bar and enable monitoring of events
FSET (glun) "/menu ’File 1’ ’Edit 2’ ’Menu 3’"
FSET (glun) "/event button menu connect"
; Define the strings for the pull-down menus
134
AdeptWindows User’s Guide, Rev.A
Example V+ Program
Appendix B
$menu[1] = "’Item 1-1’ ’Item 1-2’"
$menu[2] = "’Item 2-1’ ’Item 2-2’ ’Item 2-3’"
$menu[3] = "’Quit’"
; Set variable for event to be monitored
wn.e.menu = 14
wn.e.connect = 20
wn.e.disconnect = 21
; Start the processing loop
quit = FALSE
DO
GETEVENT (glun) event[]
CASE event[0] OF
VALUE wn.e.menu:
;
;
;
;
;
;
;
The menu event (14) has two components: a button-down component
corresponding to a click on a menu bar selection and a button-up
component corresponding to the pull-down selection made when the
button is released.
After the first component (pointer down on the menu bar), event[1]
will be 0 and event[2] will have the number of the menu bar
selection.
; Check to see if event[1] is 0, indicating a top-level menu select
IF event[1] == 0 THEN
; Use the value in event[2] to select a pull-down menu
FSET (glun) "/pulldown", event[2], $menu[event[2]]
; Else, execute the appropriate code for each menu selection
ELSE
; If event[1] is not 0, then the button has been released on a
; pull-down selection and:
;
event[1] will have the value of the top-level selection (menu)
;
event[2] will have the value of the pull-down selection (item)
menu = event[1]
item = event[2]
; The outer CASE structure checks the top-level menu selection
; The inner CASE structure checks the item selected from the pull-down
CASE menu OF
VALUE 1:
CASE item OF
VALUE 1:
;Menu 1
AdeptWindows User’s Guide, Rev.A
135
Example V+ Program
Appendix B
;code for Item 1-1
VALUE 2:
;code for Item 1-2
END
VALUE 2:
;Menu 2
CASE item OF
VALUE 1:
;code for Item 2-1
VALUE 2:
;code for Item 2-2
VALUE 3:
;code for Item 2-3
END
VALUE 3:
;Menu 3
CASE item OF
VALUE 1:
quit = TRUE
;Time to quit
END
END ;case menu of
END ;if event[1]
VALUE wn.e.connect:
;redraw
;reload user-defined icons
VALUE wn.e.disconnect: ;perform any operations
;related to disconnect
END ;Case event[0]
UNTIL quit
; When the window is no longer needed, close and delete the window
; and then detach from the logical unit.
FCLOSE (glun)
FDELETE (glun) "example"
DETACH (glun)
RETURN
.END
136
AdeptWindows User’s Guide, Rev.A
Troubleshooting
Introduction
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
138
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
138
Connecting to Host .
Using Microsoft Excel
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
138
138
Energy Star Compliant Systems
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
139
Ethernet TCP/IP
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
139
Connecting to an Adept Controller Through TCP/IP
NetManage’s TCP/IP . . . . . . . . . . . .
.
.
.
.
.
.
.
.
139
140
DDE Errors
.
.
.
.
.
.
.
PC or Adept Controller Problems
.
.
.
.
.
.
.
.
.
.
.
.
140
PC or Windows Program Problems
Adept Controller Problems . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
140
140
TIFF Image Export
V+ License
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
141
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
141
AdeptWindows User’s Guide, Rev. A
137
Appendix C
Introduction
Introduction
This appendix is designed to help you resolve problems that you may encounter
when using AdeptWindows.
DDE Errors
You may receive DDE errors in the following situations:
•
Connecting to a host
•
Using DDE in Microsoft Excel
Connecting to Host
When connecting to a host, the connection is typically made within several
seconds. If the Connect to Host dialog box and hourglass symbol continue to
remain on the screen, check the following:
•
The host must be correctly defined. You can display the host information by
double-clicking the host name in the Connect to Host dialog box. See
“Defining, Modifying, or Deleting a V+ Host” on page 84 for details.
•
AIM must be running on the Adept controller. See “Specifying DDE Item
Names” on page 86 for details.
•
The AIM DDE Enabled option must be initialized. If it is not, you must turn it
on and then restart AIM. See “Installing DDE With AIM” on page 65 for
details.
Using Microsoft Excel
•
If the AdeptWindows DDE server is not running, Microsoft Excel reports:
Remote data not accessible, start application “Adept.exe”?
Choose No and start up the AdeptWindows DDE server. If the
AdeptWindows DDE server is running, check that the host name is correct in
the Excel formula and that the named host is connected (see “Defining,
Modifying, or Deleting a V+ Host” on page 84).
138
AdeptWindows User’s Guide, Rev. A
Appendix C
•
Energy Star Compliant Systems
If the cell shows “#NAME?”, it means the AdeptWindows DDE server does
not support the item (variable) name. Check the spelling of the item name.
Once Excel has established a connection with the AdeptWindows DDE server,
and cells have been defined with links to the server, you can check all the
linked connections by selecting the Links option from the Excel Edit menu.
Energy Star Compliant Systems
On some computers that use “Energy Star” compliant motherboards, any
network connections may be disrupted when the BIOS power-save function
activates. If your system exhibits this problem, you can correct it by disabling the
power-save feature in the BIOS. See your PC user’s guide or installation manual
for details.
Ethernet TCP/IP
Connecting to an Adept Controller Through TCP/IP
The Adept controller and the PC must use the same IP network address and
subnet mask to enable communications through TCP/IP. Note, in the table below,
that the network section of the IP address must match exactly (the node number
[marked with “x” below] consists of any legal values and must be different for
each node on your network), and the entire subnet mask must match exactly.
PC
•
Adept Controller
IP address
172.16.xxx.xxx
172.16.xxx.xxx
Subnet Mask
255.255.0.0
255.255.0.0
Check the IP network address and subnet mask setting for the PC using the
Network option located on the Windows Control Panel. See the Windows
online help for details.
AdeptWindows User’s Guide, Rev. A
139
Appendix C
•
PC or Adept Controller Problems
Check the IP address and subnet mask setting for the Adept controller using
the CONFIG_C utility. See the manual titled Instructions for Adept Utility
Programs for details.
NetManage’s TCP/IP
It is recommended that you not run NetManage’s TCP/IP in conjunction with
Microsoft’s TCP/IP. Doing so can cause a one-second delay when displaying
characters in the monitor window that are typed on the keyboard.
To correct this problem, disable the NetManage TCP/IP connection. See the
Windows online help system for details.
PC or Adept Controller Problems
PC or Windows Program Problems
When any of your Windows programs cause your PC to lock up or crash while
AdeptWindows PC is running, you may lose the AdeptWindows PC connection.
This section describes how to reestablish your AdeptWindows PC connection.
If you see the error message “V+ not responding”:
1.
Disconnect from AdeptWindows PC (see page 72).
2.
Connect to AdeptWindows PC (see page 68).
If your Windows operating system is locked up:
1.
Reboot your PC.
2.
Start AdeptWindows PC (see page 68).
In most cases, this reestablishes the connection. However, if you receive a timeout
error (10060), simply reconnect AdeptWindows PC.
Adept Controller Problems
If the Adept controller locks up or crashes while AdeptWindows PC is running,
you can reestablish the connection as follows:
140
1.
Exit AdeptWindows PC (see page 73).
2.
Reboot the Adept controller.
3.
Start AdeptWindows PC (see page 68).
AdeptWindows User’s Guide, Rev. A
Appendix C
TIFF Image Export
TIFF Image Export
TIFF image export is supported only for Vision images when running
AdeptWindows PC.
To export any other window, you can use any PC-based screen capture program
(such as HiJaak by Quarterdeck Corporation). Once the window is captured, it
can be saved to a file on the PC.
You can also use the Windows screen copy command to capture the screen
contents.
•
Press ALT + PRINT SCREEN to copy the active window to the Windows
clipboard.
•
Press PRINT SCREEN to copy the entire screen to the Windows clipboard.
The clipboard contents can be pasted into a program or saved to a file. See the
Windows online help for details.
V+ License
When upgrading a system from V+ version 11 to V+ version 12 (version 12.2C or
higher is required for AdeptWindows), the V+ Version 12 license must be installed
on the controller. Otherwise, all other licenses (such as V+ Extensions, etc.) are
deactivated until the V+ Version 12 license is installed (and the V+ system is
rebooted from disk).
AdeptWindows User’s Guide, Rev. A
141
Index
Symbols
?, syntax error marker 97
A
A Note on IP Addresses 27
Access selection for variable records,
DDE 93
Access, read-write 87
Add host 85
Adding a new program to an existing
program file 109
Address
dialog box, V+ Cell 69
for the PC, setting TCP/IP (Windows
95) 42
for the PC, setting TCP/IP (Windows
NT) 45
Adept controller 69, 110
communication between PC and 16
lock-up 140
network status 60
problems 140
Adept hosts, define 85
AdeptNet 17
AdeptWindows
DDE 15, 81, 82
main menu bar 127
main window 83
starting 82
installation 23
license, installing the 24
Offline Editor 95, 97
main menu bar 128
overview of 14
PC 68
display interface 67
exiting the program 73
main menu bar 126
main window 71
starting the program 68
software, installing the 23
TFTP Server 75
using existing V+ routines with 131
AIM
creating new DDE records in 90
customization 89
customizing DDE in 89
installing DDE with 65
modifying DDE records in 89
module 72
variable database 86
variables 82, 86
Attributes
dialog box, file 115
modifying project file 115
Automatic keyword expansion 97
AWC board DIP switches 25, 62
setting the 62
B
Background color 120
Bar
AdeptWindows DDE main menu 127
AdeptWindows PC Main Menu 126
menu/icon 100
Offline Editor main menu 128
Offline Editor menu/icon 100
Bars and quick keys, menu 125
BASEINI.DB 87
Blank lines, removing 116
Board, Video Graphics 15
Booting over Ethernet 77
BUFFERED keyword 132
Building a project 117
C
Cabling and hardware
Ethernet connection 28
serial connection 25
Cabling, required 25, 28
CALL tree
and keyword listings, creating 122
listing 97, 122
navigate 106
AdeptWindows User’s Guide, Rev. A
143
Index
sample 122
Capturing screens 141
Cell address dialog box, V+ 69
Cells 139
Changing
AWC board and network settings 63
names and paths for NFS mounted
drives 64
software switch settings 64
user-defined IP address in NVRAM 64
Checking NFS server
Windows 95 58
Windows NT 4.0 57
Checking the status of the Solstice NFS
server 57
Clipboard images 141
Code, color 97
Cold links 87
hot and 87
Color 118
background 120
code 97
customizing the Offline Editor
highlighting 120
foreground 120
highlighting 118, 120
customizing 120
COM port 70
connecting through a 70
selection dialog box 70
Command
PING 46
Comments, removing 116
Communication between PC and Adept
controller 16
Compliant systems, Energy Star 139
Component (Network)
selecting a new
in Windows 95 41
in Windows NT 43
Configuration dialog box
Windows 95 network 40, 57
Windows NT network 43
Configuring
multiple PCs, controllers, and NFS
servers 36
multiple PCs, controllers, NFS servers,
and networks 38
multiple PCs, multiple controllers, and
144
one NFS server 34
one PC, controller, and NFS server 30
one PC, multiple controllers, and one
NFS server 32
serial protocol 26
Connecting
through a COM port 70
through Ethernet 69
to host 138
Connection
hardware 25
setting up an Ethernet 27
Connections
linked 139
Controller
Adept 69, 73, 110
booting over Ethernet 77
communication Between PC and
Adept 16
network status 60
pinging the 46
problems, PC or Adept 140
Copy 111
Copying a program 118
Copying screens 141
CPU time 85
Creating
and editing a program 108
CALL tree and keyword listings 122
DDE records 90
new DDE records in AIM 90
new program 108, 118
new project 112
variable records 93
Current project, getting information on
the 113
Customer service assistance
phone numbers 19
Customizing
DDE in AIM 89
header templates 97
Offline Editor highlighting colors 120
Program Header Template dialog
box 119
programming environment 118
Cut 111
D
Data Exchange, Dynamic 15, 82
AdeptWindows User’s Guide, Rev. A
Index
Database page, Select Initialization 89
DDE 15, 82, 94
access selection 93
access selection for variable records 93
AdeptWindows 81, 82
application 89
client 82
communication 16
data format 86
driver 85, 87, 89
driver on the V+ controller, running
the 86
enable record 65
errors 138
examples 94
in AIM, customizing 89
initialization 86, 89
item names, specifying 86
main menu bar, AdeptWindows 127
main window, AdeptWindows 83
record 89, 90
records
creating 90
modifying 89
records in AIM, creating new 90
records in AIM, modifying 89
server 82, 85, 138
status information, getting 88
status window 88
with AIM, installing 65
DDE Enable Record 65
DDE, AdeptWindows 15
DDEINI.DB 89, 90
DDEINI.DB new record page 90
Define Adept hosts 85
Defined hosts, list of 84
Defining, modifying, or deleting a V+
host 84
Deleting a program 118
Description of Icons 100
Desktop, Windows 95 73
Dialog box
COM Port Selection 70
Customize Program Header
Template 119
File Attributes 115, 116
Find 104
New File/Program Name 108
New Project 112
Program List 118
Project Files 115
Project Information 114
Replace 105
V+ Cell Address 69
Windows NT Network
Configuration 43
Windows 95 Network
Configuration 40, 57
Windows 95 Program Installation 23
DIP switches
AWC board (SW1) 25, 62
on the AWC board, setting the 62
software switch 27, 64
SW1 factory settings 62
Directory listing of an NFS shared
drive 61
Disconnecting
from V+ 72
Display interface, AdeptWindows PC 67
Documentation, printing and 124
Driver on the V+ controller, running the
DDE 86
Dynamic
Data Exchange 82
indentation 97
Dynamic Data Exchange 15
E
Edit menu 111
Editing
a program, creating and 108
toolbar 100
V+ programs 97
Window, Main Program 110
Editor
AdeptWindows Offline 95, 97
Features of the Offline 97
highlighting colors, customizing the
Offline 120
main menu bar, AdeptWindows
Offline 128
main menu bar, Offline 128
main window, Offline 99
menu/icon bar, Offline 100
starting the Offline 99
window 99, 110
Enable record, DDE 65
Enabling NFS sharing 55
AdeptWindows User’s Guide, Rev. A
145
Index
Energy Star compliant systems 139
Environment, customizing the
programming 118
Error
DDE 138
finding 106
locating 106
next 106
program 106
syntax 97
Ethernet 69
connecting through 69
connection, setting up an 27
interface 17
EVENT CONNECT keyword 132
Events, menu 133
Example V+ program 134
Examples, DDE 94
Excel
Microsoft 94
reading data using Microsoft 94
using Microsoft 138
Exchange, Dynamic Data 82
Existing
program file, adding a new program to
an 109
program file, opening an 108
program, opening an 108
project, opening an 113
V+ routines 131
Exiting AdeptWindows PC 73
Expansion, automatic keyword 97
Export, TIFF image 141
Exporting images 141
F
Factory defaults of DIP switch SW1 62
Features of the Offline Editor 97
File
adding a new program to an existing
program 109
attributes dialog box 116
attributes, modifying project 115
creating a new program 108
open a program 109
opening an existing program 108
system, network 72
Transfer Protocol 72
File Attributes dialog box 115
146
File/Program Name dialog box, New 108
Files
dialog box, Project 115
listing and renaming program 117
Modifying project 114
Find and Replace 104
Find dialog box 104
Finding errors 106
Foreground color 120
FTP 72
G
Getting Around 104
Getting DDE status information 88
Getting information on the current
project 113
Goto Program and Previous Program 105
Graphical User Interface 14
Graphics Board 15
GUI 14
H
Hardware connection 25
Header
program 108
standard 119
template 118
customized 97
Template dialog box, Customize
Program 119
Header templates, customized 97
Header, standard 119
Highlighting colors 118, 120
Highlighting colors, customizing the 120
Host
add 85
connecting to 138
name 85
Hosts
define Adept 85
list of defined 84
Hot and cold links 87
I
Icons
description of 100
using the 100
ID keyword 132
AdeptWindows User’s Guide, Rev. A
Index
Image export, TIFF 141
Indentation, dynamic 97
Information
dialog box, Project 114
getting DDE status 88
on the current project, getting 113
Initialization database page, Select 89
Installation dialog box, Windows 95
Program 23
Installing
AdeptWindows 21
AdeptWindows license 24
AdeptWindows software 23
DDE With AIM 65
NFS 47
Solstice Software on the PC 47
TCP/IP on a PC running Windows
95 40
TCP/IP on a PC running Windows NT
4.0 42
TCP/IP on the PC 40
TCP/IP on the PC (Windows 95) 40
TCP/IP on the PC (Windows NT) 42
Interface
AdeptWindows PC display 67
Interface, Graphical User 14
IP
address 69, 85
field 69
IP address
user-defined in NVRAM 64
Item names, specifying DDE 86
K
Keys, menu bars and quick 125
Keyword
BUFFER 132
BUFFERED 132
EVENT CONNECT 132
expansion 97
expansion, automatic 97
ID 132
listing 97, 122
sample 124
listing, sample 124
listings, creating CALL tree and 122
MENU 133
Keyword expansion, automatic 97
L
License
installing the AdeptWindows 24
V+ 141
Linked connections 139
Links
cold 87
hot 87
option 139
List of defined hosts 84
Listing
and renaming program files 117
CALL tree 97, 122
creating CALL tree and keyword 122
keyword 122
sample keyword 124
tool for programs 123
Lists, program pick 106
Loading and running the CONFIG_C
utility 63
Locating errors 106
Loop/branch toolbar 100
M
Main menu bar
AdeptWindows
DDE 127
Offline Editor 128
PC 126
Offline Editor 128
Main program editing window 110
Main window
AdeptWindows
DDE 83
Offline Editor 99
PC 71
Major, project version 113
Menu
Edit 111
events 133
Menu bar
AdeptWindows
DDE 127
Offline Editor 128
PC 126
Menu bars and Quick Keys 125
MENU keyword 133
Menu/icon bar, Offline Editor 100
AdeptWindows User’s Guide, Rev. A
147
Index
Microsoft Excel 94
reading data using 94
using 138
Minor, project version 113
Modifying
DDE records 89
DDE records in AIM 89
project file attributes 115
project files 114
Motion toolbar 101
Mounting an NFS drive from the Adept
controller 59
MS-DOS Prompt, starting DDE from
the 83
Multiple PCs, controllers
and NFS servers 36
NFS servers, and networks 38
N
Names, specifying DDE item 86
Navigate 106
Navigate CALL tree 106
Navigation 98
NetManage 140
NetManage’s TCP/IP 140
Network component
selecting a new (Windows 95) 41
selecting a new (Windows NT) 43
Network configuration dialog box
Windows NT 43
Windows 95 40, 57
Network File System 72
Network protocol selection (Windows
95) 41
Network protocol selection (Windows
NT) 44
New
DDE records in AIM, creating 90
File/Program Name dialog box 108
network component, selecting a
(Windows 95) 41
network component, selecting a
(Windows NT) 43
program file, creating a 108
Project dialog box 112
project, creating a 112
record page, DDEINI.DB 90
Next Error 106
NFS 72
148
NFS sharing properties 56
Notepad, Windows 95 124
NVRAM
IP address 64
NVRAM software switch 27, 64
O
Offline Editor
AdeptWindows 95, 97
customizing the highlighting
colors 120
features of the 97
highlighting colors, customizing
the 120
main menu bar 128
main menu bar, AdeptWindows 128
main window 99
menu/icon bar 100
starting the 99
One PC
controller, and NFS server 30
multiple controllers, one NFS
server 32
Opening
an existing program 108
an existing program file 108
an existing project 113
Option, links 139
Other network configurations 36
Overview of AdeptWindows 14
P
Page
DDEINI.DB new record 90
Select Initialization Database 89
Paste 111
PC
AdeptWindows 68
display interface 14
display interface, AdeptWindows 67
exiting AdeptWindows 73
installing TCP/IP on the 40
installing TCP/IP on the (Windows
95) 40
installing TCP/IP on the (Windows
NT) 42
lock-up 140
main menu bar, AdeptWindows 126
main window, AdeptWindows 71
AdeptWindows User’s Guide, Rev. A
Index
or Adept controller problems 140
or Windows 95 program problems 140
pinging the 46
setting TCP/IP address for the
(Windows 95) 42
setting TCP/IP address for the
(Windows NT) 45
starting AdeptWindows 68
PC and Adept controller, communication
between 16
Pick lists, program 106
PING 69
PING command 46
Pinging the controller 46
Pinging the PC 46
Polling time 87, 93
Port
COM 70
connecting through a COM 70
RS-232 serial 17
selection dialog box, COM 70
Previous Program, Goto Program and 105
PRINT SCREEN 141
Printing and documentation 124
Problems
Adept controller 140
PC or Adept controller 140
PC or Windows 95 Program 140
Program
and Previous Program, Goto 105
copying a 118
creating and editing a 108
deleting a 118
editing window, Main 110
editor, SEE 72
errors 106
example V+ 134
file, adding a new program to an
existing 109
file, creating a new 108
file, open a 109
file, opening an existing 108
files, listing and renaming 117
Goto Program and Previous 105
header 108
template 118
header template dialog box,
customize 119
header, standard 119
installation dialog box,
Windows 95 23
list dialog box 117
listing tool for 123
Manager, starting DDE from the
Windows 95 82
name 108
opening an existing 108
pick lists 106
problems, PC or Windows 95 140
renaming a 118
selecting a 118
Programming environment, customizing
the 118
Project
building a 117
creating a new 112
description 113
dialog box, new 112
file attributes, modifying 115
Files dialog box 114
files, modifying 114
getting information on the current 113
Information dialog box 114
name 113
opening an existing 113
version 113
Projects 112
working with 112
Protocol
configuring the serial 26
File Transfer 72
selection, network (Windows 95) 41
selection, network (Windows NT) 44
Q
Quick keys, menu bars and 125
R
Reading
data using Microsoft Excel 94
Read-write access 87
Record
DDE Enable 65
page, DDEINI.DB new 90
Records
creating variable 93
DDE access selection for variable 93
in AIM, creating new DDE 90
AdeptWindows User’s Guide, Rev. A
149
Index
in AIM, modifying DDE 89
Referring to mounted drives 59
Renaming
a program 118
program files, listing and 117
Replace
dialog box 105
Find and 104
Required hardware
Ethernet connection 28
serial connection 25
Requirements, system 17
Routines with AdeptWindows, using
existing V+ 131
RS-232 serial port 17
Running the DDE driver on the V+
controller 86
S
Sample
CALL tree 122
keyword listing 124
Screen capture 141
SEE editor 72, 110
Select Initialization Database Page 89
Selecting
a new network component (Windows
95) 41
a new network component (Windows
NT) 43
a program 118
Selection
dialog box, COM Port 70
for Variable Records, DDE Access 93
Network Protocol (Windows 95) 41
Network Protocol (Windows NT) 44
Serial
option 17
port, RS-232 17
protocol, configuring the 26
Setting
AWC board DIP switches 62
DIP switches on the AWC board 62
TCP/IP address for the PC (Windows
95) 42
TCP/IP address for the PC (Windows
NT) 45
Setting up
a serial connection 25
150
an Ethernet connection 27
Single PC, multiple controllers, one NFS
server 34
Size
window 133
Software switch 27, 64
Software, installing the
AdeptWindows 23
Solstice
Choose Destination Directory
Window 50
Name Service Window 53
NFS Server icon on Windows 95
Taskbar 58
Select Components window 51
Select Sub-components window 52
Setup is Complete window 54
Setup Type window 51
User Information window 49
Specifying DDE item names 86
Standard header 119
Standard program header 119
Starting
AdeptWindows
DDE 82
Offline Editor 99
PC 68
Status
information, getting DDE 88
window, DDE 88
Support
phone numbers 19
Switches
AWC board DIP 25, 62
setting the AWC DIP 62
software 27, 64
Syntax errors 97
System
Network File 72
requirements 17
Adept controller 17
PC 17
Systems
Energy Star Compliant 139
T
TCP/IP
address for the PC, setting (Windows
95) 42
AdeptWindows User’s Guide, Rev. A
Index
address for the PC, setting (Windows
NT) 45
installing 40
installing (Windows 95) 40
installing (Windows NT) 42
Microsoft 140
NetManage 140
NetManage’s 140
on the PC, installing 40
on the PC, installing (Windows 95) 40
on the PC, installing (Windows NT) 42
properties
Windows 95 42
Windows NT 45
Template 118
customized header 97
dialog box, customize program
header 119
Testing the NFS mounted drives 60
TFTP Server
closing 80
diagnostics window 78
main window 76
starting 76
The CONFIG_C main menu 63
The controller IP address 27
The Solstice Network Client startup
window 48
TIFF image export 141
Time
CPU 85
polling 87, 93
Toolbar
editing 100
loop/branch 100
motion 101
Transfer Protocol, File 72
Tree
and keyword listings, creating
CALL 122
listing, CALL 122
Navigate CALL 106
sample CALL 122
Troubleshooting 137
Using PING to test the Ethernet setup 46
V
V+
cell address 69
Cell Address dialog box 69
code 110
controller 85
controller Running the DDE driver on
the 86
disconnecting from 72
host 84
host defining a 84
license 141
program, example 134
programs 117
programs, editing 97
routines 131
routines with AdeptWindows, using
existing 131
routines, existing 131
system data 86
V+ Language Reference Guide 110
V+ Language User’s Guide 110
Variable
names 97
records
creating 93
DDE access selection for 93
VGB 15
Video Graphics Board 15
W
What is AdeptWindows? 14
Window
AdeptWindows DDE main 83
AdeptWindows PC main 71
DDE Status 88
Editor 110
editor 99, 110
main program editing 110
Offline Editor main 99
size 133
U
Undo 111
User Interface, Graphical 14
User-defined IP address 64
AdeptWindows User’s Guide, Rev. A
151
Index
Windows
screen copy 141
Windows NT
Network Configuration dialog box 43
Services dialog box 57
Windows 95
desktop 73
Network Configuration dialog box 40,
57
Notepad 124
Program Installation dialog box 23
Program Manager, starting DDE from
the 82
program problems, PC or 140
Working with projects 112
152
AdeptWindows User’s Guide, Rev. A
Adept User’s Manual
Comment Form
We have provided this form to allow you to make comments about this manual, to point out any mistakes
you may find, or to offer suggestions about information you want to see added to the manual. We review
and revise user’s manuals on a regular basis, and any comments or feedback you send us will be given
serious consideration.
If you prefer to submit your comments by e-mail, you can send them to:
tpubs@aol.com
Thank you for your input.
NAME ______________________________________________
DATE _______________________________
COMPANY __________________________________________________________________________________
ADDRESS ___________________________________________________________________________________
PHONE _____________________________________________________________________________________
MANUAL TITLE _____________________________________________________________________________
PART NUMBER and REV level _________________________________________________________________
COMMENTS:
_____________________________________________________________________________________________
_____________________________________________________________________________________________
_____________________________________________________________________________________________
_____________________________________________________________________________________________
_____________________________________________________________________________________________
_____________________________________________________________________________________________
_____________________________________________________________________________________________
MAIL TO:
Adept Technology, Inc.
Technical Publications Dept.
11133 Kenwood Rd.
Cincinnati, OH 45242
FAX:
(513) 792-0274
00963-07300, Rev. A