Delta DVP-ES3 — 6.3.2 Explanation of Data Conversion Instructions

DVP-ES3 Series Programming Manual If S 1 value S 1 value S 3 +0 value in the figure above, D = S 4 +0. 9. If S 3 and S 4 of the16-bit instruction are declared on ISPSoft, the data type is ARRAY [ S 2 ] of WORD. 10. If S 3 and S 4 of the 32-bit instruction are declared on ISPSoft, the data type is ARRAY [ S 2 ] of DWORD (SM685=OFF) or ARRAY [ S 2 ] of REAL (SM685=ON). Example The comparison values of S3 for multi-point areas are given as follows. The corresponding conversion reference values of S 4 are given as follows. Here is the explanation about the value in D2 obtained through a conversion based on the data resource D0.

Set D0=10, Since D0 Set D0=K150, D0 value is in between (D100, D101) = (100, 200) and the corresponding reference value is (D200, D201) = (4000, 3000) Therefore, D2= (150-100)* (3000-4000) / (200-100) +4000=3500 Set D0=450 Since D0>D103 (in the last area), D2=D203=2000 (the last conversion reference value) Set D0=K250 D0 value is between (D101, D102) = (200, 300) and the corresponding reference value is (D201, D202) = (3000, 1500).

Therefore, D2= (250-200) *(1500-3000) / (300-200) +3000=2250 Set D0=K350 D0 is between (D102, D103) = (300, 400) and the corresponding reference value is (D202, D203) = (1500, 2000) Therefore, D2= (350-300) * (2000-1500) / (400-300) +1500=1750 _6 6-120 Device D100 D101 D102 D103 Content 100 200 300 400 Device D200 D201 D202 D203 Content 4000 3000 1500 2000