The text of a manual · part 20 of 50
Festo Software Tools: Statement list and Ladder diagram for SF 3, FST 200 Manual, pages 191 to 200
Pages 191 to 200 of 496
The original document is the PDF (3.1 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
Filed in the catalog under the Festo FPC-202
Page 191
FST 200-LDR
5. Programming in ladder diagram
Symbolic operands Most of the names for symbolic operands can be chosen by yourself. A name comprises a maximum of nine characters, of which the first character must be a letter or the underline symbol (_). For the following characters, you can use letters, numerals and the character _. The designation must however be distinctly different from any absolute operand. Always name the symbolic operands in such a way that their designation clearly indicates their function (e.g.: motor_ON). Operand comments By entering a short explanatory text, the operand comments, you can describe the function of an operand in more detail. You can then increase the communication impact of an allocation list. The operand comments can be any text entry with a maximum length of 36 characters. An allocation list can be compiled: • Before program input • During program input • After program input. It is not practical or advisable to produce an allocation list after program input.
9610a
5-13
Page 192
FST 200-LDR
5. Programming in ladder diagram
The allocation list features a list of all operands which can only be addressed by the relevant central control unit (CCU). Here they are in detail: • Field bus inputs and outputs (also diagnostics) • Field bus input and output words (also diagnostics) • Flags and flag words • Inputs and outputs (local I/O, CP, AS-i) • Input and output values (local I/O, CP, AS-i) • Errors, error words • Timer, timer preselection / words • Counters, counter preselection / words • Registers • Internal programs • Function units • Index registers You can check the entries in the LDR editor by calling up additional commands: to activate this, press function key F5 calling allocation list. This list contains absolute and symbolic operands and comments (refer to Fig. 5.26).
5-14
9610a
Page 193
FST 200-LDR
5. Programming in ladder diagram
5.2.1 Allocation list entry before program input For program generation, the machines generally impose fixed requirements. Starting with the existing unit and wiring, you then have: • A positional sketch, • A wiring diagram for sensors and actuators on the inputs/outputs of the controller. To ensure that you retain an overview when faced with a wide array of operands, you should create an allocation list before the program development stage. Access to the allocation list editor: Before working with the allocation list, you must have set up or selected a project (refer to Section 3.1 and 3.2 respectively).
9610a
5-15
Page 194
FST 200-LDR
5. Programming in ladder diagram
In the FST main menu, you can activate the allocation list in the utility programs (also refer to Section 5.5.2). Following this, you enter the allocation list editor (refer to Fig. 5.6). The functions to which you have access here are explained in the same sequence as the function keys. You end the processing of the allocation list with the end function key (F8).
Fig. 5.6: Allocation list editor
5-16
9610a
Page 195
FST 200-LDR
5. Programming in ladder diagram
Inserting a new operands You can insert a new operand by activating F1. You then receive a data input window with one field for the absolute and the symbolic operand (refer to Fig. 5.7). Using the Enter key and/or the TAB key, you can select the input fields. You can now enter an absolute operand either with or without a symbolic designation. A symbolic operand designation in isolation is not meaningful and is therefore not possible. You can abort input of the operand at any time by pressing the F8 function key or the ESC key. After the syntactically correct input of the operand, you activate the function insert operand (F1).
9610a
5-17
Page 196
FST 200-LDR
5. Programming in ladder diagram
Fig. 5.7: Inserting an operand This transfers the operand to the allocation list. You can now enter the operand comments. Deleting an operand To remove an operand from an allocation list, position the cursor on the corresponding operand line and activate the function F2 (refer to Fig. 5.6). After this, a window displays the question of whether you really wish to delete the operand.
5-18
9610a
Page 197
FST 200-LDR
5. Programming in ladder diagram
Do you wish to delete this entry? (Y/N). Yes
No
The entire line in the allocation list is cancelled. At this point, you can continue working with the allocation list editor.
You return to the allocation list editor.
Modifying an operand If you wish to modify the entry for an operand, position the cursor on the appropriate line of the allocation list and activate function F3 as shown in Fig. 5.6. You then call up the data input window illustrated in Fig. 5.8.
Fig. 5.8: Modifying an operand
9610a
5-19
Page 198
FST 200-LDR
5. Programming in ladder diagram
Here you can overtype the entries or modify them using the INS key or the DEL key. You select the input fields with the Enter key or the TAB key. Then activate function F1; the modification is then transferred to the allocation list.
Altering an operand and/or a new entry in the allocation list does not alter the entry in the LDR program. Searching for an operand If you wish to search for a particular operand, activate the Search function (F4) as illustrated in Fig. 5.6. After this, a window appears in the bottom left-hand corner of the screen, as shown in Fig. 5.9.
Fig.5.9: Searching for an operand
5-20
9610a
Page 199
FST 200-LDR
5. Programming in ladder diagram
Here you can enter a search term: either the designation for the absolute or the symbolic operand. You must enter it in precisely the same format as you entered it in the allocation list. Use the Enter key to initiate the search process. The search process makes no distinction between upper and lower case (COUNT_ON, Count_on, etc.). Once the desired operand has been found, it is written into the top line. The comments panel is highlighted. If the operand being searched for does not appear in the allocation list, you are given an appropriate message. Copying comments If you wish to enter similar comments against different operands, you can copy comment lines simply by using this function. After this, you only have to alter a few characters. Position the cursor on the operand line with the desired comments and activate the F5 function. Now the comments are saved in memory. After positioning the cursor on another operand line, activate function F6. The comments stored in memory are then copied into the line. This remains in the copy memory so that you can retrieve it several times in succession with the F6 function. Free entries in the allocation list After activating the F7 function Free entries the available memory capacity for the allocation list is displayed.
9610a
5-21
Page 200
FST 200-LDR
5. Programming in ladder diagram
5.2.2 Allocation list entry during program input In the menu level Additional commands under F7 (refer to Fig. 5.4), you will find the function Switching off allocation list. When this is activated, this text message appears: Switching on statement list. The function therefore works like a toggle switch with which the automatic allocation list entry can be switched on and off. With every LDR editor call, it becomes active (default setting). Allocation list, switch off When entering an operand in the LDR program, no operand should be transferred to the allocation list. Activate this function only if you wish to transfer an absolute operand to your LDR program. It can then still be run without requiring you to compile an allocation list. Switching on an allocation list entry: (default setting) When you enter a new operand in the LDR program and activate this function, you make it possible for this entry to be transferred to the allocation list. A window appears, as shown in Fig. 5.10.
5-22
9610a