
www.cs-lab.eu
CS-Lab s.c. | CSMIO-ENC module for threading
4. CSMIO-ENC module installation and configuration
4.1 Installation and connection of CSMIO-ENC module
An encoder should be mounted this way to get encoder- spindle ratio 1:1. The encoder most be firmly
mounted and parts used for driveline must be finely made.
For instance if we have to use a belt drive for the encoder's drive we need to pay attention if gears
and toothed belts are good quality.
Poorly made gears and toothed bars can distort spindle's current position readout what can directly
affect on Z axis feed during threading.
It is not recommended to use an encoder of a servo motor that drives the spindle to avoid spindle
position readout error.
CSMIO-ENC module connection
−The module should be connected to a motion controller (CSMIO/IP-S or CSMIO/IP-A) with the
flat cable included.
−A power supply of the module should be connected the same way as the head controller's
power supply.
−Spindle encoder signals should be connected to inputs described as "encoder 0" as only these
inputs are supported by an algorithm for threading and revs reading.
During an encoder connection remember to keep proper signals' order.
4.2 CSMIO-ENC module configuration
The encoder module configuration is very easy and it comes down to only to operations:
a) Encoder pulses number configuration
Go to „Config\Config Plugins\Config\Special Functions\Spindle” and enter encoder pulses
number incl. all edges in the „Spindle Encoder (CSMIO-ENC)” area.
b) Encoder pulses counting direction configuration
Sometimes it can be necessary to change encoder pulses counting direction. To verify if
current direction is correct you should go to „PlugIn Control\CSMIO_IP plugin\Expansion
modules\CSMIO-ENC\”. Then - activate a spindle with M3 command and verify if RPM value is
positive. If it will be negative you should go to „Config\Config Plugins\Config\Special
Functions\Spindle” and select (check) „Inv. Direction” option.
CSMIO-ENC for proper operation requires all encoder signals (A+/A-/B+/B-/I+/I-).
A shield of an encoder's wire should be connected only from one side to PE or in case of
high noises to GND (0V). CSMIO-ENC power connector can be the place of connection.