Bradley Smoker PLC-5 manuel d'utilisation
- Voir en ligne ou télécharger le manuel d’utilisation
- 388 pages
- 4.76 mb
Aller à la page of
Les manuels d’utilisation similaires
-
Plumbing Product
Bradley Smoker 594
1 pages 0.1 mb -
Plumbing Product
Bradley Smoker SS-3/AST/STD
19 pages 0.34 mb -
Smoker
Bradley Smoker BTST02
8 pages 0.16 mb -
Plumbing Product
Bradley Smoker FL-1H
8 pages 0.77 mb -
Smoker
Bradley Smoker BTDS108CE-UK
22 pages 1.05 mb -
Plumbing Product
Bradley Smoker S53-326 AC
14 pages 2.91 mb -
Smoker
Bradley Smoker BTSTCE240
8 pages 0.16 mb -
Plumbing Product
Bradley Smoker MG-2/TT
20 pages 0.58 mb
Un bon manuel d’utilisation
Les règles imposent au revendeur l'obligation de fournir à l'acheteur, avec des marchandises, le manuel d’utilisation Bradley Smoker PLC-5. Le manque du manuel d’utilisation ou les informations incorrectes fournies au consommateur sont à la base d'une plainte pour non-conformité du dispositif avec le contrat. Conformément à la loi, l’inclusion du manuel d’utilisation sous une forme autre que le papier est autorisée, ce qui est souvent utilisé récemment, en incluant la forme graphique ou électronique du manuel Bradley Smoker PLC-5 ou les vidéos d'instruction pour les utilisateurs. La condition est son caractère lisible et compréhensible.
Qu'est ce que le manuel d’utilisation?
Le mot vient du latin "Instructio", à savoir organiser. Ainsi, le manuel d’utilisation Bradley Smoker PLC-5 décrit les étapes de la procédure. Le but du manuel d’utilisation est d’instruire, de faciliter le démarrage, l'utilisation de l'équipement ou l'exécution des actions spécifiques. Le manuel d’utilisation est une collection d'informations sur l'objet/service, une indice.
Malheureusement, peu d'utilisateurs prennent le temps de lire le manuel d’utilisation, et un bon manuel permet non seulement d’apprendre à connaître un certain nombre de fonctionnalités supplémentaires du dispositif acheté, mais aussi éviter la majorité des défaillances.
Donc, ce qui devrait contenir le manuel parfait?
Tout d'abord, le manuel d’utilisation Bradley Smoker PLC-5 devrait contenir:
- informations sur les caractéristiques techniques du dispositif Bradley Smoker PLC-5
- nom du fabricant et année de fabrication Bradley Smoker PLC-5
- instructions d'utilisation, de réglage et d’entretien de l'équipement Bradley Smoker PLC-5
- signes de sécurité et attestations confirmant la conformité avec les normes pertinentes
Pourquoi nous ne lisons pas les manuels d’utilisation?
Habituellement, cela est dû au manque de temps et de certitude quant à la fonctionnalité spécifique de l'équipement acheté. Malheureusement, la connexion et le démarrage Bradley Smoker PLC-5 ne suffisent pas. Le manuel d’utilisation contient un certain nombre de lignes directrices concernant les fonctionnalités spécifiques, la sécurité, les méthodes d'entretien (même les moyens qui doivent être utilisés), les défauts possibles Bradley Smoker PLC-5 et les moyens de résoudre des problèmes communs lors de l'utilisation. Enfin, le manuel contient les coordonnées du service Bradley Smoker en l'absence de l'efficacité des solutions proposées. Actuellement, les manuels d’utilisation sous la forme d'animations intéressantes et de vidéos pédagogiques qui sont meilleurs que la brochure, sont très populaires. Ce type de manuel permet à l'utilisateur de voir toute la vidéo d'instruction sans sauter les spécifications et les descriptions techniques compliquées Bradley Smoker PLC-5, comme c’est le cas pour la version papier.
Pourquoi lire le manuel d’utilisation?
Tout d'abord, il contient la réponse sur la structure, les possibilités du dispositif Bradley Smoker PLC-5, l'utilisation de divers accessoires et une gamme d'informations pour profiter pleinement de toutes les fonctionnalités et commodités.
Après un achat réussi de l’équipement/dispositif, prenez un moment pour vous familiariser avec toutes les parties du manuel d'utilisation Bradley Smoker PLC-5. À l'heure actuelle, ils sont soigneusement préparés et traduits pour qu'ils soient non seulement compréhensibles pour les utilisateurs, mais pour qu’ils remplissent leur fonction de base de l'information et d’aide.
Table des matières du manuel d’utilisation
-
Page 1
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[...]
-
Page 2
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 av ailable from your local Roc kwell Automation sales office or onl ine at http:/ /www .ab .[...]
-
Page 3
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 . Find the New Information Add[...]
-
Page 4
Publicatio n 1785 -UM012D -EN-P - July 2005 Summary of Changes 2 Not es[...]
-
Page 5
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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . P-1 Terms Used in This Manual. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [...]
-
Page 6
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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1 Choosing an Addressing Mode .[...]
-
Page 7
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 . . . . . . . . . . . . . . . . . . . . . 6-20 Monitoring Remote I/O Scan[...]
-
Page 8
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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-13 Size [...]
-
Page 9
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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11-15 Using the Embe dded Web Server . . . . . . . . . . . . . . . . . . . . [...]
-
Page 10
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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-7 Step 3 - Use the Programming Software to Enter Force Values for the Specified Data T[...]
-
Page 11
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 . . . . . . . . . . . . . . . . . . . . . . . . . . . 16-1 Understanding How the Controller Interprets MCPs . .[...]
-
Page 12
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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C-1 Effe cts of False Logic versus True [...]
-
Page 13
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 . . . . . . . . . . . . D-32 Append ix E Switch Se tting[...]
-
Page 14
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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . G-1 Serial Cable Pi n Assignments. . . . . . . . . . . . . . .[...]
-
Page 15
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. Use this manual to: • deter mine the features of the controllers and how you use them • desi gn y our PLC-5 syst[...]
-
Page 16
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. Te r m Definition Block-transfer data data transferred, in blocks of data up to 64 words, to/from a block- transfer I/O module (for example, an analog module) Discrete-tr[...]
-
Page 17
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 over view of the PLC-5 controll ers’ ca pabilitie s and keys witch Chapter 1 Understa nding Y our Controller Guideli nes for se lecting and placing I/O[...]
-
Page 18
Publicatio n 1785 -UM012D -EN-P - July 2005 Preface 4 Not es[...]
-
Page 19
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. Decide at this time whether each location will hav e its own controller . Pla ce eac h co ntr ol[...]
-
Page 20
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 . If there is sporadic infor mation tha[...]
-
Page 21
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 high electrical noise immunity) and can be used with most RS-422A equipment as long as: termination resistors are not used the distance and transmissio[...]
-
Page 22
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. The port's default configuration supports processor programming: one stop-bit BCC error check no handshaking DF1 po[...]
-
Page 23
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. The port's default configuration supports processor programming: one stop-bit B[...]
-
Page 24
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 the battery is low) controller RUN/FAULT indicator (green when running; red when faulted) force indicator (amber when I/O forces are enabled) channel 0 [...]
-
Page 25
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. The port's default configuration supports controller programmi[...]
-
Page 26
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 electrical noise immunity) and can be used with most RS-422A equipment as long as: termination resistors are not used the distance and transmission rate [...]
-
Page 27
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. (Equipment being controlled by the I/O addressed in the ladder program begins operation.) ?[...]
-
Page 28
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. Choose this language • if you are more[...]
-
Page 29
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 . Remote I/O Link Cable: Belden 9463 P[...]
-
Page 30
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/O Adapter Configure a controller channel for adap ter m ode when you need predictable, real-tim e ex change of da ta betwe en a dist ributed cont rol [...]
-
Page 31
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 . Y ou def ine the bloc k-transfers vi a an adapter configuratio n scree[...]
-
Page 32
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. An ext ended-local I/O link pro vides faster scan a nd [...]
-
Page 33
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. Use the following list an d table as guid elines for selectin g I/O modules and opera[...]
-
Page 34
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 . A bidirectional module with 8 input bits a nd 8 output bit s has a density of 8. I/[...]
-
Page 35
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 . T[...]
-
Page 36
Publicatio n 1785 -UM012D -EN-P - July 2005 2-4 Select ing and Placi ng I/O Not es[...]
-
Page 37
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 . Co[...]
-
Page 38
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. 13081 Minimum spacing requirements for a controller-resident chassis: Moun[...]
-
Page 39
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 . T o[...]
-
Page 40
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 . W hen planning your I/O-module [...]
-
Page 41
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. 4 1 " ) Pow er Co n n e c t o r 254m m (1 0" ) Side 193mm (7.60") 591mm (23.25&[...]
-
Page 42
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.1. 315m m (1 2. 4 1 " ) 61 0mm (2 4. 0 1 " ) [...]
-
Page 43
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 I/O Sy stems Enclosure Grounding Electrode Conductor To Grounding Electrode System Ground Bus I/O Chassis Wall Ground Lug Nut Star Washer Ground Lug [...]
-
Page 44
Publicatio n 1785 -UM012D -EN-P - July 2005 3-8 Placing Syst em Hardware Not es[...]
-
Page 45
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 trol inputs and outputs of field devices lik e switches , v alves , and ther mocouples , these inputs and outputs must occupy a location in the controll[...]
-
Page 46
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 . I/O Addressing as It Re lates to an I/O T ermin al Now that y ou are familiar with how contr oller memor y is segmented to address a specific I/O ter min[...]
-
Page 47
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 ch as si s slots make up an I/O g r oup (1 w ord each in the input image tab le an d output image ta ble); this ch oice is the chassis’ addressing m[...]
-
Page 48
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.) 0 1 2 3 4 5 6 7 Output Image Table Word # 0 1 2 3 4 5 6 7 Input Image Table Word # Controller memory Ra[...]
-
Page 49
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.) 0 1 2 3 4 5 6 7 Output Image Table Word # 0 1 2 3 4 5 6 7 Input Image Table Word # Controller memory Rack x 00 [...]
-
Page 50
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 . Example of Efficient I/O Image T able Use. Define th e ad dressin g m ode for each I/ O[...]
-
Page 51
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 . Addressing Summary Use this ta[...]
-
Page 52
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 : If Using this Chassis Size 2-slot Addressing, Results In 1-slot Addressing, Results In 1/2-slot Addressing, Results In 4-slot 1/4 rack 1/2 rack 1 rack [...]
-
Page 53
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. For more information, see chapter 6. • Limit the number of remote I/O rac k numbers to tho[...]
-
Page 54
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 . The se stora ge areas st ore[...]
-
Page 55
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 ran ges to accommod ate different t ypes of data. F or more in formation on the dif ferent type s of data file[...]
-
Page 56
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. Do th is by le aving gaps betw een: • data blocks within a fil e • groups of sequentially numbered fi les • modules in an I/O chassis IMPOR TANT If y ou plan to edit y o[...]
-
Page 57
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. Data T abl e File T ypes and Memory Usage fo r PLC-5 Co ntrolle rs Series E/Revision D and La t er File T y pe File-T ype Identifier File Num[...]
-
Page 58
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 pe File-T ype Identifier File Numb er Maximum Size of File 16-bit W ords and St ructures Memory U sed i n Overhead f or Each File (in 16-bit Words) Me[...]
-
Page 59
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 et ho d you a r e u s i ng . T his table lists the number of w ords used by each type of program f ile: The more pro g ra m files [...]
-
Page 60
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 . Spec ifyi ng I/O I mage A d dress es The I/ O image address cor resp onds to the physical lo[...]
-
Page 61
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 onds directly to the location in data storag e: # X F : e . s / b Where Is the # File address. Omit for bit, word, and struc ture addresses (also indicates indexed addressing, see next p[...]
-
Page 62
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. F or example: F or infor mation about the mnemonics for a specific in[...]
-
Page 63
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. A n y T, C, o r R[...]
-
Page 64
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. Y ou can manipulate the offset w ord in your ladder logic . The indexed a[...]
-
Page 65
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). • The symbol must b egin with a letter and can contain a s many as 10 of the following characters: ?[...]
-
Page 66
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 r formance, s tor e y our most frequently us ed addresses as shown belo w: output image input image status binary, timer, counter, control, integer, [...]
-
Page 67
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 data table map looks like this: 256 An address used in an OTE instruction stored here: occupies one word in the controller's memory executes at [...]
-
Page 68
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 . T o more eff ectively use I/O memor y , you can use the[...]
-
Page 69
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. 2. Set the ra ck address . The rack addres s defaults to 0. If you w a nt t[...]
-
Page 70
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. The controller continua lly performs a logic program scan an d housek eeping[...]
-
Page 71
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 . T r ansferring Di screte Da ta to Con troller -Residen t I/O T r ansfer ring I mmediat e I/O Req uests T[...]
-
Page 72
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. This technique helps make certain that an adjacent block-transfer module is not pe r for m[...]
-
Page 73
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 . 2. Define the I/O status file. Use a unique , unused integer file . Y ou m ust define an I/O statu[...]
-
Page 74
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: Catego ry Prod uct Catalo g Numbe r Other Controllers (in adapter mode) enhanced PLC-5 controllers 1785-L xx B Ethernet PLC-5 controllers 1785-L xx E[...]
-
Page 75
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 . An example remo te I/O system loo[...]
-
Page 76
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. configure the remote I[...]
-
Page 77
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 . F or proper oper ation, ter minate both ends of a[...]
-
Page 78
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 table to help you deter mine the contro ller ch annels you can configure as a remote I/O scanner : T o conf igure a controller channe l as a sc anner, y [...]
-
Page 79
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. These tw o w ords store th e reset, pre sent, in hibit, and fault bits for e ach rack. T [...]
-
Page 80
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. In this Fi eld Define By Doing the Following Diagnosti[...]
-
Page 81
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 . A scan list includes the following: To Do the Following Create a sca[...]
-
Page 82
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. Each ch annel must scan uni[...]
-
Page 83
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 . Remo te I/O Scan an d Progra m Scan Loops . ab Adapter Adapter Adapter IOT (x) IIN (y) x y Rack 3 [...]
-
Page 84
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 . Go into the memory map and find tw o unused file n umbers . Th e[...]
-
Page 85
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 . Block-t ransfer instructs the control ler to inte r r upt nor mal I/O scanning and tran sf er as many as 64 words of data to/from a s elected I/O m[...]
-
Page 86
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 . If one exists , the contr[...]
-
Page 87
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 independen tly and conc urrently . Once block- transf ers are initi a[...]
-
Page 88
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 . Scanner c hannels ha v e priori ty accord[...]
-
Page 89
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 .EW [...]
-
Page 90
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. Is the block-transfer continuous? (th[...]
-
Page 91
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.1. Block-T ransfer Programming Considerations R ead this section for info r m ation abou t g eneral progr am ming considerations and con[...]
-
Page 92
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. I f you do not clear the output image ta[...]
-
Page 93
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 module in the sam e 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 . If y ou must do this , then use an XIO instr uction to examine the .EN bit of t he bloc k-transfe [...]
-
Page 94
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 scan rack 3 (PL C-5/11 controller) 1-3 octal (PLC-5/20, -5/20E controller) 1-7 octal (PLC-5/30 controllers) 1-17 octal (PLC-5/40, -5/40L, 5/40E control[...]
-
Page 95
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. Messages sent with error word 3 Displays the number of messages containing errors[...]
-
Page 96
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. T he examp[...]
-
Page 97
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 Corresponds to Fau l t B it s 00 first 1/4 rac k starti ng I/ O gro up 0 01 second 1/4 rack starti ng I/ O gro up 2 02 third 1/4 r ack starti ng I/ O gro up [...]
-
Page 98
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 06 07 08 09 10 11 12 13 14 15 Not Used Not Used Inhibit Bits Reset Bits N15:15 This Bit: Corresponds to: Inhibit Bits 00 first 1/4 rac k starti ng I/[...]
-
Page 99
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 . 2. Define a diagnostic file. 3. Use a unique , unused integer file . 4. Define t he[...]
-
Page 100
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 . The super visor y con[...]
-
Page 101
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 help you deter mine the contro ller ch annels you can configure as a remote I/O adapter : T o select a channel as an adapter , use the adapter mode co[...]
-
Page 102
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). A TTEN TION : Assign a unique diagnostic file to each channel. Do no[...]
-
Page 103
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 (output source file and th e input destination file) ar e the main vehicles for d iscrete data and block-t ransfer status bits ex change between a PLC- 5 ad[...]
-
Page 104
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 . In doing so , y ou are a voidin g a possi ble confl[...]
-
Page 105
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 07 10 13 14 17 00 03 04 07 08 11 12 15 Word 0 1 2 3 4 5 6 7 Word 0 1 2 3 4 5 6 7 Supervisory Processor PLC-2 0X0-0X7 PLC-3 OXX0-OXX7 PLC-5 O:X0-O:X7 Su[...]
-
Page 106
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 . Use XIC a nd [...]
-
Page 107
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. F or more infor mation on configuring this file, see the channel con figuration documen tation for your programming softwar[...]
-
Page 108
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 . T he rac k number of the adapter mode con t roller-c hannel deter mi[...]
-
Page 109
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. 1. Define the BTW cont rol and BTR control files you need. Th ese contro[...]
-
Page 110
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 0, module 0 of BT12:000 looks like: Group Module BTW control BTR control 0 0 BT02:000 BT000:000 Adapter Mode Configuration screen Data Monitor screen[...]
-
Page 111
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 . Y ou can have up to 15 writes and 15 reads . Each bloc k transfer to a[...]
-
Page 112
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 to a super visor y controller or if you w ant to transfer data from the sup er visor y controller to contro ller-resident local I/O of th e adapt er mo[...]
-
Page 113
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 Pro gr a mm in g Bloc k-T ransfers to an Ada pter -Mode Controll er Channe l on Disc rete Data T ransfer Because the discrete trans fer configuration[...]
-
Page 114
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 . F or exam ple: Use care when planni ng block-tr ansfer and discrete tr ansfers of data to a n adapter -mode[...]
-
Page 115
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-tr a n sfe r 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. F or[...]
-
Page 116
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 ne th e stat us o f the re mot e I/O l i nk. Monitor ing the S tatus of the Super v[...]
-
Page 117
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. T he data displayed is stored in the diagnostic file yo u defined in t he adapter mo de configura tion scree[...]
-
Page 118
Publicatio n 1785 -UM012D -EN-P - July 2005 7-20 Communicati ng wi th a PLC-5 Ad apt er Cha nnel Note s[...]
-
Page 119
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 . 2. Define a diagnostic file. 3. Use a unique , unused integer file . 4. Define the scan lis[...]
-
Page 120
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.5 cable-m ( 100 cabl e-ft). Con nect exte nded-loc al I/O adapters by using any of these cables: Addressing and Placing I /O When a PLC-5/4 0L or -5/60L co ntroller is us ed to scan both [...]
-
Page 121
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 ) The PLC- 5 cont ro ller and the 1771-ALX adapter mo dule automatically allocate the next higher rack n umber(s) to the remaining I/O group(s) of th[...]
-
Page 122
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 . F ollow these guidelines when you plan your extended-local I/O system[...]
-
Page 123
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. PLC-5/40L and -5/60L Extended-Loca l I/O Scan T ime Adapter Adapter Adapter Housekeeping Rack 3 Rack 2 Ra[...]
-
Page 124
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 . The for mula used t o calculate the total time to scan extended-local I/O chassis is: extended[...]
-
Page 125
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: • w orst-case calc ulation for the comp letion of all block-transfers in t he sys te m • the time to perfor m a block-transfer for any o ne blo ck-tr[...]
-
Page 126
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. Cons ide ration s for Ext e nded -local R acks The following are programm[...]
-
Page 127
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 . Configuring the Controller as an Extended-Local I/O Scanner T o configure th e extend[...]
-
Page 128
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 . • The sc an list for extended local I/O ha s one entr[...]
-
Page 129
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. • The automatic con figura tion always displays the actual hardware configur ation, e[...]
-
Page 130
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-Local I/O Status T o monitor extende d-local I/O of PLC-5/40 L and PLC-5/60L controller s , use the ext ende d lo cal I /O st atu s sc reen in y our progr[...]
-
Page 131
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. This value is the sum of all adapter retry counts. Retr y word 10 word 20 word 30 et[...]
-
Page 132
Publicatio n 1785 -UM012D -EN-P - July 2005 8-14 Communicati ng wi th Extended - L ocal I/O Not es[...]
-
Page 133
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 . A PLC-5 controller can co mmunicate[...]
-
Page 134
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. V erif y that your system’ s design plans specify cable lengths within allowable measur[...]
-
Page 135
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. Configu[...]
-
Page 136
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 . configure th e channel for DH+ This F iel d Specifies Configure by Doin g the Fol lowing Diagnostic file The file containing the channel’ s s[...]
-
Page 137
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. T he stations use this file to auto matically sha re data with ot her statio ns wit[...]
-
Page 138
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. Make sure that the global status f lag file in all of the controllers on y our DH+ lin[...]
-
Page 139
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. The data displayed is stored in the di agnostic file defined on the DH+ configuration scre en in you[...]
-
Page 140
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. Received SAP off 23 Number of SDA messages that the stati on received but could not process bec ause [...]
-
Page 141
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 r ansmit NAK full 30 Number of times the station rec eived a NAK to a message because the destination station was full This indicates that messages a[...]
-
Page 142
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 Num ber of valid SDN m essages received T ransmit failed 33 Number of SDN messages sent by the station that were i n error This error should never be [...]
-
Page 143
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. Some reasons why the st ation would retry a message are: the ACK was lost or corrupted on an SDA [...]
-
Page 144
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 s • size and n umber of messa ges • messag e destination • internal processing tim e Linear scan failed 16 Number of times the station solicite[...]
-
Page 145
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 . • Each node sp ends fr om 1.5 ms (if it has no me ssag es [...]
-
Page 146
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. Message Dest ina[...]
-
Page 147
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 . Int ern al Proc essin g T ime Inte r n al pr oce s s ing t ime de pend s o[...]
-
Page 148
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 . The figure below shows the av erage r esponse time of me[...]
-
Page 149
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. • Minimize the[...]
-
Page 150
Publicatio n 1785 -UM012D -EN-P - July 2005 9-18 Communicati ng wi th Devices on a DH+ Link Not es[...]
-
Page 151
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. Choosing Between RS-232C, RS-422A, and RS-423 The table below [...]
-
Page 152
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. T o set the controller switch, see ch a[...]
-
Page 153
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 write instr uctions (send as an ASCII string) All data is encap sulated inside a DF1 prot ocol pac ke t; therefor e , the contr oller can comm unicate[...]
-
Page 154
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 with r emote stat ions in tw o w ays: Method Option Name Principal Benefits initiating polling packets to remote stations according to their position on [...]
-
Page 155
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. The default[...]
-
Page 156
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. Y o u can configure channel 0 to communicate using these protocols: Configure Cha nn el 0 for DF1 Point -to-Po int[...]
-
Page 157
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). A TTENTI ON: Assign a unique diagnostic file to each channel . Do not assign a diagnost[...]
-
Page 158
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. Select a method ap propriate for your system’ s configuration: If you are not usi[...]
-
Page 159
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. configur e the seria l communications as system slave specify the details This F [...]
-
Page 160
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. When the controller e ncounters the attention character[...]
-
Page 161
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. The CTS signal must be high for transmission to occur .[...]
-
Page 162
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 . configur e the seria l communications as system mas ter specify the detai[...]
-
Page 163
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. When the controller e ncounters the attention[...]
-
Page 164
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. Enter a value 0-255. Limits are defi ned in 20 ms in[...]
-
Page 165
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 c hannel 0 master message transmit If you want the master station to: send all of the master station-initiated MSG instructions to the remote stations[...]
-
Page 166
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. A[...]
-
Page 167
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. Access[...]
-
Page 168
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 . configur e the seria l communications as user (ASCII) specify the details This [...]
-
Page 169
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. When the controller e ncounters the attention[...]
-
Page 170
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 . If you select CRT or Printer , the controller ignores the character it r[...]
-
Page 171
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. Y ou define a mode attention character and either a system or user m o[...]
-
Page 172
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. Using the Sy st em Mode S tatus Display This section exp lains the status data displayed[...]
-
Page 173
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 Field Wor d Bi t Description DCD r ecov er 11 Displays t he number of times t he controll er detects the DCD-handsh aking line h as gone lo w to high [...]
-
Page 174
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. User Mo de Status Sc reen Descriptio ns of User Mode Sta t us Sc[...]
-
Page 175
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.3 media, including: • thick-wire coaxi[...]
-
Page 176
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 . Network Addressing Because the Ether net PLC-5 c ontroller us[...]
-
Page 177
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 ramm i ng sof tware over a DH+ or ser ial l i nk Enter the IP address and tog gle the BOOTP en able field to No . Enter f ur the r configu ration infor mation in t[...]
-
Page 178
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. Enter an integer file num ber (10-999). The system creates an integer f[...]
-
Page 179
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 . BOOTP lets you dynamically assign IP addresses to controllers on the Ethe r net link. T o use BO[...]
-
Page 180
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 s of tware. Sp ecif y YE S for BOOTP Enable . Specify furt her configuration infor m ation using this screen. When BOOT P is enabled, the following events [...]
-
Page 181
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. T o edit this fil[...]
-
Page 182
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 i t s o f t he 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 . (Y ou will fi nd the hardware addr ess on a[...]
-
Page 183
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 using the Ethernet chann el 2 configurat ion screen: • broa dca st ad dre s s • subnet m ask • gateway address Using Broad ca st Addr es si ng [...]
-
Page 184
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.b.c.dWhere: a, b, c, d are between 0-[...]
-
Page 185
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 ys or routers , you must indicat e the following inf or m ation when conf iguring channel 2: • subnet m ask • gateway address A subnet mask is a f[...]
-
Page 186
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 c han nel 2 for a controller located on a subnet, see refer to the table b elow to configure the subnet m ask and g ateway address fields for each co[...]
-
Page 187
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. See the exa mple below and the corresponding BOOT PTAB file on [...]
-
Page 188
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 # ha -- hardware address # ht -- hardware type # ip -- host IP address # sm -- subnet mask # vm -- BOOTP vendor extensions forma t # tc -- template host [...]
-
Page 189
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. F or the PLC-5 controller, this con v ersion is a ser vice pro vided b y a remote ho st on t he ne[...]
-
Page 190
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. Click on the first item, Modu[...]
-
Page 191
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. The Diagnos tic Infor mation page appears and displays tw o lists of statistics [...]
-
Page 192
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.[...]
-
Page 193
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. This Co un ter T otals Comma[...]
-
Page 194
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 . T h ese pages present inf or mation about the Client Ser ve r Protoco l (CSP) and the Control Info r mation Protocol ( CIP), such as: – memory usage – inbound/out bound conne ction inf[...]
-
Page 195
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. The Data T able Monitor page appears and d ispla ys a table t hat [...]
-
Page 196
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 . T h e ch annel c onf igurat ion feature of RSL ogix[...]
-
Page 197
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 affecting your usag e of data table memor y (except for the size of the HTTP reference) Re ferencing Data T able Memor y - ref erence data table memo r y loca[...]
-
Page 198
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 short description of what y ou w ould see on a w e b bro wser: The input imag e word is I:0 is <b><!ABDTR-I:0></b > (this se gment disp[...]
-
Page 199
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 . T he for m at of the custom ta g is: <!ABDTR-file_type{file_n[...]
-
Page 200
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 . Binar y files are always output as four binar y nibbles . ASCII files [...]
-
Page 201
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. 9. Click on the link under the file heading to display an ASCI[...]
-
Page 202
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. Go back to the Custom D ata T able Monitor page . 2. I[...]
-
Page 203
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. 2. In the Address column, click on the + before the T4:0 to display the Samp le Ex tend ed For mat : This com pletes the Embedded W eb Server enhan ce[...]
-
Page 204
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. • The RSLinx DDE s er ver on a ControlNet link cannot poll data from the cont rollers on an Eth[...]
-
Page 205
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 ch assis 1 originati ng PLC-5 with Ethernet interface to PLC-5 (station 76) on DH+ link (link 12) Note: Both 1756-DHRIO modules need routing tables th [...]
-
Page 206
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 . On a multihop connection, the er ror is 0x1[...]
-
Page 207
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 .ER bit and en ters an er ro r code: Code - Hexad ec imal (word 1 of the cont rol block) Description (displayed on the [...]
-
Page 208
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 . The diagnos tic counter data dis played is st ored in th e diag[...]
-
Page 209
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 Octets received on the channel Out Octets 32-35 Octet s sent on the channel In Packet s 36-39 Packets received on the c hannel, including broadcast pac[...]
-
Page 210
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 the Number of Sent 0-3 Commands sent by the channel Rece ived 4-7 Commands rec eived by the channel Status Fiel d Bytes Display s the Number of Sent 8-1[...]
-
Page 211
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 aries a ccording to: • size of Ethe rnet messages • freq uenc y of E ther net m e ssag e s • networ k lo ad in g • the i m plem en tat ion of an[...]
-
Page 212
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 yped Writ e - Pa cke t Size[...]
-
Page 213
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 class to a channel or of f line file • assigning a privilege cla ss to a node • assigning read/write pri vileg es to a prog ram file • assigning r[...]
-
Page 214
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 . Y o u can assign a privilege clas s to a nod e, c ha[...]
-
Page 215
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 guidelines when using the passw ords and privileges: • Y ou must define t h e passwords and p rivilege s in for mation for each controller in your sy st[...]
-
Page 216
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 (an X indicates that t he privilege is enabled): Assigning a Privilege Class to a Chann el or Offline File Y o u can assign a privileg e class to all [...]
-
Page 217
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 . T w o privileges deter m ine whether a user can read[...]
-
Page 218
Publicatio n 1785 -UM012D -E N -P - July 2005 12-6 Protect ing Y our Pr ogr ams Not es[...]
-
Page 219
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 . Forcin g Inpu ts and Outputs Y o[...]
-
Page 220
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 . F or example, if you ha v e an 8-point or a 16-point I/O module in[...]
-
Page 221
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. For simplicity , the following descriptions and examples of [...]
-
Page 222
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 .DN bit indicates th at the data is in the BTR data buffer. The BTR data[...]
-
Page 223
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 . This protects controller oper ation from p ossible force o perations prog[...]
-
Page 224
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. W h en you sel ec t t he g ro u p o f dat a[...]
-
Page 225
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 . Each g roup can [...]
-
Page 226
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. If you s elect the binary radix, the[...]
-
Page 227
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 . 2. W ait for the BTR done bit to be s et. 3. Allow tim e for housek e eping to force and send th e[...]
-
Page 228
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 . Using Special Programming Routines Use your design specification to deter mine if you need one or more of the following special prog ramming [...]
-
Page 229
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. This prioritization is called “scheduling . ” T he PLC -5 contr oller con[...]
-
Page 230
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). If an MCP is executing and [...]
-
Page 231
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 if it were of a higher priority; all programs pass through this state; there can be several programs in this state at any given time Executing State Pr[...]
-
Page 232
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 . They can be used to prote ct i mpo r t ant por t ions of l a dd e r log ic t ha t mus t be e xe c ute d th roug[...]
-
Page 233
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 appropriate chapter : For Information About See Chap te r Power -up routi nes 14 Fault routines 15 Main control programs (MCPs) 16 Selectable timed int[...]
-
Page 234
Publicatio n 1785 -UM012D -EN-P - July 2005 13-16 Programming Consi der at ions Not es[...]
-
Page 235
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. User con tro l bit S:26/1 def ines whether pow e r -up protection ([...]
-
Page 236
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. After a po wer loss is experienced while th e controller is in r un m[...]
-
Page 237
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 . F or more info r mation about fault r outines , see chapter 16. See ch apter 21 for def initi[...]
-
Page 238
Publicatio n 1785 -UM012D -EN-P - July 2005 14-4 Prepari ng Power-Up Rout ine s Not es[...]
-
Page 239
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. If your controller e[...]
-
Page 240
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 if the controller cannot recover from the fault F or exam ple, this r ung includes an instr uction that causes a major fault: Understanding Controller [...]
-
Page 241
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. F or example: • how will the mac hine react to outputs re maining in their last state or to outputs being auto matically de-energized? • what is each outp ut conn[...]
-
Page 242
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 . Outputs in the controlle r- resident c hassi s and in any n on-faulted r emote rac k can remain ac ti ve if a remote I/O ra[...]
-
Page 243
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 s of tware. Defining a W atchdog T imer The watch dog timer (S:28) monit ors the pro g ram scan. If the scan t akes longer than the w atchdo[...]
-
Page 244
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. Th e memor y loss fault occurs when the fault [...]
-
Page 245
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. [...]
-
Page 246
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. In the follo wing figure , #N10:0 is the reference f ile. Exam ple of Co mpari ng a Majo r Fa ult [...]
-
Page 247
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 . Use looping if needed to extend the single fault routine scan time up to the l[...]
-
Page 248
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. Y ou can program ladder logi c in sev eral w ays to recov[...]
-
Page 249
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 , the cont roller per for ms these block- transfers immediat ely upon comple ting an y b l oc k-tra n sfers cu rrent ly in the ac t i ve bu f f er , ah[...]
-
Page 250
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. Interpreting Major Faults F or a descrip tion of t[...]
-
Page 251
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 . Each bit represents a n ent[...]
-
Page 252
Publicatio n 1785 -UM012D -EN-P - July 2005 15-14 Preparing Fault Rou tines Not es[...]
-
Page 253
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 ra m” ( MCP ). Y o u c an d efi ne one MCP for each pa r ticular mac hine or [...]
-
Page 254
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. Y ou can configure: • an I/O imag e update and housekeeping after ea ch MCP is completed (def aul t p ara m[...]
-
Page 255
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 s of tware. If the MCP is a Th e Fol l o wing Occu r s: Ladder -l ogic program 1. All rungs are exec uted—from the first rung to the last, with all timers, counters, j[...]
-
Page 256
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. This configuration is read before the MCP is executed; if you make a change to the configuration screen regardi ng an MC[...]
-
Page 257
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 . The status file also stores the cumulati ve scan time, S:8 (th e scan ti me for one complete pass through all MCPs) and the max[...]
-
Page 258
Publicatio n 1785 -UM012D -EN-P - July 2005 16-6 Using M ain Con trol Pro grams Not es[...]
-
Page 259
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. T hen, the controller resum[...]
-
Page 260
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 . The STI input must be on for an amount of time slightly greater than the actual time requir[...]
-
Page 261
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 . If yo u want[...]
-
Page 262
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. Howev er , you can enable or disable the interr upt, change to a different inter r upt fi[...]
-
Page 263
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. Afterwards, the controller r[...]
-
Page 264
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. I[...]
-
Page 265
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. Block-T ran sfers in Proc essor[...]
-
Page 266
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 . • Do not use 2-slot addressing when using PIIs . • Do not use 1771[...]
-
Page 267
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. In this PII Confi gurati on Field Do the Following Status Fil e Address Preset Enter a preset value to determine how many conditions yo[...]
-
Page 268
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. Use S:51/0-15 within the PII file because these bits are: • mapped f rom the actua l input module be ing used for the PII • retent iv e F [...]
-
Page 269
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 uc tio ns : • Enhanced P LC-5 Controllers I nsta llation Instr u ctions, publication 1785-IN062 • Ethernet PLC-5 Prog rammable Controllers Install[...]
-
Page 270
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 C om muni ca tion Po rt s Ma ximum Number of I/O Racks (Rac k Addresses) Maximu m Nu mb er of I/O Chassis PLC-5/11 (1785-L11B) 8 K 512 (any mix) or 38[...]
-
Page 271
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 serial port, configurable for RS-232 and 423 and RS-422A compatible 24 (0-27) 93 0 92 PLC-5/60L (1785-L60L) 64 K 2 3072 ( any mix) or 3072 in + 3072 out ([...]
-
Page 272
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.6 5 g r a ms o f l ithi u m. Memory Backup Devices Y ou can add an EEPR OM to th e PLC-5 cont roller to pro vide bac kup me mor y for y our program in c[...]
-
Page 273
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 . EEPROM memory cannot be loaded to a ControlNet PLC-5 controller i f the EEPROM was burned on a non-C[...]
-
Page 274
Publicatio n 1785 -UM012D -EN-P - July 2005 A-6 Syste m Specif icatio ns Not es[...]
-
Page 275
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 rammi ng s oft ware. This Word Stores S:0 Arithmetic flags • bit 0[...]
-
Page 276
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.6 kbps 1230.4 kbps S:2/07 S:2/08 Not defined S:2/09 Last stat e 0outputs are turned off 1outputs retain last state S:2/11 S:2/12 I/O chassis addressing bit 12[...]
-
Page 277
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-57 60-1560-77 S:7 Global status bits: (See also S:27, S:32, S:33, S:34, and S:35) • S:7/0-7 rack fault bits f or racks 0-7 • S:7/8-15 unused S:8 L[...]
-
Page 278
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). See major fault codes (S:12). S:11/02 Programming error (codes 30-49). See m ajor fault codes (S:[...]
-
Page 279
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. Y ou can use user -defined fault codes to identify different types of faults or error conditions i n your program by generati [...]
-
Page 280
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. 31 Y ou did not enter enough s ubroutine parameters 32 Y ou jumped to an invalid (non-ladder) file 33 Y ou entered a CAR routine[...]
-
Page 281
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 running 72 The controller tried to s top an SFC subchart t hat isn’t running 73 The controller tried to s tart more than t he allowed number of subcha[...]
-
Page 282
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 module undefined message ty pe 92 Sidecar module requesting undefined pool 93 Sidecar module illegal m aximum pool size 94 Sidecar module illegal ASC II m[...]
-
Page 283
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. S:17/00 BT queue full to remote I/O S:17/01 Queue full - channel 1A; maximum remote bloc[...]
-
Page 284
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. When set, controller continues with active step after pow er loss or change to RUN S:26/01 Start-up protection after pow er loss: when reset, [...]
-
Page 285
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. This Word Stores S:36 - S:45 Res erv ed S:46 PII program file number S:47 PII m odule group S:48 PII bi t mask S:49 PII c ompa[...]
-
Page 286
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-ME100 5 - 1785-CHBM 6 - 1785-RC 7-15 - Rese rved When the 1785-RC modul e is installed, the eight l east-significant bits indicate the memory card’ s s[...]
-
Page 287
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 . Program Scan Since the prog ram scan is comprised of the logic sc an and housekeeping, any event that impacts the time of one [...]
-
Page 288
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. Other instr uctions may have a grea ter or less er effect. Effects o f Dif[...]
-
Page 289
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 . Effects o f Diff erent I nstruc tions on Logi c Sca n T ime Some instr uctions have a much greater effect o n logic sc an time than others ba sed o n th e time th[...]
-
Page 290
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). This examp le points out that when the STI time period is different than the prog ram scan time, [...]
-
Page 291
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 updated until after activ e block-transfers are completed, pu tting block-transf er m odules in the controller-resident chassis can affect housekeep in[...]
-
Page 292
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 . Depending on t he type of mod[...]
-
Page 293
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 • block-t ransf ers Communicatio n Rate The communic ation rate deter mines the time it takes for the scanner to communicate with eac h indiv idual entr[...]
-
Page 294
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. Most of the time that the cont roll e r spe nds in per for ming th e block-t rans fe r is for the ha nd sh ak[...]
-
Page 295
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. T o calculate the w orst case time : 1. Deter mine the norm a[...]
-
Page 296
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. The list has 6 entries , so the norm al I/O scan time is 6 x 10 ms = [...]
-
Page 297
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 . This co ntro ller time varies for different [...]
-
Page 298
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.18 ∗ 3) = 50.54 ms . Example Calculation Based on the results of each throughput component calculation pres en te d within [...]
-
Page 299
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 . The following table lists the performance effects (when using any of the 6200 Seri es PLC-5 Prog ramming Softwar e rel[...]
-
Page 300
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 . Using JMP/LBL I nstruction s Keep in mind these iss ue s when pro g ramming JMP/LBL instr uctions: Using FOR/NXT Instructio ns The FOR/N[...]
-
Page 301
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-3 Counter instructions D-4 Compare instructions D-5 Compute instructions D-7 Logical instructions D-14 Conversion instructions D-15 Bit modify and mov[...]
-
Page 302
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. If this data table bit is set (1), the instruction is true. Examine Off XIO Examine data ta[...]
-
Page 303
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. When the accumulated value is greater than or equal to the[...]
-
Page 304
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. This instruction resets timers and counters, as well as control bl[...]
-
Page 305
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-Underflow Instruction Desc ription CTD COUNT DOWN Counter Preset C5:1 10 35 Accum If the input conditions go true, counter C5:1 starts counting, decrementing [...]
-
Page 306
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. The CMP instruction can perform these operations: equal (=), less than (<), less than or equal (<=), greater than (>), greater than or equal (>=), not equal (&l[...]
-
Page 307
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 ion N7:3 3 N7:4 - (N7:6 * N7:10) If the input condi tions go true, evaluate the Ex pression N7:4 - (N7:6 * N7:10) and store t he result in the De stinat[...]
-
Page 308
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.9033391 When input conditions go true, take the arc sine of the value in F8:17 and store the re[...]
-
Page 309
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 ). Sta tus C V Z S Descript ion alwa ys reset Bit alwa ys reset alwa ys set alwa[...]
-
Page 310
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. al ways reset s sets if overflow is gener ated; sets if th[...]
-
Page 311
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 eration generat es a carr y; sets if ove rflow is generate d; sets if the re sult is zer o; When the input conditions are true, take the opposite sign of th[...]
-
Page 312
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 - Done Bit ER - Error Bit Instruction Description SR T SOR T Fil e Control #N7:1 4 R6:0 0 Leng th Position When the input c onditions go from f alse-to-tru[...]
-
Page 313
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 N7:4 N7:12 3 1 2 sets if bo rrow is genera ted; sets if unde rflow is gene rated; sets if the result is zero; otherwis e resets When the input conditio[...]
-
Page 314
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 Source B Dest D9:3 D9:4 D9:5 3F37 00FF 0037 When the input c onditions are true, the c ontroller performs a n AND operation (bit-by-bit) between Sour[...]
-
Page 315
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 FROM BCD Source D9:3 0037 Dest N7:12 37 When the input conditions are true, convert the BCD value in the Source (D9:3) to a integer value and store t[...]
-
Page 316
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.785398 F8:10 45 When the input conditions are true, convert degrees (the value in Source A) to radians and stores the result in the Desti[...]
-
Page 317
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 specified by Length, starting with the Source bit (3) of the Source (N7:3), and placing the values in the Destination (N7:4), starting with the Destina[...]
-
Page 318
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. The COP instruction copies the number of elements from the source as specified by the Len[...]
-
Page 319
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 - Error Bi t IN - Inhibit Bit FD - Found Bit When the input conditions go from false-to-true, the control ler compares the number of bits s pecified in[...]
-
Page 320
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 ER - Error Bit UL - Unload Bit If the input conditions go fr om false-to-true, the BSL i nstruction shifts the number of bits specified by Length (5) i[...]
-
Page 321
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. Each time [...]
-
Page 322
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). The data in the sequencer fi le is tra[...]
-
Page 323
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). The controller passes the Input Parameters (N16:23, N16:24, 231) to the subroutine and the RET instruction passes Return Parameters (N 19:11, N19:12) b[...]
-
Page 324
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. When the SFR instruction goes true, the controller performs a lastscan/postscan on all ac tive steps and actions in the selected file, and then r esets the logic in the SFC on t[...]
-
Page 325
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 Proportional, Integral, and Derivative PID Status Bits: EN - Enable DN - Done Bit (for N control blocks only) The control block (PD10:0) c ontains the instruc[...]
-
Page 326
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. The C ontrol Block (BT11:100, 6-word file) contains status for the transf [...]
-
Page 327
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 Instruction Description ASCII T est for Line ABL If input conditions go from false-to-true, the controller reports the number of characters in the buffer , u[...]
-
Page 328
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. Convert Integer to ASCII St ring AIC If input conditions are true, the controller converts the [...]
-
Page 329
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. If t he string is not found, the ASCII instruction m inor fault bit S:17/8 is set [...]
-
Page 330
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 Execution 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 .32 .16 1 (2) XIO examine if open .32 .16 1 2 OTL output latc[...]
-
Page 331
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.9 1.4 4-7 SUB subtract 6. 2 1.4 15.6 1.4 4-7 MUL multiply 9.9 1.4 18.2 1.4 4-7 DIV divides 12.2 1[...]
-
Page 332
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.3 + i])E 6.16 + Wi[0.16] 11 + ( Σ [2.3 [...]
-
Page 333
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.9 3.5 4-7 SQO sequencer output 9.7 3. 7 5-9 Immediate I/O (2) IIN immediate inp[...]
-
Page 334
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.16 0.16 1 ON[...]
-
Page 335
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 False Process Control PID PID loop control 5-9 Gains Independent • PLC -5/11 , -5/2 0, -5/20E • PLC -5/30 , -5/4 0, -5/40E, -5/40L -5/60, -5/60L [...]
-
Page 336
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. of characters in buffer • PLC-5/11, -5/20, and -5/20E • PLC-5/30, -5/40, -5/40E, -5/40L -5/60, -5/60L, -5/80, and -5/80E •[...]
-
Page 337
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 False ASCII (2) AIC integer to string • PLC -5/11 , -5/2 0, and -5/20E • PLC -5/30 , -5/4 0, -5/40E, -5/40L -5/60, -5/60L, -5/80, and -5/80E •2[...]
-
Page 338
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 Tr u e False ASCII (2) AWA write w ith append • PLC-5/11, -5/20, and -5/20E • PLC-5/30, -5/40, -5/40E, -5/40L -5/60, -5/60L, -5/80, and -5/80E ?[...]
-
Page 339
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 controller’ s DH+ address E-2 Enhanced and Ethernet PLC-5 switch 2 for defining the controller’ s serial port electrical interface E-3 I/O chassis containi[...]
-
Page 340
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.6 kbps off (up)230.4 kbps Side View of PLC-5/11, -5/20, -5/26, -5/20E controllers Switch Assembly SW1 Side View of PLC-5/[...]
-
Page 341
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 SW2 Bottom View of PLC-5/30, -5/40, -5/46 -5/40L, -5/60, -5/60L, -5/80, -5/86, -5/40E, and -5/80E processors Switch Assembly SW2 toggle pushed on toggl[...]
-
Page 342
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 any of the following occurs: processor detects a major fault an I/O chassis backplane fault occurs you select program or test mode you set a status fil[...]
-
Page 343
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. Out[...]
-
Page 344
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 . W e recommend that y ou set switc h 1 to the OFF[...]
-
Page 345
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.2 Kbps 230.4 Kbps Not used Communication Rate Pressed in at top ON (closed) Pressed in at bo[...]
-
Page 346
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 on off on 03 on on on on off off 04 on on on off on on 05 on on on off on off 06 on on on off off on 07 on on on off off off 10 on on off on on on 11 o[...]
-
Page 347
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 Number Rack: 1 2 3 4 5 6 01 on on on on on off 02 on on on on off on 03 on on on on off off 04 on on on off on on 05 on on on off on off 06 on on on [...]
-
Page 348
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. 2. Set the configuration plug as shown below according to your[...]
-
Page 349
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-local I/O system F-9 Unexpected PLC-5 controller operat ion when entering run mode F-10[...]
-
Page 350
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) Controller is in run mode and fully operational Normal operation No ac tion required Green (blinking) Controller memory is being transferred to EEPROM No[...]
-
Page 351
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 but not enabled Off SFC and/or I/O forces not present COMM Of f No transmission on channel 0 Normal operation if channel is not being used Green (bli[...]
-
Page 352
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 Action A or B Green (steady) Remote I/O Scanner Activ e Re mote I/O l ink, a ll adapter modules are present and not faulted Normal operation No action re[...]
-
Page 353
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 Recommende d Act i on 2 green (steady) Extended local I/O Scanner active extended-local I/O link, all adapter modules are present and not faul ted norma[...]
-
Page 354
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. Remote I/O Sy stem T r o ubl[...]
-
Page 355
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 to scanner link is normal) Controller restart lock out switch on chassis backplane switch as sembly on (3) Press reset button to clear lockout feature [...]
-
Page 356
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. (1) No communication on li nk . Problem exists between: • ad[...]
-
Page 357
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 cators Description Proba ble Cause R eco mme nded Acti o n Active Adapt er Fault I/O Rack On Off Off Normal indication; remote adapter is fully operat[...]
-
Page 358
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. These instr uctions ex ecute differently during presc an than they do during a nor [...]
-
Page 359
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. • If you must use indexed o r indirect addressing, use the fi[...]
-
Page 360
Publicatio n 1785 -UM012D -EN-P - July 2005 F-12 T roubles hootin g Not es[...]
-
Page 361
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 . This tab le sho ws the sam e info r mation: For Information About Go to Page Channel 0 pin as signments G-1 Serial cable pin assignments G[...]
-
Page 362
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. Cable #1 25-pin D-Shell 1770-KF2 RXD 2 GND 5 TXD 3 DCD 1 DTR 4 DSR 6 RTS 7 CTS 8 2 7 3 4 RTS 5 CTS 6 DSR 8 DCD 20 DTR 9-pin D-Shell Cable #2 25-[...]
-
Page 363
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 1784-CAK cable #4 Terminal Terminal Terminal Series B Terminal modem modem phone line cable #6 cable #4 Terminal 1784-CP7 1784-CP5 PLC-5 controller 1784-[...]
-
Page 364
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 Series B Terminal modem modem phone line cable #6 cable #6 Terminal 1770-KF2 cable #2 Terminal Requires either a gender changer or one end of cable #[...]
-
Page 365
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. Cable - 1784-CAK Connect s 1785-KE to Workstation T For To Use this Cable See[...]
-
Page 366
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 Contr oller via 9-pin D-Shell of a 1784-CP , -CP5, or -PCM5 cable A 38 37 36 35 34 33 32 31 7 6 5 2 3 1 3 2 1 61 62 8 4 Shield Blue Shield Blue Clear 18[...]
-
Page 367
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-CP10 Connects W orkstation to Controller Using Serial P ort 1 2 3 33 34 35 36 37 60 61 62 19816 1770-CD Twinax Cable 3-position terminal connector Blue [...]
-
Page 368
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.2m (10 ft ) TXD GND RXD RTS CTS DSR DCD DTS RTS CTS [...]
-
Page 369
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. The table below describes Allen - Bradley transceivers: Workstation PLC-5/40E Ethernet Network Transceiver Tra[...]
-
Page 370
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 . Connection to “10bas[...]
-
Page 371
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-6 1771KRF 9-2 1771SN 6-6 1772SD, SD2 6-6 1775S4A, S4B 6-6 1775SR 6-6 1784CAK G-5 1784CP 9-2, G-6 1784CP10 G-2, G-5, G-7 1784CP11 G-2, G-5, G-8 1784CP[...]
-
Page 372
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 BOOTP disabl ing 11-4 example 11-8 hardware addres s 11-8 IP a ddress 11-7 using 11-5 broadca st ad dressi ng 11 -9 C cables Beld en 94 63 6-3 communic[...]
-
Page 373
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 remote I /O scanner channel 6-6 seri al por t 10-2, 10-6 start up procedu re 14-3 STI 17-3 connecti ons Ethe rnet G- 9 control bits 14-3 control ler do[...]
-
Page 374
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 ess 9-4 desi gn t ip 9- 17 diagnos tic count ers 9-12 estimat ing per fo rmance 9-12 global s tatus fl ag file 9-5 intern al p rocessi ng time 9-15 me[...]
-
Page 375
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-15 clea ring 15-7, 15-12 detect ing major 15-2 extend edlocal I/O r ack 15-3 major 15-1, 15-12 major an d minor 15-11 minor 15-12 monito ring 15-12 p[...]
-
Page 376
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/40, 5/60, and 5/80 1-5 PLC5/40E and 5/80E 1-7 PLC5/40L , 5/60 L 1-8 processo r F-2 indirect addr ess 4-1 8 instruct ions ASCII D-27 bit modif y D-16 b[...]
-
Page 377
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 agnostics B-12 memory module transf er E-4 message ins truction D-25 messagebas ed communicati on 10-4 messages DH+ link 9-13 editin g on line C- 12 Ether[...]
-
Page 378
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 13-11 privile ge class assigne d to chan nel 12-4 assigne d to node 12-4 assigne d to off li ne file 12-4 privile ges assigni ng class t o channel s 12[...]
-
Page 379
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 ktrans fer s af fect s can time C-8 I/O stat u s file 6-7 introd uct ion 6-3 maximum dev ices 6-4 numb er o f rack ent ries in sc an l ist C-7 opti mi[...]
-
Page 380
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 routin g conduc tors 3-4 slave commu nication 10 -3, 10-9 spacin g chassis 3-1 Specifica tion batte ry A-2 Specifica tions A-1 specif ications A-1 sta[...]
-
Page 381
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 intern al p roc essing 9-15 nodes 9-13 optim iz ing fo r re m ot e I/ O C-9 pres can F-10 prog r am sc an 5-2, 5-3 to exte ndedl oca l I/O 8-5 using i[...]
-
Page 382
Publica tion 17 85-UM012 D-EN-P - Jul y 2005 12 Index[...]
-
Page 383
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.rockwell.com Please co[...]
-
Page 384
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 ALLEN-BRAD LEY DR MA YFIELD HEIGHTS O H 44124- 9705 PLEASE FAS TE N HERE (DO NOT ST APLE) PLEASE RE M OVE[...]
-
Page 385
[...]
-
Page 386
[...]
-
Page 387
[...]
-
Page 388
Publicatio n 1785 -UM012D -EN-P - July 2005 2 PN 957 782- 07 Supersedes P ublication 1 785-6.5.12 - N ovember 199 8 Copyright © 20 05 Rockwell Automat ion, Inc. All r ights reserv ed. Printed in th e U.S.A. Rockwell Automation Support Roc kwell Automation provides technical in for mation on the web to assist you in using it s produc ts . At http :[...]