Home
9399-APSQS - APS Quick Start for New Users
Contents
1. 0 1 1 1 0 3 f C6 1 APS Quick Start for New Users 6 Enterthe rung comment DOCUMNT RUNG Press then KUWAN Type the comment Either input F5 F1 pushbutton 0 or 1 turns on output pilot lights 1 and 42 Accept and save the comment ACCEPT SAVE Press Hu then IBI then ESC F8 F10 Your completed ladder program and rung comment should look like this Either input pushbutton 0 or 1 turns on output pilot lights 1 and 2 I 1 0 3 lE C 0 1 ql pis 1t j JEND Press a function kev file 2 rung 0 offline no forces File GETSTART CONFIG EXIT MULTI DOCUMNT SEARCH GENERAL DATA FORCE EDIT DISPLAY POINT UTILITY MONITOR F2 F3 F4 F5 F6 F7 F8 F9 F10 Save the Processor File A 4 1 F3 Complete the following steps to save the processor file to disk Return to the Program Directory EXIT Press A Additional Ladder Program Exercises Save the file to disk SAVE YES Press Accept the default Save options by pressing F2 F8 Return to the APS menu RETURN Press Bui F3 Test the Ladder Program Complete the following steps to test the processor file 1 Go online with your processor and restore the new file Refer to chapter 4 for help Monitor the file Refer to chapter 4 for help Place the processor in the RUN mode See chapter 4 f
2. If you are using some other controller configuration keep in mind that these addresses may not be valid for your controller Creating a Processor File A processor file is always created offline in the terminal workspace In creating the processor file you will Name the file and configure the controller Enter a ladder program Addarung comment Save the processor file to disk If you are not already running APS refer to Running APS page 1 10 The following procedure begins at the APS menu display Name the Processor File and Configure the Controller Complete the following steps 1 Access the create processor file window Press then F4 F6 3 5 APS Quick Start for New Users PROCESSOR Bul 1761 1747 L511 1747 L514 1747 L524 1747 L532 1747 1541 CREATE PROCESSOR FILE NAME F2 Processor ESC exits Alt U aborts changes The display shown below appears INPUTS OUTPUTS MicroLogix 1000 5 01 CPU USER MEMORY 5 01 CPU USER MEMORY 5 02 CPU USER MEMORY 5 03 CPU USER MEMORY 5 04 CPU USER MEMORY Bul 1761 MicroLogix 1000 Press a Function key or Enter File Name SELECT PROC F2 CONFIGR ADJUST SAVE amp Vo FILTERS EXIT F5 F6 F8 3 6 2 Enterthe name GETSTART The prompt line asks you to enter a file name Type GETSTART then press ENTER GETSTART appears in the Create Processor File window 3 Enter the appr
3. evaluation of the program and transfers the ON OFF status to the outputs Output Module in slot 3 OUTPUT ii Output Data File address data O73 0000 0000 Status bit 0 corresponds to terminal 0 of the output module in slot 3 When an output data file status bit is a 1 the corresponding external output circuit will be energized ON When an output data file status bit is a 0 the corresponding external output circuit is de energized OFF Addressing External I O As pointed out in the last section external inputs and outputs are linked to the input data file and output data file of the processor file Each status bit in these files has an address You specify the appropriate address when you enter an instruction in your ladder program For our purposes input addresses have the form I e b where I Input data file Element or slot delimiter e Slot number of the input module Bit or terminal delimiter b Terminal number used with input device Similarly output addresses have the form O e b where O Output data file Element or slot delimiter e Slot number of the output module Bit or terminal delimiter b Terminal number used with output device Examples I 1 0 Input slot 1 terminal 0 I 2 0 Input slot 2 terminal 0 0 3 0 Output slot 3 terminal 0 0 3 7 Output slot 3 terminal 7 Control Basics 0 0 7 Output slot 0 terminal 7 fixed controllers only because of slo
4. printing reports 5 4 processor error codes rf operating cycle iF processor configuration report 5 5 P3 processor files 2 creating 3 data files 2 naming 3 program files a restoring downloading 4 77 saving 3 1 7 t y program listing report 5 973 publications related P Q quick edit 4 R reports cross reference 9 T data table 5 processor configuration 5 0 program listing TT restoring processor files 4 27 rung comments adding 3 17 S saving the processor file 3 121137 setting up your equipment 1 F slot numbers 3 7 software display format 1 1 instructions addresses 2 8 installing 1 running 1 1 system LED status B T testing the program 4S 78 2107 troubleshooting B APS error messages B processor error codes gal system LED status B 4 Copyright Notice Trademark Notices Important User Information 1995 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 WINtelligent Series is a registered trademark and the Rockwell Software logo AdvanceDDE ControlVi
5. Address 0 F5 PROC Address 1 F6 MAX Node Address 31 F9 Save to File ESC exits Alt U aborts changes Press a function key PORT SELECT BAUD TERM PROC MAX SAVE TO DEVICE RATE ADDRESS ADDRESS ADDRESS FILE F1 F2 F3 F4 F5 F6 F9 Note This does not apply to SLC 5 04 processors For these processors you need to select a driver that corresponds to your specific hardware configuration Refer to the Advanced Programming Software User Manual for more information 4 2 Online Operations Quick Edit 2 Verify the parameters The default values are shown for items F1 to F6 If you used the COMI port of your computer and used a catalog 1747 PIC Interface Converter when connecting your computer to the controller chances are that you will be able to establish processor computer communications If any of these default parameters are incorrect change them with the function keys then SAVE Press then ESC This returns the display to the APS menu FQ Go Online and Restore Download Processor File GETSTART Complete these steps 1 Access the Restore File window ONLINE F1 If the message MESSAGE TIMEOUTS LOSS OF COMMUNICATIONS appears one or more of the Online Configuration parameters is incorrect and or there is an improper connection between the computer and the processor Refer to appendix B Once you establish communications with the processor the program director
6. END Press a function kev file 2 rung 0 offline no forces File GETSTART CONFIG EXIT MULTI DOCUMNT SEARCH GENERAL DATA FORCE EDIT DISPLAY POINT UTILITY MONITOR F2 F3 F4 F5 F6 F7 F8 F9 F10 Save the Processor File Complete the following steps to save the processor file to disk 1 Return to the Program Directory EXIT Press 4 F3 2 Save the file to disk SAVE YES Press Accept the default Save options by pressing F2 F8 APS Quick Start for New Users 3 Return to the APS menu RETURN Press BuU F3 Test Your Ladder Program A 10 Complete the following steps to test the timer instruction file 1 Go online with your processor and restore the new file Refer to chapter 4 for help Monitor the file Refer to chapter 4 for help Place the processor in the RUN mode See chapter 4 for help Press pushbutton 0 for at least 10 seconds During the first 10 seconds output 3 turns ON and 4 stays OFF After 10 seconds output 3 turns OFF and output 4 turns ON Release pushbutton 0 the timer resets and both outputs 3 and 4 turn OFE Troubleshooting Troubleshooting This appendix shows you how to identify and correct errors that you may encounter while working through this manual They include APSerror messages system LEDs status processor error codes APS Quick Start for New Users APS Error Messages Table B A details APS error messages Refer to the Advanced Programming Softwar
7. Note the asterisks next to slots O thru 3 This indicates that we have configured these slots and can now configure I O modules Slot 0 is already configured with our processor 3 7 APS Quick Start for New Users 6 I O MODULE SELECTION FOR SLOT 1 CATALOG 1746 I 8 Any 1746 1 16 Any 1746 1 32 Any 1746 0O 8 Any 1746 0 16 Any 1746 0 32 Any 1746 IA4 4 1746 IA8 8 1746 IA16 16 1746 IB8 8 1746 IB16 16 1746 1B32 ESC exits Configure the I O modules MODIFY The cursor is located on slot 1 To configure it press The F5 following option window appears CARD DESCRIPTION 8pt Discrete Input Module 16pt Discrete Input Module 32pt Discrete Input Module 8pt Discrete Output Module 16pt Discrete Output Module 32pt Discrete Output Module Input 100 120 VAC Input 100 120 VAC Input 100 120 VAC Input SINK 24 VDC Input SINK 24 VDC Input SINK 24 VDC Press ENTER to select I O Module Enter Module ID Code 3 8 SELECT MODULE F2 This window allows you to select a module for slot 1 Use the up down cursor keys to place the cursor on the appropriate module catalog number then press SELECT This returns the display to the I O configuration window with the F2 selected module indicated Cursor down to the next open slot and repeat the configuration steps Creating a Processor File For our controller the completed option window appears as follows I O CON
8. Quick Start for New Users Data Files 2 4 Data files contain the data associated with the program files Each processor file can contain up to 256 data files These files are organized by the type of data they contain Each piece of data in each of these files has an address associated with it that identifies it for use in the program file For example an input point has an address that represents its location in the input data file Likewise a timer in the timer data file has an address associated with it that allows you to represent it in the program file The first 9 data files 0 8 have default types You designate the remainder of the files 9 255 The default types are e File 0 Output Data This file stores the status of the output terminals for the controller e File 1 Input Data This file stores the status of the input terminals for the controller e File 2 Status Data This file stores controller operation information e Files3 7 These files are pre defined as Bit Timers Counters Control and Integer data storage respectively e File8 Float Data This file is used by SLC 5 03 OS301 OS302 processors and SLC 5 04 OS400 OS401 processors for Float data storage e Files 9 255 These files are user defined as Bit Timer Counters Control Integer Float String and ASCII data storage Most of your work with data files will be in files 0 and 1 the output and input files Refer to appendix A fo
9. instruction in the rung is no longer highlighted indicating that it is false Press pushbutton 0 Note that the corresponding input instruction is highlighted but the output instruction does not go from false to true This is because a continuous path of true input instructions does not exist in the rung APS Quick Start for New Users Monitoring Data Files In this procedure you will monitor the input data file and the output data file These files include a status bit for each of the configured I O terminals of the controller You will monitor data file changes as you operate pushbutton 0 and selector switch 6 To end the exercise you will go offline to the APS menu The starting point is the online monitor file display with the processor in the run mode Input pushbutton turns on output pilot light I 1 I 2 0 3 1E 1E C 0 2 0 END Press a function key file 2 rung 0 REM RUN no forces PROC Addr 1 CHANGE CONFIG EXIT DOCUMNT SEARCH GENERAL DATA FORCE MODE DISPLAY UTILITY MONITOR EDIT F1 F2 F3 F5 F6 F7 F8 F9 F10 1 Position the ladder cursor and access the input data file Use the cursor key to position the cursor on the XIC instruction having address DATA i I 1 0 then press WONGS The input data file appears with the cursor located F8 on status bit I 1 0 This is shown below address 15 data 0 address 15 data 0 I 1 0000 1 2 0000 0000
10. or an HHT XX50 XX51 XX52 XX53 XX54 XX55 xx slot I O module configura tion conflict or runtime problem Verify that processor configuration matches your hardware by pressing F3 Offline Prg Doc F1 Procssr Functns F1 Change Procssr F5 Configr 1 0 See CPU FAULT Flashing under the system LED status XX56 xx slot Chassis configuration error Verify that chassis configuration in your program matches your hardware by pressing F3 Offline Prg Doc F1 Procssr Functns F1 Change Procssr F5 Configr I O If multiple chassis system verify proper installation of chassis in terconnect cable See CPU FAULT Flashing under system LED status Glossary Glossary The following terms are used throughout this manual Refer to the Allen Bradley Industrial Automation Glossary publication number AG 7 1 for a complete guide to Allen Bradley technical terms address A character string that uniquely identifies a memory location For example I 1 0 is the memory address for the data located in the Input file location 1 0 APS Advanced Programming Software Software used to monitor and develop SLC 500 ladder logic programs bit Binary digit The smallest unit of information in the binary numbering system Represented by the digits 0 and 1 The smallest unit of memory branch A parallel logic path within a ladder logic rung chassis A hardware assembly that houses d
11. personal computer 1 setting up a field wired controller 1 67 styles EP LI used in this guide 3 3 creating a processor file LH adding a rung comment 3 sl entering the ladder program 3 0 naming the file 3 saving the processor file 3 17 creating and printing reports creating reports 5 printing reports 5 types of reports cross reference 5 data table 5 processor configuration 5 T program listing 5 F cross reference report 5 E P D data files monitoring 4 107 data table report 5 75 3 demo unit setting up 1 4 downloading processor files 1 Index E editing using quick edit 4 177 equipment setting up 1 1 error messages B 27 exercises entering a timer instruction A entering an input and output branch A 277 external I O devices addressing 2 how they communicate with the processor 2 5 F field wired controller setting up 1 87 file concepts 2 data files TT processor files 2 program files 2 3 H hardware requirements 1 2 installing the software 1 3 instructions true false status 2 97 L ladder logic concepts 2 logical continuity 2 1 processor operating cycle 2 17 true false status 2 39 ladder program entering 3 1 exercises A testing 4 5 A 197 LED status 8 4 logical continuity 2 107 manuals related P 3 monitoring data files 4 197 Index P personal computer connecting to the controller t
12. 2 2 corresponding to selector switch 6 of the demo unit See the figure below Add this instruction T T 2 0 3 0 2 0 Complete the following six steps to edit and test the edited program The starting point for this procedure is the online monitor file display with the processor in the run mode Input pushbutton turns on output pilot light I 1 0 3 lt C 0 0 END Press a function key file 2 rung 0 REM RUN no forces PROC Addr 1 CHANGE CONFIG EXIT DOCUMNT SEARCH GENERAL DATA FORCE MODE DISPLAY UTILITY MONITOR EDIT F1 F2 F3 F5 F6 F7 F8 F9 F10 1 Go offline and edit the disk version of the file OFFLINE Press Biz then SPE Note that the status line of the display now F10 F3 indicates that you are offline at file GETSTART APS Quick Start for New Users Select Modify Rung and position the cursor MODIFY F5 We want to append an instruction to the XIC instruction so use the cursor keys to position the cursor on the existing XIC instruction Enter an XIC instruction address I 2 2 APPEND BIT XIC Press HN Gia then then BEE F3 F1 F1 Type the address I 2 2 then press ENTER then ESC Accept the rung ACCEPT F10 Save the edit and go back online SAVE GO YES Press Blu Accept the default Save options by pressing Fi F8 Before the software restores the program it asks Change Processor Mode to YES Pr
13. FIGURATION FOR GETSTART RACK 1 1746 A4 4 SLOT Backplane RACK 2 NOT INSTALLED RACK 3 NOT INSTALLED SLOT CATALOG CARD DESCRIPTION 0 1747 L524 5 02 CPU 4K USER MEMORY 1 1746 IA4 4 Input 100 120 VAC 2 1746 IA8 8 Input 100 120 VAC 3 1746 OA8 8 Output TRIAC 100 240 VAC 4 5 6 7 8 ESC exits Press a function key READ ONLINE MODIFY MODIFY DELETE UNDEL EXIT SPIO CONFIG CONFIG RACKS SLOT SLOT SLOT CONFIG F1 F2 F4 F5 F6 F7 F8 F9 7 Create the archive file GETSTART EXIT SAVE amp Press then aime Archive file GETSTART is created on your F8 F8 computer hard disk and placed in the Offline Processor File window SAVE 8 Press to save GETSTART as the new default file F9 3 9 APS Quick Start for New Users Enter the Ladder Program 3 10 The following rung consists of an XIC input instruction and an OTE output instruction The addresses conform to the controller configuration indicated on page 3 5 If you have entered a different controller configuration make certain that the addresses are consistent with your configuration It is also important that you have an external input such as a pushbutton and an external output such as a pilot light at the terminal addresses used You will be using these external devices in later chapters of this manual The rung can be entered by completing the following steps 1 Access the Program Directo
14. Input Output I O modules The fixed controller consists of a power supply processor CPU and a fixed number of I O contained in a single unit An expansion chassis can be added to the fixed controller Processor Output Module Power Supply Input Modules SLC 500 Modular Controller Output Terminals Power Supply Processor CPU Input SLC 500 Fixed Controller Terminals Further information on hardware is found in the Installation and Operation Manuals catalog number 1747 NI001 fixed controllers and publication number 1747 6 2 modular controllers APS Quick Start for New Users Setting Up a Demo Unit SLC 500 demo units are available with either a fixed controller or modular controller This manual assumes you are using a modular controller demo unit for all the programming exercises If you use a fixed controller demo unit you will need to use different configuration information and I O addresses in the exercises This is explained later The figure that follows shows an SLC 500 modular controller demo unit It is completely wired with 12 external inputs 6 push buttons and 6 selector switches and 8 external outputs pilot lights In setting up your system place the demo unit near your personal computer Note the On Off Power Switch and the Power Supply Receptacle on the demo Make certain that the power switch is Off then insert one end of the power cord into the power supply receptacle and the other end in
15. O forces have not been enabled Color red On steadily The forces have been enabled Off No forces are present or enabled The battery voltage has fallen below a On steadily threshold level or the battery and the battery BATTERY LOW jumper are missing Color red Off The battery is functional or the battery jumper is present COMM On steadily The SLC 5 02 is receiving data Color red Off The SLC 5 02 is not receiving data APS Quick Start for New Users Processor Error Codes Table B C details some of the processor error codes Refer to the Instruction Set Reference Manual for a complete list of error codes and troubleshooting information Table B C Processor Error Codes Error Code 0001 Cause RAM program is corrupt due to noise lightning improper grounding or loss of capacitor or bat tery back up Corrective Action Check wiring layout grounding If using a 4K CPU verify that a battery is installed to retain RAM memory when power is removed See CPU FAULT Flashing under system LED status Restore the program using APS or an HHT 0012 RAM program is corrupt or RAM itself is bad due to noise lightning im proper grounding or loss of capacitor or bat tery back up Check wiring layout grounding If using a 4K CPU verify that a battery is installed to retain RAM memory when power is removed See CPU FAULT Flashing under system LED status Restore the program using APS
16. Press a key or enter value I 1 0 REM RUN no forces binary data decimal addr CHANGE SPECIFY FORCE NEXT PREV RADIX ADDRESS MONITOR FILE FIILE F1 F5 F6 F7 F8 4 10 PROC Addr 1 address 15 0 3 2 Online Operations Quick Edit Monitor input data changes resulting from input device operation Press pushbutton 0 Note that the status bit goes from 0 to 1 as the instruction goes from false to true Now turn selector switch 6 to the on position Note that status bit I 2 2 goes from 0 to 1 as the instruction goes from false to true Access the output data file The output data file precedes the input data file in the data table Press PREV The output data file appears Since we didn t specify a particular F8 bit address the cursor is located on the status bit having the lowest address O 3 0 This is also the status bit for pilot light 0 in our program This is shown below data 0 address 15 data 0 0000 0000 Press a key or enter value 0 3 0 REM RUN CHANGE RADIX F1 no forces binary data decimal addr PROC Addr 1 SPECIFY FORCE NEXT PREV ADDRESS MONITOR FILE FIILE F5 F6 F7 F8 4 Monitor output data changes resulting from input device operation Press pushbutton 0 with selector switch 6 in the on position Note that status bit O 3 0 goes from 0 to 1 as the output instruction of our program goes from false to true C
17. Quick Edit sssss 4 1 Restoring Downloading a Processor File 4 2 Testing the Program e netter rette tidie re re tal Ur p EEE Rea 4065 Editing the Program with Quick Edit 4087 Monitoring Data Files th ene ce ger eet Des d eget P de ue Lee Re e 40610 Creating and Printing Reports eeeeeeeseeeeeenneees 5 1 Creating Reports ou iiaia iaa e ene acto Yat tise eee eL dua da 50e2 Pining Reports 21er cere EMT ME Hue ee Ae ERST ew iyu Eas 50e4 Additional Ladder Program Exercises Entering an Input and Output Branch ssssssseeeeenn Entering a Timer Instruction sseseeseeenneeene ene 01 TroublesnoolhiQ cds ci ateraino aens deee ncn dx bor Erin E Resina APS Error Messa OS a cte sicut tee eer OE ER ED eleg dn ERE Eea dor Boedo System LED Status eessssseseseesssesee eene nennen trn en neant nnns Processor Error Codes sssssssssssssessee ener nnne nene GIOSSANY m Preface Preface Read this preface to familiarize yourself with the rest of the manual This preface covers the following topics who should use this manual the purpose of this manual conventions used in this manual APS Quick Start for New Users Who Should Use this Manual The APS Quick Start for the New User is in
18. RT appears PROGRAM DIRECTORY FOR PROCESSOR GETSTART FILE NAME TYPE SIZE words system 72 reserved 0 ladder 3 Press a key enter file number or file name REM PROG SLC 5 02 Series C FRN 5 PROC Addr 1 PROCSSR SAVE RETURN CHANGE WHO CREATE FILE MONITOR DATA MEMORY FUNCTNS RESTORE TO MENU LNK ADR ACTIVE REPORTS OPTIONS FILE MONITOR MAP F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 Testing the Program To test the ladder program you entered in chapter 3 we will now monitor program file 2 and change the processor mode from program to run Then activate the external input having address I 1 0 and observe the effect on the external output at address O 3 0 Begin at the program directory display for processor file GETSTART 1 Monitor program file 2 and enter the Run mode MONITOR Press HE The ladder program appears F8 CHANGE YES Press 03 then then Note that the status line F1 F3 F8 now indicates REM RUN instead of program If you get a fault code on the status line refer to appendix B to clear the fault 2 Testthe program 4 5 APS Quick Start for New Users 4 6 The following diagram shows the rung you entered if you are using the modular controller demo unit discussed on page 3 5 If you are using some other controller configuration make certain that your external input device and output device are wired to the controller input and o
19. amming Software APS Reference Manual A training and quick reference guide to APS SLC 500 Software Programmer s Quick Reference Guide Publication Number ABT 1747 TSG001 available on PASSPORT at a list price of 50 00 A guide of common procedures used in APS SLC 500 Software Common Procedures Guide Publication Number ABT 1747 TSJ50 available on PASSPORT at a list price of 50 00 A complete listing of current Allen Bradley documentation including ordering instructions Also indicates whether the documents are available on CD ROM or in multi languages Allen Bradley Publication Index Publication Number SD499 A glossary of industrial automation terms and abbreviations Allen Bradley Industrial Automation Glossary Publication Number AG 7 1 P 3 APS Quick Start for New Users Common Techniques Used in this Manual P 4 The following conventions are used throughout this manual Bulleted lists such as this one provide information not procedural steps Numbered lists provide sequential steps or hierarchical information Italic type is used for emphasis Textin this font indicates words or phrases you should type Key names match the names shown and appear in bold capital letters within brackets for example ENTER A function key icon matches the name of the SAVE amp function key you should press such as 2000 F8 Setting Up Your Equipment 1 Setting Up Your Equipment This ch
20. apter briefly describes hardware requirements and SLC 500 controller styles then shows you how to set up your equipment in preparation for the exercises in later chapters Topics include hardware requirements controller styles setting up a demo unit setting up a field wired controller connecting the controller to a personal computer installing the software running APS APS display format APS Quick Start for New Users Hardware Requirements To perform the tasks provided in this manual we recommend the following hardware An SLC 500 modular or fixed controller with external inputs and outputs An SLC 500 demo unit would be ideal The programs and examples used in this manual are based on using a modular controller demo unit catalog number 1747 DEMO 3 or 1747 DEMO 4 A compatible personal computer PC Refer to the Advanced Programming Software User Manual for more information An RS 232 DH 485 Interface Converter catalog no 1747 PIC A communications cable for connecting the Interface Converter to the controller catalog number 1747 C10 This cable is supplied with the Interface Converter A compatible printer if you choose to use the Print Reports capability described in chapter 5 Setting Up Your Equipment Controller Styles The SLC 500 comes in two different styles modular and fixed These styles are illustrated below The modular controller consists of a chassis power supply processor CPU and
21. ata Table 01 04 92 Processor Config 01 04 92 ESC exits Press a function key or press ENTER to perform operation SELECT TOGGLE CLEAR PRINTER SELECT PRINT ALL SELECT ALL CONFIG PROCESS FILES F2 F3 F4 F5 F6 F7 2 Configure the printer and prepare it for operation PRINTER Press MM Change configuration parameters if necessary then press F5 ENTER Prepare the printer for operation 5 4 3 Creating and Printing Reports Select the reports to be printed and initiate printing SELECT Press Your choice is verified by the appearance of asterisks at the F2 PRINT left of the four reports you have created Press MISZEEM to perform the F7 printing operation If your printer is not ready for some reason PRINTER NOT READY appears on the message line The prompt line asks Continue Printing You can YES correct the problem and press or you can cancel printing by pressing F8 F10 After the printing operation you can return to the APS menu by pressing ESC 5 5 Additional Ladder Program Exercises A Additional Ladder Program Exercises This appendix lets you apply what you have learned in the previous chapters It covers entering a program with I O branches entering a program with a timer instruction APS Quick Start for New Users Entering an Input and Output Branch The important feature of this program is the output and input branch The input branch
22. ce tables and the memory map appear in this area PROGRAM DIRECTORY FOR PR CESSOR O5TEST FILE NA 4E TYPE SIZE words system 217 reserved 0 ladder 9 ladder 4 Press a key enter file number or file name offline SLC 5 02 Series B File O5TEST PROCSSR SAVE RETJRN CHANGE CREATE FILE MONITOR DATA MEMORY FUNCTNS TO MENU FILE REPORTS OPTIONS FILE MONITOR MAP F1 F2 F 3 F4 F6 F7 F8 F9 F10 e Message Prompt Data Entry and Status Lines Main Functions APS functions appear here They are accessed by terminal keys F1 to F10 Message Error codes descriptions and information concerning Pressing a main function key calls up terminal or processor operation appears here sub functions and sometimes option windows Prompt Indicates action you should take Data Entry Information entered from the terminal keyboard appears on this line Status Status information concerning the processor and program file appears on this line Control Basics 2 Control Basics This chapter introduces you to basic concepts essential for understanding how the SLC 500 controller operates It covers e SLC 500 file concepts how external I O devices communicate with the processor addressing external I O Jadder logic concepts APS Quick Start for New Users SLC 500 File Concepts Processor Files 2 2 The CPU or processor provides control through the use of a program you
23. create The program you create is called a processor file This file contains other files that break your program down into more manageable sections These sections are Program Files provide storage and control of the main program and subroutines Data Files contains the status of inputs outputs the processor timers counters and so on Each CPU can hold 1 processor file at a time The processor file is made up of program files up to 256 per controller and data files up to 256 per controller Processor File Program Files Data Files Processor files are created in the offline mode using APS These files are then restored also referred to as downloaded to the processor for online operation Program Files Control Basics Program files contain controller information the main control program and any subroutine programs The first three program files are required for each processor file These are e File 0 System Program This file stores the controller configuration and other system information e File 1 This file is reserved for internal controller use e File2 Main Ladder Program This file stores the main control program e Files 3 255 Subroutine Ladder Program These files are optional and used for subroutine programs Most of your work with program files will be in file 2 the main program file This file contains your ladder logic program which you create to control your application 2 3 APS
24. ction key file 2 rung 0 offline no forces File GETSTART CONFIG EXIT DOCUMNT SEARCH GENERAL DATA FORCE EDIT DISPLAY UTILITY MONITOR F2 F3 F5 F6 F7 F8 F9 F10 Save the Processor File 3 12 Return to the Program Directory EXIT Press Save the file to disk SAVE YES Press Accept the default Save options by pressing Return to the APS menu RETURN Press Bui Complete the following steps to save the processor file to disk F8 Online Operations Quick Edit 4 Online Operations Quick Edit In this chapter you will complete the following tasks download restore processor file GETSTART monitor the ladder program in the run mode test the program edit the program using quick edit test the edited program monitor the input and output data files APS Quick Start for New Users Restoring Downloading a Processor File There are two tasks to complete in restoring processor file GETSTART to the processor Check the Online Configuration parameters Go online and download restore processor file GETSTART The procedures begin at the APS menu display Check the Online Configuration Parameters Complete these steps 1 Access the Online Configuration window ONLINE Press BRI From the menu choose a 1747 PIC DH 485 by cursoring F2 DRIVER to it and pressing This display appears F2 ONLINE CONFIGURATION Fl Port COM1 Current Device 1747 PIC DH 485 F3 Baud Rate 19200 F4 Terminal
25. d disk SLC Small Logic Controller A controller that comes in 1 of 2 styles fixed or modular slot The area in a chassis that a module plugs into software Executable programming package used to develop SLC ladder diagrams status The condition of a circuit or system represented as logic 0 OFF or 1 ON terminal A point on an I O module that external I O devices such as a pushbutton or pilot light are wired to true The status of an instruction that provides a continuous logical path on a ladder rung write To copy data to a storage device For example the processor WRITEs the information from the output data file to the output modules eXamine If Closed XIC An input instruction that is logically true when the status of the bit located at its address is a 1 false when it s a 0 eXamine If Open XIO An input instruction that is logically true when the status of the bit located at its address 1s a 0 false when it s a 1 A additional ladder program exercises entering a timer instruction A entering an input and output branch A 277 addressing external I O 2 8 APS display format 1 1 instructions addresses 2 8 error messages 8 1 installing 1 running 1 1 C catalog numbers 3 9 communicating with the processor 2 7 configuring controllers 3 1 catalog numbers 3 97 styles 3 2 contents of manual P control basics 2 F controllers configuration 3 connecting to a
26. d in AUTOEXEC BAT or CONFIG SYS that may be running in background Re boot PC Incompatible Processor Type The processor configuration of the program you are restoring does not match your hardware Verify that processor configuration of your program matches your hardware by pressing F3 Offline Prg Doc F1 Procssr Functns F1 Change Procssr B 3 APS Quick Start for New Users System LED Status B 4 The system LEDs are located at different places on the modular system and the SLC fixed controller Refer to the installation and operation manual for more information on system LED status See Figure B 1 Figure B 1 System LEDs Modular System B Pc Run Bl cru raur Bl Forcen vo Bl artery Low Bl Power BH Pc run Bl cru FAULT Bl Forcen vo Bl pattery Low Table B B LED Status Error Conditions Troubleshooting Processor LED When It Is Indicates that RUN On steadily The processor is in the Run mode Color red Off The processor is in a mode other than Run Flashing at power up The processor has not been configured Flashing during The processor detects a major error either in cl edi operation the processor expansion chassis or memory olor re On steadily A fatal error is present no communication Off There are no errors One or more input or output addresses have Flashing been forced to an On or Off state but the FORCED I
27. d the scope of this manual For our purposes the default options are suitable SELECT 3 Press BRUSH In doing this you have selected all four reports F2 This is verified by the appearance of asterisks at the left of each report in the Documentation window 4 Specify a title and create the reports TITLE Press EN Type GETPRINT in the window that appears F8 Press ENTER to accept the title Then press ENTER to perform the create reports operation When the reports have been created DOCUMENTATION COMPLETE appears in the display area and PRESS A KEY TO CONTINUE appears on the prompt line Press any key The program directory appears 5 Return to the APS menu RETURN Press BS You will be asked to Save Cross Reference Comment and F3 Symbol Files Since we have not changed the ladder program in any way a Save is not required Press EI The APS menu appears F10 5 3 APS Quick Start for New Users Printing Reports Printing reports is done from the APS menu Complete the following steps 1 Access file GETSTART in the Report Directory PRINT Press Milit The report directory appears It lists the processor file names F8 for which reports have been created Use the up down cursor key to move the cursor to GETSTART then press ENTER The display shows the reports you have created for file GETSTART PRINT GETSTART Report Program Listing 01 04 92 Cross Reference 01 04 92 D
28. e User Manual for a complete list of error messages Table B A APS Error Messages Error Message APS Timeout Loss of Communications Possible Causes Wrong baud rate Corrective Action Select different baud rate in F2 Online Config Processor default is 19200 Wrong processor node address Select different processor address in F2 Online Config Processor default is 1 Wrong device type Device type in F2 Online Config should be 1747 PIC Incompatible or wrong computer Serial Port Select different COM port in F2 Online Config verify PC COM port works Bad cable Check continuity in 1747 C10 cable contact local Allen Bradley distributor for replacement Bad 1747 PIC Contact your local Allen Bradley distributor for replacement Incompatible 9 25 Pin Adaptor Consult PC manual for Serial Port type DCE or DTE 9 25 Pin Adaptor supplied with 1747 PIC is for a DTE Serial port If serial port is DCE you may need a null modem adaptor Not enough power to 1747 PIC Check line power to SLC power supply check position of power supply jumper for modular systems Database Read Error Files and buffers are not set up correctly Use a word processor or DOS Edline to verify change your CONFIG SYS file to contain minimum values of Files 40 and Buffers 40 Minimum values of 46 are required if running APS in a Windows environment If the file is modified re b
29. e below shows where it is located on modular and fixed controllers SLC 500 Fixed Controller Processor Module Modular Controller Communications Channel Communications Channel 2 Insert one end of the 1747 C10 cable into the communications port of your controller 3 Insert the other end of the 1747 C10 cable into the DH 485 connector of the 1747 PIC interface converter The DH 485 connector is shown in the following illustration APS Quick Start for New Users SLC 500 DH 485 Connector wy Personal Computer 000000000 fhe IAPAA Interface Converter RS 232 Connector ALLEN BRADLEY 4 Insert the RS 232 connector see figure above of the interface converter into the serial communication port of your computer If your computer has a 9 pin serial port use the 9 25 pin adapter provided with the interface converter The figure below shows a modular controller connected to a personal computer SLC Controller 1747 C10 Cable 1747 PIC 1 8 Setting Up Your Equipment Installing the Software Before installing the software make sure your personal computer meets the memory and RAM requirements needed to run APS Refer to the Advanced Programming Software User Manual for more detailed information on personal computer requirements and APS software installation Locating the Software s Serial Number Note During the installation process you are asked for the serial number of your software The ser
30. er T4 0 Time Base 0 01 r DN Preset 1000 DNJ Accum 0 JEND 3 Accept the rung ACCEPT Press ESC then BEREIT 5 Enter a second rung and an XIC instruction F10 INSERT BIT XIC Press FSM then then BRS Type the address F4 FA F1 T4 0 TT then press ENTER TT represents the timer timing bit Enter an OTE instruction BIT OTE Press then MEBBEI Type the address 0 3 3 then press F1 ENTER F3 Tid TON TIMER ON DELAY EN 0 Timer T4 0 Time Base 0 01 LDN Preset 1000 Accum 0 T4 0 0 3 Wee C TAE 3 END APS Quick Start for New Users A 8 6 10 Accept the rung ACCEPT Press ESC then WULUH F10 Enter a third rung and an XIC instruction INSERT BIT XIC Press FSM then then BEG Type the address F4 FA F1 T4 0 DN then press ENTER DN represents the timer done bit Enter an OTE instruction BIT OTE Press then MEBBI Type the address 0 3 4 then press F1 F3 ENTER Accept the rung ACCEPT Press ESC then IIT then ESC F10 Exit the edit mode Press ESC Additional Ladder Program Exercises Your completed ladder program should look like this ra TON Ei TIMER ON DELAY L EN Timer T4 0 0 Time Base 0 01 Preset 1000 DN Accum 0 T4 0 0 3 1t 6 TT 3 T4 0 0 3 1t 6 DN 4
31. ernal housekeeping takes place 2 11 Creating a Processor File 3 Creating a Processor File In this chapter you create a processor file The tasks you will perform For modular controllers Make a record of the processor module catalog number the chassis catalog number s the I O module catalog numbers and the slot locations of I O modules For fixed controllers Make a record of the controller catalog number and I O module catalog numbers and slot locations if you are using the 1746 A2 expansion chassis Run APS software and initiate the creation of a processor file Name the processor file GETSTART Enter the controller configuration Enter a 1 rung ladder program Add a rung comment Save the processor file to disk APS Quick Start for New Users Configuration of SLC 500 Controllers The following paragraphs briefly describe SLC 500 controllers and indicate the location of catalog numbers on the devices This information will help you when you create a processor file and enter the specific controller configuration that will run the file To make the best use of this manual you should have access to an SLC 500 Demonstration Unit which includes completely wired external inputs and outputs For the exercises in this manual we arbitrarily assumed that you are using a Demo unit using a modular controller with the components listed on page 3 5 Controller Styles As previously mentioned SLC 500 controllers are avai
32. evices such as I O modules adapter modules processor modules and power supplies comment Text included within a program to explain what the program is doing Comments do not affect the operation of the program in any way communication scan A part of the SLC CPUs operating cycle in which communication takes place with other devices such as APS on a personal computer controller A unit such as a programmable controller or relay panel that controls machine or process elements CPU central processing unit The decision making and data storage section of a programmable controller cross reference A report listing addresses instructions and their rung numbers where used data file An area within a processor file that contains the status of inputs outputs the processor timers counters and so on data table report A report documenting the contents of the data files DOS The operating system used to operate a personal computer edit To create or modify a ladder program expansion chassis A 2 slot chassis used only with fixed controllers APS Quick Start for New Users false The status of an instruction that does not provide a continuous logical path on a ladder rung file A collection of information organized into one group fixed controller A controller with a power supply CPU and I O integrated into a single package function keys Keys on a personal computer keyboard labeled F1 F2 F3 and so on The o
33. ew INTERCHANGE Packed DDE WINtelligent WINtelligent EMULATES WINtelligent EMULATE 500 WINtelligent LINX WINtelligent LOGIC 5 WINtelligent TREND WINtelligent VIEW are trademarks of Rockwell Software Inc PLC PLC 2 PLC 3 and PLC 5 are registered trademarks of Allen Bradley Company Inc SLC SLC 500 SLC 5 01 SLC 5 02 SLC 5 03 SLC 5 04 Panel View RediPANEL and Dataliner are trademarks of Allen Bradley Company Inc Microsoft MS DOS Windows Microsoft Access and Visual Basic are registered trademarks and Windows NT is a trademark of the Microsoft Corporation All other trademarks are the property of their respective holders and are hereby acknowledged This Rockwell Software product is warranted in accord with the product license The product s performance will be affected by system configuration the application being performed operator control and other related factors The product s implementation may vary among users This manual is as up to date as possible at the time of printing however the accompanying software may have changed since that time Rockwell Software reserves the right to change any information contained in this manual or the software at anytime without prior notice The instructions in this manual do not claim to cover all the details of variations in the equipment procedure or process described not to provide directions for meeting every possible contingency during installation operation or
34. ferent directory path enter that directory instead 3 Type AP and press ENTER The main APS menu appears Display Area SLC 500 ADVANCED PROGRAMMING SOFTWARE Rockwell Software Incorporated Copyright 1989 1995 9323 PA2E All Rights Reserved This software is licensed to Your name Your company name 0000000000 Fri Nov 3 1995 Current Offline File 09 11 03 09 am TERM Address 0 Current Device 1747 PIC DH 485 PROC Address 1 Press a function key ONLINE ONLINE OF INE OF INE wp SYSTE FILE PRINT SYSTEM EXIT CONFIG PR DOC IFIG CONFI t OPTIONS REP RTS UTILS SYSTEM F1 F2 3 4 F F6 F7 FIs F9 F10 Message Prompt Data Entry Status Main Functions Setting Up Your Equipment Exiting the System You can exit APS software and return to DOS by accessing EXIT the APS menu shown above and pressing F10 APS Display Format The APS screen is divided into three areas display area message prompt data entry and status lines main functions The following figure indicates what appears in these areas 1 11 APS Quick Start for New Users 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 for
35. he chassis numbers assigned to the chassis and the slot locations of all I O modules You can then refer to this list as you configure your controller Catalog Number Location SLC 500 Fixed Controllers Label for Processor Catalog and Serial Number Processor Catalog Number 7 DZ eM B The catalog number for the expansion aoe chassis is 1746 A2 It appears on the side of the chassis Side View 3 3 APS Quick Start for New Users Catalog Number Location SLC 500 Modular Controllers Processor CPU Modules Label for Processor Catalog and Serial Number Processor 7 I O Catalog Number aA i 1 0 Modules SLC 500 wy Catalog Number Ed F2 td Ed Ed F3 E 3 3 The catalog number and serial number for I O modules also Side View appears on the side of the module Label for Chassis Catalog and Serial Number Chassis A Side View 3 4 Creating a Processor File Arbitrary Controller Used in this Manual In the following procedures we have arbitrarily assumed that the controller you are configuring in your processor file is a modular demo unit including the following components Chassis 1746 A4 4 slot chassis Processor 1747 L524 in slot 0 Input module 1746 IA4 in slot 1 Input module 1746 IA8 in slot 2 Output module 1746 OAS in slot 3 The ladder program shown on page 3 10 contains I O addresses that are consistent with the configuration indicated above
36. hese include program listing cross reference processor configuration and data tables Additional Ladder Program Introduces you to branching of instructions and the Appendix A Exercises timer instruction Provides a listing of error messages that you may Appendix B Troubleshooting Errors encounter while working through the manual Also offers possible solutions for these errors Provides a listing of terms used throughout this Glossary manual P 2 Related Documentation Preface The table below is a partial list of publications that contain information about installation programming and operation of SLC 500 controllers To obtain a copy contact your local Rockwell Software office or distributor For A description on how to install and use your Modular SLC 500 programmable controller Read this Document Installation amp Operation Manual for Modular Hardware Style Programmable Controllers Publication Number 1747 6 2 A description on how to install and use your Fixed SLC 500 programmable controller Installation amp Operation Manual for Fixed Hardware Style Programmable Controllers Publication Number 1747 NIO01 A procedural manual for technical personnel who use APS to develop control applications Advanced Programming Software APS User Manual A reference manual that contains status file data instruction set and troubleshooting information about APS Advanced Progr
37. ial number you enter is used to personalize the software The serial number is not found on the disks It can be found in several places though These are the software registration card the registration change card the outside of the shipping carton If you enter the serial number incorrectly or enter the wrong serial number and accept the entry you will be unable to correct this situation later Therefore verify your serial number carefully before committing your work Installing the Software Note To install the software do the following 1 Insert the diskette labeled Disk 1 into the appropriate disk drive either drive A or drive B For this example we are using drive A 2 Type A INSTALL then press ENTER 3 During the installation process instructions appear on the screen to prompt you through the procedure Follow the instructions and type in the information requested You can install APS to run in a windows environment however that procedure is beyond the scope of this manual See the Advanced Programming Software User Manual for this information APS Quick Start for New Users Running APS To run APS follow these steps 1 Ifnecessary change the drive specified 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 dif
38. is based on what is called OR or parallellogic This means that if either input 0 OR input 1 is true then output 0 and 1 turn on Exercise 1 Entering an Input and Output Branch We are assuming you have created a new file configured it and you are now ready to begin entering an instruction See chapter 3 for help with the above Begin offline at the edit screen 1 Enterthe rung and XIC instruction INSERT INSERT BIT xIC Press BRUNCH then HRS then then ZEE Type the F4 F4 F1 F1 address 1 1 0 then press ENTER then ESC I 1 It ti 0 u 2 Enter a branch and another XIC instruction BRANCH Cursor left once so your cursor is on the XIC instruction Press F1 INSERT TARGET INSERT then BELT WM then B then BEIC F4 F2 F4 BIT XIC then then BSE i F1 F1 Additional Ladder Program Exercises Type the address I 1 1 then press ENTER 3 Enter an OTE instruction Cursor up then cursor right so your cursor is at the far right power rail Press BIT OTE then BEBE Type the address 0 3 1 then press ENTER F1 F3 then ESC 4 Enter a branch and another OTE instruction BRANCH Cursor left once so you are on the OTE instruction Press ono then F1 INSERT TARGET INSERT BIT ei then C then BSG then then F4 F3 F4 F1 OTE Type the address 0 3 2 then press ENTER then ESC F3 5 Accept the rung ACCEPT Press BIET then ESC F10 Trl E C
39. lable in two styles the fixed controller and the modular controller Examples are shown in the figure below SLC 500 Fixed Controller SLC 500 Modular Controller Processor amp Expansion Chassis Processor 7 Slot Chassis Power Supply The fixed controller combines a power supply processor CPU and a fixed number of I O points in a single unit You have the option of adding a 2 slot expansion chassis if you want to add I O points The modular controller consists of a power supply 1 3 I O chassis a processor module which you insert in slot 0 of the first chassis and various I O modules which you insert in the remaining slots of the chassis 3 2 Creating a Processor File Slot Numbers Note that slot numbers are indicated in the figure above In fixed controllers slot O applies to the processor and fixed I O points slots 1 and 2 apply to I O modules located in the expansion chassis In modular controllers slot 0 is always reserved for your processor module the remaining slots apply to the various I O modules you have inserted Catalog Numbers When you configure your controller you must specify the processor catalog number chassis catalog numbers and I O module catalog numbers as required The location of the catalog number on the various components is shown in the following figures Make a Record of Controller Components We recommend that you make a list of the processor chassis and I O catalog numbers and also t
40. lire Who Should Use this Manual sse enne Purpose of this Manuals ire cea pent ree ene tht pene De ennt Common T echniques Used in this Manual sseeseeeeeee Setting Up Your Equipment eere 101 Hardware Requirements sese nennen nennen 1002 Controller Styles anen ii aa Here Pei peres aan Saee dust Resp cea ede t 10e3 Setting Up a Demo Unit ssssssssssssssseeeeeeeen ennemi 1084 Setting Up a Field Wired Controller sse 1066 Connecting the Controller to a Personal Computer ssssssesss 10e7 Installing the Software sse enne 1099 RUNNING ABS 2 etg cutie tn baci yielded ace adnan 10610 APS Display FOrmal 2 patet de pee redeat teva kadaa Eae Eann 10e11 Control BASICS ai 2001 SEG 500 File Goncepts 2 ect e dace Later ee imo per te oo dad s 2002 How External I O Devices Communicate with the Processor 2085 Addressing External Q iie iniri t etre Rt testet radeon totes 2096 Ladder Logic Concepts ssssssssssssseneeeenee enne nennen trennen 2088 Creating a Processor Fil ccccsssseeccesssssseeeeeeeeeeeseneeeeeeeeeeseeneees 3 1 Configuration of SLC 500 Controllers esses 30e2 Creating a Processor File sss ener nnns 3065 Online Operations
41. maintenance
42. mation modular controller SLC 500 system consisting of a power supply chassis CPU and input and output modules module An interchangeable plug in device that may inserted into a chassis network A series of stations nodes connected by some type of communication medium A network may be made up of a single link or multiple links Glossary offline Describes devices not under direct communication For example when programming the software online Describes devices under direct communication For example when the software is monitoring the program file in a controller operating cycle The sequential order of operations performed by a programmable controller when in the run mode OTE OuTput Energize An instruction that energizes when a rung is true and de energizes when a rung is false output device A device such as a pilot light or a motor starter coil that receives data from the programmable controller output scan A part of the SLCs operating cycle During this scan the output data file information is transferred to the output modules processor A Central Processing Unit See CPU processor configuration A report detailing the configuration of the processor processor file The set of program and data files used by the SLC to control output devices Only one processor file may be stored in the SLC at a time processor overhead The part of the operating cycle used for housekeeping and setup purposes p
43. ogram Press EH When the program is successfully restored the F8 YES software asks Change Processor Mode to Run Press F8 You are now back online with the edited program in the run mode Test the edited program Online Operations Quick Edit The following diagram shows the rung you have modified if you are using the modular controller demo unit discussed on page 3 5 If you are using some other controller configuration make certain that your external input devices and output device are wired to the controller inputs and output that you addressed in your ladder program NI 0 Address 1 0 corresponds Address 2 2 corresponds Address O 3 0 to pushbutton 0 of the to selector switch 6 of the corresponds to pilot light 0 demo unit demo unit of the demo unit Lii I 2 0 3 1f 1 C 0 2 0 END To test the program first turn selector switch 6 to the on position Note that the corresponding input instruction in the rung is highlighted indicating that it is true Now press pushbutton 0 Pilot light 0 should go on The rung should show all instructions highlighted to indicate that they are true Processor operation When you pressed pushbutton 0 the corresponding input instruction went from false to true This resulted in a path of true input instructions in the rung causing the output instruction to go from false to true Now turn selector switch 6 to the off position Note that the corresponding input
44. on a T T Lu acc e mE Input Data File address data LS 0001 N Status bit I 1 1 is a logic Status bit I 1 0 is a logic 0 making the XIO instruction true 1 making the XIC instruction true Output Data File address data 0 3 0000 0001 The processor changes status bit O 3 0 to a logic 1 because a continuous path of true input instructions exist in the rung In the above example if the input data file was 0000 then the rung would be false and the output data file would read as 0000 0000 The Processor Operating Cycle Control Basics The diagram below indicates the events that occur during the processor operating cycle This sequence is repeated many times each second Event Description Di Input Data File The status of external input circuits is Input Scan EDD a address data read The input data file is updated with 0 1 I1 0001 this information activated ah E The ladder program is executed The d i input data file is evaluated the ladder ae Program Scan 4 A s rung is solved and the output data file is updated Output Scan address 0 3 Output Data File data 0000 0001 LL Illuminated The output data file information is transferred to the external output circuit thus energizing or de energizing it Communications Communications with the programming terminal and other network devices takes place Housekeeping Processor int
45. ontinue to press pushbutton 0 as you turn selector switch 6 to the off position Note that bit O 3 0 goes from 1 to 0 This is because there is no longer a path of true input instructions in the rung causing the output instruction to go false 4 11 APS Quick Start for New Users 5 Return to the APS menu Press ESC This returns you to the online monitor file display EXIT Press E This returns you to the online program directory display F3 RETURN Press Bil This takes you offline returning you to the APS menu F3 display 4 12 Creating and Printing Reports 5 Creating and Printing Reports This chapter shows you how to create and print reports The following four hard copy reports can be created and printed Program Listing Can include a the main program file and all subroutine files b a single file c a range of files or d a range of rungs Cross Reference Provides an alphabetical list of addresses and their rungs in either address or symbol order Processor Configuration Details the configuration of the processor and associated hardware in the system Data Tables Details the contents of the offline or online data files If you do not have a printer set up in your system we suggest that you go through these procedures anyway to familiarize yourself with report capabilities APS Quick Start for New Users Creating Reports A report can be created at the program directory display eithe
46. oot PC Fatal Communication Hardware Error Incompatible or non existent Serial COM port on PC Select different COM port by pressing F2 Online Config verify COM port works Illegal Data or Parameter Value Maximum node address of the processor exceeds 31 Reduce the maximum node address of the processor to 31 by pressing F5 WHO F5 Who Active F7 Max Address Table B A APS Error Messages continued Error Message I O Address Not Configured Possible Causes Processor system configuration does not match entered addresses Troubleshooting Corrective Action Verify correct address format I slot terminal or O slot terminal verify system configuration by pressing F3 Offline Prg Doc F1 Procssr Functns F1 Change Procssr F5 Configr Vo No Matching Disk File Found Processor program does not exist on hard disk To read the processor program upload press F8 Yes otherwise press F10 No to continue with other online activities No Memory Left or Not Enough Memory to Load Communication Driver PC does not have enough free RAM memory to continue Verify your PC has 250K of free RAM to execute APS gt 369K free RAM is required if you are running the INTERCHANGE software Exit APS and type CHKDSK at DOS prompt The last line should read gt 250K bytes free or gt 369K If not disable TSR drivers menus shells etc loade
47. opriate processor catalog number The Create Processor File window lists the default processor Bul 1761 Our controller uses the 1747 L524 processor Cursor down to highlight it If you are using a different processor use the cursor keys to locate the appropriate SELECT processor in the upper option window Press BI TEM F2 4 Ifyou have selected a fixed controller and are not using an expansion chassis SAVE amp the controller configuration is complete at this point Press Qa and go to F8 step 8 5 Configure the chassis of your controller Creating a Processor File CONFIGR Press MEMO The following option window appears Note that chassis 1 is F5 specified as 1746 A4 the default selection This is correct for our controller If MODIFY RACK you are using a different chassis press ELWSME then 1 Select the I O CONFIGURATION FOR GETSTART RACK 1 RACK 2 RACK 3 SLOT al 2 3 orn uu ESC exits 1746 A4 NOT INSTALLED NOT INSTALLED CATALOG 1747 L524 Press a function key READ ONLINE CONFIG CONFIG F1 F2 4 SLOT Backplane CARD DESCRIPTION 5 02 CPU 4K USER MEMORY F4 appropriate chassis using the cursor keys and press ENTER If you are using more than one chassis follow the same procedure for chassis 2 and 3 F1 MODIFY MODIFY DELETE UNDEL EXIT SPIO RACKS SLOT SLOT SLOT CONFIG F4 F5 F6 F7 F8 F9
48. or help Press pushbutton 0 Outputs 1 and 2 turn ON Release pushbutton 0 Outputs 1 and 2 turn OFF Press pushbutton 1 Outputs 1 and 2 turn ON Release pushbutton 1 Outputs 1 and 2 turn OFF APS Quick Start for New Users Entering a Timer Instruction In exercise 2 you enter a timer instruction with a time delay of 10 seconds Two different types of timer status bits activate output pilot lights 0 and 1 The first type called a timer timing status bit turns on output 0 for 10 seconds The second type called a done status bit turns on output 1 after 10 seconds Exercise 2 Entering a Timer Instruction We are assuming you have created a new file configured it and you are now ready to begin entering an instruction See chapter 3 for help with the above Begin offline at the edit screen 1 Enterarung and an XIC instruction APPEND INSERT BIT XIC Press BUNCH then HRSG then then BEE Type the F3 F4 Fi F1 address 1 1 0 then press ENTER 2 Enter the timer instruction TIMER TON Press uuu sid then F2 F1 Type the address T4 0 then press ENTER This is the Timer Address Type the timebase 01 then press ENTER This is the timebase in seconds Type 1000 then press ENTER This is the Timer Preset Value in hundredths of a second Additional Ladder Program Exercises Type 0 then press ENTER This is the Timer Accumulated Value TON TIMER ON DELAY EN Tim
49. peration of each of these keys is defined by software and a key may have a different function for each menu display hard disk A disk storage device for storing relatively large amounts of data hardware Mechanical electrical and electronic components and assemblies I O Inputs and Outputs Consists of input and output devices that provide and or receive data from the programmable controller input device A digital or analog device such as a limit switch push button switch pressure sensor or temperature sensor that supplies input data through an input circuit to a programmable controller input scan A part of the SLCs operating cycle Status of the input modules are loaded into the Input data file instruction A mnemonic and data address defining an operation to be performed by the processor A rung in a program consists of a set of input and output instructions The input instructions are evaluated by the controller as being true or false In turn the controller sets the output instructions to true or false interface converter An Allen Bradley device Catalog Number 1747 PIC used to establish communication between the personal computer and a SLC 500 programmable controller ladder logic A program written in a format resembling a ladder like diagram The program is used by a programmable controller to control devices mnemonic A simple and easy to remember term that is used to represent a complex or lengthy set of infor
50. r an example of the Timer data file Control Basics How External I O Devices Communicate with the Processor Pushbutton 0 is wired to terminal 0 Pressing pushbutton 0 will cause the corresponding status bit in the input data file to go from 0 to 1 The figures that follow apply to a modular controller demo unit having an input module in slot 1 and an output module in slot 3 See page 1 3 for a diagram of the slot location To simplify the illustration only pushbutton 0 and pilot light O of the external I O are shown Each of the external input circuits is represented by a status bit in the input data file of the processor file Each of the external output circuits is represented by a status bit in the output data file of the processor file During controller operation the processor applies the input data to the program solves the program based on the instruction you enter and energizes and de energizes external outputs C 5 01 CPU INPUT Input Module in slot 1 ese e Input Data File address data ISl 0000 X Status bit 0 corresponds to terminal 0 of the input module in slot 1 z z p Closing an external input circuit changes the corresponding status bit from 0 to 1 Opening an external input circuit changes the corresponding status bit from 1 to 0 2 5 APS Quick Start for New Users Pilot light 0 is wired to terminal 0 The pilot light will be energized when the processor has completed
51. r offline or online In the following procedure reports are created offline The starting point is the APS menu Complete the following steps 1 Access the documentation reports and options windows OFFLINE Press aig This accesses the program directory display F3 CREATE Press The following windows appear in the display area F6 PROGRAM LISTING OPTIONS Starting File Rung Ending File Rung DOCUMENTATION Power Rail Address Comments Address Display Rung Comments Ladder Cross Reference Output Cross Reference Program Listing Cross Reference Processor Config Data Tables Save to File ESC exits ESC exits Alt U aborts changes Press a function key or press ENTER to perform operation offline SLC 5 02 File GETSTART SELECT TOGGLE RESET REPORT GENERAL TITLE ALL REPORT REPORTS OPTIONS OPTIONS F2 F3 F4 F5 F6 F8 5 2 Creating and Printing Reports 2 Specify documentation The Documentation window lists the four reports you can create The cursor is located on the Program Listing report Options for the Program Listing are shown in the window at the left Function key F5 allows you to change items in the options window Move the cursor to Cross Reference then Processor Config then Data Tables Note that as you do this the option window changes to match the report the cursor is located on An explanation of the various options is beyon
52. rogram file The area within a processor file that contains the ladder logic program program listing A report containing a range of program files or a range of rungs program mode When the SLC is not executing the processor file and all outputs are de energized program scan A part of the SLCs operating cycle During the scan the ladder program is executed and the Output data file is updated based on the program and the Input data file rack See chassis read To acquire data from a storage place For example the processor READs information from the input data file to solve the ladder program report A printable document containing information about a processor file For example a ladder listing a cross reference the data tables and the processor configuration APS Quick Start for New Users G 4 restore To download transfer a program from a personal computer to a SLC run mode When the processor file in the SLC is being executed inputs are read the program is scanned and outputs are energized and de energized rung Ladder logic is comprised of a set of rungs A rung contains input and output instructions During Run mode the inputs on a rung are evaluated to be true or false If a path of true logic exists the outputs are made true If all paths are false the outputs are made false save To upload transfer a program stored in memory from a SLC to a personal computer OR to save a program to a computer har
53. ry of file GETSTART OFFLINE Press ailn F1 2 Monitor Program File 2 MONITOR Press FILE F8 3 Inserta rung EDIT INSERT Press then BEIGE F10 F4 4 Enter the Input instruction on the rung INSERT BIT XIC Press BBIIQJEUBI then then BEBE Type the address 1 1 0 F4 F1 F1 then press ENTER 5 Creating a Processor File Enter the Output instruction on the rung BIT OTE Press then MEBBEI Type the address 0 3 0 then press Fi F3 ENTER Accept the rung ACCEPT Press ESC then EIU then ESC F10 Add a Rung Comment Complete the following steps to add a rung comment 1 Configure the display so that rung comments will be visible CONFIG SUPPRSS Press WHAT Make sure F7 reads ibldd If it does not press F2 F7 DISPLAY Dude EM to toggle F7 before moving to the next step F7 SAVE Press then ESC The display is now configured so that rung F10 comments are visible Add the rung comment DOCUMNT RUNG Press then KUWAN Type the comment Input pushbutton F5 F1 turns on output pilot light Accept and save the comment ACCEPT SAVE Press gt then WAAN then ESC F8 F10 3 11 APS Quick Start for New Users Input pushbutton turns on output pilot light Your completed ladder program and rung comment should look like this I 1 0 3 lt 623 0 0 END Press a fun
54. st 1 t C Poe XIC Examine if Closed Address I 1 0 XIO Examine if Open Address 1 1 OTE Output Energize Address 0 3 0 A simple rung using bit instructions True False Status The data file bits that these instructions are addressed to will be either a logic 0 OFF or a logic 1 ON This determines whether the instruction is regarded as true or false The status of the instruction is If the data fil XIC XIO OTE ME Examine if Closed Examine if Open Output Energize t JE Logic 0 False True False Logic 1 True False True 2 9 APS Quick Start for New Users Logical Continuity 2 10 During controller operation the processor evaluates each rung changing the status of instructions according to the logical continuity of rungs More specifically input instructions set up the conditions under which the processor will make an output instruction true or false These conditions are When the processor finds a continuous path of true input instructions in a rung the OTE output instruction will become or remain true We then say that rung conditions are true When the processor does not find a continuous path of true input instructions in a rung the OTE output instruction will become or remain false We then say that rung conditions are false The figure below indicates the data file conditions under which the rung is true Input Instructions Output Instructi
55. t 0 I 0 4 Input slot 0 terminal 4 fixed controllers only because of slot 0 Eventually you will be addressing other data files such as Status Bit Timer Counter Control Integer String ASCII and Float Addressing of these files is discussed in the APS programming manual 2 7 APS Quick Start for New Users APS Display of Instructions Addresses APS displays I O addresses as shown below When you enter an XIC instruction defined later and the address I 1 0 APS will display the address with the instruction as follows I pup 0 Explanation Input data file slot 1 Z 0 Terminal 0 XIC instruction Ladder Logic Concepts As we mentioned earlier the program files you create contain the program used for your controlling application The programs are written in a programming language called Ladder Logic This name is derived from its ladder like appearance A ladder logic program consists of a number of rungs on which you place instructions Instructions each have a data address associated with them and based on the status of these instructions the rung is solved 2 8 Control Basics The figure below shows a simple 1 rung ladder program The rung includes two input instructions and an output instruction Note in the example below each instruction has a name Examine if Closed a mnemonic XIC and an address 1 1 0 Input Instructions Output Instruction XIC XIO I3 EN 0 3 di
56. tended as an introduction of APS software to first time users The simple tasks and practice exercises in this manual do not include important user information for actual control applications Purpose of this Manual This manual is an introductory document designed to allow you to install APS and begin programming in the shortest time possible It does this by focusing on a simple controller and a simple program Basic concepts are presented but only with enough detail to get you started and let you know that there is more to be learned Read chapter 1 first It will acquaint you with the rest of the manual Contents of this Manual Chapter Title Purpose Describes the purpose background and scope of Preface this manual Also specifies the audience for whom this manual is intended Lists hardware requirements and shows you how to 1 Setting up Your Equipment set up a controller connect your PC to the controller and install APS software on your PC Presents basic information you will need to know 2 Control Basics before you can begin programming with APS Shows you how to create a processor file enter a 3 Creating a Processor File ladder program and add a rung comment Shows you how to restore download your 4 Online Operations Quick Edit processor file to the controller monitor and test the program and use quick edit Guides you through creating and printing reports 5 Creating and Printing Reports T
57. to an electrical socket Setting Up Your Equipment SLC 500 Modular Controller Em m Input Output Panel fA P N Power Supply Receptacle On Off Power Switch Pilot Light Combination Pilot Light Pushbuttons APS Quick Start for New Users Setting Up a Field Wired Controller The details of installing and wiring the controller and external input output devices are beyond the scope of this manual If you are using a field wired fixed or modular controller refer to the Installation and Operation Manuals catalog number 1747 NI001 fixed controllers and publication number 1747 6 2 modular controllers for information on installation and wiring of the controller and external input output devices We recommend that your controller have at least two external input devices and two external output devices connected to complete the exercises in this manual Setting Up Your Equipment Connecting the Controller to a Personal Computer To connect the controller to a personal computer you need a communications cable catalog number 1747 C10 and an RS 232 DH 485 interface converter catalog number 1747 PIC Note This procedure does not apply to SLC 5 04 processors For these processors you need to connect a 1747 CP3 cable from channel 0 of the processor to the personal computer serial port or you need to use a KT KTX KT2 or PCMK card 1 Locate the communications channel of the controller The figur
58. utput that you addressed in your ladder program 0 Address 1 0 corresponds to Address O 3 0 pushbutton 0 of the demo corresponds to pilot light 0 unit of the demo unit Tf Ox3 1 f op 0 0 END To test the program press pushbutton O Pilot light 0 should go on The display should show both the XIC and OTE instructions highlighted to indicate that they are true Processor operation When you pressed pushbutton 0 the input instruction went from false to true This resulted in a path of true input instructions in the rung causing the output instruction to go from false to true Now release the pushbutton Pilot light O should go off Neither instruction in the rung should be highlighted When you released pushbutton 0 the input instruction went from true to false this broke the path of true input instructions causing the output instruction to go from true to false Online Operations Quick Edit Editing the Program with Quick Edit The quick edit feature of APS software allows you to move quickly from online monitoring to offline editing then back to online monitoring To give you experience at doing this we will edit the program by adding an input instruction on the rung The effect of the edit Selector switch 6 must be on closed to allow pushbutton 0 to turn on pilot light 0 We will place an XIC instruction in series with to the right of the XIC instruction already entered It will have address E
59. y display will appear Do one of these three things a If the default program directory appears the directory is named DEFAULT and only the system file is listed press F2 b Ifa file exists in the processor and no matching disk file is found on the computer hard disk you will be asked Read Processor Program Press RM then press T3369 F10 F2 C Ifa file exists in the processor and a matching disk file is found on the SAVE RESTORE computer hard disk press then F2 F4 4 3 APS Quick Start for New Users After you have done a b or c the following display appears IPDS ARCH SLC500 Name Size Date GETSTART 8586 01 03 92 Press a Function Key or Enter File Name PROC Addr 1 REM PROG L524 BEGIN DEFINE RESTORE DIR F1 F7 2 Select and accept file GETSTART The cursor is located in the right hand window which lists all of the processor files saved on disk Move the cursor to the file GETSTART if it is not already BEGIN there Press If the processor is in the program mode the file is F1 restored downloaded If the processor is in the run mode you are asked YES Change Processor Mode to Program Press ES File GETSTART is F8 restored downloaded Online Operations Quick Edit When the restoring downloading process is complete you are asked to Press Any Key to Continue After you press any key the program directory for file GETSTA
Download Pdf Manuals
Related Search
Related Contents
製品仕様書 Manual - Radial Engineering Tech Pageant AV 256 TR (1) フィギュアーツZERO しらほし姫 取扱説明書 255.7 KB Copyright © All rights reserved.
Failed to retrieve file