beautypg.com

6 multiplication instruction (mul) – Yaskawa MP900 Series Machine Controller New Ladder Editor User Manual

Page 38

background image

1 Ladder Program Instructions

1.2.6 MULTIPLICATION Instruction (MUL)

1-28

„

Program Example

This instruction is used in cases where it is desirable that operation errors do not occur in the
subtraction of integer type values.

In the case of double-length integer type values, an operation using addition and subtraction instruc-
tions (+,

−, ++, --) will be a 32-bit operation. However, when an addition or subtraction instruction is

used in a remainder correction operation (where a multiplication instruction (

×) is the immediately pre-

ceding instruction and a division instruction (

÷) is the immediately subsequent instruction), the opera-

tion will be a 64-bit operation.

1.2.6 MULTIPLICATION Instruction (MUL)

„

Outline

The MUL instruction multiplies integer, double-length integer, and real number values.
Source B is multiplied to Source A and stored in the Dest.

„

Format

INFO

Symbol: MUL
Full Name: Multiply
Category: MATH
Icon:

This manual is related to the following products: