The text of a manual · part 22 of 50
Festo Software Tools: Statement list and Ladder diagram for SF 3, FST 200 Manual, pages 211 to 220
Pages 211 to 220 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 211
FST 200-LDR
5. Programming in ladder diagram
If the automatic allocation list entry function was deactivated (refer to Section 5.2.4), you can continue with the editing of the program. The same applies for the case where the operand has already been entered in the allocation list. Provided that the automatic allocation list entry function is active and the operand has not yet been accepted in the allocation list, a window appears on the screen as shown in Fig. 5.14. Here you can enter the relevant absolute or symbolic operands together with operand comments.
Fig. 5.14: Entering the operand in the statement list
9610a
5-33
Page 212
FST 200-LDR
5. Programming in ladder diagram
Use the mouse function or press the Enter or TAB key to change from one input field to another. As you can see in Fig. 5.14, the entry function (F1) arranges for your data to be entered in the allocation list. By pressing the F8 or ESC key, you can end data entry in the allocation list. You should not however use this function if you have entered a symbolic operand in the LDR program. Symbolic operands must be recorded in the allocation list and must be assigned to an absolute operand (also refer to Section 5.2.4).
All entries and functions can also be activated by mouse (refer to Section 1.7).
5-34
9610a
Page 213
FST 200-LDR
5. Programming in ladder diagram
Modifying an operand To modify an operand, follow precisely the same procedure as for entering a new operand. The old operand can then be modified by simply overtyping it. Individual characters can be deleted by pressing the DEL key or the Backspace key. You can also quit the operand modifying function by pressing the ESC key. The original entries are then restored.
The operand modified in the LDR program remains unchanged in the allocation list. Activate the allocation list editor if you wish to modify an operand in the allocation list, or to remove an operand from the allocation list.
9610a
5-35
Page 214
FST 200-LDR
5. Programming in ladder diagram
5.3.2 Comparison boxes Inside the conditional part, multibit operands can be compared with one another. To do this, you enter a comparison box in the rung and select a comparison operation. Above and below the comparison box, the operands which are to compared with one another are entered.
Only if the contents of IW1 are greater than or equal to the contents of IW2 is the condition satisfied: at this point, O1.0 is set.
A maximum of five boxes per rung can be entered. Entering a comparison box Ensure that you are in the first functional level (LDR instructions, Fig. 5.4). Position the cursor first of all on the column in which you wish to set a comparison box and activate the function Box (F2). At the bottom right hand side of the screen, the following selection window now appears.
5-36
9610a
Page 215
FST 200-LDR
5. Programming in ladder diagram
Fig. 5.15: Select comparison operation Select the operation. Once you have confirmed your choice, the comparison box with the selected operation is set at the desired location on the rung. If a symbol is already present, it is overwritten. You can now enter the operands. Please note the information about symbolic and absolute operands in Section 5.2. Entering operands Position the cursor on the box for which you wish to enter an operand. Now activate the function Operand entry (F3). An input field is opened over the comparison box and you can enter the first operand. If the automatic allocation list entry function is deactivated or if the operand has already been transferred to the allocation list (refer to Section 5.2.4), the second input field will be opened below the box when you press the Enter key.
9610a
5-37
Page 216
FST 200-LDR
5. Programming in ladder diagram
Data input field for the second operand
Fig. 5.16: Enter second operand Now enter the second operand and complete the entry by pressing the Enter key. Once the automatic alloation list entry function has been activated and before the operand is transferred to the statement list, a window appears on the screen like the one shown in Fig. 5.14.
5-38
9610a
Page 217
FST 200-LDR
5. Programming in ladder diagram
Modifying operands In order to modify an operand, follow precisely the same procedure as for entering a new operand. The old operand can be modified simply by overtyping it. Individual characters can be deleted by pressing the DEL key or the Backspace key. The modification process can be ended by pressing the ESC key. The original entries are then restored.
The operand modified in the LDR program remains unchanged in the allocation list. Activate the allocation list editor to modify an operand in the allocation list or to remove one from the allocation list.
5.3.3 Deleting conditional symbols Ensure that you are in the first functional level (LDR instructions) (refer to Fig. 5.4). Position the cursor on the conditional symbol (contact or comparison box), which is to be deleted and activate function F4 (refer to Fig. 5.17). To ensure that conditional symbols are not deleted accidentally, the following window appears on screen.
9610a
5-39
Page 218
FST 200-LDR
5. Programming in ladder diagram
Fig.5.17: Deleting conditional symbols With Y the conditional symbol is deleted. Even any operands entered are removed from the LDR (ladder diagram) programs at this point. The entries in the allocation list are not however affected by this. With N, the deleting process is ended. Use the allocation list editor to delete operands from the allocation list (refer to Section 5.2.1).
5-40
9610a
Page 219
FST 200-LDR
5. Programming in ladder diagram
5.3.4 Parallel branches in the conditional part The following logic circuits for signal queries and comparisons can be implemented with the help of parallel branches within one rung. Or function With this function, the executive part can also be activated if one of several input conditions has already been satisfied.
The logic operation result is 1 (true) provided that at least one of the inputs has a logic 1 (binary signal 1) signal.
Exor function This function activates the executive part if only one input supplies a logic 1 (binary signal 1).
The logic operation result is 1 (true) if only one of the inputs has a logic 1 (binary signal 1) signal.
9610a
5-41
Page 220
FST 200-LDR
5. Programming in ladder diagram
Forming a parallel branch Using the function level Path commands (F6) (refer to Fig. 5.17) you can form parallel branches with the help of the menu system. Position the cursor on the column to which a parallel branch is to be added and activate the function left branch (F1). The start of the column is designated by a mark.
Marking
Fig. 5.18: Forming a parallel branch
5-42
9610a