Mitsubishi Electronics QSERIES Smoker User Manual


  Open as PDF
of 1204
 
7-305
RND(P),SRND(P)
1
2
3
4
6
6
7
8
7.12 Special function instructions
7.12.27 Random number generation and series updates (RND(P),SRND(P))
Operation Error
(1) There are no operation errors associated with the RND(P) or SRND(P) instructions.
Program Example
(1) The following program stores random number at D100 when X10 is turned ON.
[Ladder Mode] [List Mode]
(2) The following program updates a random number series according to the contents of D0
when X10 is turned ON.
[Ladder Mode] [List Mode]
Step Instruction Device
Step Instruction Device