Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 23 of 50

Festo Software Tools: Statement list and Ladder diagram for SF 3, FST 200 Manual, pages 221 to 230

Pages 221 to 230 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 221

FST 200-LDR

5. Programming in ladder diagram

The cursor can now be moved to the right from column intersection point to column intersection point. Position the cursor on the column intersection point up to the one which the parallel branch is to reach.

If you then activate the function right branch (F1), the program inserts the branch at the defined position. In the parallel branch, conditional symbols and operands can be set and further parallel branches can be added.

The maximum number of parallel branches which can be fitted is that which creates a structure of 10 parallel conditional symbols. Deleting branches Ensure that the functional level Path commands has been activated. Position the cursor on the branch which you wish to delete and activate the function delete branch (F2). To ensure that no branch is deleted accidentally, a window appears on the screen like the one shown in Fig. 5.19.

9610a

5-43

Page 222

FST 200-LDR

5. Programming in ladder diagram

Fig.5.19: Deleting parallel branches If you acknowledge the question with Y for Yes, the branch and all available conditional symbols and operators in it will be deleted from the LDR (ladder diagram) program. The operands are not however deleted from the allocation list.

Parallel branches to which other branches are related cannot be deleted.

5-44

9610a

Page 223

FST 200-LDR

5. Programming in ladder diagram

5.3.5 Coils If the cursor is in the executive part, i.e. in the last column of a rung, execution symbols can be selected from the menu system. These can be e.g. coils, multibit operations or module calls. Coils represent the controller outputs with which, after processing the input signals, the actuators are addressed. Coils are also used to control other operands such as timers, counters and flags.

Symbol

Explanation Assignment: The logic operation result of he conditional

--( )-- part is assigned to the operand.

--(/)-- conditional part is assigned to the operand

Assignment negated: The logic operation result of the after negation. Set: Once the conditional part becomes true, the operand --(O)-- is set and stored. Its staus is not changed in any other case. Reset: Once the conditional part becomes true, the

--(R)-- operand is reset and stored. Its status is not changed in any other case. Count forwards: The content of multi-bit operands is

--(INC)-- increased by 1 if there is a rising edge on the conditional part (implicit edge identification). Count backwards: The content of multi-bit operands is

--(DEC)-- reduced by 1 if there is a rising edge on the conditional part (implicit edge identification).

9610a

5-45

Page 224

FST 200-LDR

5. Programming in ladder diagram

Defining coils Ensure that the function level LDR (ladder diagram) instructions is activated and position the cursor on the last column of the rung in which you wish to define a coil. If you now activate function F1, the following selection window will appear.

Fig. 5.20: Coil definitions Select the desired coil symbol in the usual manner. After your selection has been acknowledged, it is inserted in the last column of the rung. Any output symbols entered previously at this point are overwritten. If you select the function jump to path, a parallel branch with the corresponding symbol is added to the end of the executive part (refer to Section 5.3.7). Now enter the operand. Proceed exactly as described in Section 5.3.1.

5-46

9610a

Page 225

FST 200-LDR

5. Programming in ladder diagram

5.3.6 Parallel branches in executive part In order to arrange for several executable instructions in the conditional part of a rung, it is also possible to form parallel branches in the executive part. A maximum of ten execution symbols per rung are possible.

Due to the high processing speed, it appears as though all instructions are being executed in parallel fashion. However, inside the system, the outputs are being set sequentially, after which the branch is made to reset the jump target.

Forming parallel branches You can form a parallel branch in the executive part in one of the two following ways. First position the cursor on the output symbol to which you wish to form a parallel branch. • Activate the function Parallel coil in the function level Path commands. • Activate function F1 in the function level LDR (ladder diagram) instructions, and select function Parallel coil (refer to Fig. 5.20).

9610a

5-47

Page 226

FST 200-LDR

5. Programming in ladder diagram

The coil output symbol is added to the parallel branch and can, where necessary, be overwritten with a different execution symbol. Deleting a parallel branch In the executive part, parallel branches are deleted in the same way as in the conditional part (refer to Section 5.3.4). 5.3.7 Jump command An LDR (ladder diagram) program is processed rung by rung from top to bottom. The process is however so fast that it is sometimes referred to as virtual parallel processing. With the help of the jump command, you can program the program branches. The process of the program is then ended at its current position and continued at another point in the program. With this function, you are able to: • structure your LDR program better, • reduce the cycle time by skipping the program part. The jump command consists of a jump statement and a jump target.

5-48

9610a

Page 227

FST 200-LDR

5. Programming in ladder diagram

Jump statement entry Select coil definitions in the selection window for the function jump path. Then activate the function operand entry and enter the jump address (designation of the appropriate jump mark). These entries are not operands and are not therefore transferred to the allocation list. Entering the jump mark Follow precisely the same procedure for entering a jump mark as you would for entering a contact (refer to Fig. 5.12). Then activate the function operand entry and enter a designation up to nine characters in length for the jump mark. The jump mark only represents a recognition for the jump address and is not a component of the conditional part. The conditional part of the rung is checked if there is not direct jump to the path.

9610a

5-49

Page 228

FST 200-LDR

5. Programming in ladder diagram

Path 1: If the condition is satisfied, output O0.1 is set and then branched to the jump mark Next. Path 2: The conditional part of the rung is satisfied if input I0.3 has a logic 1 (binary signal 1) signal.

5-50

9610a

Page 229

FST 200-LDR

5. Programming in ladder diagram

5.3.8 Boxes in the executive part Further functions in the executive part can be represented by a box symbol. These are: • assignments (LOAD TO), • timers, • counters, • multibit operations, • arithmetic/logic, • module calls. Each box contains a description of the function.

The example shows a timer box. Operands have already been entered. All the above functions are represented by such boxes.

Box functions are only carried out upon recognition of the rising edge of a signal resulting from a logical operation (implicit signal edge recognition).

9610a

5-51

Page 230

FST 200-LDR

5.4

5. Programming in ladder diagram

Defining a box in the executive part Make sure that you are at the top function level (refer to Fig. 5.4) and position the cursor on the executive part of the rung in which you wish to insert a box. Activate function F2 Box. The box definition window shown in Fig. 5.21 is displayed. The next steps depend on which function you wish to activate for this box (for information on this, refer to Sections 5.4.1 to 5.4.8).

A maximum of five boxes can be entered per rung.

Fig. 5.21: Box definitions If a box has already been inserted at the current cursor location, a window will appear in which you will be asked if you really wish to overwrite the old box. If you respond with N, box definition will be cancelled.

5-52

9610a