Basic Function Principles

The EP1518-0002 has 8 digital inputs. Of these, inputs 0, 1 and 2 as well as 4, 5 and 6 can each be used for one counter. The states of the individual inputs are always illustrated in the process image, irrespective of their use.

Input

M12

Properties

0

Socket 1, Pin 4

Digital input or counter input 1

1

Socket 1, Pin 2

Digital input or Gate 1

2

Socket 2, Pin 4

Digital input or Up/Down 1

3

Socket 2, Pin 2

Digital input

4

Socket 3, Pin 4

Digital input or counter input 2

5

Socket 3, Pin 2

Digital input or Gate 2

6

Socket 4, Pin 4

Digital input or Up/Down 2

7

Socket 4, Pin 2

Digital input

Operation modes

Three operation modes are available. The setting takes place by selecting the PDOs in the Sync-Manager:

Operation mode

Number of
counter channels

Number of
"free" digital inputs

Properties

2 up/down counters (32-bit)

2

2

Single pulses are counted at the counter inputs.
The gate input or the software gate enables the counter.
The count direction is specified via CoE.

2 up/down counters (32-bit)

1

5

8 digital inputs, no counter

-

8

digital inputs:
Filter for inputs 0 and 4 permanently set to 150 µs.
The filter setting for the other inputs is configurable by software.

The GATE and Up/Down inputs can be converted to standard inputs.

Counting mode

The following settings for GATE and Up/Down can be combined and apply independently to each counter.

Counting mode with standard setting (up counter)

In the delivery state the Counter Value is incremented on each rising edge. The count direction is up.

The counter is disabled by applying a high level to the GATE input or by setting the Inhibit Counters bit.

Basic Function Principles 1:
Counting mode with standard setting

Counting mode with reversed count direction (down counter)

The count direction is changed by applying a high level to the Up/Down input or by setting the CoE object 0x80x0:04 Count down. The count direction is down.

Basic Function Principles 2:
Counting mode with reversed counting direction

Counting mode with inverted (negated) GATE input

In the default setting the counter is disabled by applying a high level to the GATE input or by setting the Inhibit Counters bit

Setting the CoE object 0x80x0:05 Enable input gate activates the counter if GATE is set and deactivates it if GATE is not set.

Basic Function Principles 3:
Counting mode with inverted GATE input
Basic Function Principles 4:
CoE for inverting the GATE input