Manual
ibaMS4xUCO
62
Issue 1.5
11.1.2.3 Modes / Analysis regulations
The following modes and analysis regulations are realized for the Hübner FG4 rotary
encoder:
Mode
Calculated
input values
Description
Signal name Type
0: Deactivated
-
-
Channel is deactivated
1: A/B Pulse counter
EdgeCounter DINT
Counts edges
according to the „quadrature
m
ode“
All 4 edges are counted (pos.A, neg.A,
pos.B, neg.B)
„Reset on N“ is not active
2: Period/frequency on
A / B / AB pulses
PeriodTime
ABDirection
Frequency
DINT
DINT
REAL
Period and frequency are measured accord-
ing to „quadrature mode“
All 4 edges (pos.A, neg.A, pos.B, neg.B) are
processed, i. e. the measured frequency is
four times as high as the real frequency,
the period time decreases accordingly by
factor 4.
PeriodTime is the period duration in ns.
ABDirection
ABDirection = 0
A-pulse before B-pulse
ABDirection = 1
B-pulse before A-pulse
Frequency is given in Hz.
3: Pulse width / duty cy-
cle on A
PeriodTime
PulseWidth
DutyCycle
DINT
DINT
REAL
Refers solely to signal A.
PeriodTime is the period duration in ns.
PulseWidth is the positive pulse width of A.
DutyCycle is the duty factor between high-
und low-level (DutyCycle[0..1])
4: Up/down counter on
A / B pulses
UpDown-
Counter
DINT
Counts edges
according to the „quadrature
m
ode“
Counts all 4 edges of A and B (pos.A,
neg.A, pos.B, neg.B).
When A-pulse is before B-pulse the analysis
counts up, when B-pulse is before A-pulse it
counts down.
„Reset on N“ is not active.
„Divide by 4“ is not active.