MITSUBISHI ELECTRIC 700 Series User Manual

Page 157

Advertising
background image

152

Basic Instructions

Operation Errors

In the following case, operation error occurs and the error flag turns on.

A1 or V has been specified at

.

The divisor

is 0.

Program Examples

1) Program which stores the multiplication result of 5678 and 1234 in BIN to D3 and 4

when X5 turns on.

2) Program which outputs the multiplication result of the BIN data of X8 to F and the

BIN data of X10 to 1B to Y30 to 3F.

Program which outputs the quotient, obtained by dividing the data of X8 to F by 3.14,
to Y30 to 3F when X3 turns on.

/

D

S2

Advertising