Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual page 1110

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Instruction Execution Times and Number of Steps
Floating-point Math Instructions
Instruction
FLOATING TO 16-BIT
FLOATING TO 32-BIT
16-BIT TO FLOATING
32-BIT TO FLOATING
FLOATING-POINT ADD
FLOATING-POINT
SUBTRACT
FLOATING-POINT DIVIDE
FLOATING-POINT MULTIPLY *F
DEGREES TO RADIANS
RADIANS TO DEGREES
SINE
COSINE
TANGENT
ARC SINE
ARC COSINE
ARC TANGENT
SQUARE ROOT
EXPONENT
LOGARITHM
EXPONENTIAL POWER
Floating Symbol Comparison
FLOATING- POINT TO ASCII FSTR
ASCII TO FLOATING-POINT
Note
Double-precision Floating-point Instructions
Instruction
DOUBLE SYMBOL
COMPARISON
DOUBLE FLOATING TO 16-
BIT BINARY
DOUBLE FLOATING TO 32-
BIT BINARY
Mnemonic
Code
FIX
450
FIXL
451
FLT
452
FLTL
453
+F
454
–F
455
/F
457
456
RAD
458
DEG
459
SIN
460
COS
461
TAN
462
ASIN
463
ACOS
464
ATAN
465
SQRT
466
EXP
467
LOG
468
PWR
840
LD, AND, OR +=F
329
LD, AND, OR +<>F
330
LD, AND, OR +<F
331
LD, AND, OR +<=F
332
LD, AND, OR +>F
333
LD, AND, OR +>=F
334
448
FVAL
449
When a double-length operand is used, add 1 to the value shown in the length
column in the following table.
Mnemonic
Code
LD, AND, OR +=D
335
LD, AND, OR +<>D
336
LD, AND, OR +<D
337
LD, AND, OR +<=D
338
LD, AND, OR +>D
339
LD, AND, OR +>=D
340
FIXD
841
FIXLD
842
Length
ON execution
(steps)
time ( s)
(See
CP1H
CP1L
note.)
3
13.03
14.4
3
12.03
14.9
3
8.97
14.0
3
9.92
14.4
4
12.60
14.3
4
12.70
14.4
4
13.40
14.4
4
12.67
13.5
3
15.00
19.7
3
17.97
17.3
3
37.10
38.4
3
41.97
39.8
3
30.86
46.7
3
65.14
59.0
3
31.26
22.7
3
53.07
34.1
3
20.73
22.7
3
53.07
55.0
3
50.08
49.1
4
185.77 104.3
3
11.01
13.0
4
46.57
49.0
3
25.37
27.7
Length
ON execution
(steps)
time ( s)
(See note.)
CP1H
CP1L
3
16.04
17.0
3
15.63
18.4
3
14.90
18.8
Section 4-1
Conditions
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
---
Conditions
---
---
---
1077

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents