10.12.1 Procedure - Performing Multiple Functions with One Switch

Create a switch to write data "100" to a Word Address (D102), turn OFF a Bit Address (M100) and then return to the previous screen.

  1. From the [Parts (P)] menu, point to [Switch Lamp (C)] and select [Word Switch (W)] or click . Place the switch on the screen.

  2. Double-click the placed Switch part. The following dialog box appears.

  3. In [Select Shape], select the Switch shape.

  4. Set up the [Word Address] (D102) where you want to write data when you touch the switch.

  5. From [Word Action] choose [Write Data].

  6. Set [Constant] to "100" and word switch's function is complete.

  7. Click [Add] and select [Bit Switch].
    When the screen changes to the bit switch settings, the bit switch is added to the display in [Multi-function List].

  8. Specify the [Bit Address] (M100) that you want to turn OFF.

  9. In [Bit Action], select [Bit Reset] and the bit switch feature settings are complete.

  10. Click [Add] and select [Change Screen Switch].
    When the screen changes to the Change Screen Switch settings, the Change Screen Switch is added to the display in [Multi-function List].

  11. In [Screen Change Action], select [Previous Screen]. The Change Screen Switch settings are complete.

  12. As needed, set the color and display text on the [Color] tab and [Label] tab, and click [OK].

    • Depending on the shape, you may not be able to change the color.

    • When you select a switch and press the [F2] key, you can directly edit the text on the label. When [Text Table] is selected, you can change the current Text Table.