TwinSAFE en 2022 - 03 TC3 - Training Function Blocks Integer
TwinSAFE en 2022 - 03 TC3 - Training Function Blocks Integer
TwinSAFE
TwinSAFE System
Counter
▪ Boolean inputs are edge triggered
(positive edge 0 to 1)
▪ ActValue shows the actual counter value
group stopped -> ActValue =0
group starting -> ActValue = PresetValue
▪ CounterOut will be set if the counter limit
is reached
▪ CounterZero will be set on counter value 0
▪ Preset Value will be taken as actual value
on positive edge on the Reset input
Function Block Scale
Load Sensing
▪ For each x-value (AnalogInX) a y-value-
range (AnalogInY1 / Y2) will be checked
▪ The x-values and corresponding y-value
ranges are configured in a table
▪ A switch off level (y1, y2) and a warning
level (wy1, wy2) can be configured
▪ If Inactive = True the function is switched
off
▪ The Checkbox Outside defines if y-values
inside or outside of Y1 and Y2 are valid
OutsideArea=0: Y1[i] <= WY1[i] < WY2[i] <= Y2[i]
OutsideArea=1: WY1[i] <= Y1[i] < Y2[i] <= WY2[i]
Function Block Cam Monitor
Cam Monitor
electronic cam controller
▪ safe evaluation function block, which can
output the cam data (TDC, BDC,
UpwardsMove) according to the set fixed
values, depending on the current position.
▪ Excentric and pendulum stroke mode
possible
▪ The output UpwardsMove indicates that
the press is in upward motion after
passing through BDC. This signal can be
used for muting of light grids or for
accepting the control command at the
press.
Function Block SLI
Envelope
(checking the deceleration of InValue)
▪ function block checks that the InValue will not violate the envelope between
starting and target value (e.g. SS1 or SS2 safety function)
Function Block Envelope
Envelope
▪ With a falling edge at the input
SafeFunction the envelope is calculated
with the current value at InValue.
A linear Function between InValue +
Offset and TargetValue at the point current
time + MaxTime
▪ TargetValue is reached before Maxtime is
exceeded, SafeFunctionOut = FALSE
when Time after in Target is exceeded
▪ Error = TRUE when InValue violates the
envelope
Function Block Violation Counter
ViolationCounter
▪ Is used to realize a weighted error counter
▪ When enabled, each safety plc cycle the
counter value will be incremented or
decremented depending on the signal
state of Input
Input = TRUE -> Decrement
Input = FALSE -> Increment
▪ Increment and decrement steps and
counter limit can be configured
▪ The Actual counter value is shown on
ActViolationCnt
▪ While the counter value is within the
counter limits the output InputOK is set
Training material
This training material is provided to complement the presented training content. Outside the actual training
the material may only be used for internal purposes at the company of the course participant. In addition,
the material or extracts thereof may be used in end customer training for products containing Beckhoff
products, or for presentations, provided the presentation refers to Beckhoff products. Extracts or copies of
the training material must contain the following copyright acknowledgement: “© Beckhoff Automation
GmbH & Co. KG”.
The same applies to extracts from presentation material. The user of the material is solely responsible for
the completeness of extracts and copies. It is explicitly not permitted to offer commercial or free training for
Beckhoff products. This applies to training with and or without the training material. The training material
must not be edited, manipulated or modified.
All images are protected by copyright. The use and transfer to third parties is not permitted.
Beckhoff®, TwinCAT®, EtherCAT®, EtherCAT G®, EtherCAT G10®, EtherCAT P®, Safety over EtherCAT®, TwinSAFE®, XFC®, XTS® and
XPlanar® are registered trademarks of and licensed by Beckhoff Automation GmbH. Other designations used in this publication may be
trademarks whose use by third parties for their own purposes could violate the rights of the owners.
The information provided in this presentation contains merely general descriptions or characteristics of performance which in case of actual
application do not always apply as described or which may change as a result of further development of the products. An obligation to provide
the respective characteristics shall only exist if expressively agreed in the terms of contract.