Reflex function blocks. Schneider Electric PL7 Junior/Pro - Premium PLC Applications - Standard applications
Реклама
Реклама
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 Maps:
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
142
TLX DS 57 PL7 xx
Page
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
TLX DS 57 PL7 xx
143
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
Illustration 1
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.
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
144
TLX DS 57 PL7 xx
Illustration 2
Installation of the discrete reflex module
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
TLX DS 57 PL7 xx
145
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.
Illustration Name
E x x Aux
Meaning
Timer input.
Timer's physical output.
Block's internal auxiliary output.
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
146
TLX DS 57 PL7 xx
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.
Illustration Name
E x x Aux
Meaning
Timer input.
Timer's physical output.
Block's internal auxiliary output.
E TIMER idle t i
Output x
Output x Aux
Operation
Illustration
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
TLX DS 57 PL7 xx
147
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.
Illustration Name
E x x Aux
Meaning
Timer input.
Timer's physical output.
Block's internal auxiliary output.
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
3
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.
On the falling edge of the E input (off-delay) , time-out tfi is launched (time base of 0.1ms).
4 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.
148
TLX DS 57 PL7 xx
Illustration
Installation of the discrete reflex module
The illustration below shows the trend diagram of the operation-idle timer function block.
E tri tfi x x Aux
TLX DS 57 PL7 xx
149
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
Meaning
Timer input.
Direct x x Aux
Illustration
Selection of time-out t1i or t2i.
l l
Sel = 0 : time-out t1i,
Sel = 1 : time-out t2i,
Selection of block (for string operation).
l l
Direct = 0: block selected
Direct = 1: block not selected (output x takes the value of E).
Timer's physical output.
Block's internal auxiliary output.
E 2-valuesTIMER 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.
150
TLX DS 57 PL7 xx
Illustration
Installation of the discrete reflex module
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: l l 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.
3 The x output changes to 0 on the falling edge of the E input .
Note: l l l x and x Aux have identical values.
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.
TLX DS 57 PL7 xx
151
Installation of the discrete reflex module
Illustration The table below shows the tracking of two timers.
E 2-values TIMER Output x E 2-values TIMER
Sel
Direct t 1 i t 2 i Output x Aux
Sel
Direct t 1 i t 2 i
Output x1
Output x Aux1
152
TLX DS 57 PL7 xx
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
Meaning
Timer input.
Direct x x Aux
Illustration
Selection of time-out t1i or t2i.
l l
Sel = 0 : t1i on-delay, t2i off-delay.
Sel = 1 : t2i on-delay, t1i off-delay.
Selection of block (for string operation).
l l
Direct = 0: block selected
Direct = 1: block not selected (output x takes the value of E).
Timer's physical output.
Block's internal auxiliary output.
E TIMER in operation/idle Output x
Sel
Direct t i 1 t 2 i
Output x Aux
TLX DS 57 PL7 xx
153
Installation of the discrete reflex module
Operation 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 : l l the time-out corresponding to the status of input Sel is launched, output x Aux changes to 1.
When the selected time-out is over l l output x changes to 1, 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: l l the time-out corresponding to the status of input Sel is launched, output x Aux changes to 1.
When the selected time-out is over l l output x changes to 1, 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.
Illustration 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
154
TLX DS 57 PL7 xx
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
Description
On the rising edge of input E of the first block: l the time-out is launched, corresponding to: l the block whose Direct input is at 0, l l 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 l l output x of the relevant block changes to 1.
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.
3
4
On the falling edge of input E of the first block: l the time-out is launched, corresponding to: l l the block whose Direct input is at 0, the status of the Sel input.
l 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: l l 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.
The x output changes to 0 on the falling edge of the E input.
5
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
TLX DS 57 PL7 xx
155
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): l l time-out ti is launched (time-base of 0.1ms), 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
156
TLX DS 57 PL7 xx
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 : l l time-out t1i is launched (time-base of 0.1ms), output x Aux changes to 1.
When time out t1i is over: l l 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: l l output x remains at 1 for duration t2i of the cycle in progress.
a new cycle begins (see phase).
TLX DS 57 PL7 xx
157
Installation of the discrete reflex module
Illustration The illustration below shows the trend diagram of the monostable with time delay function block.
E x t1i t2i t1i t2i x Aux
158
TLX DS 57 PL7 xx
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
Meaning
Monostable input.
Direct x x Aux
Illustration
Selection of time-out t1i or t2i.
l l
Sel = 0 : t1i on-delay,
Sel = 1 : t2i on-delay,
Selection of block (for string operation).
l l
Direct = 0: block selected
Direct = 1: block not selected (output x takes the value of E).
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 : l a time-out corresponding to the status of input Sel is launched (time base of
0.1ms), l outputs x and x Aux change to 1.
When the time-out is over, the x and x Aux outputs change to 0.
TLX DS 57 PL7 xx
159
Installation of the discrete reflex module
Illustration 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: l the time-out is launched, corresponding to: l l the block whose Direct input is at 0, the status of the Sel input.
l outputs x and x Aux change to 1.
Note: Two blocks must not simultaneously have their Direct inputs set to 0.
When the time-out is over, the x and x Aux outputs change to 0.
2
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
160
TLX DS 57 PL7 xx
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 : l output x oscillates for period t1i +t2i where: l l t1i = length of high status of oscillation (time base of 0.1ms), t2i = length of low status of oscillation (time base of 0.1ms), l output x Aux changes to 1.
On the falling edge of input E: l l output x changes to 0 as soon as t1i for the current period is over, 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
TLX DS 57 PL7 xx
161
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
Meaning
Flip-flop input.
Enable input.
Output x set to 1.
RESET x
Output x set to 0. This input takes priority over SET input.
Flip-flop's physical output.
x Aux
Illustration
Block's internal auxiliary output.
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: l l output x takes the status of input D, output x Aux takes the opposite status to input D.
162
TLX DS 57 PL7 xx
Illustration
Installation of the discrete reflex module
The illustration below shows the trend diagram of the D flip-flop function block.
D
CLK
RESET
SET x x Aux
TLX DS 57 PL7 xx
163
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
RESET
Meaning
Flip-flop input.
Enable input.
Outputs x / x Aux set respectively to 1 / 0.
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: l if input E is at 1: l l output x takes the opposite status to its current status, output x Aux takes the opposite value to x, l if input E is at 0, outputs x and x Aux remain at that status.
164
TLX DS 57 PL7 xx
Illustration
Installation of the discrete reflex module
The illustration below shows the trend diagram of the T flip-flop function block.
E
CLK
RESET
SET x x Aux
TLX DS 57 PL7 xx
165
Installation of the discrete reflex module
Reflex function block: 2 threshold counter
Role
Structure
This counting function is used to detect when a threshold th1 or th2 has been crossed.
The table below shows the block's different interfaces.
Name
E
Up
RESET
Sel
Meaning
Enable input.
l l
E = 0: Up input frozen,
E = 1: Up input valid.
Counting input.
Note: the maximum performance of the counter is 2 Khz (with the Up input directly controlled by the physical input (without filtering)).
Counter initialization input.
In order to take into account a change in the value of the threshold to be reached, a Reset is required.
Selection of counting threshold: l l
Sel = 0 : threshold th1 selected,
Sel = 1: threshold th2 selected,
Note: the maximum value of a threshold corresponds to the maximum number of points (65536points).
x x Aux
Illustration
Counter's physical output.
Block's internal auxiliary output.
Output x E
Up
Reset
Set
COUNTER, 2 t h 1 t h 2 Output x Aux
166
TLX DS 57 PL7 xx
Operation
Illustration
Installation of the discrete reflex module
This table describes the different operating phases of the 2 threshold counter.
Phase
1
2
3
Description
On the rising edge of RESET input: l l l counter initialized to 0 inputs x and x Aux change to 0,
Counter increased on the rising edge of Up input .
On the rising edge of Up input, counter increased (value not accessible).
When the selected threshold is reached, inputs x and x Aux change to 1.
The illustration below shows the trend diagram of the 2 threshold counter function block.
RESET
Sel
E
Up th2 th1 x x Aux
TLX DS 57 PL7 xx
167
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
Up
Meaning
Enable input.
l l
E = 0: Up input frozen,
E = 1: Up input valid.
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.
Output x E
UP
Reset0
Reset1
Single electronic CAM t i t h Output x Aux
168
TLX DS 57 PL7 xx
Operation
Illustration
Installation of the discrete reflex module
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: l l counter initialized to 0 input x Aux changes to 1,
On the high status of input RESET 0: l 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.
The illustration below shows the trend diagram of the simple cam function block. th2 th1
E
Up
RESET 0
RESET 1 x x Aux
TLX DS 57 PL7 xx
169
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 x Aux
Illustration
Intervalometer's physical output.
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 : l l 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.
170
TLX DS 57 PL7 xx
Illustration
Installation of the discrete reflex module
The illustration below shows the trend diagram of the intervalometer function block.
E
RESET 1
Timebase th x x Aux
TLX DS 57 PL7 xx
171
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.
Illustration Name
E x x Aux
Meaning
Block's input.
Block's physical output.
Block's internal auxiliary output.
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 : l l oscillation of output x for ni periods of time, input x Aux changes to 1, l l
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: the oscillation stops at the low status of outputx, input x Aux changes to 0,
The illustration below shows the trend diagram of the burst function block.
E x ti x Aux ti
172
TLX DS 57 PL7 xx
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 : l l oscillation of output x, control input x Aux changes to 1.
On the low status of input E: l l the oscillation of output x stops at its low status, 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
TLX DS 57 PL7 xx
173
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 : l l 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: l l 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.
174
TLX DS 57 PL7 xx
Illustration
Installation of the discrete reflex module
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
TLX DS 57 PL7 xx
175
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.
Illustration Name
E
FB x x Aux
Meaning
Enable function input.
Control input.
Block's physical output.
Speed control output.
E slow speed detection 2
FB 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: l conveyor belt operational when the speed of the downstream belt is greater than the high threshold 1/t1i, l conveyor belt stops when the speed of the downstream belt is less than the low 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
176
TLX DS 57 PL7 xx
Operation
Installation of the discrete reflex module
This table describes the different operating phases of the speed monitoring function.
Phase
1
2
Description
On the rising edge of input E : l l time-out t1i is launched, input x changes to 1.
As long as the interval between 2 rising edges of input FB remains greater than
t1i: l 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: l l 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: l 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: l l output x Aux changes to 0, time-out t1i is launched (see phase),
If input E changes to 0, outputs x and x Aux change to 0.
x Aux
1
1/t2i 1/t1i
Note: The operation defined above implies that t2i >t1i.
Speed
TLX DS 57 PL7 xx
177
Installation of the discrete reflex module
Illustration 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
178
TLX DS 57 PL7 xx
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: l l time-out ti is launched, input x changes to 1.
When time-out ti is over: l if the Ctrl signal changes to status 1 during the time-out interval, the x Aux output stays at 0 (normal situation), l if the Ctrl signal is not received, the x Aux output changes to 1 (type A error signal).
l 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.
TLX DS 57 PL7 xx
179
Installation of the discrete reflex module
Illustration 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
180
TLX DS 57 PL7 xx
Installation of the discrete reflex module
Reflex function block: Type 2 command-check
Role
Structure
This function is used to: l command an action and check whether it has been carried out after time period
t1i, l 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
Operation This table describes the different operating phases of the type 2 command-check function.
Phase
1
2
3
Description
On the rising edge of input Cde: l l time-out t1i is launched, input x changes to 1.
When time out t1i is over: l if the Ctrl1 signal changes to status 1 during time-out interval t1i, the x Aux input stays at 0 (normal situation), l if the Ctrl1 signal is not received, the x Aux output changes to 1 (type A error signal).
l 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: l l a rising edge on input Acq with input Ctrl1 at 1, change of status of input Cde.
On the falling edge of input Cde: l l time-out t2i is launched, input x changes to 0.
TLX DS 57 PL7 xx
181
Installation of the discrete reflex module
Phase
4
Description
When time out t2i is over: l if the Ctrl2 signal changes to status 1 during time-out interval t2i, the x Aux input stays at 0 (normal situation), l if the Ctrl2 signal is not received, the x Aux output changes to 1 (type A error signal).
l if the Ctrl2 signal falls back while the Cde input is at 0, the x Aux output changes to 1 (type B error signal).
The x Aux input is set to 0 in the event of: l l a rising edge on input Acq with input Ctrl2 at 1, change of status of input Cde.
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
182
TLX DS 57 PL7 xx
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
Description
Counter initialized to 0 on the rising edge of the Reset input.
2
3
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.
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.
TLX DS 57 PL7 xx
183
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
184
TLX DS 57 PL7 xx
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.
Illustration Name
Def
Acq
Eff x x Aux
Meaning
Fault input.
Acknowledgement input
Clear input
Block's physical output.
Output inactive for this block.
Err Fault signalling
AcK
Clr 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
Description
If the Def status is at the high status, the x output oscillates for period 2 x t1i.
2
3
On the rising edge of input Acq: l l 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: l l l l t1i flashes rapidly: fault present and unacknowledged by Acq, 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.
TLX DS 57 PL7 xx
185
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
186
TLX DS 57 PL7 xx
Изтегляне
Реклама