3.1. Basic Edit
3.1. Basic Edit
This describes the method of editing the ladder task. Try following as described below.
(1) As described in the previous chapter, create the project and ladder file.
(2) As shown in [Figure 3.1], start with ladder document with only one Rung.
Figure 3.1 Empty Ladder Document
The red rectangle on the left side of the Rung shows that it is selected. You can click and select the Rung or instruction. The number, “0001”, is the number of the Rung, which increases every time a Rung is added.
(3) Select『XIC(eXamine If Closed)』 from the Instruction Tool Bar as shown in [Figure 3.2].
Figure 3.2 XIC of Instruction Tool Bar
As the first instruction of the selected Rung, “XIC” symbol is added as shown in [Figure 3.3].
(When the color of the entire Rung changes to gray, it means that it is currently being edited. When the file is saved, this will disappear.)
Figure 3.3 Insert XIC Symbol
(4) Double click the symbol or press the Enter key when it is selected. The edit box to enter the tag (operand) will be displayed. Enter the relay name of “X1” as shown in [Figure 3.4]. (All letters will automatically be converted to capital letters.)
Figure 3.4 Input Relay Name
Press the Enter key to complete the entry of the operand of the instruction. (Incorrect relay name will be displayed in red.)
(5) Now as shown in [Figure 3.5], select the instruction 『OTE(OuTput Energize)』 from the Instruction Tool Bar.
Figure 3.5 Select OTE Instruction from Tool Bar
As the next instruction of the selected instruction, “OTE” will be inserted. As with “XIC”, double click on the symbol or press the Enter to open the edit box and enter “Y1” and press the Enter key. Now it will be as shown in [Figure 3.6]. (The output instruction is arranged at the right end of the Rung.)
Figure 3.6 Result of XIC and OTE input
(6) Now 1 Rung is completed. When this ladder task is executed, “Y1” signal will be controlled by the “X1” signal.
As shown in [Figure 3.7], click on the Rung button on the Instruction Tool Bar. As shown in [Figure 3.8], a new Rung will be added below the current Rung.
Figure 3.7 Click on Rung Button from Tool Bar
Figure 3.8 Add New Rung