Mitsubishi MELSEC Q Series Programming Manual page 76

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

Category
Random
RND
number
RNDP
generation
Random
SRND
number
SRNDP
series update
BSQR
BSQRP
Square root
BDSQR
BDSQRP
BSIN
BSINP
BCOS
BCOSP
BTAN
BTANP
Trigonometric
functions
BASIN
BASINP
BACOS
BACOSP
BATAN
BATANP
2-48
Table 2.29 Special Function Instructions (Continued)
Symbol
• Generates a random number (from 0 to
RND
D
less than 32767) and stores it at the
RNDP
D
device designated by (D).
• Updates random number series
SRND
D
according to the 16-bit BIN data stored
in the device designated by (S).
SRNDP
D
BSQR
S D
(S)
BSQRP
S D
BDSQR
S D
(S+1, S)
BDSQRP S D
BSIN
S D
Sin(S)
BSINP
S D
BCOS
S D
Cos(S)
BCOSP
S D
BTAN
S D
Tan(S)
BTANP
S D
BASIN
S D
Sin
BASINP
S D
BACOS
S D
Cos
BACOSP S D
Tan
BATAN
S D
BATANP
S D
Processing Details
(D)+0
Integer part
+1
Decimal fraction part
(D)+0
Integer part
+1
Decimal fraction part
(D)+0
Sign
+1 Integer part
+2
Decimal fraction part
(D)+0
Sign
+1
Integer part
+2
Decimal fraction part
(D)+0
Sign
+1
Integer part
+2
Decimal fraction part
-1
(S)
(D)+0
Sign
+1
Integer part
+2
Decimal fraction part
-1
(S)
(D) +0
Sign
+1
Integer part
+2
Decimal fraction part
-1
(S)
(D) +0
Sign
+1
Integer part
+2
Decimal fraction part
Execution
Condition
2
-
7-303
3
-
7-305
3
-
3
-
7-308
3
-
7-310
3
-
7-312
3
-
7-314
3
-
7-316
3
-
7-318

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents