10.5.1 Procedure - Increasing/Decreasing a Value

Create a switch to increment the value stored in a Word Address (D102) by 1 each time.

  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. In [Word Address], set the address(For example: D100)

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

  6. In [Addition Base Word Address], set the address (D102) where the source data is stored, and input "1" in [Constant].

  7. 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.