The text of a manual · part 21 of 50
Festo Software Tools: Statement list and Ladder diagram for SF 3, FST 200 Manual, pages 201 to 210
Pages 201 to 210 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 201
FST 200-LDR
5. Programming in ladder diagram
Fig. 5.10: Entering the operand in the allocation list Once you have entered a symbolic operand in the program, you must assign it an absolute operand. Enter the absolute operand and activate the function insert operand (F1). Activate this function if your program is also to contain symbolic operands since this makes it necessary to compile an allocation list.
9610a
5-23
Page 202
FST 200-LDR
5.3
5. Programming in ladder diagram
Symbols for the LDR editor An LDR program is constructed on rungs of which one is depicted as a horizontal line comprising seven columns. The starting point for program generation is one single rung. Rung A rung always consists of a conditional and an executive part. The first columns represent the conditional part and the last column represents the executive part.
Conditional part
Executive part
The symbols for the conditional and executive parts are selected with the help of the menu system and are entered automatically in the rung at the current cursor position. To prevent editing errors, the menu system adapts itself to suit the current cursor position. If the cursor is located in the first six columns, the menu system can only be used for selecting conditional symbols. Once the cursor is located in the last column, you can select output symbols.
5-24
9610a
Page 203
FST 200-LDR
5. Programming in ladder diagram
In order to program complex control problems, the conditional part can be expanded by up to twelve columns. There are two options for inserting or deleting columns or rungs. • With the INS key or the DEL key, or • with the help of the menu system. If you use function key F6 to select the function level Path commands, you can use the menu system to delete or insert columns or rungs. The INS and DEL key can be used at any function level to insert or delete columns or rungs.
9610a
5-25
Page 204
FST 200-LDR
5. Programming in ladder diagram
Inserting columns In a rung you can start by entering up to six sequential conditional symbols. If this number is not sufficient, the rung can be expanded by up to twelve columns. Position the cursor at the location in front of which you wish to insert a column. If you press the INS key, this question will appear in the instruction line:
What do you wish to insert? Function keys F1 and F2 are assigned with appropriate functions (refer to Fig. 5.11).
Fig. 5.11: Inserting columns
5-26
9610a
Page 205
FST 200-LDR
5. Programming in ladder diagram
By activating the function path column, a column is inserted in front of the cursor position. After insertion, the cursor is located on the inserted column. Remove column Position the cursor on the column which you wish to delete and activate the DEL key. This question then appears in the instruction line:
What do you wish to delete at this location? To remove the column, press function key F2. A column can only be removed provided that it does not contain a symbol (ladder diagram symbol etc.). If you wish to remove a column containing a symbol, you must first delete the symbol (using function F4 at the function level LDR instructions). If a rung only consists of seven columns, no further columns can be deleted. Inserting a rung Position the cursor on the rung after which you wish to insert a new rung. Then, when you press the INS key, a question appears in the instruction line as shown in Fig. 5.11. When you press the F1 key, the new rung is inserted. Its number is displayed in the second line on the screen display.
9610a
5-27
Page 206
FST 200-LDR
5. Programming in ladder diagram
Rung comments For every rung you can enter a comments text. Activate function F7 at the functional level Path commands with the mouse (refer to Fig. 5.18), or activate the input field located in the second line on the screen. All rung comments of an LDR program can be viewed using the function List paths (refer to Fig. 5.27). Removing rung Position the cursor on the rung which you wish to remove and activate the DEL key. If the rung consists of more than seven columns, the system enquires about whether you would like to remove a column or a rung. Now press function key F1 - a window appears with this question:
Do you really want to delete this rung? (Y/N) ?
Yes
The current path and the current path comments are removed.
No
The erasing process is terminated.
In contrast to columns, rungs are deleted even if they still contain symbols.
5-28
9610a
Page 207
FST 200-LDR
5. Programming in ladder diagram
5.3.1 Contacts If the cursor is located in the conditional part, conditional symbols can be selected using the conditional symbol. These can be contacts or comparison boxes. Contacts help with signal queries of inputs, outputs and other one-bit operands. A similar symbol is also used for setting jump target marks (refer to Section 5.3.7).
Designation
Symbol
Explanation
Normally open contact
--] [--
Query to "1" signal
Normally closed contact
--]/[--
Query to "0" signal
Label
--[ L ]--
Jump target mark
Without parallel structures in the conditional part you can program the following logical links.
9610a
5-29
Page 208
FST 200-LDR
5. Programming in ladder diagram
AND The And link is represented in LDR programs by sequentially arranged NO (normally open) contacts.
The logic operation result is 1 (true) provided that all AND-linked conditional elements are true.
NOP NOP is short for No Operation. This entry is entered via the contact instead of an operand.
This instruction should be entered if you wish to initiate something without input conditions. As a contact symbol you can also choose a normally closed contact.
NOT This is a negation. It can be presented in the two following manners.
The operands in the executive part of both rungs behave as though negated to the operands in the conditional part.
5-30
9610a
Page 209
FST 200-LDR
5. Programming in ladder diagram
Inserting a contact Ensure that the first functional level (LDR commands) is activated. First position the cursor on the column in which you wish to install or alter a contact. Then activate function F1. The following selection window then appears on the screen.
Fig. 5.12: Selecting a contact symbol Select the desired symbol in the usual manner. When your selection has been confirmed, the contact is inserted at the last cursor position in the LDR diagram. Any conditional symbol entered previously at this location is overwritten by this operation.
If you select a jump mark, it is always set at the first column of the rung. If contacts or parallel branches have already been entered at this point, a new column with jump mark is inserted at the first entry. You can now initiate the operand entry operation. Please take due account of the information in Section 5.2. Please consult Appendix B.1.2 or the help function in the FST software to establish which absolute operands are permissible for your controller.
9610a
5-31
Page 210
FST 200-LDR
5. Programming in ladder diagram
Enter operand Position the cursor on the contact for which you wish to enter an operand and activate the function Enter operand (F3). A data input field appears over the contact into which you must enter the operand, either as an absolute or symbolic operand for the LDR program.
Data input
Fig. 5.13: Entering an operand Press the Enter key to end the entry process.
5-32
9610a