The text of a manual · part 29 of 50
Festo Software Tools: Statement list and Ladder diagram for SF 3, FST 200 Manual, pages 281 to 290
Pages 281 to 290 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 281
FST 200
6. Text editor
Find text Selecting function F1 brings up a window with the prompt for the search text. Beneath this are various options for the search procedure (see below).
Enter the string to be found in the first line. Select the search options with the cursor keys or with the mouse. You can overwrite the default option of Y for yes in the brackets in front of the options with an N for no. Select F1 once all the information has been entered. The cursor will be placed on the first character of the string you are looking for, if it is found.
9610a
6-5
Page 282
FST 200
6. Text editor
Replace text When you select function F2 from the screen shown in Fig. 6.2, a window similar to that described above will be displayed on the screen.
In addition to the actions for the Find text, here you should enter the new text in a second line. This will later be used to replace the text string found. You can also specify in the last line whether an exchange is to be made each time the specified text is found. This allows you to replace text strings appearing more than once either globally or only on certain occasions. You can quit the Replace text by pressing the Esc key or by using function F8 and then return to the search commands as shown in Fig. 6.2. Continue search Function F3 in the screen shown in Fig. 6.2 allows you to continue an interrupted search procedure.
6-6
9610a
Page 283
FST 200
6. Text editor
If no further occurrence of the search term is found in the search direction specified, the following message appears:
Search text not found. Go to line Selecting function F4 from the screen shown in Fig. 6.2 allows you to enter a line number to which you wish to jump in a window to the bottom right of the screen. The cursor jumps to the end of the text if the entire text is shorter than the line number entered. Start the action with function key F1. The Esc key or F8 takes you back to the search commands. Start/end of text When you select function F5 in the screen shown in Fig. 6.2, the cursor jumps to the start of the text. Pressing function key F6 causes the cursor to jump to the end of the text. Close search Selecting function F8 from the screen shown in Fig. 6.2 quits the Search commands function. You return to the text editor selection screen as shown in Fig. 6.1.
9610a
6-7
Page 284
FST 200
6. Text editor
6.1.2 Block commands Selecting function F1 from the screen shown in Fig. 6.1 switches the function key assignment to the block commands. See Fig. 6.3.
Fig. 6.3: Text editor block commands
6-8
9610a
Page 285
FST 200
6. Text editor
Mark block The procedure for specifying a section of text as a block is as follows. • Place the cursor on the first line of the section of text you wish to mark as a block and select function F1. This marks the start of the block. • Place the cursor after the last line of the section of text you wish to mark as a block and select function F2. This marks the end of the block. The block has now been specified; this is shown by its highlighting against the remainder of the text.
WARNING. You can only mark complete lines as a block, not parts of lines. If you wish to mark just one line as a block, you must place the cursor at the start of the next line to specify the end of the block. The commands described below assume the presence of a fully marked block.
9610a
6-9
Page 286
FST 200
6. Text editor
Switch marking on/off Function F6 switches the highlighting for the marked block on and off. Copy block Place the cursor at the point in the text which you wish to copy. Function F3 duplicates the marked block and inserts it at the cursor position.
Once a block has been marked it can be copied as many times as you wish. All that is required is to move the cursor to the new position and select function F3. Move block Place the cursor at the point in the text to which you wish to move the block. Function F4 deletes the marked block from its original position and inserts it again at the cursor position. Delete block A section of text defined as a block can be removed by selecting function F5.
6-10
9610a
Page 287
FST 200
6. Text editor
File commands You may use these functions to • Finish your text editing, • Read marked blocks, • Save marked blocks. The two last-named functions work with the \LIB subdirectory which you created in section 3.1. This is where your text blocks are saved. Selecting F7 from the screen shown in Fig. 6.3 brings up the following function selection window.
Save and quit editor Your text will be saved with all changes. The program then returns to the FST software main menu. Save and resume Your text is saved with all changes, but remains available on screen for further editing.
9610a
6-11
Page 288
FST 200
6. Text editor
Cancel edit Your text is retained in its original version, i.e. current changes are discarded. You will see a confirmation prompt before this function is executed
Are you sure? (Y/N). The procedure will be cancelled if you respond with N for No. If you answer with Y for yes, the text will be restored to its original state. Read text block Selecting this function brings up a window to the screen. This displays all the files available in the program library (see Fig. 6.4).
6-12
9610a
Page 289
FST 200
6. Text editor
Fig. 6.4: Insert text block You can select the text block you require with the cursor keys or by clicking on it. Selecting function F1 or clicking on the entry chosen again causes the text block to be inserted immediately at the current cursor position.
9610a
6-13
Page 290
FST 200
6. Text editor
Save text block Selecting this function causes the same window as is shown in Fig. 6.4 to appear on the screen. The only difference is in the assignment of function key F2 (see Fig. 6.5).
Fig. 6.5: Save text block
6-14
9610a