Delta DVP-ES3 — 6.3.2 Explanation of Data Conversion Instructions

Chapter 6 Applied Instructions Symbol S 1 : Data source S 2 : Parameter D : Destination device 6_ Explanation 1. This instruction finds a scaled linear value for the value in S 1 using two points in S 2 to define the scaling factor, and stores the result in D . 2. Only the 32-bit instructions can use the 32-bit counter, but not the device E. 3. The following table list the constant usage for the operand S 1 The flag SM685 (whether to use floating point operation or not) can only be used for 32-bit instructions.

6-111 API Instruction code Operand Function 0217 D SCLP P S1,S2,S3,D Finding a scaled value (two points) Device X Y M S T C HC D FR SM SR E K 16# “$” F S1           S2      D       BOOL WORD DWORD LWORD UINT INT DINT LINT REAL LREAL TMR CNT STRING Data type S1       S2       D       Pulse instruction 16-bit instruction 32-bit instruction ES3 ES3 ES3 32-bit instruction Constant 16-bit instruction SM685 ON SM685 OFF Constant  X  Hexadecimal  X  Floating number X  X