4 multiply (*), 1) overview, 2) format – Yaskawa MP2000 Series: User's Manual for Motion Programming User Manual

Page 227: 3) programming examples, 2) format (3) programming examples

Advertising
background image

8 Command Reference

8.5.4 Multiply (*)

8-120

8.5.4 Multiply (*)

(1) Overview

Multiply (*) performs integer and real number multiplication on the right side and stores the result in the register
on the left side. With mixed integers and real numbers, the data type on the left side is stored.

(2) Format

(3) Programming Examples

Multiply (

∗) command programming examples are shown below.

Motion programs

Sequence Programs

Applicable

Applicable

MW00101 = MW00100

∗ 12345 ;

A B C

Item

Description

Usable Registers

A

Data output

• All integer type, double integer type, real number type registers (Excluding # and C

registers)

• The above registers with subscript
• Subscript registers

B

Data input

• All integer type, double integer type, real number type registers (Excluding # and C

registers)

• The above registers with subscript
• Subscript registers
• Constants

C

Data to

multiply

Type

Motion Programs/

Sequence Programs

Ladder Programs

B

W

MW00102=MW00100

∗MW00101

L

ML00106=ML00102

∗ML00104;

F

MF00202=MF00200

∗1.23456;

EXAMPLE

Advertising