30.14.6.2 Calling Logic Parts

You can call a registered logic part and insert the part in the logic program that you are editing.

Inserting Rung Parts in Logic Programs

  1. Select the rung one up from where you want to insert the part or select a part of the rung (power bar, instruction, and so on).

  2. From the [Logic (L)] menu, point to [Parts (M)], and click [Load (P)]. The [Load Part] dialog box will display.

  3. Select [Rung Parts] and choose the rungs parts to be inserted from [Parts Name] and click [Load].

    • You can avoid overlapping the symbol variable names by inputting text in [Pre-Fix of Symbol-Variable Name].
      If a logic program is loaded when the symbol variables are overlapped, the variable type may be changed.
      Is that case, the input text is added in front of the symbol variable name of the rung parts, then inserted into the logic program you are editing.
      For example, when entering "ALine" in [Pre-Fix of Symbol-Variable Name]:

       

      Rung Parts

      After Insertion of the Logic Program

      Symbol Variable Name

      Switch1

      ALineSwitch1

  4. The rung part is inserted. 

Add Subroutine Parts

  1. From the [Logic (L)] menu, point to [Parts (M)], and click [Load (P)]. The [Load Part] dialog box will display.

  2. Select [Subroutine Parts] and the [Parts Name]. Select [Subroutine Parts], then select [Parts Names], [Subroutine Name], then click [Load].

  3. The subroutine screen with the selected subroutine name will be added.