7-304
RND(P),SRND(P)
7.12.27 Random number generation and series updates
(RND(P),SRND(P))
RND(P),SRND(P)
Function
The random number generation instruction generates random numbers conforming to a certain
calculation formula. In the calculation using the formula, the result of previous calculation is used
as a coefficient.
The random series change instruction can change the random number generation pattern.
RND
Generates random number of from 0 to 32767, and stores at device designated by .
SRND
Updates random number series according to the 16-bit BIN data being stored in device
designated by .
Basic model QCPU: The upper five digits of the serial No. are "04122" or larger.
: Head number of the devices where random numbers will be stored (BIN 16 bits)
: Random number serial data or the first number of the devices where the random number serial data is stored
(BIN 16 bits)
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
K, H
Other
Bit Word Bit Word
–– ––
––
Process
High
performance
Redundant
Universal
Ver.
Basic
Command
Command
Command
Command
SRNDP
SRND
RNDP
RND
SRNDP
SRND
RNDP
RND
S
D
D
S
D
S
D
S
D
S