DVP-ES3 Series Programming Manual Symbol S 1 : Multiplicand S 2 : Multiplier D : Product _6 Explanation 1. This instruction multiplies the 32-bit single-precision floating-point number in S 1 by the 32-bit single-precision floating-point number in S 2 , and stores the product in D . 2. Instruction flags: SM600 (zero flag), SM601 (borrow flag), and SM602 (carry flag) When the operation result is zero, SM600 is ON. When the absolute value of the operation result is less than the value that can be represented by the minimum floating-point number, the value in D is 16#FF800000 and SM601 is ON.
When the absolute value of the operation result is larger than the value that can be represented by the maximum floating-point number, the value in D is 16#7F800000 and SM602 is ON. S S 1 S 2 +1 S S 1 +1 S 2 S D+1 D b31.........b16 b15...........b0 * b31.........b16 b15...........b0 b31.........b16 = b15...........b0 6-60 API Instruction code Operand Function 0106 F* P S1,S2,D Multiplying floating-point numbers 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