Random Number Generation And Series Updates (Rnd(P),Srnd(P)) - Mitsubishi MELSEC Q Series Programming Manual

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

Advertisement

7.12.27
Random number generation and series updates
(RND(P),SRND(P))
RND(P),SRND(P)
RND
RNDP
SRND
SRNDP
Setting
Data
D
S
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.
Command
Command
Command
Command
: Head number of the devices where random numbers will be stored (BIN 16 bits)
D
: Random number serial data or the first number of the devices where the random number serial data is stored
S
(BIN 16 bits)
Internal Devices
R, ZR
Bit
Word
.
S
Ver.
High
Basic
performance
J
\
U
\G
Bit
Word
RND(P),SRND(P)
Process
Redundant Universal
LCPU
RND
D
RNDP
D
SRND
S
SRNDP
S
Constants
Zn
Other
K, H
––
––
––
.
D
7-303
1
2
3
4
6
6
7
8

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents