Rockwell Automation 9323-PA1E User Manual

Who Should Use this Manual ?...........................................................................
Purpose of this Manual ?....................................................................................
Common T echniques Used in this Manual ?.....................................................
Installing the Software 1œ1....................................................................
Personal Computer Requirements 1œ2...................................................................
Platform Restrictions 1œ3........................................................................................
Using Extended Memory 1œ4..................................................................................
Using Expanded Memory 1œ4.................................................................................
Using APS with DOS 5.0 1œ6..................................................................................
Using APS with DOS 6.0 1œ7..................................................................................
Configuring the Windows Drivers (INTERCHANGE) 1œ11.......................................
Running APS 1œ16...................................................................................................
Using the ReadMe File 1œ18.....................................................................................
SupportPlus Remote Software Support Disks 1œ18.................................................
Transferring the Software Ownership 1œ18..............................................................
Documentation Database Utility (UPDATEDB.EXE) 1œ19........................................
Navigating Through the Software 2œ1..................................................
Using Online Help 2œ2............................................................................................
APS Screen Format 2œ3.........................................................................................
The Five Basic Menu Displays 2œ4.........................................................................
Keys Y ou Use 2œ10.................................................................................................
Configuring Your System 3œ1...............................................................
Configuration Options 3œ2......................................................................................
Saving Y our Configuration 3œ14..............................................................................
File Extensions Used by APS and APSIE 3œ14........................................................
Ladder Logic Program Basics 4œ1.......................................................
Understanding Ladder Logic Programs 4œ2...........................................................
Types of Ladder Logic Connections 4œ5.................................................................
Application Example  4-Rung Ladder Logic Program 4œ11.....................................
Creating and Configuring Processor Files 5œ1...................................
Processor Functions 5œ2........................................................................................
Effects of Processor Type Changes 5œ9.................................................................
Deleting a Processor File from the Workspace 5œ13................................................
Archive File Operations 5œ14....................................................................................
Creating and Editing Ladder Program Files 6œ1.................................
Creating Ladder Program Files 6œ2........................................................................
Editing Ladder Program Files 6œ5...........................................................................
The Search Function 6œ12........................................................................................
Advanced Editing Functions 6œ16............................................................................
Recovering Y our Work 6œ19....................................................................................
Creating and Deleting Data Files (SLC 500 Processors Only) 6œ20........................
Radices Used in APS 6œ24.......................................................................................
Documenting Ladder Programs 7œ1....................................................
Comment Types and Symbols 7œ2.........................................................................
Documenting Y our Ladder Program 7œ4...............................................................
Using the Database Editor 7œ16...............................................................................
Viewing Y our Documented Program 7œ25...............................................................
Protection 8œ1........................................................................................
Password 8œ2.........................................................................................................
Future Access (OEM Lock) 8œ5..............................................................................
Program Owner Protection 8œ6...............................................................................
Program File Protection (SLC 5/03 and SLC 5/04 Processors) 8œ8.......................
Data T able File Protection 8œ10...............................................................................
Memory Module Data File Overwrite (SLC 5/03 and SLC 5/04 Processors) 8œ16...
Memory Module Program Compare Protection (SLC 5/03 and SLC 5/04 8œ17.......
Memory Module Write Protection (SLC 5/03 and SLC 5/04 Processors) 8œ17........
Force Protection 8œ20...............................................................................................
Keyswitch Protection (SLC 5/03 and SLC 5/04 Processors) 8œ20...........................
Communication Channel Protection (SLC 5/03 and SLC 5/04 Processors) 8œ21....
Saving and Compiling a Processor File 9œ1........................................
Saving a Processor File 9œ2...................................................................................
Evaluating How Processor Memory is Stored 9œ8..................................................
Creating and Printing Reports 10œ1.......................................................
Types of Reports 10œ2..............................................................................................
Creating Reports 10œ4..............................................................................................
Adding Titles to Printed Reports 10œ18......................................................................
Configuring the Report Page Layout 10œ19................................................................
Printing Reports 10œ21...............................................................................................
Configuring Your Programming Device for Online 11œ1......................
Configuration Options 11œ2......................................................................................
Online Configuration 11œ5........................................................................................
Using WHO 12œ1......................................................................................
Using DH-485 WHO 12œ2.........................................................................................
Using DH+ WHO (SLC 5/04 Processors Only) 12œ13................................................
Configuring Your Processor for Online Communication 13œ1............
Configuring SLC 5/01 and SLC 5/02 Processors 13œ2.............................................
Configuring the SLC 5/03 and SLC 5/04 Processors for Online 13œ3......................
Understanding the Channel Configuration Option 13œ5...........................................
Changing the Channel Configuration 13œ9...............................................................
Changing the Communication Mode of Channel 0 13œ19..........................................
Considerations When Communicating as a DF1 Slave on a Multi-drop 13œ22..........
Restoring and Saving Processor Files 14œ1.........................................
Communicating with a Processor 14œ2.....................................................................
Restoring a File 14œ4................................................................................................
Saving a File 14œ7....................................................................................................
Changing Processor Modes 15œ1...........................................................
Available Modes of Operation 15œ2..........................................................................
Changing Remote Modes 15œ6................................................................................
Monitoring Controller Operation 16œ1...................................................
Monitoring Program Files 16œ2.................................................................................
Monitoring an Application 16œ7.................................................................................
Fault Recovery Procedure 16œ14...............................................................................
Data T able File Displays 16œ16.................................................................................
Online Editing 17œ1..................................................................................
Overview of Online Editing 17œ2...............................................................................
Types of Online Editing 17œ5....................................................................................
Online Editing Screen Display 17œ6..........................................................................
Effects of Online Editing On Y our System 17œ9......................................................
Online Editing Functions 17œ12..................................................................................
Runtime and Program Online Editing Effects 17œ15...................................................
Performing an Online Edit 17œ18................................................................................
The Multi-Point Function 18œ1................................................................
Multi-Point Function Overview 18œ2.........................................................................
The Multi-Point List Menu 18œ3................................................................................
The Edit Fields Menu 18œ5.......................................................................................
The Multi-Point Force Menu 18œ6.............................................................................
The Force Function 19œ1.........................................................................
Force Function Overview 19œ2.................................................................................
Forcing External Input Data File Bits 19œ3................................................................
Forcing an External Output Circuit 19œ9...................................................................
Using Memory Modules (EEPROMs and UVPROMs) 20œ1...................
Using a Memory Module 20œ2..................................................................................
Transferring Files 20œ2.............................................................................................
Using the PROM Translator Function 20œ6..............................................................
Transferring Program Files 21œ1............................................................
Program Transfer Overview 21œ2.............................................................................
Transferring Programs Between Programming Terminals 21œ3...............................
APS Error Messages ?.......................................................................
Advanced Programming Software User Manual
Preface
Who Should Use this Manual
Use this manual if you are responsible for designing, programming, or troubleshooting control systems that use Allen-Bradley small logic controllers.
You should have a basic understanding of SLC 500t products. If you do not, contact your local Allen-Bradley representative for the proper training before using this product.
We recommend reviewing the software.
Purpose of this Manual
This manual is a programming guide for the Advanced Programming Software (APS). It describes the procedures you use to program APS. This manual:
gives you an overview of such topics as addressing, ladder logic, creating and editing processor files, available processor modes, online editing, and transferring program files.
explains the procedures you use to program APS
complements the online help available at the terminal
Contents of this Manual
Chapter Title Contents
Preface
1 Installing the Software
2
3 Configuring Your System
4 Ladder Logic Program Basics
Navigating Through the Software
APS Quick Start for New Users
Describes the purpose, background, and scope of this manual. Also specifies the audience for whom this manual is intended.
Describes the requirements for installing and running APS.
Discusses online help, guides you through the APS menu displays, and explains the keys you use.
Describes how to select color options, the printer configuration, system startup state, and userpreferred directories.
Explains ladder programming. Includes examples of simple rungs and 4rung programs.
before using the
P–2
Chapter ContentsTitle
5
6
7
Creating and Configuring Processor Files
Creating and Editing Ladder Program Files
Documenting Ladder Programs
8 Protection
9
Saving and Compiling a Processor File
10 Creating and Printing Reports
Configuring Your
11
Programming Device for Online Communications
12 Using WHO
13
14
Configuring Your Processor for Online Communications
Restoring and Saving Processor Files
15 Changing Processor Modes
16
Monitoring Controller Operation
Steps you through creating and then configuring processor files.
Shows you how to create and edit a program file.
Describes how to enter text in ladder program files which explains the events related to a particular rung or program.
Describes the available types of protection for each processor.
Describes the procedures used to save and compile a processor file.
Describes the procedure for creating and printing reports.
Describes how to configure the terminal and software for online communication.
Describes the DH485 and DH+ functions.
Describes how to configure the SLC 500 processor for online communication.
Describes how to upload and download program files.
Describes the different operating modes a processor can be placed in while using APS.
Describes how to monitor controller operation.
17 Online Editing Describes what online editing is and how to use it.
18 The MultiPoint Function Describes the multipoint function and how to use it.
19 The Force Function Describes the force function and how to use it.
Describes the procedures used to transfer a program to/from an EEPROM. Also describes UVPROMs.
20
Using Memory Modules (EEPROMs and UVPROMs)
Describes how to transfer program files between
21 Transferring Program Files
programming devices connected on a DH485 network.
Appendix A APS Error Messages
Describes possible APS error messages and their corrective actions.
Preface
P–3
Advanced Programming Software User Manual
Preface
Related Documentation
The following documents contain additional information concerning RSI and Allen-Bradley SLC products. To obtain a copy distributor.
For Read this Document
An introduction to APS for firsttime users, containing basic concepts but focusing on simple tasks and exercises, and allowing the reader to begin programming in the shortest time possible
, contact your local sales of
APS Quick Start for New Users
fice or
A training and quick reference guide to APS SLC 500 Software Programmer's Quick
A guide of common procedures used in APS SLC 500 Software Common Procedures
A reference manual that contains status file data and instruction set information for the SLC 500 processors and MicroLogix 1000 controllers.
A procedural and reference manual for technical personnel who use the APS import/export utility to convert APS files to ASCII and conversely ASCII to APS files
An overview of the SLC 500 family of products SLC 500 System Overview, Publication
A description on how to install and use your Fixed SLC 500 programmable controller
A description on how to install and use your Modular SLC 500 programmable controller
A description on how to install and use your MicroLogix 1000 controllers. This manual also contains status file data and instruction set information for the micro controllers.
Reference Guide, Publication Number
ABT1747TSG001available on PASSPORT
at a list price of $50.00
Guide, Publication Number
ABT1747TSJ50available on PASSPORT
at a list price of $50.00
Instruction Set Reference Manual
APS Import/Export User Manual
Number 17472.30
Installation and Operation Manual for Fixed Hardware Style Programmable Controllers, Catalog Number 1747NM001
Installation and Operation Manual for Modular Hardware Style Programmable Controllers, Publication Number 17476.2
MicroLogix 1000 Controllers User Manual, Publication Number 17616.3.
P–4
A complete listing of current documentation, including ordering instructions. Also indicates whether the documents are available on CDROM or in multilanguages.
A glossary of industrial automation terms and abbreviations
AllenBradley Publication Index, Publication Number SD499
AllenBradley Industrial Automation Glossary, Publication Number AG7.1
Common Techniques Used in this Manual
The following conventions are used throughout this manual:
Bulleted lists provide information, not procedural steps.
Numbered lists provide sequential steps or hierarchical information.
Text in this font
Italic
The following table summarizes the conventions used to distinguish the differences between the SLC 5/03 processor and SLC 5/04 processor keyswitch positions, the processor modes, and the actual display on the APS status line.
type is used for emphasis.
Key names match the names shown and appear in bold, capital letters within brackets (for example, [ENTER]). A function key icon matches the name of
the function key you should press, such as
indicates words or phrases you should type.
CONFIG
SAVE
OFFLINE
EXIT
CONFIG
F3
Preface
.
When Referring
to the Keyswitch
Position
RUN position Run mode RUN
REMote position
PROGram position Program mode PROG
When Referring to the Processor
Mode
Run mode REM RUN
Program mode REM PROG
Test  Single Step mode
Test  Single Scan mode REM SSN
Test  Continuous Scan mode REM CSN
When Referring
Status Line
REM SRG
to the
P–5
Installing the Software
1
Installing the Software
Use the information in this chapter for information on:
personal computer requirements
platform restrictions
procedures for installing APS
configuring the windows drivers
running APS
SupportPlus Remote Software Support
transferring registration information
the documentation database utility
1–1
Advanced Programming Software User Manual
Preface

Personal Computer Requirements

The Advanced Programming Software (APS) can be used with an Allen-Bradley T47, T53, T60, or T70 terminal, 386/SX, NEC VERSAtE and M Series Notebooks, or GATEWAY 2000t models 386DX/25, 386DX/33, 486DX/33, 486DX2/50, and 486DX2/66 personal computers. Your computer must have:
640 Kbytes of RAM (A minimum of 2 Mbytes of extended memory
is required; 3 Mbytes are required for programming a 1747-L543 processor.)
10 Mbytes fixed-disk drive (APS requires 7.5 MBytes of free disk space.)
MS DOS version 3.3 or higher (INTERCHANGEt requires MS DOS version
5.0 or higher.)
For operation using Micr
for Workgroups version 3.11.
osoftR Windowst:
W
indows version 3.1 or Windows
Note APS
W
Microsoft W
IBM OS/2
IBM 0S/2 WARP
The amount of free conventional RAM that APS requires depends on what communication drivers you want to load:
only the standalone communications drivers 300K bytes
Microsoft Windows drivers (INTERCHANGE software) 369K bytes
6.0 is not supported on the following operating systems: indows 95
Rockwell was not designed for specific Windows 95 compatibility, nor has a complete set of tests within this operating system been completed at the time of the APS 6.0 release. However, if you still want to attempt to operate in the WIndows 95 operating system, there is some background information provided for you in the APS ReadMe file.
indows NT
Software does not recommend the use of APS 6.0 in the Windows 95 operating system. APS 6.0
If you want to load: You need:
t351
1–2

Platform Restrictions

If Using a 386/DX33 or Higher Platform
These platforms operate with no restrictions.
If Using a Platform Lower Than 386/DX33
Some restrictions may apply when operating at these platforms depending on the communication driver you use and its associated baud rate.
When operating at 19200 with an Allen-Bradley T47 or T60, a 386SX, or a similar computer, the use of EMM386 may slightly degrade network communications, and may degrade the reliability of APS communications to a network node. For enhanced communications performance on these computers, we recommend you remove EMM386 from the CONFIG.SYS file.
For restrictions on other drivers, see the table that follows.
Baud Rate
Platform
386/DX25 386/SX16
19200 9600 4800 2400 19200 9600
Communication Driver
KF3/KE and DF1
Half-Duplex
Installing the Software
Windows 485
(PIC Only)
Communication
Communication between the driver and APS is only supported without an expanded memory manager
Communication between the driver and APS is not supported.
between the driver and APS is supported with or without an expanded memory manager
.
.
Note Using a platform lower than a 386/SX16 is not supported online or offline.
1–3
Advanced Programming Software User Manual
Preface

Using Extended Memory

APS requires a minimum of 3 Mbytes of extended memory (XMS). T extended (XMS) memory, add the following command to your CONFIG.SYS file:
Type: DEVICE=HIMEM.SYS
If the file HIMEM.SYS is not located in your root directory (C:\), you must specify the directory path to the file so DOS can locate the file (for example, DEVICE = C:\DOS\HIMEM.SYS).
If you use HIMEM.SYS, we strongly recommend that you increase the number of available XMS handles (NUMHANDLES) to 128. To do this add the following line to your CONFIG.SYS file.
DEVICE=C:\DOS\HIMEM.SYS /NUMHANDLES=128
After you enter this command and save the modified CONFIG.SYS file, restart your computer for the changes to take effect.
For more information about installing the extended memory manager, refer to the ReadMe file included with this software. This file is located in the directory in which the APS executable resides.
Note Be sure to add the following line to your AUTOEXEC.BAT:
C:\DOS\SHARE.EXE
.

Using Expanded Memory

o use
1–4
Use of expanded memory decreases APS performance; therefore, it is not recommended. If you still choose to use expanded memory, follow the EMS 4.0 and VCPI specifications so that APS can use the expanded memory successfully (for example, DEVICE = C: \DOS\EMM386.EXE).
Determine if you can use expanded memory by referring to the chart on page 1–3. If you use a memory manager that is not 100% compatible, your computer may lock up when you attempt to run APS. Contact your local computer software vendor to determine what requirements your memory manager meets.
Installing the Software
Note If an EMS handler (such as EMM386) is installed, it must follow the EMS 4.0 and
VCPI specifications. If it does not, contact the manufactur r
elease. If you ar
those specified her
e using an EMS handler (or you want to use other switches than
e) refer to the
ReadMe
file included with this softwar
er and obtain the latest
e. An exception is the IBM PC-DOS 4.01, which has an EMS manager that is not VCPI compatible.
If you ar
e using one of the following EMS memory managers, make certain you use
the switch shown in the example below (or an equivalent):
DEVICE=<path>EMM386 FRAME=NONE DEVICE=<path>386MAX NOFRAME DEVICE=<path>386MAX EMS=0
If
you ar
e using a QEMM memory manager
, make certain you use the switch shown
in the example below (or an equivalent):
DEVICE= DEVICE=
<path> <path>
QEMM386.SYS FRAME=NONE QDPMI.SYS
1–5
Advanced Programming Software User Manual
Preface

Using APS with DOS 5.0

Recommended CONFIG.SYS for 386/486 PCs with 4 meg. RAM running DOS 5.0 (uses a combination of extended and expanded memory):
Note If running in a W
load
DEVICE=C:\DOS\HIMEM.SYS /NUMHANDLES=128 DOS=HIGH,UMB
DEVICEHIGH=C:\DOS\ANSI.SYS FILES=40 BUFFERS=40 DEVICE=C:\DOS\SMARTDRV.SYS
Note The
PC expansion car car
For example, the memory manager invoke line would appear as follows when using a 1784-KT Communication Interface module set up to use addr DFFF:
SHARE.EXE
set the
FILES
executable
ds by adding an exclusion option to the memory manager invoke line.
DEVICE=C:\DOS\EMM386.EXE 1024 x=D400-DFFF FRAME=NONE
See
the user manual pr
indows envir
parameter to 46 or higher
EMM386.EXE
ds. You must exclude the memory used by all of the PC expansion
onment:
and INTERCHANGE drivers prior to loading MS Windows.
does not automatically exclude the memory used by
ess range D400 to
ovided with each expansion car
d for mor
e information.
1–6
Example CONFIG.SYS file for expanded memory only:
FILES=40 BUFFERS=40 DEVICE=C:\DOS\HIMEM.SYS /NUMHANDLES=128 DEVICE=C:\DOS\EMM386.EXE FRAME=NONE
Example CONFIG.SYS file for extended (XMS) memory only:
FILES=40 BUFFERS=40 DEVICE=C:\DOS\HIMEM.SYS /NUMHANDLES=128

Using APS with DOS 6.0

When a power loss or system reboot occurs when using DOS 6.0, data on your hard drive may become corrupt when the “write cache” option is enabled by SMARTDRV. We recommend disabling the “write cache” option. Use the following configuration to disable the “write cache” option:
SMARTDRV
If you are using DOS 6.0 with DoubleSpace, add the following line to your AUTOEXEC.BAT file.
SMARTDRV H
Installing the Software
Note The
above example assumes you ar
consisting of Drives A, B, and C. Drive H is the host drive used by DoubleSpace.
If your computer is configured differ information r
egar
ding the DoubleSpace host drive selection.
Using DOS 6.0 with DoubleSpace
If you are using a 386/486 PC with 4 meg. RAM running DOS 6.0 with DoubleSpace (uses a combination of extended and expanded memory), we recommend using the following CONFIG.SYS:
DEVICE=C:\DOS\HIMEM.SYS /NUMHANDLES=128 DOS=HIGH,UMB DEVICE=C:\DOS\EMM386.EXE FRAME=NONE DEVICEHIGH=C:\DOS\ANSI.SYS FILES=40 BUFFERS=40 DEVICEHIGH=C:\DOS\DBLSPACE.SYS /MOVE
Note If running in a W
Example CONFIG.SYS file for extended (XMS) memory only:
DEVICE=C:\DOS\HIMEM.SYS /NUMHANDLES=128 DEVICE=C:\DOS\DBLSPACE.SYS /MOVE FILES=40 BUFFERS=40
indows envir
e using a standar
ently
, r
efer to your DOS 6.0 user manual for
onment, set the
d computer configuration
FILES
parameter to 46 or higher
1–7
Advanced Programming Software User Manual
Preface
Using DOS 6.0 without DoubleSpace
If you are using a 386/486 PC with 4 meg. RAM running DOS 6.0 without DoubleSpace, we recommend using the following AUTOEXEC.BAT CONFIG.SYS files:
and
Note If running in a W
load
Example AUTOEXEC.BAT file for DOS 6.0
C:\DOS\SMARTDRV.EXE C PATH=C:\;C:\DOS goto %config%
:STANDARD goto end
:APS C:\DOS\SHARE.EXE CD C:\ABIC\BIN CALL ABICRUN CD C:\IPDS\ATTACH\SLC500 CALL APS goto end
:end
Example CONFIG.SYS file for DOS 6.0 without DoubleSpace
SHARE.EXE
set the
FILES
indows envir
parameter to 46 or higher
onment,
prior to loading windows.
1–8
[menu] menuitem=standard menuitem=APS
[Common] DEVICE=C:\DOS\HIMEM.SYS /NUMHANDLES=128 DOS=HIGH,UMB
[Standard] DEVICE=C:\DOS\EMM386.EXE 1024 FRAME=NONE DEVICEhigh=C:\ANSI.SYS FILES=40 BUFFERS=40
[APS] DEVICEhigh=C:\DOS\ANSI.SYS FILES=40 BUFFERS=40

Installing the Software or Software Updates

Before you actually install the software, complete the prepaid postage Software Updates registration card and return it to Rockwell Software Incorporated. This is
very important, since it confirms your registration.
Inside the software envelope you will find the APS software, Catalog Number 9323-PA2E, on 3.5 inch high-density disks. If you require 5.25 inch or 3.5 inch low-density disks and are a registered user 1-800-289-2279. Have your software serial number available when you call.
We assume that you have installed DOS in your computer. If you have not, do this now, following the instructions supplied with your computer.
Checking Available Memory
, contact the media exchange service at
Installing the Software
To determine if your computer has enough memory for the software, at the DOS prompt type: CHKDSK configuration of your computer
See page
free.
Updating the System Files
To update your system files, follow the instructions supplied with your computer.
ou must re-boot the system to initialize any changes you make.
Y
AUTOEXEC.BAT File
Make sure your AUTOEXEC.BAT file contains this statement:
C:\DOS\SHARE.EXE
, then press
1–2 for memory requirements.
[ENTER]. The screen displays the memory
. Check the last line of the display
XXXXXX bytes
1–9
Advanced Programming Software User Manual
Preface
CONFIG.SYS File
Your CONFIG.SYS file must contain the following statements:
FILES=40 BUFFERS=40
(
If
running in a windows envir
onment, set
FILESw46
.)
Note These
ar
e minimum values. If your BUFFERS statements with gr awar
e that these statements may conflict with the
other softwar
e packages you have installed on your pr
eater values, ther
Locating the Software’s Serial Number
During the installation process you are asked for the serial number of your software. The serial number you enter is used to personalize the software.
The serial number is not found on the disks.
though. These are:
the software registration card
the registration change card
the outside of the shipping carton
Note If
you enter the serial number incorr accept the entry your serial number car
, you will be unable to correct this situation later
efully
, befor
Installing the Software
CONFIG.SYS
file contains FILES and
e is no need to change the file. Be
CONFIG.SYS
ogramming terminal.
It can be found in several places
ectly or enter the wr
e committing your work.
ong serial number and
r
equir
. Ther
ements for
efor
e, verify
1–10
To install the software, do the following:
1. Insert the diskette labeled Disk 1 into the appropriate disk drive (either drive A
or drive B). For this example, we are using drive A.
2. Exit to DOS.
3. Type: A:INSTALL
4. During the installation process, instructions appear on the screen to prompt you
through the procedure. Follow the instructions and type in the information requested.
, then press
[ENTER].
Installing the Software
Note You
must use the default directories
intend to run APS in a W the DH
+ WHO function.
indows envir
The APS executable is named AP.EXE
pr
ovided during initial installation if you
onment with INTERCHANGE and/or access
which is called by
APS.BAT. The installation procedure also loads the INTERCHANGE software executables, IT executables, and the DH APS under W
indows and to access the DH
+ WHO executable. These executables are required to run
+ WHO function.

Configuring the Windows Drivers (INTERCHANGE)

APS 6.0 and above uses part of the INTERCHANGE software product, Catalog Number 5850-WKTS. This software supports the use of Data Highway Plus (DH+) and DH-485 protocols, in addition to DH+ WHO functionality. Y complete INTERCHANGE software through the internal INTERCHANGE executables shipped with the APS software. For more information on the INTERCHANGE software product contact your local Allen-Bradley representative.
INTERCHANGE software is an Application-Programming Interface (API) that provides a host computer (MS-DOS operating system with or without Windows) with a library of functions and executable commands. INTERCHANGE software lets multiple applications (such as APS and 6200 Programming Software) share a single common interface module to communicate with various devices on DH+ and/or DH-485 networks.
ou can load the
The type of computer you use dictates which KT DH+ communication interface module (referred to as card) you need:
Type of Computer Communication Interface Card
IBM compatible 1784KT or 1784KTX
IBM compatible PCMCIA 1784PCMK
IBM PS/2 microchannel 1784KT2
T47 portable terminals 1784KL
If this is the first time the Windows drivers (INTERCHANGE software) are configured, you need to configure the INTERCHANGE drivers. Y
ou can do this
from either a Windows or DOS environment. Explanations of both methods follow.
1–11
Advanced Programming Software User Manual
Preface
Configuring the Drivers From a Windows Environment
To configure the INTERCHANGE drivers from W DeviceConfig icon found in the INTERCHANGE program group. Follow the instructions provided.
indows, click on the
Configuring the Drivers From a DOS Environment
To configure the INTERCHANGE drivers from a DOS environment, verify that the following statements are included in your AUTOEXEC.BAT file:
SET ABIC_CONFIG=C:(INTERCHANGE directory) PATH=%PATH%;C:(INTERCHANGE directory);
Note If this was a new installation, the default INTERCHANGE directory is
\RSI\IC\BIN. If you installed INTERCHANGE over a previous version, the default directory is \ABIC\BIN.
Activating the INTERCHANGE Drivers
You must activate the INTERCHANGE drivers from a DOS environment. To do this, edit the INTERCHANGE components. If a Windows driver has already been configured, we recommend verifying the settings to meet your requirements. Additionally, verify that the following statement is included in your AUTOEXEC.BAT file:
CFG_KT.INI file contained in the directory containing your
CALL (INTERCHANGE directory)\ABICRUN.BAT
Note If this was a new installation, the default INTERCHANGE directory is
\RSI\IC\BIN. If you installed INTERCHANGE over a previous version, the default directory is \ABIC\BIN.
1–12
Installing the Software
To edit the file, do the following:
1. At the DOS prompt type:
edit C:(INTERCHANGE directory)\CFG_KT.INI
Note If this was a new installation, the default INTERCHANGE directory is
\RSI\IC\BIN. If you installed INTERCHANGE over a previous version, the default directory is \ABIC\BIN.
2. A description of INTERCHANGE is provided along with the driver
initialization templates. To activate an interface card, edit and uncomment an option(s) by removing the semicolon at the beginning of the line. The following examples show an unedited and edited initialization file for the 1784-KT interface card. A listing of the available files begins on page 1–14.
Unedited initialization file for the 1784-KT:
;[DTL_KT.1] ;DEVICE=KT ;MEMORY=D400 ;IRQ=5 ;STATION=77 ;NAME=KT ;TERMINATION=ON
1
Edited initialization file that configures the 1784-KT for port 4:
[DTL_KT.1] DEVICE=KT MEMORY=D400 IRQ=5 STATION=77 NAME=KT TERMINATION=ON
Note See
and IRQ address.
3. Once you have edited the required interface cards, save the file and exit.
4
the interface car
d documentation to determine the corr
ect memory addr
ess
1–13
Advanced Programming Software User Manual
Preface
Available Initialization Files
;[DTL_KT.1] ;DEVICE=KT2 ;MEMORY=D400 ;IRQ=9 ;STATION=77 ;NAME=DTL_KT ;TERMINATION=ON
;[DTL_KT.1] ;DEVICE=KL ;MEMORY=E000 ;IRQ=2 ;STATION=77 ;NAME=DTL_KT 3 ;TERMINATION=ON
;[DTL_KT.1] ;DEVICE=PCMK ;MEMORY=D000 ;IRQ=5 ;STATION=77 ;NAME=DTL_KT 4
1
1–14
;[DTL_KT.1] ;DEVICE=KTX ;PROTOCOL=DHPLUS ;MEMORY=C800 ;IRQ=5 ;STATION=22 ;NAME=DTL_KT 6
;[DTL_KT.7] 485 ;DEVICE=KTX ;PROTOCOL=DH485 ;MEMORY=C800 ;BAUD=19200 ;IRQ=5 ;STATION=0 ;MAXNADDR=037 ;NAME=485 KTX
;octal (0 to 37) ;octal (0 to 37)
The communication port specified here must match the communication port defined during installation.
The communication port specified here must match the communication port defined during installation.
;[DTL_DF1.8] ;DEVICE=DF1 ;BAUD=1200 ;IRQ=4 ;COM_PORT=1 ;NAME=DTL_KT 8 ;ERROR=1 ;PARITY=1 ;DUPLEX=1
;[DTL_485.5] ;DEVICE=PIC ;BAUD=19200 ;IRQ=4 ;COM_PORT=1 ;STATION=0 ;MAXNADDR=037 ;NAME=485 PIC
;octal (0 to 37) ;octal (0 to 37)
Installing the Software
If you use the DH485 protocol, you must enter an octal value for the Station Number and Maximum Address field.
1–15
Advanced Programming Software User Manual
t
Preface

Running APS

You can run APS either from a DOS or a Windows environment.
Running APS in a DOS Environment
1. If
necessary
installed (typically C). To do this, type:
C:
and press
2. If you are using the default directory, at the DOS prompt, type:
, change the drive specifier to the drive where the software is
[ENTER].
CD \IPDS\ATTACH\SLC500
and press
[ENTER].
If you specified a different directory path, change to that directory and press [ENTER].
Use the table that follows to choose your next step:
3.
To run APS: First: Then:
with INTERCHANGE and DH+ WHO
with only DH+ WHO
alone (without INTERCHANGE and DH+ WHO)
Make certain the Windows drivers are stopped.
If your AUTOEXEC.BAT contains this
command: \ABIC\BIN\ABICRUN,
ype: \ABIC\BIN\ABICSTOP.
If your AUTOEXEC.BAT contains this
command: \RSI\IC\BIN\ABICRUN, type: \RSI\IC\BIN\ABICSTOP.
Type APS and press [ENTER]. The APS main menu appears.
Type IT and press [ENTER]. The APS main menu appears.
Type AP and press [ENTER]. The APS main menu appears.
Exiting the System: You can exit APS software and return to DOS by
CONFIG
EXIT
accessing the APS main menu and pressing
OFFLINE
SYSTEM
CONFIG
F10
.
1–16
Running APS in a Windows Environment
1. If you plan to go online with the processor, the INTERCHANGE drivers must
be configured and activated. See page 1–11 for more information.
2. At the DOS prompt type:
WIN
3. Click on the APS icon. The main APS menu appears.
Installing the Software
SLC-500 ADVANCED PROGRAMMING SOFTWARE
Rockwell Software Incorporated, Copyright 1989-1995
9323 – PA2E
All Rights Reserved
This Software is licensed to: Your Name
Fri Nov 24, 1995 Current Offline File: DEFAULT 11:03:09 am
TERM Address: 0 Current Device: 1747-PIC (DH-485) PROC Address: 1
Press a function key
ONLINE ONLINE
CONFIG
OFFLINE
PRG/DOC
OFFLINE
CONFIG
WHO
SYSTEM
CONFIGR
F1 F2 F6 F7F3 F4 F5
Exiting the System: You can exit APS software and return to W
CONFIG
accessing the APS menu and pressing
OFFLINE
SYSTEM
CONFIG
RELEASE 6.00
Your company name 00000000
.
PRINT
REPORTS
FILE
OPTIONS
EXIT
F10
SYSTEM
UTILS
F9 F10F8
indows by
SYSTEM
EXIT
1–17
Advanced Programming Software User Manual
Preface

Using the ReadMe File

The Advanced Programming Software contains a ReadMe file that covers information made available after the time of printing of the documentation. Review this file before using the software.
To view this file online, type: README
To print this file to printer port 1, type: README LPT1:

SupportPlus Remote Software Support Disks

Remote Software Support consists of a help utility (ABHELP) and a HOST communications software package.
Remote Software Support must be installed separately command with the Remote Software Support disk. For more information, see chapter 1 in the SUPS-6.5.8.
SupportPlus Remote Softwar
e Support User Manual

Transferring the Software Ownership

If any of the information provided to Rockwell Software changes, such as name, company name, or mailing address, complete the postage prepaid Change of Product Registration card and return it to Rockwell Software.
To alter this information stored electronically in the APS package, do the following:
1. Insert the disk labeled Disk 1 into the appropriate disk drive (either drive A or
B). For this example, we are using drive A.
2. Type: A:INSTALL TRANSFER,
During the installation process, instructions appear on the screen to prompt you through the procedure. Follow the instructions and type in the information requested. Y number can be entered only once for each APS package.
ou will not be prompted to re-enter the serial number. The serial
then press
. Use the
[ENTER].
INSTALL
, Publication
1–18
Installing the Software

Documentation Database Utility (UPDATEDB.EXE)

The documentation database utility, UPDATEDB.EXE updating your databases from a previous version of APS to APS 6.0. It scans the specified drive for APS documentation databases and performs the update. documentation databases located on the drive where APS is installed are audited.
Using the Documentation Database Utility
1. We recommend backing up your databases. The APS “Copy to Disk” function
may be used for this purpose. Y perform the backup. Note that each APS documentation database contains seven dif copy all seven files for each database.
2. Verify that you are still in the directory where AP.EXE is installed. If you are
not, change to that directory.
3. Type: UPDATEDB
What drive do you want to scan for APS database files (A-Z)? C
Do you want to create a log file? YES Log file name: UPDATEDB.LOG
AUDIT or UPDATE databases? AUDIT
ferent files (.b0$, .b1$, .lx$, .op$, .ix$, .pc$, and .ac$). Make sure you
, then press
automates the task of
Only
ou may also use the DOS “Copy Command” to
[ENTER]. The following menu is displayed.
Start AUDIT? YES
Enter the letter of the drive you want to scan for APS databases.
To abort the program without corrupting your database files, press [CTRL-C] or [CTRL-Break].
4.
Respond to the prompts as required, then press
Note We
what requir might have after running
r
ecommend specifying a log file. This ensur
UPDATEDB.EXE
did. The log file contains the list of databases that
e updating. It also helps Rockwell Softwar
UPDATEDB.EXE
[ENTER] to start the update.
es that you have a r
ecord of
e answer any questions you
.
1–19
Advanced Programming Software User Manual
Preface
5. Upon completion of the audit process, the program indicates what the audit
found. If the install program determined an update is not required, no further action is necessary
6. The UPDATEDB.LOG file is created in the same directory as your AP.EXE file.
To view this file, change to the directory where AP.EXE
type updatedb.log more
7. To print the UPDATEDB.LOG file, enter:
print updatedb.log
.
Using Other Documentation Databases
is located and enter:
Converted However, you should be aware that comments attached to timer instructions with a
1.0 second timebase and T will not be displayed by versions of APS prior to release 4.0.
If you use a version of APS prior to 4.0 to change the documentation database and you document TON, TOF through the update process again.
Note If a documentation database that needs updating is loaded by APS 6.0, a warning
message will be displayed indicating that the database needs to be updated. The documentation database will be loaded and you may make changes to your ladder pr
ogram, but you should not make any changes to the documentation database until you have run the err not been updated.
documentation databases can still be loaded by any version of APS.
OD/FRD instructions that do not use the math register
, R
TO, T
OD, and FRD instructions, you may need to go
UPDATEDB.EXE
or” or “fatal internal err
pr
ogram. Err
or” may be displayed when using databases that have
or messages like “database r
ead
1–20
Navigating
Through the Software
2
Navigating Through the Software
Use
this chapter as a guide to accessing the software’
will find information on:
using online help
APS screen format
the five basic APS displays
keys you use
s functions. Specifically, you
2–1
Advanced Programming Software User Manual
Preface

Using Online Help

The Advanced Programming Software, version 4.0 and above supports online help. Y
ou can access the help text by pressing
[ALT–H].
If you press [ALT–H]
CURRENTLY UNAVAILABLE
process is active, such as uploading or downloading processor images or when creating or printing reports.
The help text is displayed in the following priorities:
, and help is not currently available, the message:
is displayed. This message may appear when a
HELP
If currently in the ladder editor or monitor program function, the help text
displayed is for the currently cursored (or edited) instruction.
If currently in the system status file data table monitor function, the help text
displayed is for the currently cursored address.
If none of the above conditions exist, then the beginning of the help text file is
displayed.
Use the [End] keys to scroll through the help text.
Once the help text is displayed, you can search the help file for specific topics by entering text at the command line. For example, you may want to enter an instruction mnemonic or a system status file address. See the example that follows.
[Pg Up], [Pg Dn], [arrow–up], [arrow–down], [Home]
, and
2–2
Example
Navigating
To initiate a search for the move instruction, do the following:
Through the Software
1. At the command line, type: MOV
2. APS searches the help file in the following manner:
a. First, APS searches for an exact match of the entered text.
b. If an exact match is not found, APS searches for a topic that begins with the
entered text.
c. If a topic is not found, APS searches for a topic that contains the entered
text.
d. Finally, if no text is found, the position of the help text file remains
unchanged.
3. When APS finds a match, the help text is displayed. At this point you can either
scroll through the text, or enter a different topic on the command line.

APS Screen Format

The APS screen is divided into three areas:
Display area
Message, prompt, data entry
Main APS functions
and press
, and status lines
[ENTER].
The following figure indicates what appears in these areas.
2–3
Loading...
+ 394 hidden pages