xLadder user manual-V2.0.0.6

6.7.2 MUL - R&DIV - R

Input/output Operand

Data type

IN1, IN2

VD, ID, QD, MD, SMD, SD, LD, AC,constant, *VD, *LD, *AC

Real number

OUT

VD, ID, QD, MD, SMD, SD, LD, AC, *VD, *LD, *AC

Real number

MUL - R: IN1 multiplied by IN2, the result is put into the

output buffer.

DIV - R: IN1 divided by IN2, the result is put into the output

buffer.

IN1, IN2, and OUT are 32 bits of real numbers.

IN1 * IN2 = OUT

IN1 / IN2 = OUT

error conditions:

Overflow

SM1.1

The divisor is 0

SM1.3

Special memory bit:

Zero result

SM1.0

Overflow

SM1.1

SM1.2

Negative result

The divisor is 0

SM1.3

121

Made with FlippingBook - Online magazine maker