Quadrature Encoder 750-631
:$*2
Ç
,
2
Ç
6<67(0
4
The input Latch controls the overtaking of the actual counter value into the
Latchregister. This input is activated by teh control bit EN_LATEXT („1“). EN_LACT
has to be deactivated („0“). The first change from 0 V to 24 V at the Latch input takes
the actual counter value into the Latchregister.
The control byte contains the information as listed below.
Control Byte Configuration
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
0
x
CFAST_M
x
x
CNT_SET
EN_LATEXT
EN_LATC
0
x
Operation
Mode
x
x
Counter Set
Release Latch
Release Index
Pulse
Please note Bit 7 is a reserved bit and must always be set to 0. It is responsible for
register communication which is not decribed in this chapter.
Bit
Function
CFAST_M
Fast mode operation. Only the counter module function will be
operable. All other control bits will be ignored.
CNT_SET
The counter module will be preset to a count value with a rising
edge.
EN_LATEXT
0=The external latch input is deactivated.
1=The module will latch in the counter data on the first rising edge.
Other changes have no effect.
EN_LACT
0=Latching data with the Index pulse is deactivated.
1=The Index pulse will latch in the counter data on the first
rising edge. Other changes have no effect.
The status byte contains the information as listed below.
Status Byte Configuration
Bit 7
Bit 6
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
Bit 0
0
x
x
OVERFLOW UNDERFLOW CNTSET_ACC
LATEXT_
VAL
LATC_
VAL
0
x
x
Counter
Overflow
Counter
Underflow
Counter Set
Acknowledge
External
Latch Ack.
Latched
Data Set
Bit
Function
OVERFLOW
The Overflow bit will be set if the counter value rolls over from 65535 to
0. This bit will automatically be reset if the counter passes through more
than one third of the count range, 21845 to 21846, or if an Underflow
occurs.
UNDERFLOW
The Underflow bit will be set if the counter value rolls back from 65535
to 0. This bit will automatically be reset if the counter passes through
more than two thirds of the count range, 43690 to 43689, or if an
Overflow occurs.
CNTSET_ACC
The Counter Set Acknowledge but is set when a valid counter value is
preset to the module.
LATEXT_VAL
The Latch External Valid Acknowledge bit is set when a counter
value is latched into the module via the Latch input.
LACT_VAL
The Latch Index Pulse Valid Acknowledge bit is set when a counter
value is latched into the module via the Index pulse.