The text of a manual · part 17 of 50
Festo Software Tools: Statement list and Ladder diagram for SF 3, FST 200 Manual, pages 161 to 170
Pages 161 to 170 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 161
FST 200-STL
4. Programming in the statement list
A symbolic operand is made up of no more than nine letters or numbers. The first character of the name must be a letter or the underscore character "_". Operand comment Here you can enter a brief explanation of an operand. This may be any text of no more than 36 characters. There are three options for creating an allocation list. • Before actually entering a program using the allocation list editor • During program input using the program editor • After program input using the allocation list editor. The first method is the most common. The second type requires a good overview of the project. It is suited for smaller projects. The third method is the least used.
9610a
4-65
Page 162
FST 200-STL
4. Programming in the statement list
The allocation list lists all the operands which can be addressed by the associated central control unit. These 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 words (local I/O, CP, AS-i) • Errors, error words • Timer, timer preselection / words • Counter, counter preselection / words • Registers • Internal programs • Function units • Index registers You may edit this allocation list by selecting the Allocation listing function from the Additional commands within the STL editor. This list contains all the absolute and symbolic operands, with any comment, the entry of which was not cancelled. The editing functions are described in section 4.6.2.
4-66
9610a
Page 163
FST 200-STL
4. Programming in the statement list
4.6.1 Allocation list entry during program input You will find the Allocation listing ON item under F7 (see Fig. 4.7) in the Additional commands. You may change this entry by moving to this line and pressing the ENTER key or the left mouse button. The following applies: • Allocation listing OFF: no operands may be entered in the allocation list during program input. • Allocation listing ON: the operand last entered can be included in the allocation list during program input at the end of each line. Further procedure has already been described in section 4.2.4.
9610a
4-67
Page 164
FST 200-STL
4. Programming in the statement list
4.6.2 Allocation list entry outside an STL program Generally, you will have fixed default values from the machine when developing a program. For example, depending on the existing system and wiring, you will have: • A location plan • A wiring diagram • Various sensors and actuators. Each operand has a specific significance with respect to the control process to be implemented. Inputs are assigned to sensors, outputs to actuators. The internal resources such as flags, timers, registers, etc have functions which influence the process. The assignment of an operand to its function in the control process can be laid down in the allocation list. The necessary work can be carried out on the machines and the operands entered in the program later using this printout.
4-68
9610a
Page 165
FST 200-STL
4. Programming in the statement list
Accessing the allocation list editor You must have first created or selected a project before you can work with the allocation list. Select the Edit allocation list function in the Utility programs in the FST main menu, or through the Additional commands. You will then be taken to the allocation list editor (see Fig. 4.15).
Fig. 4.15: Allocation list editor The functions available to you here will be explained in function key sequence. You can quit allocation list processing by selecting function F8.
9610a
4-69
Page 166
FST 200-STL
4. Programming in the statement list
Inserting a new operand You can enter a new operand by selecting F1. You will then see a dialogue box with a field each for the absolute operand and the symbolic operand (see Fig. 4.16). You can move from one field to the other with the ENTER key or the TAB key.
Fig. 4.16: Inserting an operand You may now enter an absolute operand with or without a symbolic operand. A symbolic operand on its own makes no sense, and is therefore not permitted.
4-70
9610a
Page 167
FST 200-STL
4. Programming in the statement list
Select function F1 once you have entered the operand syntactically correctly. The entry will then be included in the allocation list in the appropriate place. You may cancel this entry at any time with function F8 or the ESC key. Removing an operand To remove an operand from the allocation list, place the cursor over the corresponding operand line and select function F2. A window will then appear with the prompt asking whether you really wish to remove the operand. Pressing Y causes the operand to be removed, N cancels the operation.
Fig. 4.17: Removing an operand
9610a
4-71
Page 168
FST 200-STL
4. Programming in the statement list
Editing an operand If you wish to edit the entry for an operand, place the cursor over the corresponding operand line and select function F3. You will then see a dialogue box similar to that in Fig. 4.16. Here you can overwrite the entry or modify it with the INS key or the DEL key. You can move from one input field to the other with the ENTER key or the TAB key. Then select function F1; the modification is made in the allocation list. Modifying an operand or entering a new operand in the allocation list makes no changes to the entry in the STL program.
4-72
9610a
Page 169
FST 200-STL
4. Programming in the statement list
Finding an operand Select function F4 if you wish to find a specific operand. A window as illustrated in Fig. 4.18 will then appear in the bottom left of the screen.
Fig. 4.18: Finding an operand There you may enter the designation for either the absolute or the symbolic operand as a search term. This must be entered in precisely the same way as you have entered it in the allocation list.
9610a
4-73
Page 170
FST 200-STL
4. Programming in the statement list
Start the search procedure by pressing the ENTER key. No distinction is made between upper case and lower case in a search (COUNT_ON, Count_on, etc). The operand sought will be written in the top line if it is found. The comment field is highlighted. You will get an appropriate message if the operand sought does not exist in the allocation list. Copy comment Comments are often similar. They differ only by the operand addresses. You may use this function to copy such comment lines easily so that you subsequently only have to modify a few characters. Do this by placing the cursor on the operand line carrying the comment required, and selecting function F5. This comment is now saved. Move to another operand line and select function F6. The saved comment will now be copied into this line. You can use function F6 as many times as you like consecutively.
4-74
9610a