Delta Electronics — 6.3.2 Explanation of Data Conversion Instructions

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

When X0.0 is ON, the instruction copies the value of b31 in D7 to b15 in D4, copies the values of b0–b14 to the b31 b16 b15 b0 D7, D6 D4 b0 b15 6-90 API Instruction code Operand Function 0207 RMOV P S, D Converting a 32-bit value into a 16-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 AS AS - 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 0 0 1 1 0 0 1 0 1 1 1 0 0 0 1