Basic Instructions

Operation Errors

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

A1 or V has been specified at D .

The divisor S2 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.

152

Page 157
Image 157
Mitsubishi Electronics 700 Series, FR-A700 specifications Operation Errors, Program Examples