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