25.6.1 Procedure - Collecting, Searching, and Sorting Various Data

In the following steps, you set up sampling to retrieve 5 data records at a regular interval, as long as bit M100 is ON.

  1. In the [Common Settings] menu, click [Sampling] or to open the following dialog box.

  2. Click [New] to open the [New Sampling Group] dialog box. Enter the sampling group number and click [OK]. The [Sampling (Number)] dialog box opens.

  3. In the [Address] tab, select [Random] and [Enable multiple data types].

  4. In the [Device/PLC] select the device you want to sample.

  5. Specify the [Data Type] and [Address] in their respective columns.
    If you want to use sequential addresses of the same data type, enter the number of words you want to use in [#]. If the [Data Type] is [Text], enter the number of characters in [#].

    • To delete settings in a row, right-click the row in the address list, and select [Delete]. (or press the [Delete] key). In the confirmation dialog box, click [Yes] to remove the settings. This row is blank now and the rows below it remain in their previous locations.

  6. On the [Mode] tab, for the [Execution Condition] select [Constant Cycle while Bit is ON].

  7. In [Sampling Permit Bit Address], set the bit address to control the data collection operation.

  8. Specify the frequency and the number of data to collect in the [Sampling Frequency] area and [Occurrences] field.

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

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

  10. Click [Extended] to open the [Extended Settings] dialog box. Ensure that the [Add Time Data] is selected. Click [OK] to close the dialog box.

  11. Open the [Display/Save in CSV] tab. Select the [Display/Save in CSV] check box, and click [Custom Settings].

  12. Select [Refine Search / Sort] and specify the status address (for example D300).

  13. Set the Display Format. Set [Item Name (Horizontal) Rows] to 1. Specify the number of characters in the [Number of Characters For Item Name (Horizontal)/Text] and the [Item Name (Vertical)] fields.

  14. In the preview area, double-click each cell for Item Name (Horizontal) and input the Item Name.
    Also, move or add column(s) as necessary.

  15. Select the [Date] column and click [Column Details]. The [Date Set] dialog box appears. Change the date format to [mm/dd]. Click [OK] to close the dialog box.

  16. Select the [Data 4] column and click [Column Details]. The [Data] dialog box appears. Change the data type to [Float]. Set [Total Display Digits], [Font Color] and others in the [Style] tab as necessary, and click [OK] to close the dialog box.

    • The number of digits you specify in the [Total Display Digits] should be larger than the number of digits of actual sampled data. Search and sort operation is performed based on the sampled data. If the actual number of digits is more than the display digits specified, the result shown on display will not match the condition you specified.

  17. Open the editing screen, and from the [Parts] menu select [Sampling Data Display], or click to place the part on the screen.

  18. Double-click this part to open the [Sampling Data Display] dialog box.

  19. Define the sampling group you want to display on the screen. Set the Group No. to "1".

  20. Set the [Display Rows] and [Display Columns].

    • Select [Edit Data], if you wish to edit the sampling data on the screen. This requires you to set up a keypad for editing the data. At runtime, when you touch the data, the screen changes to the editing screen enabling you to edit the data by using the keypad.
      However, you cannot edit data while Search/Sort results are displayed.

  21. Select the [Border with Item Name Fields]. Also, change the [Clear Color] as necessary.

  22. On the [Display] tab, select the font type and size.

  23. On the [Switch] tab, select the desired scroll switches, as well as, [Clear All] and [Update] switches.
    Click [Select Shape] to choose the shape of the switch and add label and text color. Click [OK].

You have configured the Sampling Data Display.