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
ChapterTitleContents
Preface
1Installing the Software
2
3Configuring Your System
4Ladder 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
userpreferred directories.
Explains ladder programming. Includes examples
of simple rungs and 4rung programs.
before using the
P–2
ChapterContentsTitle
5
6
7
Creating and Configuring
Processor Files
Creating and Editing Ladder
Program Files
Documenting Ladder
Programs
8Protection
9
Saving and Compiling a
Processor File
10Creating and Printing Reports
Configuring Your
11
Programming Device for
Online Communications
12Using WHO
13
14
Configuring Your Processor
for Online Communications
Restoring and Saving
Processor Files
15Changing 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 DH485 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.
17Online EditingDescribes what online editing is and how to use it.
18The MultiPoint FunctionDescribes the multipoint function and how to use it.
19The Force FunctionDescribes 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
21Transferring Program Files
programming devices connected on a DH485
network.
Appendix AAPS 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.
ForRead this Document
An introduction to APS for firsttime 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 APSSLC 500 Software Programmer's Quick
A guide of common procedures used in APSSLC 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 productsSLC 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
ABT1747TSG001available on PASSPORT
at a list price of $50.00
Guide, Publication Number
ABT1747TSJ50available on PASSPORT
at a list price of $50.00
Instruction Set Reference Manual
APS Import/Export User Manual
Number 17472.30
Installation and Operation Manual for Fixed
Hardware Style Programmable Controllers,
Catalog Number 1747NM001
Installation and Operation Manual for
Modular Hardware Style Programmable
Controllers, Publication Number 17476.2
MicroLogix 1000 Controllers User Manual,
Publication Number 17616.3.
P–4
A complete listing of current documentation,
including ordering instructions. Also indicates
whether the documents are available on CDROM
or in multilanguages.
A glossary of industrial automation terms and
abbreviations
AllenBradley Publication Index, Publication
Number SD499
AllenBradley Industrial Automation Glossary,
Publication Number AG7.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 positionRun modeRUN
REMote position
PROGram position Program modePROG
When Referring to the Processor
Mode
Run modeREM RUN
Program modeREM PROG
Test Single Step mode
Test Single Scan modeREM SSN
Test Continuous Scan modeREM 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 drivers300K 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■▲
19200960048002400192009600
▲
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
NoteIf 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):
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
NoteThe
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:
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
.)
NoteThese
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
NoteIf
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
NoteYou
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 ComputerCommunication Interface Card
IBM compatible1784KT or 1784KTX
IBM compatible PCMCIA1784PCMK
IBM PS/2 microchannel1784KT2
T47 portable terminals1784KL
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
NoteIf 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.
Fri Nov 24, 1995Current Offline File: DEFAULT11:03:09 am
TERM Address: 0Current Device: 1747-PIC (DH-485)PROC Address: 1
Press a function key
ONLINEONLINE
CONFIG
OFFLINE
PRG/DOC
OFFLINE
CONFIG
WHO
SYSTEM
CONFIGR
F1F2F6F7F3F4F5
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
F9F10F8
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 ofProduct 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
NoteWe
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.
NoteIf 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
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.