Chapter 3 Standard Instructions Graphic expression: 3_ S 1 : Multiplicand S 2 : Multiplier D : Product Explanation: 1. The floating-point value in S 1 is multiplied by the floating-point value in S 2 , and the product is stored in D . 2. When the operation result is zero, SM600 is ON. 3. The multiplication of 32-bit single-precision floating-point values: When the absolute value of the operation result is less than value which can be represented by the minimum floating-point value, the value in D is 16#FF7FFFFF. When the absolute value of the operation result is larger than the value which can be represented by the maximum floating-point value, the value in D is 16#7F7FFFFF.
S S 1 S 2 +1 S S2 S 1 +1 D+1 D b31.........b16 b15...........b0 * b31.........b16 b15...........b0 b31.........b16 = b15...........b0 4. The multiplication of 64-bit double-precision floating-point values: When the absolute value of the operation result is less than the value which can be represented by the minimum floating-point value, the value in D is 16#FFEFFFFFFFFFFFFF. When the absolute value of the operation result is larger than the value which can be represented by the maximum floating-point value, the value in D is 16#7FEFFFFFFFFFFFFF.
3-83 FB/FC Instruction Operand Description FC D* F* P S , S , D 1 2 Multiplication of floating-point values BOOL WORD DWORD LWORD UINT UDINT INT DINT LINT REAL LREAL TMR CNT STRING Data type S , S 1 2 * D * Device X Y M S T C HC/AC D L SM SR E PR K 16# “$” D F S , S 1 2 D Pulse instruction 32-bit instruction 64-bit instruction AH Motion CPU AH Motion CPU AH Motion CPU