Overview of functions

The ED5112 terminals offer a wide range of functions. The following table provides an overview of the functions provided in 1-channel mode. A detailed description can be found in the individual chapters.

To use the extended functions, the corresponding functions must be selected via the “Predefined PDO Assignment”. The assignment is described in chapter “Process data”.

Basic functions

Description

Selection of encoder type

Encoders or counters/pulse generators with signal levels according to RS422, TTL or Open Collector can be selected.

Encoder operating voltage

The encoder supply can be set separately for each channel to either 5 V DC, 12 V DC or 24 V DC.

Evaluation of the counter value

The input signal can be subject to 4-fold, 2-fold or 1-fold evaluation.

Counter limits

The value range within which counting takes place can be defined.

Counter overflow / counter underflow

If the count limit is exceeded or underrun, this is indicated in separate process data.

Counting direction

The counting direction can be adapted to the application.

Reversion of rotation

The counting direction and a reversion of rotation can be detected and output via the process data. This function can also be used for standstill monitoring.

Reset counter value

Allows a recurring reset of the counter value via zero pulse C or an edge (positive/negative) at the “Latch extern” input.

Set counter value

The counter value can be set at runtime to a predefined counter value via a PLC variable, zero pulse C or an edge (positive/negative) at the “Latch extern” input.

Save counter value

The current counter value can be saved, independent of the cycle time, in separate process data via an edge (positive/negative) at the “Latch extern” and Gate/Latch input or the zero pulse C.

You can parameterize whether the function is executed at each external edge or only once after each activation.

By using both latch inputs a workpiece measurement can also be realized.

Lock counter value

The counter value can be locked via an edge (positive/negative) at the Gate input or a PLC variable.

Extended functionalities

Description

Frequency measurement

The average frequency of the input signal within a given timeframe can be output directly.

Period value measurement

The period value of the last period within the PLC cycle can be output directly.

Velocity, speed calculation

The average velocity or speed of the input signal within a specified timeframe can be output directly.

Duty cycle measurement

The ratio of pulse duration tON to period value T in the last PLC cycle can be output directly.

Timestamp

A timestamp based on the distributed clocks system (DC) can be output for the last counting pulse, the zero pulse and the “Latch extern” and “Latch extern 2” inputs.

Microincrements

Allows additional increments (256 steps) to be interpolated between the counted encoder increments, thus increasing the resolution of the counter value.

Adjustable interference pulse filters

To suppress interference, a filter can be set for each of the input signals.

Diagnostic data

Error messages are communicated to the EtherCAT Master/TwinCAT via “DiagMessages”.

Process data

Description

Operation modes

The scope of the process data can be selected via "Predefined PDO Assignment".

Synchronicity mode

In addition to the frame-triggered operation mode (SM mode), a mode based on synchronization via the distributed clocks is available.

Description of the inputs

Description

Zero pulse C

With incremental encoders, a full revolution is marked by a special marker, the zero pulse C. This can be used for resetting, setting and storing the counter value.

Latch extern

A Latch input is provided for 24 V DC signals with a min. pulse duration tON of > 1 µs. This can be used for resetting, setting and storing the counter value.

Gate

An external gate input is provided for 24 V DC signals with a minimum pulse duration of tON > 1 µs. This can be used for locking, resetting, setting and storing the counter value.

Digital input

If the encoder has an alarm output, this can be evaluated.