BenutzerhandbuchInhaltsverzeichnisEnhanced and Ethernet PLC-5 Programmable Controllers User Manual1Important User Information2Summary of Changes3Summary of Changes3Table of Contents5Preface15Purpose of This Manual15Related PLC-5 Documentation15Terms Used in This Manual16Manual Overview17Notes18Chapter 1 - Understanding Your Programmable Controller19Understanding Your Programmable Controller19Using This Chapter19Lay Out the System19Identifying Controller Components20Programming Features28Using a Controller Channel as a Remote I/O Scanner29Using a Controller Channel as a Remote I/O Adapter30Using a PLC-5/40L, -5/60L Programmable Controller as an Extended-Local I/O Scanner32Chapter 2 - Selecting and Placing I/O33Selecting and Placing I/O33Using This Chapter33Selecting I/O Modules33Selecting I/O Module Density34Placing I/O Modules in a Chassis35Notes36Chapter 3 - Placing System Hardware37Placing System Hardware37Using This Chapter37Determining the Proper Environment37Protecting Your Controller39Preventing Electrostatic Discharge39Laying Out Your Cable Raceway40Laying Out Your Backpanel Spacing41Grounding Your System42Recommended Grounding Configuration for Remote I/O Systems43Required Grounding Configuration for Extended-Local I/O Systems43Notes44Chapter 4 - Addressing I/O and Controller Memory45Addressing I/O and Controller Memory45Using This Chapter45I/O Addressing Concept45I/O Addressing as It Relates to an I/O Terminal46Choosing an Addressing Mode4718-and 16-point Example4832-point Example49Addressing Block-Transfer Modules51Addressing Summary51Assigning Racks52Understanding PLC-5 Controller Memory54Data Table File Types and Memory Usage for PLC-5 Controllers Series E/Revision D and Later57Data Table File Types and Memory Usage for PLC-5 Controllers Series E/Revision C and Earlier58Valid Data Types/Values Are:59Addressing60Effectively Using I/O Memory68Chapter 5 - Communicating with Controller-Resident I/O69Communicating with Controller-Resident I/O69Using This Chapter69Introduction to PLC-5 Controller Scanning69Program Scanning70Transferring Data to Controller-Resident I/O71Configuring the System for Controller-Resident I/O72Chapter 6 - Communicating with Remote I/O73Communicating with Remote I/O73Using This Chapter73Selecting Devices That You Can Connect74Introduction to Remote I/O75Designing a Remote I/O Link76I/O Link Devices that Require 150W Termination Resistors78Configuring a Controller Channel as a Scanner78Communicating to a Remote I/O Node Adapter83Remote I/O Scan and Program Scan Loops.83Transferring Block Data85Block-Transferring Data to Controller-Resident Local, Extended-Local, and Remote I/O85Block-Transfer Minor Fault Bits87Block-Transfers of Remote I/O Data87Block-Transfer Sequence with Status Bits89Block-Transfer Programming Considerations91Monitoring Remote I/O Scanner Channels93Addressing the I/O Status File96Chapter 7 - Communicating with a PLC-5 Adapter Channel99Communicating with a PLC-5 Adapter Channel99Using This Chapter99Configuring Communication to a PLC-5 Adapter Channel100Programming Discrete Transfers in Adapter Mode108Programming Block-Transfers of Data to an Adapter Channel108A. Enter the block-transfer file number.109B. Enter the element number.109C. Record on paper the BT files you define. This will help when configuring the BT files through the data monitor.109A. Specify a BT control file you defined.109B. Enter the transfer length in .RLEN109C. Enter the file and element numbers from which the data is to be transferred in .FILE and .ELEM respectively.109Monitoring Remote I/O Adapter Channels117Notes118Chapter 8 - Communicating with Extended-Local I/O119Communicating with Extended-Local I/O119Using This Chapter119Selecting Devices That You Can Connect119Cabling120Addressing and Placing I/O120Transferring Data122Configuring the Controller as an Extended-Local I/O Scanner127Monitoring Extended-Local I/O Status130Notes132Chapter 9 - Communicating with Devices on a DH+ Link133Communicating with Devices on a DH+ Link133Using This Chapter133Selecting Devices That You Can Connect133Link Design134Configuring the Channel for DH+ Communication135Using the Global Status Flag File137Monitoring DH+ Communication Channels139Estimating DH+ Link Performance144Application Guidelines149Notes150Chapter 10 - Communicating with Devices on a Serial Link151Communicating with Devices on a Serial Link151Using This Chapter151Choosing Between RS-232C, RS-422A, and RS-423151Configuring the Controller Serial Port152Using Channel 0152Cabling155Configuring Channel 0156Monitoring Channel 0 Status172Chapter 11 - Communicating with Devices on an Ethernet Network175Communicating with Devices on an Ethernet Network175Using This Chapter175Media and Cabling175Assigning Your IP Address176Network Addressing176Configuring Channel 2 for Ethernet Communication176A. Replace plc5name with the name of the Ethernet PLC-5 controller. Use only letters and numbers; do not use underscores.181B. Replace aa.bb.cc.dd with the IP address to be assigned to the controller.181C. Replace xxyy with the last four digits of the hardware address. Use only valid hexadecimal digits (0-9, A-F); do not use the hyphens that separate the numbers. (You will find the hardware address on a label affixed to the printed circuit b...182Using Advanced Ethernet Functions183Using Domain Name Service189Using the Embedded Web Server190HTML Pages196Generating Custom Data Table Monitor Pages198Using Multihop Messaging203Communicating with ControlLogix Devices206TCP/IP206Interpreting Error Codes207Interpreting Ethernet Status Data208Ethernet PLC-5 Performance Considerations211Chapter 12 - Protecting Your Programs213Protecting Your Programs213Using This Chapter213About Passwords and Privileges214Defining Privilege Classes215Assigning a Privilege Class to a Channel or Offline File216Assigning a Privilege Class to a Node216Assigning Read/Write Privileges to a Program File217Assigning Read/Write Privileges to a Data File217Notes218Chapter 13 - Programming Considerations219Programming Considerations219Using This Chapter219Forcing219Extended Forcing220Setting Up and Using Extended Forcing223Using Special Programming Routines228Priority Scheduling for Interrupts and MCPs229Defining and Programming Interrupt Routines233Notes234Chapter 14 - Preparing Power-Up Routines235Preparing Power-Up Routines235Using This Chapter235Setting Power-Up Protection235Allowing or Inhibiting Startup236Defining a Controller Power-Up Procedure236Notes238Chapter 15 - Preparing Fault Routines239Preparing Fault Routines239Using This Chapter239Understanding the Fault Routine Concept239Understanding Controller-Detected Major Faults240Defining a Fault Routine242Defining a Watchdog Timer243Programming a Fault Routine244Monitoring Faults249Notes252Chapter 16 - Using Main Control Programs253Using Main Control Programs253Using This Chapter253Selecting Main Control Programs253Understanding How the Controller Interprets MCPs254Configuring MCPs255Monitoring MCPs257Notes258Chapter 17 - Using Selectable Timed Interrupts259Using Selectable Timed Interrupts259Using This Chapter259Using a Selectable Timed Interrupt259Defining a Selectable Timed Interrupt261Monitoring Selectable Timed Interrupts262Chapter 18 - Using Processor Input Interrupts263Using Processor Input Interrupts263Using This Chapter263Using a Processor Input Interrupt263Defining a Controller Input Interrupt267Monitoring Controller Input Interrupts268Appendix A - System Specifications269Memory Backup Devices272Notes274Appendix B - Processor Status File275Processor Status File275S:0 - S:2275S:3-10277S:11278S:12279S:13-S:24283S:26-S:35284S:36-S:78285S:79-S:127286Appendix C - Maximizing System Performance287Maximizing System Performance287Using This Chapter287Program Scan287Input and Output Modules Delay292I/O Backplane Transfer292Remote I/O Scan Time292Controller Time297Example Calculation298Performance Effects of Online Operations298Effect of Inserting Ladder Rungs at the 56K-word Limit299Using Program Control Instructions300Appendix D - Instruction Set Quick Reference301Instruction Set Quick Reference301Using This Chapter301Appendix E - Switch Setting Reference339Switch Setting Reference339Using This Chapter339Controller Switches340I/O Chassis Backplane342Remote I/O Adapter Module345Extended-Local I/O Adapter Module347Appendix F - Troubleshooting349Troubleshooting349Using This Chapter349PLC-5 Controller350Remote I/O System354Extended-Local I/O System357Unexpected Operation when Entering Run Mode357Notes360Appendix G - Cable Reference361Cable Reference361Using This Chapter361Channel 0 Pin Assignments361Serial Cable Pin Assignments362Connecting Diagrams363Programming Cable Specifications365Ethernet Cable Connections369Index371Numerics371A371B371C372D373E374F374G375H375I375K376L376M376N377O377P377R378S379T380U381W381How Are We Doing?383Back Cover388Größe: 4,76 MBSeiten: 388Language: EnglishHandbuch öffnen