Yaskawa YASNAC PC NC PLC Programming Manual User Manual

Page 72

Advertising
background image

6 - 36

YASNAC PCNC PLC Programming Manual Chapter 6: PLC Instructions

(d) Example

(28)MULW(MUL Word Register) RR after operation: RR

Ù

(a) Function

The instruction executes multiplications of the contents of double-length register (WR2)
and the register (WR1) when the ST contact is ON (RR = 1) and stores the result to
double-length register (WR2).

If the ST contact is OFF (RR = 0), the MULW instruction is not executed.

(b) Format

(c) Explanation

A ST contact must be entered before the MULW instruction.

The MULW instruction is executed in intervals of “4 × n” msec while the ST contact
is ON.

If overflow occurs, in other words, if the result exceeds FFFH, “1” is set to RR
(RR = 1)

The lower one word is stored to the register.

A B Paradym31 Variable Name

Advertising