Who Should Use this Manual ........................................................................... Purpose of this Manual .................................................................................... Common T echniques Used in this Manual ..................................................... ? ? ? Installing the Software .................................................................... 1œ1 Personal Computer Requirements ...................................................................
Radices Used in APS ....................................................................................... 6œ24 Documenting Ladder Programs .................................................... 7œ1 Comment Types and Symbols ......................................................................... Documenting Y our Ladder Program ............................................................... Using the Database Editor ...............................................................................
Restoring and Saving Processor Files ......................................... 14œ1 Communicating with a Processor ..................................................................... Restoring a File ................................................................................................ Saving a File .................................................................................................... 14œ2 14œ4 14œ7 Changing Processor Modes ........................................................
Advanced PrefaceProgramming Software User Manual 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 APS Quick Start for New Users before using the software.
Preface Chapter Title Contents 5 Creating and Configuring Processor Files Steps you through creating and then configuring processor files. 6 Creating and Editing Ladder Program Files Shows you how to create and edit a program file. 7 Documenting Ladder Programs Describes how to enter text in ladder program files which explains the events related to a particular rung or program. 8 Protection Describes the available types of protection for each processor.
Advanced PrefaceProgramming Software User Manual Related Documentation The following documents contain additional information concerning RSI and Allen-Bradley SLC products. To obtain a copy, contact your local sales office or distributor.
Preface 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 indicates words or phrases you should type. Italic type is used for emphasis. Key names match the names shown and appear in bold, capital letters within brackets (for example, [ENTER]).
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 PrefaceProgramming Software User Manual 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: • • • • Note 640 Kbytes of RAM (A minimum of 2 Mbytes of extended memory is required; 3 Mbytes are required for programming a 1747-L543 processor.
Installing the Software 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.
Advanced PrefaceProgramming Software User Manual Using Extended Memory APS requires a minimum of 3 Mbytes of extended memory (XMS). To use 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.
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 manufacturer and obtain the latest release. If you are using an EMS handler (or you want to use other switches than those specified here) refer to the ReadMe file included with this software. An exception is the IBM PC-DOS 4.01, which has an EMS manager that is not VCPI compatible.
Advanced PrefaceProgramming Software User Manual 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 Windows environment: • • load SHARE.EXE and INTERCHANGE drivers prior to loading MS Windows. set the FILES parameter to 46 or higher 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 executable EMM386.
Installing the Software 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.
Advanced PrefaceProgramming Software User Manual 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 and CONFIG.SYS files: Note If running in a Windows environment, • • load SHARE.EXE prior to loading windows. set the FILES parameter to 46 or higher 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.
Installing the Software [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.
Advanced PrefaceProgramming Software User Manual CONFIG.SYS File Your CONFIG.SYS file must contain the following statements: FILES=40 (If running in a windows environment, set FILESw46.) BUFFERS=40 Note These are minimum values. If your CONFIG.SYS file contains FILES and BUFFERS statements with greater values, there is no need to change the file. Be aware that these statements may conflict with the CONFIG.SYS requirements for other software packages you have installed on your programming terminal.
Installing the Software Note You must use the default directories provided during initial installation if you intend to run APS in a Windows environment with INTERCHANGE and/or access the DH+ WHO function. The APS executable is named AP.EXE which is called by APS.BAT. The installation procedure also loads the INTERCHANGE software executables, IT executables, and the DH+ WHO executable. These executables are required to run APS under Windows and to access the DH+ WHO function.
Advanced PrefaceProgramming Software User Manual Configuring the Drivers From a Windows Environment To configure the INTERCHANGE drivers from Windows, click on the DeviceConfig icon found in the INTERCHANGE program group. Follow the instructions provided. 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.
Installing the Software To edit the file, do the following: 1. Note At the DOS prompt type: edit C:(INTERCHANGE directory)\CFG_KT.INI 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.
Advanced PrefaceProgramming Software User Manual Available Initialization Files ;[DTL_KT.1] ;DEVICE=KT2 ;MEMORY=D400 ;IRQ=9 ;STATION=77 ;NAME=DTL_KT 1 ;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 ;[DTL_KT.1] ;DEVICE=KTX ;PROTOCOL=DHPLUS ;MEMORY=C800 ;IRQ=5 ;STATION=22 ;NAME=DTL_KT 6 ;[DTL_KT.
Installing the Software 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 The communication port specified here must match the communication port defined during installation. ;[DTL_485.
Advanced PrefaceProgramming Software User Manual Running APS You can run APS either from a DOS or a Windows environment. Running APS in a DOS Environment 1. If necessary, change the drive specifier to the drive where the software is installed (typically C). To do this, type: C: and press [ENTER]. 2. If you are using the default directory, at the DOS prompt, type: CD \IPDS\ATTACH\SLC500 and press [ENTER]. If you specified a different directory path, change to that directory and press [ENTER]. 3.
Installing the Software 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. SLC-500 ADVANCED PROGRAMMING SOFTWARE RELEASE 6.
Advanced PrefaceProgramming Software User Manual 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.
Installing the Software Documentation Database Utility (UPDATEDB.EXE) The documentation database utility, UPDATEDB.EXE automates the task of 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. Only documentation databases located on the drive where APS is installed are audited. Using the Documentation Database Utility 1. We recommend backing up your databases.
Advanced PrefaceProgramming Software User Manual 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 is located and enter: type updatedb.log more 7. To print the UPDATEDB.LOG file, enter: print updatedb.
Navigating Through the Software 2 Navigating Through the Software Use this chapter as a guide to accessing the software’s functions.
Advanced PrefaceProgramming Software User Manual Using Online Help The Advanced Programming Software, version 4.0 and above supports online help. You can access the help text by pressing [ALT–H]. If you press [ALT–H], and help is not currently available, the message: HELP CURRENTLY UNAVAILABLE is displayed. This message may appear when a process is active, such as uploading or downloading processor images or when creating or printing reports.
Navigating Through the Software Example To initiate a search for the move instruction, do the following: 1. At the command line, type: MOV and press [ENTER]. 2. APS searches the help file in the following manner: 3. 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.
Advanced PrefaceProgramming Software User Manual • Display Area: The five APS displays appear here - the APS menu, offline program directory (shown here), offline monitor file, online program directory, and online monitor file. Various option windows overlay these displays, de pending on the function you are accessing. Also, the status data file and other data files, force tables, and the memory map appear in this area.
Navigating Through the Software Main Menu Display The following display is the main menu. This menu appears when you first enter APS. SLC-500 ADVANCED PROGRAMMING SOFTWARE RELEASE 6.
Advanced PrefaceProgramming Software User Manual This function key: Allows you to: [F8] Print Reports print reports. [F9] System Utilities use the Prom Translator, which converts archive files to hexadecimal format. Also allows you to transfer a processor file between two APS terminals or from an APS terminal to an HHT. [F10] Exit System exit the software.
Navigating Through the Software Offline Monitor File Display The following display appears when you press CONFIG MONITOR OFFLINE from the previous menu. FILE CONFIG F8 IN I:0.0 ] [ 0 TON TIMER ON DELAY Timer EIGHT_SEC Time Base 0.01 Preset 800 Accum 0 EIGHT T4:0 ] [ DN (EN) (DN) OUT O:0.
Advanced PrefaceProgramming Software User Manual Online Program Directory Display The following display appears when you enter the online mode by pressing CONFIG ONLINE OFFLINE at the main menu.
Navigating Through the Software Online Monitor File Display The following display appears when you are online and you press CONFIG MONITOR OFFLINE from FILE CONFIG F8 the previous menu. IN I:0.0 ] [ 0 TON TIMER ON DELAY Timer EIGHT_SEC Time Base 0.01 Preset 800 Accum 0 EIGHT T4:0 ] [ DN (EN) (DN) OUT O:0.
Advanced PrefaceProgramming Software User Manual Keys You Use Within APS you can use certain keys to access screen displays and then move the cursor in those displays. Hot Key Functions Hot key functions provide short cuts to display frequently used screens and information. This key combination or function key: [Alt-M] alternate of MEMORY MAP Allows you to: access the Memory Map display.
Navigating Through the Software This key combination or function key: [Alt-C] alternate of CHANGE MODE F1 Allows you to: Accesses Change Mode menu choices. Functional Online, at these displays: online (program directory) monitor file force, monitor inputs, monitor outputs configure display data monitor general utility, memory map, proc status [Alt-U] Aborts changes, exits the function, and moves you to the previous display.
Advanced PrefaceProgramming Software User Manual CTRL Key Functions Only Available When Using Multiple Line Comment Editors This key combination: [CTRL-J] Allows you to: delete the previous word. [CTRL-N] move the cursor to the next word. [CTRL-P] move the cursor to the previous word. Additional Short Cut Keys This key: Enter/Return Key Esc Allows you to: enter data you've typed. It also functions as a Return key, to end the current line and begin another when typing multi line comments.
Configuring Your System 3 Configuring Your System This chapter shows you how to: • • • • • • select and save highlight options for ladder displays select and save color options select and save the printer configuration select and save the system startup display define and save user-preferred directory paths monitor M0 and M1 files (SLC 5/03 and SLC 5/04 processors) 3–1
Advanced PrefaceProgramming Software User Manual Configuration Options The following pages show the factory default settings. If your system has been previously configured, the displays may vary. From the main menu, press CONFIG OFFLINE SYSTEM CONFIGR to view the System Configuration display.
Configuring Your System Intensify • • • • Note Cursor is shown as a reversed screen area (located on an instruction, rung, or power rail). True instructions are shown intensified (heavier line weight). A true instruction at the cursor location is shown diminished (true) in a reversed screen area (cursor). Enabled forces are shown as an intensified “On” or “Off.” If you are using a T47 terminal or another terminal having an LCD display, the preferred option is REVERSE.
Advanced PrefaceProgramming Software User Manual Color The following table describes the colors for the various APS functions and displays. The functions and displays are described in chapter 2.
Configuring Your System Selectable Address Display You have the option to select the method used to reference the physical addressing of bit (data) files. Bit files include outputs (O), inputs (I), and binary (B). For each file type, you can select between two address displays: • • Word/Bit Sequential The following table shows the differences between the two types of displays: Bit File Type Word/Bit Sequential Bit Input I1:2.0/10 I1:1.3/0 I1:2/10 I1:1/48 Output O0:0.
Advanced PrefaceProgramming Software User Manual SYSTEM CONFIGURATION BIT ADDRESS DISPLAY F2 F3 F4 F5 Output File Address Display: Input File Address Display: Binary File Address Display: Short Address Display/Entry Sequential Sequential Word/Bit Disabled F9 Save Configuration ESC exits/Alt–U aborts changes Press a function key OUTPUT FILE INPUT FILE BINARY FILE SHORT ADDRESS SAVE CONFIG F2 F3 F4 F5 F9 2. Select the address display for each file type.
Configuring Your System Configuring Your Printer This option allows you to designate the type and required configuration for your printer. 1. Begin at the System Configuration display and press CONFIG OFFLINE PRINTER CONFIG . The following CONFIG F5 print options appear: PRINTER CONFIGURATION F1 Printer Type F2 Port PARALLEL LPT1 F9 Save Configuration F10 Printer Control ESC exits/Alt–U aborts changes Press a function key PRINTER TYPE PORT NUMBER SAVE CONFIG PRINTER CONTROL F1 F2 F9 F10 2.
Advanced PrefaceProgramming Software User Manual Function Keys Description [F2] Port Number Toggles between Serial and Parallel printer types. The default is a Parallel printer type. Toggles between LPT1 and LPT2. [F9] Save Configuration Saves your changes to file. [F10] Printer Control Allows you to enter an initialization and termination string. See page 3-9 for more information.
Configuring Your System 5. Save the control string by pressing strings, press CONFIG OFFLINE SAVE CONFIG , CONFIG CONFIG OFFLINE SAVE TO FILE . Once you have entered both CONFIG F9 then [ENTER] or [ESC]. F9 Printer Control String Option This option allows you to change the printer configuration for the current print request. You can change the printer to condensed mode, the typeface, and the characteristic of the typeface, such as bold or italic.
Advanced PrefaceProgramming Software User Manual Configuring Your System Startup State This function allows you to select the display that appears at system startup. 1. At the main menu display press CONFIG OFFLINE SYSTEM CONFIGR .
Configuring Your System Defining Your Directory Paths 1. At the System Configuration display press CONFIG OFFLINE DEFINE . The user directory DIR CONFIG F7 window appears.
Advanced PrefaceProgramming Software User Manual Function key CONFIG OFFLINE PROCESS brings up the following window, displaying the default DIR CONFIG F4 directory name for processor memory, comments, and symbols. PROCESSOR MEMORY, COMMENTS, AND SYMBOLS [Overstrike] C:\IPDS\ARCH\SLC500 ESC exits/Alt–U aborts changes Function key CONFIG OFFLINE DOCUMEN brings up the following window, displaying the default DIR CONFIG F5 directory name for documentation reports.
Configuring Your System If the directory does not exist you are prompted to either continue and create a directory or abort the procedure. The error message ERROR CREATING DIRECTORY appears if the name of a directory is not supported by DOS. The maximum length of a path name is 65 characters. After you have entered a new directory name, CONFIG OFFLINE SAVE saves the CONFIG CONFIG F9 configuration for future sessions. Press [ENTER] or [ESC] to return to the System Configuration display.
Advanced PrefaceProgramming Software User Manual Saving Your Configuration Once you have your system configured, you must save the changes. Use one of the following methods to save your system configuration. • Press CONFIG OFFLINE SAVE CONFIGR , then [ENTER] or [ESC] to save the configuration for this CONFIG F9 and future sessions. • Press [ENTER] or [ESC] to enforce your selection for this session only. Pressing [ALT-U] aborts any change you make and returns you to the APS main menu.
Configuring Your System File Type APS V1.00 V1.01 V1.02 V1.04 V2.00 V2.01 V3.00 APSIE V3.20 Default Directory V4.0 V5.0 V6.0 APS Rung Comment, Instruction Comment, Address Comment, and Symbol Files. Note: Do not change or delete these files. .AC$ .B0$ .B1$ .IX$ .LX$ .OP$ .PC$ APS Cross Reference Files Note: Do not change or delete these files. .XD$ .XO$ .B2$ \ipds\arch\slc500 APS Program Listing Report .LIS \ipds\lis\slc500 APS Message and Prompt File APS Function Key Menu Text .
Ladder Logic Program Basics 4 Ladder Logic Program Basics This chapter discusses the basic operation of ladder logic programs. Topics include: • • • understanding ladder logic programs types of ladder logic connections application example – 4-rung ladder logic program For a more detailed introduction to ladder logic programming, refer to the APS Quick Start for New Users. This guide is intended for the first time user.
Advanced PrefaceProgramming Software User Manual Understanding Ladder Logic Programs Ladder logic is a graphical programming language based on electrical relay diagrams. Instead of having electrical rung continuity, ladder logic is looking for logical rung continuity. A ladder logic diagram identifies each of the elements in an electromechanical circuit and represents them graphically. This allows you to see how your control circuit operates before you actually start the physical operation of your system.
Ladder Logic Program Basics Example 1-Rung Ladder Logic Program A ladder logic program consists of individual rungs, each containing at least one output instruction and one or more input instructions. The ladder rung that follows has two input instructions and an output instruction. An output instruction always appears at the right, next to the right power rail. Input instructions always appear to the left of the output instruction.
Advanced PrefaceProgramming Software User Manual The status of the instruction is XIC Examine if Closed ] [ XIO Examine if Open ]/[ OTE Output Energize ( ) Logic 0 False True False Logic 1 True False True If the data table bit is From the above table, we see that status bits 10, 11, and 12 indicate that the XIC instruction, XIO instruction, and OTE instruction of our rung are all true.
Ladder Logic Program Basics Inputs Output Bit Status Time XIC XIO OTE XIC XIO OTE t1(initial) False True False 0 0 0 t2 True True Goes True 1 0 1 t3 True False Goes False 1 1 0 t4 False False Remains False 0 1 0 Types of Ladder Logic Connections In a ladder logic diagram each of the input devices are represented in series or parallel logic combinations across the rung of the ladder.
Advanced PrefaceProgramming Software User Manual Parallel Logic Another form of logical continuity is parallel (OR) logic. This means that when one or another path of logic is true, energize the output. Example — Parallel Inputs c a b In the above example, if A or B is true, energize C. Use branching to form parallel logic in your user program. Branches can be established at both input and output portions of a rung.
Ladder Logic Program Basics Output Branching You can program parallel outputs on a rung to allow a true logic path to control multiple outputs. When there is a true logic path, all parallel outputs become true. Example — Parallel Output Branching a c b d e In the above example, either A or B provides a true logical path to all three output instructions. Additional input logic instructions (conditions) can be programmed in the output branches to further condition control of the outputs.
Advanced PrefaceProgramming Software User Manual Branching Combinations and Limitations Use branching to avoid redundant instructions, speed-up processor evaluation, and provide more efficient programming. APS allows branching combinations to be programmed in the fixed, SLC 5/01, SLC 5/02, SLC 5/03, and SLC 5/04 processors, and the MicroLogix 1000 controllers. (Note that the Hand-Held Terminal (HHT) does not allow nested input and output branches to be programmed in a fixed or SLC 5/01 processor.
Ladder Logic Program Basics Branching Limitations You are limited to four nested branches per rung; however, each nested branch can have up to 75 extended branches, as shown below. Nest 1, Extension 1 Nest 1, Extension 2 Nest 1, Extension 3 . . . Nest 1, Extension 75 Nest 2, Extension 1 Nest 2, Extension 2 Nest 2, Extension 3 . . . Nest 2, Extension 75 Nest 3, Extension 1 Nest 3, Extension 2 Nest 3, Extension 3 . . . Nest 3, Extension 75 Nest 4, Extension 1 Nest 4, Extension 2 Nest 4, Extension 3 . . .
Advanced PrefaceProgramming Software User Manual Connecting Blocks Blocks of input and output instructions can be connected in series and parallel as well. Example – Series Block Connection a c b d e In the above example, two blocks of information are connected in series. Either A or B, and C or D provides a true logical path. Example – Parallel Block Connection a b c d e In the above example, two blocks of information are connected in parallel.
Ladder Logic Program Basics Application Example – 4-Rung Ladder Logic Program The following 4-rung ladder logic program uses the same 3 bit locations as our simple 1-rung diagram. It also uses an external input bit address and an external output bit address. Note that individual bits are addressed repeatedly. For example, B3/11 is addressed with an XIC instruction in rungs 1 and 4, and it is addressed with both an XIC and an OTE instruction in rung 2.
Advanced PrefaceProgramming Software User Manual 1 2 I:0 ] [ 1 B3 ]/[ I:0 ] [ 1 B3 ]/[ 10 11 B3 ( ) 12 12 B3 ( ) 11 B3 ] [ 10 B3 ]/[ B3 ] [ 11 1 B3 ( ) 10 11 O:0 ( ) 2 I:0 ] [ 3 B3 ] [ 4 Status Bit Rung I:0/1 B3/10 B3/11 B3/12 1 ] [ ]/[ ] [ ( ) 2 ] [ ]/[ 3 ] [ ( ) 4 ( ) ] [ ] [ O:0/2 ]/[ ( ) Previously, we indicated that the processor executes instructions individually, rung by rung, from the beginning to the end of the program.
Ladder Logic Program Basics I:0 ] [ 1 B3 ]/[ I:0 ] [ 1 B3 ]/[ 10 B3 ] [ B3 ( ) 12 11 B3 ]/[ B3 ( ) 11 12 10 XIC I:0/1 Goes True B3 ] [ Instruction Execution T = true at time of execution F = false at time of execution Scan 1000 Scan 1001 T T F F T F T F T T T T T F T T F 11 1 B3 ( ) 10 11 O:0 ( ) 2 I:0 ] [ B3 ] [ Goes False The diagram above is the same one that appears on the preceding page.
Creating and Configuring Processor Files 5 Creating and Configuring Processor Files This chapter discusses the related functions for creating and editing a processor file.
Advanced PrefaceProgramming Software User Manual Processor Functions This section shows you how to create an example processor file. The example file is compatible with a modular controller consisting of: • • • • Chassis 1746-A4 (chassis 1) Processor 1747-L532 (slot 0) Input Modules 1746-IA4 and 1746-IA8 (slots 1 and 2) Output Module 1746-OA8 (slot 3) The processor file name chosen for this example is EXAMPLE. Creating Processor Files 1.
Creating and Configuring Processor Files 3. Press [ENTER]. This places the processor file name in the lower window. 4. The Create Processor File window lists the default processor, Bul. 1761. For our example we are using the 1747-L532 processor. Cursor down to highlight it. (If you are using a different processor, use the cursor keys to locate the appropriate processor in the upper option window.) Press CONFIG OFFLINE SELECT .
Advanced PrefaceProgramming Software User Manual 5. Press CONFIG OFFLINE CONFIGR .
Creating and Configuring Processor Files Note that the currently selected processor type in the I/O configuration does not have to be set to an SLC 5/03 or SLC 5/04 processor for the read I/O configuration function to be performed. Only the current processor type as specified by the processor node address in the current online configuration must be an SLC 5/03 or SLC 5/04 processor.
Advanced PrefaceProgramming Software User Manual SLC 5/02, SLC 5/03, and SLC 5/04 processors – You have the option of configuring generic I/O modules having 8, 16, or 32 discrete I/O. For example, if you select 1746-I*8, any 8-point discrete input module may be used. 7. Select a module for the indicated slot number by positioning the cursor on the desired module and pressing either CONFIG OFFLINE SELECT MODULE or [ENTER]. The cursor is CONFIG F2 already correctly positioned in this case.
Creating and Configuring Processor Files 10. If you wish to change the processor type or I/O configuration, press CONFIG OFFLINE OFFLINE PRG/DOC . CONFIG F1 The program directory of the offline processor file is displayed.
Advanced PrefaceProgramming Software User Manual Configuring Speciality I/O Modules When you use a specialty I/O module, you must indicate the type of module to APS. The configuration menu provides a list of available modules from which to select. Each module is pre-configured, so after selecting the module from the list you have the option of viewing its configuration by pressing [F9], SPIO Configuration. Alteration of the fields is not recommended since these fields are pre-configured.
Creating and Configuring Processor Files Function Key [F1] ISR Number [F3] Modify G File [F5] Advanced Setup [F7] G File Size 4. Description Allows you to enter the Interrupt Subroutine Number (3 to 255). Allows you to edit the G file. Allows you to tell the system the number of input/output words and lets you designate the number of words you want to scan. The scanned input/output values must be less than or equal to the maximum in order to maximize your I/O scan.
Advanced PrefaceProgramming Software User Manual Converting an SLC 500 Program to a MicroLogix 1000 Program The following will occur when you attempt to convert an SLC 500 program to a micro program: • SLC 500 program files are either expanded automatically or must be deleted manually to meet the MicroLogix 1000 controller’s fixed program file structure.
Creating and Configuring Processor Files All data in the SLC 500 program files that are within the MicroLogix 1000 controller’s fixed structure will remain unchanged when converting to a MicroLogix 1000, except for the following status file elements: Status File Bit will be set to S:0/8 0 S:1/5 1 S:2/4 0 S:5/8 0 Viewing the Conversion Error File When you create a program for a specified processor and later change the processor, APS checks for advanced programming instructions, structures, address
Advanced PrefaceProgramming Software User Manual PROCESSOR INPUTS BUL.
Creating and Configuring Processor Files Deleting a Processor File from the Workspace Deleting a file from the workspace physically removes it from the memory of the terminal, but the file resides in the processor’s memory and on the terminal hard disk. 1. At the main menu press CONFIG CONFIG OFFLINE OFFLINE OFFLINE PROCSSR PRG/DOC , then FUNCTNS .
Advanced PrefaceProgramming Software User Manual Archive File Operations You can perform the following archive file operations: • • • • • copy, rename, and delete files within the archive copy archive files to a disk copy files from a disk to the archive convert image files to the archive (SLC 5/03 and SLC 5/04 processors only) convert archive files to image files (SLC 5/03 and SLC 5/04 processors only) You can access the archive file operations from the main menu by pressing any one of the following se
Creating and Configuring Processor Files The following function keys operate the same for Rename, Copy, Delete, Copy To Disk, and Copy From Disk. Function Key [F1] Processor Memory [F3] Comments and Symbols [F4] Documentation Reports [F5] All of the Above Description The operation is performed on the processor file, but not the comments, symbols and documentation reports associated with it.
Advanced PrefaceProgramming Software User Manual PROCESSOR CONVEYOR DRILL1 EXAMPLE MIXER ONOFF PAINTGUN RPMCALC SEQUENCE STOP_GO TOGGLE COPY COMMENTS AND SYMBOLS SOURCE: DESTIN: ESC exits Press a Function Key or Enter File Name offline SLC 5/03 EXAMPLE BEGIN OPER SELECT SOURCE ENTER DESTIN DEFINE DIR F1 F3 F4 F7 The window at the right is the directory of Comments and Symbols stored on disk. The cursor is on DRILL1.
Creating and Configuring Processor Files Deleting Archive Files 1. At the main menu press CONFIG OFFLINE FILE OPTIONS . The following display appears: CONFIG F7 File Operations F1 F2 F3 F4 F5 Image to Archive Archive to Image Rename Copy Delete F7 F8 Copy to Disk Copy from Disk ESC exits Press a function key IMAGE TO ARCH ARCH TO IMAGE RENAME COPY DELETE COPY TO DISK COPY FR DISK F1 F2 F3 F4 F5 F7 F8 2. Press CONFIG OFFLINE DELETE .
Advanced PrefaceProgramming Software User Manual Example 1. Suppose the option of CONFIG OFFLINE ALL is selected.
Creating and Configuring Processor Files Copying Archive Files To Disk The Copy To Disk option allows you to copy archive files to a user-specified path or floppy disk. 1. From the File Options menu press CONFIG CONFIG OFFLINE COPY OFFLINE ALL .
Advanced PrefaceProgramming Software User Manual 3. Press CONFIG OFFLINE ENTER DST DIR and enter the destination directory if it is not A:\. CONFIG F4 Note A destination directory must be specified before attempting to begin the operation. It cannot be the same as the source directory.
Creating and Configuring Processor Files Function Key [F1] Begin Operation [F3] Select File [F4] Enter Source Directory [F7] Define User Directories Description Starts the copy operation and places the file in the archive file directory. Selects the highlighted file from the directory window and places a copy in the file field. Changes the source directory. Displays the user directory window. See chapter 3 for more information.
Advanced PrefaceProgramming Software User Manual Image to Archive Operation (SLC 5/03 and SLC 5/04 Processors Only) The Image to Archive option allows you to convert image files to the archive file directory. 1. From the File Options menu press CONFIG OFFLINE IMAGE TO ARCH .
Creating and Configuring Processor Files 3. Press CONFIG OFFLINE ENTER and enter the destination file name. If the [Enter] key is DESTIN CONFIG F4 pressed without typing in a name, the source name is used as the destination name. 4. Press CONFIG OFFLINE BEGIN to start the file conversion process. OPER CONFIG F1 Archive to Image Operation (SLC 5/03 and SLC 5/04 Processors Only) The Archive to Image option allows you to convert archive files to processor image files. 1.
Advanced PrefaceProgramming Software User Manual C:\IPDS\ARCH\SLC500 Name Size Date DESTIN: DRILL1 DRILL2 EXAMPLE MIXER ONOFF PAINTGUN RPMCALC SEQUENCE STOP_GO TOGGLE ESC exits ESC exits/Alt–U aborts changes EXPORT PROCESSOR IMAGES SOURCE: 9392 9392 929 10221 9334 9261 8704 8684 8586 8695 09-12-95 10-07-95 10-07-95 10-15-94 08-04-95 07-19-94 04-27-94 10-03-95 09-28-94 07-19-94 Press a function key or Enter File Name BEGIN OPER SELECT SOURCE ENTER DESTIN DEFINE DIR F1 F3 F4 F7 Function Key
Creating and Editing Ladder Program Files 6 Creating and Editing Ladder Program Files This chapter discusses how to create and edit program files. Considerations for creating a program file include: • • • • naming the file, and creating and naming subroutine files creating and deleting data files editing program files – inserting and modifying rungs, instructions, and branches and searching for instructions.
Advanced PrefaceProgramming Software User Manual Creating Ladder Program Files Once you have created a processor file (refer to chapter 5) and placed it in the appropriate directory, you can name the program file and create subroutine files as needed. Program Files for the MicroLogix 1000 Controllers The program files for the micro controllers are allocated as shown in the table below.
Creating and Editing Ladder Program Files Naming a Ladder Program File 1. Begin at the main menu and press CONFIG CONFIG OFFLINE OFFLINE OFFLINE PROCSSR PRG/DOC , then FUNCTNS . The following CONFIG CONFIG F3 F1 menu appears: PROGRAM DIRECTORY FOR PROCESSOR: EXAMPLE FILE 0 1 2 PROTECTED NAME TYPE system reserved ladder SIZE (words) * * * Press a key, enter file number or file name offline SLC 5/03 File EXAMPLE CHANGE PROCSSR CHANGE PASSWRD CHANGE PR. NAME CHANGE FL.
Advanced PrefaceProgramming Software User Manual Creating a Subroutine Program File (SLC 500 Processors Only) You create subroutine program files for specific applications. For example, if your application requires you to change the status file default values for Fault Routines, Selectable Timed Interrupt Setpoint, or I/O Interrupts a subroutine is required. Valid file numbers range from 3 to 255.
Creating and Editing Ladder Program Files Deleting a Program File (SLC 500 Processors Only) Locate the cursor on the file and press CONFIG CONFIG OFFLINE DELETE OFFLINE YES , then to verify the file FILE CONFIG CONFIG F7 F8 deletion. In the previous example, you cannot delete file 0 or 1. If you attempt to delete file 2, all of the rungs in the file will be deleted, but the file will remain in the program directory.
Advanced PrefaceProgramming Software User Manual Note From the monitor file display, you can quickly access another file number and/or rung within the program file by typing one of the following formats at the command line: • • • file#,rung# file#:rung# file#;rung# The display area shows the end rung. No other rungs exist. The data entry line indicates the file number (2) and the cursored rung number (0).
Creating and Editing Ladder Program Files An empty rung appears. The power rails of the rung are broken lines, indicating that the rung is not yet accepted. The cursor is on the left power rail of the rung. The data entry line indicates this to be rung 0. (The end rung is now rung 1.) The status line indicates RUNG INSERT, the current function. 4. Press CONFIG CONFIG OFFLINE INSERT OFFLINE BIT , then .
Advanced PrefaceProgramming Software User Manual Using the Command Line Instruction Entry Feature You can enter an instruction mnemonic and any parameters visible from the ladder display from the command line. This feature allows you to enter one instruction and its address at a time. For example: XIC B3/1. While entering the parameters, if you omit a parameter by typing two consecutive commas, the parameters typed are entered into the instruction and you are prompted for the remaining parameters.
Creating and Editing Ladder Program Files Branch Operations Branches allow you to form parallel logic in your user program. Branches can be established at both input and output portions of a rung. For more information on branching, refer to chapter 4 of this manual. 1. CONFIG CONFIG OFFLINE EDIT OFFLINE MODIFY , then RUNG .
Advanced PrefaceProgramming Software User Manual Function Key Description [F1] Extend Up Adds a parallel (extended) branch above the cursored branch. [F2] Extend Down Adds a parallel (extended) branch below the cursored branch. [F3] Append Branch [F4] Insert Branch [F5] Delete Branch [F6] Undelete Branch 3. Press Places the starting point of a nested branch to the right of the cursored instruction or at the cursor.
Creating and Editing Ladder Program Files Moving Between Files (Changing Files) There are two ways to change program files: Method 1 — To enter a program into a different program file, press [F3], Exit, move the cursor to the file you want to move and press CONFIG OFFLINE MONITOR . Using this method assumes that a FILE CONFIG F8 file and rung number have already been created. You do not have to enter the rung number. Method 2 — A program must exist 1.
Advanced PrefaceProgramming Software User Manual The Search Function The search function allows you to quickly locate instructions and addresses in ladder program files. The search and replace function also allows you to quickly locate instructions and addresses; however, this function also allows you to automatically replace the instruction or address with a different one. This function is discussed later in this section.
Creating and Editing Ladder Program Files 1. At the offline Program display press CONFIG CONFIG OFFLINE MONITOR OFFLINE SEARCH , then or [ALT–S]. FILE CONFIG CONFIG F8 F6 The following function keys are available: Function Key Description [F1] Search Type Toggles between Search Instruction/Address, Search & Replace Instruction/Address, and Edit Zone (SLC 5/03 and SLC 5/04 only). The replacement of I/O addresses is not checked against the I/O configuration until you compile and save the program.
Advanced PrefaceProgramming Software User Manual 2. Press CONFIG OFFLINE SEARCH . Enter the instruction type by doing one of the following: FOR CONFIG F2 a. Type in the search string. Enter the instruction type first, followed by a comma, and then the address. Do not add spaces to the search string. For example, xic,b3/0. b. Press one of the available function keys, described below.
Creating and Editing Ladder Program Files Search and Replace Note You cannot search for an indirect address; however, you can search and replace components within the indirect address. For example, if you are replacing N7:0 with R6:2.POS, the indirect address F8:[N7:0] becomes F8:[R6:2.POS]. For indexed addresses, the # sign is ignored when performing a search and replace for instructions or addresses.
Advanced PrefaceProgramming Software User Manual Additional Search Messages • SEARCH PATTERN NOT FOUND Indicates that there are no more occurrences of the search object between the current start point and the end rung. • CURSORED INSTRUCTION IS THE ONLY OCCURRENCE OF SEARCH OBJECT Indicates that the search object only appeared once in the ladder program. Advanced Editing Functions The Advanced Editing function allows you to mark a range of rungs to be either cut or copied.
Creating and Editing Ladder Program Files 2. CONFIG OFFLINE ADVANCD EDITING . The following menu choices appear: CONFIG Press F8 Press a key for desired editing function (file 2, rung 0) offline no forces SELECT CUT COPY PASTE F1 F2 F3 F4 EDITS: NONE Function Key File EXAMPLE Description [F1] Select Marks the first rung in the block of rungs to be cut or copied. [F2] Cut Marks the last rung in the block of rungs to be cut and performs the cut.
Advanced PrefaceProgramming Software User Manual Paste To paste a rung(s) stored in the temporary buffer, do the following: 1. Move the cursor to the place in the ladder program where the rungs are to be inserted. 2. Press CONFIG OFFLINE PASTE . The rungs are placed in the program file above the current CONFIG F4 rung. The only limitation on the number of rungs you may cut or copy to the temporary buffer is the amount of free disk space in your system.
Creating and Editing Ladder Program Files Recovering Your Work If a power failure occurs or your system locks up, APS attempts to save your work in progress in the form of filename.$$$ backup file. After correcting the problem: 1. Begin at the Main menu and press CONFIG OFFLINE FILE OPTIONS . CONFIG F7 2. Press CONFIG CONFIG OFFLINE OFFLINE COPY ALL , then . CONFIG CONFIG F4 3. F5 Select the filename.$$$ file and press CONFIG OFFLINE SELECT SOURCE . CONFIG F3 4.
Advanced PrefaceProgramming Software User Manual Creating and Deleting Data Files (SLC 500 Processors Only) When you assign an address to an instruction in your ladder program, you are allocating memory space to a data file. As more and more addresses are assigned, the various data files increase in size, according to the needs of your program. Memory space is allocated in element blocks, beginning with element 0. For example, suppose the first address you assign in your program is B3/19.
Creating and Editing Ladder Program Files Creating Data Files The memory map function of the programming device allows you to create data files by entering addresses directly, rather than assigning addresses to instructions in your program. You can create data files to store recipes and lookup tables if needed. 1. CONFIG CONFIG OFFLINE OFFLINE OFFLINE MEMORY .
Advanced PrefaceProgramming Software User Manual 2. Press CONFIG OFFLINE CREATE DT FILE . The prompt line displays Enter Address to create. CONFIG F6 Data is created by entering the highest numbered element you want to be included. For example, entering element N7:12 (default integer file 7) creates element N7:12 and all lower numbered elements down to N7:0, if they have not already been created. 3. Type the element address: N7:12 and press [ENTER].
Creating and Editing Ladder Program Files Deleting Data Files There are two ways to delete the contents of data files: • • Clear memory- to delete your entire processor file, including all files except the system program file (0) and the status data file (2). Use the memory map function- to delete data in individual files or portions of files. For example, you can delete blocks of addresses that have been allocated but are not being used. Allocated Space Not Used You cannot delete these files.
Advanced PrefaceProgramming Software User Manual Radices Used in APS Almost all calculations are performed on signed integer values. Most operands used to perform these calculations are sized at 16 bits. A signed 16 bit integer spans the range of –32,768 to 32,767. These 16 bit values can be displayed or entered in several radices.
Creating and Editing Ladder Program Files Example You are prompted to enter the second parameter of an EQU instruction and you wish to enter a constant. Constants are displayed in the Integer radix.
Documenting Ladder Programs 7 Documenting Ladder Programs Before or after you enter the rungs of logic in your ladder program, you have the option of documenting the rungs, addresses, instruction, or symbols (online and offline). This allows someone else who may be maintaining the program to understand it. You can also use symbols instead of addresses for ease of programming your ladder logic.
Advanced PrefaceProgramming Software User Manual Comment Types and Symbols This section discusses the types of comments and/or symbols you can add to your ladder program and their unique characteristics. Rung Comments A rung comment explains the purpose of an individual rung or group of rungs. The rung comment can consist of up to 6 lines, with up to 80 ASCII characters in each line. A rung comment is internally associated with the output instruction of the rung.
Documenting Ladder Programs Address Comments Address comments help to identify the type of mechanism (pilot light or push button) associated with the address. The address comment can consist of up to 5 lines, with up to 10 ASCII characters in each line. All instructions having the same address will automatically have the same address comment. An address comment need not be unique. The same comment can be applied to instructions having different addresses.
Advanced PrefaceProgramming Software User Manual Documenting Your Ladder Program You have the option of documenting your program before or after it is entered. If you have a complex program, it is recommended to enter comments after you have entered the ladder program. Adding Comments and Symbols Rung, instruction, and address comments and symbols help explain your ladder program to someone else who has to read, modify, or maintain the program.
Documenting Ladder Programs The following key stroke combinations provide editing and navigational capabilities when entering comments and symbols. This key combination: [CTRL-B] or [CTRL-left arrow] Performs this function: Moves the cursor to the beginning of the line. If the cursor is already at the beginning of the line, cursor moves to the beginning of the previous line. [CTRL-N] Moves the cursor to the end of the line.
Advanced PrefaceProgramming Software User Manual Adding Rung Comments The following figure shows the offline Monitor file display of processor file EXAMPLE. The cursor is on rung 0. B3 B3 ]/[ ] [ 11 10 B3 ] [ 7 B3 ( ) 12 END Press a function key (file 2, rung 0) offline no forces File EXAMPLE CONFIG DISPLAY EXIT DOCUMNT SEARCH GENERAL UTILITY DATA MONITOR FORCE EDIT F2 F3 F5 F6 F7 F8 F9 F10 1. To add a rung comment to rung 0, press CONFIG OFFLINE DOCUMNT .
Documenting Ladder Programs 2. The cursor is located on the rung for which you want to add a comment. Press CONFIG OFFLINE RUNG COMMENT .
Advanced PrefaceProgramming Software User Manual The prompt line indicates Enter rung comment for: OTE, B3/12. The status line indicates Edit Mode: Insert. You can change the mode to Overstrike by pressing [CTRL–A] or [INS]. Also, Col: 1 Line: 1 is indicated on the status line. This is the position of the cursor in the comment field. 3. Type: Rung comment. 4. Press [ENTER] and type: line 2.
Documenting Ladder Programs Adding Address Comments Adding an address comment is similar to adding an instruction comment. 1. To add an address comment to rung 0 press CONFIG OFFLINE DOCUMNT . The following CONFIG F5 document menu functions appear: Press a key for desired document function (file 2, rung 0) offline no forces EDTIS: NONE File EXAMPLE RUNG COMMENT INSTRUC COMMENT ADDRESS COMMENT EDIT DBASE MODIFY SYMBOL REMOVE SYMBOL SAVE DOCUMNT F1 F2 F3 F5 F6 F7 F10 2.
Advanced PrefaceProgramming Software User Manual Function Key [F1] Delete Comment [F2] Undelete Comment [F3] Delete Line [F4] Undelete Line [F5] Delete Word [F6] Undelete Word [F8] Accept/Exit [F9] Next Comment [F10] Previous Comment Description Deletes and undeletes comments, lines of comments, and individual words. Deletes and undeletes line comments. Deletes and undeletes word comments. Allows you to accept the rung comment and exit to the Document menu functions.
Documenting Ladder Programs Adding Instruction Comments Adding an instruction comment is similar to adding a rung comment with the cursor on the instruction. 1. To add an instruction comment to rung 0 press CONFIG OFFLINE DOCUMNT .
Advanced PrefaceProgramming Software User Manual Function Key Description [F1] Delete Comment [F2] Undelete Comment [F3] Delete Line [F4] Undelete Line [F5] Delete Word [F6] Undelete Word Deletes and undeletes comments, lines of comments, and individual words. Deletes and undeletes line comments. Deletes and undeletes word comments. Allows you to accept the rung comment and exit to the Document menu functions.
Documenting Ladder Programs 2. Using the arrow keys, move the cursor to instruction I:1/1 and press CONFIG OFFLINE MODIFY SYMBOL . CONFIG F6 TON I:1 TIMER ON DELAY Timer T4:0 Time Base 0.01 Preset 800 Accum 0 ] [ 1 (EN) (DN) O:2 T4:0 ] [ DN ( ) 1 END Enter symbol Relate I:1/1 to offline 3. no forces File EXAMPLE2 NEXT INSTR PREV INSTR F9 F10 Note the prompt line and data/command entry line. Type: IN and press CONFIG OFFLINE NEXT . The following display appears.
Advanced PrefaceProgramming Software User Manual 4. The symbol IN appears above the instruction. Note that symbols are always displayed in capital letters. You are now prompted for a symbol relating to T4:0. Type: eight sec and press CONFIG OFFLINE NEXT . INSTR CONFIG F9 IN I:1 TON TIMER ON DELAY Timer EIGHT_SEC Time Base 0.01 Preset 800 Accum 0 ] [ 1 EIGHT_SEC/DN T4:0 ] [ DN (EN) (DN) O:2 ( ) 1 END Enter symbol Relate T4:0/DN to offline 5.
Documenting Ladder Programs IN TON I:1 TIMER ON DELAY Timer EIGHT_SEC Time Base 0.01 Preset 800 Accum 0 ] [ 1 EIGHT T4:0 ] [ DN (EN) (DN) O:2 ( ) 1 END Enter symbol Relate O:2/1 to offline 6. no forces File EXAMPLE2 NEXT INSTR PREV INSTR F9 F10 The Done bit symbol is now EIGHT. Type: out for the output instruction symbol, and press CONFIG OFFLINE NEXT . INSTR CONFIG F9 IN I:1 TON TIMER ON DELAY Timer EIGHT_SEC Time Base 0.
Advanced PrefaceProgramming Software User Manual Note Function key CONFIG OFFLINE SAVE DOCUMNT saves your changes. However, the display and menu CONFIG F10 selections do not change. This function does not save changes made to the ladder program. You must press [F2], Save at the Offline Program menu display to save the ladder program. Using the Database Editor The database editor provides access to all comments and symbols for a processor memory file.
Documenting Ladder Programs Display Conventions There are four windows that you can access in a display. The active window is shown with an intensified double line border. Inactive windows are shown with a single line border.
Advanced PrefaceProgramming Software User Manual Accessing the Database Editor Enter the database editor using the following key sequence: Begin at the main menu and press CONFIG CONFIG CONFIG OFFLINE OFFLINE OFFLINE MONITOR OFFLINE DOCUMNT , then , PRG/DOC , then FILE CONFIG CONFIG CONFIG F3 F8 F5 CONFIG OFFLINE EDIT and then DBASE . The following pages show the available editing windows. CONFIG F5 Use the following navigational keys in the displays: Function Key Activates the previous window.
Documenting Ladder Programs Address/Symbol Window At this window you can select a different address or symbol: Adr Cmt INS Cmt ADDRESS: B3/O SYMBOL: Rung Comment Instruction: INS Press a key or enter a NEW address or EXISTING symbol offline Database Mode: ADDRESS File EXAMPLE2 DBASE MODE DELETE ENTRY RELATE TO CMT MODIFY SYMBOL REMOVE SYMBOL F1 F2 F5 F6 F7 Function Key [F1] DBase Mode [F2] Delete Entry [F5] Relate To Comment [F6] Modify Symbol [F5] Specify Address [F9] Next Address [F10]
Advanced PrefaceProgramming Software User Manual Address Comment Window At this window you can change the current address comment and then modify or delete the address: Adr Cmt INS Cmt ADDRESS: B3/O SYMBOL: Rung Comment Instruction: INS Press a key or enter a NEW address or EXISTING symbol offline Database Mode: ADDRESS DBASE MODE DELETE ENTRY MODIFY COMMENT F1 F2 F5 Function Key [F1] DBase Mode [F2] Delete Entry [F5] Modify Comment [F1] Delete Comment [F2] Undelete Comment [F3] Delete Line [F
Documenting Ladder Programs Instruction Comment Window At this window you can choose a specific instruction or class of instructions to modify or delete: Adr Cmt INS Cmt ADDRESS: B3/O SYMBOL: Rung Comment Instruction: INS Press a key or enter a NEW address or EXISTING symbol offline Database Mode: ADDRESS File EXAMPLE2 DBASE MODE DELETE ENTRY MODIFY COMMENT SELECT INSTRUC NEXT INSTRUC F1 F2 F5 F6 F7 Function Key [F1] DBase Mode [F2] Delete Entry [F5] Modify Comment [F1] Delete Comment [F2
Advanced PrefaceProgramming Software User Manual Rung Comment Window At this window you can select a rung comment to edit: Adr Cmt INS Cmt ADDRESS: B3/O SYMBOL: Rung Comment Instruction: INS Press a key enter a NEW address or EXISTING symbol offline Database Mode: ADDRESS DBASE MODE DELETE ENTRY MODIFY COMMENT SELECT INSTRUC NEXT INSTRUC F1 F2 F5 F6 F7 Function Key [F1] DBase Mode [F2] Delete Entry [F5] Modify Comment [F1] Delete Comment [F2] Undelete Comment [F3] Delete Line [F4] Undelete
Documenting Ladder Programs Example – Selecting an Address To select an address using the database editor, do the following: 1. Begin at the main menu and press CONFIG CONFIG OFFLINE OFFLINE OFFLINE MONITOR , then PRG/DOC , then FILE CONFIG CONFIG F3 F8 CONFIG OFFLINE DOCUMNT . The following display appears: CONFIG F5 IN TON I:0.0 ] [ 0 TIMER ON DELAY Timer EIGHT_SEC Time Base 0.01 Preset 800 Accum 0 EIGHT T4:0 ] [ DN (EN) (DN) OUT O:0.
Advanced PrefaceProgramming Software User Manual 2. Press CONFIG EDIT OFFLINE and type: I:1/1. Press [ENTER] and the following display DBASE CONFIG F5 appears: Adr Cmt INS Cmt ADDRESS: I:1/1 SYMBOL: Rung Comment Instruction: INS Press a key or enter a NEW address or EXISTING symbol offline Database Mode: ADDRESS File EXAMPLE2 DBASE MODE DELETE ENTRY RELATE TO CMT MODIFY SYMBOL REMOVE SYMBOL F1 F2 F5 F6 F7 3.
Documenting Ladder Programs Viewing Your Documented Program Once you have entered the comments for your ladder program you have the option of displaying or suppressing (hiding) those comments in your ladder program (shown in step 2). You can also choose to display or suppress output cross references. (See page 7–26.) 1. Press CONFIG CONFIG OFFLINE MONITOR OFFLINE CONFIG and then DISPLAY .
Advanced PrefaceProgramming Software User Manual Output Cross Reference Displays Pressing CONFIG OFFLINE DISPLAY enables the display of output cross references. A cross XREF CONFIG F6 reference can be displayed for the following instructions: ASR, EQU, GEQ, GRT, LEQ, LES, LIM, MEQ, NEQ, OSR, XIC, and XIO. The cross reference appears below the input instruction.
Protection 8 Protection There are several file protection options for your applications. File protection is designed to protect against unauthorized access and modification to both user data (data files) and user programs (online edits). Depending on the type of processor, 11 types of processor file protection are available.
Advanced PrefaceProgramming Software User Manual Password Password protection is designed to protect against unauthorized access to a processor file and from changes being made to the ladder program. Each ladder program may contain two passwords; the Password and the Master Password. The master password overrides the password. This function is available offline and online from the Processor Functions menu. You can only use numbers.
Protection PROGRAM DIRECTORY FOR PROCESSOR: 05TEST FILE 0 1 2 PROTECTED NAME TYPE system reserved ladder SIZE (words) 73 0 10 Press a key, enter file number or file name offline SLC 5/03 File SEQUENCE CHANGE PROCSSR CHANGE PASSWRD CHANGE PR. NAME CHANGE FL. NAME CLEAR MEMORY CREATE FILE DELETE FILE MONITOR FILE DATA MONITOR FILE PROTECT F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 2. Press CONFIG CONFIG OFFLINE CHANGE OFFLINE ENTER PASSWRD , then MODIFY .
Advanced PrefaceProgramming Software User Manual Removing Passwords To remove a password or master password, do one of the following: Removing Passwords Removing Master Passwords 1. Press [F4], Remove. 1. Press [F6], Remove Master. 2. Enter existing password and press [ENTER]. 3. Save to disk. 2. Enter the existing master password and press [ENTER]. 3. Save to disk. Saving to Disk By designating a password, the processor file is changed.
Protection Future Access (OEM Lock) This option allows you to protect proprietary program data and algorithms. This type of protection can be applied using any of the SLC 500 processors or MicroLogix 1000 controllers. The protection takes effect only after the program is downloaded to a controller.
Advanced PrefaceProgramming Software User Manual Program Owner Protection Note: This function only applies to the DH 485 driver's WHO Active. This function is not supported in the DH+ driver's WHO Active. Assigning program ownership is done using the DH-485 WHO function via the commands Set Owner and Clear Owner. The Set and Clear Owner commands permit a terminal to “own” one or more processor files on the network.
Protection 2. To claim ownership of nodes 4 and 5, move the cursor to node 4 and press CONFIG CONFIG SET SET OFFLINE OFFLINE OWNER . Move the cursor to node 5 and press OWNER .
Advanced PrefaceProgramming Software User Manual Program File Protection (SLC 5/03 and SLC 5/04 Processors) Program file protection is designed to protect your application from having online edits performed on a program file. The SLC 5/03 and SLC 5/04 processors provide you with the capability to protect program files on a per file basis. Since the fixed, SLC 5/01, and SLC 5/02 processors do not support online editing, their protection status is set to all program files protected.
Protection PROGRAM DIRECTORY FOR PROCESSOR: EXAMPLE FILE 0 1 2 3 4 PROTECTED NAME Yes TYPE system reserved ladder undefined ladder SIZE (words) * * * * * Press a key to select protection offline SLC 5/03 PROTECT FILE REMOVE PROTECT F1 F4 File EXAMPLE Note that only SLC 5/03 or SLC 5/04 processor files can be protected.
Advanced PrefaceProgramming Software User Manual 3. After selecting protect file, you can specify individual program files and/or ranges of program files on which to apply the file protection. Refer to the previous page for the different ways files can be listed. After successful validation, program file protection is applied to the list of specified files.
Protection Fixed and SLC 5/01 Processor The output file is always statically protected. You cannot alter the output data file while in the REM Run mode using the communication channels. However, all other data table files are unprotected. SLC 5/02 Processor You can choose to statically protect your data table files at the time you save your program.
Advanced PrefaceProgramming Software User Manual SLC 5/03 and SLC 5/04 Processors Data table file protection is only available on a per file basis when using a SLC 5/03 and SLC 5/04 processor. You can choose between static or constant protection for each data file. You cannot write to a protected status file while in the run or test modes.
Protection SLC 5/03 and SLC 5/04 processors only DATA TABLE MAP FILE 0 1 2 3 4 5 6 7 8 TYPE O I S B T C R N F File 8 only applies to SLC 5/03 OS301, OS302 and SLC 5/04 OS400, OS401 processors.
Advanced PrefaceProgramming Software User Manual Depending on the form of protection, one of the following prompts is displayed: • • • Enter list of files to apply static protection Enter list of files to apply constant protection Enter list of files to remove static and/or constant protection If you attempt to change the protection of an already protected file, APS detects this request. In this example, R6:10 is already statically protected.
Protection If the file is Static protected and you want to change it to Constant protection, the prompt: File(s) already STATIC protected. Do you wish to alter protection? is displayed. If you attempt to apply Constant protection to Input, Output, and/or Status files, your request will be acknowledged and the message: INPUT, OUTPUT, AND STATUS FILES CANNOT BE CONSTANT PROTECTED is displayed.
Advanced PrefaceProgramming Software User Manual Memory Module Data File Overwrite (SLC 5/03 and SLC 5/04 Processors) Use the memory module data file overwrite protection with the memory module autoload bits to retain values such as counter accumulators and sequencer positions through a power cycle. Refer to the Instruction Set Reference Manual for more information about the autoload bits. This type of protection allows you to autoload your memory module and preserve retentive data.
Protection Depending on the form of protection, one of the following prompts is displayed: • • Enter list of files to apply memory module overwrite protection Enter list of files to remove memory module overwrite protection Memory Module Program Compare Protection (SLC 5/03 and SLC 5/04 Processors) If bit S:2/9 is set inside a valid program that is contained in a memory module, you cannot modify the NVRAM (processor) user program file.
Advanced PrefaceProgramming Software User Manual 1. Access the Transfer function from the main menu by pressing CONFIG OFFLINE PROCSSR FUNCTNS , CONFIG and then F1 CONFIG OFFLINE XFER MEM MOD . CONFIG CONFIG OFFLINE ONLINE , then CONFIG F1 In the figure below, you are online at the F7 Monitor File display for processor file TOGGLE.
Protection 3. If you want to write protect your memory module permanently, press CONFIG OFFLINE WRITE PROTECT . The prompt line changes to the following: CONFIG F8 PROGRAM DIRECTORY FOR PROCESSOR: TOGGLE FILE 0 1 2 PROTECTED NAME Yes TYPE system reserved ladder SIZE (words) 76 0 6 WARNING, SELECTING YES DISABLES FUTURE REPROGRAMMING OF MEMORY MODULE Press F8 to write-protect memory module. REM RUN L532 Series C Rev.2 4.
Advanced PrefaceProgramming Software User Manual Force Protection Applying force file protection applies to SLC 5/03 and SLC 5/04 processor files. Force file protection must be selected before you save your offline program. When force protection exists, you cannot enable forces in the Input or Output data table files. If you attempt to enable forces when force protection is active, the message: FORCE STATE CANNOT BE MODIFIED DUE TO FORCE FILE PROTECTION is displayed.
Protection REMote Position While you are in the REM position, you can change the mode using a programming device. Online editing is allowed while in the REM Run, REM Program, and REM test mode. Communication Channel Protection (SLC 5/03 and SLC 5/04 Processors) Use this type of protection to designate one channel as programming and the other as monitoring. Either channel may be protected, but not both.
Saving and Compiling a Processor File 9 Saving and Compiling a Processor File This chapter discusses the various options related to saving and compiling a file. Those options include: • • • • Single Step Test Future Access Index Checks File Protection Also discussed is the procedure used to evaluate the processor memory layout after you save the program.
Advanced PrefaceProgramming Software User Manual Saving a Processor File In the Program Directory display below, processor file EXAMPLE is in the workspace. The asterisks in the SIZE column indicate that values are not determined because the file has not been saved or compiled. Access the Program CONFIG OFFLINE OFFLINE PRG/DOC .
Saving and Compiling a Processor File The following figure shows the displays for all other available processors.
Advanced PrefaceProgramming Software User Manual 2. Determine the amount of program file protection your application requires. Refer to “Available Protection Options,” below, for more information. If another program resides on the hard disk with the same name, the prompt Overwrite File? is displayed. 3. After you have made your selections, press CONFIG OFFLINE YES . The first menu on page CONFIG F8 9–2 is displayed, with the SIZE column displaying the number of words in the file.
Saving and Compiling a Processor File Disallow: The processor performs run-time checks on indexed addresses to ensure that the indexed address is contained within the same data file as the base address. This is the default selection. SLC 5/03 OS301, OS302 and SLC 5/04 OS400, OS401 processor specific – When an indexed string data file is specified, indexed addressing is not allowed to cross a string element boundary, regardless of your index checking selection.
Advanced PrefaceProgramming Software User Manual Allow: Online access to the processor file and data table is unrestricted. This is the default. Disallow: Online access to the processor program is not permitted.
Saving and Compiling a Processor File You can apply a unique input filter setting to each of the three input groups. Function Key [F1] 0 and 1 [F2] 2 and 3 [F3] 4 to x➀ ➀ Note Adjusts Inputs For 16 I/O point controllers, x=9. For 32 I/O point controllers, x=19. The input filter response times for the 1761–L16AWA and 1761–L32AWA micro controllers are fixed at 8ms. Selecting any other input filter response time for these controllers will not change the response time of the inputs.
Advanced PrefaceProgramming Software User Manual Evaluating How Processor Memory is Stored Once you have successfully saved and compiled your processor file, you may view how that file is stored in memory. The short-cut [ALT–M] allows you to access the Data Table Map and Processor Memory Layout more quickly from the Program Directory display. Data Table Map This function lists the data files created by the I/O configuration and ladder program.
Saving and Compiling a Processor File Output (O) and input (I) size is determined by the I/O configuration.
Creating and Printing Reports 10 Creating and Printing Reports The Create Reports function allows you to generate reports listing specific information about your application. You can use the default settings or you can modify these settings to meet your requirements. This chapter shows you how to: • • • • Note Create reports using the default settings Change the default settings Add a title to a report Print reports A new report must be created after a program edit is performed.
Advanced PrefaceProgramming Software User Manual Types of Reports You can create and print the following reports: • Program Listing — includes: – the main program file and all subroutine files – a single file – a range of files – a range of rungs within a single file – a range of rungs between two or more files You can also embed a Cross Reference report within the Program Listing report.
Creating and Printing Reports The following examples show the different uses of the function keys.
Advanced PrefaceProgramming Software User Manual Creating Reports This section explains how to create the different types of reports for files that are in the terminal workspace. You have the option of using the default settings that are displayed, or you can change the default settings to match your requirements. The file DRILL1 is used here as an example. Program Listing Report The program listing report is similar to the ladder program you view on the terminal screen.
Creating and Printing Reports 1. Begin at the main menu and press CONFIG CONFIG OFFLINE OFFLINE OFFLINE CREATE PRG/DOC , then REPORTS .
Advanced PrefaceProgramming Software User Manual 2. Change the program listing options by pressing CONFIG OFFLINE REPORT OPTIONS .
Creating and Printing Reports 3. Change the program listing options by pressing the corresponding function key. Function Key [F1] Rung Range Description Allows you to specify a range of rungs to print. The following additional options are available: [F2] Select All - Selects the Starting File through the Ending File. This includes all rungs in the specified files. [F3] Single File - Selects the entire contents of a single file.
Advanced PrefaceProgramming Software User Manual 4. After making all of your changes, you must press CONFIG OFFLINE SAVE for the changes to TO FILE CONFIG F9 become the new default settings. To enable your current report options press [ENTER]. 5. The message NEW CONFIGURATION SAVED TO FILE appears on the message line. When you subsequently press [ENTER] or [ESC], all option changes you’ve made are in effect.
Creating and Printing Reports Cross Reference Report The cross reference option displays the list of addresses used in the ladder program. The list is alphabetical, in either address order or symbol order. You can limit the list to a single address or range of addresses, or a particular symbol or range of symbols.
Advanced PrefaceProgramming Software User Manual [F1], File Range and [F2], Sort Order These function keys select the starting and ending points and the sort order. The [F2], Sort Order key toggles between ADDRESS and SYMBOL. Note that the [F1] options automatically change when you change the sort order.
Creating and Printing Reports Processor Configuration Report This option details the hardware configuration of the processor and associated hardware in the system. There are no report parameters available. The report shows the: • • • type of chassis (fixed or modular) slot number type of I/O module This option is accessible from the Program Directory display by pressing CONFIG OFFLINE CREATE REPORTS , then cursoring to the Processor Configuration report.
Advanced PrefaceProgramming Software User Manual Data Table Report This report details the status of the offline data files. It is useful for validating data that has been entered into the program file and for troubleshooting. The report shows the data files, including: • • • • • 1. Input and Output files Status files Bits Timers Counters Begin at the Program Directory display and press CONFIG OFFLINE CREATE REPORTS . Cursor down to CONFIG F6 the Data Tables report.
Creating and Printing Reports 2. To change any of the radix options, press CONFIG OFFLINE REPORT OPTIONS . The display remains the CONFIG F5 same, but the menu choices change. Press a function key offline SLC 5/03 binary data File DRILL1 INPUT RADIX OUTPUT RADIX INTEGER RADIX BINARY RADIX ASCII RADIX M0 RADIX M1 RADIX SAVE TO FILE FILE RANGE F1 F2 F3 F4 F5 F7 F8 F9 F10 Function Key Description [F9] Save to File Toggles between decimal, HEX, ASCII and binary input.
Advanced PrefaceProgramming Software User Manual What is “Radix”? Radix refers to the way numeric based information is displayed on the status line (in the previous display “binary data” is indicated). You can change the radix for output, input, bit, ASCII, string, and integer data files.
Creating and Printing Reports 2. Move the cursor in the right-hand window to Instruction List, press then press CONFIG OFFLINE TOGGLE REPORT , CONFIG F3 CONFIG OFFLINE REPORT OPTIONS .
Advanced PrefaceProgramming Software User Manual 5. To initiate the report generation process, press [ENTER]. After the report is generated, a display similar to the following appears. In this display, every type of report has been created. ROCKWELL SOFTWARE INCORPORATED 9323 SERIES SOFTWARE SLC 500 DOCUMENTATION SOFTWARE Archive File: Output File: Phase: BOTTLINE.ACH BOTTLINE.
Creating and Printing Reports Example Ladder Rung MOV I:0 ] [ MOVE Source 1 N7:2 4660 S:13 4660 Dest 0001 0010 0011 0100 CLR CLEAR Dest S:14 0 FRD FROM BCD Source Dest S:13 00001234 N7:0 1234 The programming software displays S:13 and S:14 in BCD.
Advanced PrefaceProgramming Software User Manual Adding Titles to Printed Reports You have the option of adding a title to your reports before printing them. The title appears on the cover page of each report and also on every page of all of the reports. This option provides a way to identify which workstation generated the report. 1. At the Create Reports display, press CONFIG OFFLINE TITLE . The following display appears.
Creating and Printing Reports A cover page appears first when printing reports. In the example below, note where the title appears: Rockwell Software Incorporated 9323 Series Software APS Release 6.00 Documentation Utility Program Listing Title appears here. Your Company Name Processor File: 502MSGDM.ACH November 3, 1995 - 14:48 Configuring the Report Page Layout The General Options display allows you to determine how a report appears on a page.
Advanced PrefaceProgramming Software User Manual Function Key Description [F3] Printer Configuration Allows you to change the printer configuration parameters. [F5] Valid Cross Reference Toggles between Yes and No. The default selection is Yes. When set to Yes, the report generation time may be significantly increased. Yes: The cross reference database is generated each time you create a cross reference document or a program listing that includes cross reference data.
Creating and Printing Reports Printing Reports If you have not yet designated the type and required configuration for your printer do so now by following the steps on page 3–7. Follow these steps to print your reports. 1. Begin at the main menu and press CONFIG OFFLINE PRINT REPORTS . The directory shows the CONFIG F8 processor files for reports that have been created. PROCESSOR DRILL1 EXAMPLE TOGGLE ESC exits Press a Function Key DEFINE DIR F7 2.
Advanced PrefaceProgramming Software User Manual The display area identifies the processor file, DRILL1 in this example, and indicates the reports, their sizes, and the dates they were created. The cursor is located on the Program Listing report. 3. If you want to select another processor file at this time, press CONFIG OFFLINE SELECT PROCESS . This CONFIG F6 returns you to the previous display. 4. Use the function keys to select the types of reports you wish to print.
Configuring Your Programming Device for Online Communication 11 Configuring Your Programming Device for Online Communication This chapter describes how to configure your terminal and software for online communication.
Advanced PrefaceProgramming Software User Manual Configuration Options You can configure your programming device to communicate: • • • with a single processor, or a network of processors on a DH-485 or DH+ data link from a node on a DH+ data link, bridged to a DH-485, DF1 full-duplex, or DH+ data link over a DF1 full-duplex data link with or without a modem You can also configure your programming device to communicate using INTERCHANGE drivers.
Configuring Your Programming Device for Online Communication Using Non-INTERCHANGE Drivers If INTERCHANGE is running for a device that you want to use a non-INTERCHANGE driver for, do the following: 1. Exit APS. 2. If necessary, change the drive specifier to the drive where the software is installed (typically C). To do this, type: C: and press [ENTER]. 3. If you are using the default directory, at the DOS prompt, type: CD \IPDS\ATTACH\SLC500 and press [ENTER].
Advanced PrefaceProgramming Software User Manual Catalog Number Fixed, SLC 5/01 SLC 5/02 SLC 5/03 SLC 5/04 ML 1000 Page 1747 PIC (DH 485) 1747 PIC Interface Converter • • • •➀ NA 11-6 1784 KR (DH 485) 1784 KR Communication Board • • • •➀ NA 11-8 1784 KL (DH+ Bridged) 1784 KL Communication Interface Module • • • • NA 11-10 1784 KT (DH+ Bridged) 1784 KT Communication Interface Module • • • • NA 11-11 KF3/KE (Full Duplex) 1770 KF3 or 1747 KE Gateway Device • • • •
Configuring Your Programming Device for Online Communication Online Configuration The online communication parameters allow you to select the hardware communication interface module (referred to as interface card) as well as the communication channel and baud rate. The following section describes the available interface cards and their configurable parameters. 1. From the main menu press CONFIG OFFLINE ONLINE CONFIG . The following display appears.
Advanced PrefaceProgramming Software User Manual 1747-PIC Interface Converter The 1747-PIC Interface Converter is the default interface module and supports DH-485 communication. Note that the SLC 5/04 processor only supports DH-485 communication via channel 0 (RS-232). See the SLC 500 Modular Hardware Style Installation and Operation Manual, Publication 1747-6.2 for connection information.
Configuring Your Programming Device for Online Communication Note When using the serial port with APS, COM1 must use IRQ 4 and COM2 must use IRQ 3. Once you select the 1747-PIC Interface Converter the following addresses must be set: Terminal Node Addresses The DH-485 network requires you to set unique node addresses for the terminal and each processor or other devices on the network. This section describes how to set the node address for the APS terminal and the default APS processor.
Advanced PrefaceProgramming Software User Manual Setting APS maximum node addresses: The highest numbered node that the APS terminal will expect to see on the network. To set the APS maximum node address, do the following: 1. Press CONFIG OFFLINE MAX ADDRESS . CONFIG F6 2. Type any number between 0 and 31. 3. Press [ENTER] The maximum node address will change. At the main menu notice that the bottom line in the display area indicates the terminal address, device, and processor address.
Configuring Your Programming Device for Online Communication ONLINE CONFIGURATION F3 F4 F5 F6 Current Device Baud Rate Terminal Address PROC Address MAX Node Address 1784-KR (DH-485) 19200 0 1 31 F9 Save to File ESC exits/Alt-U aborts changes Press a function key Note SELECT DEVICE BAUD RATE TERM ADDRESS PROC ADDRESS MAX ADDRESS SAVE TO FILE F2 F3 F4 F5 F6 F9 If you remove the 1784-KR card, the variable AB_OAKLAND must also be removed.
Advanced PrefaceProgramming Software User Manual 1784-KL (DH+ Bridged) Interface Card The 1784-KL (DH+ Bridged) interface card requires one of the following devices to establish communication with an SLC processor: • 1785-KA5 DH+/DH-485 gateway module to bridge the DH+ and DH-485 data links (required for all SLC 500 processors) • 1747-PIC Interface Converter when using an SLC 5/04 processor configured for DH-485 communication via channel 0 (RS-232) ONLINE CONFIGURATION F3 F4 F5 F6 F9 Current Device
Configuring Your Programming Device for Online Communication 1784-KT (DH+ Bridged) and 1784-KT2 (DH+ Bridged) Interface Cards The 1784-KT (DH+ Bridged) or the 1784-KT2 (DH+ Bridged) interface cards require a 1785-KA5 DH+/DH-485 gateway module to bridge the DH+ and DH-485 data links when communicating from a terminal located on a DH+ data link.
Advanced PrefaceProgramming Software User Manual Function Key ➀ Note [F8] Board Address ➀ Allows you to select the board address for the 1784 KT(2) card. Valid values are A000 to D800 in increments of 400 with the exception of B000 and BC00 (all values in hexadecimal). The default is A000. [F9] Save to File Allows you to save the established parameters to a user configuration file that APS accesses to automatically set up these parameters the next time you use the software.
Configuring Your Programming Device for Online Communication 1770-KF3 or 1747-KE (Full-Duplex) Device Configuration The 1770-KF3 or 1747-KE device establishes DF1 full-duplex communication with or without a modem between the APS terminal and a device. Refer to the user manuals for cabling guidelines used to establish communication for a modem or a direct connection.
Advanced PrefaceProgramming Software User Manual 1. To configure the 1770-KF3 or 1747-KE, begin by pressing CONFIG OFFLINE DEVICE CONFIG . The CONFIG F7 Device/Modem/Full-Duplex configuration menu appears.
Configuring Your Programming Device for Online Communication Function Key Description [F6] Modem Initialize Allows you to configure the modem using Hayes commands before the telephone number is dialed. See page 11-16 for more information. [F7] Phone Number Displays the telephone directory where a new number may be selected or entered. The telephone number is sent immediately following the initialization. See page 11-17 for more information.
Advanced PrefaceProgramming Software User Manual [F6] Modem Initialize String You should verify in your modem user manual that all of the commands in the modem initialize string are supported. All unsupported commands should be deleted from the initialize string, or your modem may not function properly. Pay particular attention to commands beginning with “&”.
Configuring Your Programming Device for Online Communication [F7] Phone Number When you press CONFIG OFFLINE PHONE NUMBER , the telephone directory will appear. CONFIG F7 Name 1 2 3 4 5 6 7 8 9 10 11 12 ESC exits/Alt-U aborts changes Phone Number Press a function key ENTER NAME ENTER PHONE # SELECT PHONE # DELETE LINE UNDEL LINE SAVE TO FILE F1 F2 F3 F5 F6 F9 This lets you view all of the available phone numbers entered into the system.
Advanced PrefaceProgramming Software User Manual [F8] Auto Disconnect At any point while offline, [ALT-SHIFT-H] is a hot key that overrides the auto disconnect. This causes the carrier to be dropped immediately. You can also abort the dial-up sequence by pressing the [ESC] key. [F10] Full Duplex Configuration Pressing CONFIG OFFLINE FULL DUPLEX .
Configuring Your Programming Device for Online Communication Function Key [F1] ACK Timeout [F2] NAK Retries Description Contains a user specified value to count down the amount of time the sender will wait per command attempt for an acknowledgement before sending a ENQ command to the KF3/KE. Valid multipliers are 2-65,535. The default selection is 18. Indicates the number of times the sender is not willing to be acknowledged by the receiver before some sort of error recovery takes place.
Advanced PrefaceProgramming Software User Manual ONLINE CONFIGURATION F1 Port Current Device COM1 Full-Duplex F4 Source Address F5 Destination Address 0 1 F7 Device/Modem/Full-Duplex Configuration F9 Save to File ESC exits/Alt-U aborts changes Press a function key PORT SELECT DEVICE SOURCE ADDRESS DEST ADDRESS DEVICE CONFIG SAVE TO FILE F1 F2 F4 F5 F7 F9 1. To configure the DF1 parameters begin by pressing CONFIG OFFLINE DEVICE CONFIG .
Configuring Your Programming Device for Online Communication Function Key [F1] Baud Rate (PC to SLC) [F2] Parity [F3] Error Check [F4] Use Modem [F5] Dial Phone Number➀ [F6] Modem Initialize➀ [F7] Phone Number Description Toggles between 110, 300, 600, 1200, 2400, 4800, 9600, and 19200. The default is 1200. Toggles between None and Even. The default selection is None. Toggles between Cyclic Redundancy Check (CRC) and Block Check Character (BCC) error checking procedures. The default selection is CRC.
Advanced PrefaceProgramming Software User Manual 2. Press CONFIG OFFLINE FULL DUPLEX .
Configuring Your Programming Device for Online Communication DF1 Half-Duplex Slave Device Configuration The SLC 5/03 and SLC 5/04 processors support half-duplex protocol via RS-232 (channel 0 for both processors). In contrast to DF1 full-duplex, DF1 half-duplex communication takes place in only one direction at a time. Refer to the Instruction Set Reference Manual for more information on Half-Duplex DF1 Slave protocol.
Advanced PrefaceProgramming Software User Manual 1. Press CONFIG OFFLINE DEVICE CONFIG .
Configuring Your Programming Device for Online Communication 2. Press CONFIG OFFLINE HALF DUPLEX .
Advanced PrefaceProgramming Software User Manual DF1 Full-Duplex Device Configuration (MicroLogix 1000 Controllers) The MicroLogix 1000 controllers support full-duplex DF1 protocol via the RS-232 connection to a host computer. You use a 1761-CBL-PM02 cable or a modem to connect the RS-232 channel. For more cabling information, refer to the MicroLogix 1000 Programmable Controllers User Manual, Publication 1761-6.3.
Configuring Your Programming Device for Online Communication Function Key [F1] Baud Rate (PC to SLC) [F4] Use Modem [F5] Dial Phone Number➀ [F6] Modem Initialize➀ [F7] Phone Number Description Toggles between 300, 600, 1200, 2400, 9600, and 19200. The default is 9600. Toggles between Yes and No. This field indicates if a modem is being used. If No is selected, flow control is disabled and function keys [F5], [F6], and [F8] are inactive.
Advanced PrefaceProgramming Software User Manual 1784-KL (DH+ Direct) Interface Card Use the 1784-KL (DH+ Direct) interface card to connect a T47 directly to an SLC 5/04 processor on a DH+ link for programming.
Configuring Your Programming Device for Online Communication 1784-KT (DH+ Direct) and 1784-KT2 (DH+ Direct) Interface Cards Use either the 1784-KT (DH+ Direct) or 1784-KT2 (DH+ Direct) interface cards to connect an IBM compatible or IBM PS/2 microchannel computer directly to an SLC 5/04 processor on a DH+ link for programming. These interface cards share the same configurable parameters.
Advanced PrefaceProgramming Software User Manual Function Key [F8] Board Address Description 1784 KT Allows you to enter the 1784 KTs board dip switch setting in a binary format. Valid range is 000000–111111. The default is 000011. 1784 KT2 Allows you to select the four digit hexadecimal number that represents the board segment address. Valid values are C000, C400, C800, CC00, D000, D400, D800, and DC00. The default is C800. [F9] Save to File Saves the selected parameters to the user file.
Configuring Your Programming Device for Online Communication Example Configuration The following 1784-KT parameters are read from the cfg_kt.ini file. ONLINE CONFIGURATION Current Device 1784-KT (DH+ Direct) Connection Terminal Name Terminal Address Baud Rate F5 SLC Node Address IRQ Board/Memory Address DIRECT MYKT 0 (octal) 57600 3 (octal) 3 110011 F8 Curr.
Advanced PrefaceProgramming Software User Manual Interchange DH-485 The Interchange DH-485 option is available when using any of the SLC 500 processors with a 1747-PIC Interface Converter, the 1784-KTX interface card, or with the 1784-PCMK card and a 1784-PCM4 cable. Note You must edit the initialization file (cfg_kt.ini) found in the INTERCHANGE directory in order to use the Interchange DH-485 option.
Configuring Your Programming Device for Online Communication Interchange DH+ Bridged The following bridge types are supported: • • • • • • DH+ to DH+ via two 1785 KA DH+ to DH-485 via 1785 KA5 gateway PI routing DH+ to DH-485 via an SLC 5/04 OS401 processor with passthru enabled (S:34/0=0) DH+ to DF1-Full-Duplex via an SLC 5/04 OS401 processor with passthru enabled (S:34/5=1) DF1-Full-Duplex to DH+ via an SLC 5/04 OS401 processor with passthru enabled (S:34/5=1) Refer to the Instruction Set Reference Ma
Advanced PrefaceProgramming Software User Manual Example Configuration: DH+ to DH+ via Two 1785-KA APS 6.0 or later Node 77 (octal) SLC 5/04 processor DH+ 57,600 baud KA KA Bridge Address=110 Bridge Address=220 CH1 Node 1 (octal) DH+ 57,600 baud Data Highway ONLINE CONFIGURATION Current Device F1 Bridge Type Terminal Name Terminal Address Baud Rate F5 SLC Node Address F6 Local Bridge Address F7 Remote Bridge Address IRQ Board/Memory Address F8 Curr.
Configuring Your Programming Device for Online Communication Example Configuration: DH+ to DH-485 via 1785-KA5 Gateway APS 6.0 or later Node 77 (octal) KA5 Node 7 (octal) DH+ Link ID=1 57,600 baud SLC 5/03 processor Node 2 (octal) CH0 Node 1 (octal) DH 485 Link ID=2 19,200 baud ONLINE CONFIGURATION Current Device F1 Bridge Type Terminal Name Terminal Address Baud Rate F5 Remote SLC Node Addr. F6 KA5 DH+ Address F7 KA5 DH485 Link ID IRQ Board/Memory Address F8 Curr.
Advanced PrefaceProgramming Software User Manual Example Configuration: PI Routing APS 6.0 or later Node 77 (octal) Pyramid Integratort Station 3 (octal) DH+ Link ID=1 57,600 baud SLC 5/04 processor Station 15 (octal) CH1 Node 1 (octal) DH+ Link ID=2 57,600 baud ONLINE CONFIGURATION Current Device F1 Bridge Type Terminal Name Terminal Address Baud Rate F5 Remote Node Addr. F6 PI DH+ Address F7 PI Remote Link ID IRQ Board/Memory Address F8 Curr.
Configuring Your Programming Device for Online Communication Example Configuration: DH+ to Channel 0 via 5/04 Passthru Bridging is allowed via an SLC 5/04 OS401 processor when the passthru bit is enabled. Examples of DH+ to DH-485 bridging and DH+ to DF1 full-duplex bridging are shown below. DH+ to DH 485 APS 6.
Advanced PrefaceProgramming Software User Manual ONLINE CONFIGURATION Current Device F1 Bridge Type Terminal Name Terminal Address Baud Rate F5 Remote SLC Node Addr. F6 SLC 5/04 DH+ Address F7 5/04 Channel 0 Link ID IRQ Board/Memory Address F8 Curr.
Configuring Your Programming Device for Online Communication Example Configuration: DF1 Full-Duplex to DH+ via 5/04 Passthru DF1 to DH+ bridging is allowed via an SLC 5/04 OS401 processor when the passthru bit is enabled. An example is shown below. Processor A SLC 5/04 OS401 processor S:34/5=1 CH1 Node 23 (octal) APS 6.
Advanced PrefaceProgramming Software User Manual Screen for Processor B ONLINE CONFIGURATION F1 Port Current Device COM1 Full-Duplex F4 Source Address F5 Destination Address 0 12 F7 Device/Modem/Full-Duplex Configuration F9 Save to File ESC exits/Alt-U aborts changes Press a function key PORT SELECT DEVICE SOURCE ADDRESS DEST ADDRESS DEVICE CONFIG SAVE TO FILE F1 F2 F4 F5 F7 F9 For more information on configuring the parameters necessary for DF1 full-duplex, see page 11–19.
Using WHO 12 Using WHO The WHO function lets you view active devices on the DH-485 and DH+ networks. WHO has two modes of operation: • Note • Who Listen lets you view active nodes on the DH-485 or DH+ network without placing your terminal on the network. DH+ Bridged users - When you use the Who function with a 1784-KT or 1784-KL module, access to the DH+ link is not possible using the Who function. However, you can see the Active Node Table from the DH-485 side of the 1785-KA5 gateway module.
Advanced PrefaceProgramming Software User Manual Using DH-485 WHO When configured for a DH-485 network, you can use WHO with any of the SLC 500 processors. When using an SLC 5/03 processor, the current online configuration must be for a DH-485 device in order for Who Active and Who Listen to be available. When using an SLC 5/04 processor, the current online configuration must be for a DH-485 device or your system must be configured for Interchange DH-485.
Using WHO Note that the online configuration display is also available from the Who Listen function. Nodes 1, 2, and 3 are active. No asterisk appears for the APS terminal. DH-485 WHO Active The Who Active function identifies those nodes currently being used. At this display you have the option of setting and clearing ownership, setting the maximum node address, and assigning node addresses and their baud rates when using any of the SLC 500 processors.
Advanced PrefaceProgramming Software User Manual Function Key [F1] Online [F2] Station Diagnostics [F3] Set Owner Description Allows you to go online and communicate with the device at the node address the cursor is highlighting. Allows you to monitor the diagnostics of the network and the highlighted cursored node. Allows your APS terminal to establish ownership of a processor on the network. While your terminal is active on the network, other programmers cannot access the processor.
Using WHO 2. Cursor to the processor node address you wish to change and press CONFIG OFFLINE NODE ADDRESS . CONFIG F8 3. Type any number between 1 and 31. 4. Press [ENTER] and cycle power to the processor. Assign other node addresses in the same manner until all of your processors have a unique node address. Note You cannot change the node address of the terminal at this display. If you try, the message CURRENT DEVICE IS NOT A PROCESSOR appears.
Advanced PrefaceProgramming Software User Manual 1. Begin at the main menu and press CONFIG CONFIG OFFLINE WHO OFFLINE WHO , then ACTIVE .
Using WHO Setting and Clearing Ownership The Set and Clear Owner function allows a terminal to “own” one or more processor files on the network. Ownership means that as long as the owner is active on the network, other terminals can not access the online functions of the owned processor files. Note that only a programmer can own another node. When the owner becomes inactive (exits the network), another terminal can clear the ownership of the inactive node and gain access to an owned processor file.
Advanced PrefaceProgramming Software User Manual 2. Cursor to node 5 and press CONFIG SET OFFLINE OWNER .
Using WHO If terminal 0 exits APS or is disconnected from the network, terminal 1 can use the Clear Owner function to clear terminal 0’s ownership of a node. Terminal 1 then has access to the node and can claim ownership. 3. To clear ownership, cursor to the desired node and press CONFIG CLEAR OFFLINE OWNER . To CONFIG F4 succeed you must either be the current owner or the current owner cannot be active.
Advanced PrefaceProgramming Software User Manual The counters listed under network diagnostics have the following ranges: Network Diagnostics Valid Ranges Total Nodes 0 31 Max. Node Address 0 31 Messages Transmitted 0 65535 Messages Received 0 65535 Retries 0 255 Retry Limit Exceeded 0 255 Bad Messages Received 0 255 Nak No Memory Sent 0 255 Nak No Memory Rcvd 0 255 Node diagnostics are for the cursored node shown in the Who Active display.
Using WHO 3. Apply power to the processor connected to link coupler C. Restore (download) the appropriate processor file to the processor. Now, assign node address 2 to this processor file using the Who Active function. Address 2 takes effect when you cycle power to the processor. 4. Apply power to the processor connected to link coupler B. Restore (download) the appropriate processor file to the processor. 5. Assign the maximum node addresses. For this network, the maximum node address is set to 4.
Advanced PrefaceProgramming Software User Manual Important Recommendations When Using DH-485 Devices The following summarizes the recommendations for a DH-485 network. • • • • • • Use node 0 and the lowest node numbers for APS terminals. Number the processor nodes consecutively, beginning at the lowest possible number. Set the maximum node address as low as possible. The highest numbered node should have its maximum node address set to its own address.
Using WHO Using DH+ WHO (SLC 5/04 Processors Only) DH+ WHO allows you to monitor devices on the DH+ network, such as SLC 5/04 processors, PLC processors, bridge devices, and programming devices. When your system is configured for a DH+ direct network connection you can have up to 64 nodes. You must use one of the following configuration options to access DH+ WHO. Configuration 1 DH+ direct interface card (1784 KL, KT, KTX, or KT2) SLC 5/04 processor Configuration 2 Interchange DH+ with cfg_kt.
Advanced PrefaceProgramming Software User Manual DH+ Network Menu A 6200 Series Software Product Rockwell Software Incorporated, Copyright 1989-1995 All Rights Reserved Wed Nov 08, 1995 Terminal Address: 037 11:03:09 am Current Device: Interchange DH+ Direct PLC Address: 01 Press a function key Online Program Online Configr Who Listen Who Active Sftware Configr Exit System F1 F2 F4 F5 F6 F10 When you press [F1] Online Program from either the DH+ WHO main menu or DH+ WHO Active display and
Using WHO DH+ WHO Listen The DH+ WHO Listen display shows you active node addresses. You cannot change a node’s status from this display. Access the DH+ WHO Listen display by pressing [F4] WHO Listen. If your system is configured using a 1784-KT (DH+ direct) interface card, only the processor is indicated in the WHO Listen display. If your system is configured using Interchange DH+ with a 1784-KT interface card and the cfg_kt.
Advanced PrefaceProgramming Software User Manual DH+ WHO Active The DH+ WHO Active display allows you to view other active devices on the network. DH+ WHO Active works the same as DH-485 WHO, except valid node addresses range from 0-77 octal. Access the DH+ WHO Active display by pressing [F5] Who Active from the APS Online menu.
Configuring Your Processor for Online Communication 13 Configuring Your Processor for Online Communication Use the information in this chapter to configure the SLC 500 processors for online communication. Choose from several methods: • DH-485 All SLC 500 processors have DH-485 capability. Several bridge and gateway devices exist to interface the SLC 500 DH-485 channel to other devices, such as the 2760-RB (with the 2760 SFC3 Protocol Cartridge), 1770-KF3, 1747-KE, and the 1785-KA5 card.
Advanced PrefaceProgramming Software User Manual Configuring SLC 5/01 and SLC 5/02 Processors APS versions 2.0 and later support DH-485 point-to-point communication. You can connect APS to the SLC 500 processors using a 1747-PIC Interface Converter, a 1770-KF3 module, or 1747-KE module. A 1747-AIC Link Coupler is required for DH-485 network communication. SLC 500 Modular I/O Controller APS 1747–PIC Interface Converter The parameters that must be configured for online communication are explained below.
Configuring Your Processor for Online Communication Configuring the SLC 5/03 and SLC 5/04 Processors for Online Communication The SLC 5/03 and SLC 5/04 processors offer an extensive selection of communication options. (For more information on these options, see the Instruction Set Reference Manual.) APS provides channel configuration screens that allow you to set the communication parameters instead of using the status file.
Advanced PrefaceProgramming Software User Manual Using an SLC 5/03 Processor with Channel 1 Configured (DH-485) The APS version 4.0 and later supports DH-485 point-to-point communication. You can connect APS to the SLC 500 processors using a 1747-PIC Interface Converter, a 1770-KF3 module, or 1747-KE module. A 1747-AIC Link Coupler is required for DH-485 network communication.
Configuring Your Processor for Online Communication Understanding the Channel Configuration Option The SLC 5/03 and SLC 5/04 processors support communication drivers which allow you to select and then monitor the status of a communication channel. 1. Access the General Utility display by pressing either CONFIG CONFIG OFFLINE ONLINE OFFLINE OFFLINE or PRG/DOC , CONFIG CONFIG F1 F3 CONFIG CONFIG OFFLINE OFFLINE MONITOR GENERAL then , and then UTILITY .
Advanced PrefaceProgramming Software User Manual 2. Access the Channel Configuration display by pressing CONFIG OFFLINE CHANNEL CONFIG . The CONFIG F5 following display shows the default parameters for an SLC 5/03 OS301, OS302 processor.
Configuring Your Processor for Online Communication Online Channel Configuration When online, the channel configuration parameters are continually read from the processor and updated on the APS screen until you press [F10] Select Option. Once this key is pressed, ownership is applied to protect the channel configuration files from being changed by another node. At this point the channel configuration data is no longer read from the processor.
Advanced PrefaceProgramming Software User Manual Offline Channel Configuration Offline modifications to the channel configuration cause asterisks to appear on the Program Directory screen in the file size column and on the Memory Map screen in the program size field. The asterisks indicate that changes have been made, but need to be saved. Accepting Edits The channel configuration parameters currently on the screen are written to the channel configuration file in the APS database.
Configuring Your Processor for Online Communication Changing the Channel Configuration Channel Configuration CHANNEL 0 CONFIGURATION Current Communication Mode: System Mode Driver: User Mode Driver: Write Protect: Mode Changes: Mode Attention Character: System Mode Character: User Mode Character: Edit Resource/File Owner Timeout: Passthru Link ID: SYSTEM DF1 FULL-DUPLEX SHUTDOWN DISABLED DISABLED /1b S U 60 (seconds) 1 (decimal) CHANNEL 1 CONFIGURATION System Mode Driver: Write Protect: Edit Resource/Fil
Advanced PrefaceProgramming Software User Manual Parameter Channel 0 SLC 5/03 OS300 Description SLC 5/03 OS301, OS302 and SLC 5/04 OS400, OS401 Current Communication Mode This field defaults to System and is non selectable. Toggles between System and User. The default is System. System Mode Driver Toggles between DF1 Half Duplex Slave, DF1 Full Duplex, DH 485, and Shutdown. The default is DF1 Full Duplex.
Configuring Your Processor for Online Communication DH-485 Master Channel 0 Configuration When the system mode driver for channel 0 or channel 1 is DH-485 Master, the following screen is displayed: Channel 0 System Mode Configuration Communication Driver: Diagnostic File: DH-485 Reserved Baud Rate: Node Address: Max Node Address: 19200 1 31 Token Hold Factor (1–4): 1 Press a key for desired status function REM PROG no forces EDITS: NONE PROC Addr 1 ACCEPT EDITS UNDO EDITS CHAN STATUS SELECT OP
Advanced PrefaceProgramming Software User Manual DF1 Half-Duplex Slave Channel 0 Configuration When the system mode driver is DF1 Half-Duplex Slave for channel 0 the following screen is displayed: Channel 0 System Mode Configuration Communication Driver: Diagnostic File: DF1 HALF-DUPLEX SLAVE Reserved Baud Rate: Stop Bits: 1200 1 Duplicate Detect: ENABLED Poll Timeout [x20 ms]: Control Line: 50 NO HANDSHAKING Parity: NONE Station Address: 0 Error Detect: CRC RTS Off Delay [x20 ms]: 0 RTS Send De
Configuring Your Processor for Online Communication Parameter Message Retries Control Line EOT Suppression Description Allows you to select the message retries value. The valid range is 0-255. The default is 3. Toggles between No Handshaking, Half Duplex with continuous carrier, and Half Duplex without continuous carrier. The default is No Handshaking. Toggles between Yes and No. The default is No.
Advanced PrefaceProgramming Software User Manual Parameter Diagnostic File Reserved for future use. Parity Toggles between the communication rate of 110, 300, 600, 1200, 2400, 4800, 9600, and 19200. Toggles between None and Even. The default is None. Stop Bits Toggles between 1, 1.5, and 2. The default is 1. Station Address The valid range is 0-254 decimal. The default is 1. Duplicate Packet Detection Toggles between Enabled and Disabled. The default is Enabled.
Configuring Your Processor for Online Communication DF1 Full-Duplex Channel 0 Configuration When the system mode driver is a DF1 Full-Duplex for channel 0 the following screen is displayed: Channel 0 System Mode Configuration Communication Driver: Diagnostic File: Baud Rate: Stop Bits: Duplicate Detect: DF1 FULL-DUPLEX Reserved 1200 1 ENABLED ACK Timeout [20 ms]: Source ID: Control Line: 2 9 NO HANDSHAKING Parity: NONE Error Detect: CRC NAK Retries: ENQ Retries: Embedded Responses: 3 3 ENABLED P
Advanced PrefaceProgramming Software User Manual Generic ASCII Channel 0 Configuration When the user mode driver is Generic ASCII for channel 0 the following screen is displayed: Channel 0 User Mode Configuration Communication Driver: Diagnostic File: Baud Rate: Stop Bits: Delete mode: Echo: GENERIC ASCII Reserved 1200 1 IGNORE DISABLED Control Line: NO HANDSHAKING Termination 1: Termination 2: \d \ff Parity: Data Bits: RTS off delay [20 ms]: RTS send delay [20 ms]: XON/XOFF NONE 7 0 0 DISABLED Ap
Configuring Your Processor for Online Communication System Mode Driver Information for Channel 1 The following section describes the system modes available for channel 1 when using either an SLC 5/03 or SLC 5/04 processor.
Advanced PrefaceProgramming Software User Manual DH+ Channel 1 Configuration (SLC 5/04 processors only) When the system mode driver is DH+ for channel 1 pressing [F7] CH1 System Configuration displays the following: Channel 1 System Mode Configuration Communication Driver: Diagnostic File: DH+ Reserved Baud Rate: Node Address: 57600 1 (octal) Global Global Global Global Status Status Status Status Word Transmit Enable Word Receive Enable Transmit Word Receive File 0 0 S:99 S:100–S:163 Global Status
Configuring Your Processor for Online Communication Changing the Communication Mode of Channel 0 You can switch the communication mode of channel 0 as needed from user mode to system mode and vice versa. For example, if you are using channel 0 in user mode to control an ASCII device, like a printer or an Allen-Bradley Dataliner message display device, and you want to use channel 0 to connect online to the processor, do the following: 1.
Advanced PrefaceProgramming Software User Manual 4. Go to the main menu and press CONFIG OFFLINE ONLINE CONFIG . Select Full-Duplex.
Configuring Your Processor for Online Communication 6. Press CONFIG OFFLINE DEVICE CONFIG .
Advanced PrefaceProgramming Software User Manual If you: went online Then: this procedure is finished 1. Repeat steps 4-6. did not go online 2. Set F4 Use Modem to NO. 3. Repeat steps 8-9 on page 13-21. To switch the channel back to user mode, follow the steps above, but for the modem initialization string (step 7), enter . The default is \1bU.
Configuring Your Processor for Online Communication To change the SLC 5/03 processor poll timeout value, do the following: 1. At the Program Directory display, press [F8] Monitor File, then [F7] General Utility, then [F5] Channel Configuration. 2. Cursor to the System Mode Driver parameter and press [F10] Select Option until “DF1 Half-Duplex Slave” is displayed. 3. Press [F4] CH0 System Configuration. Cursor to the poll timeout parameter and press [F10] Select Option.
Restoring and Saving Processor Files 14 Restoring and Saving Processor Files This chapter shows you how to: • • • • go online (initiate communication with a processor) change the link address restore a file from the disk to a processor save an online processor file to disk 14–1
Advanced PrefaceProgramming Software User Manual Communicating with a Processor Before attempting to go online with a processor, you must have already configured your processor, established a network, and created a valid program. Going Online Once you have established a network and configured the necessary parameters, you are ready to go online.
Restoring and Saving Processor Files Changing the Link Address This option lets you change to another node address to monitor another processor file. 1. When you are online at the program directory display, press CONFIG OFFLINE CHG LINK ADDRESS . CONFIG F4 2. To attach to node address 2, at the prompt line type: 2 and press [ENTER].
Advanced PrefaceProgramming Software User Manual Restoring a File The figure below shows an APS programming terminal and an interconnected processor. In the following example, the file EXAMPLE replaces the online processor file (SEQUENCE). In other words, EXAMPLE is restored. TERMINAL Workspace Hard Disk OFFLINE PROCESSOR FILE ARCHIVE PROCESSOR 1 ONLINE PROCESSOR FILE EXAMPLE SEQUENCE TOGGLE SEQUENCE SEQUENCE Before going online, check to make sure that a valid program exists in your processor. 1.
Restoring and Saving Processor Files 2. To restore the file EXAMPLE press CONFIG OFFLINE SAVE RESTORE . The following display appears: CONFIG F2 Press a function key REM PROG L532 Series C Rev.2 SAVE PROGRAM RESTORE PROGRAM F2 F4 3. PROC Addr 1 The word PROGRAM has the same meaning as Processor File. Press CONFIG OFFLINE RESTORE PROGRAM CONFIG F4 and the following display appears: C:\IPDS\ARCH\SLC500\*.
Advanced PrefaceProgramming Software User Manual 5. Once you have selected the file, press CONFIG OFFLINE BEGIN RESTORE . The existing online CONFIG F1 processor file SEQUENCE will be overwritten by file EXAMPLE. While EXAMPLE is being downloaded, the restore utility is displayed. ROCKWELL SOFTWARE, INC. 9323 SERIES SOFTWARE SLC-500 PROGRAM RESTORE UTILITY File Name : C:\IPDS\ARCH\SLC500\EXAMPLE .ach Processor Number: 1 A total of Downloaded There are 4 data, 4 program, and 2 force table(s) created.
Restoring and Saving Processor Files Saving a File Use the Save function when: • • An online data change or a password change has been made to the file and you want the change to be a permanent part of the file. The file in the processor is from some other source (a memory module, an HHT, or another APS terminal) and you want to place a copy of the file on disk. The Save function is accessed from the same menu level used to restore a processor file.
Advanced PrefaceProgramming Software User Manual SAVE PROCESSOR PROGRAM TO DISK File Name: EXAMPLE FILE ALREADY EXISTS Overwrite File? REM PROG L532 Series C Rev.2 PROC Addr 1 YES NO F8 F10 If the file already exists on the hard disk the message line will indicate FILE ALREADY EXISTS. At this point you have the option to overwrite the file. 3. To overwrite the file press CONFIG OFFLINE YES .
Changing Processor Modes 15 Changing Processor Modes This chapter describes how to change the processor modes.
Advanced PrefaceProgramming Software User Manual Available Modes of Operation The following section describes the available modes of operation for the SLC 500 processors and MicroLogix 1000 controllers. SLC 5/01 and SLC 5/02 Processors and MicroLogix 1000 Controllers Remote mode indicates that the processor can be changed via the communication channels. Since these processors do not have a keyswitch, all modes are considered to be remote.
Changing Processor Modes The following table details the different modes available to the SLC 5/03 and SLC 5/04 processors: Keyswitch Position Processor Mode Status Line RUN Run RUN REMOTE Run Program Test Single Step Test Single Scan Test Continuous Scan REM RUN REM PROG REM SRG REM SSN REM CSN RUN Run or Suspend SUSP REMOTE Run, Test, or Suspend REM SUSP not applicable Faulted FAULT xxxx PROG Program PROG If you are online with an SLC 5/03 or SLC 5/04 processor and the keyswitc
Advanced PrefaceProgramming Software User Manual REMote Test Mode (All Processors) The REM Test mode allows you to: • • • • • • • Monitor the current ladder program as it is being executed. Save a processor file to disk. Use the search function. Force inputs and set up outputs. Monitor and edit data files. Run your program with output points disabled. Perform SLC 5/03 and SLC 5/04 online edits.
Changing Processor Modes REMote Run Mode (All Processors) The REMote Run mode allows you to: • • • • • • • Monitor the ladder program, rung state, and data as it is being executed. Save a processor file to disk. Use the search function. Force inputs and set up outputs. Monitor and edit data files. Perform SLC 5/03 and SLC 5/04 online edits. Change a mode using a programmer.
Advanced PrefaceProgramming Software User Manual Changing Remote Modes The status line in the Program Directory display below indicates that the processor is online in REMote Program mode.
Changing Processor Modes 1. Press CONFIG OFFLINE PROCSSR FUNCTNS from the online display. The following menu appears: CONFIG F1 Press a key, enter file number or file name REM PROG L532 Series D Rev 4 PROC Addr 1 CHANGE MODE CHANGE PASSWRD CHANNEL CONFIG CLEAR MEMORY VIEW FILTERS XFER MEM MOD MONITOR FILE DATA MONITOR I/O CONFIG F1 F2 F4 F5 F6 F7 F8 F9 F10 2. Change the processor mode by pressing CONFIG OFFLINE CHANGE .
Advanced PrefaceProgramming Software User Manual 4. The selection is accepted and the processor is placed in the REMote Run mode. To monitor the program file, press CONFIG OFFLINE MONITOR . The ladder program appears: FILE CONFIG F8 I:1.0 ] [ 1 B3 ]/[ 11 B3 ( ) 12 12 B3 ( ) 11 B3 ] [ 10 I:1.0 B3 ] [ ]/[ 1 10 B3 ] [ 11 B3 ]/[ I:1.0 ] [ 1 B3 ( ) 10 B3 ] [ O:1.
Changing Processor Modes Example 1. At this point, if you press CONFIG OFFLINE CHANGE the status line will prompt you to press a MODE CONFIG F1 key for a desired processor mode. 2. For this example an SLC 5/02 processor file is used. Go to Test mode by pressing CONFIG OFFLINE TEST . MODE CONFIG F2 3. Note that function key CONFIG OFFLINE SINGLE only appears if you are using SLC 5/02, STEP CONFIG F2 SLC 5/03, or SLC 5/04 processor files.
Advanced PrefaceProgramming Software User Manual Single Step Test This mode is used with SLC 5/02, SLC 5/03, and SLC 5/04 processors. To use the Single Step Test mode with an SLC 5/02 processor, you must first save and compile your program offline with the Single Step option enabled. Refer to chapter 9 for saving files. Note that your program size and scan time increases when you use an SLC 5/02 processor. Refer to the Instruction Set Reference Manual for more information on estimating your scan time.
Changing Processor Modes To test a single rung at a time, do the following: 1. Press CONFIG CONFIG OFFLINE OFFLINE EXECUTE SINGLE , then . The processor executes an initialization STEP STEP CONFIG CONFIG F2 F8 scan. The blinking power rail indicates the next rung to be scanned (Rung 2:0). 2. Press CONFIG OFFLINE EXECUTE again. The processor then executes file 2, rung 0. The power STEP CONFIG F8 rails on the next rung to be scanned now blink (Rung 2:1). 3.
Advanced PrefaceProgramming Software User Manual Single Scan When you enter this mode, “REM SSN” appears on the status line. To use the Single Scan mode, do the following: 1. Press CONFIG CONFIG OFFLINE OFFLINE YES SINGLE , then to confirm your selection. The processor SCAN CONFIG CONFIG F4 F8 executes an initialization scan. 2. Press CONFIG CONFIG OFFLINE OFFLINE YES SINGLE , then again. The processor scans the program SCAN CONFIG CONFIG F4 F8 once. 3. Repeat step 2 to execute subsequent scans.
Monitoring Controller Operation 16 Monitoring Controller Operation This chapter shows you how to use program files and data table files to monitor the operation of your controller. The quick edit function is also discussed. This function allows you to change from monitoring a ladder rung online to editing the rung offline and vice versa. This chapter also shows you how to recover from a fault if one occurs while monitoring a file.
Advanced PrefaceProgramming Software User Manual Monitoring Program Files Program files contain controller information, the main ladder program, and any subroutine programs. Once you have entered and saved your ladder program, you must download (restore) it to the processor. Downloading the ladder program ensures that the processor file matches the program file. To monitor your ladder program file: 1. Begin at the main menu and do one of the following options.
Monitoring Controller Operation If you enter a valid password, the Program Directory menu is displayed; you can monitor any program file listed. If you are unsuccessful after three attempts, the message ILLEGAL PROGRAM ACCESS ATTEMPTED is displayed and you are prompted to: • • either return to the main menu, or select a different processor by pressing [F4], Change Link Address. 3. Make sure that the processor is in RUN or REM Run mode. 4.
Advanced PrefaceProgramming Software User Manual The following example is the online monitor display for a timer program. IN I:0.0 ] [ 0 TON TIMER ON DELAY Timer EIGHT_SEC Time Base 0.01 Preset 800 Accum 0 EIGHT T4:0 ] [ DN (EN) (DN) OUT O:0.0 ( ) 0 END Press a function key (file 2, rung 0) REM RUN no forces EDITS: NONE PROC Addr 2 CHANGE MODE CONFIG DISPLAY EXIT DOCUMNT SEARCH GENERAL UTILITY DATA MONITOR FORCE EDIT F1 F2 F3 F5 F6 F7 F8 F9 F10 1. Press CONFIG OFFLINE EDIT .
Monitoring Controller Operation 2. Enter the type of program you want to edit by pressing either CONFIG OFFLINE OFFLINE . DISK CONFIG F3 CONFIG OFFLINE OFFLINE PROCSSR or CONFIG F1 If you are using an SLC 5/02 processor and the file already exists, the message: OVERWRITE FILE is displayed. Press CONFIG OFFLINE YES if you want CONFIG F8 CONFIG OFFLINE NO to overwrite the file and continue, or press and choose a different CONFIG F10 program to edit.
Advanced PrefaceProgramming Software User Manual 3. The status line identifies the current mode; REM Run, REM Test (SSN, CSN, or SRG), or REM Program. If you are in the REM Run or any of the REM Test modes, when you enter the type of program you want to edit, the message: WARNING: PROCESSOR NOT IN PROGRAM MODE, DATA TABLE VALUES MAY BE CHANGING is displayed. You are asked whether you want to proceed with the upload or not.
Monitoring Controller Operation Monitoring an Application A ladder program using an up counter is used as an example in this section. Using this example, you will see how to: • • • monitor a program file view the data table file change the radices Monitoring a Program File 1. CONFIG OFFLINE MONITOR . The count up bit FILE CONFIG Select the file using the arrow keys and then press F8 (CU or 15), done bit (DN or 13), and overflow bit (OV or 12) energize external outputs 0, 1, and 2 respectively.
Advanced PrefaceProgramming Software User Manual 2. Monitor the ladder program online while the processor is in either REM Run or REM CSN (Test Continuous Scan) mode and observe the following: • • • XIC instruction C5:0/CU (count up) and rung 1 will be true whenever rung 0 is true; and false whenever rung 0 is false. Each time I:0.0/0 makes a false to true transition, the accumulator value (Accum) increments. The value is shown in the CTU instruction box of the ladder program.
Monitoring Controller Operation Note Data changes made Offline only affect the disk file unless the program is restored to the processor. Data changes made Online only affect the processor file unless the program is saved or uploaded while online to update the disk file. Accessing Data Table Files There are several ways to access the Data Monitor function. Option 1 At the Main menu press CONFIG CONFIG CONFIG OFFLINE ONLINE OFFLINE MONITOR OFFLINE DATA , then , then MONITOR .
Advanced PrefaceProgramming Software User Manual Example 1. Access the data monitor by pressing CONFIG OFFLINE DATA MONITOR . Enter the address of a counter CONFIG F8 file and press [ENTER]. In the following display, the accumulator value is 16 and the DN bit is set. Reset the counter by making rung 4 true momentarily. The ACC value and DN bit are reset to zero. address C5:0 CU 0 CD 0 Press a key or enter value C5:0/CU = REM CSN no forces 2.
Monitoring Controller Operation Changing the Radix Radix refers to the way numeric based information is displayed on the status line. You can only change the radix for output, input, bit, and integer data files. Choices are: • • • • 1. Binary Decimal – default radix for Global Status file Hex/BCD ASCII From the Program Directory display, press CONFIG OFFLINE DATA MONITOR or [ALT-D]. Enter the CONFIG F9 address you want to monitor and press [ENTER].
Advanced PrefaceProgramming Software User Manual Function Key Description Allows you to change the format display of data. Choices are: Binary, Decimal, HEX/BCD, or ASCII. Moves the cursor to any address within the data file or to any other data file by first pressing [F5], entering the address, and pressing [ENTER]. [F1] Change Radix [F5] Specify Address [F7] Next File Accesses the next data file. [F8] Previous File Accesses the previous data file. 2.
Monitoring Controller Operation 4. Notice that the status line now displays binary data. Now press CONFIG OFFLINE HEX/BCD . DATA then CONFIG CONFIG OFFLINE CHANGE and RADIX CONFIG F1 The display changes to the following: F4 address 0 N7:0 0000 N7:10 0000 1 0001 2 0002 Press a key or enter value N7:0 = REM PROG no forces 3 0004 4 0008 HEX/BCD data 5 0010 6 0020 7 0040 decimal addr SPECIFY ADDRESS NEXT FILE PREV FILE F1 F5 F7 F8 Notice that the status line now displays hex/bcd data.
Advanced PrefaceProgramming Software User Manual Fault Recovery Procedure To remove a fault condition and return to the RUN or REMote Run mode, do the following: 1. Press CONFIG CONFIG OFFLINE OFFLINE ONLINE DATA , then MONITOR . Press the letter S and then press [ENTER]. CONFIG CONFIG F1 F9 The first screen of the status file contains the fault code and fault description.
Monitoring Controller Operation 2. Remove the fault by pressing CONFIG OFFLINE CLR MAJ . This clears words S:1/13, S:5, and FAULT CONFIG F10 S:6. Refer to the Instruction Set Reference Manual for more information on possible faults and their cause. 3. Once the fault code is cleared, the code 0000 is displayed. SLC 5/03 and SLC 5/04 processors - clearing these bits with the keyswitch in the RUN position causes the processor to immediately enter the RUN mode. 4. Re-enter the REMote Run or RUN mode.
Advanced PrefaceProgramming Software User Manual Data Table File Displays The following section provides a sample screen for each type of data table status file display. The displays for timer, counter, control, floating point, and status data files are pre-formatted, which means the option of changing radix is not available. Note The memory space for the MicroLogix 1000 controllers is already allocated. Therefore, their status file displays show the full range of elements.
Monitoring Controller Operation Integer Data File (N7:) The display below shows the integer data file. There are 101 elements in the file. The cursor is on N7:23, which has a value of 1098.
Advanced PrefaceProgramming Software User Manual Counter Data File (C5:) The display below shows the counter data file. The cursor is on the Count Up Enable bit (CU) of counter C5:0, address C5:0/CU. There are three counters in the file.
Monitoring Controller Operation Floating Point Data File (F8:) The display below shows the floating point data file. The cursor in the display area is on F8:0. address F8:0 F8:5 F8:10 F8:15 F8:20 F8:25 F8:30 F8:35 F8:40 0 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 1 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 2 3 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.
Advanced PrefaceProgramming Software User Manual Module Files (M0/M1) Data File The display below shows the M0/M1 data file. address M0:1.0 M0:1.1 M0:1.2 M0:1.3 M0:1.4 .... .... data 0000 0000 0000 0000 0000 .... .... address M0:1.16 M0:1.17 M0:1.18 M0:1.19 M0:1.20 .... .... data address 0000 0000 0000 0000 0000 .... .... M0:1.32 M0:1.33 M0:1.34 M0:1.35 M0:1.36 .... .... Press a function key or enter a value R6:0/EN = REM RUN no forces formatted data 0000 0000 0000 0000 0000 .... ....
Monitoring Controller Operation Status Data File (S2:) The displays below show the status data files for the fixed, SLC 5/01, SLC 5/02, SLC 5/03, and SLC 5/04 processors, and MicroLogix 1000 controllers.
Advanced PrefaceProgramming Software User Manual Status File for SLC 5/03 Processors (Display 1) ARITHMETIC FLAGS S:0 PROCESSOR STATUS PROCESSOR STATUS PROCESSOR STATUS 00000000 00000000 00000000 00000001 00000000 00000000 MINOR FAULT FAULT CODE FAULT DESCRIPTION: 00000000 00000000 0000 MATH REGISTER Z:0 V:0 C:0 SUSPEND CODE SUSPEND FILE 0 0 WATCHDOG LAST SCAN FREE RUNNING CLOCK [x10 ms] 10 [x10 ms] 0 00000000 11110010 0000 0000 ACTIVE NODE LIST (CHANNEL 1) 0 10 20 30 11000000 00000000 00000
Monitoring Controller Operation Status File for SLC 5/04 OS401 Processors (Display 1) ARITHMETIC FLAGS S:0 Z:0 PROCESSOR STATUS PROCESSOR STATUS PROCESSOR STATUS 00000000 00000000 00000000 00000001 00000000 00000000 MINOR FAULT FAULT CODE FAULT DESCRIPTION: 00000000 00000000 0000 MATH REGISTER V:0 C:0 SUSPEND CODE SUSPEND FILE 0 0 WATCHDOG [x10 ms] 10 LAST SCAN [x10 ms] 0 FREE RUNNING CLOCK 00000000 00000000 0000 0000 GLOBAL STATUS TRANSMIT WORD GLOBAL STATUS WORD TRANSMIT ENABLE GLOBAL STATU
Advanced PrefaceProgramming Software User Manual Status File for SLC 5/02 Processors (Display 2) LAST SCAN [x10 ms]: 0 AVERAGE SCAN [x10 ms]: MAXIMUM SCAN [x10 ms]: 0 1 INDEX REGISTER VALUE: INDEX ACROSS FILES: 4 NO FAULT ROUTINE SUBROUTINE FILE: 0 SELECTABLE TIMED INTERRUPT SUBROUTINE FILE: SETPOINT [x10 ms]: ENABLED: EXECUTING: PENDING: 1 ms TIMEBASE 0 0 1 0 0 0 I/O SLOT INTERRUPT ENABLES 0 10 20 30 00000000 00000000 00000000 00000000 I/O SLOT INTERRUPT PENDING 0 10 20 30 00000000 00000000 000
Monitoring Controller Operation Status File for SLC 5/03 and SLC 5/04 Processors (Display 3) EXT PROCESSOR STATUS EXT MINOR FAULT 0000000 00000000 0000000 00000000 DISCRETE INPUT INTERRUPT SUBROUTINE FILE: INPUT SLOT: ENABLED EXECUTING: PENDING: OVERFLOW: LOST: PROCESSOR CATALOG #: SERIES: REVISION: USER RAM SIZE: FLASH EEPROM SIZE: 0 0 0 0 0 3 1 1 0 0 0 0 REAL TIME CLOCK DATE: TIME: 11-17-1995 2:15.34 MASK: COMPARE VALUE: PRESET: RETURN MASK: ACCUMULATOR: LAST SCAN [ms]: MAX.
Advanced PrefaceProgramming Software User Manual Status File for SLC 5/04 Processors (Display 4) EXT PROCESSOR STATUS: 00000000 00000000 CHANNEL 0 ACTIVE NODE TABLE 0 0-31 32-63 64-95 96-127 128-159 160-191 192-223 224-255 10 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 20 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 30 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 O0000000 00
Monitoring Controller Operation GLOBAL STATUS RECEIVE FILE 00 01 02 03 04 05 06 07 10 11 12 13 14 15 16 17 20 21 22 23 24 25 26 27 30 31 32 33 34 35 36 37 40 41 42 43 44 45 46 47 50 51 52 53 54 55 56 57 TRANSMIT WORD: 2458 TRANSMIT ENABLE: 2458 7864 17653 612 1234 713 Press a key or enter value, press Alt-H for help.
Advanced PrefaceProgramming Software User Manual Transmit Enable: This data is mapped to memory location S:34/3 in the SLC 5/04 processor. A 1 in this location allows the SLC 5/04 processor to send out the information in S:99 on the DH+ link as it’s Global Status Word. A 0 disables transmitting. You can cursor to this entry and turn on/off Global Status Word transmission. Receive Enable: This data is mapped to memory location S:34/4 in the SLC 5/04 processor.
Online Editing 17 Online Editing The online editing function lets you monitor and correct your ladder program when your programming terminal is connected to an SLC 5/03 or SLC 5/04 processor.
Advanced PrefaceProgramming Software User Manual Overview of Online Editing Online editing of ladder programs is available when using SLC 5/03 or SLC 5/04 processors. Use this function to make minor changes to a pre-existing ladder program. Online editing functions consist of inserting, replacing, and deleting rungs in an existing ladder program while online with the processor. You can also document your program while performing an online edit.
Online Editing Online Editing Terms The following terms are used throughout this chapter: • • • • • • • • • • Assemble Edits — Deletes any rungs marked with Delete or Replace edit zone markers during an online editing session. Inserted or modified rungs remain. All edit zone markers are removed when this function is complete. Cancel Edits — Deletes any inserted or modified rungs added during an online editing session. Rungs marked with Delete and Replace edit zone markers remain.
Advanced PrefaceProgramming Software User Manual The following figure shows the process involved when performing an online edit.
Online Editing Types of Online Editing The type of online editing is dependent on the SLC 5/03 or SLC 5/04 processor’s keyswitch position and the processor’s mode. There are two types of online editing: • • Program Online Editing — when the processor is in either PROG mode or REM Program mode Runtime Online Editing — when the processor is in either REM Test or REM Run mode The following table summarizes the SLC 5/03 and SLC 5/04 processor keyswitch positions and modes that enable online editing.
Advanced PrefaceProgramming Software User Manual Edit Functions in Runtime Online Editing During a runtime online editing session, the processor is executing ladder logic. The edit zone markers tell the processor that changes exist, but the changes are not executed until you test the edits. Deleted and replaced (modified) rungs are not removed from the program and inserted rungs are not executed until you assemble the edits.
Online Editing Once you assemble or cancel the edits, the edit zone markers are removed and the power rails change back to a solid line. Edit markers are also removed from rungs that are modified and then accepted while performing a program online edit. When using the modify rung function, modified rungs are marked with R edit zone markers on the power rail of the existing version and I edit zone markers are placed on the power rail of the new version of the rung.
Advanced PrefaceProgramming Software User Manual Example Display with Edit Zone Markers Edit Zone Markers I I I R R R D D D N7:10 ] [ 0 N7:10 ] [ 0 N7:10 ( ) 1 N7:10 ( ) 1 N7:10 ] [ 0 N7:10 ] [ 0 N7:10 ] [ 0 N7:10 ( ) 1 N7:40 ( ) 5 N7:10 ( ) 1 END Current Action Press a key for desired editing function (file 2, rung 0) REM PROG no forces EDITS: DISABLED File 04TEST CHANGE MODE APPEND RUNG INSERT RUNG MODIFY RUNG DELETE RUNG UNDEL RUNG ADVANCD EDITING TEST EDITS CANCEL EDITS F1 F3 F4 F5
Online Editing Effects of Online Editing On Your System The following section covers the effects of online editing on your system. Keep these items in mind while using the online editing function. System Impacts • The scan time and interrupt latency can be extended up to 10 ms when accepting a rung, assembling or canceling edits.
Advanced PrefaceProgramming Software User Manual The previous steps ensure that only the archive file is renamed. Documentation and symbol files will be untouched. Refer to chapter 5 in this manual for more information on renaming files. 3. Save the program file. Data Table File Size Online editing cannot change the size of existing data tables nor can new ones be created. However, some ladder instructions, when programmed cause data table values to change.
Online Editing Offline Editing of a Program Containing Edit Zones Although edit marked rungs cannot be created while offline, you can edit a program containing runtime online edits in the offline program mode. Note that these rungs are treated as normal rungs when editing offline. During an offline edit session, a rung marked with an I or D edit zone marker can be modified. When the modified rung is accepted, the edit zone marker is removed.
Advanced PrefaceProgramming Software User Manual Online Editing Functions You can test your ladder program modifications made during an online editing session before assembling them into the ladder program. When you test your edits, the processor scans the edited program; rungs marked with insert edit zone markers are executed and all rungs marked with replace or delete edit zone markers are skipped. Function Key [F9] This key toggles between Test Edits and Untest Edits.
Online Editing Online Editing cannot be performed while the edited rungs are executing. For example, if you are testing edits and you want to make further changes, you must either perform an untest edits or assemble edits. If you proceed, the edits field on the status line changes from TESTING to DISABLED. For a Runtime Online Editing session, the processor executes rungs not marked with edit zones and all rungs marked with delete or replace zones. Any rungs marked with insert zones are not executed.
Advanced PrefaceProgramming Software User Manual [F10] Cancel Edits If you want to discard your modifications made during online editing, press CONFIG OFFLINE CANCEL . This prevents them from being assembled into your ladder program. EDITS CONFIG F10 Canceling edits can only be done if edits are not currently being tested. • • Note Canceling edits removes the online editing changes from the program and removes the edit zones.
Online Editing Runtime and Program Online Editing Effects This section describes the effects of runtime and program online editing of rungs to a user program. The following terms are used: Normal Rung No edit zone markers appear on the rung; power rail is solid. Insert Rung An insert edit zone marker appears on the power rail and indicates that it was inserted during a runtime online editing session.
Advanced PrefaceProgramming Software User Manual Runtime Online Editing Effects Action Effect of Edit Zone Marker Insert Rung I zone marker remains. If edit = none, status line says disabled Delete Rung Normal rung Rung is marked for deletion, it continues to execute, and a D appears on the power rail. Insert rung The rung is physically removed from the user program. It was not executing. Delete rung Illegal, cannot delete an executing rung.
Online Editing Program Online Editing Effects Action Effect of Edit Zone Marker Insert Rung I zone appears while entering rung instructions. It is removed when you accept the rung. Delete Rung Normal rung Rung is removed. Inserted rung Rung is removed. Delete rung Rung is deleted. Replace rung Illegal, cannot delete because an IR pair exists. Insert rung of IR pair Inserted rung is deleted. The R edit zone marker is removed and the rung is displayed as a normal rung.
Advanced PrefaceProgramming Software User Manual Performing an Online Edit Before performing an online edit, we recommend that you save your program. To access all of the online editing features while in either Runtime or Program Online Editing: When editing a rung that contains an MCR instruction, both the MCR start and MCR end rungs must be edited (whether it be test/assemble/cancel) at the same time. We recommend that you fully understand the possible results of the edit to the system under control.
Online Editing 2. Select the desired editing function for a particular rung. In this example, CONFIG OFFLINE INSERT is selected. The following display appears: RUNG CONFIG F4 I I I I I I IN I:1 ] [ 1 TON TIMER ON DELAY Timer EIGHT_SEC Time Base 0.
Advanced PrefaceProgramming Software User Manual 3. Insert a MOVe instruction by pressing CONFIG CONFIG OFFLINE INSERT OFFLINE MOVE/ , then LOGICAL , and then INSTR CONFIG CONFIG F4 CONFIG OFFLINE MOV F6 . Enter the source address and then the destination. The following CONFIG F1 display appears: MOV I I I MOVE Source Dest IN I:1 ] [ 1 I I I N7:0 T4:0.PRE TON TIMER ON DELAY Timer EIGHT_SEC Time Base 0.
Online Editing 4. Once you have made your change(s), press CONFIG OFFLINE ACCEPT . You can continue to RUNG CONFIG F10 make changes to your ladder program. To modify rung 2, press CONFIG OFFLINE MODIFY . RUNG CONFIG F5 The previously cursored rung is duplicated and placed above the original rung. MOV I I I MOVE Source Dest IN I:1 ] [ 1 I I I EIGHT T4:0 ] [ DN R R R EIGHT T4:0 ] [ DN I I I N7:0 T4:0.PRE TON TIMER ON DELAY Timer EIGHT_SEC Time Base 0.
Advanced PrefaceProgramming Software User Manual 5. Select CONFIG OFFLINE BRANCH and add a branch to the output instruction. After entering the CONFIG F1 address, the following display appears: MOV I I I MOVE Source Dest IN I:1 ] [ 1 I I I I I I R R R R R I I I N7:0 T4:0.PRE TON TIMER ON DELAY Timer EIGHT_SEC Time Base 0.
Online Editing 6. Press CONFIG OFFLINE ACCEPT . RUNG CONFIG F10 Note You can use all of the shortcut keys while performing an online edit, except [ALT-T]. 7. At this point you can either test or cancel edits, or save your edits. To save your edits press [ESC], then CONFIG CONFIG OFFLINE OFFLINE EXIT SAVE , and then RESTORE . If you want to test CONFIG CONFIG CONFIG OFFLINE TEST your edits, press EDITS .
Advanced PrefaceProgramming Software User Manual MOV MOVE Source N7:0 Dest IN I:1 ] [ 1 T4:0.PRE TON TIMER ON DELAY Timer EIGHT_SEC Time Base 0.
The Multi-Point Function 18 The Multi-Point Function This chapter provides the following information: • • • • Note multi-point function overview the multi-point list menu the edit fields menu the multi-point force menu For use with the SLC 5/03 OS302 and SLC 5/04 OS401 processors and MicroLogix 1000 controllers only.
Advanced PrefaceProgramming Software User Manual Multi-Point Function Overview The multi-point function provides an ergonomic user interface with the most important bits in your application, by allowing you to monitor up to 32 non-contiguous bits of data at a time (16 bits for MicroLogix 1000 controllers). Since the multi-point list is stored with the program, you can create a unique list for each program.
The Multi-Point Function The Multi-Point List Menu You can access the multi-point list when online or offline from the monitor file display by pressing CONFIG OFFLINE MULTI POINT . The following screen appears: CONFIG F4 MULTIPOINT POINT ADDRESS 0 I:2.0/15 1 N7:0/12 2P O:3.0/0 3P I:1.0/3 4 B3/3 5P B3/4 6 O:3.0/2 7 I:2.0/0 8 I:2.0/1 9 I:2.0/2 10P I:2.0/3 11 B3/10 12 B3/11 13 O:3.
Advanced PrefaceProgramming Software User Manual The keys available at the multi-point list menu perform the following functions: Function Key Accesses the multi point edit fields menu. See page 18-5. [F2] Display Symbols/Address Toggles between Display Symbols and Display Address.
The Multi-Point Function The Edit Fields Menu From the multi-point list menu, you can access the edit fields menu by pressing CONFIG OFFLINE EDIT FIELDS .
Advanced PrefaceProgramming Software User Manual The Multi-Point Force Menu Allows you to update forces for input and output bit entries in the multi-point list. Note When online, updates made to the forces are immediately applied to the processor. To avoid possible personal injury and damage to equipment, investigate the effects on machine operation before forcing external input data file bits or external output circuits.
The Force Function 19 The Force Function This chapter shows you how to: • • • force an external input data file bit ON and OFF force an external output circuit ON and OFF use the input and output force monitor displays A guide to forcing input data file bits and output circuits is also provided.
Advanced PrefaceProgramming Software User Manual Force Function Overview The Force function allows you to override the actual status of external input circuits by forcing external input data file bits ON or OFF. You can also override the processor logic and status of output data file bits by forcing output circuits ON or OFF. Note MicroLogix 1000 controllers only: Forces are always enabled but must be installed to be active.
The Force Function Applying Force File Protection (SLC 5/03 and SLC 5/04 Processors) Applying force file protection applies to SLC 5/03 and SLC 5/04 processor files. Force file protection must be selected before performing a Test Edits or Program Save when using SLC 5/03 and SLC 5/04 processors. If you attempt to enable forces of an already force protected file, the message: FORCE STATE CANNOT BE MODIFIED DUE TO FORCE FILE PROTECTION is displayed.
Advanced PrefaceProgramming Software User Manual 1. Access the Force menu functions, by pressing CONFIG OFFLINE FORCE . The following CONFIG F9 function keys appear: Press a key for desired forcing function (file 2, rung 0) REM RUN no forces PROC Addr 1 OFF ON REMOVE REMOVE ALL ENABLE DISABLE MONITOR INPUTS MONITOR OUTPUTS F1 F2 F3 F4 F7 F8 F9 F10 2. To install a force ON for the cursored external input file address press CONFIG OFFLINE ON . (Press F1 OFF to install a force OFF.
The Force Function MicroLogix 1000 controllers only: Since forces are always enabled, skip step 3. 3. CONFIG OFFLINE ENABLE . Confirm your selection by pressing CONFIG Enable the forces by pressing F7 CONFIG OFFLINE YES . CONFIG F8 This simulates the closing of the external input circuit is simulated. However, the actual open/closed status of the external input circuit no longer affects the program logic.
Advanced PrefaceProgramming Software User Manual A period indicates that no force is installed. A 0 indicates that a force OFF is installed. A 1 indicates that a force ON is installed. The status line indicates whether the installed forces are enabled or disabled. Note that menu functions OFF, ON, REMOVE, REMOVE ALL, ENABLE, and DISABLE are available in this display.
The Force Function Guide to Forcing External Input Data File Bits The following occurs in the Run or Test mode: • • • The ladder program is scanned and ladder logic is applied. True instructions are intensified in the display. Forcing of input data file bits and resultant data changes appear in the data file displays. The table below shows the available function keys and describes how each of them functions.
Advanced PrefaceProgramming Software User Manual The table below shows an example of an installed, enabled force while in Run or Test mode. Force On Run or Test Mode 19–8 Data file bit = 0 Initial conditions: Data file bit = 0 Input circuit is Off. No forces. I:0 Force is On, [F2] key. A 1 is placed in the input force table. Forces are always enabled. Data file bit remains 1. Input circuit is still effective.
The Force Function Forcing an External Output Circuit A forced external output circuit is independent of the internal logic of the ladder program and the output data file. Installing forces on output circuits affects only the output force table. Installed, enabled forces do not affect the output data file or the program logic. However, they do affect the output circuit. The effects of installed and enabled forces can only be seen in the Run mode. The Test mode does not energize output circuits.
Advanced PrefaceProgramming Software User Manual 1. Access the Force menu functions, by pressing CONFIG OFFLINE FORCE . CONFIG F9 2. Place the cursor on the output instruction and press [F2] ON to install the force ON. (Press F1 OFF to install a force OFF.) MicroLogix 1000 controllers only: Since forces are always enabled, skip step 3. 3. Enable the forces by pressing CONFIG OFFLINE ENABLE . Confirm your selection. The CONFIG F7 following display appears: I:0.
The Force Function Monitor Output Force Display To install and monitor output data file forces, press CONFIG OFFLINE MONITOR OUTPUTS . CONFIG F10 address O:0 15 data 0 .... ...1 Press a key or enter force value O:0/0 = REM RUN forces ENABLED address 15 binary data data 0 decimal addr PROC Addr 1 OFF ON REMOVE REMOVE ALL SPECIFY ADDRESS DATA MONITOR ENABLE DISABLE F1 F2 F3 F4 F5 F6 F7 F8 The output force table shows that O:0/0 is forced ON.
Advanced PrefaceProgramming Software User Manual Guide to Forcing External Output Circuits The following occurs in the Run mode: • • • The ladder program is scanned and ladder logic is applied. True instructions are intensified in the display. Controller output LEDs go on and/or are held on for enabled forced on external output circuits. The table below shows the available function keys and describes how each of them functions.
The Force Function The table below shows an example of installed, enabled force while in Run mode. Force On Data file bit = 0 Data file bit = 1 Initial conditions: No forces. Output circuit follows output data file bit state. O:0 ( ) 0 O:0 ( ) 0 Force is On, [F2] key. A 1 is placed in the output force table. Output circuit and LED go on and/or are held on. Data file bit status is unaffected.
Using Memory Modules (EEPROMs and UVPROMs) 20 Using Memory Modules (EEPROMs and UVPROMs) This chapter explains: • • transferring processor files using the PROM translator function 20–1
Advanced PrefaceProgramming Software User Manual Using a Memory Module Memory modules provide a non-volatile memory back-up in a convenient modular form. The modules plug into a socket on the controller. For a selection of automatic download functions (S:1/10 through S:1/12), refer to the Instruction Set Reference Manual. Note Processor program and memory module sizes must be compatible.
Using Memory Modules (EEPROMs and UVPROMs) 3. To access the Transfer function press CONFIG OFFLINE MONITOR . FILE CONFIG CONFIG CONFIG OFFLINE ONLINE OFFLINE PROCSSR , then FUNCTNS , and then CONFIG CONFIG F1 F1 In the following figure, you are online at the monitor file display F8 for processor file TOGGLE. I:0.0 ] [ 1 B3 ]/[ 10 B3 ] [ 11 B3 ( ) 12 I:0.0 ] [ 1 B3 ]/[ 10 B3 ]/[ 12 B3 ( ) 11 B3 ] [ 11 I:0.0 ] [ 1 B3 ( ) 10 B3 ] [ 11 O:0.
Advanced PrefaceProgramming Software User Manual 5. Press CONFIG OFFLINE XFER MEM MOD . The following menu choices appear: CONFIG F8 Press a key for desired transfer direction (file 2, rung 0) REM PROG no forces PROC TO MEM MOD MEM MOD TO PROC F1 F2 6. PROC Addr 1 The prompt line indicates Press a key for desired transfer direction. Press CONFIG OFFLINE YES CONFIG OFFLINE PROC TO MEM MOD and confirm the transfer by pressing CONFIG F1 .
Using Memory Modules (EEPROMs and UVPROMs) PROGRAM DIRECTORY FOR PROCESSOR: TOGGLE FILE 0 1 2 PROTECTED NAME TYPE system reserved ladder SIZE (words) 76 0 6 Press a key, enter file number or file name REM PROG L532 Series C Rev.2 PROC Addr 1 PROCSSR FUNCTNS SAVE RESTORE RETURN TO MENU CHANGE LNK ADR WHO ACTIVE CREATE REPORTS FILE OPTIONS MONITOR FILE DATA MONITOR MEMORY MAP F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 You are online at the program directory for processor file TOGGLE.
Advanced PrefaceProgramming Software User Manual Using the PROM Translator Function The PROM Translator function converts an archive processor file to hexadecimal format: • • fixed, SLC 5/01, and SLC 5/02 — Intel Intellect 8/MDS SLC 5/03 and SLC 5/04 — Intel Intellec 8/MCS-86 Once converted, the hex-formatted processor file can be downloaded to a PROM programmer for copying to a UVPROM using the software provided with your PROM programmer. Note You must provide a PROM programmer and the PROM.
Using Memory Modules (EEPROMs and UVPROMs) 2. Press CONFIG OFFLINE PROM TRNSLTR . The following display appears: CONFIG F1 \IPDS\ARCH\SLC500 * Name Size Date DRILL1 EXAMPLE EXAMPLE2 EXAMPLE3 EXAMPLE4 EXAMPLE5 EXAMPLE6 EXAMPLE7 SEQUENCE TOGGLE 9325 929 9254 8345 8715 9395 8225 8831 8684 8695 09-12-95 10-07-95 10-17-95 10-17-95 10-17-95 10-17-95 10-17-95 10-17-95 10-03-95 07-19-94 ↓ * – Newer .
Advanced PrefaceProgramming Software User Manual 4. Once you select the file, press CONFIG OFFLINE CONVERT TO HEX . The menu functions allow you to CONFIG F1 select the size of the PROM.
Using Memory Modules (EEPROMs and UVPROMs) 6. For this example 8k bytes is used. Press CONFIG OFFLINE 8K BYTES . The message line displays CONFIG F1 . . . Working. . . momentarily while the conversion is processing. If the conversion is successful, the message: CONVERSION SUCCESSFUL – 8922 BYTES CONVERTED is displayed. Press any key to return to the previous menu. Notice that an asterisk appears before file EXAMPLE. This indicates the file has been successfully converted to hexadecimal.
Transferring Program Files 21 Transferring Program Files This chapter shows you how to transfer program files between programming terminals connected on a DH-485 network using the program transfer function. You can transfer programs from one APS terminal to another or between an APS terminal and a Hand-Held Terminal (HHT).
Advanced PrefaceProgramming Software User Manual Program Transfer Overview For the examples in this section, the DH-485 network is configured as follows: Node Address Network Device 0 APS Terminal 1 SLC 500 20 Processor 2 SLC 5/02 Processor 3 IBM AT APS Terminal 4 Hand Held Terminal Allen–Bradley 1784–T45, T47 or Compatible Laptop IBM-PC, XT, or compatible with 1784-KR, DH-485 PC Interface SLC 500 Hand-Held Terminal 1747-PIC Interface Converter 1747-AIC Isolated Link Coupler 1747-AIC Isola
Transferring Program Files Transferring Programs Between Programming Terminals Sending a Program — APS to APS You can transfer a user program from the hard disk of the sending APS terminal to the workspace of the receiving APS terminal using the send program function. In the following example, node 0 is the sending APS terminal and node 3 is the receiving APS terminal. 1. Begin at the main menu on node 0, the sending APS terminal. Press CONFIG OFFLINE SYSTEM UTILITIES . CONFIG F9 2.
Advanced PrefaceProgramming Software User Manual 3. Press CONFIG OFFLINE SEND PROGRAM . The following display appears with the cursor on program CONFIG F4 file DRILL1. In this example, program file EXAMPLE is sent to the APS terminal, node 3.
Transferring Program Files 4. Move the cursor in the right-hand box to EXAMPLE, then press CONFIG OFFLINE BEGIN . SEND CONFIG F1 The Waiting to Send display appears: ROCKWELL SOFTWARE INCORPORATED 9323 SERIES SOFTWARE SLC-500 PROGRAM TRANSFER UTILITY Waiting to Send Program... File Name : EXAMPLE .ACH A total of 4 data, 4 program, and 2 force table(s) 20 Words in 4 Data Files, 78 Words in 4 Program Files, 2 Words in 2 Force Tables. There are 0 undefined data and 0 undefined program file(s).
Advanced PrefaceProgramming Software User Manual 5. To receive the program file, start at the main menu on node 3, the receiving APS terminal, and press CONFIG CONFIG OFFLINE WHO OFFLINE WHO , then ACTIVE . CONFIG CONFIG F5 F5 The Who Active screen appears with a list of the active nodes on the network. The node 0 APS XFER indicates that node 0 is waiting to transfer a program file.
Transferring Program Files 7. The screen displays a series of status messages while the program file is being transferred. When the transfer is complete the system prompts you to confirm reading the program. Press CONFIG OFFLINE YES . The screen displays the program CONFIG F8 directory menu for EXAMPLE. PROGRAM DIRECTORY FOR PROCESSOR: EXAMPLE FILE 0 1 2 PROTECTED NAME TYPE system reserved ladder SIZE (words) 74 0 8714 Press a key, enter file number or file name REM PROG L532 Series C Rev.
Advanced PrefaceProgramming Software User Manual Note Do not exit this screen before this point. Exiting prematurely will cause a Message Timeout-Loss of Communications critical error in the receiving APS terminal. ROCKWELL SOFTWARE INCORPORATED 9323 SERIES SOFTWARE SLC-500 PROGRAM TRANSFER UTILITY Waiting to Send Program... File Name : EXAMPLE .ACH A total of 4 data, 4 program, and 2 force table(s) 20 Words in 4 Data Files, 78 Words in 4 Program Files, 2 Words in 2 Force Tables.
Transferring Program Files Receiving a Program — APS to APS Using the receive function, you can transfer a user program from the workspace of an APS terminal to the hard disk of your APS terminal. In the following example, node 0 is the sending APS terminal, node 3 is the receiving APS terminal. 1. Begin at the main menu on node 3, the receiving APS terminal. Press CONFIG OFFLINE SYSTEM UTILITIES . CONFIG F9 2. Press CONFIG OFFLINE PROGRAM TRANSFER . CONFIG F2 The Who Listen display appears.
Advanced PrefaceProgramming Software User Manual 3. Press CONFIG OFFLINE EMULATE . The status line displays an SLC 5/02 processor. Press 5/02 CONFIG F7 CONFIG OFFLINE RECEIVE PROGRAM . CONFIG F2 The Waiting to Receive Program screen appears. ROCKWELL SOFTWARE INCORPORATED 9323 SERIES SOFTWARE SLC-500 PROGRAM TRANSFER UTILITY Waiting to Receive Program... File Name : DEFAULT .ACH Press Control-C to abourt Term.
Transferring Program Files 4. To send program file TRANSFER, start at the main menu on node 0, the sending APS terminal, and press CONFIG CONFIG OFFLINE WHO OFFLINE WHO , then ACTIVE . CONFIG CONFIG F5 F5 The Who Active screen appears with a list of the active nodes on the network. Notice node 3 APS XFER. This indicates that node 3 is waiting to transfer a program file.
Advanced PrefaceProgramming Software User Manual 6. Press CONFIG OFFLINE RESTORE . The following display appears with the cursor on the first CONFIG F2 file. \IPDS\ARCH\SLC500 * Name Size Date DRILL1 EXAMPLE EXAMPLE2 EXAMPLE3 EXAMPLE4 EXAMPLE5 EXAMPLE6 EXAMPLE7 SEQUENCE TRANSFER 9325 929 9254 8345 8715 9395 8225 8831 8684 8695 09-12-95 10-07-95 10-17-95 10-17-95 10-17-95 10-17-95 10-17-95 10-17-95 10-03-95 ↓ 07-19-94 Press a Function Key Or Enter File Name Term.
Transferring Program Files Sending a Program — APS to HHT You can transfer a user program from the hard disk of the sending APS terminal to the Hand-Held Terminal using the send program function. In the following example, node 0 is the sending APS terminal, node 4 is the receiving terminal. 1. Begin at the main menu on node 0, the sending APS terminal. Press CONFIG OFFLINE SYSTEM UTILITIES . CONFIG F9 2. Press CONFIG OFFLINE PROGRAM TRANSFER . CONFIG F2 The Who Listen display appears.
Advanced PrefaceProgramming Software User Manual 3. Press CONFIG OFFLINE SEND PROGRAM . The following display appears with the cursor on program CONFIG F4 file DRILL1. In this example you will send program file EXAMPLE to the HHT terminal, node 4.
Transferring Program Files 4. Move the cursor in the right-hand window to EXAMPLE, then press CONFIG OFFLINE BEGIN . SEND CONFIG F1 The Waiting to Send display appears. ROCKWELL SOFTWARE INCORPORATED 9323 SERIES SOFTWARE SLC-500 PROGRAM TRANSFER UTILITY Waiting to Send Program... File Name : EXAMPLE .ACH A total of 4 data, 4 program, and 2 force table(s) 20 Words in 4 Data Files, 78 Words in 4 Program Files, 2 Words in 2 Force Tables. There are 0 undefined data and 0 undefined program file(s).
Advanced PrefaceProgramming Software User Manual 5. Press CONFIG OFFLINE UTILITY . The following display appears: CONFIG F8 File Name: File Name 0 1 2 6. Prog Name: Type Size(Instr) System 211 Reserved 0 Ladder 15 ONLINE WHO PASSWRD F1 F2 F3 CLR_MEM F4 F5 Access the Who menu by pressing [F2]. This display shows you the active nodes on the DH-485 network. Node Addr. Device Max Addr.
Transferring Program Files 8. When the HHT is online, the following menu is displayed. If a file already exists, the system will display Overwrite existing program?. If the HHT memory is empty the prompt UPLOAD FROM PROCESSOR will appear. In either case, press CONFIG OFFLINE YES to continue and upload the file to the APS CONFIG F2 CONFIG OFFLINE NO terminal or press to abort the procedure.
Advanced PrefaceProgramming Software User Manual Receiving a Program — HHT to APS You can transfer a user program from the HHT to the APS terminal using the receive program function. In the following example, node 0 is the receiving APS terminal, node 4 is the sending terminal. 1. Begin at the main menu on node 0, the receiving APS terminal. Press CONFIG OFFLINE SYSTEM UTILITIES . CONFIG F9 2. Press CONFIG OFFLINE PROGRAM TRANSFER . CONFIG F2 The Who Listen display appears.
Transferring Program Files 4. The status line will indicate an SLC 5/02 processor. The APS terminal is now ready to receive the program from the HHT. Press CONFIG OFFLINE RECEIVE PROGRAM . The following CONFIG F2 display appears at the APS terminal: ROCKWELL SOFTWARE INCORPORATED 9323 SERIES SOFTWARE SLC-500 PROGRAM TRANSFER UTILITY Waiting to Send Program... File Name : EXAMPLE Press Control-C to abourt Term. Addr: 0 Emulation: 5/02 5.
Advanced PrefaceProgramming Software User Manual 7. Access the Who menu by pressing CONFIG OFFLINE WHO . The following display appears CONFIG F2 which lists the active nodes on the network. Notice the node 0, APS Xfer. This indicates that node 0 is waiting to transfer the program file. Node Addr. Device Max Addr./Owner ***0 APS XFER (31) *** 1 500-20 (31) 2 5/02 (31) 3 APS (31) 4 TERMINAL (31) Node Addr: 1 Baud Rate: 19200 OFL DIAGNSTC ATTACH NODE_CFG OWNER F1 8.
Transferring Program Files 9. To transfer the program file to the APS terminal, press CONFIG DOWNLOAD OFFLINE . The CONFIG F3 message Download to Processor? will appear. Press either to continue or CONFIG OFFLINE NO CONFIG F4 CONFIG OFFLINE YES CONFIG F2 to abort the procedure. The message Downloading File appears on the HHT display as the file is transferred to the APS terminal.
APS Error Messages A APS Error Messages This appendix contains APS error messages, which can occur during operation.
Advanced PrefaceProgrammming Software User Manual General Information Often, APS errors are caused due to incorrect configuration of your personal computer. Verify that your system is configured as follows: • • • CONFIG.SYS file should be set as: FILES=40 (or 46 when running in Windows); BUFFERS=40. AUTOEXEC.BAT file should include: C:\DOS\SHARE.EXE Extended/expanded memory manager must be LIM 3.2 or higher. APS runs with most Terminate and Stay Resident (TSR) programs.
APS Error Messages Display Message Description Recommended Action BRIDGE DEVICE NOT ACTIVE Inability to attach to a KF3 while going online with DF1 Full Duplex. Retry the function. BRIDGE DEVICE RESPONDED WITH ERRORS There is an error in the received packet from the 1785 KA5 interface module. Retry the function. CANNOT EDIT THIS RUNG An attempt was made to edit a replaced marked rung or modify a deleted marked rung. Re evaluate your edit attempt.
Advanced PrefaceProgrammming Software User Manual Display Message Description Recommended Action CHANNEL CONFIGURATION MAY CAUSE LOSS OF COMMUNICATIONS Applies only if you are online. An incompatibility exists between the 5/03 and the current online configuration (APS). Check your online configuration and retry the function. CHANNEL CONFIGURATION NOT AVAILABLE FOR SELECTED PROCESSOR A processor other than an SLC 5/03 or SLC 5/04 is selected.
APS Error Messages Display Message Description Recommended Action DATABASE READ ERROR A DOS file read error occurred or a program documentation file was altered. Check your CONFIG.SYS file for proper set up. (FILES=30 and BUFFERS=30.) Verify that no TSR programs are interfering with APS. If changes are made, you must reboot the computer. DATABASE WRITE ERROR A DOS file write error occurred. Check your CONFIG.SYS file for proper set up. (FILES=30 and BUFFERS=30).
Advanced PrefaceProgrammming Software User Manual Display Message Description ERROR - NOT ENOUGH MEMORY TO ACCEPT CURRENT RUNG Transfer of an accepted rung to an SLC 5/03 failed because there is not enough program space for the selected rung size in the processor. Reduce or optimize your user program or perform offline editing. ERROR - OPENING ARCHIVE FILE While attempting to open an archive file an error occurred. Check your disk space by running CHKDSK" from your DOS prompt.
APS Error Messages Display Message Description Recommended Action ERROR - TOO FEW DATA FILES IN THIS ARCHIVE FILE An error occurred while accessing data files. Contact your RSI representative. ERROR - UNABLE TO CALCULATE PROM SIZE The processor image is invalid. Resave the file and retry the function. ERROR - UNABLE TO FIND PROCESSOR IMAGE While reading the processor image in the archive file an error occurred. Check your disk space by running CHKDSK" from your DOS prompt. Retry the function.
Advanced PrefaceProgrammming Software User Manual Display Message Description Recommended Action ERROR READING ADDRESS/INSTRUCTION COMMENT FROM DATABASE During create reports an error occurred while attempting to read an address/instruction comment from the comments database. Check your disk space by running CHKDSK" from your DOS prompt. On successful completion retry the function. ERROR READING COMMUNICATION PROTOCOL FILE An error occurred while trying to start the comms. driver.
APS Error Messages Display Message Description Recommended Action FATAL DISK ERROR A failure occurred while trying to load the data base from disk or trying to save the data base to disk. 1) Retry the function, 2) restart APS from the DOS command prompt; then 3) verify your disk validity by running CHKDSK." Contact your RSI representative if the above actions do not help.
Advanced PrefaceProgrammming Software User Manual Display Message Description Recommended Action FATAL INTERNAL MANAGE FILES ERROR A fatal error occurred in the MF function. Either 1) retry the function; 2) restart the software; 3) reboot the PC; or 4) run CHKDSK" from the DOS command prompt. FATAL MEMORY ERROR An error occurred while requesting space from the system. Either 1) retry the function; 2) restart the software; 3) reboot the PC; or 4) run CHKDSK" from the DOS command prompt.
APS Error Messages Display Message Description Recommended Action FILE, RUNG, END MCR IS ONLY ALLOWABLE INSTRUCTION ON RUNG Rungs containing `end MCR' cannot contain any other instructions on that rung. During a program save or test edits a rung was detected that violates this rule. Configure the address for the given processor and resave the program.
Advanced PrefaceProgrammming Software User Manual Display Message Description Recommended Action ILLEGAL SYMBOL During configuration of report options for the cross reference report an illegal starting or ending symbol was entered. Enter a valid symbol and retry the function. IMMEDIATE FLOATING POINT IS NOT SUPPORTED BY THIS PROCESSOR A pre SLC 5/03 Series B processor is configured.
APS Error Messages Display Message Description Recommended Action INTEGRITY CHECK OF SERIAL NUMBER HAS FAILED, REINSTALL SOFTWARE PACKAGE The runtime CRC does not match the install time CRC. APS aborts because the serial number has been tampered with. Reinstall the software. INVALID ADDRESS FOR SELECTED PROCESSOR TYPE A floating point, ASCII, or string address exists in the ladder program.
Advanced PrefaceProgrammming Software User Manual Display Message Description Recommended Action KF3 ADDRESS CANNOT EQUAL PROCESSOR ADDRESS The 1770 KF3 and processor are at the same node address. Change their node addresses to be unique. LINK ERROR Unrecognized or unknown problem with the communication driver. Retry the function. If you still have problems contact your RSI representative.
APS Error Messages Display Message Description Recommended Action MUST BE FIRST INSTRUCTION IN THE FILE The required instruction must be the first instruction in the ladder file. Change the location of the instruction to be the first instruction in the ladder file. NAK RETRIES EXHAUSTED DF1 Full Duplex data is not being received by the KF3. Check for noise and retry the function. NO ACCESS OR PRIVILEGE VIOLATION The device is not in the program mode.
Advanced PrefaceProgrammming Software User Manual Display Message Description Recommended Action NOT A LADDER FILE An attempt to jump to a ladder file was made, but the file number specified is not a ladder file. Verify the operation and specify a valid ladder file. NOT ENOUGH MEMORY FOR COMMUNICATION DRIVER The software package tried to load files that exceeded 128KBytes. Retry the function and if necessary exit and restart the software.
APS Error Messages Display Message Description Recommended Action PROCESSOR FAULTED An attempt was made while online to change the processor mode to a state not available while the processor is faulted. Correct the fault as specified, clear the fault, and retry the function. PROCESSOR LOCKED AND SOURCE FILE NOT FOUND The software is unable to find a matching file in the archive file directory. Lock bit (S:1/14) is set.
Advanced PrefaceProgrammming Software User Manual Display Message Description Recommended Action PURGE OF EXISTING DATABASE FAILED The deletion of the existing database failed. Verify that the DOS path contains (ipds\lis\slc500) and that the file is not write protected. RESOURCE IS NOT AVAILABLE The device at the current node is unable to process the request because the program in the device was not compiled for single step debug. Activate single step debug and resave the current image.
APS Error Messages Display Message Description Recommended Action STARTING SYMBOL MUST BE BEFORE ENDING SYMBOL During configuration of report options a starting symbol that is alphabetically after the ending symbol was entered. Change the symbols and retry the function. STATION NOT GETTING SOLICITED Valid traffic is being detected on the network, but the software is unable to receive the traffic. Go to online configuration and change the Terminal Address to a lower address.
Advanced PrefaceProgrammming Software User Manual Display Message Description Recommended Action UNABLE TO DELETE PROGRAM FILE DURING ONLINE EDITING Program file deletion is not allowed during an online editing session. Go offline to delete program files. UNABLE TO SUCCESSFULLY READ ARCHIVE FILE While reading the processor image in the archive file a failure occurred. Verify your disk validity by running CHKDSK" from the DOS command prompt. On successful completion retry the function.
Index Numbers 1747 KE, 11-13 1747 PIC, 11-6 1770 KF3, 11-13 1784 KL, 11-10 , 11-28 1784 KR, 11-8 1784 KT, 11-11 , 11-29 , 11-30 1784 KT2, 11-29 , 11-30 1784 KL, 1-11 1784 KT, 1-11 1784 KT2, 1-11 1784 KTX, 1-11 1784 PCMK, 1-11 1 rung ladder program, 4-3 4 rung ladder program, 4-11 A accepting a rung when editing offline, 6-7 when editing online, 17-14 address comments adding, 7-9 description, 7-3 addressing, selecting display options, 3-5 adjustable filters option, 9-6 advanced editing functions copy, 6-17
I–2 Index clearing the processor memory, 5-13 color selection (for the monitor), 3-3 command line entry, 6-8 communicating with a processor changing the link address, 14-3 going online, 14-2 communication channel protection, 8-21 communication drivers, 1-11 CONFIG.
Index protection for fixed and SLC 5/01 processors, 8-11 for SLC 5/02 processors, 8-11 for SLC 5/03 and SLC 5/04 processors, 8-12 static vs.
I–4 Index file protection, 9-5 filter options, adjustable, 9-6 floating point data file display, 16-19 force function applying, 19-3 forcing external input data file bits, 19-3 data monitor, 19-6 guide to forcing, 19-7 monitor input force display, 19-5 forcing external output circuits, 19-9 data monitor, 19-11 guide to forcing, 19-12 monitor output force display, 19-11 navigational keys, 19-2 overview, 19-2 used in multi point list, 18-6 force protection, 8-20 , 9-5 instruction comments adding, 7-11 desc
Index changing the radix, 16-11 data table files, 16-8 program files, 16-7 using the multi point function, 18-2 monitoring controller operation, 16-1 fault recovery procedure, 16-14 monitoring program files, 16-2 performing a quick edit, 16-3 monitoring requirements, 3-13 moving between files, 6-11 multi drop link, 13-22 multi point function menus edit fields, 18-5 force, 18-6 multi point list, 18-3 navigational keys, 18-2 using, 18-2 N naming a ladder program file, 6-3 nested branching, 4-8 number system
I–6 Index platform restrictions, 1-3 power failure, recovering your work, 6-19 preventing computer lockup, 1-4 printer configuration, 3-7 printer control string option, 3-9 printing reports, 10-21 adding titles, 10-18 configuring page layout, 10-19 processor configuration report, 10-11 processor files restoring, 14-4 saving, 14-7 processor maximum node address, setting, 12-5 processor memory, evaluating data table map, 9-8 memory layout, 9-9 processor modes available modes of operation, 15-2 changing, 15-
Index runtime online editing description, 17-5 effects on user program, 17-16 S saving a processor file procedure, 9-2 , 14-7 protection options, 9-4 adjustable filters, 9-6 file protection, 9-5 force protection, 9-5 future access, 9-5 index checks, 9-4 single step test, 9-4 saving your system configuration, 3-14 search function searching and replacing, 6-15 searching for instructions and addresses, 6-12 selectable bit address display, 3-5 series logic (AND), 4-5 short addressing, 3-5 single scan test mod
I–8 Index CONFIG.SYS, 1-10 uploading a program, 21-3 user mode character, using, 13-19 using APS with channel 0 (RS 232), 13-3 using APS with channel 1 (DH+), 13-4 using APS with channel 1 (DH 485), 13-4 using APS with DOS 5.0, 1-6 using APS with DOS 6.
Copyright Notice E1995 Rockwell Software Inc. All rights reserved Printed in the United States of America Portions copyrighted by Allen-Bradley Company, Inc. and used with permission This manual and any accompanying Rockwell Software products are copyrighted by Rockwell Software Inc. Any reproduction and/or distribution without prior written consent from Rockwell Software Inc. is strictly prohibited. Please refer to the license agreement for details.
Quick Reference Card SLC 500 Advanced Programming Software 9323–PA2E Online Context Sensitive Help Access the online help text by pressing [ALT–H]. Once Keyboard Shortcuts Common APS Operations Certain combinations of keystrokes access APS screen Frequently used APS operations are available both online displays. Those keys are: and offline. The following section steps you through some ALT–C Accesses the Change Mode menu. ALT–D Accesses Data Monitor. ALT–E Accesses the Configure Display menu.