Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 108

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

Advertisement

Random number instructions
■Generating random number, changing random sequence
Instruction symbol
RND
RNDP
SRND
SRNDP
Index register instructions
■Saving/returning all data of the index register
Instruction symbol
ZPUSH
ZPUSHP
ZPOP
ZPOPP
■Saving/returning the selected data of the index register and long index register
Instruction symbol
ZPUSH
ZPUSHP
ZPOP
ZPOPP
Data control instructions
■Upper and lower limit control of 16-bit/32-bit binary data
Instruction symbol
LIMIT
LIMITP
LIMIT_U
LIMITP_U
DLIMIT
DLIMITP
DLIMIT_U
DLIMITP_U
■Dead band control of 16-bit/32-bit binary data
Instruction symbol
BAND
BANDP
BAND_U
BANDP_U
DBAND
DBANDP
DBAND_U
DBANDP_U
2 CPU MODULE INSTRUCTIONS
106
2.3 Application Instructions
Processing details
Generates a random number between 0 and less than 32767, and stores the random number in
the device specified by (d).
Changes the random number sequence according to the content of the 16-bit binary data stored in
the device specified by (s).
Processing details
Saves data of the index register to the area specified by (d).
Reads the data, which has been saved to the area specified by (d)and later, into the index register.
Processing details
Saves the contents of the index register and long index register specified by (s) to the area
specified by (d).
Reads the data, which has been saved to the area specified by (d), into the index register and long
index register.
Processing details
Controls the output value depending on whether the specified 16-bit binary bit value is within the
upper and lower limits.
Controls the output value depending on whether the specified 32-bit binary bit value is within the
upper and lower limits.
Processing details
Controls the output value depending on whether the specified 16-bit binary bit value is within the
upper and lower limits of the dead band.
Controls the output value depending on whether the specified 32-bit binary bit value is within the
upper and lower limits of the dead band.
Reference
Page 847 RND(P)
Page 848 SRND(P)
Reference
Page 849 ZPUSH(P)
Page 851 ZPOP(P)
Reference
Page 852 ZPUSH(P)
Page 855 ZPOP(P)
Reference
Page 857 LIMIT(P)(_U)
Page 859
DLIMIT(P)(_U)
Reference
Page 861
BAND(P)(_U)
Page 863
DBAND(P)(_U)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents