High−level Instructions
3 − 84
Description
Multiplies the 16-bit data or 16-bit equivalent constant specified by S1 and the 16-bit data or 16-bit equivalent
constant specified by S2 when the trigger turns on. The multiplied result is stored in D (16-bit area).
Multiplicand data Trigger turns on Result
S1 D
×
S2
Multiplier data
The multiplied result is stored in the 16-bit area.
Flag conditions
・Error flag (R9007): Turns on and stays on when:
・Error flag (R9008): Turns on for an instant when:
− The area specified using the index modifier exceeds the limit.
− The calculated result exceeds the 16-bit area specified by D.
・= flag (R900B): Turns on for an instant when the calculated result is recognized as “0”.
Precautions during programming
Keep the calculated result D within the range K−32768 to K32767.