Reflex function blocks. Schneider Electric Software PLC Application-Specific Functions, Junior/Pro, 4.5
विज्ञापन
विज्ञापन
Installation of the discrete reflex module
9.2
Reflex function blocks
Presentation
Subject of this section
What's in this
Section?
This section presents the different reflex functions available.
This section contains the following topics:
Topic
Function block: Direct
Reflex function block: Combinational
Reflex function block: Operation timer
Reflex function block: Idle timer
Reflex function block: Operation-idle timer
Reflex function block: 2 value operation timer
Reflex function block: Operation-idle time with value selection
Reflex function block: Retriggerable monostable
Reflex function block: Monostable with time delay
Reflex function block: 2 value monostable
Reflex function block: Oscillator
Reflex function block: D flip-flop
Reflex function block: T flip-flop
Reflex Function Block: 2 Threshold Counter
Reflex function block: Came électronique simple
Reflex function block: 1 threshold intervalometer
Reflex function block: Burst
Reflex function block: PWM (Pulse Width Modulation)
Reflex function block: Detection of underspeed
Reflex function block: Speed monitoring
Reflex function block: Type 1 command-check
Reflex function block: Type 2 command-check
Reflex function block: Command-counting
Reflex function block: Fault Signaling
Page
35012326 00 July 2006
155
Installation of the discrete reflex module
Function block: Direct
Role
Structure
This block is proposed by default and does not apply any reflex function to the module output. The output is then controlled from the application as for a standard discrete output module.
The table below shows the block's different interfaces.
Name x x Aux
Meaning
Block's physical output.
Block's internal auxiliary output.
Operation
Illustration
Physical output x is directly controlled by its command bit %Qxy.i updated by the
PLC processor.
Outputs x and x Aux have identical values.
The diagram below illustrates the Direct .
TSX DM 28 RFK Module
Inputs Outputs
PLC task
Acquisition of the inputs
Application processing
Update of the outputs
156 35012326 00 July 2006
Installation of the discrete reflex module
Reflex function block: Combinational
Role
Structure
This function enables a logic function to be performed between the inputs and one or more of the module's outputs.
The table below shows the block's different interfaces.
Name x x Aux
Meaning
Block's physical output.
Block's internal auxiliary output.
Operation The logic function entered is directly applied to the x output.
Outputs x and x Aux have identical values.
Note: A logic function can be made up of several combinational functions by using the %Ixy.i bits associated with the output channels as intermediate variables.
Illustration 1 The illustration below shows an example of a simple combinational function
%I2.1.0
I
%I2.0.0
%I2.16.0 I
%I2.4.0
Combinational Output 16
Output 16 Aux
35012326 00 July 2006
157
Installation of the discrete reflex module
Illustration 2 The illustration below shows an example of a combinational function using the auxiliary output of the first combinational as an intermediate variable.
%I2.1.0
I
%I2.0.0
%I2.16.0 I
%I2.4.0
Combinational Output 16
Output 16 Aux
%I2.16.1
I
%I2.10.0
%I2.8.0 I
Combinational Output 17
Output 17 Aux
158 35012326 00 July 2006
Installation of the discrete reflex module
Reflex function block: Operation timer
Role
Structure
This function is used to apply an on-delay to an action.
The table below shows the block's different interfaces.
Name
E x x Aux
Meaning
Timer input.
Timer's physical output.
Block's internal auxiliary output.
Illustration
E TIMER in operation t i
Output x
Output x Aux
Operation
Illustration
This table describes the different operating phases of the operation timer.
Phase
1
Description
On the rising edge of the E input, time-out ti is launched (time base of 0.1ms).
2 When the time-out is over, the x output changes to 1.
If the high status of input E lasts less time than ti , output x stays at 0.
Note: The values of outputs x and x Aux are identical.
The illustration below shows the trend diagram of the operation timer function block.
E ti x x Aux
35012326 00 July 2006
159
Installation of the discrete reflex module
Reflex function block: Idle timer
Role
Structure
This function is used to apply an off-delay to an action.
The table below shows the block's different interfaces.
Name
E x x Aux
Meaning
Timer input.
Timer's physical output.
Block's internal auxiliary output.
Illustration
E TIMER idle t i
Operation
Illustration
Output x
Output x Aux
This table describes the different operating phases of the idle timer.
Phase
1
Description
The x output changes to 1 when the E input changes to 1.
2
3
On the falling edge of the E input, time-out ti is launched (time base of 0.1ms).
When the time-out is over, the x output changes to 0.
If the low status of input E lasts less time than ti , output x stays at 1.
Note: The values of outputs x and x Aux are identical.
The illustration below shows the trend diagram of the idle timer function block.
E ti x x Aux
160 35012326 00 July 2006
Installation of the discrete reflex module
Reflex function block: Operation-idle timer
Role
Structure
This function is used to apply an on-off-delay to an action.
The table below shows the block's different interfaces.
Name
E x x Aux
Meaning
Timer input.
Timer's physical output.
Block's internal auxiliary output.
Illustration
E TIMER in operation/idle t r i t f i
Output x
Output x Aux
Operation This table describes the different operating phases of the operation-idle timer.
Phase
1
2
Description
On the rising edge of the E input (on-delay) , time-out tri is launched (time base of 0.1ms).
When time-out tri is over, the x output changes to 1.
If the high status of input E lasts less time than tri , output x stays at 0.
3
4
On the falling edge of the E input (off-delay) , time-out tfi is launched (time base of 0.1ms).
When time-out tfi is over, the x output changes to 0.
During time-out tfi , if the low status of input E lasts less time than tfi , output x stays at 1.
Note: The x Aux output is at 1 as long as input E or output x is at 1.
35012326 00 July 2006
161
Installation of the discrete reflex module
Illustration The illustration below shows the trend diagram of the operation-idle timer function block.
E tri tfi x x Aux
162 35012326 00 July 2006
Installation of the discrete reflex module
Reflex function block: 2 value operation timer
Role
Structure
This function is used to apply a t1i or t2i on-delay to an action.
The table below shows the block's different interfaces.
Name
E
Sel
Direct x x Aux
Illustration
Meaning
Timer input.
Selection of time-out t1i or t2i .
z Sel = 0 : time-out t1i, z Sel = 1 : time-out t2i,
Selection of block (for string operation).
z Direct = 0: block selected z Direct = 1: block not selected (output x takes the value of E ).
Timer's physical output.
Block's internal auxiliary output.
E 2-valuesTIMER operatio Output x
Sel
Direct t 1 i t 2 i Output x Aux
Operation This table describes the different operating phases of the 2 value operation timer.
Phase
1
2
Description
On the rising edge of the E input, a time-out corresponding to the status of input
Sel is launched.
When the time-out is over, the x and x Aux outputs change to 1.
If the high status of input E lasts less time than the selected time-out, output x stays at 0.
35012326 00 July 2006
163
Installation of the discrete reflex module
Illustration The illustration below shows the trend diagram of the 2 value operation timer function block.
E
Sel x x Aux t1i t2i
String operation It is possible to increase the number of time-outs which can be selected by stringing together several blocks, with the x output of one forming the E input of the next.
Phase
1
Description
On the rising edge of the E input of the first block a time-out is launched, corresponding to: z z the block whose Direct input is at 0, the status of the Sel input.
Note: Two blocks must not simultaneously have their Direct inputs set to 0.
2 When the time-out is over, the x and x Aux outputs change to 1.
If the high status of the E input of the first block lasts less time than the selected time-out, output x stays at 0.
The x output changes to 0 on the falling edge of the E input .
3
Note: z x and x Aux have identical values.
z z the x Aux outputs can be used for tracking, when stringing together several blocks, it is essential to change the statuses of Sel and Direct only when the 0 status of input E is at 0.
164 35012326 00 July 2006
Illustration
Installation of the discrete reflex module
The table below shows the tracking of two timers.
E 2-values TIMER operatio Output x E 2-values TIMER operatio Output x1
Sel
Direct t 1 i t 2 i Output x Aux
Sel
Direct t 1 i t 2 i Output x Aux1
35012326 00 July 2006
165
Installation of the discrete reflex module
Reflex function block: Operation-idle time with value selection
Role
Structure
This function is used to apply a t1i or t2i on-delay or off-delay to an action.
The assignment of a t1i time-out on-delay to an action causes the t2i off-delay for this same action.
Similarly, the assignment of a t2i time-out on-delay causes a t1i off-delay to be assigned.
The table below shows the block's different interfaces.
Name
E
Sel
Direct
Meaning
Timer input.
Selection of time-out t1i or t2i .
z z
Sel = 0 : t1i on-delay, t2i off-delay.
Sel = 1 : t2i on-delay, t1i off-delay.
Selection of block (for string operation).
z z
Direct = 0: block selected
Direct = 1: block not selected (output x takes the value of E ).
Timer's physical output.
x x Aux
Illustration
Block's internal auxiliary output.
E TIMER in operation/idle Output x
Sel
Direct t i 1 t 2 i
Output x Aux
166 35012326 00 July 2006
Operation
Illustration
Installation of the discrete reflex module
This table describes the different operating phases of the operation-idle timer with value selection.
Phase
1
2
3
4
Description
On the rising edge of input E : z the time-out corresponding to the status of input Sel is launched, z output x Aux changes to 1.
When the selected time-out is over z output x changes to 1, z output x Aux changes to 0.
If the high status of input E lasts less time than the selected time-out, output x stays at 0.
On the falling edge of input E : z the time-out corresponding to the status of input Sel is launched, z output x Aux changes to 1.
When the selected time-out is over z output x changes to 1, z output x Aux changes to 0.
If the low status of input E lasts less time than the selected time-out, output x stays at 0.
The illustration below shows the trend diagram of the operation-idle timer with value selection function block.
E
Sel x x Aux t1i t2i t2i t1i
35012326 00 July 2006
167
Installation of the discrete reflex module
String operation It is possible to increase the number of time-outs which can be selected by stringing together several blocks, with the x output of one forming the E input of the next.
Phase
1
2
3
4
Description
On the rising edge of input E of the first block: z the time-out is launched, corresponding to: z the block whose Direct input is at 0, z z the status of the Sel input.
output x Aux changes to 1.
Note: Two blocks must not simultaneously have their Direct inputs set to 0.
When the selected time-out is over z output x of the relevant block changes to 1.
z output x Aux of the relevant block changes to 0.
If the high status of the E input of the first block lasts less time than the selected time-out, output x stays at 0.
On the falling edge of input E of the first block: z the time-out is launched, corresponding to: z z the block whose Direct input is at 0, the status of the Sel input.
z output x Aux changes to 1.
Note: Two blocks must not simultaneously have their Direct inputs set to 0.
When the selected time-out is over: z z output x of the relevant block changes to 1.
output x Aux of the relevant block changes to 0.
If the low status of the E input of the first block lasts less time than the selected time-out, output x stays at 0.
5 The x output changes to 0 on the falling edge of the E input.
Note:When stringing together several blocks It is essential to change the statuses of the Sel and Direct inputs only when the status of input E of the first block is set to 0..
Illustration The table below shows the tracking of the two timers.
E TIMER in operation/idle Output x E TIMER in operation/idle
Sel
Direct t i 1 t 2 i
Output x Aux
Sel
Direct t i 1 t 2 i
Output x1
Output x Aux1
168 35012326 00 July 2006
Installation of the discrete reflex module
Reflex function block: Retriggerable monostable
Role
Structure
This function launches an action of duration ti , with the possibility of extending it for an identical duration.
The table below shows the block's different interfaces.
Name
E x x Aux
Meaning
Monostable input.
Monostable's physical output.
Block's internal auxiliary output.
Illustration
E Retriggerable MONO t i
Output x
Output x Aux
Operation
Illustration
This table describes the different operating phases of the retriggerable monostable.
Phase
1
2
Description
On the rising edge of input E (on-delay): z time-out ti is launched (time-base of 0.1ms), z outputs x and x Aux change to 1.
When time-out ti is over, outputs x and x Aux change to 0.
If a new rising edge for input E occurs before time-out ti has elapsed, outputs x and x Aux remain at 1 for a further time-out ti .
The illustration below shows the trend diagram of the retriggerable monostable function block.
E x ti ti ti x Aux
35012326 00 July 2006
169
Installation of the discrete reflex module
Reflex function block: Monostable with time delay
Role
Structure
This function enables an action of a duration t2i to be launched with a t1i delay, with the possibility of extending it for an identical duration.
The table below shows the block's different interfaces.
Name
E x x Aux
Meaning
Monostable input.
Monostable's physical output.
Block's internal auxiliary output.
Illustration
E Time-delayed MONO t 1 i t 2 i
Output x
Output x Aux
Operation This table describes the different operating phases of the monostable with time delay.
Phase
1
2
3
Description
On the rising edge of input E : z z time-out t1i is launched (time-base of 0.1ms), output x Aux changes to 1.
When time out t1i is over: z z time-out t2i is launched (time base of 0.1ms), output x changes to 1 for duration t2i .
If the high status of input E lasts less time than time-out t1i , output x stays at 0.
When time-out t2i is over, outputs x and x Aux change to 0.
If a new rising edge for input E occurs before time-out t2i has elapsed: z z output x remains at 1 for duration t2i of the cycle in progress.
a new cycle begins (see phase).
170 35012326 00 July 2006
Illustration
Installation of the discrete reflex module
The illustration below shows the trend diagram of the monostable with time delay function block.
E x t1i t2i t1i t2i x Aux
35012326 00 July 2006
171
Installation of the discrete reflex module
Reflex function block: 2 value monostable
Role
Structure
This function enables an action of duration t1i or t2i to be applied to the triggering of an action.
The table below shows the block's different interfaces.
Name
E
Sel
Direct
Meaning
Monostable input.
Selection of time-out t1i or t2i .
z z
Sel = 0 : t1i on-delay,
Sel = 1 : t2i on-delay,
Selection of block (for string operation).
z z
Direct = 0: block selected
Direct = 1: block not selected (output x takes the value of E ).
x x Aux
Illustration
Monostable's physical output.
Block's internal auxiliary output.
E 2-values MONO Output x
Set
Direct t 1 i t 2 i Output x Aux
Operation This table describes the different operating phases of the 2 value monostable.
Phase
1
2
Description
On the rising edge of input E : z z a time-out corresponding to the status of input Sel is launched (time base of
0.1ms), outputs x and x Aux change to 1.
When the time-out is over, the x and x Aux outputs change to 0.
172 35012326 00 July 2006
Illustration
Installation of the discrete reflex module
The illustration below shows the trend diagram of the monostable with time delay function block.
E
Sel t2i t1i x x Aux
String operation It is possible to increase the number of time-outs which can be selected by stringing together several blocks, with the x output of one forming the E input of the next.
Phase
1
Description
On the rising edge of input E of the first block: z the time-out is launched, corresponding to: z the block whose Direct input is at 0, z z the status of the Sel input.
outputs x and x Aux change to 1.
Note: Two blocks must not simultaneously have their Direct inputs set to 0.
2 When the time-out is over, the x and x Aux outputs change to 0.
Note:When stringing together several blocks It is essential to change the statuses of the Sel and Direct inputs only when the status of input E is set to 0.
Illustration The table below shows the tracking of the two monostables.
E 2-values MONO Output x E 2-values MONO Output x 1
Set
Direct t 1 i t 2 i Output x Aux
Set
Direct t 1 i t 2 i Output x Aux
35012326 00 July 2006
173
Installation of the discrete reflex module
Reflex function block: Oscillator
Role
Structure
This function enables a time base to be created, with the option of defining the signal parameters (status 0 or 1).
The table below shows the block's different interfaces.
Name
E x x Aux
Meaning
Oscillator input.
Oscillator's physical output.
Block's internal auxiliary output.
Illustration
E OSCILLATOR t 1 i t 2 i
Output x
Output x Aux
Operation
Illustration
This table describes the different operating phases of the oscillator.
Phase
1
2
Description
On the rising edge of input E : z output x oscillates for period t1i +t2i where: z z z t1i = length of high status of oscillation (time base of 0.1ms), t2i = length of low status of oscillation (time base of 0.1ms), output x Aux changes to 1.
On the falling edge of input E : z output x changes to 0 as soon as t1i for the current period is over, z the x output changes to 0 when the current period is over.
The illustration below shows the trend diagram of the oscillator function block.
E x t1i t2i t1i t2i x Aux
174 35012326 00 July 2006
Installation of the discrete reflex module
Reflex function block: D flip-flop
Role
Structure
This function is used to carry out sequential logic functions, such as memorization of an edge, etc.
The table below shows the block's different interfaces.
Name
D
CLK
SET
RESET
Meaning
Flip-flop input.
Enable input.
Output x set to 1.
Output x set to 0. This input takes priority over x x Aux
I llustration
Flip-flop's physical output.
Block's internal auxiliary output.
SET input.
Output x E
Clk
Set
Reset
D flip-flop
Output x Aux
Operation This table describes the different operating phases of the D flip-flop.
Phase
1
Description
On the rising edge of input CLK : z z output x takes the status of input D , output x Aux takes the opposite status to input D .
35012326 00 July 2006
175
Installation of the discrete reflex module
Illustration The illustration below shows the trend diagram of the D flip-flop function block.
D
CLK
RESET
SET x x Aux
176 35012326 00 July 2006
Installation of the discrete reflex module
Reflex function block: T flip-flop
Role
Structure
This function allows a 2-way split to be performed.
The table below shows the block's different interfaces.
Name
E
CLK
SET
Meaning
Flip-flop input.
Enable input.
Outputs x / x Aux set respectively to 1 / 0.
RESET Outputs x / x Aux set respectively to 0 / 1. This input takes priority over SET input.
x x Aux
Illustration
Flip-flop's physical output.
Block's internal auxiliary output.
Output x E
Clk
Set
Reset
T flip-flop
Output x Aux
Operation This table describes the different operating phases of the T flip-flop.
Phase
1
Description
On the rising edge of input CLK : z if input E is at 1: z z z output x takes the opposite status to its current status, output x Aux takes the opposite value to x , if input E is at 0, outputs x and x Aux remain at that status.
35012326 00 July 2006
177
Installation of the discrete reflex module
Illustration The illustration below shows the trend diagram of the T flip-flop function block.
E
CLK
RESET
SET x x Aux
178 35012326 00 July 2006
Installation of the discrete reflex module
Reflex Function Block: 2 Threshold Counter
Role
Structure
This counting function is used to detect when a th1 or th2 threshold is crossed.
The following table shows the different interfaces of the block.
Name
E
Up
RESET
Meaning
Enable input.
z z
E = 0: Input Up frozen,
E = 1: Input Up enabled.
Counter input.
Note: Maximum performance of the counter is 500 Hz with a 50% duty cycle
(with the Up input directly controlled by the physical input (without filtering)).
Counter initialization input.
A Reset is required to acknowledge a change in the value of the threshold to be reached.
Sel Selection of the counting threshold: z Sel = 0: Threshold th1 selected, z Sel = 1: Threshold th2 selected.
Note: The maximum value of a threshold corresponds to the maximum number of pulses (65536 pulses).
Counter physical output.
x x Aux
Illustration
Block internal auxiliary output.
x output E
Up
Reset
Set
2 threshold COUNTER t h 1 t h 2 x Aux output
35012326 00 July 2006
179
Installation of the discrete reflex module
Operation This table describes the different operating phases of the 2 threshold counter:
Phase
1
2
3
Description
On the rising edge of the RESET input: z z z counter initialization to 0, the x and x Aux inputs switch to 0, counter on the rising edge of the Up input is incremented.
On the rising edge of the Up input, the counter is incremented (value not accessible).
When the selected threshold is reached, the x and x Aux inputs switch to 1.
Illustration The illustration below shows the timing chart for the 2 threshold Counter function block.
RESET
Sel
E
Up th2 th1 x x Aux
180 35012326 00 July 2006
Installation of the discrete reflex module
Reflex function block: Came électronique simple
Role
Structure
This function is used to detect when the two thresholds th1 and th2 have been crossed.
The table below shows the block's different interfaces.
Name
E
Meaning
Enable input.
z E = 0: Up input frozen, z E = 1: Up input valid.
Up Counting input.
Note: the maximum performance of the counter is 2 Khz (with the Up input directly controlled by the physical input (without filtering)).
RESET 0 Output x forced to 0.
RESET 1 Counter initialization input.
Note: If the counter is not reset to 0, when it reaches the maximum value (65536 points), it will change to 0,1,2 etc. Therefore it is advisable to inhibit counting
( E =0) by using the x Aux output in series with output E .
x x Aux
Illustration
Cam's physical output.
Block's internal auxiliary output.
E
UP
Reset0
Reset1
Single electronic CAM t i t h
Output x
Output x Aux
35012326 00 July 2006
181
Installation of the discrete reflex module
Operation This table describes the different operating phases of the simple cam.
Phase
1
2
3
4
Description
On the rising edge of input RESET 1 : z z counter initialized to 0 input x Aux changes to 1,
On the high status of input RESET 0 : z input x is forced to 0.
On the rising edge of input Up , the counter is increased.
When threshold th1 is reached, output x changes to 1.
When threshold th2 is reached, outputs x and x Aux change to 0.
Illustration The illustration below shows the trend diagram of the simple cam function block. th2 th1
Up
RESET 0
RESET 1
E x x Aux
182 35012326 00 July 2006
Installation of the discrete reflex module
Reflex function block: 1 threshold intervalometer
Role
Structure
This function is used to trigger an action after an interval th with a maximum precision of 0.1ms
The table below shows the block's different interfaces.
Name
E
Meaning
Intervalometer initialization input.
RESET 1 Outputs x and x Aux are set to 0.
ti Time-base (0.1ms to 6.5535 s).
x Intervalometer's physical output.
x Aux
Illustration
Block's internal auxiliary output.
E INTERVALOMETER, 1 Output x
Reset1 t i t h
Output x Aux
Operation This table describes the different operating phases of the intervalometer.
Phase
1
2
3
4
Description
On the rising edge of input E : z z counter initialized to 0 input x changes to 0.
Counter increases at the rate of time-base ti .
When threshold th is reached, output x changes to 1.
On the falling edge of input E with output x at 1, output x Aux changes to 1.
35012326 00 July 2006
183
Installation of the discrete reflex module
Illustration The illustration below shows the trend diagram of the intervalometer function block.
E
RESET 1
Timebase th x x Aux
184 35012326 00 July 2006
Installation of the discrete reflex module
Reflex function block: Burst
Role
Structure
This function is used to generate a pulse stream of a time length 2 x ti .
The table below shows the block's different interfaces.
Name
E x x Aux
Meaning
Block's input.
Block's physical output.
Block's internal auxiliary output.
Illustration
E BURST t i n i
Output x
Output x Aux
Operation
Illustration
This table describes the different operating phases of the Burst function block.
Phase
1
2
Description
On the rising edge of input E : z z oscillation of output x for ni periods of time, input x Aux changes to 1,
When number of periods ni is reached, output x Aux changes to 0.
If output E changes to 0 before time periods ni have elapsed: z the oscillation stops at the low status of output x , z input x Aux changes to 0,
The illustration below shows the trend diagram of the burst function block.
E x ti x Aux ti
35012326 00 July 2006
185
Installation of the discrete reflex module
Reflex function block: PWM (Pulse Width Modulation)
Role
Structure
This function is used to generate a fixed period periodic signal t1i with a variable duty cycle t2i/t1i .
The table below shows the block's different interfaces.
Name
E x x Aux
Meaning
Block's input.
Block's physical output.
Block's internal auxiliary output (control output).
Illustration
E PWM generation t 1 i t 2 i
Output x
Output x Aux
Operation
Illustration
This table describes the different operating phases of the PWM function block.
Phase
1
2
Description
On the rising edge of input E : z oscillation of output x , z control input x Aux changes to 1.
On the low status of input E: z the oscillation of output x stops at its low status, z control input x Aux changes to 0.
Note: if t2i (high status of period t1i ) is higher than or equal to t1i , output x continually keeps the high status.
The illustration below shows the trend diagram of the PMW function block.
E x t2i t1i x Aux
186 35012326 00 July 2006
Installation of the discrete reflex module
Reflex function block: Detection of underspeed
Role
Structure
This function is used to halt an action, after a start phase t1i (masking), if the time elapsing between two consecutive pulses is higher than t2i .
The table below shows the block's different interfaces.
Name
E
FB x x Aux
Meaning
Enable function input.
Control input.
Block's physical output.
Block's internal auxiliary output.
Illustration
E
FB slow speed detection 1 t 1 i t 2 i
Output x
Output x Aux
Operation This table describes the different operating phases of the speed detection.
Phase
1
2
Description
On the rising edge of input E : z z time-out t1i (masking time) is launched, input x changes to 1.
When time-out t1 has elapsed, and then on each edge of input à FB , time-out t2i is launched.
If the rising edges of input FB are spaced out at interval t2i : z z output x changes to 0, output x Aux changes to 1 (signaling end of movement).
If input E changes to 0, outputs x and x Aux change to 0.
35012326 00 July 2006
187
Installation of the discrete reflex module
Illustration The illustration below shows the trend diagram of the speed detection function block.
E t1i
FB t<t2i t<t2i t<t2i t2i x x Aux
188 35012326 00 July 2006
Installation of the discrete reflex module
Reflex function block: Speed monitoring
Role
Structure
This function is used to control or halt an action according to two thresholds t1i and t2i .
The table below shows the block's different interfaces.
Name
E
FB x x Aux
Meaning
Enable function input.
Control input.
Block's physical output.
Speed control output.
Illustration
E
FB slow speed detection 2 t 1 i t 2 i
Output x
Output x Aux
Application example
Activation of a conveyor belt upstream (controlled by the x Aux input) depending on the speed of a conveyor belt downstream: z conveyor belt operational when the speed of the downstream belt is greater than the high threshold 1/t1i , conveyor belt stops when the speed of the downstream belt is less than the low z threshold 1/t2i ,
This involves analyzing the time elapsed between 2 consecutive pulses on control input FB .
The following graph illustrates the application example given above.
Speed of the downstream belt
Speed 1/t1i
Speed 1/t2i x Aux
35012326 00 July 2006
189
Installation of the discrete reflex module
Operation This table describes the different operating phases of the speed monitoring function.
Phase
1
2
Description
On the rising edge of input E : z time-out t1i is launched, z input x changes to 1.
As long as the interval between 2 rising edges of input FB remains greater than t1i : z time-out t1i is relaunched on the rising edge of input FB .
If the interval between 2 rising edges of input FB falls below t1i : z z output x Aux changes to 1, time-out t2i is launched,
If input E changes to 0, outputs x and x Aux change to 0.
x Aux
1
3
1/t1i Speed
As long as the interval between 2 rising edges of input FB is less than t2i : z time-out t2i is relaunched on the rising edge of input FB .
If the interval between 2 rising edges of input FB becomes greater than t2i : z output x Aux changes to 0, z time-out t1i is launched (see phase),
If input E changes to 0, outputs x and x Aux change to 0.
x Aux
1
190
1/t2i 1/t1i
Note: The operation defined above implies that t2i >t1i.
Speed
35012326 00 July 2006
Illustration
Installation of the discrete reflex module
The illustration below shows the trend diagram of the speed monitoring function block.
E x
FB t>t1i t<t1i t<t2i t>t2i t=t2i t<t1i t<t1i x Aux
35012326 00 July 2006
191
Installation of the discrete reflex module
Reflex function block: Type 1 command-check
Role
Structure
This function is used to command an action and to check whether it has been carried out after time period ti
The table below shows the block's different interfaces.
Name
Cde
Ctrl
Acq x x Aux
Meaning
Command input.
Control input.
Acknowledgement of fault.
Block's physical output.
Block's internal auxiliary output.
Illustration
Cmd Command / Control type 1
Ack
Ctrl t i
Output x
Output x Aux
Operation This table describes the different operating phases of the type 1 command-check function.
Phase
1
2
3
Description
On the rising edge of input Cde : z z time-out ti is launched, input x changes to 1.
When time-out ti is over: z if the Ctrl signal changes to status 1 during the time-out interval, the x Aux output stays at 0 (normal situation), z z if the Ctrl signal is not received, the x Aux output changes to 1 (type A error signal).
if the Ctrl signal falls back while the Cde input is at 1, the x Aux output changes to 1 (type B error signal).
A rising edge on the Acq input with the Ctrl input at 1 causes the x Aux to be set to 0.
On the falling edge of the Cde input, the x and x Aux outputs change to 0.
192 35012326 00 July 2006
Illustration
Installation of the discrete reflex module
The illustration below shows the trend diagram of the type 1 command-check function block.
Cde x t<ti t<ti ti t>ti
Ctrl
Acq x Aux
35012326 00 July 2006
193
Installation of the discrete reflex module
Reflex function block: Type 2 command-check
Role
Structure
This function is used to: z command an action and check whether it has been carried out after time z period t1i , delete the action and check whether it has been deleted after time period t2i .
The table below shows the block's different interfaces.
Name
Cde
Ctrl n
Acq x x Aux
Meaning
Command input.
Control n input
Acknowledgement of fault.
Block's physical output.
Block's internal auxiliary output.
Illustration
Cmd Command / Control type 2
Ack
Ctrl 1
Ctrl 2 t 1 i t 2 i
Output x
Output x Aux
194 35012326 00 July 2006
Operation
Installation of the discrete reflex module
This table describes the different operating phases of the type 2 command-check function.
Phase
1
2
3
4
Description
On the rising edge of input Cde : z time-out t1i is launched, z input x changes to 1.
When time out t1i is over: z if the Ctrl1 signal changes to status 1 during time-out interval t1i , the x Aux z input stays at 0 (normal situation), if the Ctrl1 signal is not received, the x Aux output changes to 1 (type A error z signal).
if the Ctrl1 signal falls back while the Cde input is at 1, the x Aux output changes to 1 (type B error signal).
The x Aux input is set to 0 in the event of: z z a rising edge on input Acq with input Ctrl1 at 1, change of status of input Cde .
On the falling edge of input Cde : z z time-out t2i is launched, input x changes to 0.
When time out t2i is over: z if the Ctrl2 signal changes to status 1 during time-out interval t2i , the x Aux input stays at 0 (normal situation), z if the Ctrl2 signal is not received, the x Aux output changes to 1 (type A error signal).
if the Ctrl2 signal falls back while the Cde input is at 0, the x Aux output z changes to 1 (type B error signal).
The x Aux input is set to 0 in the event of: z a rising edge on input Acq with input Ctrl2 at 1, z change of status of input Cde .
35012326 00 July 2006
195
Installation of the discrete reflex module
Illustration The illustration below shows the trend diagram of the type 2 command-check function block.
Cde x t<t1i
Ctrl1 t<t1i t>t1i t1i t<t2i t>t2i t2i
Ctrl2
Acq x Aux
196 35012326 00 July 2006
Installation of the discrete reflex module
Reflex function block: Command-counting
Role
Structure
This function is used to decect a th threshold in order to command a positioning action.
The table below shows the block's different interfaces.
Name
Cde
Reset
Up x x Aux
Meaning
Command input.
Outputs x and x Aux are set to 0.
Counting input.
Block's physical output.
Block's internal auxiliary output.
Illustration
E
Reset
Up
Command / Counting t h
Output x
Output 18 Aux
Operation This table describes the different operating phases of the command-counting function.
Phase
1
2
Description
Counter initialized to 0 on the rising edge of the Reset input.
On the rising edge of the Cde input, the x input changes to 1.
On every rising edge of the Up input, the counter is increased.
3 When threshold th is reached, or if input Cde changes to 0, outputs x and x Aux change to 0.
Note: Input Cde does not influence the counting carried out on the rising edge of the
Up input.
35012326 00 July 2006
197
Installation of the discrete reflex module
Illustration The illustration below shows the trend diagram of the command-counting function block.
Cde
Reset
Up th x x Aux
198 35012326 00 July 2006
Installation of the discrete reflex module
Reflex function block: Fault Signaling
Role
Structure
This function is used to indicate a fault, with acknowledgement and clearing.
The table below shows the block's different interfaces.
Name
Def
Acq
Eff x x Aux
Meaning
Fault input.
Acknowledgement input
Clear input
Block's physical output.
Output inactive for this block.
Illustration
Err
AcK
Clr
Fault signalling t 1 i t 2 i
Output x
Output x Aux
Operation This table describes the different operating phases of the Fault Signaling function.
Phase
1
2
3
Description
If the Def status is at the high status, the x output oscillates for period 2 x t1i .
On the rising edge of input Acq : z z if the fault persists, the output changes to 1, if the fault disappears, the output oscillates for period 2 x t2i .
On the rising edge of the Eff input, the x output changes to 0.
Note: Should the fault still remain, the cycle begins again in phase.
Note: Output x flashes when a fault occurs: z t1i flashes rapidly: fault present and unacknowledged by Acq, z z z t2i flashes slowly: fault not present and acknowledged by Acq, lit up: fault present and acknowledged by Acq, out: last fault cleared by the Eff input after acknowledgement.
35012326 00 July 2006
199
Installation of the discrete reflex module
Illustration The illustration below shows the trend diagram of the Fault Signaling function with t1i < t2i .
Def
Acq
Eff x
2 x t1i 2 x t1i 2 x t2i
200 35012326 00 July 2006
डाउनलोड
विज्ञापन