EasyManua.ls Logo

Beckhoff TwinSAFE logic FB User Manual

Beckhoff TwinSAFE logic FB
217 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #150 background imageLoading...
Page #150 background image
Function blocks
148 Function blocks for TwinSAFE logic components
3.22 The function block COUNTER
3.22.1 Functional description
The FB Counter is used to realize an up/down counter. The inputs Reset, CountUp and CountDown are
of data type BOOL. The outputs Error, CounterOut and CounterZero are also of data type BOOL. The
output ActValue indicates the current internal counter value and can be of data type INT16, UINT16,
INT32 or UINT32. The parameters Preset Value and Counter Limit can be used to parameterize the
counter.
A logical 1 signal at the Reset input causes the internal counter value to be set to the value that is
parameterized via Preset Value. A rising edge at the CountUp input increments the internal counter value
by 1. A rising edge at the CountDown input decrements the internal counter value by 1. Once the counter
value specified under CounterLimit is reached, the output CounterOut is set. Once the counter value 0 is
reached, the output CounterZero is set.
When the TwinSAFE group is started (Run=1), ActValue is set to PresetValue. When the group is
stopped, ActValue is set to 0.
Figure 3-92: Function block COUNTER
NOTE
KL6904/EL6900
The function block COUNTER is not available in the KL6904 and the EL6900.

Table of Contents

Question and Answer IconNeed help?

Do you have a question about the Beckhoff TwinSAFE logic FB and is the answer not in the manual?

Beckhoff TwinSAFE logic FB Specifications

General IconGeneral
BrandBeckhoff
ModelTwinSAFE logic FB
CategoryIndustrial Electrical
LanguageEnglish

Summary

1 Foreword

Notes on the Documentation

Information regarding the documentation's target audience, origin, currentness, and symbols used.

Safety Instructions

Guidance on safety instructions, delivery state, operator diligence, and explanation of notes.

2 System Description

TwinSAFE Logic Terminals and Connections

Details on TwinSAFE logic terminals, groups, connections, and configuration. Includes diagnosis overview.

System Diagnosis

Information on diagnosing TwinSAFE system components, including diagrams for TwinCAT 2 and TwinCAT 3.

3 Function Blocks

The Function Block AND

Functional description, signal details, diagnostic info, and TwinCAT configuration for the AND logic block.

The Function Block OR

Functional description, signal details, diagnostic info, and TwinCAT configuration for the OR logic block.

The Function Block OPMODE

Description of OPMODE function block for operation mode selection and restart behavior.

The Function Block ESTOP

Details on ESTOP function block: description, signals, configuration, restart behavior, and extensions.

The Function Block MUTING

Description of MUTING block, signals, configuration, examples, and extensions for EL/EJ6910.

The Function Block TON

Functional description, signal details, diagnostic info, and TwinCAT configuration for the TON delay timer.

The Function Block TOF

Functional description, signal details, diagnostic info, and TwinCAT configuration for the TOF delay timer.

The Function Block ADD

Description of ADD block for analog addition: signals, diagnostics, and TwinCAT configuration.

The Function Block SUB

Description of SUB block for analog subtraction: signals, diagnostics, and TwinCAT configuration.

The Function Block COMPARE

Description of COMPARE block for analog input comparison, including architectures, signals, and config.

The Function Block LIMIT

Description of LIMIT block for checking analog input values against Min/Max limits, including signals and config.

The Function Block COUNTER

Description of COUNTER block for up/down counting: signals, diagnostics, and TwinCAT configuration.

The Function Block CAMMONITOR

Description of CAMMONITOR block for electronic cam control: modes, inputs, outputs, parameters, and diagnostics.

4 Appendix

Beckhoff Support and Service

Information on contacting Beckhoff for technical support, system solutions, and after-sales service.

Beckhoff Headquarters Information

Contact details, phone, fax, email, and web address for Beckhoff Automation GmbH & Co. KG.

Related product manuals