Random One Shot Block - Mitsubishi Electric a2 Series Programming Manual

Simple application controllers
Table of Contents

Advertisement

α
2 Simple Application Controllers
6.31

Random One Shot Block

This Function Block is equivalent to the One Shot function block except that the new block has
only randomly generated pulse time. An Upper and Lower Time Limit value can be set in
increments of 10 ms (0.00 to 327.67 seconds), 100 ms (00.0 - 3267.7 seconds), and 1 second
(0 - 32767 seconds) for the random number generation. If the Input signal turns Off during the
pulse interval, the Output is Reset along with the pulse time.
Table 6.45: Random One Shot function block
Function
0 0
0
I
P
O
C
R
O
S
Note: The set time cannot be less than one scan time for the controller; otherwise, the
Random One Shot Function Block will not perform its assigned task for the time
specified. Users can
is dependent on the user-
units are selected.
Setup of the Random One Shot Function Block directly from the
1 ) Allocate the input pin to be used for the function block.
2 ) Press the "OK" key with the cursor in the function block.
The function block edit screen is displayed as shown.
Set Item
I
Input pin for the random one shot function block
C
Clear pin for the random one shot function block
1) A random one shot time is generated between the upper and lower
threshold values.
2) The random value only occurs in correlation to the ON status of the
input.
3) The clear signal input reset the output, random one shot value and
current time.
4) If the Upper threshold is equal to or larger than the lower threshold,
FB
the random one shot time is set in the range lower threshold to upper
threshold.
5) If the Upper threshold is less then than the lower threshold, the
random one shot time is set in the range 0 to upper threshold or lower
threshold to 32767.
6) If the lower threshold = Upper threshold, the random one shot is
equal to the upper threshold = lower threshold.
7) Time units: 10ms, 100ms or 1s (*Note)
1) The following items are available for other function blocks:
Output
a) Random One Shot value
b) Current One Shot value
monitor the scan time from the
program; therefore, caution is needed as and when time
Description
α
2 Series Controller. Scan time
α
2 Series Controller
B 0 0 1 : R
T i me u n i
S e t u p F B
C h a n g e N o
D e l e t e F B
Function Blocks 6
O
S
t
6 - 87

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Al2-mr-a seriesAl2-mr-d series

Table of Contents