Delta DVP-ES3 — 6.3.2 Explanation of Data Conversion Instructions

DVP-ES3 Series Programming Manual Symbol S : Source device D : Conversion result Explanation This instruction copies the data in the 16-bit device S to the 32-bit device D , and copies the sign bit from S to D . _6 Example When M0 is ON, the instruction copies the value of b15 in D4 to b15–b31 in (D7, D6), copies the values of b0–b14 to the corresponding bits in (D7, D6), and ignores the bits b15–b30. The data in (D7, D6) is a negative value (same as the source).

b0 1 D4 D7, D6 b31 b16 b0 b15 6-90 API Instruction code Operand Function 0206 MMOV P S, D Converting a 16-bit value into a 32-bit value Device X Y M S T C HC D FR SM SR E K 16# “$” F S         D      BOOL WORD DWORD LWORD UINT INT DINT LINT REAL LREAL TMR CNT STRING Data type S       D   Pulse instruction 16-bit instruction 32-bit instruction ES3 ES3 - 0 Plus sign b15 1 0 0 1 1 0 0 1 0 1 1 1 0 0 0 1 Minus sign 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 1 1 0 0 1 0 1 1 1 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 1 1 0 0 1 0 1 1 1 0 0 0