Configuration of the Standard Encoder on the Encoder Interface

Configuration Window

Follow this procedure to configure the Standard Encoder type in Incremental mode:

Step

Action

1

In the Devices tree, double-click MyController > Expert > Encoder > Standard_Encoder_1.

Result: The configuration window is displayed.

2

Select the Standard Encoder Configuration tab.

Configuration Parameters

This table describes the properties of the Standard Encoder Configuration tab in Incremental mode:

Parameter

Value

Default Value

Description

General

Mode

Incremental

SSI

Incremental

Select the encoding mode.

Input Mode

Normal Quadrature X1

Normal Quadrature X2

Normal Quadrature X4

Reverse Quadrature X1

Reverse Quadrature X2

Reverse Quadrature X4

Normal Quadrature X1

Select the period measurement interval.

Counting inputs

A input

Bounce filter

0.002

0.004

0.012

0.04

0.12

0.4

1.2

4

0.002

Set the filtering value (in ms) to reduce the bounce effect on the A input.

Range

Preset

0

0

Set the counting initial value.

Limits

Lock on limits

Modulo

Lock on limits

Limits management

Slack correction

0

0

Specify the slack correction value.

Control inputs

Z input

Bounce filter

0.002

0.004

0.012

0.04

0.12

0.4

1.2

4

0.002

Set the filtering value (in ms) to reduce the bounce effect on the Z input.

EN input

Location

Disabled

I1.6

Disabled

Select the PLC input used for enabling the counting function.

REF input

Location

Disabled

I3.6

Disabled

Select the REF input used for presetting the counting function.

Edge detection

None

Z Rising

Z Falling

Z Both

None

Select the condition to preset the counting function with the SYNC and REF inputs.

Capture

CAP 0 input

Location

Disabled

I1.6

Disabled

Select the PLC input used for capturing the first counting value.

CAP 1 input

Location

Disabled

I3.6

Disabled

Select the PLC input used for capturing the second counting value.

CAP0 Mode

None

Z Rising

None

Select the condition to perform a first capture of the counting current value.

CAP1 Mode

None

Z Rising

None

Select the condition to perform a second capture of the counting current value.

Compare

Thresholds

Number of thresholds

0

1

2

3

4

0

Select the number of thresholds (0...4).

Scaling

Axis Type

Linear

Rotary

Linear

Select the axis type.

Increments

2048

2048

Increment Per Turn

Units

360

360

Unit Per Turn

Monitoring

Power supply monitor

Disabled

Enabled

Disabled

Enable the power supply monitor.

Warning_Color.gifWARNING

INACCURATE ENCODER VALUE

Respect the mathematical rule of modulo ((Modulo x Increment)/Unit = Integer) to avoid slipping.

Failure to follow these instructions can result in death, serious injury, or equipment damage.

Programmable Filter

The filtering value on the Standard Encoder input influences the counter maximum frequency, as shown in the table below:

Input

Filter value

Maximum counter frequency

A, B

0.002 ms

200 kHz

0.004 ms

100 kHz

0.012 ms

40 kHz

0.04 ms

10 kHz

0.12 ms

4 kHz

0.4 ms

1 kHz

1.2 ms

400 Hz

4 ms

100 Hz