ENCODER TYPE 1267, 1268 See below
Selects the operating mode of the encoder input. Both of these encoder function blocks can be used in either QUADRATURE or
CLOCK/DIRECTION modes of operation. When in CLOCK/DIRECTION mode, the CLOCK input is applied to terminal A on the speed feedback
option (for ENCODER 1) or to Digital Input 2 (for ENCODER 2), and every rising edge of the CLOCK is counted.
0 : CLOCK/DIRECTION
1 : QUADRATURE
Functional Description
You must configure Digital Input 2 and 3 which, by default, provide "Ramp Hold" and "Current Demand Isolate" functionality. In the default
configuration they are linked using LINK 21 and LINK 22 respectively. The Encoder blocks are connected to terminals C7 and C8 internally and thus
don't require these links. Use the Configurator Tool to delete the links.
Alternatively when the default configuration is loaded, this can be done using the Keypad as shown below:
Navigate to the SYSTEM::CONFIGURE I/O menu. Select the CONFIGURE ENABLE parameter and set to ENABLED. All LEDS on the
Keypad will flash. Press the
key. Use the key to navigate to the DIGITAL INPUTS menu.
In this menu, select the DIGIN 2 (C7) menu. Navigate to the DESTINATION TAG parameter and set this value to 0 (zero). Repeat this
operation for the DIGIN 3 (C8) parameter.
Remember to perform a Parameter Save.
ENCODER TYPE = CLOCK/DIRECTION
This (pulse-counting mode) Encoder Type can be set in the ENCODER 2 function block only.
Digital Input 2 (terminal C7) is used to provide the clock - the pulses are applied on C7
Digital Input 3 (terminal C8) is used as a direction input:
When C8 is high, (24V), the count is incremented
When C8 is low, (0V), the count is decremented
Each full pulse received increments the encoder count.
A full pulse is the pulse input going from low to high, and then back to low.
Speed is calculated using the following function: