Allen-BradleyメーカーPLC-5の使用説明書/サービス説明書
ページ先へ移動 of 388
Enhanced and Ethernet PLC-5 Programmable Controllers 1785- L11B, - L20B, -L30B , -L40 B, -L40L, -L60B , -L60L , -L80 B, -L2 0E, -L40 E, -L80 E, -L26B , -L46B, -L 86B User Manual.
Important User Information Solid state equipmen t has operation a l characteristic s differing from those of elect romechan ical equi pment. Safety Guidelines for the Application, Installat ion and Main tenance of S olid State Con trols (Publication SGI-1.
1 Publicatio n 1785-UM0 12D-EN-P - July 2005 Summary of Chan ges Summary of Cha nges Changes to this Manual This user manu al c ont ains new and upd ate d inf ormatio n. The black re vision bars , as shown on the left, in dicate the c hanges . F or sp ecif ic locations of the new infor mation, refer to the table below .
Publicatio n 1785 -UM012D -EN-P - July 2005 Summary of Changes 2 Not es.
1 Publicatio n 1785-UM0 12D-EN-P - July 2005 T able of Contents Pre fa ce Purpose of This Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . P-1 Related PLC-5 Documentation . . . . . . . . . . . . . . . . . . . . . . . . . .
Publicatio n 1785 -UM012D -EN-P - July 2005 T able of Content s 2 Chapte r 4 Addr ess ing I/ O an d Con trol l er Memory Using This Cha pter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1 I/O Addressi ng Concept . . .
Publicatio n 1785-UM0 12D-EN-P - July 2005 T able of Content s 3 Block-Trans fer Programming Considerations . . . . . . . . . . . . . . . . . 6-19 General Consi derations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-19 For Controller-Resi dent Local Racks .
Publicatio n 1785 -UM012D -EN-P - July 2005 T able of Content s 4 Monitoring General Status . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-11 Estimating DH+ Link Performance . . . . . . . . . . . . . . . . . . . . . . . . . 9-12 Nodes . .
Publicatio n 1785-UM0 12D-EN-P - July 2005 T able of Content s 5 Using BOOTP to Configure Channel 2 for Controllers on Subnets . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-13 Using Domain Name Service . . . . . . . . . . . . . . . . . . .
Publicatio n 1785 -UM012D -EN-P - July 2005 T able of Content s 6 Step 2 - Use the Programming Software to Enter or Edit the Data You Wa nt to Force in the Extended Force Configuration Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Publicatio n 1785-UM0 12D-EN-P - July 2005 T able of Content s 7 Chapte r 16 Using Main Control Programs Using This Cha pter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-1 Selecting Main C ontrol Programs . . . . . . .
Publicatio n 1785 -UM012D -EN-P - July 2005 T able of Content s 8 Append ix C Maximizing System Performance Using This Chapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-1 Program Scan . . . . . . . . . . . . . . .
Publicatio n 1785-UM0 12D-EN-P - July 2005 T able of Content s 9 ASCII Ins tructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D-27 Bit and Word Inst ructions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D-30 File, Program Control, and ASCII Instructions .
Publicatio n 1785 -UM012D -EN-P - July 2005 T able of Content s 10 Append ix G Cable Refer en ce Using This Chapter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . G -1 Channel 0 Pin As signments . . . . . . . . . . . . . .
1 Publicatio n 1785-UM0 12D-EN-P - July 2005 Preface Using This Manual Purpose of This Manual The purpose of this manual is to help you design, operate and maintain an Enhanced and Ethern et PL C-5 prog ramm able cont ro ller system.
Publicatio n 1785 -UM012D -EN-P - July 2005 Preface 2 T erms Used in This Manual Become familiar with the following t er ms and definitions which are used througho ut this manual.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Preface 3 Manual Overview This manual has three main sections: • Design • Operate • Maintain Section: For information about: See Titl e: Desig n An ove.
Publicatio n 1785 -UM012D -EN-P - July 2005 Preface 4 Not es.
1 Publicatio n 1785-UM0 12D-EN-P - July 2005 Chapter 1 Understanding Y our Pr ogrammable Controller Using This Chapter Lay Out the Sy stem Lay out the syst em by d eter mining the netw ork configurati on and the placement of components in each location.
Publicatio n 1785 -UM012D -EN-P - July 2005 1-2 Understan di ng Y our Prog rammable Con trol ler F or a PLC- 5 cont rolle r t o cont rol I/ O mod ules, both the cont roller a nd t he I/O modules must be directly attac hed to the same netwo rk. Ev aluate what communica tions need to occur bet ween contr ollers .
Publicatio n 1785-UM0 12D-EN-P - July 2005 Under s t andi ng Y o ur Programmabl e Contr oller 1- 3 PLC-5/11 , -5/ 20, and - 5 / 26 Contr o ller Front Panel s Channel 0 is optically-coupled (provides h.
Publicatio n 1785 -UM012D -EN-P - July 2005 1-4 Understan di ng Y our Prog rammable Con trol ler PLC-5/30 Controller Fro nt Panel l Use this port with ASCII or DF1 full-duplex, half-duplex master, and half-duplex slave protocols.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Under s t andi ng Y o ur Programmabl e Contr oller 1- 5 PLC-5/40, -5/46, -5/6 0, -5/80, and -5/ 86 Con troller Fr ont Pan el Use this port with ASCII or DF1 full-duplex, half-duplex master, and half-duplex slave protocols.
Publicatio n 1785 -UM012D -EN-P - July 2005 1-6 Understan di ng Y our Prog rammable Con trol ler PLC-5/20 E Contro lle r Fro nt Pa ne l PLC-5/20E Programmable Controller battery indicator (red when th.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Under s t andi ng Y o ur Programmabl e Contr oller 1- 7 PLC-5/4 0E an d -5 /8 0E Con trol ler Fron t Panels PLC-5/40E Programmable Controller Use this port with ASCII or DF1 full-duplex, half-duplex master, and half-duplex slave protocols.
Publicatio n 1785 -UM012D -EN-P - July 2005 1-8 Understan di ng Y our Prog rammable Con trol ler PLC- 5/ 40L and -5 / 60L C ont r oller Fro nt Panel s Channel 0 is optically-coupled (provides high ele.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Under s t andi ng Y o ur Programmabl e Contr oller 1- 9 Use the keyswitch to change the mode in which a controller is op era ting . If Y ou Wa nt to T urn the Key switch to • Run your program. Outputs are enabled.
Publicatio n 1785 -UM012D -EN-P - July 2005 1-10 Unders ta ndi ng Y o ur Programmabl e Contro ller Programming Features This table highlights the programming feature s of a PLC-5 pro g rammable controller . This Capability Lets Y ou Ladder logic program using a language that is representative of relay logic.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Understa nding Y our Progr a mmabl e Contro ll er 1-11 Using a Controller Channel as a Remote I/O Scanner Configure a remote I/ O channel for scan ner mode to read an d write I/O infor mation between a controller and an I/O device remotely lo cated from the controller .
Publicatio n 1785 -UM012D -EN-P - July 2005 1-12 Unders ta ndi ng Y o ur Programmabl e Contro ller A contr oller tran sfer s I/O da ta and status d ata using: Using a Controller Channel as a Remote I/.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Understa nding Y our Progr a mmabl e Contro ll er 1-13 F or Enhanced and Et her net programmable con troller cha nnels in ada pter mode, y ou do n ot ne ed ladder logic i n the a dapter c ontroll er for block- tran sfer inst r uctions .
Publicatio n 1785 -UM012D -EN-P - July 2005 1-14 Unders ta ndi ng Y o ur Programmabl e Contro ller Using a PLC-5/40L, -5/60L Programmable Con troller as an Extended-Local I/O Scanner Use the extended-local I/O link when you need I/O updates more quickly than is po ssible from remote I/O l ink.
1 Publicatio n 1785-UM0 12D-EN-P - July 2005 Chapter 2 Selecting and Placing I/O Using This Chapter Selecting I/O Modules Select I/O m odules to interface your PLC-5 controller with machines or processe s that y ou determine while analyzing y our plant operati on.
Publicatio n 1785 -UM012D -EN-P - July 2005 2-2 Select ing and Placi ng I/O Guideli nes fo r Selectin g I/O M odules Selecting I/O Module Density The density of a n I/O module is t he nu mber of controller input or outp ut image-table bits to whic h it corresponds .
Publicatio n 1785-UM0 12D-EN-P - July 2005 Select in g and Placing I /O 2-3 Placing I/O Modules in a Chassis Place I/O modules in a chassis depen ding on the electrical characteristics of the module . Th e placement is made left to right, with the left-most position being closest in the ch assis to the PLC-5 controller or the I/O adapter module .
Publicatio n 1785 -UM012D -EN-P - July 2005 2-4 Select ing and Placi ng I/O Not es.
1 Publicatio n 1785-UM0 12D-EN-P - July 2005 Chapter 3 Placing Sy stem Hardware Using This Chapter Determining the Proper Environment Place the controller in an environment wi th conditions that fall within t hese guidelines: Separate y our programmable con troller sy stem from other equipme nt and plant walls to allow for con vection co oling .
Publicatio n 1785 -UM012D -EN-P - July 2005 3-2 Placing Syst em Hardware 102mm (4") 153mm (6") 51mm (2") 102mm (4") Wiring Duct 153mm (6") 51mm(2") Area reserved for disconnect, transformer, control relays, motor starters, or other user devices.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Placi ng Syst em Hardwa re 3- 3 Protecting Y our Controller Y ou pro vi d e t he encl o su re f or y our con tr oll er s ystem . This en clo su re pro t ec ts your controller system from atmospheric contaminants such as oil, moisture , dust, cor rosiv e va pors , or other harmful airborne substanc es .
Publicatio n 1785 -UM012D -EN-P - July 2005 3-4 Placing Syst em Hardware Laying Out Y our Cable Raceway The ra ceway la yout of a system ref lects where the differ ent types of I/O modules are placed in I/O chassis . The refore, y ou should deter min e I/O-module placement prior to an y lay out and routing of wires .
Publicatio n 1785-UM0 12D-EN-P - July 2005 Placi ng Syst em Hardwa re 3- 5 Laying Out Y our Backpanel Spacing Use 6.35 mm (0.25 inc h) mountin g bolts to attac h the I/O c h assis to the enclosure backpanel. Cha ssis Dime nsio ns (Seri es B ) 315m m (1 2.
Publicatio n 1785 -UM012D -EN-P - July 2005 3-6 Placing Syst em Hardware I/O Ch assis and Ext ern al Powe r Sup ply Dim ensio ns Grounding Y our Sy stem F or more infor m ation on proper grounding guidelines , see the Industrial Aut omation Wiring and Groundi ng Guidelines , publication 1770-4.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Placi ng Syst em Hardwa re 3- 7 Recomm ended Gr ounding Config uration fo r Remo te I/O Sy st ems Require d Groundin g Configura t i on f or Ext e nded-Local.
Publicatio n 1785 -UM012D -EN-P - July 2005 3-8 Placing Syst em Hardware Not es.
1 Publicatio n 1785-UM0 12D-EN-P - July 2005 Chapter 4 Addressing I/O and Con troller Memory Using This Chapter I/O Addressing Concept Since the main purpose of a programmable contr oller is to con tr.
Publicatio n 1785 -UM012D -EN-P - July 2005 4-2 Addressing I/O an d Controll er Memory The figure belo w sho ws the relati onship betw een an I/O terminal and its location in cont roller memor y .
Publicatio n 1785-UM0 12D-EN-P - July 2005 Addres sing I/O and Con troll er Memory 4-3 Choosing an Addressing Mode F or each I/ O ch as si s i n you r sys te m, yo u mus t d ef in e h ow m an y I / O .
Publicatio n 1785 -UM012D -EN-P - July 2005 4-4 Addressing I/O an d Controll er Memory 18-and 16- point Ex ample 1-slot addressing (1 I/O chassis slot = 1 I/O group = 1 input image word and 1 output image word = 16 input bits and 16 output bits.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Addres sing I/O and Con troll er Memory 4-5 32-poi nt Example 1-slot addressing (1 I/O chassis slot = 1 I/O group = 1 input image word and 1 output image word = 16 input bits and 16 output bits.
Publicatio n 1785 -UM012D -EN-P - July 2005 4-6 Addressing I/O an d Controll er Memory When planni ng your system de sign, con sider the dens ities o f the I/O mo dules you are using and c hoose an addressing mode that most efficie ntly uses controller memor y .
Publicatio n 1785-UM0 12D-EN-P - July 2005 Addres sing I/O and Con troll er Memory 4-7 Addressing Block-T ransfer Modules Block-transfer modules occupy 8 bits in the controller’ s I/O imag e table. Since all block-transfer modules are bidirectional, they cannot be used to complement eith er input or output modules .
Publicatio n 1785 -UM012D -EN-P - July 2005 4-8 Addressing I/O an d Controll er Memory Assigning Racks The num ber of racks in a chass is de p ends on the chassis si ze an d the addr ess ing m ode : I.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Addres sing I/O and Con troll er Memory 4-9 TIP When ass igni ng remot e I/O r ack n umb ers , us e the se guidelines: • A single remote I/O scanner channel can support up to 32 devices but only 16 rack num bers.
Publicatio n 1785 -UM012D -EN-P - July 2005 4-10 Addres sin g I/O and Con troll er Memory Understanding PLC-5 Controller Memory Controller memor y is divided into tw o basic areas: Storage Areas Description Dat a All of th e data the controller examines or changes is stor ed in file s in data stora ge areas of memor y .
Publicatio n 1785-UM0 12D-EN-P - July 2005 Addressing I/O and Cont roller Memory 4-11 Underst anding Da ta Storag e (D ata-T able File s) The controlle r divides data storage in to: • Ty p e s that let you specify differen t for mats and rang es to accommodate different t ypes of data.
Publicatio n 1785 -UM012D -EN-P - July 2005 4-12 Addres sin g I/O and Con troll er Memory TIP Y ou migh t also w ant to lea v e room for future expa nsion when grouping data.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Addressing I/O and Cont roller Memory 4-13 Addr essing Fil e T ypes The following two tables sho w the a vailable file types and th e amount of memor y used by each.
Publicatio n 1785 -UM012D -EN-P - July 2005 4-14 Addres sin g I/O and Con troll er Memory Data T able File T ypes and M emory Usage for PL C-5 Con troll ers Series E/Revision C and Ear lie r File T y .
Publicatio n 1785-UM0 12D-EN-P - July 2005 Addressing I/O and Cont roller Memory 4-15 V alid D at a T ypes/ Value s Ar e: Underst andin g Prog ram -File S tora ge Creat e pro g ra m fil e s bas ed on the prog ramm ing m etho d you a r e u s i ng .
Publicatio n 1785 -UM012D -EN-P - July 2005 4-16 Addres sin g I/O and Con troll er Memory Addressing V alid for mats for addressing data files are: F or more information about enteri ng addresses , see the docume ntation for yo ur pro grammi ng soft w are .
Publicatio n 1785-UM0 12D-EN-P - July 2005 Addressing I/O and Cont roller Memory 4-17 Sp ec ifyi ng Logi ca l Add res ses The for mat of a logical address corr esp o nds directly to the location in data storag e: # X F : e . s / b Where Is the # File address.
Publicatio n 1785 -UM012D -EN-P - July 2005 4-18 Addres sin g I/O and Con troll er Memory Y o u can also use mnemonics to address members at the w ord or bit lev el. The av ailable mnemonics depend on the t ype of data (timer , counter , or control) and the prog ram instr uction.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Addressing I/O and Cont roller Memory 4-19 When you specify indir ect addresses , follow these guidelines: • Y o u can indirectly address the file number , w ord number , or bit n umber . • The substitute ad dress m ust be one of the follo wing types: N , T , C , R, B , I , O , o r S.
Publicatio n 1785 -UM012D -EN-P - July 2005 4-20 Addres sin g I/O and Con troll er Memory Spec ifyi ng In dexe d Ad dress es The controlle r s tar ts operation at the base address plus the offset. Store the offset va lue in the offset wo rd in the controller’ s status file.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Addressing I/O and Cont roller Memory 4-21 Spec ifyi ng Symbo lic Add resse s When you specify symbolic addr ess , follow these guidelines: • Start the name with an alphabetic c haracter (not a number).
Publicatio n 1785 -UM012D -EN-P - July 2005 4-22 Addres sin g I/O and Con troll er Memory Optimizing Instruc tion Exe cution T ime an d Cont roller Memory TIP F or the best in st ruction-ex ecution pe.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Addressing I/O and Cont roller Memory 4-23 The following examples illustrate these conce p ts: Bit address example O 32 I 32 B 64 T 32 C 32 R 32 N 32 If your.
Publicatio n 1785 -UM012D -EN-P - July 2005 4-24 Addres sin g I/O and Con troll er Memory Effectively Using I/O Memory The PLC-5 controller automatically allocates both an input and out put memor y location to each I/O location. I/O modules generally only use either the inputs or the outputs .
1 Publicatio n 1785-UM0 12D-EN-P - July 2005 Chapter 5 Communicating w ith C ontroller -Resident I/O Using This Chapter This chapter explains ho w to confi gure the controller t o commu nicate with reside nt I/ O : 1. Set th e I/O chassis s witch for th e addre ssing m ode.
Publicatio n 1785 -UM012D -EN-P - July 2005 5-2 Communicati ng with Cont r oller-Resident I/O Program Scanning The prog ram s can is the time it takes the controller to execute t he logic program once , perform housekeeping t asks , and th en start exe cuting logic ag ain.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communicat i ng with Cont r ol ler -Resi dent I /O 5-3 T ransferring Data to Controller -Resident I/O A PLC -5 co ntrolle r transfer s discre te and block-transf er data with contro ller-res ident I/O .
Publicatio n 1785 -UM012D -EN-P - July 2005 5-4 Communicati ng with Cont r oller-Resident I/O If yo ur application c annot suppo r t this configu ration, condit ion the immediat e I/O instr uctions with the control bits of the adjac ent block-transfer module.
1 Publicatio n 1785-UM0 12D-EN-P - July 2005 Chapter 6 Communicating w ith Remote I/O Using This Chapter This chapter explains ho w to confi gure the controller t o commu nicate with remote I /O: 1. Select whic h ch annel to configu re as a sca nner .
Publicatio n 1785 -UM012D -EN-P - July 2005 6-2 Communica ting with R emote I/O Selecting Devices That Y ou Can Connect The following table lists some of the devices y ou can use on a remote I/O link:.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communica ting with Remote I/O 6-3 Introduction to Remote I/O A remote I/O system lets you control I/O that is not within the controller’ s chassis . A PL C- 5 controller channel, in scanner mode, trans fer s d i scr ete and bloc k-transfer data with remote I/O devices .
Publicatio n 1785 -UM012D -EN-P - July 2005 6-4 Communica ting with R emote I/O F ollow these ste ps f o r settin g up a re mo te I/O s ystem: Designing a Remote I/O Link Designing a remote I/O link requires applying: • remote I/O link design guidelines • cable design guidelines Link Design Guidelines For this Step See 1.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communica ting with Remote I/O 6-5 Cable Design Guidelines V erif y that your system’ s design plans specify cable len gths within allowable measurements. F or daisy chain configurations , use this table to deter mine the total cable length y ou can use .
Publicatio n 1785 -UM012D -EN-P - July 2005 6-6 Communica ting with R emote I/O I/O Link Devic es that Require 150 Ω T ermination Resistors Configuring a Controller Channel as a Scanner Use this tab.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communica ting with Remote I/O 6-7 Define an I/O Status File The I/O status file s tor es data for the co n tro ller’ s I/O rack configuration tables. The I/O status f rom each r emote I/O rack require s two w ords.
Publicatio n 1785 -UM012D -EN-P - July 2005 6-8 Communica ting with R emote I/O ATTENTION Ass ign a unique diagnostic file to each c hannel. Do not assign a diagnostic file that is the I/ O s tatus file you assigned or any other us ed integer file . Unpredicta ble mach ine da mage c an res ult.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communica ting with Remote I/O 6-9 Specif y the Sc an List A scan list is a map of the I/O devices being scanned by the scanner channel. F or the channel to communicate with the I/O devices con n ected to it, you must create a scan list .
Publicatio n 1785 -UM012D -EN-P - July 2005 6-10 Communicati ng wi th Remote I/O TIP If you need m ultiple updates to an I/O device during a n I/O scan, you can enter a logical address in the scan list more tha n one time . Do not assign the same partial or full rack address to mor e than on e channe l in scanner mo d e.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communicat i ng with Remote I/O 6-11 Communicating to a Remote I/O Node Adapter A scanne r cha nnel ex c hanges discrete data with remote I/ O node adapters lik e 1771-ASB modules via the re mote I/O buffer .
Publicatio n 1785 -UM012D -EN-P - July 2005 6-12 Communicati ng wi th Remote I/O T r o ub lesho otin g Remo te I/O Communi cation Difficu lties F ollow these step s to make sure the controller can communicate with devices on remote I/O links . 1. Put the controller in p rog ram mode .
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communicat i ng with Remote I/O 6-13 T ransferring Block Data In addition to discr ete data, the co ntroller can a lso ex change block dat a with remo te I/O .
Publicatio n 1785 -UM012D -EN-P - July 2005 6-14 Communicati ng wi th Remote I/O As shown in the previous figure, the contro ller has the following storag e areas for bloc k-transfers : Once a block-transfer to a slot comp letes, the controller checks th e queue to see if a block-transfer addressed to the slot is waiting .
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communicat i ng with Remote I/O 6-15 Block-T ransfer Minor Fault Bits Block-T ransfers of Remote I/O Dat a Bloc k-transfers of I/O data to remote I /O follo w these guidelines: • Block-transfer data ex change and the prog ram scan r un independently and conc urrently .
Publicatio n 1785 -UM012D -EN-P - July 2005 6-16 Communicati ng wi th Remote I/O The figure below shows the remote I/O b lock-transfer sequence. IMPOR TANT I f you sp lit r emote ra ck a ddresse s betw een sca nner chan nels, block-transfer s to lower prior ity scanner chann els do not fun ction pro perly .
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communicat i ng with Remote I/O 6-17 Block-T ransfer Sequence with Status Bi ts The following figure describes the different states of the block-transfer status bits. bit and starts the watchdog timer. I/O scanner ladder logic The processor sends the block-transfer request to the I/O scanner, sets the .
Publicatio n 1785 -UM012D -EN-P - July 2005 6-18 Communicati ng wi th Remote I/O B Sets the done .DN bit (13). Did the block-transfer complete without errors? yes no Sets the error .ER bit (12). Was the block-transfer a BTR? yes no Copies data from the active buffer to the block-transfer file in the data table.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communicat i ng with Remote I/O 6-19 F or a list o f bloc k-trans fer error code s , see the PL C-5 Programming S oftwa re Instruction Set Refer ence, publication 1785 -6.
Publicatio n 1785 -UM012D -EN-P - July 2005 6-20 Communicati ng wi th Remote I/O • When performing block-t ransfers (contr oller- resident lo cal or remot e I/O) in any PLC-5 controller, clear the output image table corresponding to th e block- transfer mo dule rack lo cation b efore ch anging to run mode.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communicat i ng with Remote I/O 6-21 • Do not pr og ra m II N or IOT instr uctions to a mo dule in t he same ph ys ical module g roup as a BT module unles s you know a bloc k-transf er is not in pro g ress .
Publicatio n 1785 -UM012D -EN-P - July 2005 6-22 Communicati ng wi th Remote I/O Rack Address This field indicates the rack number of the remote racks being scanned by t he scanner channel: can only s.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communicat i ng with Remote I/O 6-23 Monitoring messages Status Fiel d Location De sc ript ion Messages T ab (Messages = SDA messages + SDN m essages) Messages sent word 1 Di splays the number of messages sent by the channel.
Publicatio n 1785 -UM012D -EN-P - July 2005 6-24 Communicati ng wi th Remote I/O Addressing the I/O Stat us Fil e During pr ogram exec ution you can addres s w ords and fault bits with in the I/O status file. The following figure shows the ar r angem en t of the words in the I/O status f ile for a given remote or extended local I/O rack.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communicat i ng with Remote I/O 6-25 Bit Layout Diagr ams for th e First Word Allotted to a Remote I/O Rac k or an Exten ded -Local I/O Rack This Bit Corresp.
Publicatio n 1785 -UM012D -EN-P - July 2005 6-26 Communicati ng wi th Remote I/O Bit Layout Diagrams for the Second Word Allotted to a Remote I/O Rack or an Exten ded Local I/O R ack 00 01 02 03 04 05.
1 Publicatio n 1785-UM0 12D-EN-P - July 2005 Chapter 7 Communicating w ith a PLC-5 Adapter Cha nnel Using This Chapter This chapter explains how to configure the controller to communicate with an adapter channel: 1. Select which c hannel to configure as an adapter .
Publicatio n 1785 -UM012D -EN-P - July 2005 7-2 Communicati ng wit h a PLC-5 Ada pt er Chan nel Configuring Communication to a PLC-5 Adapter Channel Because a PLC-5 c ontroller adapter ch annel is more intelligent than a 1771-ASB module , data communication and configuration tasks are handled differently for adapter channels .
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communica ting with a PLC- 5 A dapter Ch anne l 7-3 Spec ify an Adap t er C hann el ’ s Commun i catio n Rate , Addr ess, and Ra ck Size Use this table to .
Publicatio n 1785 -UM012D -EN-P - July 2005 7-4 Communicati ng wit h a PLC-5 Ada pt er Chan nel In this Field Define By Doing the Following Diagnostic file The file containing the adapter channel’ s status information Cursor to the field and enter an integer file number (9-999).
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communica ting with a PLC- 5 A dapter Ch anne l 7-5 Specif y the Discret e T ran sfer Configu rati on Fil es The discrete transfer configuration files (outpu.
Publicatio n 1785 -UM012D -EN-P - July 2005 7-6 Communicati ng wit h a PLC-5 Ada pt er Chan nel Configure the discr ete transfer configuration f ile as an integer file. Although the PLC-5 cont roller allows you to use the input or output areas , reser ve these for rea l I/O on s canner c hannels .
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communica ting with a PLC- 5 A dapter Ch anne l 7-7 Discrete Data a nd Bloc k-T ran sfer Sta tus . 00 03 04 07 10 13 14 17 00 03 04 07 08 11 12 15 00 03 04 0.
Publicatio n 1785 -UM012D -EN-P - July 2005 7-8 Communicati ng wit h a PLC-5 Ada pt er Chan nel If data from the s uper visor y c ontroller is intended to control out puts of the adapter -mode controller channel, write ladder logic in th e adapter-mode controller to mo ve the data from its input destination f ile to its output image .
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communica ting with a PLC- 5 A dapter Ch anne l 7-9 T o crea te the discrete transfer configuration file s, use the adapter mode configuration scr een in your p rog ramming softwar e.
Publicatio n 1785 -UM012D -EN-P - July 2005 7-10 Communicati ng wi th a PLC-5 Ad apt er Cha nnel Progra mming Discrete T ransfers in Adapter Mode T yp ically , each output in str uction in one controller s hould hav e a corresponding input in str uction in the ot her contr oller .
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communicati ng with a PLC- 5 Ad apter Cha nnel 7-11 Configur e Bloc k-T r an sfer Requ ests T o conf igure b lock-transfers to adapter-mode controller channel, use the adapter mode configuratio n screen in your programming sof twar e.
Publicatio n 1785 -UM012D -EN-P - July 2005 7-12 Communicati ng wi th a PLC-5 Ad apt er Cha nnel EXAMP LE A block- transfer wr ite of 10 w ords fr om file 24, element 10 with BT control file for group.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communicati ng with a PLC- 5 Ad apter Cha nnel 7-13 Prog ram multiple bloc k-transfers to an adapter -mode controller ch annel by matc hing block- transfe r instru ctions in the super visor y controller to control files in the adapter .
Publicatio n 1785 -UM012D -EN-P - July 2005 7-14 Communicati ng wi th a PLC-5 Ad apt er Cha nnel If y ou want to transfer controller -reside nt local I/O data of the adapter mode controller ch annel t.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communicati ng with a PLC- 5 Ad apter Cha nnel 7-15 Examp l e B id i rec tional Re peati ng Bl ock T ransf er i n PLC-5/250 Supervisory Controller Effects of.
Publicatio n 1785 -UM012D -EN-P - July 2005 7-16 Communicati ng wi th a PLC-5 Ad apt er Cha nnel Each group/m odule th at is prog rammed as an ad apter channel block transfer uses one by te in the adapter channel’ s input destination file .
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communicati ng with a PLC- 5 Ad apter Cha nnel 7-17 Do not pro g ram a bl ock - tran sfer to g r oup 0 , mod ule 1 sinc e this area of the discrete transfer configuration file is used for communication status exc hanges between the super visor y contr oller an d the adap te r-mode controller channel.
Publicatio n 1785 -UM012D -EN-P - July 2005 7-18 Communicati ng wi th a PLC-5 Ad apt er Cha nnel W rite ladder logic in the super visor y cont rol l er to mo nito r the rack- f ault bi ts for the rack that the adapter-mode controller channel is emulating to deter mi n e the stat u s of the re mot e I/O li nk.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communicati ng with a PLC- 5 Ad apter Cha nnel 7-19 Monitoring Remote I/O Adapte r Ch an nels T o monitor c hannels th at are configur ed to support adapter mode, use the adapter mode status screen.
Publicatio n 1785 -UM012D -EN-P - July 2005 7-20 Communicati ng wi th a PLC-5 Ad apt er Cha nnel Note s.
1 Publicatio n 1785-UM0 12D-EN-P - July 2005 Chapter 8 Communicating w ith Extended-Local I/O Using This Chapter This chapter explains ho w to confi gure the controller t o commu nicate with extended-local I/O: 1. Configure channel 2 for extended-local I/O .
Publicatio n 1785 -UM012D -EN-P - July 2005 8-2 Communicati ng wit h Extended- Lo cal I/O Cabling The maximum cable length for an exten ded-local I/O system is 30.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communicat ing wit h Ext end ed-Local I /O 8- 3 PLC-5/40L Controller with 16-rack Addre ssing Capability (Split Betwe en Exten ded -Local I/O an d Remote I/O.
Publicatio n 1785 -UM012D -EN-P - July 2005 8-4 Communicati ng wit h Extended- Lo cal I/O • Y o u cannot configure more than one rac k to hav e t he same star ting rack num b e r a nd m o du le g r o u p ; th at is, you c ann ot us e cha ssi s t o ch ass is complementar y I/O .
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communicat ing wit h Ext end ed-Local I /O 8- 5 Discrete Da ta T ra nsfer The time that it takes to scan extend ed-local I/O chassis is added to the housekeeping time as sh own in the following figure.
Publicatio n 1785 -UM012D -EN-P - July 2005 8-6 Communicati ng wit h Extended- Lo cal I/O The time in ms that it takes to scan extended- local I/O chas sis depends o n the number o f 1771-ALX adapter modules and t he number of exte nded- local I/O racks .
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communicat ing wit h Ext end ed-Local I /O 8- 7 Calcul ating Bloc k-T ransfer Co mpletion T ime Y ou can calculate tw o types of bloc k-transf er timing: •.
Publicatio n 1785 -UM012D -EN-P - July 2005 8-8 Communicati ng wit h Extended- Lo cal I/O Example Calculatio ns: Here is an example sys tem that provides sample calculations of a w orst case bloc k-transfer completion time and the completion time of the modules in chas sis 2.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communicat ing wit h Ext end ed-Local I /O 8- 9 • If y ou are using block- transfer to a 2760-RB module located in the extended-local rack, make sure you do no t set the timeout bit in the bloc k-transfer control file .
Publicatio n 1785 -UM012D -EN-P - July 2005 8-10 Communicati ng wi th Extended - L ocal I/O How Chassis Siz e and Bac kplane Addressin g Determi ne the Q uantity of I/O Racks On the extended-local-I/O scan list, the actual chassis size and backplane addressing is displayed, not the rack size .
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communicati ng with Extende d-Local I/O 8-11 Keep the follo wing limitations in mind when creat ing/modifying your scan lis t: • A scan list o nly can ha ve 16 e ntries because on ly 16 adapters can b e on ch annel 2.
Publicatio n 1785 -UM012D -EN-P - July 2005 8-12 Communicati ng wi th Extended - L ocal I/O Use the follo wing table for information about creati ng/modifying y our scan list: Monitoring Extended-Loca.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communicati ng with Extende d-Local I/O 8-13 Status Fiel d Location Description Channel retry word 0 Displays the number of times extended local I/O scanner tried and failed to communicate with all adapters on the channel.
Publicatio n 1785 -UM012D -EN-P - July 2005 8-14 Communicati ng wi th Extended - L ocal I/O Not es.
1 Publicatio n 1785-UM0 12D-EN-P - July 2005 Chapter 9 Communicating w ith Devices on a D H+ Link Using This Chapter Selecting Devices That Y ou Can Connect Y ou can use a DH+ link for data trans fer to oth er PLC-5 contr ollers or higher level computers and as a link for prog ramming multiple PLC-5 controllers .
Publicatio n 1785 -UM012D -EN-P - July 2005 9-2 Communicati ng wit h D evices on a DH+ Link Devic es t hat Y ou Can Co nne ct Link Design Specify 1770-CD (Belden 9463) cable . Connect a DH+ netw o rk using a daisy ch ain or trunk line/drop line configu ration.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communicati ng with Devices on a DH + Link 9-3 F or proper oper ation, ter minate both ends of a DH+ link by using t he extern al resistors shipped with the prog rammable controller. Selecting either a 150 Ω or 82 Ω te r minator deter mines how many devices you can connect on a single DH+ link.
Publicatio n 1785 -UM012D -EN-P - July 2005 9-4 Communicati ng wit h D evices on a DH+ Link T o configure a c hannel to supp ort a DH+ link, use the DH + configuration screen in your programming softw are .
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communicati ng with Devices on a DH + Link 9-5 Using the Global Status Flag File Use the global st at us flag file to store tok e n pass da ta. This file stores a 16-bi t w ord of data for eac h station on the DH+ netw ork.
Publicatio n 1785 -UM012D -EN-P - July 2005 9-6 Communicati ng wit h D evices on a DH+ Link This proces s lets e ach station automatically see the newly updated data. Y ou can create ladder logic to monit or and interpret this data according to y our application.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communicati ng with Devices on a DH + Link 9-7 Monitoring DH+ Communication Channels Use the DH+ status screen in your prog r amming software to monitor ch annels that are configured to supp ort a DH+ link.
Publicatio n 1785 -UM012D -EN-P - July 2005 9-8 Communicati ng wit h D evices on a DH+ Link Monitoring Data S ent with Ack nowledg ment Status Fiel d Wo r d ( s) De scription Received 19 Number of error-free SDA messages that the s tation received.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communicati ng with Devices on a DH + Link 9-9 T r ansmit confirm 24 Number of SDA messages succes sfully sent to and acknowledged by the addressed station T.
Publicatio n 1785 -UM012D -EN-P - July 2005 9-10 Communicati ng wi th Devices on a DH+ Link Mo ni torin g D ata Se nt wit h out A c know led gme nt Status Fiel d Wo r d ( s) De scription Rece ived 35 .
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communic at in g with Devic es on a DH+ Link 9-11 Monitoring General S tatus Status Fiel d Wo r d ( s) De scription SDA or SDN t ransmit retry 28 T otal number of SDA or SDN messages that were re-tr ansmitted.
Publicatio n 1785 -UM012D -EN-P - July 2005 9-12 Communicati ng wi th Devices on a DH+ Link Estimating DH+ Link Performance Many factors affect the perf or mance o f your DH+ link, including: • node.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communic at in g with Devic es on a DH+ Link 9-13 Nod es Nodes affect transmission time in the followin g ways: • During on e complete tok en rotati on, each n ode on the DH+ link recei ves the token whe the r or not it has somethi ng to send .
Publicatio n 1785 -UM012D -EN-P - July 2005 9-14 Communicati ng wi th Devices on a DH+ Link The number of m es sag es a statio n has to send also af fec ts throughput time. F or exam ple, if a station has three messag es queued and a four th is enabled, the four th me ssag e may hav e to wait until the previous three are processed.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communic at in g with Devic es on a DH+ Link 9-15 In the following figure, station 4 has had time to process the messag e and generate a reply . How e ver , in , station 2 does not ha ve sufficient t ime to proc ess a M SG re pl y .
Publicatio n 1785 -UM012D -EN-P - July 2005 9-16 Communicati ng wi th Devices on a DH+ Link A vera ge DH+ Link Re sponse T im e T est Resu lts This section shows g raphically the r esu lts of testing performed on a DH+ link where the number of stations and words sent in the mess ag e varies .
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communic at in g with Devic es on a DH+ Link 9-17 The following figure shows the effect of a persona l computer on messag e resp onse time under var ious conf igurations . Application G uidelines Consider the following ap plication gu idelines when conf iguring a DH+ link for your sy stem.
Publicatio n 1785 -UM012D -EN-P - July 2005 9-18 Communicati ng wi th Devices on a DH+ Link Not es.
1 Publicatio n 1785-UM0 12D-EN-P - July 2005 Chapter 10 Communicating w ith Devices on a Serial Link Using This Chapter If you are usin g PLC-5 controllers in Super visor y Control and Data Acquisition (SCAD A) applications , see the SCAD A System Selection Guide, publication A G-SG001.
Publicatio n 1785 -UM012D -EN-P - July 2005 10-2 Communicati ng wi th Devices on a Serial Link Configuring the Controller Serial Port Channel 0 is the serial p ort and is configurable for RS-232C , RS-423, or RS-422A compatible commun ication. Use switch assembly SW2 to specify the serial p ort configuration.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communicati ng with Devices on a Ser ial Link 10-3 In syst em mode, y ou can send data to a device using: • the messag e (MSG ) instr uction; or • ASCII .
Publicatio n 1785 -UM012D -EN-P - July 2005 10-4 Communicati ng wi th Devices on a Serial Link Master Statio n to R emote Statio n Commun ication M ethods A PLC-5 ma ster statio n can commu nicate wit.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communicati ng with Devices on a Ser ial Link 10-5 Polling In active Priority Statio ns Through the c hannel conf iguration fea ture of y our programming sof tware , yo u can cho ose to poll one or all of th e inactiv e priority stations when the PLC-5 controller is in master mode on channel 0.
Publicatio n 1785 -UM012D -EN-P - July 2005 10-6 Communicati ng wi th Devices on a Serial Link Configuring Channel 0 Use switch as sembly SW2 controllers to specify RS232- C, RS422A (compatible), or RS423 communications for c hannel 0.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communicati ng with Devices on a Ser ial Link 10-7 This F iel d Specifies Configure b y Doing the Fol lowing Diagnostic file The file containing the channel’ s status information Enter an integer file number (10-999).
Publicatio n 1785 -UM012D -EN-P - July 2005 10-8 Communicati ng wi th Devices on a Serial Link Stop b it s Match the num ber of stop bits to the device with which you are communicating Select 1, 1.5, or 2. Control line S elect the mode in which the dri ver operates.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communicati ng with Devices on a Ser ial Link 10-9 Co nfigur e Ch anne l 0 a s a Slav e St ation T o configure channel 0 for DF1 slav e communication, use the system mode configuration scr een in your p rog ramming softwar e.
Publicatio n 1785 -UM012D -EN-P - July 2005 10-10 Communi cat in g w it h D e vi ces on a Se rial Link User mode char . The character for the mode att ention character (above) Enter a character . If the attenti on character you want to use is a control character , specify the ASCII equivalent.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communicat i ng with Devices on a Se rial L ink 10-11 RTS send delay The amount of time that elapses between the assertion of the RTS signal and the beg inning of the message transmission This time allows the modem to prepare to transmit t he message.
Publicatio n 1785 -UM012D -EN-P - July 2005 10-12 Communi cat in g w it h D e vi ces on a Se rial Link Configur e Cha nn el 0 as a Maste r Station T o conf igure channel 0 for DF 1 master communication, use the system mo de configuration scre en in your programming software .
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communicat i ng with Devices on a Se rial L ink 10-13 User mode char . The character for the mode attent ion character (above) Enter a valid attention character . If the attention character you want to use is a control character , specify the A SCII equivalent.
Publicatio n 1785 -UM012D -EN-P - July 2005 10-14 Communi cat in g w it h D e vi ces on a Se rial Link RTS off-delay The time delay between the time the end of the message trans mission and the RTS is de-asserted This time delay is a buffer to make sure that the modem has transmitted the message.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communicat i ng with Devices on a Se rial L ink 10-15 This F iel d Specifies Configure b y Doing the Fol lowing Master message transmit The current value of .
Publicatio n 1785 -UM012D -EN-P - July 2005 10-16 Communi cat in g w it h D e vi ces on a Se rial Link T o de fine a polling scheme using standard mode, y ou must specify the follo wing on the DF1 ma ster configura tion screen in your pr ogramming softwar e: The master station polls the slav e station in the followin g a definiti v e sequence: 1.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communicat i ng with Devices on a Se rial L ink 10-17 T o cre ate station lists , place eac h station address in an indi vidual w ord in a poll file (norm al and/or priori ty) star ting at w ord 2. The poll file lay out is as follows: T o plac e a station address in a poll file, do the following: 1.
Publicatio n 1785 -UM012D -EN-P - July 2005 10-18 Communi cat in g w it h D e vi ces on a Se rial Link Configure Channel 0 for U ser Mo de (ASCII P rotoco l) T o configure channel 0 for user mode, us e the user mo de configuration screen in y our programming softw are .
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communicat i ng with Devices on a Se rial L ink 10-19 User mode char . The character for the mode attent ion character (above) Enter a valid attention character . If the attention character you want to use is a control character , specify the A SCII equivalent.
Publicatio n 1785 -UM012D -EN-P - July 2005 10-20 Communi cat in g w it h D e vi ces on a Se rial Link Delet e mod e Select how the controller responds to a delete character . Select Ignore, CRT , or Printer . If you select Ignore, the controller ignores the delete character .
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communicat i ng with Devices on a Se rial L ink 10-21 Configur e Cha nnel 0 for a Communi cat ion Mo de Chan ge Y o u can configure channel 0 so that it switc hes from one communication mode to another upon receiving a control com mand.
Publicatio n 1785 -UM012D -EN-P - July 2005 10-22 Communi cat in g w it h D e vi ces on a Se rial Link Monitoring Channel 0 Stat us The channel 0 status screens disp lay the infor mation stored in the diagnostic file you specified when you configured channel 0.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communicat i ng with Devices on a Se rial L ink 10-23 Sy stem Mode (DF1 Master) Status Scree n Descr ip t io ns of Sy stem Mode Status Sc reen Fields Status .
Publicatio n 1785 -UM012D -EN-P - July 2005 10-24 Communi cat in g w it h D e vi ces on a Se rial Link Using the User M ode ( ASCII) St atus Display This s ection desc ribes the user-mode st atus data disp layed on t he user mode (ASCII) status sc reen in your pr og ramming sof tware.
1 Publicatio n 1785-UM0 12D-EN-P - July 2005 Chapter 11 Communicating w ith Devices on an Ethernet Net wor k Using This Chapter Media and Cabling Ether net is a local area network that provides communication between various devices at 10 Mbps . The physical communication media you use can be any standard 802.
Publicatio n 1785 -UM012D -EN-P - July 2005 11-2 Communicati ng wi th Devices on an Eth er net Networ k Assigning Y our IP Address Contact y our netw ork administrator or the Netw ork Infor mation Center for a unique IP address to assign t o your PLC-5/20E, -5/40E, o r 5/80E controller .
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communica ting wit h Devices on a n Ethernet Netw ork 11 -3 Y o u can manu ally configure channel 2 for Ethern et communication using your prog rammi ng sof tware over a DH+ or ser ial l i nk Enter the IP address and tog gle the BOOTP en ab le field to No .
Publicatio n 1785 -UM012D -EN-P - July 2005 11-4 Communicati ng wi th Devices on an Eth er net Networ k Ether net Ch annel 2 Configu ration Field s This F iel d Specifies Configure by Doin g the Fol lowing Diagnostic file The file containing the channel’ s status information.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communica ting wit h Devices on a n Ethernet Netw ork 11 -5 Using BOOTP to En ter Config uration Informat ion BOOTP is a protocol that will supply t he controller with configuration infor mation at power - up .
Publicatio n 1785 -UM012D -EN-P - July 2005 11-6 Communicati ng wi th Devices on an Eth er net Networ k T o enable BOO TP , use the Ethernet channel 2 configuration screen in your prog ramm i ng sof tware. Sp ecif y YE S for BOOTP Enable . Specify furt her configuration infor m ation using this screen.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communica ting wit h Devices on a n Ethernet Netw ork 11 -7 Editing the B OOTPT AB Configu ration File Y o u must edit the BOOTPTAB file, whic h is an ASCII text file, to include the name, IP address , and hardware address for each Ether net PLC-5 contro ller you w ant the server to boot.
Publicatio n 1785 -UM012D -EN-P - July 2005 11-8 Communicati ng wi th Devices on an Eth er net Networ k C. Replace xxyy w i t h t h e l a s t f o u r d i g it s o f t h e h a r d w a r e a d d r e s s. U s e o n l y va lid hexadecimal digits (0-9, A-F); do n ot use the h yphens that separate the numbers .
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communica ting wit h Devices on a n Ethernet Netw ork 11 -9 Using Advanced Ethernet Functions Configure the following adv anced communication characteristics.
Publicatio n 1785 -UM012D -EN-P - July 2005 11-10 Communicating with Dev ice s on an Ethernet Net w or k In most cases, y ou can leav e the broadcast address at the default setting . Configure this Field By Doing the Following Broadcast Address Cursor to the field, and enter an add ress of the following form: a.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communicati ng with Devices on an Ethernet Ne twork 11-11 Using Subnet M asks and Gate way s If y our netw ork is div ided into subnetw orks that use gatewa .
Publicatio n 1785 -UM012D -EN-P - July 2005 11-12 Communicating with Dev ice s on an Ethernet Net w or k Manually Confi guri ng Ch annel 2 for Contr ollers on Su bnets If you are man ually configuring.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communicati ng with Devices on an Ethernet Ne twork 11-13 Using BOOTP to Co nfigure Ch annel 2 for Co ntrollers o n Subnet s Configure the BOOTPTAB file according to the subnet mask and g ateway address for each PLC-5E contro ller on the link.
Publicatio n 1785 -UM012D -EN-P - July 2005 11-14 Communicating with Dev ice s on an Ethernet Net w or k The BO OT PTAB files that corresp o nd to this example looks like: # Legend: gw -- gateways # h.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communicati ng with Devices on an Ethernet Ne twork 11-15 Using Do main Na me Service DNS allows an Internet Protocol (IP) address in symbolic for m to be conv er te d into the equivalent n umeric IP address.
Publicatio n 1785 -UM012D -EN-P - July 2005 11-16 Communicating with Dev ice s on an Ethernet Net w or k Using the Embedded W eb Serv er T o use the embedded web server : 1. Go online at your controller IP address (for exam ple, www .cle.ab .com). The 1785-ENET Ether n et Prog rammable Controllers main page appears: 2.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communicati ng with Devices on an Ethernet Ne twork 11-17 The TCP/IP Configur ation page appears and displa ys TCP/I P param et ers: 4. At th e bot to m of the T CP/ IP co nf igu ratio n pag e, click on Diagnostic Information.
Publicatio n 1785 -UM012D -EN-P - July 2005 11-18 Communicating with Dev ice s on an Ethernet Net w or k This pag e displays general me ssaging statistics: Use the info r mation on this page when t roubleshootin g the netw ork.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communicati ng with Devices on an Ethernet Ne twork 11-19 Details of each counter on the General Ether net Counters pa ge are descr ibe d in the follo wing table . 6. At the b ottom of the General Ethernet Counte rs page, clic k on Diagnostic Information to return to that page.
Publicatio n 1785 -UM012D -EN-P - July 2005 11-20 Communicating with Dev ice s on an Ethernet Net w or k The se cond list contains Application Level Statistics .
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communicati ng with Devices on an Ethernet Ne twork 11-21 Each file contains a h yperlink that takes y ou to the specific Data T able Monitor page for th at file . 8. On the bo ttom of the D ata T able Memory Map page, c lick on DT Monitor.
Publicatio n 1785 -UM012D -EN-P - July 2005 11-22 Communicating with Dev ice s on an Ethernet Net w or k Generat ing Us er Pr ovided Web Page s Y ou can use a text edi tor to generate up to 16 user pro vided w eb pages . T he pages are sto re d in consecutiv e ASCII files of the PLC-5 controller .
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communicati ng with Devices on an Ethernet Ne twork 11-23 • yo u can reference other WWW s er vers and dis play images from o ther sources without affectin.
Publicatio n 1785 -UM012D -EN-P - July 2005 11-24 Communicating with Dev ice s on an Ethernet Net w or k HTML Examples - the fo llowi ng exa mp les s hows an HTM L cod e se g me nt in bold wit h a sho.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communicati ng with Devices on an Ethernet Ne twork 11-25 Re ferencing Data T able Memor y - the D ata T able locations in the Custom Data Table M on itor are refe re nce d by pla cing cus tom tag s i nto t he AS CII f ile of the controller .
Publicatio n 1785 -UM012D -EN-P - July 2005 11-26 Communicating with Dev ice s on an Ethernet Net w or k Fixed display for m ats - float files are alwa ys output in floatin g point for mat (“C”%g fo r m at). String files are always output as a n ull ter minated text string .
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communicati ng with Devices on an Ethernet Ne twork 11-27 7. Click on the User Provided Pages link to vi ew the User Provided P ag es menu, as shown in the following example: 8. Click on the User Provided Page # to displa y that specific pag e.
Publicatio n 1785 -UM012D -EN-P - July 2005 11-28 Communicating with Dev ice s on an Ethernet Net w or k 10. Select the User Provided Page #4 to displ ay the f oll owin g screen: 11. Click on [ +]A22 to displa y the following scre en: Y o u can chang e the radix display of N7:0 through N7:2: 1.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communicati ng with Devices on an Ethernet Ne twork 11-29 T o see th e Samp le Extended F o r mat pag e: 1. Go back to the Custom D ata T able Monitor page.
Publicatio n 1785 -UM012D -EN-P - July 2005 11-30 Communicating with Dev ice s on an Ethernet Net w or k Keep in mind these conside rations: • RSLogix programming softw are on ControlNet and D H+ links cannot see the controllers on an Ethern et link.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communicati ng with Devices on an Ethernet Ne twork 11-31 Scenario Multihop P ath originati ng PLC-5 with Ethernet interface to ControlLogix co ntroller in c.
Publicatio n 1785 -UM012D -EN-P - July 2005 11-32 Communicating with Dev ice s on an Ethernet Net w or k Comparing M ultiho p and Non -Mu ltih op Me ssag es Over E thernet When an outbound connection's inactivity timer has expired and a MSG is pending on that conn ection, the MSG receiv es an error .
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communicati ng with Devices on an Ethernet Ne twork 11-33 Interpreting Error Codes When the c ont ro ller detects an er ror durin g the transf er of messag e data, the controller sets the .
Publicatio n 1785 -UM012D -EN-P - July 2005 11-34 Communicating with Dev ice s on an Ethernet Net w or k Interpreting Ethernet Status Data Monit or t he st atus of E t her n et PLC -5 c ontr olle rs by acce ssin g the Ethe r net ch annel 2 status screen of y our programming sof tware .
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communicati ng with Devices on an Ethernet Ne twork 11-35 Monitor ing ge neral Ethernet stat us Status Fiel d Bytes Display s the Number of In Octets 28-31 O.
Publicatio n 1785 -UM012D -EN-P - July 2005 11-36 Communicating with Dev ice s on an Ethernet Net w or k Monitor ing Et hern et comm and s Monitoring Ethern et replies Status Fiel d Bytes Display s th.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Communicati ng with Devices on an Ethernet Ne twork 11-37 Ethernet PLC-5 Performance Considerations Actual pe rfor mance of an Ethernet PLC-5 controller v ar.
Publicatio n 1785 -UM012D -EN-P - July 2005 11-38 Communicating with Dev ice s on an Ethernet Net w or k Perfor mance: Ether net PLC-5 Contro ller to Etherne t PLC-5 Con trol ler PLC-5 Contro ller T y.
1 Publicatio n 1785-UM0 12D-EN-P - July 2005 Chapter 12 Protecting Y our Programs Using This Chapter R ead this chapter for an over view of: • defining privilege classes • assigning a privilege cl.
Publicatio n 1785 -UM012D -E N -P - July 2005 12-2 Protect ing Y our Pr ogr ams About Passwords and Privileges The passw ords and pri vileges function supported by enhanced and Ethernet PLC-5 controllers helps you protect y our prog ram s by restricting access to controller files and function s .
Publicatio n 1785-UM0 12D-EN-P - July 2005 Protecti ng Y our Prog rams 12 -3 • Node C has Class 3 access to channel 2A, based on the node privilege the cont roller has assigned it F ollow these guid.
Publicatio n 1785 -UM012D -E N -P - July 2005 12-4 Protect ing Y our Pr ogr ams F or exam ple, set your pri vilege clas ses as follows on the c hannel pri vilege s screen of your programming software .
Publicatio n 1785-UM0 12D-EN-P - July 2005 Protecti ng Y our Prog rams 12 -5 Assigning Read/Write Privileges to a Program File Y o u can ass ign read and write priv ileges for each progr am f ile in a controller . These privileges limit the access o f users to view or change your prog ram files .
Publicatio n 1785 -UM012D -E N -P - July 2005 12-6 Protect ing Y our Pr ogr ams Not es.
1 Publicatio n 1785-UM0 12D-EN-P - July 2005 Chapter 13 Programming Co nsiderations Using This Chapter Forc ing F orcing I/O lets you turn specific input and output bit s on or off for testing purposes . F orcing bits on or off or forcing SF C transitions lets y ou simula te oper atio n or c o ntr ol of a d evi ce .
Publicatio n 1785 -UM012D -EN-P - July 2005 13-2 Programmin g Con sid eratio ns With the co ntroller- resident lo cal rack s et for 1/2-slo t addressing, you can not force the input bits for the upper w ord of any slot that is empty or that ha s a n 8-point or 16-point I/ O module .
Publicatio n 1785-UM0 12D-EN-P - July 2005 Progr ammin g Conside ratio ns 13-3 The 1771 read command type of the CI O instruction operates in the same manner as the BTR instruction; the 1771 write command type of the CIO instr uction operates in the s ame mann er as the BTW instr u ction.
Publicatio n 1785 -UM012D -EN-P - July 2005 13-4 Programmin g Con sid eratio ns F or BTR instructions using non-c onfigured da ta table s , the .DN b it indicates when data is v alid in the BTR data file. When you configure files in the extended force con figuration table, the .
Publicatio n 1785-UM0 12D-EN-P - July 2005 Progr ammin g Conside ratio ns 13-5 Using Prote ct ed Cont rol lers If you are using a PLC-5 protected controller, y ou must configure forcing online since, b y their design, protected controllers cannot download forcing operations .
Publicatio n 1785 -UM012D -EN-P - July 2005 13-6 Programmin g Con sid eratio ns Step 1 - S elect Which Group o f Data Y ou Want to Forc e Y ou also encounter this error if you try to transfer bloc k-transf er data that crosses the forcible ran g e you configured in the extended force configuration tabl e.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Progr ammin g Conside ratio ns 13-7 Step 2 - Use the Programming S oftware t o Enter or Ed it the Data Y ou Want to Force in the Exte nded Force Conf iguratio n T able The extended force co nfiguration table lets you specify as many as four g roups of bloc k-transfer data w ords to force .
Publicatio n 1785 -UM012D -EN-P - July 2005 13-8 Programmin g Con sid eratio ns Step 3 - Use the Programming Soft ware to E nter Force V alues for the Spec ified Data T abl e Files The block-transfer forc ing screens include a fu nction that lets you change the radix among bina r y , octal, HEX/BCD , and AS CII.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Progr ammin g Conside ratio ns 13-9 T o ensu re th at the receiv ed BTR data table file has been properly updated before y ou use the data, do t he following: 1. Enable the in put conditions of the BTR rung .
Publicatio n 1785 -UM012D -EN-P - July 2005 13-10 Programming Consi der at ions 4. En s u r e t h a t d a ta d o e s n o t c ha n g e in the block-tr ansfer da ta table output file until the BTW is complete .
Publicatio n 1785-UM0 12D-EN-P - July 2005 Progra mming C onsidera tions 13-11 Decid ing When to Use Sp ec ial Routin e s Priority Scheduling for Interrupts and MCPs PLC-5 controllers prioritize when fault routines , inter r upts , and main control prog rams are executed.
Publicatio n 1785 -UM012D -EN-P - July 2005 13-12 Programming Consi der at ions This scheduling deter m in es what controls the prog ram execution path. F or example, if a PII is curr ently ex ecuting, it cannot be inter r upt ed by an STI until the PII is complete d (since the PII has scheduling priori ty over the STI).
Publicatio n 1785-UM0 12D-EN-P - July 2005 Progra mming C onsidera tions 13-13 Completed State Program has completed execution or has not yet started execution Ready State Program would be executing i.
Publicatio n 1785 -UM012D -EN-P - July 2005 13-14 Programming Consi der at ions Influencing Priority Scheduling Use the UID (us er interr upt disable) and UIE (user in ter r upt enable) instructions to influence user program scheduli ng .
Publicatio n 1785-UM0 12D-EN-P - July 2005 Progra mming C onsidera tions 13-15 Defining and Programming Interrupt Routines F or infor mation about configuring and programming these routines, see the a.
Publicatio n 1785 -UM012D -EN-P - July 2005 13-16 Programming Consi der at ions Not es.
1 Publicatio n 1785-UM0 12D-EN-P - July 2005 Chapter 14 Preparing Power -Up Routines Using This Chapter Setting Power -Up Protection Y o u can configure your controller so th at if a power -los s is experienced while in run mode, the contr oller do es not come bac k up in run mode.
Publicatio n 1785 -UM012D -EN-P - July 2005 14-2 Prepari ng Power-Up Rout ine s Allowing or Inhibiting Star tu p Major fault bit S:11/5 controls whether y ou can po wer up the c ontroller in run mode after a loss of pow e r . Do not confuse thi s bit with user control bit S:26/1.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Prepar i ng Power-Up Routines 14-3 T o set and rese t bit s: 1. Cursor t o the bit locati on. 2. Set by e nte rin g 1; res e t th e bit by ente ri n g 0. The above table describes the possible start-up ro utines .
Publicatio n 1785 -UM012D -EN-P - July 2005 14-4 Prepari ng Power-Up Rout ine s Not es.
1 Publicatio n 1785-UM0 12D-EN-P - July 2005 Chapter 15 Preparing Fault Routines Using This Chapter Understanding the Fault Routine Concept F ault routines execute when a PLC-5 controller encounters a major fault durin g program exe cution. Use a fault routine to specify how y ou want the controller to respond to a major fault.
Publicatio n 1785 -UM012D -EN-P - July 2005 15-2 Prepari ng Faul t Routines • returns to the cur rent ladder prog ram file if the contr oller can rec ov er from t he f a u lt • enters fault mode i.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Preparing Fa ult Ro ut ines 15-3 T o dec ide how to set this switch, evaluate ho w the machines in your process will be affected by a fault.
Publicatio n 1785 -UM012D -EN-P - July 2005 15-4 Prepari ng Faul t Routines The outputs in the faulted rack remain in their last state or they are de-ener gized, ba sed on how you set the last state switch in the I/O chassis .
Publicatio n 1785-UM0 12D-EN-P - July 2005 Preparing Fa ult Ro ut ines 15-5 T o define a c ontrol ler fau lt routin e: F or more info r mation about fault codes , see the docume ntation for your prog ramm i ng sof tware. Defining a W atchdog T imer The watch dog timer (S:28) monit ors the pro g ram scan.
Publicatio n 1785 -UM012D -EN-P - July 2005 15-6 Prepari ng Faul t Routines Av oiding Mu ltiple Watchdog Faults If you encounter a memor y loss fault or wa tchdo g major fault , it ma y be because multiple wa tchdog faults occurred while the controller w as busy ser vicing a ladder-related major fault.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Preparing Fa ult Ro ut ines 15-7 Setting an Alarm If you need an alarm to signal the occur rence of a major fault, put this r ung first in your fault routine program: and combine it with a c ounter . Y ou can also set an ala r m in y our fault routine to signal when the fault routine clears a major fault.
Publicatio n 1785 -UM012D -EN-P - July 2005 15-8 Prepari ng Faul t Routines 6. If the controller finds a ma tch, the FSC instr uction sets the f ound (.FD) bit in the specified control str ucture. 7. Use a MO V instr uction to clear the fault in S:11.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Preparing Fa ult Ro ut ines 15-9 F ollow these guidelines when creating fault routines: • Store initial conditio ns and reset other data to ac hiev e an orderly start-up later . • Monitor th e shutdown of critical o utputs .
Publicatio n 1785 -UM012D -EN-P - July 2005 15-10 Preparing Fault Rou tines Using Ladder Logi c to Recover from a Fault If you hav e the appropr iate fault routine and ladder logic to perfor m an orderly shutdown of the system, you may w ant to configure an I/O ra ck fault as a minor f ault.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Prepar i ng Fault Rou tines 15-11 Block-T ransfers in Fa ult Routin es If the controller r uns a fault routine that contains block-transfer instr u ctio ns ,.
Publicatio n 1785 -UM012D -EN-P - July 2005 15-12 Preparing Fault Rou tines Monitoring Major/Min or Faults and Fault Codes When a fault occurs, the controller status screen in your prog ramming softw are d ispla ys pr ogram file and rung number indicato rs that poin t to where the fault occur re d.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Prepar i ng Fault Rou tines 15-13 F or a description of t he minor faults in w ord 1 (S:10) and w ord 2 (S:17), see Appendix B . Monitoring Status Bi ts T w o type s of status bit s displa y inform ation about y our system: globa l status bits and multip le chassis status bits .
Publicatio n 1785 -UM012D -EN-P - July 2005 15-14 Preparing Fault Rou tines Not es.
1 Publicatio n 1785-UM0 12D-EN-P - July 2005 Chapter 16 Using Main Control Programs Using This Chapter Selecting Main Control Programs Y ou can hav e as many as 16 contro l programs acti ve at one time . Each of thes e pr og rams i s c a lled a “ma in c o ntr ol pr og ram” ( M CP ).
Publicatio n 1785 -UM012D -EN-P - July 2005 16-2 Using M ain Con trol Pro grams Understanding How the Controller Interprets MCPs The MCPs are scheduled to ex ecute in the order in whic h you specify on t he Crocessor Co n figuration screen.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Using Ma in Contr ol Progra ms 16-3 Configuring MCPs Y o u configure MCPs on the con t roller configuration screen in your prog ramm i ng sof tware. If the MCP is a Th e Fol l o wing Occu r s: Ladder -l ogic program 1.
Publicatio n 1785 -UM012D -EN-P - July 2005 16-4 Using M ain Con trol Pro grams In this Fi eld Do the Following Status File Program file Specify the program file numbers for MCPs A-P and the order in which the MCPs should be run.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Using Ma in Contr ol Progra ms 16-5 Monitoring MCPs The prog r am s can times for each MCP are stored in the controller status file, including the previous and maximum scan time .
Publicatio n 1785 -UM012D -EN-P - July 2005 16-6 Using M ain Con trol Pro grams Not es.
1 Publicatio n 1785-UM0 12D-EN-P - July 2005 Chapter 17 Using Se lecta b le T imed Interrupts Using This Chapter Using a Select able T imed Interrupt A selectable timed int er r upt (STI) tells the contr oller to periodically interr upt program ex ecution (due to ela psed time) t o r un an STI program once to completion.
Publicatio n 1785 -UM012D -EN-P - July 2005 17-2 Using Selec table T imed Inter rupt s Online ed iting affects the performance of an STI routine . T he STI cannot interr upt the controller while it is mana ging its memory due to the online edits being made .
Publicatio n 1785-UM0 12D-EN-P - July 2005 Using Se lect abl e T i med In terru pts 17-3 The block-tr ansfers in an STI should on ly be betwe en the controlle r and local I/O . Re mote bloc k-transf er instructio ns in an STI c ause the controller to resume ex ecuting the user program while waiting for the block-tr ansfer to complete .
Publicatio n 1785 -UM012D -EN-P - July 2005 17-4 Using Selec table T imed Inter rupt s F or exam ple, y ou could enter a 7 in S:31 and a 15 in S:30. T his causes the controller to execute ladder file 7 ev er y 15 ms. Y o u can use only one STI at any one time.
1 Publicatio n 1785-UM0 12D-EN-P - July 2005 Chapter 18 Using Processor Input Interrupts Using This Chapter Using a Processor Input Interrupt A processor input inter r up t (PII) specifies when an event-driv en input causes the controller to int err upt prog ram execution and r un a PII prog ram file once to completion.
Publicatio n 1785 -UM012D -EN-P - July 2005 18-2 Using Proces sor Input Int er r upts Writing PII Ladder Logic F ollow these r ules when you write ladder logic for a PII. • Store the PII program in a ladder file. • Make sure t he input condition (to cause the interr upt) doesn ’ t occur faster th an the ex ecution time of the PII p rog ram.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Using P ro cessor Input In terru pts 18-3 As sho wn in the fo llowing figur e, the P II program must: • count 10 0 tablets per g roup • set an outp ut at the 100th tablet • reset the coun ter for the n ext g roup The output imag e bit remains s et until the next count.
Publicatio n 1785 -UM012D -EN-P - July 2005 18-4 Using Proces sor Input Int er r upts PII configuration changes are not put into effect until the controller g oes from prog ram to r un or t est m ode. Design Conside rati ons Consider the following guidelines when planning PIIs .
Publicatio n 1785-UM0 12D-EN-P - July 2005 Using P ro cessor Input In terru pts 18-5 Defining a Controller Input Interrupt T o define a PII, us e the contro ller configuration s creen in y our programming software.
Publicatio n 1785 -UM012D -EN-P - July 2005 18-6 Using Proces sor Input Int er r upts Monitoring Controller Input Interrupts Use the controller st atus scree n in your programming softwa re to monito r PIIs.
1 Publicatio n 1785-UM0 12D-EN-P - July 2005 Appendix A Sy stem Specifications Controll er Specificat ions F or all controller-related specifications , please refer to the related installation ins tr .
Publicatio n 1785 -UM012D -EN-P - July 2005 A-2 Syste m Specif icatio ns Memory and Channe l Spec ificati ons Controller/ Cat. No. Maximum User Memo ry Wor ds T otal I/O Maximum (Any M i x) T ypes of .
Publicatio n 1785-UM0 12D-EN-P - July 2005 Sys tem Spe cificat ions A-3 PLC-5/60 (1785-L60B) 64 K (2) 3072 ( any mix) or 3072 in + 3072 out (complementary) 4 DH+/Remote I/O (Adapter or Scanner) 1 seri.
Publicatio n 1785 -UM012D -EN-P - July 2005 A-4 Syste m Specif icatio ns Battery Speci fica tions Enhanced and Ethernet PLC-5 programmable controllers use 1770-XY C batt e r ies t hat c o nt a in 0.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Sys tem Spe cificat ions A-5 Area Desc ri ption ControlNet PLC-5 controllers E EPROM memory cannot be loaded to a non-Control Net PLC-5 controller if the EEPROM was saved on a ControlNet PL C-5 controller .
Publicatio n 1785 -UM012D -EN-P - July 2005 A-6 Syste m Specif icatio ns Not es.
1 Publicatio n 1785-UM0 12D-EN-P - July 2005 Appendix B Processor Status File Processo r status data is st o red in data f ile 2 . S:0 - S:2 IMPOR TANT F or more info r mation about any of these topics, see the descr ipti on in this manual or the doc u me nt ati o n fo r your prog ramming soft ware.
Publicatio n 1785 -UM012D -EN-P - July 2005 B-2 Proce ssor St atus Fi le S:2Switch setting inform ation S:2/00 through S:2/05 Channel 1A DH+ station number S:2/06 Channel 1A DH+ baud rate 057.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Processor St at us Fi le B-3 S:3-10 This Word Stores S:3 t o S :6 Active Node table for c hannel 1A Wor d Bi ts D H+ Station # 30-1500-17 40-1520-37 50-1540-.
Publicatio n 1785 -UM012D -EN-P - July 2005 B-4 Proce ssor St atus Fi le S:11 This Word Stores S:11major fault word S:11/00 Corrupted program file (codes 10-19). See m ajor fault codes (S:12). S:11/01 Corrupted address in l adder program (codes 20-29).
Publicatio n 1785-UM0 12D-EN-P - July 2005 Processor St at us Fi le B-5 S:12 This word stores the following fault codes: This Fault Code Indicates th is Fault And the F ault Is 00-09 Reserved for user -defi ned fault codes.
Publicatio n 1785 -UM012D -EN-P - July 2005 B-6 Proce ssor St atus Fi le 30 Y ou tried to jump to one too many nested subroutine files Non-recoverable The fault routine will be executed but cannot clear major fault bit 2.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Processor St at us Fi le B-7 70 The controller detected duplicate labels Non-recoverable 71 The controller tried to s tart an SFC subchart that is already ru.
Publicatio n 1785 -UM012D -EN-P - July 2005 B-8 Proce ssor St atus Fi le 90 Sidecar module extensive memory test failed. Call your Allen-Bradley representative for servic e Recoverable 91 Sidecar modu.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Processor St at us Fi le B-9 S:13-S:24 This Word : Stor es S:13 Program file where fault occurred S:14 Rung number where fault occurred S:15 VME status file S:16 I/O status File S:17Minor fault (word 2) See also S: 10.
Publicatio n 1785 -UM012D -EN-P - July 2005 B-10 Processor Status File S:26-S:35 This Word Stores S:26User control bits S:26/00 Restart/continuous SFC: when reset, co ntroller restarts at fi rst step in SFC.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Processor St at us Fi le B-11 S:36-S:78 IMPOR TANT Sett ing inhibit bits in the proc e ssor status file (S:27, S:33, o r S:35) does not update inhibit bits in the I/O stat us file.
Publicatio n 1785 -UM012D -EN-P - July 2005 B-12 Processor Status File S:79-S:127 S:68 Installed m emory card type: 0 - No memory card instal led 1 - 1785-ME16 2 - 1785-ME32 3 - 1785-ME64 4 - 1785-ME1.
1 Publicatio n 1785-UM0 12D-EN-P - July 2005 Appendix C Maximizing Sy stem Performance Using This Chapter F o r infor mation about the time that it takes the controller to execute a specific inst r uction, s ee Appendix D .
Publicatio n 1785 -UM012D -EN-P - July 2005 C-2 Maximi zing S ystem Pe rforman ce Effects o f Fals e Logic vers us T rue Logic o n Log ic Scan T ime The r ung belo w—which c hang es states from one pr ogram scan to the next— will c hange your scan time by about 400 µ s.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Maximizing Syst em Per f or m anc e C-3 If y o u us e subr out ines , program scan times c an v ar y by the s can t ime of entir e logic files .
Publicatio n 1785 -UM012D -EN-P - July 2005 C-4 Maximi zing S ystem Pe rforman ce Because the firs t prog ram scan takes 28 ms , the STI actually occurs 12 ms into the second program scan (28 + 12 = 40, whic h is the time fo r the second STI to occur).
Publicatio n 1785-UM0 12D-EN-P - July 2005 Maximizing Syst em Per f or m anc e C-5 Put ting Bloc k-T ransfer Modu les i n Co ntro ller -Resi dent Chas sis Because controller-resident racks cannot be u.
Publicatio n 1785 -UM012D -EN-P - July 2005 C-6 Maximi zing S ystem Pe rforman ce Input and Output Modules Delay All input and o utput modules ha ve a “dela y time, ” whic h is the time that it tak es the mo dule to trans fer information to/from the I/O bac kplane t hrough the I/O module t o/from the field device .
Publicatio n 1785-UM0 12D-EN-P - July 2005 Maximizing Syst em Per f or m anc e C-7 Thes e thr ee f act ors a ffe ct the re mote I/O s can t ime: • communication rate • number o f rack entries • .
Publicatio n 1785 -UM012D -EN-P - July 2005 C-8 Maximi zing S ystem Pe rforman ce Block-T ransfer s A bloc k-tr a nsf er is a n inte rr uption of the nor mal remote I/ O sc an in orde r to transfer a block of data to a specific I/O m odule.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Maximizing Syst em Per f or m anc e C-9 Calculatin g Worst-Case Remote I/ O Scan T ime Since it is impossible to predict within whic h remo te I/O sc an a block-transfer will occur , you only can calculate the wo rst-case rem o te I/O scan time.
Publicatio n 1785 -UM012D -EN-P - July 2005 C-10 Maximizing System Per formance Howev er , if rac k 2 has the most time-critical I/O , use the configurable scan list to specify: rack 1 rack 2 rack 3 rack 2 rack 4 rack 2 Using this scan list, rack 2 is scanned ev e r y other rack.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Maximizi ng Sy stem Perfor mance C-11 T o optimize your system layout for bloc k-data transfers , use an arr angemen t similar to the follo wing: Controller T ime The con trolle r time is the time needed to process the inputs and set the corr esponding outputs .
Publicatio n 1785 -UM012D -EN-P - July 2005 C-12 Maximizing System Per formance The worst-case controller time is: F or a 3-ra ck system with a 20 m s pro g ram sca n, the worst- case cont rolle r tim e is: 10 + 20 + 20 + (0.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Maximizi ng Sy stem Perfor mance C-13 Th e am ou nt of tim e th at th e me ssag i ng an d block - tra n sfers can be de layed i s proportional to the size (K wo rds) of th e ladder fil e .
Publicatio n 1785 -UM012D -EN-P - July 2005 C-14 Maximizing System Per formance Using Program Control Instructions Scan time can increa se based on how y ou use JMP/LB L instr uctions and FOR/NXT in str uc tions .
1 Publicatio n 1785-UM0 12D-EN-P - July 2005 Appendix D Instruction Set Quick Reference Using This Chapter If Y ou Want t o R ead About Go to P age Relay in s tru cti o n s D-2 T imer i nstructions D-.
Publicatio n 1785 -UM012D -EN-P - July 2005 D-2 Instruct ion Set Quick R eference Relay Instructio ns Instruction De sc ripti on Examine On XIC Examine data table bi t I:012/07, which corresponds to ter minal 7 of an input module in I /O rack 1, I/O group 2.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Instruction S et Quic k Referenc e D-3 T imer Instructions Instruction De scri pti on T imer On Delay TON Status Bits: EN - Enable TT - T imer T iming DN - Done If the input conditions go true, timer T4:1 starts inc rementing in 1-second intervals.
Publicatio n 1785 -UM012D -EN-P - July 2005 D-4 Instruct ion Set Quick R eference Counter Instru ctions Instruction De sc ripti on Retentive T imer On RTO Status Bits: EN - Enable TT - T imer T iming DN - Done T ime r Reset RES If the input c onditions go true, timer T4: 1 is reset.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Instruction S et Quic k Referenc e D-5 Compare Instructio ns Count Down CTD Status Bits: CU-Count Up CD-Count Down DN-Count Down done OV-Overflow UN-Underflo.
Publicatio n 1785 -UM012D -EN-P - July 2005 D-6 Instruct ion Set Quick R eference Instruction Description Compare CMP If the expression is true, this i nput instruction is true.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Instruction S et Quic k Referenc e D-7 Compute Instru ctions Instruction De scri pti on Compute CPT Arc c osin e ACS Addition ADD CPT COMPUTE Dest Express io.
Publicatio n 1785 -UM012D -EN-P - July 2005 D-8 Instruct ion Set Quick R eference Arc si ne ASN Arc tangent AT N Average AV E Status Bits: EN - Enable DN - Done bit ER - Error Bit Instruction De sc ripti on ASN ARCSINE Source Dest F8:17 F8:18 0.7853982 0.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Instruction S et Quic k Referenc e D-9 Clear CLR Cosin e COS Instruction Description Division DIV Instruction De scri pti on CLR CLR Dest D9:34 0000 When the input conditions are true, clear decimal file 9, word 3 (set to zero ).
Publicatio n 1785 -UM012D -EN-P - July 2005 D-10 Inst ruct ion Se t Quick Re fe r ence Natural log LN Multi ply MUL Instruction Description LN NA TURAL LOG Source Dest N7:0 F8: 20 5 1.609438 When input conditions go true, take the natural log of the va in N7:0 and store the result in F8:20.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Instruction Set Quick Reference D-11 Negate NEG Sine SIN Square Root SQR Instruction Description NEG NEGATE Source N7:3 3 Dest N7:12 -3 sets if the op eratio.
Publicatio n 1785 -UM012D -EN-P - July 2005 D-12 Inst ruct ion Se t Quick Re fe r ence Sort SRT Status Bits: EN-Enable DN-Done Bit ER-Error Bit Standard Deviation STD Status Bits: EN - Enable DN - Don.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Instruction Set Quick Reference D-13 Instruction De scri pti on Subtract SUB T angent TA N X to the power of Y XPY SUB SUBTRACT Source A Source B Dest N7:3 N.
Publicatio n 1785 -UM012D -EN-P - July 2005 D-14 Inst ruct ion Se t Quick Re fe r ence Logical Instruc tio ns Instruction De sc ripti on AND NOT Operation OR Exclusive OR XOR AND BITWIS E AND Source A.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Instruction Set Quick Reference D-15 Conv ersion Inst ruction s Instruction De scri pti on Convert from BCD FRD Convert to BCD TOD Convert to Degrees DEG FRD.
Publicatio n 1785 -UM012D -EN-P - July 2005 D-16 Inst ruct ion Se t Quick Re fe r ence Bit Modify and Move Instructions Instruction De sc ripti on Convert to Radians RAD RAD DEGR EES TO R ADIAN Source Dest N7:9 0.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Instruction Set Quick Reference D-17 File Inst ruct ions Bit Distribut e BTD When the input conditi ons are true, the contr oller copies the number of bits s.
Publicatio n 1785 -UM012D -EN-P - July 2005 D-18 Inst ruct ion Se t Quick Re fe r ence File Copy COP When t he input conditions are true, the controller copies the contents of the Source file (N7) into the D estination file (N12). The source remains unchanged.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Instruction Set Quick Reference D-19 Diagnosti c Inst ruct ions Instruction De scri pti on File Bi t Com pare FBC Status Bits: EN - Enable DN - Done Bit ER -.
Publicatio n 1785 -UM012D -EN-P - July 2005 D-20 Inst ruct ion Se t Quick Re fe r ence Shift Re gister Instructio ns Instruction Description Bit Shift Left BSL Status Bits: EN - Enable DN - Done Bit E.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Instruction Set Quick Reference D-21 Sequ encer I nstruc tio ns LIFO Load LFL Status Bits: EN - Enable L oad DN - Done Bit EM - Empty Bit When the input c onditions go from f alse-to-true, the controller loads N70:1 into the next available element in the LIFO file #N70:3, as pointed to by R6:61.
Publicatio n 1785 -UM012D -EN-P - July 2005 D-22 Inst ruct ion Se t Quick Re fe r ence Program Cont rol Instruc tions Sequencer Output SQO Status Bits: EN - Enable DN - Done Bit ER - Error Bit When the rung goes from false-to-true, the SQO instruction increments to the next step i n the sequencer File (#N7:1).
Publicatio n 1785-UM0 12D-EN-P - July 2005 Instruction Set Quick Reference D-23 Jump to Subroutine JSR If the input conditions are true, the controller starts running a subroutine Program File (90).
Publicatio n 1785 -UM012D -EN-P - July 2005 D-24 Inst ruct ion Se t Quick Re fe r ence SFC Re se t SFR The SF R instruction resets the logic in a sequential function chart.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Instruction Set Quick Reference D-25 Proces s Con t r ol , Messa ge Ins tr u ctions Block T r ansfer Ins truction s Wo r d 0 Instruction Description Proporti.
Publicatio n 1785 -UM012D -EN-P - July 2005 D-26 Inst ruct ion Se t Quick Re fe r ence Instruction Description Block T ransfer Read BTR If the input conditions go from false to true, a block transfer read is initiated for the I/O module loc ated at rack 1, group 0, module 0.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Instruction Set Quick Reference D-27 ASCII Instru ctions Status Bits: EN - EnableEM - Empty Bit DN - Done BitEU - Queue ER - Error BitF D - Found Bit Instruc.
Publicatio n 1785 -UM012D -EN-P - July 2005 D-28 Inst ruct ion Se t Quick Re fe r ence ASCII String Extract AEX If input conditions are true, the controller extracts 10 characters starting at the 42nd character of ST38:40 and store the result in ST52:75.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Instruction Set Quick Reference D-29 ASCII String Search ASC If input conditions are true, search S T52:80 starting at the 35th character , for the st ring found in ST38:40. In this example, the string was found at index 42.
Publicatio n 1785 -UM012D -EN-P - July 2005 D-30 Inst ruct ion Se t Quick Re fe r ence Bit and Word Instructions Category C ode Ti t l e Executio n T ime ( µ s) Integer Execut io n T ime ( µ s) Floating Point Wo r d s o f Memory (1) Tr u e False Tr u e False Rela y XIC examine if closed .
Publicatio n 1785-UM0 12D-EN-P - July 2005 Instruction Set Quick Reference D-31 Cate gory Code T itle Execution T ime ( µ s) Integer Execution T ime ( µ s) Floating Point Wo r d s o f Memory (1) Tr u e False Tr u e False Arithmetic ADD add 6.1 1.4 14.
Publicatio n 1785 -UM012D -EN-P - July 2005 D-32 Inst ruct ion Se t Quick Re fe r ence File, Program Contro l, an d ASCII Instruc tio ns Cate gory Code T itle Ti m e ( µ s) Integer Ti m e ( µ s) Floating Poin t Wo r d s o f Mem ory (1) Tr u e False Tr u e False File Arithm etic and Logic FA L all 11 + (S[2.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Instruction Set Quick Reference D-33 Cate gory Code T itle Ti m e ( µ s) Integer Ti m e ( µ s) Floating Poin t Wo r d s o f Mem ory (1) Tr u e False Tr u e False Sequencer SQI sequencer input 7. 9 1.3 5-9 SQL sequencer load 7.
Publicatio n 1785 -UM012D -EN-P - July 2005 D-34 Inst ruct ion Se t Quick Re fe r ence Cate gory Code T itle Ti m e ( µ s) Integer Ti m e ( µ s) Floating Poin t Wo r d s o f Mem ory (1) Tr u e False Tr u e False Program Control LB L label 0.16 0.16 2 END end neg ligible 1 TND temporary end 1 EOT end of transition 1 AFI always false 0.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Instruction Set Quick Reference D-35 Cate gory Code T itle Ti m e ( µ s) Integer Ti m e ( µ s) Floating Poin t Wo r d s o f Mem ory (1) Tr u e False Tr u e.
Publicatio n 1785 -UM012D -EN-P - July 2005 D-36 Inst ruct ion Se t Quick Re fe r ence Cate gory Code T itle Ti m e ( µ s) Integer Ti m e ( µ s) Floating Poin t Wo r d s o f Mem ory (1) Tr u e False Tr u e False ACB no.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Instruction Set Quick Reference D-37 Cate gory Code T itle Ti m e ( µ s) Integer Ti m e ( µ s) Floating Poin t Wo r d s o f Mem ory (1) Tr u e False Tr u e.
Publicatio n 1785 -UM012D -EN-P - July 2005 D-38 Inst ruct ion Se t Quick Re fe r ence Cate gory Code T itle Ti m e ( µ s) Integer Ti m e ( µ s) Floating Poin t Wo r d s o f Mem ory (1) Tr u e False.
1 Publicatio n 1785-UM0 12D-EN-P - July 2005 Appendix E Switch Setting Reference Using This Chapter For this Sw itch S etting Go to Page Enhanced and Ethernet PLC-5 switch 1 for defining the controlle.
Publicatio n 1785 -UM012D -EN-P - July 2005 E-2 Switch S etting Referen ce Controller Switches Switch 1 T o Select DH+ Baud R ate for Channe l 1A: Set s Sitch: To : DH+ address 1 through 6 (See below) DH+ baud rate 7 on (down)57.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Switch Setti ng Re fere nce E-3 Switch 2 Front of Processor Front of Processor Bottom View of PLC-5/11, -5/20, -5/26, and -5/20E processors Switch Assembly S.
Publicatio n 1785 -UM012D -EN-P - July 2005 E-4 Switch S etting Referen ce I/O Chassis Backplane PLC-5 Control ler in th e I/O Cha ssis Regardless of this switch setting, outputs are turned off when a.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Switch Setti ng Re fere nce E-5 1771-ASB Remote I/O Adapter or 1771-ALX Extend ed-Lo cal I/ O Adapt er Switch Switch 5 6 1 2 on off Last State Switches Processor Restart Lockout Addressing Outputs of this I/O chassis remain in their last state when a communication fault is detected by this I/O adapter.
Publicatio n 1785 -UM012D -EN-P - July 2005 E-6 Switch S etting Referen ce I/O Chassis Configura tion Pl ug ATTENTION If you set this s witch to the ON posi tion, when a communication fault is detected, outputs connected to this chassis remain in their last state to allow machine motion to continue .
Publicatio n 1785-UM0 12D-EN-P - July 2005 Switch Setti ng Re fere nce E-7 Remote I/O Adapter Module (1771-ASB Se ri es C and D) without Complementary I/O 1234 O N O F F SW - 2 12345678 O N O F F SW - 1 56 Switch 12 ON OFF OFF ON OFF OFF ON ON 57.6 Kbps 115.
Publicatio n 1785 -UM012D -EN-P - July 2005 E-8 Switch S etting Referen ce (1771-ASB Ser ies C an d D) I/O Rack Number - without Comple mentary I/O Rack 1 2 3 4 5 6 01 on on on on on off 02 on on on o.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Switch Setti ng Re fere nce E-9 Extended-Local I/O Adapter Module (1771-A LX) Sw itc h SW1 1234 567 8 SW-2 Not Used OPEN SW-1 First I/O Group Number I/O Rack.
Publicatio n 1785 -UM012D -EN-P - July 2005 E-10 Switch Sett ing Re f eren ce (177 1-ALX ) Confi g uratio n Pl ug Configuration Plug 17341 Do not place a jumper on this set of pins. 1. Lay the module on its right side. The configuration plugs are visible on the lower rear of the module.
1 Publicatio n 1785-UM0 12D-EN-P - July 2005 Appendix F T roubleshooting Using This Chapter For In formation Ab out T roubleshoot ing: Go to Pa ge: PLC-5 controller F-2 Remote I/O sys tem F-6 Extended.
Publicatio n 1785 -UM012D -EN-P - July 2005 F-2 T roublesh oot i ng PLC-5 Con troller Gene ral P r ob lem s Indic ator Co lor Description Probable Ca use R ec ommended Act i on PROC Green (steady) Con.
Publicatio n 1785-UM0 12D-EN-P - July 2005 T roublesh ooting F-3 FORCE Amber (steady) SFC and/or I /O forces enabled Normal operation No action required Amber (blinking) SFC a nd/or I/O forces present.
Publicatio n 1785 -UM012D -EN-P - July 2005 F-4 T roublesh oot i ng Control ler C ommunica tion Ch anne l T rou bleshoo ting Indi cator Color Channe l Mode Description Probable Ca use Recommend ed Act.
Publicatio n 1785-UM0 12D-EN-P - July 2005 T roublesh ooting F-5 Extend ed-Lo cal I/ O T roub lesh ooting Ethe rnet St atus Indic at or Indi cator Co lor Cha nnel M ode De scription Probab le Cause Re.
Publicatio n 1785 -UM012D -EN-P - July 2005 F-6 T roublesh oot i ng Ethe rn et T ransmit LED The PLC-5 Ether net interf ace co n tains an Ethernet T ransmit LED that lights (g reen) briefly when the Ethernet p ort is transm itting a pack et. It does not indicate whe ther or not the Ethernet port is receiv ing a pack et.
Publicatio n 1785-UM0 12D-EN-P - July 2005 T roublesh ooting F-7 Blink alternately Off Adapter m odule not activ ely c ontroll ing I/O (2) Adapter module in controller restart loc kout mode (adapter t.
Publicatio n 1785 -UM012D -EN-P - July 2005 F-8 T roublesh oot i ng T r o ubles ho oting Guid e for the 17 71-A SB Series C and D Adapter Mo dule (continue d) Indic ator s Des cri pti on Probab le Cause Re co mme nd ed Act ion Active Adapte r Fault I/O Rack Off Off On I/O chassis fault.
Publicatio n 1785-UM0 12D-EN-P - July 2005 T roublesh ooting F-9 Extended-Local I/O Sy stem T r o ubles ho otin g Guide for the 17 71 - A L X Adap ter Mod ule ACTIVE ADAPTER FAULT I/O RACK FAULT Indi .
Publicatio n 1785 -UM012D -EN-P - July 2005 F-10 T roubles hootin g Unexpected Operation when Entering Run Mode If unexpected operation occur s whenever your controller enters r un mode, be sure to examine the prescan oper ation of the instr uctions in this section.
Publicatio n 1785-UM0 12D-EN-P - July 2005 T roublesho otin g F-11 Suggested Actio n T o avoid unexpected operation that may result from these prescan activit ies, follow these guidelines: • Do not use indexed o r indirect addres sing with the instructions listed in the above t able.
Publicatio n 1785 -UM012D -EN-P - July 2005 F-12 T roubles hootin g Not es.
1 Publicatio n 1785-UM0 12D-EN-P - July 2005 Appendix G Cable Reference Using This Chapter Channel 0 Pin Assignments The side label of the controller shows a table list ing channel 0 (RS-port) pin assi gnments .
Publicatio n 1785 -UM012D -EN-P - July 2005 G-2 Cable Re ference Serial Cable Pin Assignments The following diag rams s how the pin assignments for the cab les you need for seria l por t co mmunic atio ns.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Cabl e Refe r e n c e G-3 Connecting Diagrams 1784-CP5 with -CP7 adapter PLC-5 1770-KF2 modem modem 1770-KF2 1785-KE 1770-CD phone line cable #6 cable #1 178.
Publicatio n 1785 -UM012D -EN-P - July 2005 G-4 Cable Re ference PLC-5 controller PLC-5 controller 1770-KF2 modem modem 1785-KE 1770-CD 1784-CP6 phone line cable #6 1784-CXK cable #6 Terminal Terminal.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Cabl e Refe r e n c e G-5 Programming Cable Specifications The specif ications for each Allen-Bra dle y cable used for DH + communication s are shown on the follo wing pages . R efer to the following table for the exact location.
Publicatio n 1785 -UM012D -EN-P - July 2005 G-6 Cable Re ference Cable - 1784-CP6 Connect s Workstation Using 1784-KT , -KT/2, -KL, or -KL/B to Controlle r Cable and Adapte r - 1784-CP7 Connects to Co.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Cabl e Refe r e n c e G-7 Cable Ad apter - 1784-CP8 Conne cts a Workstation Using a 1784-KT , -KT2, or -KL Card to a P ermanent DH+ Netw or k Cable - 1784-CP.
Publicatio n 1785 -UM012D -EN-P - July 2005 G-8 Cable Re ference Cable - 1784-CP11 Controller t o Workstation Using a Serial P ort Cable - 1784-PCM5 Controller t o Work station (using a 1784-PCMK ) 1 13 14 25 1 13 14 25 1 13 14 25 25-pin D-Shell Workstation Female 25-pin D-Shell Controller Male 3.
Publicatio n 1785-UM0 12D-EN-P - July 2005 Cabl e Refe r e n c e G-9 Ethernet Cable Connections The Ether net port connects to either a thin-wire or thick-wire netw o rk via a 15-pin tra nscei ve r or Medium Access U nit (MA U) connection.
Publicatio n 1785 -UM012D -EN-P - July 2005 G-10 Cabl e Refe rence The con troller connects to the transceiv er using a standard transc eiver cable , which is also kno wn as an Access Unit Interface (A UI) cable. Allen-Bradley has t wo le ngths of t ranscei ver cables and four k its consistin g of tran scei ve rs and cables .
Publicati on 1785-UM0 12D - EN-P - July 200 5 Index Numerics 1/2slot add ressing 4-3, E-4, E-5 1770KF2 9-2 1771AF 6-6 1771ALX 8-1, E-5, F-9 1771AS 6-6 1771ASB 6-6, 6-11, E -5, F-6 1771CD 9-2 1771DCM 6.
Publica tion 17 85-UM012 D-EN-P - Jul y 2005 2 Index blocktran sfer 2-3, 4-7, 5-3, 5-4, 6-13, 6-14, 6-15, 6-16, 6-17, 6-19, 6-20, 7-7, 7-10, 7-11, 7 -14, 8-6, 8-7, 15-11, 17-2, 18-3, C-8, C-12, D-25 B.
Publicati on 1785-UM0 12D - EN-P - July 200 5 Index 3 I/O stat u s file 6-7 main c ontrol progra ms 16-4 PII 18-5 pointto point 10-6 proces sorre sident rack 5-4 remote I /O adapter channel 7-2, 7-3 r.
Publica tion 17 85-UM012 D-EN-P - Jul y 2005 4 Index DH+ link cabl e len gth s 9-2 communicat ing with devices 9-1 conf ig urin g ch a nn els 9- 3 defa ult a ddr ess 9-3 defini ng the proc essor addr .
Publicati on 1785-UM0 12D - EN-P - July 200 5 Index 5 star tup 14 -2 testin g 15-11 using 15- 1 watchdo g timer 15-5 when to use 13-11 faulte d prog r am st at e 13-12 faults blockt ransfe r, mino r 6.
Publica tion 17 85-UM012 D-EN-P - Jul y 2005 6 Index indic ators 1771ALX F-9 1771ASB F- 6 communicat ion F-4 Etherne t F-5, F-6 extended loca l I/O F-5 PLC5/11, 5/20 1-3 PLC5/20E 1-6 PLC5/30 1-4 PLC5/.
Publicati on 1785-UM0 12D - EN-P - July 200 5 Index 7 file , prog ram contro l, and ASCI I instru ctio ns D-38 gapp ing 4-12 opti mizin g 4-22 progr am fil es 4-15 prot ecti on E-4 memory card di agno.
Publica tion 17 85-UM012 D-EN-P - Jul y 2005 8 Index polling schemes 10-16 tec hniqu es 10-4 power suppl ies mounting dimensi ons 3-6 powerup routi nes 13-10, 13-11, 14-1, 14-3 priorit y schedulin g 1.
Publicati on 1785-UM0 12D - EN-P - July 200 5 Index 9 comm unica tion rat e C-7 confi guratio n overv i ew 6-1 confi guratio n steps 6-12 data tr ansfe r 6-11 desi gn C-10, C-11 faults 15-3 how b loc .
Publica tion 17 85-UM012 D-EN-P - Jul y 2005 10 Index SFC transit ions forc ing 13-2 SFCs 1-10 shif t re gis ter in stru cti ons D-20 site prepar ation condu cto r cate gories 3-4 raceway la yout 3-4 .
Publicati on 1785-UM0 12D - EN-P - July 200 5 Index 11 file , prog ram contro l, and ASCI I instru ctio ns D-38 global status f lags fil e C-5 housek eepin g C-4 input st ate s C-2 instru ctio ns C-3 .
Publica tion 17 85-UM012 D-EN-P - Jul y 2005 12 Index.
Publicat i on CIG-CO52 1C-EN-P- May 200 3 PN957782 -07957782 -91 How Are W e Doing? Y our comments on our technical publications will help us serve you better i n the future. Thank you for taking the time to provide us feedback. Y ou can compl ete this form and mail (or fax) it bac k to us or email us at RADocumentComments@ra.
Other Comments PLEASE FOLD HE RE NO POST AGE NECESSARY IF MAIL ED IN THE UNITE D STA TES BUSINESS REPL Y MAIL FIRST -CLASS MAIL PERMIT NO. 18235 CLEVELAND OH POST AGE WILL BE P AID BY THE ADDRESSEE 1 .
.
.
.
Publicatio n 1785 -UM012D -EN-P - July 2005 2 PN 957 782- 07 Supersedes P ublication 1 785-6.5.12 - N ovember 1998 Copyright © 20 05 Rockwell Automatio n, Inc. All right s reserved. P rinted in the U .S.A. Rockwell Automation Support Roc kwell Automation provides technical in for mation on th e web to ass ist you in using it s produc ts .
デバイスAllen-Bradley PLC-5の購入後に(又は購入する前であっても)重要なポイントは、説明書をよく読むことです。その単純な理由はいくつかあります:
Allen-Bradley PLC-5をまだ購入していないなら、この製品の基本情報を理解する良い機会です。まずは上にある説明書の最初のページをご覧ください。そこにはAllen-Bradley PLC-5の技術情報の概要が記載されているはずです。デバイスがあなたのニーズを満たすかどうかは、ここで確認しましょう。Allen-Bradley PLC-5の取扱説明書の次のページをよく読むことにより、製品の全機能やその取り扱いに関する情報を知ることができます。Allen-Bradley PLC-5で得られた情報は、きっとあなたの購入の決断を手助けしてくれることでしょう。
Allen-Bradley PLC-5を既にお持ちだが、まだ読んでいない場合は、上記の理由によりそれを行うべきです。そうすることにより機能を適切に使用しているか、又はAllen-Bradley PLC-5の不適切な取り扱いによりその寿命を短くする危険を犯していないかどうかを知ることができます。
ですが、ユーザガイドが果たす重要な役割の一つは、Allen-Bradley PLC-5に関する問題の解決を支援することです。そこにはほとんどの場合、トラブルシューティング、すなわちAllen-Bradley PLC-5デバイスで最もよく起こりうる故障・不良とそれらの対処法についてのアドバイスを見つけることができるはずです。たとえ問題を解決できなかった場合でも、説明書にはカスタマー・サービスセンター又は最寄りのサービスセンターへの問い合わせ先等、次の対処法についての指示があるはずです。