Configure encoder input
Connector X3.2 can be configured as an encoder input to evaluate the signal of a low-cost HTL encoder.
Preconditions
–
Single-track or two-track HTL encoder.
–
A single-track HTL encoder (track A) cannot be used for motor speed feedback.
–
A two-track HTL encoder (tracks A and B) must have a phase offset of exactly 90° between tracks A and B (error 10°). Inverted tracks are not required.
–
Encoder increments: ≤ 16384 increments per revolution
–
For the supply of the encoder, the maximum supply current of the inverter must be observed. If necessary, an external 24 V voltage supply is required for the encoder.
–
The function assignment for connector X3.2 must be configured to "Encoder [0]".
Configure function assignment
Configure function assignment Restrictions
–
If the "Encoder [0]" function assignment is enabled, the corresponding digital inputs or the HTL input are no longer available for detecting a reference frequency ("pulse train").
–
The maximum input frequency is 200 kHz. If this frequency is exceeded, an error is triggered.
Connection
|
Connection of a single-track HTL encoder
(without external 24 V voltage supply)
|
Connection of a two-track HTL encoder
(without external 24 V voltage supply)
|
|
|
|
Details
|
Encoder design: Calculate the maximum number of increments per revolution of the encoder
|
|
|
Max. encoder increments = fmax [Hz] * 60 s / nmax [rpm]
Max. encoder increments = 200,000 [Hz] * 60 s / 1,500 [rpm] = 8,000 increments per revolution
|
|
|
fmax
|
Maximum input frequency of the encoder inputs = 200 kHz = 200000 Hz
|
|
nmax
|
Maximum encoder speed (in this example: 1500 rpm)
|
|
Max. encoder increments
|
Maximum number of increments per encoder revolution
|
Select an encoder with a maximum number of increments per revolution that is less than or equal to the calculated number. The higher the number of increments per revolution, the more stable the system becomes.
Basic steps for configuring the encoder in the »EASY Starter«:
1.
In 0x2630:011, select "Encoder [0]" to configure connector X3.2 as an encoder input.
2.
Set the encoder number of increments per revolution in 0x2C42:001 according to the manufacturer data/encoder data sheet.
For Application-I/O, the X3.3 connector can also be configured as a second encoder input.
Configure encoder input 2
Configure encoder input 2 Parameter
|
Address
|
Name / setting range / [default setting]
|
Information
|
|
|
0x2C42:001
|
Encoder settings: Increments/revolution
1 ... [128] ... 16384
–
Setting can only be changed if the inverter is disabled.
|
Setting of the encoder number of increments per revolution (according to manufacturer data/encoder data sheet).
|
|
|
0x2C42:006
|
Encoder settings: Actual velocity
–
Read only: x rpm
|
Display of the speed currently detected by the encoder.
|
|
|
0x2C42:007
|
Encoder settings: Status
–
Read only
|
Bit coded display of the status of encoder monitoring.
Display of the encoder status.
|
|
|
Bit 0
|
Maximum encoder speed reached
|
1 = the calculated encoder maximum frequency is beyond the permissible frequency range of the digital inputs.
|
|
|
Bit 4
|
No signal detected
|
1 = a complete failure of the encoder signals has been detected.
No pulse detected.
|
|
|
Bit 5
|
Encoder track A or B missing
|
1 = a failure of only one track (track A or track B) has been detected.
Weak pulses (one of the tracks A or B is missing).
|
|
|
0x2C45
|
Motor feedback error response
|
Selection of the response to the triggering of the encoder signal loss monitoring.
The monitoring is only active if the HTL encoder
–
is set as feedback system for the motor control or
–
used as signal source for the "Position counter" function.
|
|
|
0
|
No response
|
||
|
12
|
Warning
|
||
|
23
|
Fault > inverter disabled
|
||
Severity