Calibration method 1 – Rockwell Automation 1794-ID2 U.MNL INCREMENTAL ENCODER User Manual

Page 76

Advertising
background image

7–2

Calibrating Your Incremental Encoder Module

Publication1794ĆUM015B-EN-P - May 2001

Calibration Method 1

Calibration is enabled by the flag CalEnable, which is enabled by the
control system. The preset value is copied to the counter register at a
positive edge on input Z. The old counter register value is saved in
the store register for evalution.

Calibration direction is determined by CalDirection (0 = positive
direction, 1 = negative direction).

Reset Calibrated, Stored and PresetReached after calibration with
CalReset, StoreReset and PresetReset.

Counter Register

Latched Register

Counter Register

Logic

Z =

Preset Register

PresetReached = 1

Stored = 1

CalEnable = 1
CalDirection = Direction

of the latest count pulse
Calibrated = 0

StoreControl = 0
Stored = 0

Calibrated = 1

Logic

Z =

Advertising