13.5.1 Procedure - Changing Word Address Bits (Bit Settings)

In the following procedure, error information from a device/PLC is mapped to each bit in a word address (D100). When an error occurs, the corresponding word address bit turns ON and a lamp set up with that same word address displays its associated color.

  1. From the [Parts (P)] menu, point to [Switch Lamp (C)] and select [Lamp (L)] or click to place a lamp on the screen.

  2. Double-click the placed lamp. The Switch/Lamp dialog box appears. Click [Extended].

  3. Set the [Number of States] and [State Switch Condition]. Setting the [Number of States] to 3 or more allows you to set [State Switch Condition].
    (For example, [Number of States] = 17, [State Switch Condition] = Change Condition by Bit)

  4. Specify the address to display the color coding of the lamp in [Word Address]. (For example, D100)

  5. In [Select Shape], select the lamp shape for each [State].

  6. Click the [Color] tab. In the [Select State] list, select [State 0] and define its [Display Color].
    [State 0] is the state where all the specified bit addresses are OFF.

     

  7. Select [State 1] in [Select State] and set the [Display Color]. [State 1] is the state where Bit 0 of Word Address D100 is ON.

  8. Set [Display Color] for states, from [State 2] to [State 16].

    • When clicking the button beside [Select State], you can change the state without displaying a list.

    • Depending on the shape, the color setup procedure may differ from the procedure described above. Click [Select Shape]. The [Select State] window appears. Select each state and click [Open] to select a shape and color.

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

  9. Click the [Label] tab and define the label for each state. Specify the font type and size, then type the text and click [OK].
     

    • When you select a lamp and press the [F2] key, you can directly edit the text on the label.