Omron FQM1-MMA21, FQM1-CM001 Auxiliary Area Allocations, Appendix D, Special Math Instructions

Models: FQM1-MMP21 FQM1-MMA21 FQM1-CM001

1 414
Download 414 pages 44.52 Kb
Page 391
Image 391
Special Math Instructions

Auxiliary Area Allocations

 

 

 

 

Appendix D

Special Math Instructions

 

 

 

 

 

 

 

 

 

 

 

Instruction

Mnemonic

Code

Length

ON execution

Hardware

Conditions

 

 

 

(steps)

time (s)

implementation

 

 

 

 

(See

 

 

 

 

 

 

note.)

 

 

 

ARITHMETIC PRO-

APR

069

4

24.3

---

Linear approximation specifica-

CESS

 

 

 

 

 

tion, normal

 

 

 

 

12.1

---

Linear approximation table trans-

 

 

 

 

 

 

fer, 1 word

 

 

 

 

 

 

 

 

 

 

 

126.1

---

Linear approximation table trans-

 

 

 

 

 

 

fer, 128 words

 

 

 

 

 

 

 

 

 

 

 

241.3

---

Linear approximation table trans-

 

 

 

 

 

 

fer, 256 words

 

 

 

 

21.5

---

Linear approximation buffer specifi-

 

 

 

 

 

 

cation, 256 words, beginning

 

 

 

 

 

 

 

 

 

 

 

186.9

---

Linear approximation buffer specifi-

 

 

 

 

 

 

cation, 256 words, end

 

 

 

 

 

 

 

 

 

 

 

104.5

---

Linear approximation buffer specifi-

 

 

 

 

 

 

cation, 128 words, end

BIT COUNTER

BCNT

067

4

0.65

Yes

Counting 1 word

 

 

 

 

 

 

 

VIRTUAL AXIS

AXIS

981

4

47.9

---

Relative mode

 

 

 

 

 

 

 

 

 

 

 

48.1

---

Absolute mode

 

 

 

 

 

 

 

 

 

 

 

8.3

---

Stopping processing

 

 

 

 

 

 

 

Note When a double-length operand is used, add 1 to the value shown in the length column in the above table.

Floating-point Math Instructions

Instruction

Mnemonic

Code

Length

ON execution

Hardware

Conditions

 

 

 

(steps)

time (s)

implementation

 

 

 

 

(See

 

 

 

 

 

 

note.)

 

 

 

FLOATING TO 32-BIT

FIXL

451

3

7.4

---

---

 

 

 

 

 

 

 

32-BIT TO FLOATING

FLTL

453

3

7.0

---

---

 

 

 

 

 

 

 

FLOATING-POINT

+F

454

4

11.4

---

---

ADD

 

 

 

 

 

 

 

 

 

 

 

 

 

FLOATING-POINT

–F

455

4

11.0

---

---

SUBTRACT

 

 

 

 

 

 

 

 

 

 

 

 

 

FLOATING-POINT

/F

457

4

11.1

---

---

DIVIDE

 

 

 

 

 

 

FLOATING-POINT

*F

456

4

11.0

---

---

MULTIPLY

 

 

 

 

 

 

 

 

 

 

 

 

 

DEGREES TO RADI-

RAD

458

3

9.7

---

---

ANS

 

 

 

 

 

 

 

 

 

 

 

 

 

RADIANS TO

DEG

459

3

9.4

---

---

DEGREES

 

 

 

 

 

 

SINE

SIN

460

3

15.8

---

---

 

 

 

 

 

 

 

COSINE

COS

461

3

15.5

---

---

 

 

 

 

 

 

 

TANGENT

TAN

462

3

17.5

---

---

 

 

 

 

 

 

 

ARC SINE

ASIN

463

3

42.7

---

---

 

 

 

 

 

 

 

ARC COSINE

ACOS

464

3

42.5

---

---

 

 

 

 

 

 

 

ARC TANGENT

ATAN

465

3

21.3

---

---

 

 

 

 

 

 

 

SQUARE ROOT

SQRT

466

3

25.5

---

---

 

 

 

 

 

 

 

EXPONENT

EXP

467

3

18.1

---

---

 

 

 

 

 

 

 

LOGARITHM

LOG

468

3

16.1

---

---

 

 

 

 

 

 

 

EXPONENTIAL

PWR

840

4

31.5

---

---

POWER

 

 

 

 

 

 

368

Page 391
Image 391
Omron FQM1-MMA21 Auxiliary Area Allocations, Appendix D, Special Math Instructions, Floating-pointMath Instructions