EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Changing Random Sequence

Mitsubishi Electric MELSEC iQ-R Series
2110 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
848
7 APPLICATION INSTRUCTIONS
7.10 Random Number Instructions
Changing random sequence
SRND(P)
These instructions change the random number sequence according to the content of the 16-bit binary data stored in the
specified device.
Execution condition
Setting data
Description, range, data type
Applicable devices
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.
Ladder ST
ENO:=SRND(EN,s);
ENO:=SRNDP(EN,s);
FBD/LD
Instruction Execution condition
SRND
SRNDP
Operand Description Range Data type Data type (label)
(s) Random number sequence data -32768 to 32767 16-bit signed binary ANY16
EN Execution condition Bit BOOL
ENO Execution result Bit BOOL
Operand Bit Word Double word Indirect
specification
Constant Others
X, Y, M, L,
SM, F, B, SB,
FX, FY
J\ T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
U\G, J\,
U3E\(H)G
Z LT, LST,
LC
LZ K, H E $
(s)  
RnCPU
RnENCPU
RnSFCPU RnSFCPURnPCPURnPCPU
(Standard) (Safety)
(Redundant)
(Process)
(s)
EN ENO
s

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals