Changing Random Sequence - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Changing random sequence

SRND(P)
RnPCPU
RnCPU RnENCPU
(Process)
These instructions change the random number sequence according to the content of the 16-bit binary data stored in the
specified device.
Ladder
(s)
FBD/LD
EN
ENO
s
■Execution condition
Instruction
SRND
SRNDP
Setting data
■Description, range, data type
Operand
Description
(s)
Random number sequence data
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L,
SM, F, B, SB,
FX, FY
(s)
Processing details
These instructions change the random number sequence according to the content of the 16-bit binary data stored in the
device specified by (s). The SRND(P) instruction can change the random number calculation pattern.
Operation error
There is no operation error.
7 APPLICATION INSTRUCTIONS
848
7.10 Random Number Instructions
RnPCPU
RnSFCPU RnSFCPU
(Redundant)
(Standard)
(Safety)
Execution condition
Word
J\
T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
ST
ENO:=SRND(EN,s);
ENO:=SRNDP(EN,s);
Range
-32768 to 32767
Double word Indirect
U\G, J\,
Z
LT, LST,
U3E\(H)G
LC
Data type
Data type (label)
16-bit signed binary
ANY16
Bit
BOOL
Bit
BOOL
Constant
specification
LZ
K, H E
Others
$

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents