M800V/M80V Series PLC Programming Manual (1/2)
6 Explanation of Instructions and Functions
6.1 Instruction List
Process
Instruction
Category
unit
sign
BSQR
16 bits
BSQRP
Square
root
BDSQR
32 bits
BDSQRP
BSIN
BSINP
BCOS
BCOSP
BTAN
BTANP
Trigono-
metric
16 bits
functions
BASIN
BASINP
BACOS
BACOSP
BATAN
BATANP
(*1) One step is added when S is a constant.
(*2) Three steps are added when S is a constant.
IB-1501667-B
Symbol
Process details
BSQR
S
D
√
(S) → (D) +0
+1
S
D
BSQRP
S
D
BDSQR
√
(S+1,S) → (D) +0
S
D
BDSQRP
BSIN
S
D
Sin(S) → (D)
S
D
BSINP
S
D
BCOS
Cos(S) → (D)
S
D
BCOSP
BTAN
S
D
Tan(S) → (D)
S
D
BTANP
S
D
-1
BASIN
Sin (S) → (D)
S
D
BASINP
-1
S
D
BACOS
Cos (S) → (D)
S
D
BACOSP
-1
S
D
BATAN
Tan (S) → (D)
S
D
BATANP
90
Execution
condition
Integer
Decimal
Integer
+1
Decimal
+0
Sign
+1
Integer
+2
Decimal
+0
Sign
+1
Integer
+2
Decimal
+0
Sign
+1
Integer
+2
Decimal
+0
Sign
+1
Integer
+2
Decimal
+0
Sign
+1
Integer
+2
Decimal
+0
Sign
+1
Integer
+2
Decimal
Counting step
number
Refer-
ST
ence
Execu-
Storage
tion
3
4
〇
3
4
〇
408
3
4
〇
3
4
〇
3
4
〇
411
3
4
〇
3
4
〇
413
3
4
〇
3
4
〇
415
3
4
〇
3
4
〇
417
3
4
〇
3
4
〇
419
3
4
〇
3
4
〇
421
3
4
〇