69
2
3
4
5
6
7
8
2.5 Application Instructions
2.5.12 Special function instructions
Category
Instruction Symbol
Symbol Processing Details
Execution
Condition
Number of Basic Steps
Subset
See for Description
Random
number
generation
RND
• Generates a random number (from 0 to less
than 32767) and stores it at the device
designated by (D).
2-
Page
539
RNDP
Random
number
series
update
SRND • Updates random number series according to
the 16-bit BIN data stored in the device
designated by (S).
SRNDP
Square root
BSQR
3-
Page
540
BSQRP
BDSQR
3-
BDSQRP
Trigonometric
functions
BSIN
3-
Page
542
BSINP
BCOS
3-
Page
544
BCOSP
BTAN
3-
Page
546
BTANP
BASIN
3-
Page
547
BASINP
BACOS
3-
Page
549
BACOSP
BATAN
3-
Page
551
BATANP
RND D
RNDP D
SRND D
SRNDP D
BSQR SD
(D)+0
(S)
+1
Integer part
Decimal fraction part
BSQRP SD
BDSQR SD
(D)+0
(S+1, S)
+1
Integer part
Decimal fraction part
BDSQRP SD
BSIN SD
Sin(S)
(D)+0
+1
Integer part
Decimal fraction part
+2
Sign
BSINP SD
BCOS SD
Cos(S)
(D)+0
+1
Sign
Decimal fraction part
+2
Integer part
BCOSP SD
BTAN SD
Tan(S)
(D)+0
+1
Sign
Decimal fraction part
+2
Integer part
BTANP SD
BASIN SD
Sin
-1
(S)
(D)+0
+1
Sign
Decimal fraction part
+2
Integer part
BASINP SD
BACOS SD
Cos
-1
(S)
(D)
+0
+1
Sign
Decimal fraction part
+2
Integer part
BACOSP SD
BATAN SD
Tan
-1
(S)
(D)
+0
+1
Sign
Decimal fraction part
+2
Integer part
BATANP SD