Está en la página 1de 66
Operating Manual ABB Procontic Programming System 907 PC 332 Programming and Test Software System-Specific Part ABB Procontic T200 3 ABB Schalt- ADD und Steuerungstechnik PADD Preface Notes for User All commands youhaveto enter are givenin italics. Keys appear as . Screen displays, e.g. messages, ap pear in bold, toad ofthe , you can also press the . You can use the instead of the . in the ovent of Yes/No prompts, you can use the for Yes and the to ex- ecute the submenu option you have selected, Key stroke combinations: —key or —key—kay: In this case, press and hoid down the frstkey and, in do- ing so. press the other keys then specified Example 1: —2 Press and hold down the key while at the same time pressing the key <2> Example 2: —K-W Press and hold down the key while at the same time pressing the and keys in succession Keyboards The designations of certain keys on keyboards with German. English, or American character set resp. are different. The following table shows the relations: German keyboard —_English/Ametican keyboard or «Tab. rechts> L> In this manual the is used: other current designations for this key are and . Calling online commands by means of hot keys iati Hot keys serve to swiftly select functions that can be ex. Abbreviations cuted alternatively trom pop-up menus, e.g. -S fr (Sar PLO! 208 Secton 2 Help ONLINE com Ge Gonnsetion element F8D Function block diagram ge eee IL Instruction fst electing options in the pop-up menus a ‘Swift selection: By entering the highlighted letter in the a Ladder diagram menu fine, There is no need to position the cursor by PLC Programmable logic controler pressing and or touse the UP User program mouse. ZE Central unit ees ont El Table of Contents 344 32 3.24 3.2.2 3.23 3.24 3.25 3.26 327 3.28 10 n Installation Installing the programming software on the PC. i Starting the Programming software Project data Project management Configuring Main menu option Config. PC33 Module configuration . Main menu option Config. PLC Configuring the programmng interface System Flags : ‘System reaction Read function blocks Include block library expansions in 907 PC 332 Display function blocks Translate 7 Printing the system configuration Communication with the PLC from the main menu PLC communication System functions, PLC Communication from FBD/LD and extended IL. m4 Test operation with ONLINE functions 8-1 Communication with the text processor 07 KT 60 EPROM programming Compare” program 10-1 1-4 1 Installation The installation of the programming and test software 807 PC 38 with the operating system MS-DOS is de- scribed on the following pages step for step. Il you have problems with some MS-DOS—terms, please consult the MS--DOS—manual of your PC. The installation program creates the following directo- ries under MS-DOS. Ci — ABB-SPS— T200 PROJEKT | BIB Note At least 10 MBytes space on your hard disk must be {ree for installation. The installation program displays an appropriate message if not enough space is available. Free main memory of at least 500 kBytesis also need. ed. Enter the DOS command CHKDSK to obtain informa tion about free memory. The instalation program checks the FILES and BUFFERS entries in the CONFIG, SYS fle and, itneces- sary, corrects them to the values required to gperate 907 PC 332: FILES = 25 BUFFERS = 25 1.1 Installing the programming software on the PC ‘The programming software 907 PC 332s supplied on 2 floppy disks. fa version of 907 PC 332 already exists on your PC please first read the instructions at the end of this page. Insert disk 1 in drive A. Enter the following instruction: AtINSTALL ‘The installation program searches now the drives on your PC. ? PC 332 INSTALLATION The following display appears: Installation from/von “At Installation to/nach ¢: Language/sprache ‘English Deutsch art, ~ Rbort/Abbruch ABB Schalt- und Steuerungstechnik Gmbil You can switch to the individual lines by pressing the and . You can select an option by Pressing the and . You can choose a drive: in the first line the drive, which contains the installation disk; in the following line the desired harddisk. Choose the desired language. Start the installation press. ing the Hthe values for FILES and BUFFERS in the fle CONFIG. SYS have to be changed, the installation program will de this automatically. An appropriate message will be prompted. Installation is continued after the is pressed. When the installation is finished the following message appears (drive chosen: C:): 907 PC 332 has boon installed completely. Remove the installation disk from the drive and enter c.\T200 for starting. If the file CONCFIG.SYS has been changed, press first to start the PC again. Note ‘The installation program checks when starting if an older version of 907 PC 332 already is installed. The installation ‘can only be executed ifthe older version is overwritten by the new version. If you have important datain the subd- rectory ABB-SPS\T200 you must save them first. All files in the directory T200 will be deleted and overwritten by new files during installation. lt problems arise during the automatic installation, you can also execute the manual installation, you want to execute an Update~tnstallation you must update your library sagittis Brogramming sofware as descrived under "2, Stating the programming software" and eheose "Library", (Read ManulacturerUbrary”. Enter "NEU" (fyou want io work with the Gorman version) resp. "NEW" ft you wares work with the English version). The existing library will be updated. Your user CEs will be conserved. 1a Manual Installation Ifyou execute the installation manually you must distinguish, ifitis a new installation ori an older version of 907 PC 382 already oxists. inthis case an installation can only be executed when the older version is overwritten It you have important user data in the eubdirectory ABB-SPS\T200 you must save them frst. Ales inthe ciectory T209 willbe deleted and overwritten by new files during installation. The folowing steps describe tho manual installation of {he programming software. divided up in new instalation and update installation. The installation ls described rom drive A: to harddisk C:. Adjust the drive names if you are using other drives, Enter the following commands on drive C: Push the after each line: Insert disk 1 in drive A. New instaltation Update installation c:\> copy a:T200.Ba7 > MD \ABB-sPs Cz\> cD \ABB-sPs C:\> cD \ABB-SPs Ci\ABB-SPs> MD 7200 C:\ABB-SPS> ch 1200 \ABB-SPS> CD 7200 C+ \ABB-SPs\T200> :\ABB-SPS\T200> DEL *.+ Enter the following command: Enter the following command: +\ABE-SPS\T200> COPY A:T200V2.7 ©:\ABB-SPS\7200> COPY A:T200V2.? Insert disk 2 in drive A:. Enter the following command: Cs\ABB-SPS\1200> copy A:T200V2.? C:\ABB-SPS\7200> copy a:T200v2 Continue with the following commands: Co: ue with the following commands: G2 \ABE-SPS\P200> As PACKEN T200V2.EXE T200V2C: \ABB~SPS\T200>A: PACKEN 12002. EXE T200v2 Ce\ABB-SPS\7200> T200v2 C:\ABB~SPS\1200> 7200v2 These steps willtake some minutes, Answer displays asking for ‘Overwrite?") with °Y’ (Yes). Then enter the following ‘commands: \ABB-SPS\1200> DEL T200v2.+ C:\ABB-SPS\T200> DEL T200V2.+ \ABB-SPS\1200> HD BIB \ABB-SPS\7200> MD PROJEKT C#\ABB-SPS\T200> COPY ONEINE?.OE PROJEKT C: \ABB-SPS\P200> COPY ONLINE?.OE PROJEKT C:\RBB-SPS\T200> DEL ONLINE?. OF C:\ABB-SPS\T200> DEL ONLINE?.OB C:\ABB-SPS\1200> COPY RESERR.OE PROJEKT —C: \ABB~SPS\T200> COPY RESERR.OE PROJEKT Cr\ABB-SPS\T200> DEL RESERR.OE Cr\ABB-SPS\T200> DEL RESERR.OE i you want to use the German version, enter the following commands: C+\ABB-SPS\7200> COPY 7200_F_D.TEX T200_P.TEX C:\ABR-SPS\1200> COPY 7200 FD. TEX 7200_F. TEX \ABB-SPS\7200> COPY 9200_D.VE? BrB\T200.+ :\ABB-SPS\T200> DEL 1200_>.VE? ¢:\ABB-SPS\T200> DEL 1200_*.VE? ABB-SPS\7200> Cs\ABB-SPS\P200> COPY NEU.+ BIB \ABB-SPS\7200> COPY 1200_D.* T200.* C:\ABE-SPS\T200> COPY 7200 p.* 7200.+ Ifyou want to use the English version, enter the following commands: C#\ABB-SPS\T200> COPY 7200_FG.TEX 1200_F. C:\ABB-SPS\1200> copy 7200_FG. TEX 7200_F.TEx \ABB-SPS\1200> coPY T200_GB.VE? Bra\r: B\E DEL 7200_*.vE? C2\ABB-SPS\T200> DEL 7200_*.VE? "S\T200> COPY NEW.* BIB C:\ABE-SPS\T200> COPY T200_GB.* 7200.+ C:\ABB-SPS\T200> copy 1200_Ga.* 7200.+ €:\ans-sPs\r200> Sr anes eee 3 3 | Enter now the following commands: ABB~SPS\7200> RENAME 7200_DA-EXE 7200_p. ABE-SPS\T200> OBL NEU.* C:\ABB-SPS\'T200> DEL NEW. New—Installation The installation is completed Remove disk 2 from drive A: 1.2 EXE C:\ABB-SPS\?200> ENAME. 7200_DA.EXE 17200_D. EXE C:\ABB-SPS\P200> DEL NEU.* €:\ABB-SP5\T200> DEL NEW. * Update— Installation The installation is completed. You must check the values for FILES and Buffers in the CONFIG.SYS file before starting. The values must be 25 ai min. and be corrected. to this value, If you change the file CONFIG.SYS restart the PC atterwards. Start now the programming software as described under "1.2 Starting the programming software” and choose "Library", "Read Manufacturer Library’. Enter "NEU" or "NEW" resp. for name. The existing library will be up-dated. Your user CEs will be conserved. Remove disk 2 from drive A: Starting the programming software The following text presumes that you have installed the programming software on drive C: During the installation, the batch file T200.BAT was installed in the root directory. You can start now the programming software as follows: CAT200 Start your programming software, The programming software's greeting screen appears. Display: T 200 wes 7044 00 R207 Version 08/94 te und stenerungstechnsk Gabi FD = Mortis = Fro} Free menory = 102488 bytes > SLE ~ Continve . Enter 1200 as password and press the ‘The main menu appears now, on which you can modify the project. Project data 2 Project management (Project man.) 2.1 ‘fer you have selected the main menu option Project man..907 PC 332 shows the following display: 4 a g 2 3 i § EPROM Confg. Pose Confg. PLC. Os Shek 2. Save project © Data restore [| 8 Extsystem [|< Modulaization | 5 Data backup [7 Copy project 2n1 1 Project data 907 PO 332 shows the following display when you call ‘new 07 26 60 the menu option Project data: Project data PLC manutacirer_: ABB PLC name, 1209 Projct_: PRO.EKTEXAMPLE Lary —_BIB\7200 PLC Version| PLC ype_: 07 ZE 60 or 2E60 Timeout__|| 07 2E 60 Responsible Last changd | 07 ZE 62 Praject designation Project description: The Project data menu contains entries relevant to cteat- ing, editing and documenting the PLC user program, See 907 PC 33, chapter 5 for possible entries. PLC type Start offby selecting the PLC type fold with the cursor. A settings made by pressing the spacebar andby select- ing the central unit by means of the When using the 07 ZE 63, you may select either the 07 ZE 61 setting or the 07 ZE 62 setting. Important: Changes made here atfect main memory management within the programming system. This is why you must pay particular attention to making sure that the project file specified under Project data matches the central unit used. ‘The maximum number of word flags and the program memory size are converted hore. All further settings in the display shown above are ex- plained in the Operating Manual 907 PC 33, General art, chapter entitled "Project data’ Note for Timeout The setting of timeouts with Troox can cause some PCs to prompt the error message “Time fer reception out” when starting the Online-Functions, In this case the Timeout has to be corrected to a value of xoox. Further hints in the General Part 3 Configuring 3.1 Main menu option Contig. PC33 3.1.1 Module configuration The method of flag assignment and the reserve configu- ration are defined here, Default fag assignment: Flag assignment when translating the FBD/LD or the ex: tended IL can be set globally or locally. For commission- ing it is expedient to set flag assignment globally. In this case, for example, precisely one connecting line be. tween two connection elements in the FBD/LD is then assigned to one flag, Module code res: Youcan define a default code reserve here. The defauitis the value 10 (corresponding to 10 NOPs). This reserve is appended to the end of the project during translation Dotault SP Res: ‘The default code reserve applies to every segment plan. ‘See Chapter 7 for further details of code reserves. 3.2 3.2.1 Main menu option Config. PLC Configuring the programming inter- face ‘The Prog. interface menus needed only tthe PCs con nected toa system with ZB 20 bus orto the communica, tion processor 07 KP 60. The normal made is Local ZE>, ie. the PC communicates with the central unit of the system to which itis connected through the serial in- terface of the central unt or ofthe 07 KP 60. itis con nected directly to the central unit ora remote /O station, the following interface parameters apply Channel: COM1 Baud rate : 19200 Data bits :7 Stop bits: 1 Party: even ifthe PC is connected via the communication processor 07 KP 60, the interface parameters on both units mustbe Set io the same settings, i.e. with "Intertace parameters” on the PC and with the corresponding DIP switches on the 07 KP 60. Ifyou wish to communicate with the central unit of anoth- er system through the ZB 20, you must select the setting. The ZB 20 ring No. and the station ‘number must also be set accordingly. Select the appropriate programming interface with the { keys and the program- ing interface selected will then be highlighted. You can then enter or select the affiliated parameters depending on the interface you have chosen, Press the whenever you wish to quit the con- ‘figuration menu. You are prompted to specify whether or ot you wish to save the changes. ‘The following menus appear depending on the interface: selected: Screen when selecting "Local ZE” Programing interface contgurason Irtertace parameters Screen when selecting "Remote ZE” (a88 07 2660 Programming interlace configuration EEE LE Interace parameters 28 (2) Station (0.65) Example of access by the PC to networked systems ‘System | ‘System I ‘System lil System IV. Station No. 12 Station No.00 00 Station No. 01 Station No. 03 [” [ zeso] kPad] zac! 2Ex] 809] 2365 Zen Fare) Zen] 2869] : ; om j = o 7 '8t 2520 ring ZB 1) Settings when the progr from ing system is accessed Local ZE Remote ZE 2B 1/St.00 Remote Ze Local 2E 2B 1/ St. 12 not possible Remote ZE 281/St.00 Local ZE * Remote ZE * 2B 1/8100 not possible Remote ZE 2B 1/St.00 Hf the interface is set to “Remote ZE", the number of the 2820 ring and the substation number are displayedatter you select "Send program’. * In these cases the interface may be setto any settings by means of "Interface parameters”. The parameters ‘must, however, agree with the settings on the 07 KP 60, 2nd 2820 ring (ZB 2} not possible Remote ZE ZB 2/St.01 Local ZE nol possible Remote Ze ZB 1/St.01 Note: not possible Remote ZE 2B 2/8103 Remote ZE ZB 1/St, 03 not possible Local Z2E The ring designated 28 2 in the figure has the designa- tionjaddress ZB 1 when viewed trom systems Il and IV! 007 PC anaes 894 3-3 ‘Screen when selecting "Interface parameters” Programming interface centguration ‘ABB 07 ZE 60 EEE Intertace Parameters Channel [cow] come Baud rate 300 690 1200 2400 4800 9600 Data bits seeo [ie Pasty pone odd H aa Beans 3.2.2 System ‘System configuration Al data concerning the 1/0 configuration of the ABB Pro. contic T200 is entered here. Note When sending the program to the PLC, the 1/O configu- ration i also sent, If still no I/O configuration has been defined, the current /O configuration is read out of the PLC before translation and this is then transferred to- gether with the program, When reading the program from the PLC, the system configuration is read out of t first. GET. All units in the basic subrack are spe sified here, BE 60 — BE 62: Limits to the number of siots for the various expansion subracks, - EW ~ §. EW: All units belonging to the central ex. Pansion subrack aro specified here. £01—L04: Number of the remote 1/0 line: This depends on the siot of the coupler 07 BR 60 in the basic subrack 0. UST ~ 9. UST: Allunits belonging to a remote substa- tion are specified here. By means of the / keys, you can ‘switch from configuration ofthe central expansion tothe displays for the remote expansions. Each screen page shows one remote I/O line wth up to 10 substations Thatis to say, 5 screens exist for you to contigure central and remote expansions. The screen page is split into two. The slots of the units are displayed on tho let, while the possible modules/u nits are displayed on the right. Selecting modules ‘Move to the slot with the or the mouse ‘and makea selection by pressing the orthe , The cursot moves to the right— hand field for selection of a unit. Here, once again move toa field with the orthe mouse andmake a selection with the . The selected module then appears at the selected slot in the left-hand field and is now known to the system. Leave the menu again by pressing the . If you answer yes to the "Save configuration" prompt, this configuration is as- signed to the project and is transferred to the PLC along with the program. For the central unit, this list serves to ‘compare the required configuration to the reat one, References between configuration entries and mod- ules E16: 07 EB 60 Rt, 07 EB 63 Ri, 07 EB 66 AI, 07 E867 Rt E82, 07 £861 Ri, 07 EB 62 At, 07 EB 64 RI E64: 07 EB 90-8 A16: 07 AB 60 Ai, 07 AB 62.R1, 07 AB 67 Ri, 07 AB 68 RI A82; 07 AB61 R1.07 AB 63 Ri AG4: not used EA16: not used EAS2: 07 AB90~S EW: not used EWS: 07 EA.60/61/62/69/64/65/66,67 R1, 07 EAS0~S AW4: 07 AA 60 RI, 07 AA G1 RI, 07 AAG2 RI, 07 AA 6S Rt, 07 AA65 Ai AWB: not used EAW4: 07 ZG 60 RY, 07 PO 60 Rt, 07 KT 60 RI EAWS: not used REO: right slot of the coupler for a remote / line. 2 slots are always assigned, 2B60: right slot of the coupler for the ZB 10 bus. 2 slots are always assigned. B69: right slot of the coupler for the ZB 20 bus. 2 slots are always assigned. E160; interrupt input module 07 El 60 KP60: right slot of the communication processor 07 KP 60. 2 siots are always assigned, KP6X: communication processor 07 KP 62, 07 KP 64 |R6O: right slot of the industrial computer 07 IR 60 (BASIC); the two left slots must remain tree. C861: coupler for CS31, 512 I/O points CSBB: coupler for C831, 1024 1/0 points BAI6: not used BAS2:_ placeholder for the units E16/A16 BAG4: place—holder for the units E32/A32/aw4 CLR: doletion of an entry. For configuration entries of C831 modules soe ABB Pro- Contic T200 System Description at 07 CS 61 Note Refer to the T200 system description, chapter entitled ‘Remote /O coupler 07 CS 61" for details of how to set the C831 modules. You can press the or the to call or exit the module selection menu without saving a module, Herc asain O98 The following examples show the screen page of the ba- sic system and of one remote 1/0 line. BB OT 2E 60 Configuration of contr, 1/0 expansions Vuoo loo ‘or Tor fo: ‘o« los 06 52 Screen page of the basic system ABE 07 2E 60 configuration of renote 1/0 expansions EXANPLE oss Baa as i a et fiver) eeiea| | i [esos Screen page of the frst remote I/O line. The number of the remote I/O line is displayed on the top lef. 3.2.3 Buffered Variables/Configuration of Variables Configuring the flag areas The bufiered variable areas and the coupler ateas are entered here, By default, no variabie is butfered, i.e. the areas are blank Use the to select the fields. You can quit flag configuration by pressing the . You are prompted to specify whether or not You wish to save the changes. Buttered variable areas Here, you can separately specify a part foreach variable area that is nat to be normalized, .c. buffered. The validi- ty ofthe entered address area is checked when you exit the menu. Make inputs as follows: - Example: MW 0020.00 — 0033/01 88 07 7E 60 Configuration Coupler areas ‘The source data area for the ZB 10 ot ZB 20 coupler is defined here. This area may then be addressed as an oulput in the program The following example shows the input mask for the con. figuration of the variables: n of Vaviebies Buifered vanable areas Lia mene | Range orbit fags Range to word fags | Range ter step, | Bange for timer ena (200,00-010,00 0000.29-0032.00 '200.00-005,00 13,00-35,18 00,00-00195; Coupe ar Range for coupler 1 Range fr couplet 2 ‘AW-0000.00- 1028.00 ‘AW 1024.00. 2087;00 L EEE [CannnnnnSnnmeereereee 3.2.4 System reaction Configuring system reactions The external start input, the cycle timeout, the PLC's reaction to error states and permission for the program- ming system to access the PLC are entered or selected here. The defauits are highlighted. Use the ‘0 select fields. Press the whenever you wisi to exit configu- ration of the system reactions. You are prompted to specify whether or not you wish to save the changes, The following example shows the system reactions input mask: (458 07 ZE 69 Configuration of the eystem reactions BaMPLe Ext. Start innit (Cycle monitoing Be mse), Error n cents YO configuration; ZE Error in cert. YO expansion: ZE Error in ramote iQ eoupier modes Ze Error in romateliO config ransmission — Err in remote substation: tansmission— Debug access permission, Start without output alowed Scemal RUN/STOP moce allowed: Ext. Start input: Here, you may specify any input definedin theconfigura- tion as an additional start condition. That is to say, the PLC starts only ifthis input is "1" and the key switchis set to RUN or REMOTE and is started from the computer. Cycle monitoring time (msec): 250 You can specify the maximum cycle time here in incre- ments of 10 ms. The maximum value is 990 ms. Error in centr. 1/0 configuration; ZE: Message or Stop This entry defines whether the central unitis to stop after an error has occurred in the central I/O configuration or whether itis only to issue a message. Error in centr. /0 expansion; ZE: Message or Stop This entry defines whether the central unitis to stop atter an error has occurred in the central I/O expansion or whether itis only to issue a message. Error in remote I/O coupler module; ZE: Message or Stop a This entry defines whether the central unitis to stop after anerror has occurred in aremote I/O expansion (coupler error) or whether itis only to issue a message. *) Emer number. vtput on the coupler 07 BR 6D Error in remote I/O config,; transmission: Message or Stop @) This entry defines whether a defective configuration of the remote I/O expansion (E7) *) isto be considered asa coupler error and whether the central processing unit is to stop oris only toissue a message. This may be neces- sary for step —by- step commissioning ofa system with- ‘out complete addition of a remote /O expansion, Error in remote substation; transmi Message or Stop This entry defines whether a transfer error (E1) *), a transfer timeout error (£2) *) , a communication error with the central unit (ES) *),allocation of a duplicate sub- station number (E6) *) or a malfunctioning connection to ‘a substation (E8) *) is to be considered to be a coupler error and whether the central unit is to stop ors only to issue a message. If this parameter is set to "Stop", the central unit only stops after one of the above mentioned errors has oc- curred if "Stop" is also set for (1) Note on (1), (2) and (3): The table overleaf refers to this. Access permission debug: Yes or No This entry concerns possibilies of access to the central unit through external computers, e.g. through the PC. The setting for "DEBUG" enables or disables the test functions such as HALT, CONTINUE, FORCE, OVES- WRITE ot SET BREAKPOINT etc. Start without output allowed: Yes or No In the case of “Start without output allowed System reaction after occurrence of an error in a re- ‘mote 1/0 line ‘The error number (E..) is output onthe coupler 07 BR 60 of the affected line, The relationship between the "Conf. gure system reactions” menu {see previous page) and the columns in the table below is as follows: Message/Stop = 0 —> “Stop" seiected Message/Stop = 1 —> “Message” selected (1) => Error in remote /O coupler module . (2) ~> Etror in remote /0 config. (8) -> Error in remote substation (SIM mode}, the mode in which a programean be tested without switching through the output channels is en- abled, The relays or output transistors remain disabled, but inputs are active. External RUN/STOP mode allowed: Yes or No If “External RUN/STOP mode" is set, the PLC is STARTED and ABORTED (STOP) via a connected com- puter, The error/status information of the couplers is generally entered in MW 4104,00 ... MW 4109, 4 Message/Stop | Operating state of ine in case of error with Operat=ferror [tm 125.0 [7 en indication €.. on 07 BR 60 / ing state |display of }0~>no error () |} @ | state of07 BR 60 ofze ze 1->enror [To [0 | aways stop RUN yes 1 only in case of E7: State = RUN, no | otherwise STOP yes | ] in case of £1, £2, E5, E6, E8: State = RUN, lho ° 1 jo] = RUN Pte [eae alee beatcte ly || [inease oft, €2 €5, €6,€7, 8 Sate = AUN, no Yo aia fa — ——| RUN |_| | ethernise stop yes 1 o fo [0 |atways STOP STOP __|yes 1 || Tonlyin case of €7: State = RUN, RUN no 1 oto | - — otherwise STOP STOP __|yes 1 | | | incase of €1, £2, £5, £6, E8: State = RUN, RUN eo ° 0 0 |4 a Sooo EeeeEeeESSESeEH li otherwise STOP. STOP [yes 1 | [incase of £1, £2, £5, £6, £7, £8: State= RUN, [RUN Ino 0 0454 [-—— - |_| othensise stor stop yes 1 3.2.5 Read FB (Function blocks) This function serves to expand the function block library. Once you have called this function, 907 PC 332 prompts the fle name: e.g, NEW/.FB. Only fies with the "FB" ex tension are allowed, Once you have entered the file name, the new function blocks (FBxx) are added to the function block library and can then be used in the IL. Note: 907 PC 382 already contains the function blocks of 907 PB 3660/61/62. Therefore function ‘Read FB’ is not necessary (see 3.2.6). 3.2.6 Include block library expansions in 907 PC 332 The additional CEs of the block library expansions 907 PB 360/61/62 (*.BIB) have to be adopted with the data adoption program T200_DA.BAT. Procedure in case of 907 PB 361 Presumption: 907 PC 332 has been installed under the path ABB-SPS, Copy the 907 PB 261 files * BIB of 907 PB 361 onto the hard disk: COPY A:*.B/8 \ABB—SPS\T200)818 Call T200_DA.BAT under \ABB-SPS\T200: CD \ABB-SPS|T200 7200_DA Select option Libraries. Press the Specity as Library: \ABB-SPS|T200\B/B1PB1 Specify under Acceptance in YABB -SPS|TZO01BIB\PB961 Press . Data is being adopted. ‘Quit the data adoption program via and select menu option Abort Press the ‘The block library expansion has been transformed in a form which can be read by 907 PC 332. Now ithas to be included in the T200 library. Cali 907 PC 332 again: 7200 Select the option Library in the main menu. Then select menu option Read manut, library (Read manufacturer | brary). Press the . BIB\ appears. Enter PB361 Thereafter the CEs of 907 P8 361 are included in the 7200 library. Note: Following specifications apply for the block library ex- pansions: G07 PB abt aa Pat LSPeAI In the cata adoption 907 PB 360 ~ > rr 907 PB 362 -> PBJ Progra” As of 907 PB 360, 907 PB 361, 907 PB 962 index deach, the data adoption is not necessary. 3.2.7 Display FB (Function blocks) You can use this function to request alist ofthe function biocks available in the programming system. You can print out the list on a connected printer by entering PRN ‘or you can output the lst toa file by specifyinga fle name instead of PRN. Example: After you select the menu option, the programming sys- tom prompts you for the output file PRN for output to a printer FB.TXT for example, for output to the file FB.IXT Enter: Content of the filo, 0.9, Fe4 FBS FB 1S FB 16 FB 20 FB 21 FB 22 FB 23 FB 24 3.2.8 Create PLC code Translate to contro! code This function results in OFFLINE translation of the proj- ‘ect to control code. In doing so, a check is made for syn- lactic ertors in the program and for agreement between the I/O variables used in the program and the system configuration, For EPROM programming and generation of an intel Hex file, the project must be translated to control code beforehand by means of this function 3-10 4 _ Printing the system configuration (Main menu option Print 2 —> System Contig.) ‘This function allows you to print the configuration of the Contig. PLC menu or possibly read back trom the sys- Programming interface, the system configuration, the tem. The set parameters are idontified by > > << flag configuration and the system reaction set in the ation printing Print parameters ||Also print cover ahect (#/n) [estore and print paancters Explanation of the parameters: Print with cover sheet: (Y/N): Here, you specify whether or not you wish to include the cover sheet in the print. out. First page: Page number ofthe page printed fist. All urther page numbers are each increm. ented by one, Print destination: Device to which you wish to make the output, e.g. printer (PRN), through V24 (COM 1) or toa file (flename.ext) Example of a printout (without cover sheet): ABB 07 ZE 60 Programa intorace configuration EXAMPLE ABB 07 ZF 60. Programming interface configuration Exawpce >>Local 22<< (otertace parameters Remote ZE Channel >eCOMi<< COMe | Baud rete 300 690 1200 2400 4800 9600 >>19200<< | Oata bes po7e< 8 ‘Stop bis poise? | Pasty none odd > >evence: ! ABE 07 28 60 Configuration of centr. 1/0 expansions EXAMPLE fe eo 10s 06 jor | ModoLes | [oer ge | i i Be | anes i xP6x sea BAD? ABB OT Ze 60 Contiquration of renste 1/0 expansions EXAMPLE i 7 zor _|[oo [or [ez les joe [os [ee lor [os [os || oavorvppen || nie aie ase | Be ORE it Bie Bie i | a | ihe thre, oa i Bie eo || ae ies | e561 son 4-2 sor Fe ascneing ona4 ABB 07 2 60 Configueation of resote 1/0 expansions Eure ee £e2 co a1 az 03 fog 05 les 07 08 08 nodules oust i Ea ABB 07 20 60 Configuration of renote 1/0 expansions Beene os 07 [oe jos Nodsiee [BSR me nar ee jae A? kes = a3? ke Ene anes xp6x cd Tamms 1 SEI eS csen Configuration of zenote 1/0 expansions BEMMPLE, ykoa Hoa Jor loz jas lo« jos los 07 on leer fo [1 [aie exe sz ee | pop it ee eee ‘| (Host | PPE [PME] Be Bade ' - ee | [usr TT 7 i sane! Nek awe I faced | ! 1 ce ||hoose aise ep | si eo — ! 1 2ae0 2069 |[s.usr J] t ‘nseeei| Er60 I EE Sea HIL ete an [2 jase by wsr | [P88 als BA32 Base posi eee EE ee ee ee PE reer ee S07 Fo ss2mnu 804 43 ABB 07 ZE 60 Variable configuration EXAMPLE Buttered variable areas Range for bt fage u Range for werd fags Mw ; Range for step 8 i Range for timer T Range for counter z i Coupler area : Range for coupter 1 aw | Flangetor coupler 2 aw ABB 07 7.60 Configuration othe eystem rosetiont EXAMPLE | Be Startinput E Cycle monitoring time (m5) 280 Error in cent. YO configuration; ZE, >>messagece Stop | Error in cent. YO expansion; Ze SSMeseagece Stop | | Error in temate 0 couplet moda; ZE__ >>Mossage<< Stop Error in remote 0 contg.; vancmission— SSMessages< Stop | Etro: n remot substation, tansmiser_— >SMessegece Stop | Debug access permission poYescs NO | | strtwitout output alowed aSYesce No | || External RUNISTOP mode alowed povesce No a4 erro manne 0868 5 Communication with the PLC from the main menu (Main menu option PLC Commun.) IMPORTANT: Depending on the nature of the ONLINE functions, these have a direct influence on the PLC program and/or the /O signals and thus on the process. Therefore, in all cases before running the funetion, make sure that personal injury and machine damage are impossible! 807 PC 332 provides a series of functions for commis- sioning and checking the PLC program. These include the main menu option PLC Commun. and the ONLINE functions that can be called in the FBD/LD editor, ex. tended iL and the variable editor in a menu. To do this, your PC's serial interface must be connected to the PLC's serial interface with the cable 07 SK 61 Ri (25-pole) or 07 SK62R1 (9—pole). You wilinda further description of these cables in the system description of the ABB Procontic 1200, Section 2 - Hardware 5.1 PLC communication When you call the PLC Commun. menu option, the pro- gramming system shows the following display: ‘any 07 25 60 Program module function selection Project man. Print 2 FRECESeE Ey contig rae Print 2 System contig. Plc Library Text module pos shell PC33 EPROM ‘Send program Receive PLC progr. ‘Compare PLC program Delete PLC program Replace variables ‘StartPLC program ‘Abort PLC program ‘Statue PLC 1 Send program When you select the Send program option, the PLC pro- gram existing in the form of an instruction list is trans- ferred, ‘The function Sond Program is enabled when the PLC program is in the status "RUNNING" or in the ) after every difference found. Press the whenever you wish to display the next error. The number of differences found is displayed at the end. 4 Delete PLC program You can delete the program in the PLO by selecting the Delete PLC program option 5 Replace variables, Using this function, individual variables or ranges of vari- ables can be edited in a short time ina program module without having to use the variable editor. A window is opened when you cail this function. You enter the start, end and destination variables in this window. It is possi- ble to replace variables of the same typeby means ofthis function. it is not possible to replace constants with this function. if you wish to edit or replace constants, you must map them to lags. The replacement of double word variables and oper ands of the type E is not supported. Far thase cases re place the variable areas in the variable editor and send the complete program to the PLC. 6 Start PLC program ‘The program cycle in the PLC is started. The PLC is started and changes to the "RUN’ mode. If an error oc- cours in doing 50, itis displayed on the 7—segment dis- play of the central station or you can inform yourself about the state of the PLC in "Status PLC”, Any occurring error must first of all be acknowledged with “Abort PLC program” before the PLC can be re- started. 7 Abort PLC program ‘The program cycle in the PLC is aborted. Note: The operating mode selector switch must be set to REMOTE in order to select Start PLC program and Abort PLC program. 8 Status PLC E.CODE xx: cpu: HALT SIMULATION: ERROR: FORCED: DEBUG: E.CODE 00 CPU on | HALT oft | SIMULATION off | ERROR off FORCED oft | DEBUG off | ‘The central unit (ZE) has reported an error (0 = error code), whichis simultaneously displayed on the CPU's 7—segment dis. Play. Rofer to the system description of the ABB Procontic 7200 hardware, Chap- ter 5.5, Error lists, for a description of this, error message's meaning, off = stop, on = running CPU in "HALT" mode, after the ‘Stop’ command CPUis started without active outputs Anerror has occurred thatis displayed on the 7~segment display of the central unit (Ze) and as .CODE xx. Reter to the sys- tem description of the ABB T200 Procon- tic Hardware, Chapter 5.5, Error ists, fora description of this error message's mean- ing. Variables are “forced” on = the central unit (ZE) is in DEBUG mode. Either a break point or the single cycle mode is active. 6 System functions (Main menu option System) ‘ABU 07 2e 60 Project man. Print 1 con PLC consun Syiem Text module Program module function selection pune fig. 7033 ig. PLE Shetl EPRoH 1 General roset 2 Head system config, 3 Simulation 4 Release occupation 1 General reset This function completely clears the contents of the cen. tral unit. Resetis necessary before commissioning a new memory module (PS/PR) for the fist time. Before calling this funetion, you must make sure that the programming and test system 907 PC 33 (PC) is connected io the own ‘central unit This function may not be called when 907 PC 332 is con. ected via the communication processor 07 KP60 or via. another central unit using network 2820 as otherwise communication is interrupted and cannot be estab. lished anymore, 2 Read system config. The system configuration (installed devices, subracks etc.) is detected and entered in the configuration fle project_name.SKF. Inthe case of decentralized systems, only the configura- tion of the basic subrack is read. 3 Simulation This function sets or resets operation without output (SIM). You can only switch from "Operation without out ut" to normal operation and vice versa in the “Aborted” mode. Program execution is aborted when you switch in RUN mode, Operation without output is indicated by the SIM LED on the central unit. 4 Release occupation Access to the programming interface of a central unit can be refused. Thisis the case, for example, when asta- tion (programming or display device) does not cancel the occupation status (release occupation) after a com: ‘munication. In this case, access to the central unit can be enabled by calling this function. Communication with other stations connected to the central unit is deacti vated at the same time, 7 PLC communication from FBD/LD and extended IL Inaddition to PLC communication directly rom the main ‘menu interface, itis also possible to communicate with the PLC from the FBD/LD or the extended IL, When you press the space bar or the right mouse button, awindow ‘containing a list of the functions available in the FDB/LD or in the extended IL is opened. The following window appears after you select the TRANSLATE/TRANSIIT function: here, it is possible to translate and send pro. gram changes. TRANSLATE/TRANSMIT Changes Changes and reserve Complete ‘Transl./transm. changes Send changes Reactivate old progr. Send program Compare program Release occupation Replace variables Display transi. iL Troubleshooting Level higher Note on how to carry out changes in a program: Ifchanges are made in a program, they have to be trans. lated and send before leaving the editor. Furthermore, pay attention to the following: Code reserve You must set up a code reserve so that program changes can be sent to the PLC. When translating the FDB/LD or the extended Il, NOP instructions are ap- ended to the end of each segment plan (segment plan reserve) oF to tha and of the program module (module reserve) as code reserve Specify the code reserve under Contig. PC33/Module configuration in the main menu for the program module and, in the case of modularized projects, in the Config. PC 33/Reserve cont. option at the overall project level. The reserves shown there correspond to the default code reserve, which applies to all segment plans. When the system is delivered, itis set to a value of 50, ie. 50 NOPs are added to the IL of each segment pian. You must modify the setting depending on the length of ox- pected program changes. The code reserve within a segment plan can be sot by means of the @RES command. itthen applies precisely {othisone single segment plan. Refer tothe chapters en- titled ‘Compiler’ of the individual ecitors and the chapter entitled "Modulatization, reserve/moduie configuration in 907 PC 33/General part or further notes on how to set the code reserve Flag allocation Tho type of flag allocation is defined on program module vei under Config. PC33/Module configuration in the main menu. Flag allocation is preset to local fag alloca. tion. The local tag allocation relates to one segment plan respectively Changes When you select the transtate changes option (changes), the program changes made in the FBD/LD or in the extended iL are translated. The time needed for translation is reduced because there is no need to trans- late the complete program. Translate changes can ab most always be selected it a default code reserve has been defined. In the case of changes requiring transla. tion of the complete program, the programming syste: issues a corresponding message. Changes and reserve Contrary to Changes, when you select ‘Changes and re- sorve’, the program changes made are translated and the reserve is computed and set again according to the setting made under Contig. PC33/Module contiguration. ‘The complete program must be sent to the PLC after translation by means of Changes and reserve. Comp ‘The complete programs translated when you select the Complete option. The reserves are computed and set according to the setting made under Contig. PC33/Mod. tule configuration in the main menu, Transl.Aransm. changes —1 When you select the Trans! transm. changes option, the program changes made in the FBD/LD or in the ex- tended IL are translated and then sent to the PLC, The time nacded for transiation and sending is reduced be- cause there is no need to translate and send the com plete program. This option can only be used if the complete program has alteady been sent once to the PLC and program ‘changes have then been made in the programming sys: tem. Progiam changes exist whenever changes have been made in the FBD/LD orinthe extendedIL and have been translated by selecting Changes. ‘The Changes unctionis possible ifthe PLC program isin the = “RUN” state or in the — "ABORTED" state. Note: Observe the section entitled "Cade reserve” and the pro- cedure described in "Send changes", table 1 Changes" in Note for the execution of changes: ityou create changes in the program you have to trans- late and send them to the editor, Speed up translating and sending of the program: You have the possibility to translate the FBD/LDor theex- tended IL by using @ quicker procedure: the "Send changes” procedure. It can only be used if the whole program has already bean translated once. ‘The time needed for sending the translated IL to the PLC can also be reduced by using “Send changes”. It can only be used if the whole program has already beon translated once. You can aiso transmit program changes or a complete program online, ie. with the PLC running. For usingail possibilities, some points have to be consid- ered, which you find in the following table, Notes for ‘Changes’, ‘Send changes’ | Type of change in FBD/LD or extended IL + Change variables / e.g. E0,0 ino.0 | + exchange cEeg in ; — —f i + + Double CE connection + Set inversion or delete + Add CE | + Delete Cz {+ Sopy biock | + Read block with | (block fits in the actual SP) + Divide, blend, paste or add seg- ‘ment pian * Change the order of the sogment pians + Copy SP + Paste block in already existing j segment plan (with block fune- tion -K-R), block does not fit in the actual SP + Read block in segment plan ma- ' Rules Changes is possible, also with changes in several segment plans. | Sending changes is possible. | Changes is possible, also with changes in several segment plans. ‘Send changes is possible, if no segment plans have been added : | Changes is possible, also with changes in soveral segment plans ‘Send changes 's not possible: the complete program has to be | transmitted with Send program. | | Note for using -2 | Ifyou only want to look at a variable with symbol and long text, but | nagement «Change a variable with don't want to change it, please use the key combination —P. | | 907 PC 882 knows now, that no changes have been made and | doesn't demand translating. This function can also be used online. | © Shift SP. it + Delete complete segment Changes is not neceesary (the programming software relains the plan deleted segment plan and doesn't senditto PLC); you have totrane | mit the complete program with Send program. | + Change one or more varia bles in the variable editor Translating is not necessary. The whole program has to be sended. Table 1: Notes for ‘Changes’, ‘Send changes’ Send changes —2 When you select the Send changes option, the program changes made in the FBD/LD or in the extended IL and translated are sent to the PLC, The time needed to send the changes is reduced because there is no need, send the complete program This option can only be used if the complete program has already been transferred once to the PLC and pro gram changes have then been made in the program ming system. Program changes exist whenever changes have been made in the FBD/LD or in the ex- tended IL and have beon translated by means of Changes The Send changes function is possible if the PLC pro- gram is inthe = "RUN" state or in the "ABORTED" state. Proceading First of all establish a basic state: + Enter the program (FBD/LD editor or extended IL) Going so, set up a code reserve in the segment plans tobechangediater or a default reserve for allsegment plans. + Translate the program ("Complete") + Send the program (Once changes have been made in the segment plans with a code reserve, translate the FBD/LD or the ex- tended IL by means of Changes. You can then send these changes to the PLC by selecting Send changes. During the course of compiling, 907 PC 332 ascertains which segment plans have been changed. Only these segments plans are compared to the old PLC program's code, The changes found in this case are sent to the PLC. Note: The time needed for transtating and sending changes will be reduced by using small segment plans. The NOPs of the code reserve are overwritten when ex- tending a segment plan while editing. NOPs are again in- serted when shortening a segment plan, When making changes, you must make sure that thisis done within the specified code reserves, ‘Therefore, you must not select the Send changes option it ‘+ a segment plan has become longer (in relation to the basic state) than can be handled by the code reserve, (CThisis reported by the extended IL or FDB/LD transla. tor) 907 PC 392 issues then the message “Module length exceeded, Please send all.” * @ translation option other than "Changes" has been, selected when translating the extended IL (or FBD/ LD). (The "Changes and reserve" option serves to speed up translation and the compiete program must be sent after this also!) + anew program module has been inserted or deleted in modulatized projects * the order of the program modules has been modified in moduiarized projects Both in 907 PC 332 and in the T200, individual variables or ranges of variables can be modified by means of the Replace variabies function (inthe PLC Commun. menu) ‘The procedure between programming system and PLC by using "Send changes” in the "PLC running” mode corresponds to the diagram in table 2. Instead of the complete program only the changed program parts will be sent Han error is reported by using "Send changes" or if the changes are not released, the complete program has to be sent. Aitention when transmitting in the "PLC running” mode: ifprogram parts are removed, which contain flags or out- Puts set at the moment of the change, these flags or out- puts will not be reset, Reactivate old progr. —8 This function is only available in 07 ZE 6x A302 central stations in conjunction with a 07 PS 6x3 memory mod- ule. By selecting the Reactivate old progr. option, the PLC re- verses the changes made toa running PLC program. In doing s0, the PLC restores the program stato that ox. isted bofore transferring the changes. ‘You can use this command if you realize that the changes made to the running PLC program do not pro- duce the desired suecese If you switch to the old program while Reactivate oid progr. is active, variables and therefore also outputs that have been set previously by the new program are notre- set ‘The Reactivate old progr. function allows you to repeat edly switch between an old and a new PLC program, Note The scope of functions described aboveruns exclusively In the PLC. That is archived in the programming system are not affected. ‘You yourself must ensure that the changes are reversed in the programming system so that the program in the 7-4 PLC and the one in the programming system will agree again. Send program —9 You can transfer the PLC program existing in the form of an instruction list by selecting the Send program option. ‘The Send changes function is possible if the PLC pro- gramis in the = "RUN" state orin the "ABORTED" state Inthe "ABORTED" state, a message will be prompted, it you want to delete first the program in the PLC. After transmitting the program it can be started in the control. See table 2. Compare program —4 When you select the Compare program option, the pro- gram is read out of the PLC and is compared to the cur- tent program stored in the programming system In the case of modularized projects, the programs are compared module by module. The modules are com- pared in the order in which they are listed in the modula- ‘ization editor. Allinstructions are checked for differences once the pro- gram has been read out of the PLC. Along with details of the word number, a display appears indicating whether the command, operand er operand number differs You can abort the program comparison after every differ- ence that has been found. The number of differences found is displayed at the end. Release occupation —7 Access to the programming interface ofa system canbe refused by other programming or display units. For ex- ample, thisis the case whenever a station daes not can- cel the selzed status before clearing a connection after communication, in this case, access to the system can be enabled by calling this function, At the same time communication with other stations connected to the sys- tem is deactivated Replace variables -9 By means of this function, individual variables or ranges of variables can be modified online in a short time in a Program module without having to use the variable edi tor. Awindow is opened when you call this function. You enter the start, end and destination variables in this win- dow. You can replace variables of the same type. You cannot replace constants with this function. Constants must be mapped to flags if they are to be modified or re- placed The replacement of double word variables and oper- ands of the type E is not supported, For these cases you will have to replace ranges of variables in the variable editor and send the complete program to the PLC. Display transi. IL ‘The translated IL of the FBD/LD or the extended IL can be cisplayed with this function, Troubleshooting H errors or warnings have been reported during the transiation run, each individual error in the FBD/LD or in the extended IL can be displayed with this function. The cursor then moves to the point in the FBD/LD or the ex- tencied IL that contains the error. Notes for the following table 2 The program name will not be checked when changes are made online! The system configuration must not be modified when ‘changes are made online, i.e. if you want to send another project with another system configuration to the control, you will have to abort the PLC program first! Be very careful when modifying a running PLC program. Program changes may have direct effects on the running Process without having check possibilities, Program- ming errors may have severe consequences, or poatsienwe ons 7 Send the complete program in the "PLC running” mode Used Central unit 07 ZE 6x R302 with memory 07 PS 6X RB CE is running Table 2 Send © System fags, © Program Parameter Area B (without program name and I/O configuration) 07 ZE 6x R302 07 PS 6X RB no Take over changes 2 07 ZE 6X R302 07 PS 6X RB Write data in second memory 07 ZE 6x R302 07 PSX R3. ” Program memory is switched, CE is halted for a short time. The old porgram carries on. The program carries on, You can switch again to the old program by using "Reactivate old progr.” Central unit remains in halt mode. You have to abort the CE and delete the program if you don't want this program to start, jE ETICTEIEIECE 8 Test operation with ONLINE functions Extensive operator contra! and test functions are avai Debug PLC stopped Program execution has been able in Online mode to enable testing of the PLC pro- stopped (program address 0); gram, These operator control and test functions can be the PLC is in test mode. used Debug PLC running Program execution is running: the PLC is in test mode. + in the FBD/LD * im the extended IL Single cycle Single cycle active aie vase Atbreakpoint BP _Breakpoint set. The breakpoint the ontine is address, consisting of the word number (also the module num- ‘Additional online information such as the program sta. ber in the case of modularized tus, variable status and breakpoint address etc. is also projects) is displayed when a displayed breakpoint is reached. FO Forcing active Status information is designated or abbreviated as fol- lows: av Status of selected variables on Variable status Display of variable statuses running Program execution is running Status Var. Tig, Display of variable statuses when tigger condition met Aborted Program execution has been ie aborted; the outputs are set to Trigger time Display of the variables at speci- “0 fied intervals Online PROJECT: EXAMPLE SPNO‘00% ABS 7100 T¥:021 ‘ONLINE. Onine functions Example program Bay format Online ist Level higher £09090 09001 Eon008 ees o1 El ONLINE ONLINE Ontne Ono Online turctons Display format Callect alee ist Level higher Online On/Off ‘Activate or deactivate online testing by selecting the On line onjotf option. The menu appears when you press the or the . Press the or the to select the required option, Online mode is possibie: in the function block diagram/ladder diagram FBD/LD in the extended instruction list (ext. IL) in the variable list in the online list Display format ‘You can choose between the binary, octal, decimal and, hexadecimal formats. Collect By means ofthe COLLECT function, individual variables can be transferred to the online list ‘COLLECT Collect for onine ist alloc for force mode Colleet for overwrite Collect for 20! var Online ist Collect for online list, <1> You can collect variablesin the online list by selecting the Calfect for online list option ot by pressing the ho! key <1>. You must position the cursor on the correspond: ing variable in the FBD or the corresponding line in the extended IL before executing the function Collect for force mode, <3> Youcan collect variables for forcing by selecting the Co- lect for force mode option or by pressing hot key <3> You must position the cursor on the corresponding vari- able in the FBD or on the corresponding line in the ex- tended IL before executing the function, The corre- sponding variables are entered in the online list and are marked in the column F. When you press the hot key {force all), the variables entered in the online list and marked in the column F are transferred to the PLC and are forced, Collect for overwrite, <4> You can collect variables for overwriting by selecting the Colfect for overwrite option o by pressing the hot key <4>. You must position the cursor on the correspond- ing variable in the FBD or on the corresponding line in the extencied IL betore executing the function. The corre- sponding variables are entered in the oniine list and are. marked in the column O. When you press the hot key (overwrite all), the variabies entored in the online list and marked in the column O are overwritten. Collect for selected variables, <5> You can collect variables for the ‘Display selected vari abies’ function (Status of selected variables onjoff by se- lecting the Collect for solected variables option or by pressing the hot key <5>. You must position the cursor ‘on the corresponding variable field in the FD or on the corresponding iine in the extended iL before executing the function, The corresponding variables are entered in the online list and are marked in the column D. Only the selected variables are then updated when you press the hot key (Status of selected variables on/off. Ontine list The ontine lists an adcitional too! for displaying the sta- tus of any chosen variables and operating states of the PLC during online operation with 907 PC 332. Variables can be entered in the online list + by collecting + by direct input * by reading in a biock (e.g. ONLINE or RESERR) The variables can be marked for + status of selected variables (column 0) + forcing (column F) + overwriting (column 0) + block functions (column M) Variables are marked with . You can cancel the marking by pressing ‘The statuses of the operating states are mapped tointer- nal bit and word flags (see Section 4, language deserip- ton) The following online lists are supplied along with 907 PC 332: ONLINE1.0& ONLINE2.0E ONLINES.OF RESERR.OE ‘The RESERR list contains extracts from ONLINE 1...3 and is an error diagnosis tool. ‘The online lists can be read into the online list for the cur- rent project by means of the block read function. Overview of operating modes ‘The central processing unit may be in various operating modes (see Page 5-8, 'Status PLC’). Debug is a test mode status of the PLC. itis indicated by illumination of the HLT—LEDs on the centzal station. ‘The following figure shows the relationships between the modes and how they are called or exited trom 907 PC 332 PLC in normal Eee EEEPEE Eee EE Peer eee eee eee eee EEE mode. ea Fomor ee eee RUN LED on ro n | | f Stop Abort Start” Start” Start” jan ion Se es ac aborted | | ae eae Y | | | Loy jet | Stop ——— running PLC in test mode, Debug PLC cesar oe eas : Fags and ouputs J smpecjen Jog —m] Deb c becreteatateeee [<< T single eyete mode Set Delete 7 breakpoint i Le “38 | | Continue t oy Start * (breakpoint is deleted automatically). ———| * Generally, all non—butfered areas are reset in the case of "Start 3 | a4 eo erseed Menu overview Online functions 7 aut BREAKPOINT Menu 2 I ONLINE FUNCTIONS — Menu? |] = I et gee Delete ! Start SS I abort Stat. sel. var. On/Ott SP Biliword (only FED/LO) A Saus Plo ‘Abs./Sym. (only FBD/LD) | ielease occupation aCe HEHE Single cycie on Level higher 1 Breakpoint > : Status > ! Overviite > | Foree > 1 og 1 | Sak sel van Ono i word (only ) ‘Mera Abs./Sym. (only FBD/LD) STATUS . | arable satis 1 Level higher Ste gg ona i Status nager tre i ‘ecept sats ' Y | Freese sats depiay 1 Back to the function menu of the I editor trom which the ONLINE Gentinve 20 vt, On FUNCTIONS were called pee vos A ‘es /Sym. (ont -BDND) i FORCE Level higher — — —————~— it Back to the Level igh 1 editor tom | Forceangie — { which the Fores a OVERWAITE, : online list Destro at = | itforce Ist rte tingle meee Display tree valves Ovarwte at ! lected.e.g. [] og Edt overwite I FED/LD. Continve ty i Stat se var Orv Comme 1 Bwword (only FBDILD) Stat sel var On/OF t 1 ‘AbaiSym. (only FBDND) Btwore (only FBO1LD) I ‘88 5ym. (only FBDILD) 4 ' Level ihe Eesieiies eee 1 7 : 1 : 4 1 aE 1 | ‘ONLINE Menu? ! Sat i abort i Sep Sontnue 1 Status PLC | Edit Feieaecocupson 1 Block commands Sete cyte on a I Online on verte > I Change over layout Force > Quit editor tee ecm Baw one | Onine of ! Out adtor -- 1 soc mers J i = 4 L ONLINE functions During oniine testing, you can call the requited online ‘functions by selecting the appropriate menu opto, ONLINE FUNCTIONS menus tiiers 1) ONLINE FUNCTIONS Start Abort. Stop |] Sontinus Status PLC Release occupation Single cycle on Breakpoint, Status Overwrite Force 2 vog Stal. sel. var. On/Ott Bit/word (only FED/LD) Abs /Sym. (only FBD/LD) vvvy Level higher Start program, ~S You start the PLC program by selecting the Start option or by pressing the hot key —S. ‘The PLCis started and changes tothe "RUN" mode. fan error occurs, it is displayed on the central station's 7—segment display or you can inform yourselfabout the status of the PLC by selecting Status PLC, Itis possible to start when the program is in the Aborted oF Stopped state and the mode selector switch is set to REMOTE. if an error has occurred, you must frst of all acknowl edge by selecting "Abort PLC" before youcanrestartthe PLC. Abort program, —A You abort the PLC program by selecting the Abor’ option or by pressing the hot key —A You can only abort the program when itis in the Running or Stopped state. Flags and timers retain their statuses and are initialized the next time you select ‘Start program’, provided they are not used as buffer fags. ‘Stop program, —H ‘You stop the PLC program by selecting the Stop option or by pressing the hat key —H. Execution of the User program is stopped at program address 0. You can stop the program in the foliowing cases: + PLC aborted or * PLC running and mode selector switch set to REMOTE. After you select the Stop command, execution ofthe pro- gram is stopped at program address 0. All outputs, flags and timers are reset. "Debug PLC stopped” Is displayed, If you now continue the program (see "Continue pro- gram" function) and stop it again, all fags, outputs and timers retain their statuses and you are in debug mode. You can quit debug mode by selecting the ‘Start PLC’ or "Abort PLC’ command or by actuating the mode selector switch. Continue program, —C Youcontinue the PLC program by selecting the Continue option or by pressing —C. This function can only be activated in the ‘Debug PLC stopped’ state. Execu- tion of the program is continued from the ‘Debug PLC stopped’ state (—> ‘Debug PLC running’) Status PLC, see Page 5~3, Status PLC Release occupation, —7 see Page 6-1, Release occupation Single cycle on, You activate the single cycle mode by selecting the Single cycle option or by pressing the hot key . This mode is activated from the ‘Debug PLC stopped’ state Execution of the program is stopped at address 0, Out puts and flags remain unchanged. 907 PC 332 then prompts a number of cycles that are to be executed up to the next stop. This function is ex- ecuted immediately after you press the You can select ‘Jog’ () to repeat execution of the program for the setnumber of program cycles. Selecting “Continue! (—C) clears single cycle mode and the PLC continues to run (‘Debug PLC running’) 'Stop’ clears the single cycle and the PLC is in the ‘De bug PLC stopped’ state. ‘Start’ clears the single cycle; the PLC runs. The Debug mode is deactivated, 8-6 Breakpoint In breakpoint mode, you can specifically interrupt ex- ‘ecution of the user program at a point in the program where a breakpoint is set. You can only ever enter one breakpoint. Breakpoint mode is activated from the '‘De- bug PLC stopped’ state Itis possible to couple single cycle mode with breakpoint mode. Two breakpoints can then be used: Single cycle Address 0000 Broakpoint Address 0x The following submenu appears when you select the Breakpoint option: BREAKPOINT menu (ers 2) BREAKPOINT Set Deiete vog Stat. sel. var. On/Ott BitAvord (only FBD/LD) Abs. Sym. (only FBD/LD) Level higher Set Breakpoint, Before doing this, in the extended IL you must position the cursor on the corresponding line or, in the FBD/LD, on the corresponding variable where you wish to set the breakpoint. You can set a breakpoint by selecting the Set option or by pressing the hot key . ‘An input window appears: BIM|Moc Adar Comment *{ foot 0005 By pressing the , you confirm the display and the breakpoint immediately takes effect in the PLC. Pressing the key cancels the setting. No break- point takes effect, ‘The breakpoint can also be entered while the PLC pro- gram is running, In the case of modularized projects, the word number displayed in the window always refers to the Start of the respective Module. After you have set a breakpoint, the program is stopped at this address after each ‘Jog’, Execution of the pro- gram is continued (debug PLC running) after the break Point has been cleared (—B) and by means of ‘Continue’ (—C), Delete Breakpoint, —8 You can delete the set breakpoint, ie. deactivate in the PLC, by selecting the delete option or by pressing the hot key combination —8. The PLC is then in the "Debug PLC stopped’ state. Before selecting Delete or pressing —8, you must move the eursorto the cor- responding variable or line. The input window displayed before then appears. Press the to confirm your input, atter which the breakpoint wil immediately become inactive in the PLC. You can cancel inputs by Pressing the . The breakpoint will then re- main set, Jog, This command is only effective in ‘Single cycle’ mode or when a breakpoint is set. When you select the Jog option or press the hot key + in single cycle mode, the program is run through in the specified number of single cycles, + ifa breakpoints set, the program is run once after the breakpoint Status of selected variables On/Ott, When you select the Status of selectod variables On/Off option or when you press the hot key , only the sta- lus values of the variables you have selected are up- dated on the screen. Select variables by entering themin the online list and by marking them in the column D. The statuses of all other variables are no longer updated. When you select the Status of selected variables on/off ‘option or you press the hot key again, this mode is deactivated again and the statuses of all variables are updated on the screen, Bit/Word (only FBD/LD), When you select the Bit/word (in FBDILD only) option ot when you press the hot key , the status display for Word variables is toggled between the two forms of re- presentation binary and word value. Binary form of representation * inthe FED/LD, the variable name is highlighted visually if the value is unequal to zero Word value form of representation: * in the FBD/LD, the value of the word variable is displayed instead of the variable name Absolute/Symbolic (only FBD/LD), When you select the Absolute/symbolic (only FED/LD) option or when you press the key, the status dis- play is toggled between the two forms of representation absolute and symbolic; thatis to say either the absolute cr the symbolic designations are shown for the var ables. Level higher When you select the Level higher option, you ate re- tumed te the ONLINE FUNCTIONS menu, Status The programming system provides vatious possibilities of displaying the statuses of variables. ‘The following submenu is called when you select the Status option: STATUS menu (men 3) STATUS Variable status Status trigger on var. Status trigger time Accept status Edit stat. sel. var. Freeze status display Jog Continue Stat. sel. var. On/Off Bivword (only FBD/LD) Abs./Sym. (only FBD/LD) Level higher Variable status, ‘When you select the Variable status option or when you press the hot key . the status of the variables is dis- played cyclically. This cancels any previously set disptay modes such as Status trigger time Status trigger on variable, When you select the Status trigger on variable option or when you press the hot key <7, the programming sys tem expects you to enter a Trigger variable and the re- quired Trigger condition. You must specify the trigger variable as an absolute variable. The variable statuses are only ever updated on the sereen when the trigger condition is met. The following trigger conditions are possible: Bit quentitios: Status: “oO” Status: vat Rising edge: "/* falling edge: Word quantitios: more than: "> value" Joss than: =” < value” equal to: * = value” Status trigger time, —M When you select the Status trigger time option or when you press the hot key ~M, the status of the vati ables is polled by the PLC at predefined intervals andthe display on the screen is updated. You specify the polling time in milliseconds. Accept status, <6> When you select the Accept status option or when you press the hot key <6>, you can save a momentary re- cord of the variable statuses displayed in ONLINE mode to the online list. You can then process this information ‘urther at a later time, e.g. you can save it on the hard disk, The momentary record of the variable statuses is pro duced at the time when the ONLINE functions menu is called. The variable statuses can also be saved with the block functions. Enter status of solocted variables, (Enter online list) ‘You call the editor for editing the online list by selecting the Enter status of selected variabies option ot by press- ing the hot key . The programming system shows the following display: [RBS oF 2 60 xan Entries: © Line: 0 Marked:o:9 ia 0:6 D[F lol] Variable — Symaol_& Long text ‘A 0.00.00 4 0.01,00 Here, the online istis usedto display status values of se- lected variables in the program (FBD/LD, extended iL; column Dj. Method: Move the curser to column D. Press to mark the required variable, Then, only tho status values of the ‘marked variables willbe shown on the online status dis- plays in FSD/LD or lL. You can remove the marking again by pressing ‘You can call the ONLINE EDITOR menu by pressing the within the editor for editing the online list. ONLINE—EDITOR menu (Menu 6) ‘ONLINE EDITOR Edit Block commands ONLINE on Change over layout Quit editor Abort menu srreconerme o8 84 a-9 ‘Online On ‘The programming system shows the following display when you select the Online om option and then press the ‘888 07 25 60 or INLINE eter EXAMPLE MarkedsD10 P20 010 Variable Valul] ONLINE A 0.00,00 A 0.00.01 The programming system now communicates with the PLC. The status values of the variables are displayed and the online functions are available. STATUS menu continued (Menu 3) Freeze status display, <0> (zero) When you call this menu, the current variable statuses are frozen on the screen and, in the Accept status menu, you can decide whether or not you wish to accept this status in the online list. Jog, This command is only effective in ‘Single cycle’ mode or when a breakpoint is set. ‘When you select the Jog option or press the hot key in single cycle mode, the program is run through in the specified number of cycles when a breakpoint is set, the program is run once Up to the breakpoint. Continue program, —C ‘The PLC programis continued when youseiect the Con- tinue option or when you enter the command ~C. This function can only be activated tom the ‘Debug PLC stopped’ stale. Continue running the program trom the ‘Debug PLC stopped’ state (—> ‘Debug PLC running). Sian Abort Sep Continue Status PLO Felease occupation Single ycle on eatue Overt og Sisk sel var: On/OH Online oF Gut edier Abort menu Status of selected variables On/Off, When you select the Stat sel. var. On/Off option or when you press the hot key . only the status values ofthe variables you have selected are updated on the screen. You select variables by entering them in the online list and by marking them in the column D. The statuses ofall other variables are no longer updated. You can cancel this mode by once again selecting the Stat. sel, var. On/ Off option or by pressing the hot key and the sta- tuses ofall variables are updated on the screen. Bitword (only FBD/LD), When you select the Bit/word (only FBD/LD) option or when you press the hot key , the status display for Word variables is switched over between the two forms of representation binary and word value. Binary form of representation: + in the FEDILD, the variable name is highlighted visually ifthe value is unequal to zero Word value form of representation + in the FBD/LO, the value of the word variable is displayed instead of the variable name 3 | 8-10

También podría gustarte