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

Page 77

Advertising
background image

7–3

Calibrating Your Incremental Encoder Module

Publication 1794ĆUM015B-EN-P - May 2001

Calibration Method 2

Calibration is enabled by input G if GateControl = 3 and Calibrated
= 0. The preset value is copied to the counter register at a positive
edge on input signal 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

Stored Register

Counter Register

Logic

Z

Preset Register

PresetReached = 1

Stored = 1

CalDirection = Direction

of the latest count pulse
Calibrated = 0

StoreControl = 0
Stored = 0

Calibrated = 1

Logic

G = 1

GateControl = 3

Z

Advertising