Delta DVP — 9.6 SORT - Sorting Acquired Data

9. Data Processing Design Examples 9.6 SORT - Sorting Acquired Data Control Purpose: z Collecting 4 voltage data (Corresponding to frequency of AC motor) by DVP04AD-S analog module and 4 temperature data by DVP04TC-S thermocouple module. z Sorting the 4 channels by voltage in ascending order when M0 = ON and by temperature in ascending order when M1 = ON. z Sorting the data and displaying the sorting result. Devices: Control Program:

M0 M1 M10 M1013 M11 M1013 Sorting by voltage in ascending order Sorting by temperature in ascending order DVP-PLC Application Examples 9-8 Device Function M0 Sorting voltage data M1 Sorting temperature data D200~D203 Numbers of channels to be sorted D204~D207 Storing 4 voltage data D208~D211 Storing 4 temperature data D220~D231 Displaying voltage sorting result D240~D251 Displaying temperature sorting result SET M10 RST M11 SET M11 RST M10 SORT D200 K4 K3 D220 K2 SORT D200 K4 K3 D240 K3