incremental encoders. encoders typically run on +5v, not +24v outputs are typ. not 24v compatible...

17
Incremental Encoders

Post on 21-Dec-2015

219 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Incremental Encoders. Encoders typically run on +5V, not +24V Outputs are typ. not 24V compatible either

Incremental Encoders

Page 2: Incremental Encoders. Encoders typically run on +5V, not +24V Outputs are typ. not 24V compatible either

Incremental Encoders• Encoders typically run

on +5V, not +24V• Outputs are typ. not

24V compatible either

Page 3: Incremental Encoders. Encoders typically run on +5V, not +24V Outputs are typ. not 24V compatible either

Absolute Encoders

• doubling resolution requires adding another photodiode/LED pair

• cost is much higher than incremental• does not require seeking to establish

reference location

Page 4: Incremental Encoders. Encoders typically run on +5V, not +24V Outputs are typ. not 24V compatible either

hybrid incr/absolute encoders• add more information to index channel to

reduce amount of seeking required to find reference position.

• interface requires lots of wires (parallel) or a special comm. protocol

Page 5: Incremental Encoders. Encoders typically run on +5V, not +24V Outputs are typ. not 24V compatible either

Potentiometer• A potentiometer (or pot) is a variable

resistor wired to obtain a variable DC voltage proportional to position

Page 6: Incremental Encoders. Encoders typically run on +5V, not +24V Outputs are typ. not 24V compatible either

Magnetostrictive Pos. Sensor

• Pulse sent down magnetostrictive material• Pulse reflects off position magnet’s field

• Position is proportional to trcvd - tsent

• Pulse propagates at ~2800 m/s

• Resolution is ~.001” with tupdate ~1msec/in.

Page 7: Incremental Encoders. Encoders typically run on +5V, not +24V Outputs are typ. not 24V compatible either

Magnetostrictive Sensor

Page 8: Incremental Encoders. Encoders typically run on +5V, not +24V Outputs are typ. not 24V compatible either

Proportional Control with the PLC

• High Speed Input• Pulse Output• PID control

Page 9: Incremental Encoders. Encoders typically run on +5V, not +24V Outputs are typ. not 24V compatible either

PLC Input/Output Timing

• PLC scan time:– Read inputs– Solve logic– Write outputs

Page 10: Incremental Encoders. Encoders typically run on +5V, not +24V Outputs are typ. not 24V compatible either

PLC Input/Output Timing

• Total scan time:– 0.95msec min– 5.2msec max

Page 11: Incremental Encoders. Encoders typically run on +5V, not +24V Outputs are typ. not 24V compatible either

High Speed Input/Output

• High speed counters– Use X0,X1, and X2

• Pulse Output– Uses Y0 and Y1

• One of six modes can be used– Mode 10: High speed counter– Mode 20: Quadrature counter– Mode 30: Pulse Output– Mode 40: High speed interrupt– Mode 50: Narrow pulse capture– Mode 60: Narrow pulse reject (normal

mode)

Page 12: Incremental Encoders. Encoders typically run on +5V, not +24V Outputs are typ. not 24V compatible either

Mode 10 - High Speed Counter

• Up counter, counts to 99,999,999• Up to 5kHz input rate (incr. on X0

low->hi)• Count is compared to preset values

to generate events.• Reset can be X2 or ladder logic

Page 13: Incremental Encoders. Encoders typically run on +5V, not +24V Outputs are typ. not 24V compatible either

Mode 10 high Speed Counter

Used for applications like cut-to-lengthEx: • 4096cnt/rev enc• 10cm diam roller• rotate turret and

operate at 12, 20, 28, and 30cm

• Presets are:1565, 2608, 3651,

3913

1565416.31

124096

distrevcnts

Preset

Page 14: Incremental Encoders. Encoders typically run on +5V, not +24V Outputs are typ. not 24V compatible either

Mode 10 high Speed Counter

Page 15: Incremental Encoders. Encoders typically run on +5V, not +24V Outputs are typ. not 24V compatible either

Mode 10 high Speed Counter

• Setup consists of writing values to several special memory locations

Page 16: Incremental Encoders. Encoders typically run on +5V, not +24V Outputs are typ. not 24V compatible either

Mode 10 high Speed Counter

Page 17: Incremental Encoders. Encoders typically run on +5V, not +24V Outputs are typ. not 24V compatible either

Mode 10 High Speed Counter