25.4.1 Procedure - Sampling Data at Specific Periods

Configure settings to sample data from D100, D101, and D102 every time the bit (M100) turns ON.

  1. In the [Common Settings (R)] menu, select the [Sampling (D)] command or click , and the following screen appears.

  2. Click [Create] and the following dialog box appears. Set the sampling group number, click [OK], and the sampling settings screen appears.

  3. In [Sampling Start Address], set the start address (D100) for data you want to sample.

  4. Designate the bit length to store for sampled data, and in [Sampling Words], set the number of addresses. The first three words are displayed, starting from the designated address.

  5. On the [Mode] tab, for the [Execution Condition] select [Bit ON].

  6. In [Sampling Trigger Bit Address], set the bit address (for example, M100) to control the data sampling operation. Data sampling runs every time this bit turns ON.

  7. Designate the number of times to sample the data (for example, 4 times).

  8. In the [Data Clear Bit Address] field, set up the address (for example, M50) to delete the sampling data. When this bit is turned ON, all data from sampling group 1 stored in the display unit is deleted.

    • Optionally, you can also set up the [Data Full Bit Address] to check if sampling has reached the defined number of [Occurrences].

  9. In the [ACK Bit Address] field, enter the address (for example, M20) which confirms when data read is complete. When the data reading is finished, this bit turns ON. Accept this Bit ON and turn OFF the [Sampling Trigger Bit Address] (M100).
    (When M100 turns OFF, M20 turns OFF.)

  10. Click [Extended] and the following dialog box appears.
    When the [Overwrite old data after finishing the specified cycles] check box is selected, and when data for the defined number of occurrences (for example, "4" as defined in step 7) is saved on the display unit, and the trigger bit (M100) turns ON for the 5th time, data will be overwritten and stored in order with the first set of data.
    If you clear the [Overwrite old data after finishing the specified cycles] check box, you can adjust the [Number of Blocks] setting. A "block" is the sampling data collected from the designated Occurrences. When displaying or printing data, you can use block units. When the defined data is stored ([Occurrences] x [Blocks]), after that sampling will not run even if the defined bit turns ON.

    Number of Blocks: Data from the defined occurrences is one set. Use this property to set up the number of sets.