Home
Dolog AKF125 → A120/A250 Type: AKF125EN
Contents
1. Figure 10 Hardware power supply 30 First programming steps A120 AKF 125 33 5 5 Parameters of the sample program The following parameters are used in the program Table 1 Operands in the sample program Operand Symbol Comment 12 1 OFF Off 1 all outputs off Off 0 display 12 2 LOAD 0 gt 1 edge loads bit string 12 3 FREE Free 0 freeze Free 1 run 12 9 BIT1 First bit of bit string 12 10 BIT2 Second bit of bit string 12 11 BIT3 Third bit of bit string 12 12 BIT4 Fourth bit of bit string 12 13 BIT5 Fifth bit of bit string 12 14 BIT6 Sixth bit of bit string 12 15 BIT7 Seventh bit of bit string 12 16 BIT8 Eighth bit of bit string Q3 1 RUN1 Q3 2 RUN2 Q3 3 RUNS Q3 4 RUN4 Q3 5 RUNS5 Q3 6 RUN6 Q3 7 RUN7 Q3 8 RUN8 Outputs on which the bit string Q3 9 RUN9 is alternately sent Q3 10 RUN10 running light Q3 11 RUN11 Q3 12 RUN12 Q3 13 RUN13 Q3 14 RUN14 Q3 15 RUN15 Q3 16 RUN16 4 M15 1 HELP1 Help marker for edge detection M15 2 HELP2 Help marker for edge detection M15 3 HELP3 Help marker for edge detection M15 4 HELP4 Help marker for edge detection MW72 ROTATED This word contains the rotated info SM15 PULSE 10 0 Hz flashing rate 33 First programming steps A120 AKF125 31 5 6 5 6 1 32 Programming Note Menu functions are declared in inverted commas e g Edit Blocks Entrie
2. FB12 end MO 1 AF 05 2 a ES BK Mw0 30 BL F M0 33 S PB13 MO 4 Network4 R Q Nf Sone Network3 Network2 PB9 Networkl Figure 6 Example of networks in a program block 18 Software Blocks 33 4 4 Function block FB FBs are used to create frequently recurring program parts They are parameteri zable subroutines i e an FB can be called and parameterized many times in va rious places Function blocks can be generated in IL LD and FBD An FB can call PBs and FBs It is necessary to distinguish between a function block and a function block call A function block contains part of a user program A function block call ensures that the FB is processed during runtime at precisely the point where the user program reaches that call Before a block is processed the parameter specifica tions of the FB are transferred to the subroutine formal operands are replaced by actual operands data structure An FB that is not called from any place is al SO never processed Structure The program of a function block consists of a declaration part and an instruction part o Declaration part The declaration part is always located in the first network of an FB In the declaration part you enter the names of the function blocks and a list of the formal operands and specify the type The declaration part also includes information on the
3. memory 1000 P3 LA P3 Load address of pointer 3 1000 and 1000 P1 store P1 in pointer 1 300 P2 L P2 Load content of pointer 2 300 and P1 POINTER um 8l store in address to which 1000 300 P3 pointer 1 is pointing address 1000 Pointer 3 Pointer 2 and pointer 3 now have the same contents An example of a practical application of this IL segment can be found in chapter 8 10 114 Example for indirect addressing 33 8 2 Assign a pointer indirectly to a data structure element The object is to assign the contents of pointer 2 indirectly via pointer 1 to the data structure element DB1 3 DB1 ADDRESS RON Figure 14 Organization of the data structures LA DB1 3 Load address of DB1 3 and P1 store at pointer 1 L P2 Load contents of pointer 2 and P1 POINTER transfer to the address to which pointer 1 is pointing DB1 3 Pointer 2 and DB1 3 now have the same contents 33 Example for indirect addressing 115 8 3 Compare a pointer indirectly with another pointer The contents of pointer 2 are to be compared indirectly via pointer 1 with the contents of pointer 3 LA P3 Load address of pointer 3 and P1 store in pointer 1 L P2 Load contents of pointer 2 and gt P1 POINTER compare with the contents of the address to which pointer 1 is pointing contents of pointer 3 116 Example for indirect addressing 33 8 4 Pointer as parameter in FBs The IL segmen
4. VZBS1 DSBAU1 DSBAU2 1 ADDRESS gt 1 WORD r 1 WORD 2 ADDRESS i 3 ADDRESS n ADDRESS DSBAU3 DSBAUn P_ZERO 1 WORD m gt 1 WORD Figure 21 Organization of the data structures LA VZBS1 1 Load address of VZBS1 1 and P1 transfer to pointer 1 A L P1 POINTER Load pointer address contents of the address to which the pointer is pointing address of DSBAU1 1 P_ZERO Compare with address 0 JT E Jump to E if true L P1 gt Processing the data structure L P1 Load pointer 1 address of VZBS1 1 ADD K4 Add constant 4 and P1 store result in pointer 1 Pointer is now pointing to VZBS1 2 Jl A Jump to A Ee IL end 128 Example for indirect addressing 33 Index D DIN 19239 10 E Edit 4 Examples Pointers 113 F Function block diagram FBD 7 14 16 Function block FB 7 16 17 19 20 Actual operands 19 Declaration part 19 20 Formal operands 19 Instruction part 19 l Instruction list IL 7 11 12 16 Instruction list structure 11 L Ladder diagram LD 7 13 16 Load 4 N Nesting depth 19 O Online 4 35 Operands 11 Operations 11 Organization block OB 16 17 20 P Prerequisites for programming 3 Print 4 Program block PB 16 17 18 20 R recursive call 20 Reproduction 10 S Sequence flow control SFC 7 SeTup 4 Special 4 Standard function block SFB 16 21 Actual operands 21 Data structures 21 Declaration part 21 standard fu
5. Step6 Enter the following text in the specified sequence Tab MW72 Return B Return Tab Q3 1 Return Tab 903 2 Return Tab 903 3 Return Tab 93 16 Return Tab 12 1 Return Tab 12 2 Return Tab 12 3 Return Tab 12 9 Return Tab 12 16 Return Response Signal input is now complete You can now use the arrow keys or lt PgUp gt lt PgDn gt to scroll through Ensure that the NUM LOCK key is switched off 56 First programming steps A120 AKF 125 33 Step7 Press Ctrl Return to open the processing menu Step8 Enter u for StatUs display Response The top line switches to active To continue editing switch back to edit again by pressing Esc The follo wing figure shows an example of a status display using Online List KE Signal FRH Force Status Steuver Wert ROTIERT BIN 0000101010100000 LAUF1 BIN B LRUF2 BIN A LAUF3 BIN LRUFA BIN 8B LAUFS BIN B LAUFE BIN 1 LAUF BIN B LAUFE BIN 1 UF BIN A LRUF10 BIN 1 LRUF11 BIN B LAUF12 BIN 1 LAUF13 BIN B LRUF14 BIN B LRUF15 BIN A LAUFi6 BIN A BIN 8 Step9 Press lt Cirl gt lt Return gt to open the processing menu Step 10 Enter T for NW Terminate Response You are asked whether you want to save the list 33 First programming steps A120 AKF125 57 Step 11 Step 12 Confirm with Yes Exit the Onlin
6. 313 16 Marker Bytes Bytes Marker Words Words Marker Double Words i Double Words Marker Floating Point Words Floatpoint Words Timers Timers Counters Counters Pointers Pointers DatablockS and Reserve kB Data Structure Step 3 Press Esc to exit the menu Response A message asks you whether you want to break off wi thout saving answer it with v for Yes 7 6 4 5 Terminate equipment list and save Note You can bypass a menu and carry out a function by pressing lt Ctrl gt lt reference character gt as in the example shown in the follo wing step Step 1 Press lt Cirl gt lt T gt for Terminate the equipment list is sa ved and you exit the equipment list editor Response The edit menu is displayed again 33 Initial programming steps AKF 111 7 6 5 The next steps To process the program further please proceed as shown in the A250 example which you will find in chapter 9 The next step is the designation of symbol na mes and comments to be found in chapter 9 16 3 beginning on page 156 112 Initial programming steps AKF 33 Chapter 8 Example for indirect addressing This chapter contains several examples of indirect addressing with pointers 33 Example for indirect addressing 113 8 1 Assigning a pointer indirectly to another pointer The idea is to transfer the contents of pointer 2 indirectly via pointer 1 to poin ter3 address Signal Operand
7. E for MMSE keep toggling until no appears I for Profl keep toggling until no appears Exit the menu window with lt ESC gt Select L for Load Station Keep toggling until the required load procedure overlays normal packed or compressed Y for SYM Start char enter 1 Return R for OveRview mode keep toggling until MEMORY appears Station Presetting Menu item ALU Group retains the setting 15X Press Esc twice The menus close and the cursor bar stays on SeTup in the main menu line The setups have now been accepted 108 Initial programming steps AKF 33 7 6 4 Edit equipment list 7 6 4 1 Activate equipment list editor Step 1 Enter E for Edit Response The edit menu opens Step2 Enter L for Equipment List Response The equipment list editor is displayed A menu offers a suggestion for the first subrack 7 6 4 2 Set up subrack Step 1 Confirm DTA 20X by pressing Return Response The first five lines are prepared for input the grid fades out and an ALU 205 is entered in the line for slot 0 Step 2 If another ALU is preferred press Return selection ALU type and you can choose another ALU of type 20 by pressing lt Return gt 7 6 4 3 Enter modules Step 1 Use to move the bar to the line for slot 1 Step 2 To open the module menu press Return Step 3 Enter s for Special Response The special module menu opens Step4 Use to
8. The bit string which is going to be used is set by using inputs 12 9 to 12 16 and accepted via input 12 2 It is possible to stop the output by using 12 1 1 all 16 outputs 0 or to freeze the current status by using 12 3 0 Programming is carried out in the special language In struction List and symbolically The sample plant is called EXERCISE the sample program is called RUN25 Note The program logic already exists what we have here is an exercise in handling AKF 33 Initial programming moves AKF 63 6 4 Wiring diagram i 2A Me 24 DAP 102 1 i E Lt ft gt oo LI A16 PO NY E1 E8 ALU 151 BIK 116 33 Im e LIJI r aR E16 Figure 11 Hardware power supply 64 Initial programming moves AKF 6 5 Parameters of the sample program The following parameters are used in the program Table2 Operands in the sample program Operand Symbol Comment 12 1 OFF Off 1 all outputs Off 0 display 12 2 LOAD 0 gt 1 edge loads bit string 12 3 FREE Free 0 freeze Free 1 run 12 9 BIT1 First bit of bit string 12 10 BIT2 Seconds bit of bit string 12 11 BIT3 Third bit of bit string 12 12 BIT4 Fourth bit of bit string 12 13 BIT5 Fifth bit of bit string 12 14 BIT6 Sixth bit of bit string 12 15 BIT7 Seventh bit of bit string 12 16 BIT8 Eighth bit of
9. Tab UN6 Tab Tab UN7 Tab Tab UN8 Tab Tab UN9 Tab Tab 10 Tab Tab 1 Tab Tab 2 Tab Tab 3 Tab Tab L4 Tab Tab 5 Tab Tab 6 V A AN VNR R zz2dzzzz 6 6 5 4 Symbols Comment for markers Assign marker word Step 18 Enter lt Citrl gt lt S gt for Search Function Step 19 Enter mw72 and Return Response The cursor jumps to the first symbolic character of signal MW72 Step 20 Enter at MW72 ROTATED Tab This word contains the rotated info Response The line is full on entering the o of info and the cursor jumps automatically to the next line Step 21 Enter lt Ctrl gt lt S gt for Search Function Step 22 Enter 15 1 and Return 34 Initial programming moves AKF 77 Step 23 HE P1 lt Tab gt HE iP2 lt Tab gt HE P3 lt Tab gt HF P4 lt Tab gt lt Tab gt lt Tab gt lt Tab gt lt Tab gt P marker mar mar Ker Ker mar Ker for for for for edge edge edge edge detec detec detec detec The text for flash SM173 exists already and is prescribed by the software Step 24 Response Enter Ctrl T for Terminate In accordance with Schritt 5 enter the following list as text for M15 1 to M15 4 el tion tion tion tion You have now finished editing the SYM COM block and th
10. rol loop 1 34 Initial programming moves AKF 87 Step4 Enter L for Local V 24 Response The V 24 menu opens Edit Basic Scan Time Priority Global Mode Phase State TAsk Number Number of CL s to be Processed Edit Comments SeLect ZUT Terminate save Step 5 X Enter C for Establish the Connection Response The PaDT now makes the connection so it may be a few moments before ALD25 is ready again When the connec tion has been made a flashing double arrow appears at the bottom left corner of the screen left right Note If there is a program running in your PLC switch to Online by pressing lt gt gt and run the StOp PLC function 88 Initial programming moves AKF 34 6 9 Bootload PLC Using this function the basic software is transferred from the PADT to the PLC and the PLC is made ready to record the program Note The following steps need only be carried out if your PLC has not yet been bootloaded with the current SW version Step 1 On the PLC ALU turn DIP switches BO B2 to the right and turn DIP switch B3 to the left take care that the PaDT lt PLC connecting plug does not get moved or pulled out Response The PLC is ready to transfer the basic software Step2 Enter L for Load Step3 Enter B for Bootload Response A window opens showing the transmission status The yellow LED on the ALU keeps flashing until the transmis sion process has been completed error f
11. Onlihe BISbrs s esset tl cte tma etas Dynamic Status Display 00e eee Further practise problem solving Remarks about program documentation Remarks about data security 00006 Table of Contents 35 Chapter 6 Initial programming moves AKF A250 AKFT25 25 s dd ve EVE EE bra ed a Introduction emen Dee Preparation S z t ace iE TA DM ALEDPPANDRSNMLELDES Task definition 0 0 0 c cece eee eee eee Wiring diagram 0 eee cee Parameters of the sample program Progr amming 2 iLve ient ee t a cee Call program oti iis mne Migration from A120 to A250 configuration via ALU Group 0 e eee Programming presettings 2 020 0000e Edit equipment list 2 0 eee eee eee eee Activate equipment list editor luus Set up subrack 000 cece eee eee eee Enter modules 24i icem RLREELm IE QV Edit menu for the equipment list editor Terminate equipment list and save Assign symbols and comments SYM COM block Assign symbols comments for inputs input word Insert comment lines in the SYM COM block Assign symbols for outputs 22 0005 Symbols Comment for markers Assign marker word 0 cece eee eee eee Edit program blocks 0 eee eee eee eee Open block editor 0 cece eee Edi
12. Step 4 Step 5 Response Enter T for Block Type and keep toggling until DB ap pears Enter B for Block number Enter 1 and press Return Enter s for Start Entry The block editor opens and the last network of the OB1 appears with BE for block end Press lt Ctrl gt lt Return gt to open the processing menu Enter R for InseRt Network With the Insert function a new network is always inser ted in front of the current network In this case network 1 is now blank contains only network 2 shows BE for block end o Call PB in OB unconditionally i e the PB is called in every scan Step 1 Step 2 Step 3 33 Press lt Ctrl gt lt Return gt to open the processing menu Enter L for Insert Line Enter the following text for the block call BC Tab PB1 Return First programming steps A120 AKF125 49 o Close the OB and save Step1 Press lt Ctrl gt lt Return gt to open the processing menu Step2 Enter T for Terminate network Step3 Press lt Ctrl gt lt Return gt to open the processing menu Step4 Enter T for Terminate block With this the program input is complete The following shows a printout of the program which has been created 50 First programming steps A120 AKF125 33 C XUEBUNBGXLRUF 1250B1 AEG Hodicon Dolog AKF Programm Protokoll NETZWERK ADOL BA PE 1 TEKEK NETZWERK BBB2 BE C NUEBUNGNLRUF12 PB1 AEG Hodicon Dolog AKF Programn Protoko
13. cessary Step1 Press Ctrl Return Response The processing menu opens Edit IL InseRt Line Erase Line NW Terminate NU Break Module NU Header NW CoMments FBD Elements NW End Character Presetting Step 2 Press R for InseRt Line Step 3 Press lt Ctrl gt lt E gt several times in order to add more lines the program has 26 lines in total Edit Module 46 First programming steps A120 AKF125 33 33 Step 4 Step 5 Step 6 Step 7 Step 8 Step 9 Step 10 Now enter the following lines In the process you can add more blank lines above the cursor during editing by pres sing lt Ctrl gt lt E gt A Tab OFF Return JF Tab JUMP1 Return L Tab KO Return Tab ROTATED Return L Tab KO Return JI Tab JUMP3 Return For jump target JUMP1 use the arrow key to move the cursor left along the blank line as far as the edge of the screen JUMP1 Tab to A Tab LOAD Return Enter the following lines in accordance with Schritt 4 EDP Tab HELP1 Return C Tab HELP2 lt Return gt JF Tab JUMP2 Return LBW Tab BIT1 lt Return gt DBB Tab CNT8 Return Tab ROTATED Return Enter the following line in accordance with Schritt 5 JUMP2 Tab to A Tab PULSE Return Enter the following lines in accordance with Schritt 4 A Tab FREE Return EDP Tab HELP3
14. Load pointer address contents of address to which pointer is pointing address of value 1 in ROLL1 and transfer to pointer 1 Pointer 1 is now pointing to ROLL1 n Load word contents of the address to which pointer is pointing address of ROLL1 3 number and transfer to MW1 Load address of UEDB1 3 value 1 and transfer to pointer 3 126 Example for indirect addressing 33 ADD ADD Jl 33 P1 gt WORD P3 gt WORD MW1 MW1 P1 P1 P3 P3 Load word contents of the address to which pointer 1 is pointing value 1 in ROLL1 and Transfer word to the address to which pointer 3 is pointing value 1 in UEDB1 Load MW1 number of values to be copied Decrement MW1 Store new value in MW1 If counting loop 0 jump to label E end Load pointer 1 address value 1 in ROLL1 Add constant 2 address value 1 constant 2 address of value 2 and store in pointer 1 Pointer 1 is now pointing to value in ROLL1 Load pointer 3 address value 1 in UEDB1 Add constant 2 address value 1 constant 2 address of value 2 and store in pointer 3 Pointer 3 is now pointing to value in UEDB1 Jump to start of processing loop label L IL end Example for indirect addressing 127 8 11 Indirect addressing of data structures The directory block VZBS1 enables the execution of multiple data structures within one loop
15. Step 17 Response Station Name A250_ST1 Addressing SYM Max No of Blocks 200 Link mode Complete Retranslation BusType BusType coma packed compressed Modnet 1 SFB n MMSE no n MEMORY Modnet n ProfI 15X 204 205 E for MMSE keep toggling until no appears I for Profl keep toggling until no appears Exit the menu window with lt ESC gt Select L for Load Station Keep toggling until the required load procedure overlays normal packed or compressed Y for SYM Start char enter 1 Return R for OveRview mode keep toggling until MEMORY appears Station Presetting Menu item ALU Group retains the setting 15X Press Esc twice The menus close and the cursor bar stays on SeTup in the main menu line The setups have now been accepted 70 Initial programming moves AKF 34 6 6 4 Edit equipment list 6 6 4 1 Activate equipment list editor Step 1 Enter E for Edit Response The edit menu opens Step2 Enter L for Equipment List Response The equipment list editor is displayed A menu offers a suggestion for the first subrack 6 6 4 2 Set up subrack Step 1 Confirm DTA 112 by pressing Return Response The first five lines are prepared for input the grid fades out and an ALU 151 is entered in the line for slot 0 Step2 If another ALU is preferred press Return selection ALU type and you can choose another ALU by pressing Return 6 6 4 3 Enter mod
16. The following basic symbols are available for creating functional block diagrams amp AND block 0b OR block Input Negated input The function block diagram operations are parameterized with operands data structures for data structures see also chapter 4 6 OBs PBs and FBs can be programmed in FBD The end of a block is marked by a box with Block end For explanation of terms see Bild 4 Branching instructions are not permitted in functional block diagram but block calls are Note More detailed information e g on generating programs in functional block diagram is contained in the user instructions Confi guration 14 Technical Languages in Programming 33 Chapter 4 Software Blocks In the following chapter the most important functions and features of the various blocks are described 33 Software Blocks 15 4 1 Block types o The organization block OB contains the overall structure and defines the order in which the other blocks are to be processed C The program block PB brings together parts of a user program such as modules machine parts and plant sections from the technological point of view o The function block FB processes frequently recurring program parts as separate subroutines rj The standard function block SFB has the same function as the FB and is an integral part of the standard PLC features Individual networks represented in IL LD or FBD
17. a simple program will be created in AKF125 loaded into the PLC and then viewed using dynamic status display 5 2 Preparations The following preparations should already have been made Oo On the programming unit in this case a P610C you will find the software in stalled on drive C see Installation in the user instructions Note The sample program is installed along with the software r3 Included in the example is an A120 with the following modules Subracks DTA 112 ALU 200 DEP 216 on slot reference 2 DAP 216 and two SIM 011s as simulators on DEP inputs 12 1 to 12 16 Please also remember the PaDT connection cable lt gt PLC 28 First programming steps A120 AKF125 33 5 3 Task definition The idea is to create a program where an 8 bit wide bit string traverses on 16 bits of an output module running light The bit string which is going to be used is set by using inputs 12 9 to 12 16 and accepted via input 12 2 It is possible to stop the output by using 12 1 1 all 16 outputs 0 or to freeze the current status by using 12 3 0 Programming is carried out in the special language In struction List and symbolically The sample plant is called EXERCISE the sample program is called RUN12 Note The program logic already exists what we have here is an exercise in handling AKF 33 First programming steps A120 AKF125 29 5 4 Wiring diagram UB 24V 2 DEP 216 DAP 216
18. are the infrastructure of which program blocks and function blocks FBs and SFBs are composed The individual networks form the program with its sequence of instructions for the process control concerned The user program in Dolog AKF is composed of various blocks The selection depends on the complexity of the task definition and the requirement to keep the configuration as simple as possible Block technology thus allows structured pro gramming o The SYM COM block a in A250 contains and organizes the assignment of hardware addresses symbolic addresses and comments It cannot be linked in a network and is instead generated separately with the SYM COM editor a in A120 with data blocks DBO DB9 contains and organizes the assignment of hardware addresses symbolic addresses and comments It cannot be linked in a network and is instead generated separately with the SYM COM editor 16 Software Blocks 33 4 2 Organization blocks OB In AKF125 organization blocks are available The organization blocks can be generated in IL LD or FBD OBs are processed cyclically Each scan cycle begins with the processing of network 001 and ends with the processing of the last network contained in the OB From within the OB the program and function blocks PB FB and SFB are called and processed in the required order PBs and FBs consist of a series of consecutively numbered networks beginning with network 001 Each network contains o
19. bit of bit string 12 16 BIT8 Eighth bit of bit string Q3 1 RUN1 Q3 2 RUN2 Q3 3 RUNS Q3 4 RUN4 Q3 5 RUNS5 Q3 6 RUN6 Q3 7 RUN7 Q3 8 RUN8 Outputs on which the bit string Q3 9 RUN9 is alternately sent Q3 10 RUN10 running light Q3 11 RUN11 Q3 12 RUN12 Q3 13 RUN13 Q3 14 RUN14 Q3 15 RUN15 Q3 16 RUN16 4 M15 1 HELP1 Help marker for edge detection M15 2 HELP2 Help marker for edge detection M15 3 HELP3 Help marker for edge detection M15 4 HELP4 Help marker for edge detection MW72 ROTATED This word contains the rotated info SM15 TAKT 10 0 Hz flashing rate 33 First programming steps A120 AKF125 103 7 6 7 6 1 104 Programming Note Menu functions are declared in inverted commas e g Edit Blocks Entries that you input type are in Courier e g AKF 12 Key combinations special keys are shown in brackets e g lt Ctrl gt lt S gt Call program Step 1 Note Call the software from user drive C with the following command AKF125 The following steps apply for the first software call after in stallation If the AKF125 software has already been used for configu ration and a plant has already been created ignore the following steps and proceed as shown in chapter 11 6 2 Response Step 2 Response Step 3 Response You will be asked to enter an AKF plant name Enter a plant name of your choice e g C PLANT then press Return You will be asked whether you wish the p
20. bit string EW2 1 Bitstring A2 1 RUN1 Q2 2 RUN2 Q2 3 RUNS Q2 4 RUN4 Q2 5 RUNS5 Q2 6 RUN6 Q2 7 RUN7 Q2 8 RUN8 Outputs on which the bit string Q2 9 RUNS is alternately sent Q2 10 RUN10 running light Q2 11 RUN11 Q2 12 RUN12 Q2 13 RUN13 Q2 14 RUN14 Q2 15 RUN15 Q2 16 RUN16 J M15 1 HELP1 Help marker for edge detection M15 2 HELP2 Help marker for edge detection M15 3 HELP3 Help marker for edge detection M15 4 HELP4 Help marker for edge detection MW72 ROTATED This word contains the rotated Info SM173 TAKT_7 10 0 Hz flashing rate 33 Initial programming moves AKF 65 6 6 6 6 1 66 Programming Note Menu functions are declared in inverted commas e g Edit Blocks Entries that you input type are in Courier e g ALD25 Key combinations special keys are shown in brackets e g lt Ctrl gt lt S gt Call program Step 1 Start the AKF125 software package from the DOS interfa ce e g from drive C by entering AKF125 and then pres sing Return Note The following steps apply for the first software call after in stallation If the ALD25 AKF 125 software has already been used for configuration and a plant has already been created you will need to make the following entries before steps 2 5 1 Enter T for SeTup 2 Enter A for Plant Response You will be asked to enter an A250 plant name Step2 Enter a plant name of your choice e g D EXERCISE then press Return Re
21. bit string from 12 9 to 12 16 onto M12 1 to M12 8 by entering marker M12 1 instead of BIT1 Close the network and the block Transfer the resulting block online to the PLC without linking first Load Exchange Online Then modify the online list by entering M12 1 M12 8 instead of Bit1 Bit8 In the ID column of the online list enter CE for control enable by the markers Then assign the markers the required bit string in the Force Sta tus Control value column Open the processing menu and enter the values in the PLC using Con trol Enable By entering 0 1 edge at 12 2 the new bit string is transferred to the outputs Initial programming moves AKF 97 6 15 Remarks about program documentation You can use the Print menu to carry out program documentation If you use Entire Documentation all the important data are printed out in one run comple te with table of contents You can decide whether you want the lists to go to the screen to a file or to the printer You can edit the files with any ASCII editor You are in the current station direc tory Assign the name of the file yourself when you select Output Unit File When sending to the printer make sure it has been initialized Initialization is carried out in the SeTup Print menu Note Please note the documentation of menus in the Configura tion A250 user instructions 6 16 Remarks about data security You can use the Speci
22. graphic structure of the block square and the order of the parameters The declaration part can be altered later within limits o Instruction part The instruction part contains the program in IL LD or FBD This program sets up the algorithmic correlations between the formal operands in the declaration part The names of the formal operands in the instruction list must always be pre ceded by an sign To the right of the instruction list in appropriate cases there is a number that states the nesting depth of the line concerned 33 Software Blocks 19 Call FB1 Conditional call of a function block in mE ladder diagram or function block dia Cond ues on EX gram The formal operands are BIT EF ERG WORD shown in the block WORD OP1 FEHL BIT The question mark indicates where WORD OP2 actual operands data structures M3 3 A3 1 WLIN1 1 are required Figure 7 Example of a conditional call An FB can be called from another FB PB or OB The FB is then displayed as a square in LD FBD network Its name in short form is shown again in the square The input formal operands appear on the left within the square and the actual operands data structures are outside the square and to the left possibly with a condition above them The output formal operands appear on the right within the square with the actual operands data structures outside the square and to the right After the FB call you simply enter the parame
23. is full a warning to ne is heard and the cursor jumps automatically to the next line Enter Ctrl Return to open the processing menu Enter s for Search Function Enter M15 1 and press Return Enter the following text for M15 1 to M15 4 HELP1 Tab Help marker for edge detection Tab HELP2 Tab Help marker for edge detection Tab HELP3 Tab Help marker for edge detection Tab HELP4 Tab Help marker for edge detection Tab Enter Ctrl Return to open the processing menu Enter s for Search Function Enter SM15 and Return Enter the following text PULSE E 42 First programming steps A120 AKF125 33 33 Step 30 Step 31 Response Step 32 Response Enter Ctrl Return to open the processing menu Enter T for NW Terminate This finishes with editing the SYM COM block and the texts are saved Enter Esc The edit menu can be viewed again First programming steps A120 AKF125 43 5 6 7 Edit program blocks This chapter deals with entering the user program in AKF12 5 6 7 1 Open block editor Step 1 Response Step 2 Step 3 Step 4 Step 5 Step 6 Step 7 Step 8 Step 9 Response Enter B for Blocks The block menu opens Enter B for Block number Enter 1 and press Return Enter N for Network number Enter 1 and press Return Enter T for Block Type and keep toggling until
24. language can be displayed in another special language Instruction list Edit Display and Documentation Ladder diagram Functional block diagram Edit Display and Documentation Edit Display and Documentation 1 is the number of brackets used Figure3 Display in IL LD and FBD 10 Technical Languages in Programming 33 3 1 Instruction list IL The instruction list is a standard type of presentation in alphanumeric form Programs are generated in IL as a sequence of instruction lines There are two different types of instructions The following two instructions are equivalent AF is arbitrary O 13 1 O AF Instruction or Instruction O 13 1 O AF Operation Actual operand Operation Formal operand or data structure Oo E AF O E 3 1 Identifier Parameter Name Paramete AF E 3 1 replaced by Copy Element actual para 1 meter at time 3 of block call Data structure for A250 see chapter 4 6 of AKF125 for beginners Figure 4 Explanation of terms in Instruction List A network instruction list closes with the sign for a network end The end of a block is highlighted with BE for block end For the individual control systems there are tables of operations an
25. security In the menu Special you can archive the entire station Backup or restore Note Please note the information on the documentation of menus in the Configuration user instructions 60 First programming steps A120 AKF 125 33 Chapter 6 Initial programming moves AKF A250 AKF125 This chapter includes an example of a small AKF application complete in all details for programming the A250 with the AKF125 software package 33 Initial programming moves AKF 61 6 1 Introduction This chapter will show you as a beginner in AKF how to take the first steps in programming an A250 For this a simple program will be created in AKF125 loaded into the PLC and then viewed using dynamic status display 6 2 Preparations The following preparations should already have been made On the programming unit in this case a P810 you will find the software installed on drive D see Installation in the user instructions Note In this example no Modnet 1 SFB installation has been car ried out o Included in the example is an A250 with the following modules Subracks DTA 112 ALU 151 BIK 116 and DAP 102 on slot reference 2 and two SIM 011s as simulators on DAP inputs 12 1 to 12 16 Please also remember the PaDT lt gt PLC connection cable 62 Initial programming moves AKF 33 6 3 Task definition The idea is to create a program where an 8 bit wide bit string traverses on 16 bits of an output module running light
26. with Yes 106 First programming steps A120 AKF 125 33 7 6 3 Programming presettings We will now take a look at the setups If the presettings are not yet as you want carry out the following settings Step 1 Response Step 2 Response Step 3 Response Step 4 Response Step 5 Step 6 Step 7 Step 8 Step 9 Response Step 10 33 Enter T for SeTup The setup menu opens Enter s for PLC Station The Station menu opens Call a new predefined station by entering Return lt Blank gt lt Return gt A selection window with the current AKF Stations opens Select the required station with the cursor and accept by pressing lt Return gt The new station is accepted into the Station menu Enter A for Addressing keep toggling until SYM ap pears symbolic programming B for Max No of Blocks enter 100 Return Answer the prompt with YES M for Link Mode use the arrow keys to select Complete Representation Return Select T for BusType Bus Type selection window opens S for Modnet 1 SFB keep toggling until no appears Initial programming steps AKF 107 Step 11 Step 12 Step 13 Step 14 Step 15 Step 16 Note Step 17 Response Station Name A250_ST1 Addressing SYM Max No of Blocks 200 Link mode Complete Retranslation BusType BusType coma packed compressed Modnet 1 SFB n MMSE no n MEMORY Modnet n ProfI 15X 204 205
27. xi Validity Note These User Instructions apply to the AKF125 software version 7 1 on the DOS operating system The current intention is for remote control data only to be edited with the AKF125 configuration software and not with ALD25 Therefore within systems U250 and UZ250 remote control modules KOS140 KOS141 and DEZ161 should not be used as REAL TIME variants Correspondingly the KOS 20x modules of the U120 Z120 and UZ120 systems are not to be used xii 20 Table of Contents 35 Chapter 1 2n On Chapter 2 2 1 Chapter 3 3 1 3 2 3 3 Chapter 4 Introduction vi ckeeex y x RR ER a ER ERE EA 1 Introduction le PEL Pepe Shed darlin 2 Programming components eee eee eee 3 Basic Tunctions 22 cum py sina eee aass ot Bie ee Raat 4 Structured Programming 5 Introduction egio E Dr xine AELIAN Eds 6 Program structure 0 0 cee eee eee ees 7 Technical Languages in Programming 9 Instruction list IL eee eee 11 Ladder diagram LD 0 cece eee eee eee 13 Function block diagram FBD 00 eee 14 Software Blocks esee 15 Block types cere agate edm 16 Organization blocks OB uuluuuueessss 17 Program block PB 2 e xs 18 Function block FB 0 ce eee eee eee eee 19 Standard function block SFB 0 00005 21 Data structures for A250 cece cee eee 22 SYM COM block
28. you want to save by pres sing Y for Yes Step 10 Exit the Online List menu by pressing lt ESC gt The online list is now complete You can now also view signal status in the dyna mic status display 34 Initial programming moves AKF 6 13 2 Dynamic Status Display Now a run through of the dynamic status display current display Step1 In the online menu enter D for Dyn Status Display Response The menu opens Dynamic Status Display Current Display Triggered Recording Output Mode IL Adressing SYM Step2 Enter L for Current dispLay Step3 Enter at Block and press Return Step4 Enter PB1 and press Return Step5 Enter s for Start Response Network 1 of PB1 is selected You can now scroll within the network using the arrow keys or scroll to the other network using PgDn and lt PgUp gt You can press Ctrl Return to open a processing menu in which various functions are available e g viewing Online List etc To view signal status scan by scan e g for diagnostic purposes you can use triggered recording 96 Initial programming moves AKF 34 6 14 Further practise problem solving A suggestion for further practise modifying this program Change the program so that the bit string is no longer set up with inputs but with help markers a a ag 34 Select the PB1 and network 1 under Edit Blocks Select Modify from the processing menu Change the
29. 12 1 to 12 16 Step 1 Step 2 Response Step 3 Response Step 4 Response Set up any bit string 0 1 on the switches on 12 9 to 12 16 Set 12 1 to 1 and the O off After initialization 12 1 1 all outputs are off Set 12 3 to 1 The running light is enabled run 12 2 from 0 to 1 0 gt 1 edge The input bit string is accepted at the outputs and rotated The program is now in its required end state The bit string can be changed at any time and re accepted by using 12 2 54 First programming steps A120 AKF125 33 5 11 Online List Dyn status display 5 11 1 Online List First a list is created in which you enter the signals In the following example the list is used for displaying the status Signals can also be controlled or defined forced Step1 After starting the PLC you will already be in the online me nu If not press Esc to exit the open menus and then press o for Online Step2 Press L for Online List Response The das Load Erase On line List menu appears Step3 Press L for Load Online List Step4 Enter RUN12 and press Return Choice of Online List Name of the List LAUF Response You will be asked whether you want to create a new list Step 5 Confirm with Yes Response The window with the list editor opens You will find the cursor in the top left hand column 33 First programming steps A120 AKF125 55 KE Sional FRH Force Status Stever Wert
30. 2 t JUMPS lt b JUHA FNO NETZUEREK BE Figure 12 Your finished program should look like this 34 Initial programming moves AKF 85 6 7 Link Program The following function will tailor the program to PLC requirements Step 1 Step 2 Response Step 3 Step 4 Response Step 5 To go to the main menu line exit the open menus by pressing the Esc key Enter L for Load The load menu opens Enter L for Link Program Answer the message with Y for Yes The program is linked Confirm the message The program is now ready to be transferred to the PLC 86 Initial programming moves AKF 34 6 8 Networking PLC lt gt PaDT HW SW Note The functions that now follow from Chapter 9 18 to Chapter 9 24 are only available with a regularly connected PLC Now connect the connection cable PaDT COM1 lt PLC RS 232C and switch on the PLC power supply o Set up networking in ALD25 Step 1 To go to the main menu line exit the open menus by pressing the lt Esc gt key Step 2 Enter T for SeTup Response The setup menu opens Step3 Enter w for Networking Response The connect menu opens Basic scan time Phase state ae FF Line RTM Global data of ZUT1 Priority global mode Task No No of ctrl 0 10 sec 5 1 active loops 10 stepdown WANTON Comments Cont data of mode ZUT1 phase status active active active ssi PUR RR REN ee PRR O OOO
31. 2 1 EGON3 3 or symbol L BIT FWORD 7 e g MG1900 GLIN2 2 EGONS 4 or symbol 33 4 7 SYM COM block for A250 Data block DBO DB9 for A120 To make the relationship between an absolute address l Os markers etc and its technological function clear it is possible to provide absolute addresses with symbolic names and comments The symbolic names and comments text is stored in the SYM COM block under the actual station name After activating the SYM COM block the alternatives to the absolute addresses i e the symbolic names entered in the SYM COM block can be used in pro gramming The SYM COM block can be also be documented Signal Symbol Comment Initial value L Saal ON Motor 1 on 194 2 MOT RI Motor right on I3 3 MOT LE Motor left on I3 4 STOP Esc key l325 PUMP 1 Pump 1 on d 36 PUMP 2 Pump 2 on IS 7 13 8 13 9 13 10 L3 41l TONG UP Tongs up 13512 TONG_DO Tongs down I3413 I3 14 T3395 13 18 not for A120 Figure9 Examples of SYM COM block entries 33 Software Blocks 25 26 Software Blocks Chapter 5 First programming steps A120 AKF125 with ALU 200 201 202 This chapter includes an example of a small application complete in all details for programming the A120 with AKF125 33 First programming steps A120 AKF125 27 5 1 Introduction This chapter will show you as a beginner in AKF how to take the first steps in programming an A120 For this
32. 8 Return Tab ROTATED Return Enter the following line in accordance Schritt 5 JUMP2 Tab to A Tab PULSI with Schritt 4 and E 7 Return Enter the following lines in accordance with Schritt 3 A Tab FREE lt Return gt EDP Tab HELP3 Return C Tab HELP4 Return JF Tab JUMP4 Return A Tab ROTATED lt Return gt ROL Tab vi Return Tab ROTATED Return Enter the following line in accordance Schritt 5 with Schritt 4 and JUMP3 Tab to L Tab ROTATED Return Enter the following lines in accordance with Schritt 3 TBW Tab RUN1 lt Return gt DBB Tab CNT16 Return Enter the following line in accordance Schritt 5 JUMP4 Tab to NOP Return eek Initial programming moves AKF with Schritt 4 and 34 o Deleting superfluous blank instruction lines completes the network Redundant lines can be cleared as follows Step 1 Move the cursor to a blank line with the arrow keys Step2 Enter lt Ctrl gt lt E for Erase Line o Close network and save You can either close the network with Schritt 1 and Schritt 2 or simply run Schritt 3 Step1 Press lt Cirl gt lt Return gt to open the processing menu Step2 Enter T for NW Terminate Step3 Enter lt Ctrl gt lt T gt for Terminate save og Close block and save Step 1 Enter lt Ctrl gt lt T gt for Te
33. AZ M12 4 A L M20 7 of M12 8 Network4 Network3 Network2 PB12 Networkl Figure8 Example of an SFB call in the network of a PB NW1 33 Software Blocks 21 4 6 Data structures for A250 The data structure contains a table of parameters that technologically belong to gether A distinction is made between o AEG data structures a are strictly predefined not modifiable by the user o are used for parameterizing SFBs or are required internally by AKF125 e g setpoint actual value fields of the intelligent function blocks o User s own data structures a are generated completely including attributes parameter lists etc by the user o are used for parameterizing user function blocks individual parameters cal led data structure elements can also be linked to SFBs All data structures can be seen in AKF125 menu Edit Data structures Stipulations for AEG data structure elements are made in the menu Edit Sym bols and comments User data structures are created and defined in the menu Edit Data structu res Stipulations for the elements are made in the Menue Edit Symbols and comments The following table and sample FB illustrate the distinction between the various groups 22 Software Blocks 33 Table amp j 2 Definition characteristics of data structures Ctiteria AEG data structure User da
34. DB_Y Add constant 1 address of low byte value 1 constant 1 address of high byte value 1 and transfer to pointer 2 Pointer 2 is now pointing to high byte of value 1 in DB Y Jump to start of processing loop label L IL end Example for indirect addressing 123 8 9 Copying a word string from data structu res with the aid of the data type address Using the data type address the contents of data structure DB X can be copied to data structure DB Y The data type address is like the pointer also a poin ter in its own right It is pointing in this example to the address of value 1 DB X1 DB Y1 1 Word ADDRESS 1 ADDRESS 3 WORD number 2 WORD number 3 WORD value 1 4 WORD value 2 n WORD value 1 5 WORD value 3 L WORD value 2 WORD value 3 Figure 19 Organization of the data structures 124 Example for indirect addressing 33 m g DEC JF E ADD Jl DB X1 2 P1 DB Y1 3 P2 DB X1 3 DB Y1 2 MW1 P1 WORD P2 WORD MW1 MW1 P1 P1 P2 P2 Load the contents of ADDRESS address of value 1 in DB_X into pointer 1 Load the address of value 1 in DB_Y into pointer 2 Load contents of number in DB_X into number in DB_Y and into MW1 Load word contents of the address to which pointer 1 is pointing value 1 in DB_X and transfer the word to the address to which pointer 2 is pointing value 1 in DB_Y
35. Dolog AKF125 A120 A250 Type AKF125EN Version 7 10 AKF125 for Beginners User Instruction DOK 702083 35 1096 Translation of the German Description DOK 700567 35 0196 Accompanying software package E No 424 275182 Documents in the software package Kit 1 Documentation Installation User Instruction DOK 702082 How do you proceed User Instruction DOK 702084 Kit 2 Documentation AKF125 for Beginners User Instruction DOK 702083 Short Form Guide A120 User Instruction DOK 702087 Sort Form Guide A250 User Instruction DOK 702088 Configuration A120 User Instruction DOK 702085 35 Area of application Explains the usage and installation of the dis kette s included Serves as a red thread through the docu mentation of the software packet and should be gone over before the start Area of application Serves to introduce new customers to AKF125 The user learns how to use the soft ware in samll steps Tables for validity ranges and symstem mar kers SFB Formal operands for quick use on site Tables for validity ranges and symstem mar kers SFB Formal operands for quick use on site Contains the new features of the current ver sion and explains th efunctions of th indivi dual software menus for the configurer Documents in the software package iii Kit 3 Documentation iv Configuration A250 Vo1 User Instruction DOK 702086 Configuration A250 Vo2 User Instruction D
36. Load MW1 number of values to be copied Decrement MW1 Store new value in MW1 If counting loop 0 jump to label E end Load pointer 1 address of value 1 in DB X Add constant 2 address value 1 constant 2 address of value 2 and transfer to pointer 1 Pointer 1 now points to value 2 in DB X Load pointer 2 address of value 1 in DB Y Add constant 2 address of value 1 constant 2 address of value 2 and transfer to pointer 2 Pointer 2 is now pointing to value 2 in DB Y Jump to start of processing loop label L IL end Example for indirect addressing 125 8 10 Copying a word string from data structu res with the aid of a data structure With the aid of directory block GEDB the contents of data structure ROLL1 can be copied into data structure UEDB1 GEDB1 ROLL1 UEDB1 1 ADDRESS gt 1 WORD 1 ADDRESS 2 ADDRESS 2 ADDRESS 2 ADDRESS E 3 WORD number 3 WORD value 1 n WORD value 1 4 WORD value 2 WORD value 2 5 WORD value 3 WORD value 3 ROLLx Figure 20 Organization of the data structures ADD GEDB1 1 V2 P1 V4 P2 P1 POINTER P1 P2 WORD MW1 UEDB1 3 P3 Load the contents of the first ADDRESS in GEDB1 address of the first Word in ROLL1 Add constant 2 and transfer to pointer 1 Pointer 1 is now pointing to ROLL1 2 Add constant 4 and transfer to pointer 2 Pointer 2 is now pointing to ROLL1 3
37. OK 707695 Masterindex User Instruction DOK 702089 Area of application Contains the new features of the current ver sion and explains th efunctions of th indivi dual software menus for the configurer The explanation of the individual software menus will continued Index of all documentation Documents in the software package 35 Notes Application Note A Caution The relevant regulations must be observed for control applications involving safety requirements For reasons of safety and to ensure compliance with docu mented system data repairs to components should be per formed only by the manufacturer Training Schneider Automation GmbH offers suitable training that provides further infor mation concerning the system see addresses Data Illustrations Alterations Data and illustration are not binding We reserve the right to alter our products in line with our policy of continuous product development If you have any sugges tions for improvements or amendments or have found errors in this publication please notify us by using the form on the last page of this publication Addresses The addresses are given at the end of this publication 20 V Copyright All rights reserved No part of this document may be reproduced or transmitted in any form or by any means electronic or mechanical including copying pro cessing or any information storage without permission in writing by the Schneid er Automation Gm
38. PB ap pears Enter M for Input Mode and keep toggling until IL ap pears Enter A for Addressing keep toggling until SYM ap pears S for Start Entry The block editor opens and the last network of the PB1 appears with BE for block end 44 First programming steps A120 AKF125 33 5 6 7 2 Edit PB1 First the program block PB with the running light program is edited The PB1 consists of network 1 with the program and network 2 with BE for block end o Insert network A blank block only ever consists of network 1 which is where the block end is located In order to edit within the block you must first insert a blank network Step1 Press Ctrl Return Response The processing menu opens Edit Network InseRt Erase Copy Modify Scroll Forwards Scroll BacKwards Terminate save Break Search Signal Search Network Exchange Online DYnamic Status Display Presetting Step 2 Enter R for InseRt Network Response With the Insert function a new network is always inser ted in front of the current network In this case network 1 is now blank contains only network 2 shows BE for block end 33 First programming steps A120 AKF125 45 o Edit network 1 In network 1 the instructions for the program are now created The program contains some jumps which are generally edited in instruction list Therefore the entire program will be created in instruction list though this is not absolutely ne
39. Response The cursor jumps to the Symbol column for signal 12 1 33 First programming steps A120 AKF125 39 Step 6 Response Step 7 Response Step 8 Response Step 9 Response Step 10 Step 11 Step 12 Response Enter OFF and Tab The cursor jumps to the Comment column Enter as comment Of f 1 all outputs off Off 0 display and confirm with Tab The entry is made in line 12 1 and the cursor is now on the line for signal 12 2 Enter LOAD Tab Load the bit string by using edge 0 gt 1 lt Tab gt The entry is made in line 12 2 and the cursor is now on the line for signal 12 3 Enter FREE Tab Free 0 freeze Free 1 run Tab The entry is made in line 12 3 and the cursor is now on the line for signal 12 4 Enter Ctrl Return to open the processing menu Enter s for Search Function Enter 12 9 and Return In the editor the cursor jumps to the Symbol column of the specified signal 40 First programming steps A120 AKF125 33 Step 13 Response Step 14 Step 15 Step 16 Response Enter the following text for 12 9 to 12 16 BIT1 Tab First bit of bit string Tab BIT2 Tab Second bit of bit string Tab BIT3 Tab Third bit of bit string Tab BIT4 Tab Fourth bit of bit string Tab BIT5 Tab Fifth bit of bit string Tab BIT6 Tab Sixth bit of bit string Tab BIT7 Tab Seventh bit of bit string Tab BIT8 Tab Ei
40. Return C Tab HELP4 Return JF Tab JUMP4 Return A Tab ROTATED Return ROL Tab vi Return Tab ROTATED Return Enter the following line in accordance with Schritt 5 JUMP3 Tab to L Tab ROTATED Return Enter the following lines in accordance with Schritt 4 TBW Tab RUN1 lt Return gt DBB Tab CNT16 Return First programming steps A120 AKF125 47 Step 11 Enter the following line in accordance with Schritt 5 JUMP4 Tab to NOP Return eek o Deleting superfluous blank instruction lines completes the network Redundant lines can be cleared as follows Step 1 Move the cursor to a blank line with the arrow keys Step2 Press Ctrl Return Step3 X Enter L for Delete line o Close network and save Step1 Press lt Ctrl gt lt Return gt to open the processing menu Step2 Enter T for NW Terminate o Close block and save Step1 Press lt Ctrl gt lt Return gt to open the processing menu Step2 Enter T for Terminate Save Block PB1 is now complete and the Edit Blocks menu is automatically dis played again The PB1 must now be linked to the organization block since this is where the threads of the program are woven together Without the organi zation block the program is not runnable 48 First programming steps A120 AKF125 33 5 6 7 3 Edit OB1 o Open OB Step 1 Step 1 Step 2 Step 3 Response
41. W100 P1 P1 K2 P2 P1 gt WORD P2 gt WORD MW102 P1 P ZERO Load constant 10 into MW100 Load constant 20 into MW101 Load address of MW100 into pointer 1 Load pointer 1 address of MW100 Add constant 2 address of MW100 constant 2 address of MW101 and transfer into pointer 2 now contains address of MW101 Load word contents of the address to which pointer 1 is pointing 2 contents of MW100 10 Add the word contents of the address to which pointer 2 is pointing contents of MW101 20 Transfer the result 30 into MW102 Load pointer 1 address of MW100 Compare with address 0 Jump to L if true IL end Example for indirect addressing 119 8 7 The aim is to copy the contents of data structure DB X to data structure DB Y Copying a word string from data structu re DB X to DB Y The number of values to be copied from DB X to DB Y has been defined in the first word of data structure DB X DB X1 1 WORD number DB Y1 1 WORD number 2 WORD 3 WORD 4 WORD value 1 value 2 value 3 DT 2 WORD 3 WORD 4 WORD value 1 value 2 value 3 PO PEN Figure 17 Organization of the data structures LA DB X12 E P1 LA DB Y12 P2 L DB X1 1 DB_Y1 1 MW1 L L P1 gt WORD P2 gt WORD L MW1 DEC MW1 JF E Load address of value 1 in DB X into pointer 1 Load address of value 1 in DB Y into pointe
42. al menu to backup or compress the entire station opera ting system independent backup or to restore decompress it Note Please note the documentation of menus in the Configura tion A250 user instructions 98 Initial programming moves AKF 34 Chapter 7 First programming steps A120 AKF125 with ALU 204 205 This chapter includes an example of a small application complete in all details for programming the A120 with the A250 feature of AKF125 33 First programming steps A120 AKF125 99 7 1 Introduction This chapter will show you as a beginner in AKF how to take the first steps in programming an A120 For this a simple program will be created in AKF125 loaded into the PLC and then viewed using dynamic status display 7 2 Preparations The following preparations should already have been made Oo On the programming unit in this case a P810C you will find the software in stalled on drive C see Installation in the user instructions Note The sample program is installed along with the software a Included in the example is an A120 with the following modules Subracks DTA 205 ALU 205 DEP 216 on slot reference 2 DAP 216 and two SIM 011s as simulators on DEP inputs 12 1 to 12 16 Please also remember the PaDT connection cable lt gt PLC 100 First programming steps A120 AKF 125 33 7 3 Task definition The idea is to create a program where an 8 bit wide bit string traverses on 16 bits of an output
43. al FRH Force Status Stever Wert T EOSERPhGo6t6 R Step 5 Enter the following text in the specified sequence lt Tab gt lt Tab gt Mw72 Return B for binary display Return lt Tab gt lt Tab gt Q2 1 16 Return repeat until next blank line Tab Tab 1W2 1 Return B for binary display Return lt Tab gt lt Tab gt 12 1 16 Return Response At each of the inputs Q2 1 16 and 1l2 1 16 all 16 signals are automatically declared The list input is closed You can now use the arrow keys or lt PgUp gt lt PgDn gt to scroll through Ensure that the NUM LOCK key is switched off Step6 Press lt Ctrl gt lt Return gt to open the processing menu 94 Initial programming moves AKF 34 Step 7 Enter u for StatUs display Response The top line switches to active To continue editing switch back to edit again by pressing Esc The follo wing figure shows an example of a status display using Online List KE B5 Bignal FRH Force Status Stever Wert ROTIERT BIN 0000000000111110 LRUFT BIN 8 LAUF2 BIN 1 LAUFS BIN 1 LAUFA BIN 1 LAUFS BIN 1 LAUFE BIN 1 LAUF BIN 8 LAUFE BIN 8 LRUFS BIN 8 LAUF16 BIN 8 LRUFT1 BIN 8 LRUF12 BIN 8 LRUF13 BIN 8 LRUF14 BIN 8 LRUF15 BIN 8 LRUF1G BIN 8 BITHUSTER BIN 0001111100000118 MI n r Step8 Enter lt Ctrl gt lt T gt to close Step9 Answer the message asking if
44. bH You are not authorized to translate this document into any other language Trademarks All terms used in this user manual to denote Schneider Automation GmbH prod ucts are trademarks of the Schneider Automation GmbH 1996 Schneider Automation GmbH vi 20 Terminology uj gt Note This symbol emphasizes very important facts Caution This symbol refers to frequently appearing error sources Warning This symbol points to sources of danger that may cause financial and health damages or may have other aggravat ing consequences Expert This symbol is used when a more detailed information is given which is intended exclusively for experts special training re quired Skipping this information does not interfere with understand ing the publication and does not restrict standard application of the product Path This symbol identifies the use of paths in software menus Figures are given in the spelling corresponding to international practice and ap proved by SI Syst me International d Unit s l e a space between the thousands and the usage of a decimal point e g 12 345 67 20 vii Abbreviatons ABS Adr AE AZ AKF ALD ALS AWL AWP BGT BSS DAE DAZ DIB DBO 9 DPB DSB DW VO FB FUP FW HW IB KB KF KFW KOP KS LZS MW OB PB PaDT RK SFB SK viii absolute Adressing Adresse signal adresse Block for one time actions Block for cyclicel actions Instructionlist Conta
45. d operands data structures data structures for the A250 application 33 Technical Languages in Programming 11 Organization blocks OBs program blocks PBs and function blocks FBs can be programmed in IL Branch and block call instructions are possible in instruction list programming Note More precise information e g on creating programs in in struction list is included in the user instructions A120 or A250 confi guration 12 Technical Languages in Programming 33 3 2 Ladder diagram LD The ladder diagram is a standard type of graphic presentation The following basic symbols are available when generating ladder diagrams JYMt 0o open contact closed contact Connection of parallel conductors Continuation in parallel but without any contact Output Ladder diagram operations are parameterized with operands data structures for data structures see also chapter 4 6 For explanation of terms see Figure 4 The end of a block is marked by a box with Block end OBs PBs and FBs can be programmed in ladder diagram Branch instructions are not permitted in ladder diagram but block calls are 33 More detailed information e g on creating ladder diagram programs is contained in the user instructions Configuration Technical Languages in Programming 13 3 3 Function block diagram FBD The functional block diagram is a standard type of graphical presentation
46. e List menu by pressing Esc The online list is now complete You can now also view signal status in the dyna mic status display 5 11 2 Dynamic Status Display Now a run through of the dynamic status display current display Step1 In the online menu enter D for Dyn Status Display Response The menu opens Dynamic Status Display Current Display Triggered Recording Output Mode IL Adressing SYM Step 2 Step 3 Step 4 Step 5 Step 6 Step 7 Enter L for Current dispLay Enter B for Block number Enter 1 and press Return Enter T for Block Type and keep toggling until PB ap pears Enter N for Network number Enter 1 and press Return 58 First programming steps A120 AKF 125 33 Step8 Enter s for Start Display Response Network 1 of PB1 is selected You can now scroll through the network using the arrow keys or scroll to the other network using PgDn and lt PgUp gt You can press lt Ctrl gt lt Return gt to open a processing menu in which various functions are available To view signal status scan by scan e g for diagnostic purposes use Triggered recording 5 12 Further practise problem solving A suggestion for further practise modifying this program Change the program so that the bit string is no longer set up with inputs but with help markers o Select the PB1 and network 1 under Edit Blocks o Select Modify from the processing menu o Change
47. e copied DB X1 DB Y1 1 WORD number 2 WORD value 1 3 BIT value 2 4 BYTE value 3 5 GWORD value 4 1 WORD number 2 WORD value 1 3 BIT value 2 4 BYTE value 3 5 GWORD value 4 Calculation of the bytes to be copied WORD value 1 BIT value 2 BYTE value 3 GWORD value 4 Number of bytes 2 byte 1 Byte 1 Byte 4 Bytes Figure 18 Organization of the data structures 122 Example for indirect addressing 9 Bytes 33 33 DEC JF E ADD ADD DB X1 2 P1 DB Y1 2 P2 DB X1 1 DB Y1 1 MW1 P1 BYTE P2 gt BYTE MW1 MW1 P1 P1 P2 Load address of value 1 low byte in DB X into pointer 1 Load address of value 1 low byte in DB Y into pointer 2 Load contents of number in DB X into number in DB Y and into MW1 Load byte contents of the address to which pointer 1 is pointing low byte of value 1 in DB X and transfer byte to the address to which pointer 2 is pointing low byte of value 1 in DB Y Load MW1 number of values to be copied Decrement MW1 Store new value in MW1 If counting loop 0 jump to label E end Load pointer 1 address of value 1 low byte in DB_X Add constant 1 address of low byte value 1 constant 1 address of high byte value 1 and transfer to pointer 1 Pointer 1 is now pointing to high byte of value 1 in DB_X Load pointer 2 address of value 1 low byte in
48. e texts will be saved The edit menu is displayed again 78 Initial programming moves AKF 34 6 6 6 Edit program blocks In this chapter the user program will be entered 6 6 6 1 Open block editor Step 1 Enter B for Blocks Response The block menu opens Step2 Enter B for Block Step3 Enter PB1 for program block 1 and press Return Step4 1 for Input mode keep toggling until IL appears Step 5 Enter A for Addressing keep toggling until SYM ap pears Step 6 Enter s for Start Entry Response The block editor opens and the last network of PB1 ap pears on selecting Block end 6 6 6 2 Edit PB1 First the program block PB with the running light program is edited The PB1 consists of network 1 with the program and network 2 with BE for block end 34 Initial programming moves AKF 79 o Insert network A blank block only ever consists of network 1 which is where the block end is located In order to edit within the block you must first insert a blank network Step 1 Press Ctrl Return Response The processing menu opens Edit Netuork InseRt Erase Copy Modify Scroll Forwards Scroll BacKwards Terminate save Break Search Signal Search Network Exchange Online DYnamic Status Display Presetting Step 2 Enter R for InseRt Network Response With the Insert function a new network is always inser ted in front of the current network In this case network 1 is now blank containing onl
49. enu Response Your are asked whether you really want to select this ALU Group Step 5 Confirm by pressing v for Yes or move the frame to YES with the arrow keys and press Return From here on we shall just refer to this as Confirm with Yes Initial programming moves AKF 33 6 6 3 Programming presettings We will now take a look at the setups If the presettings are not yet as you want carry out the following settings Step 1 Response Step 2 Response Step 3 Response Step 4 Response Step 5 Step 6 Step 7 Step 8 Step 9 Response Step 10 34 Enter T for SeTup The setup menu opens Enter s for PLC Station The Station menu opens Call a new predefined station by entering Return lt Blank gt lt Return gt A selection window with the current AKF Stations opens Select the required station with the cursor and accept by pressing lt Return gt The new station is accepted into the Station menu Enter A for Addressing keep toggling until SYM ap pears symbolic programming B for Max No of Blocks enter 100 Return Answer the prompt with YES M for Link Mode use the arrow keys to select Complete Representation Return Select T for BusType Bus Type selection window opens S for Modnet 1 SFB keep toggling until no appears Initial programming moves AKF 69 Step 11 Step 12 Step 13 Step 14 Step 15 Step 16 Note
50. es Bytes Marker Words Words Marker Double Words i Double Words Marker Floating Point Words Floatpoint Words Timers Timers Counters Counters Pointers Pointers DatablockS and Reserve kB Data Structure Step 3 Press Esc to exit the menu Response A message asks you whether you want to break off wi thout saving answer it with v for Yes 6 6 4 5 Terminate equipment list and save Note You can bypass a menu and carry out a function by pressing lt Ctrl gt lt reference character gt as in the example shown in the follo wing step Step 1 Press lt Cirl gt lt T gt for Terminate the equipment list is sa ved and you exit the equipment list editor Response The edit menu is displayed again 34 Initial programming moves AKF 73 6 6 5 Assign symbols and comments SYM COM block As symbolic programming is intended the signal symbols have to be defined Ideally this should happen before the program is created Note The steps will be dealt with in several sub sections 6 6 5 1 Assign symbols comments for inputs input word Step 1 Response Step 2 Response Step 3 Response Step 4 Response Enter c for Symbols and Comments In answer to the message asking whether you wish to work without a backup file confirm with Y for Yes The Symbols and Comments editor is displayed The cursor is now positioned in the symbol column on the first cha racter of sig
51. es Marker Words Words Marker Double Words Double Words Marker Floating Point Words Floatpoint Words Timers Timers Counters Counters Pointers Pointers DatablockS and Reserve kB Data Structure Sequence Number max 255 Sequence Number Step 3 Press Esc to exit the menu 5 6 5 2 Terminate equipment list and save Step 1 Press lt Ctrl gt lt Return gt to open the menu Step2 Press T for Terminate the equipment list is saved and you exit the equipment list editor Response The edit menu can be viewed again 38 First programming steps A120 AKF 125 33 5 6 6 X Assign symbols and comments SYMCOM block As symbolic programming is intended the signal symbols have to be defined Ideally this should happen before the program is created Note This is spread over several chapters Step 1 Enter c for Symbols and Comments Response The menu for Symbols and Comments opens Step 2 Enter s for Start Entry Response The Symbols and Comments editor opens All l Os that are unavailable according to the equipment list are highlighted with a sign The Symbol column is writ ten in upper case and the Comment column in lower ca se 5 6 6 1 Assign symbols for inputs Step3 Press lt Cirl gt lt Return gt to open the processing menu Step4 Enter s for Search Function Response A window opens in which you can enter the signal you are looking for Step5 Enter 12 1 and Return
52. for Load The load menu opens Enter L for Read Equipment List The equipment list is read from the PLC and you are as ked whether the existing equipment list is to be overwrit ten Confirm with Yes 36 First programming steps A120 AKF 125 33 Let us now take a look at the equipment list Step 1 Response Step 2 Response Use lt gt to go to Edit The edit menu opens Enter L for Equipment List The equipment list editor opens and the component selec tion that has been read out can be viewed The following figure shows how your equipment list should now look EQL Editor Node I O Module Comment ALU ALU 2BB 1 DEF 2 j 5233283 MEI ES eueeet E I eaa 2 Az ne messcess A 2 10 11 12 13 14 15 16 17 18 33 First programming steps A120 AKF125 37 5 6 5 1 Edit menu for the equipment list editor This menu is used mainly for configuring the secondary subrack mounted com ponents addresses timeout etc You can also use it to define the segmenta tion of the signal memory for the controller In the following example look at the presetting only Step1 Enter lt Ctrl gt lt Return gt to open the menu Step2 Enter Z for ParameteriZe Central Controller Response The following menu appears presettings Marker Bits 1 1 313 16 Bits Marker Bytes Byt
53. for A250 Data block DBO DB9 for A120 0 eee 25 Table of Contents xiii Chapter 5 First programming steps A120 AKF125 with ALU 200 201 202 Introd ction ge cene Reuse Preparations rer cide oe eg Ute ee ERE Task definition 00 00 eee eee ee Wiring diagram 0 eee ee Parameters of the sample program Programming 2 0444254 aein ove Menta xi ege Call program 0 eee cece Migration from A250 to A120 configuration via ALU Group 00 eee eee eee Creating a plant station 0 00e eee Programming presettings eee eee eee Equipment list c222ccsee etr xe ENSIS Edit menu for the equipment list editor Terminate equipment list and save Assign symbols and comments SYMCOM block Assign symbols for inputs 0 0005 Assign symbols for outputs 2 0005 Assign Symbols Comments for marker marker word 0 0 00 c cece eee eee eee Edit program blocks 0 eee eee eee ees Open block editor cece cece eee eee Edit PBT 4 ilu pore Seed arene ds tae Edit OB41 tuere uri tm EU ede Link Program cece eee I Transfer program to PLC 00 ee eee eee Start programe s aea eU eher RR tes ada Re Setting and changing parameters Online List Dyn status display
54. ghth bit of bit string Tab The entries were made in lines 12 9 to 12 16 and the cur sor is now on the line for the next signal I3 1 Enter Ctrl Return to open the processing menu Enter s for Search Function Enter 93 1 and Return In the editor the cursor jumps to the Symbol column of the specified signal 5 6 6 2 Assign symbols for outputs Step 17 33 Enter the following text for Q3 1 to Q3 16 RUN1 Tab Outputs Q3 1 16 are Tab UN2 Tab used for the running light lt Tab gt UN3 Tab The bit string set at Tab UNA Tab 12 9 16 traverses if Tab UN5 Tab a 0 1 edge Tab UN6 Tab is given Tab UN7 Tab Tab UN8 Tab Tab UN9 Tab Tab 10 Tab Tab Tab lt Tab gt Tab lt Tab gt Tab lt Tab gt Tab lt Tab gt Tab lt Tab gt V N V NNNNA C zzzzzzz Oo 0 QNM First programming steps A120 AKF125 41 5 6 6 3 Assign Symbols Comments for marker marker word Step 18 Step 19 Step 20 Response Step 21 Response Step 22 Step 23 Step 24 Step 25 Step 26 Step 27 Step 28 Step 29 Enter Ctrl Return to open the processing menu Enter s for Search Function Enter MW72 and Return The cursor jumps to the first symbolic character of signal MW72 Enter at MW72 ROTATED Tab This word contains the rotated info When the o of info is entered the line
55. ion to be crea ted Step4 Confirm with Yes Response The main menu for A120 will be displayed 34 First programming steps A120 AKF125 33 5 6 4 Programming presettings We will now take a look at the setups Step 1 Enter s for PLC station Response The presettings menu opens If the presettings are not yet as you want them carry out the following settings Step2 Enter A for Addressing keep toggling until SYM ap pears symbolic programming Step3 Enter T for Data block number press Return and type 0 Press Return again to finish Step4 Enter B for Max No of Blocks Enter 10 Return Step5 Enter M for Link Mode select Complete Retranslation with the arrow keys and press Return again Step 6 Enter v for Memory Variant and keep toggling until RAM appears Station Presetting Station Name TEST2 fiddressing ABS Max No of Blocks 200 Link Mode Complete Retranslation Bus Type Load Station compressed Pointercheck yes SYM Start Character 1 OveRview Mode MEMORY SFC Diagnostics Presetting 33 First programming steps A120 AKF125 35 Step 7 Response Press Esc twice The menus close and the cursor bar stays on SeTup in the main menu line The setups have now been accepted 5 6 5 Equipment list Step 1 Step 2 Step 3 Response Step 4 Response Step 5 Interconnect the PaDT with the PLC via connection cable YDL 52 Switch on the PLC power supply Enter L
56. ktplan Functionlist Sequentiel Flow Chart with Diagnostics Sequentiel Flow Chart Instructionlist User programm Subrack Serviceconnection for PC ore VS210 Diagnostics Block for one time actions AE Diagnostics Block for cyclicel actions AZ Diagnostics Block for Block independent Diagnostics SYM KOM Datablock for A120 Diagnostics Block for Programm Blocks PB Diagnostics Structure Block Double word Input Output signales e g from a Module Function block Function list Floatingpoint Hardware z B PLC Initial value block Sequentiel block Sequentiel errorbit Sequentiel errorword Kontaktplan Kettenstatus f r Simultankette Run Time System Markerword Organisations Block Program Block Programming and Diagnostics testequipment Controlloop Standard Function Block Step marker 20 SM SSP SW SYM SYM COM SZ TB TN VBGT ZVT ZZ lt Return gt lt Esc gt Systemmarker Signal memory Software symbolic Adressing Symbol und Comment Step Counter Transitionsblock Teilnehmer Virtuelle Subrack InterBus S Modnet 1 IS Time organiasationtable Controlle Time Counter Applay the key Return Applay the key Esc lt Ctrl gt lt Alt gt lt Applay in the same time the keys Ctrl Alt und Del 20 beginning with Ctrl and finnishing with Del Objectives To provide a general introduction to structured programming Arrangement of this guide Chapter 1 The chapter gives a short o
57. lant to be crea ted Confirm this by pressing v for Yes or move the menu bar to YES with the arrow keys and press Return You are asked to enter an AKF station name First programming steps A120 AKF125 33 Step 4 Response Step 5 Response Enter the station name of your choice e g STATION and press Return You will be asked whether you wish the station to be crea ted Confirm by pressing v for Yes or move the frame to YES with the arrow keys and press Return The Dolog AKF main menu for A120 and A250 will be dis played 7 6 2 Checking the ALU Group Note The marked capitals displayed in a different color reference characters are for calling the menu directly All the steps mentioned below should be carried out in the order shown even when the numbering begins again at 1 in every sub step Step 1 Response Step 2 Step 3 Step 4 Response 33 Enter T for SeTup The setup menu opens Enter s for PLC station Enter A for ALU Group The current entry should be 15X 204 205 If not keep toggling until the required dis play is obtained Press Esc to exit the Station menu If it has been selected again you are asked if you really want to select this ALU group First programming steps A120 AKF125 105 Step 5 Confirm by pressing v for Yes or move the frame to YES with the arrow keys and press Return From here on we shall just refer to this as Confirm
58. levels 33 Structured Programming 7 OB1 amp PRLI EES PB22 Block end 1 Network1 Network2 Network3 NetwOrk4 Network5 PB11 FB111 FB111 SEBA FILT FILT EG REF X1 OFF Pl OFF TNNRRDY X2 AF P2 AF VI AF Block end 4x3 P3 BAFL tworkl Network3 Network4 Network5 FB111 Name FILT X1 MW IL U X3 X2 MW I AF xxx 2S ENDE d Block end OUT MW D AF BIT O Networkl Network2 Network3 Network4 PB33 EBIIZ IN PUMP ml Taz HT aa AF sw BACK Block end R Q Networkl Network2 Network3 Network4 Figure 2 Sample layout of a structured AKF program 8 Structured Programming Chapter 3 Technical Languages in Programming This chapter gives a short explanation of each special language B Instruction list IL 9 Ladder diagram LD 9 Functional block diagram FBD 33 Technical Languages in Programming 9 This Dolog software is based on a system of structured programming in the standard special languages For the standardized definitions structure etc plea se refer to DIN 19239 or draft standard IEC 65A SEC 65 o Instruction list IL o Ladder diagram LD o Functional block diagram FBD Blocks which have been programmed in one particular special
59. ll NETZWERK 8601 U AUS SPZ JUMP1 ROTIERT L B SP JUHP3 JUHP1 U LADEN FLP HILF1 JUMP2 U u JUHP4 ROTIERT K 1 lt ROTIERT JUHP3 L ROTIERT LRUF1 DBB ANZ 16 JUMP4 NOP NETZWERK 0002 BE 33 First programming steps A120 AKF125 51 5 7 Link Program The following function will tailor the program to PLC requirements Step 1 To go to the main menu line exit the open menus by pressing the Esc key Step2 Enter L for Load Response The load menu opens Step3 Enter L for Link Program Response The program is linked Step4 Confirm the message The program is now ready to be transferred to the PLC 5 8 Transfer program to PLC Using the following function the program the equipment list and the initial va lues are transferred to the PLC Step 1 Enter P for Program to PLC Response The program has been transferred It can now be started 52 First programming steps A120 AKF125 33 5 9 Start program Step 1 Response Step 2 Response Step 3 Response 33 Use lt gt to switch to Online The load menu closes and the online menu opens Press R for StaRt PLC A message appears asking if you really want to start Confirm with Yes The yellow LED lights up on the ALU First programming steps A120 AKF125 53 5 10 Setting and changing parameters To obtain an output on Q3 1 to Q3 16 follow the steps described below both si mulators SIM 011 are attached to
60. module running light The bit string which is going to be used is set by using inputs 12 9 to 12 16 and accepted via input 12 2 It is possible to stop the output by using 12 1 1 all 16 outputs 0 or to freeze the current status by using 12 3 0 Programming is carried out in the special language In struction List and symbolically The sample plant is called EXERCISE the sample program is called RUN12 Note The program logic already exists what we have here is an exercise in handling AKF 33 First programming steps A120 AKF125 101 7 4 Wiring diagram UB 24V 24 n M DEP 216 DAP 216 195 1 200 D 20 D 3Q p 3 p 4Q D 4QD DNP205 18Q 19 20 21 22 Figure 13 Hardware power supply oF ORORORS 102 First programming steps A120 AKF 125 7 5 Parameters of the sample program The following parameters are used in the program Table 3 Operands in the sample program Operand Symbol Comment 12 1 OFF Off 1 all outputs off Off 0 display 12 2 LOAD 0 gt 1 edge loads bit string 12 3 FREE Free 0 freeze Free 1 run 12 9 BIT1 First bit of bit string 12 10 BIT2 Second bit of bit string 12 11 BIT3 Third bit of bit string 12 12 BIT4 Fourth bit of bit string 12 13 BIT5 Fifth bit of bit string 12 14 BIT6 Sixth bit of bit string 12 15 BIT7 Seventh
61. move the bar to DNP 205 and confirm with Return Response DNP 205 is entered under slot 1 Step 5 Use to move the bar to the line for slot 2 33 Initial programming steps AKF 109 Step 6 Step 7 Response Step 8 Response Step 9 Response To open the module menu press Return Enter D for Digital 1 0 The digital module menu opens Use to move the bar to DEP 216 and confirm with Return DEP 216 is entered under slot 2 Use to move the bar to DAP 216 and confirm with Return DAP 216 is entered under slot 3 The following figure shows how your equipment list should now look EQL Editor Slot Module Variant Z A Data type Node No 0 ALU 205 1 DNP 205 1 2 DEP 216 zyk I 2 3 DAP 216 zyk 1 Q 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 Comment ALU with Bitbus interface Subrack DTA20x PAB local 110 Initial programming steps AKF 33 7 6 4 4 Edit menu for the equipment list editor This menu is used mainly for configuring the secondary subrack mounted com ponents addresses timeout etc You can also use it to define the segmenta tion of the signal memory for the controller In the following example look at the presetting only Step 1 Enter lt Ctrl gt lt Return gt to open the menu Step2 Enter Z for ParameteriZe Central Controller Response The following menu appears presettings Marker Bits 1 1
62. n overview of a program during a scan are also possible The following basic functions are performed with AKF125 rj Edit creation amendment off line on line o Load to from PLC on line Compare PaDT PLC on line o Online on line o Print off line o Special off line rj Setup off line 4 Introduction 33 Chapter 2 Structured Programming Following a general explanation the various block types in Dolog AKF125 are described The different structure levels are demon strated by means of diagrams 33 Structured Programming 5 2 1 Introduction The performance and economy of a programming system are marked by a num ber of special features Structuring and standardization facilities the use of general purpose personal computers as programming units PaDT and a convenient user interface add up to advantages that keep software and startup costs as low as possible With the present day mass of information and the volume of programs on pro grammable logic controllers program partitioning enables scan times to be opti mized Time critical operations require speedy reactions This is achieved by means of skillful configuration by skipping those parts of the program which do not need immediate attention The division of a complex of tasks into smaller parts helps to make the bigger picture understandable Program parts as individual closed software blocks are easier to produce and test Processes in
63. nal 12 1 Enter OFF and Tab The cursor jumps to the Comment column Enter as comment O f 1 all outputs off Off 0 display and confirm with Tab The entry is made in line 12 1 and the cursor is now in the Symbol column on the first character of signal 12 2 Enter LOAD Tab Load the bit string by using edge 0 gt 1 lt Tab gt The entry is made in line 12 2 and the cursor is now on the line for signal 12 3 74 Initial programming moves AKF 34 Step 5 Response Step 6 Step 7 Response Step 8 Response Step 9 Response Step 10 Response 34 Enter FREE Tab Free 0 freeze Free 1 run Tab The entry is made in line 12 3 and the cursor is now on the line for signal 12 4 Enter Ctrl Return to open the processing menu Enter s for Search Function A window opens in which you enter the signal you want to find Enter 12 9 and Return In the editor the cursor jumps to the Symbol column of the signal you specified In accordance with Schritt 5 enter the following list as text for 12 9 to 12 16 BIT1 Tab First bit of bit string Tab BIT2 Tab Second bit of bit string Tab BIT3 Tab Third bit of bit string lt Tab gt BIT4 Tab Fourth bit of bit string Tab BIT5 Tab Fifth bit of bit string Tab BIT6 Tab Sixth bit of bit string Tab BIT7 Tab Seventh bit of bit string Tab BIT8 Tab Eighth bit of bit stri
64. nction block SFB Instruction part 21 Structure of an instruction line 11 Structured programming 5 SYM COM block 16 25 T Time critical operations 6 Index 129 130 Index
65. ng Tab The entries were made in lines 12 9 to 12 16 and the cur sor is now on the line for the next signal IW2 1 Enter at IW2 1 BITSTRING Tab Bit representation online I Status Tab The cursor is now on the line for the next signal Q2 1 Initial programming moves AKF 75 6 6 5 2 Insert comment lines in the SYM COM block Step 11 Response Step 12 Response Step 13 Step 14 Step 15 Step 16 Enter lt Ctrl gt lt l gt for Insert Linecomment A comment line will be inserted above the line where the cursor is positioned in this case Q2 1 Enter the following text in the blank line Outputs Q2 1 to Q2 16 will be used for the running light The The line is full when The is entered You hear a tone and the cursor jumps automatically to the next line Enter lt Ctrl gt lt I gt for Insert Linecomment Enter the following text in the blank line bit string set at I2 9 to I2 16 runs if Return Enter lt Ctrl gt lt l gt for Insert Linecomment Enter the following text in the blank line a 0 gt 1 edge is given on 12 2 lt Return gt 76 Initial programming moves AKF 34 6 6 5 3 Assign symbols for outputs When the three comment lines have been entered the cursor is on signal Q2 1 Step 17 In accordance with Schritt 5 enter the following list as text for Q2 1 to Q2 16 RUN1 Tab Tab UN2 Tab Tab UN3 Tab Tab UNA Tab Tab UN5 Tab
66. nly one PB FB AZ or SFB call IL is an exception or one user program part in IL LD or FBD All further OBs are available for control loops and interrupt processing FB12 AF 03 1 BK M3 12 PBI Network4 BL L M5 27 Cond Network3 Network2 OB1 Networkl Figure 5 Example of networks in an organization block A block call is followed by processing of the respective block PB FB or SFB possibly condition dependent This is followed by a return to the next network in the OB 33 Software Blocks 17 4 3 Program block PB A program block generally contains technologically related sections of the user program e g one of x different machines Program blocks can be generated in IL LD or FBD Structure A PB consists of a series of consecutively numbered networks beginning with network 001 In these networks you can create IL LD or FBD program parts or you can call conditional or unconditional PBs FBs and SFBs Call PBs are called from an OB another PB or an FB You can call one and the same PB many times A block to be called is displayed in a square in LD FBD in the network The PB number is above the square In the case of conditional PBs the signal address of the condition is to the left of the square A PB that is not called from any place is never processed
67. ntioned below should be carried out in the order shown even when the numbering begins again at 1 in every sub step Step 1 Enter T for SeTup Response The setup menu opens Step2 Enter s for PLC station Step3 Enter A for ALU Group and keep toggling 2 press refe rence character or lt Return gt until 200 201 202 ap pears Step4 Press Esc to exit the Station menu Response You are asked whether you really want to select this ALU Group 33 First programming steps A120 AKF125 33 Step 5 Confirm by pressing v for Yes or move the frame to YES with the arrow keys and press Return From here on we shall just refer to this as Confirm with Yes 5 6 3 Creating a plant station Note If the AKF125 software has already been used for configura tion and a plant has already been created for A120 erzeugt worden you will need to make the following entries before steps 1 4 1 Enter T for SeTup 2 Enter A for PIAnt However note from the next chapter onwards that you still in the se tup menu Response You will be asked to enter an A120 plant name Step 1 Enter the following plant name C NEXERCISE then press Return Response You will be asked whether you wish the plant to be crea ted Step2 Confirm with Yes Response You are asked to enter an A120 station name Step3 Enter the following station name RUN12 then press Return Response You will be asked whether you wish the stat
68. o 12 16 Step 1 Step 2 Response Step 3 Response Step 4 Response Set up any bit string 0 1 on the switches on 12 9 to 12 16 Set 12 1 to 1 and the O off After initialization I2 1 1 all outputs are off Set 12 3 to 1 The running light is enabled run Alter 12 2 from 0 to 1 0 1 edge The input bit string is accepted at the outputs and rotated The program is now in its required end state The bit string can be changed at any time and re accepted by using 12 2 92 Initial programming moves AKF 34 6 13 Online List Dyn status display 6 13 1 Online List First a list is created in which you enter the signals In the following example the list is used for displaying the status Signals can also be controlled or defined forced Step 1 Step 2 Response Step 3 Step 4 After starting the PLC you will already be in the online me nu If not press Esc to exit the open menus and then press o for Online Press L for Online List The das Load Erase On line List menu appears Press L for Load Online List Enter RUN25 and press Return STANDARD is automa tically overwritten Choice of Online List Name of the List Laura Response 34 Confirm the message asking if you want to create the list by pressing Y for Yes The window with the list editor opens You will find the cursor in the top left hand co lumn Initial programming moves AKF 93 KE G Sion
69. or this programs are created and displayed in three special languages Instruc tion List Ladder Diagram and Function Block Diagram in this regard see Draft Standard IEC 65A SEC 65 Programs consist of different types of blocks which can be connected with each other depending on the aim of the application and the complexity of the job In the process blocks are assigned various tasks see also Chapter 4 oO Organization of the overall program o Summary of technical program parts oO Support for repetitive programs subroutines rj Simplified programming with predefined part programs o Support for symbolic programming Following a brief introduction to structured programming with its program com ponents later chapters go into more detail about ALD25 A brief overview of fea tures is followed by an example in which the first programming steps are practi sed 2 Introduction 33 1 2 Programming components What do you need for programming your programmable controller Hardware Software Accessorie Flash drive Flash Card Basic software user program PLC For ALU 154 and ALU154 1 DOS PaDT_ B IBM compatible Programming software loadable BSW all ALUs except Flash ALUs Figure 1 Prerequisites for programming a PLC 33 Introduction 3 1 3 Basic functions In Dolog user programs are created off line and then loaded into the PLC After that on line functions such as a
70. r 2 Load contents of number in DB X into number in DB Y and into MW1 Load word contents of the address to which pointer 1 is pointing 2 value 1 in DB X and transfer word to the address to which pointer 2 is pointing value 1 in DB Y Load MW1 number of values to be copied Decrement MW1 Transfer new value to MW1 If counting loop 0 jump to label E end 120 Example for indirect addressing 33 ADD lue 2 ADD lue 2 33 Jl Load pointer 1 address value 1 in DB X Add constant 2 address value 1 constant 2 address of value 2 and transfer to pointer 1 Pointer 1 is now pointing to va in DB X Load pointer 2 address value 1 in DB Y Add constant 2 address value 1 constant 2 address of value 2 and transfer to pointer 2 Pointer 2 is now pointing to va in DB Y Jump to start of processing loop label L IL end Example for indirect addressing 121 8 8 Copying a byte string from data structure DB X to DB Y The aim is to copy the contents of data structure DB X to data structure DB Y The number of bytes to be copied from DB X into DB Y is defined in the first word of data structure DB X Since the signal memory consists of byte ele ments it is possible to copy data structures with any type of organization by using a byte oriented segmentation of the data structure elements The word number in this case does not contain the number of values to be copied but the number of bytes to b
71. ree Step4 When the bootloading is complete confirm by pressing any key Step5 On the PLC ALU turn DIP switch B3 to the right take ca re that the PaDT lt gt PLC connecting plug does not get moved or pulled out Response The PLC is now ready to transfer the user program gt Note The green LED on the ALU should not flash during and after bootloading If it does the PLC must be turned off and on again and the bootloading process repeated 34 Initial programming moves AKF 89 6 10 Load program to PLC Using the following function the program the equipment list and the initial va lues are transferred to the PLC Step 1 To go to the main menu line exit the open menus by pressing the Esc key Step2 Enter L for Load Response The load menu opens Step 3 Enter P for Program to PLC Response The program is transferred acknowledge completion mes sage The program can now be started 90 Initial programming moves AKF 34 6 11 Start program Step 1 Response Step 2 Response Step 3 Response 34 Switch to Online with 2 The load menu closes and the online menu opens Press R for StaRt PLC A message appears asking if you really want to start Press y for Yes The yellow LED lights up on the ALU Initial programming moves AKF 91 6 12 Setting and changing parameters To obtain an output on Q2 1 to Q2 16 follow the steps described below both si mulators SIM 011 are attached to 12 1 t
72. rminate Block PB1 is now complete and the edit menu will automatically be displayed again The PB1 must now be linked to the organization block since this is where the threads of the program are woven together Without the organization block the program is not runnable 34 Initial programming moves AKF 83 6 6 6 3 Edit OB1 o Open OB Step 1 Enter B for Block Step2 Enter OB1 for organization block 1 and press Return Step 3 X Enter s for Start Entry Response The block editor opens and the last network of PB1 ap pears on selecting Block end Step4 Enter lt Ctrl gt lt R gt for Insert network Response With the Insert function a new network is always inser ted in front of the current network In this case network 1 is now blank containing only Block end is located in network 2 o Call PB in OB unconditionally i e the PB is called in every scan Step 1 Enter lt Ctrl gt lt R gt for Insert Line Step2 Enter the following text for the block call BC Tab PB1 Return o Close the OB and save Step1 Enter lt Ctrl gt lt T gt for Terminate network Step2 Enter lt Ctrl gt lt T gt for Terminate block With this the program input is complete The following shows a printout of the program which has been created 84 Initial programming moves AKF 34 D UEBUNG LAUF25 YOI NETZWERK DR PBL NETZWERK 2 BE D AUEBUHCALBUE25 PET NETZWERK 1 aus JUMP A K g OTE JUEP
73. s that you input type are in Courier e g AKF12 Key combinations special keys are shown in brackets e g lt Ctrl gt lt S gt Call program Step 1 Call the software from user drive C with the following command AKF125 Note The following steps apply for the first software call after in stallation If the AKF125 software has already been used for configu ration and a plant has already been created for A250 ignore the fol lowing steps and refer to the chapter Migration from A250 to A120 configuration Response You will be asked to enter an A250 plant name Step2 Enter a plant name of your choice e g C PLANT then press Return Response You will be asked whether you wish the plant to be crea ted Step 3 Confirm this by pressing v for Yes or move the menu bar to YES with the arrow keys and press Return Response You will be asked to enter an A250 station name First programming steps A120 AKF125 33 Step4 Enter the station name of your choice e g STATION and press Return Response You will be asked whether you wish the station to be crea ted Step 5 Confirm by pressing v for Yes or move the frame to YES with the arrow keys and press Return Response The main menu for A250 will be displayed 5 6 2 Migration from A250 to A120 configuration via ALU Group Note The marked capitals displayed in a different color reference characters are for calling the menu directly All the steps me
74. sponse You will be asked whether you wish the plant to be crea ted Step 3 Confirm this by pressing v for Yes or move the menu bar to YES with the arrow keys and press Return Response You are asked to enter a station name Initial programming moves AKF 33 6 6 2 33 Step4 Enter the station name of your choice e g RUN25 and press Return Response You will be asked whether you wish the station to be crea ted Step 5 Confirm by pressing v for Yes or move the frame to YES with the arrow keys and press Return Response The main menu is displayed Note The marked capitals displayed in a different color reference characters are for calling the menu directly All the steps mentioned below should be carried out in the order shown even when the numbering begins again at 1 in every sub step Migration from A120 to A250 configuration via ALU Group Note The marked capitals displayed in a different color reference characters are for calling the menu directly All the steps mentioned below should be carried out in the order shown even when the numbering begins again at 1 in every sub step Step1 Enter T for SeTup Response The setup menu opens Step2 Enter s for PLC station Step3 Enter A for ALU Group and keep toggling 2 press refe rence character or lt Return gt until 15x 204 205 ap pears Initial programming moves AKF 67 68 Step4 Press Esc to exit the Station m
75. t PBI nn eere Dee Mote ee eos Edit OB 25i M TADCLAVA D Ea Link Program sssseeee A Networking PLC lt gt PaDT HW SW Bootload PLC e s Diei ie m ae aa a ss Load program to PLC 2 cece eee eee Start program wei cee eet ewe oe eee ce ere Setting and changing parameters Online List Dyn status display 0 Online List zuo ille eere rey Rex Orie Dynamic Status Display sess Further practise problem solving Remarks about program documentation Remarks about data security 0000 Table of Contents XV Chapter 7 First programming steps A120 AKF125 with ALU 204 205 99 7 1 Introduction c ueionc ooh Qe Ee m Rer ped E 100 7 2 Preparations 2i sec ge eects gine ie ed eG at ee ale he 100 7 3 Task definition sorier oasia cece eee eee 101 7 4 Wiring diagram 0 eee eee 102 7 5 Parameters of the sample program 103 7 6 Programming sce cue ciet ra err ERR 104 7 6 1 Call program 2 eee 104 7 6 2 Checking the ALU Group cece eee 105 7 6 3 Programming presettings 2 sees 107 7 6 4 Edit equipment list 109 7 6 4 1 X Activate equipment list editor 109 7 6 4 2 Setup subrack 0 ccc eee 109 7 6 49 Enter modules oed erant eee 109 7 6 4 4 Edit menu for the equipment lis
76. t editor 111 7 6 4 5 Terminate equipment list and save 111 7 6 5 The next steps 6 00 cece eee eee eee 112 Chapter 8 Example for indirect addressing 113 8 1 Assigning a pointer indirectly to another pointer 114 8 2 Assign a pointer indirectly to a data structure element 115 8 8 Compare a pointer indirectly with another pointer 116 8 4 Pointer as parameter in FBS 005 117 8 5 Transferring a parameter from an FB to an SFB 118 8 6 Processing indirectly addressed values 119 8 7 Copying a word string from data structure DBX to DB Y nnnc weenie Noe EE Ei 120 8 8 Copying a byte string from data structure DB XtOo DB Y tiesto sien hedges 122 8 9 Copying a word string from data structures with the aid of the data type address 124 8 10 Copying a word string from data structures with the aid of a data structure cee eee ee eee 126 8 11 Indirect addressing of data structures 128 Index esibhckoe vos VE occi da EC Ld ares 129 xvi Table of Contents 35 Chapter 1 Introduction This chapter gives you a brief overview of the components availa ble for programming with Dolog AKF In addition the basic func tions of the software are given 33 Introduction 1 1 1 Introduction The Dolog AKF software is used for structured programming of PLC user pro grams using modern window technology F
77. t shows the programming of a pointer as a parameter in an FB A pointer reference e g WORD which is assigned to the FB as an actual operand in this case P1 cannot be processed further within the logic of the FB Therefore the formal operand in this case P must be transferred to an additio nal pointer i e P2 within the FB FB1 KOE P1 P Figure 15 Pointers in FBs A segment of the logic part of FB KOE L P P2 P2 WORD Al other pointer processing can be carried out without reloading e g 33 Example for indirect addressing 117 8 5 Transferring a parameter from an FB to an SFB The IL segment shows the transfer of a pointer as a parameter from an FB to an SFB The formal operand of FB KOE cannot be transferred directly to the SFB Therefore the formal operand must be transferred in an additional pointer i e P2 FB1 SFB 123 KOE EXSAM P1 P WORD w Figure 16 Pointers in FBs A segment of the logic part of FB KOE A segment of the IL of SFB EXAMP BC SFB123 W P2 gt WORD 118 Example for indirect addressing 33 8 6 Processing indirectly addressed values By using indirect addressing the contents of MW100 are to be added to the con tents of MW101 In addition at the end of the IL there is an example of a comparison with ZERO by the use of the zero pointer P ZERO 33 r m g ADD JT L K10 MW100 K20 MW101 M
78. ta structures AKF125 ALD25 Import from ASCII Generator AEG User User in Signal memory yes no no no near yes far no Data structure editor visible generatable visible Names 1 6 letters 4 or more letters 4 or more letters e g GSKA WLIN HUGO EXAMP HUGO EXAMP Element types BIT BYTE WORD DOUBLE WORD FLOATING WORD POINTERFLOATING STREAM Attributes none user as signable Usable in FB U GSKA1 3 as formal corresponds to operand U OPA 3 Note BIT BYTE WORD DOUBLE WORD BIT BYTE WORD DOUBLE WORD FLOATING WORD POINTER WORD read write syswrite element type see above Display in SYM COM Initial values on line exchangeable U HUGO5 7 corresponds to U OMA STREAM read write syswrite element type see above Display in SYM COM Initial values on line exchangeable exists as external file U EXAMP3 9 corresponds to U EVA A list of the AEG data structures in SYM COM blocks can be found in the A250 Pocket Guide or A250 Block Library The following FB contains all data structure types as an example The assign ment of formal operands and data structures takes place in the declaration part In this case only the FB call is given 33 Software Blocks 23 WORD e g MW1345 DLIN1 1 EGON3 8 NOBD or symbol WLIN FB99 O AF TENT FLOAT ABCD only AEG data structure without element e g WLIN1 24 Software Blocks e g M12 20 WSKA
79. tegrated into large monolithic main programs on the other hand are considerably more difficult to understand in their entirety Software configuration with the convenient programming software is useful for avoiding large complexes of branch instructions which are difficult to manage 6 Structured Programming 33 2 2 Program structure The special languages facilitate the structuring and writing of programs Pro grams can be entered and displayed in instruction list ladder diagram function block diagram and sequence flow control By structuring we mean the creation of clear readily understandable and com plete user program parts known as blocks Processes that are specific to one technical application as well as processes that are repeatedly used can be created and tested then used many times wit hin a system or as a technical block Function blocks can be arranged together to form universal as well as user specific program libraries Standard function blocks providing complex functions for control data handling and operation are integrated into the PLC and form a basis for the simple construction of complex application specific software blocks Blocks are composed of networks These form the lowest structuring level The networks contain the logic which is made up of operations with parameters known as instructions in the context of instruction list The following figures show examples of the various structure
80. ter outside the square If you change formal operands in the declaration part of an FB you must repara meterize all affected FB calls You can quickly find where the FB calls for the FB concerned are located in the user program with the aid of the program overview or the global cross reference list You can also call an FB from the instruction part of another function block ne sting recursion The called function block can contain the formal operands of the calling FB within its instructions as actual operands The FB is limited in code length and can contain approximately 2 000 instruc tions The number of instructions is reduced by the number of characters used for comments labels and parameters 1 character 1 byte 20 J Software Blocks 33 4 5 Standard function block SFB This Dolog software was sent to you complete with a library of standard function blocks These blocks are predefined and need only be called conditionally or unconditionally from a place chosen by the user and parameterized The declaration part and instruction part of the SFB are already in the software and cannot be changed later by the user The formal operands are specified The configuration planner calls the block at the required point in the program and parameterizes it with actual operands or data structures as required see also chapter 4 6 M22 3 1E 31 5 SFB 112 M8 15 FLE
81. the bit string from 12 9 to 12 16 onto M12 1 to M12 8 by entering marker M12 1 instead of BIT1 o Close the network and the block o Transfer the resulting block online to the PLC without linking first Load Exchange Online o Then modify the online list by entering M12 1 M12 8 instead of Bit1 Bit8 o In the ID column of the online list enter CE for control enable by the markers o Then assign the markers the required bit string in the Force Sta tus Control value column o Open the processing menu and enter the values in the PLC using Con trol Enable CQ Given 0 gt 1 edge at 12 2 the new bit string is tranferred to the outputs 33 First programming steps A120 AKF125 59 5 13 Remarks about program documentation You can use the Print menu to carry out program documentation If you use Entire Documentation all the important data are printed out in one run comple te with table of contents You can choose whether you want the lists to be output to screen to a file or to the printer You can edit the files with any ASCII editor You are in the current station direc tory Assign the name of the file yourself when you select Output Unit File When sending to the printer make sure it has been initialized Initialization is carried out in the SeTup Print menu Note Please note the information on the documentation of menus in the Configuration user instructions 5 14 Remarks about data
82. ules Step 1 Use to move the bar to the line for slot 1 Step2 To open the module menu press Return Step3 Enter s for Special Response The special module menu opens Step4 Use to move the bar to BIK 116 and confirm with Return Response BIK 116 is entered under slot 1 Step 5 Use to move the bar to the line for slot 2 34 Initial programming moves AKF 71 Step 6 To open the module menu press Return Step 7 Enter D for Digital I O Response The digital module menu opens Step8 Use to move the bar to DAP 102 and confirm with Return Response DAP 102 is entered under slot 2 The following figure shows how your equipment list should now look EQL Editor Module Variant Data Type Node Number ALU 153 BIK116 DAP102 TXT1x2 PRINTING SAA103 WONOOARWNE Comments 3 switched axes absolute Subrack DTA112 PAB local 72 Initial programming moves AKF 34 6 6 4 4 Edit menu for the equipment list editor This menu is used mainly for configuring the secondary subrack mounted com ponents addresses timeout etc You can also use it to define the segmenta tion of the signal memory for the controller In the following example look at the presetting only Step 1 Enter lt Ctrl gt lt Return gt to open the menu Step2 Enter Z for ParameteriZe Central Controller Response The following menu appears presettings Marker Bits 1 1 313 16 Marker Byt
83. verview of the existing components of programming with Dolog AKF In addition the basic functions of the software are given Chapter 2 Following a general explanation the various block types in Dolog AKF are described The different structure levels are demonstrated by means of diagrams Chapter 3 The chapter gives a brief insight into the various special languages Chapter 4 This chapter describes the most important functions and features of the various block types Chapter 5 This chapter includes an example of a small AKF application complete in all details for programming the A120 ALU 200 201 202 with AKF125 Chapter 6 This chapter includes an example of a small AKF application complete in all details for programming the A250 Chapter 7 This chapter includes an example of a small AKF application complete in all details for programming the A120 ALU 204 205 with AKF125 Chapter 8 This chapter contains several examples of indirect addressing with pointers Related Documents A250 User Manual A250 804 BHB 000 00 A250 User Manual A250 Regeln mit Dolog AKF 804 BHB 001 00 A250 User Manual A250 Prozessperipherie Frontanschlusstechnik 899 BHB 000 00 A250 User Manual A250 Cable 899 BHB 001 00 A250 Blockbibliothek Standard Funktionblocks A250 Vol 1 AKF125 V4 x ALD25 V4 1 804 BSB 001 00 A250 Blockbibliothek Standard Funktionblocks A250 Vol 2 AKF125 V4 x ALD25 V4 1 804 BSB 002 00 20
84. y Block end is located in network 2 80 Initial programming moves AKF 34 a Edit network 1 In network 1 the instructions for the program are now created The program contains some jumps which are generally edited in instruction list Therefore the entire program will be created in instruction list though this is not absolutely ne cessary 34 Step 1 Response Edit IL InseRt Line Erase Line NW Terminate NW Break NW Header NW CoMments FBD Elements NW End Character Presetting Step 2 Step 3 Step 4 Step 5 Press lt Ctrl gt lt Return gt The processing menu opens Press R for InseRt Line Now enter the following lines When you do this more empty lines will be created automatically during editing A lt Tab gt OFF lt Return gt JF Tab JUMP1 Return L Tab KO Return Tab ROTATED Return L Tab KO Return JI Tab JUMP3 Return Press lt Ctrl gt lt R gt to insert a blank line For the jump target JUMP1 move the cursor along the blank line with the left arrow key towards the edge of the Screen JUMP1 Tab to A Tab LOAD Return Initial programming moves AKF 81 Step 6 Step 7 Step 8 Step 9 Step 10 Step 11 Enter the following lines in accordance with Schritt 3 EDP Tab HELP1 Return C Tab HELP2 Return JF Tab JUMP2 Return LBW Tab BIT1 Return DBB Tab CNT
Download Pdf Manuals
Related Search
Related Contents
User Manual Off-Grid Pure Sine Wave Inverter Massive Floor lamp 42219/30/10 8x8 BPG510 Owner's Manual MyAir User Manual v2.2 - Ambience Air Airconditioning / 取扱説明書 \ GEMINI 6X6 Copyright © All rights reserved.
Failed to retrieve file