Alter ELETTRONICA S.R.L. 15033 Casale Monferrato (AL) - ITALY
Alter ELETTRONICA S.R.L. 15033 Casale Monferrato (AL) - ITALY
Alter ELETTRONICA S.R.L. 15033 Casale Monferrato (AL) - ITALY
13/013
Converter module Serial Encoder / Encoder TTL
Manual Instructions: 91/122 - Version 4.0 - Date: 28/04/2021
Compatible with Firmware V4.xV4.x
Chapter 1 - Index Module 13/013 Instruction manual 91/122 V4.0
Chapter 1 - Index
General Index
Chapter 1 - Index................................................................................................................................................................. 2
Chapter 2 - Safety information.............................................................................................................................................3
Chapter 3 - Technical characteristics....................................................................................................................................4
3.1 - Generality............................................................................................................................................................... 4
3.2 - Identification plate..................................................................................................................................................5
3.3 - Technical data.........................................................................................................................................................6
3.4 - Functional scheme..................................................................................................................................................6
Chapter 4 - Installation.........................................................................................................................................................7
4.1 - Preliminary operations............................................................................................................................................7
4.2 - Connection power supply services (X1).................................................................................................................7
4.3 - Signal connections..................................................................................................................................................7
4.3.1 - Analog input connector (X2)..........................................................................................................................7
4.3.2 - Connector analog outputs (X3).......................................................................................................................7
4.3.3 - Can Bus connector (X4).................................................................................................................................8
4.3.4 - USB connector (X5).......................................................................................................................................8
4.3.5 - Serial encoder input connector (X6)...............................................................................................................8
4.3.6 - Emulated encoder output connector (X7).....................................................................................................10
4.3.7 - Signal output connector Frequency/direction (X8).......................................................................................10
4.3.8 - Digital input connector (X9).........................................................................................................................10
4.3.9 - Digital output connector (X10).....................................................................................................................11
4.4 - Restarting after an alarm.......................................................................................................................................12
Chapter 5 - Commissioning...............................................................................................................................................13
5.1 - Predispositions......................................................................................................................................................13
5.2 - Introduction to PC software..................................................................................................................................13
5.3 - Activation of the communication port...................................................................................................................13
5.4 - How to Change Values..........................................................................................................................................14
5.5 - Rapid commissioning...........................................................................................................................................14
5.5.1 - Connection to an ALTER drive model PWM3D...........................................................................................14
5.5.2 - Connection to equipment that does not use Hall sectors...............................................................................15
5.5.3 - Connection to a generic drive.......................................................................................................................15
5.6 - Setting the module parameters..............................................................................................................................16
5.7 - Setting up digital inputs........................................................................................................................................16
5.8 - Setting digital outputs...........................................................................................................................................17
5.8.1 - Signal sources for digital outputs..................................................................................................................17
5.9 - Setting analog outputs...........................................................................................................................................17
5.10 - Verification of encoder operation........................................................................................................................18
5.11 - Frequency/direction output verification..............................................................................................................18
5.12 - Encoder phasing.................................................................................................................................................18
5.13 - Save/Restore Parameters.....................................................................................................................................19
5.13.1 - Transfer parameters from module to PC.....................................................................................................20
5.13.2 - Transfer parameters from PC to module.....................................................................................................20
5.14 - Module alarms....................................................................................................................................................21
5.14.1 - Reset alarms................................................................................................................................................22
5.15 - Diagnostics.........................................................................................................................................................22
Chapter 6 - Annexes...........................................................................................................................................................23
6.1 - Led Summary Table..............................................................................................................................................23
Chapter 7 - Mechanical characteristics...............................................................................................................................24
This symbol indicates the possibility of even serious injuries to people, due to electrical or mechanical shocks.
ATTENTION:
This symbol indicates the possibility of damage to things or to the module itself.
WARNINGS:
✔ Make sure that the power supply voltage of the module matches the plate data.
✔ Never feed the module without the lid and never remove the lid while the power supply is present.
✔ Do not perform manipulations on the module with wet hands. There is a danger of electrical shocks.
✔ Before starting wiring make sure there is no power supply.
✔ All power sources must be disconnected before any maintenance is carried out.
✔ Maintenance, inspection and replacement shall be carried out by a designated person.
All other spaces not indicated, are not used in this product.
Chapter 4 - Installation
4.1 Preliminary operations
• Check that the module has suffered no damage in the transport.
• Mount the module vertically away from heat sources.
• Use unpainted sheet fixing panels connected to the ground.
• Connect to a good ground one of the ground terminals placed on the sides of the module.
• Follow the link patterns shown in the manual.
• Use shielded cables for signal connections.
• Connect to the ground on the carpentry or on the terminals arranged on the two ends of the shields.
• Do not use terminal blocks but only shielded connectors for signal shielded cable junctions.
• Mounting noise suppressors (off for c.a./diodes per d.c.) parallel to the coils of all contactors, relays, solenoid valves, single-
phase motors, three-phase motors, etc.
NAME DESCRIPTION
AO2 Analog output 2. Not in use.
A0V 0V analog. The analog 0V is connected to the module case.
AO3 Analog output 3. Not in use.
A0V 0V analog. The analog 0V is connected to the module case.
Features common to all analog outputs:
• Maximum voltage: ±10V (or 0 ÷ 10V) between the output pole and A0V.
• Output resistance: IT’S 100 Ω.
• Resolution: 14 bits plus sign.
Always use good quality shielded cables and connect the two ends of the shield to the ground. On the module case, near the connect-
ors, anchorages are available for the shields.
NOTE: Due to the output resistance of 100 Ω, it should be considered that it may be necessary to adjust the gain of the analog
output to reach the value of 10V indicated in the characteristics. For example: if the analog output is connected to an analog input
of a drive having an input resistance of 10KΩ, it must be considered that from vacuum to load the signal will fall by about 1 %, so
instead of 10V we will have 9.9V.
View of the connector type “D” 25 poles female on the welding side.
There are various types of connectors on the Encoder side, below some known models:
TYPE 1 TYPE 2
SIGNAL N. PIN SIGNAL N. PIN
+5V K +5V 8
0V T 0V 7
REQ F REQ 6
*REQ G *REQ 5
SD A SD 2
*SD D *SD 1
TYPE 3 TYPE 4
SIGNAL N. PIN SIGNAL N. PIN
+5V 13+14 +5V 8+15
0V 3+4 0V 2+10
REQ 7 REQ 5
*REQ 9 *REQ 6
SD 8 SD 12
*SD 10 *SD 13
View connector from the welding side (Connector type “D” 15 pole female).
This connector is used to send the signal of the emulated encoder to the CNC (or other users): it is identical to the signal provided by a
classic incremental TTL Line Driver square wave encoder with 4096 ppr (Pulse/turn) per channel.
If necessary, the setting of generated PPRs can be changed: See explanations for the configuration in the paragraph 5.6 on page 16.
Also on this connector it is advisable to use shielded cable with twisted conductors in pairs.
NAME DESCRIPTION
DI9 Digital input 9: unused
D0V 0V digital inputs.
A0V 0V analog. The analog 0V is connected to the module case.
+24V Power supply +24V – 100mA max.
Power supply voltage from l8Vcc to 30Vcc (nominal 24Vcc). The 24Vcc power supply can be supplied by the module itself (if the
total current absorbed by the loads connected to the outputs does not exceed 100mA): Connect D24 with terminal +24V (see para-
graph 4.3.9) and D0V with A0V terminal. If the internal power supply cannot be used, an external power supply must be used.
The status of each digital input is displayed by the corresponding LED which indicates that the command is valid (see paragraph 6.1
on page 23).
Examples of connections to digital inputs:
Drawing 2: Connecting contacts to digital inputs Drawing 3: Connecting PLC outputs to digital inputs
Drawing 4: Relay connection to digital outputs Drawing 5: Connecting PLC inputs to digital outputs
Chapter 5 - Commissioning
To configure the module you need to be provided with:
1. A PC with Windows operating system.
2. A free USB port on your PC (you can also use a Hub Usb).
3. A USB connection cable type B (the one used for USB printers).
4. The software to be uploaded to the PC to interface to the module (supplied by Alter on request).
5. The driver for USB connection (if an Internet connection is available, this is not necessary as the module is Plug & Play and
the driver is automatically downloaded).
In the absence of one of the above points it will not be possible to configure or do a diagnostic of the module.
NOTE: this manual does not deal with the topic of installing the software, drivers or other problems related to compatibility with
the PC supplied to the customer. In case of need, you can contact the ALTER technical office. Putting into service presupposes that
the customer’s PC is configured and ready to use.
5.1 Predispositions
Before setting the parameters in the module it is mandatory to follow these points:
• Connect the cable between Encoder and X6 connector as indicated in paragraph 4.3.5 on page 8.
• Connect the cable between the drive (or other user of the emulated encoder) to the X7 connector as specified 4.3.6 in para-
graph on page 10.
• Supply the auxiliary power supply to the appropriate terminals (see paragraph 4.2 on page 7).
• All the LEDs will turn on for 3 seconds (Led Test), then most of them will turn off.
• Check that the green LED “ON” is flashing. For the moment the other LEDs don't matter.
• Connect a head of the USB cable to the module X5 connector and the other end to a free USB port in the PC.
• If necessary, wait for the PC to install the driver for the module.
• Launch the programming software on your PC.
• If communication between the PC and the module is correct, the words ‘RS232’ should not appear on the PC and in the
lower right edge; COMx; Speed=57600”.
• At this point we can continue with the other paragraphs.
5.3. Encoder Resolution (Encoder Lines): 4096 or the value read in the parameter “Parameters.EmulEncType” some points
above.
The commissioning for this type of use ends here. If you want more information on the various menus available in the programming
SW, you can see from the paragraph 5.6 from 16 page onwards.
"Parameters.EncoderDir“, add 180° to the angle of “AngleEleOffs” and repeat from the previous point.
9.9. When you have found the right OFFSET value that allows a proper and controlled rotation of the motor, you can make a
finer adjustment with the next points.
9.10. Change the parameter ”SpeedIncAngleOffs“ to 1.0°/sec. In this way the offset change will be slower.
9.11. Enable motor operation with a very low speed reference (approximately 10 RPM).
9.12. With the hand, the crank shaft of the motor must be braked lightly until the blows are heard on it due to the switching
of the windings.
9.13. Try to control the input DI2 (or DI3) until you feel that the shots are reduced. Instead if the blows increase you have to
act on the other digital input.
9.14. As an alternative to the use of DI2 and DI3 inputs, you can manually change the offset of the electrical angle by chan-
ging the parameter "Parameters.AngleEleOffs“ in small steps.
9.15. The points from 9.12 to 9.14 are to be repeated until satisfactory operation is achieved.
9.16. At the end, return the parameter "CmdModule.PhaseReg" in ”INACTIVE“ mode.
9.17. If the motor runs in the opposite direction, the parameter "Parameters.EmulEncDir“ from NORMAL to REVERSE
must be changed.
10. At the end of this procedure, the modified parameters must be saved again: In the “Project Tree” select the group “Save/Re-
store Parameters”. In the first highlighted line of GREEN color click on the letter on the right to store the changed paramet -
ers. For further information, see paragraph 5.13 on page 19.
The commissioning for this type of use ends here. If you want more information on the various menus available in the programming
SW, you can see from the paragraph 5.6 from 16 page onwards.
• The word “START” will appear. Press the mouse pointer on the lettering.
• After a few moments in the 2nd line the words “BACKUP OK” (see drawing 11) will appear if the copy is finished cor-
rectly; otherwise “BACKUP ERROR” will appear and there will be error codes in the next rows. If necessary, these codes
can be communicated to ALTER to verify the malfunction.
• If the copy is finished correctly, you can also turn off the module without risk of losing the input values.
Restore parameters: In case of need it is possible to restore the
factory parameters. Of course, all changes made during commis-
sioning will be lost. In order to avoid accidental restoration, the
procedure to be carried out is more complex:
Drawing 12: Restoring Parameters
• With the mouse pointer press once on the inscription “INACTIVE” on the orange color row with the words “ Factory data
reset”.
• A gray square will appear. Press with the mouse pointer on the square.
• A menu with two entries will appear: INACTIVE and ACTIVE. Select the item “ACTIVE”.
• At this point you have to get a situation as in drawing 12.
• Remove the power supply of the services for a few seconds and then restore it.
• At the end of the restart will be loaded the original parameters, but to make them definitive you need to overwrite the previ -
ous ones, following the procedure “Save parameters” in this paragraph.
NOTE: By forcing the user to follow this parameter restoration procedure, it is ensured that even in case of unwanted command
the previous data is not lost. In fact, even if the user accidentally performed a restoration, there is still the possibility of recovering
the error made: simply do NOT save the restored parameters, turn off and switch on again the module to find the previous para-
meters again.
5.13.1 Transfer parameters from module to PC
You can transfer the parameters from the module to the PC and save them to the HD for storage or to restore them to the module in
case of replacement. With the following procedure will be transferred all the parameters currently used in the module (i.e. those dis-
played in the various menus) that could also be different from those saved in the internal memory:
1. In the programming software click on the top menu "Tools → S-Record Transfer...“. A window will appear divided into four
zones with set values or buttons to press.
2. Check that everything is set at the top as in the following figure (except “address used”):
encoder, setting it to a value other than 0. This value entered will be the delay in cents of a second that will occur from the
disappearance of the alarm cause to the reset of the module.
5.15 Diagnostics
In the “Project Tree” select the group “Diagnostics”: here you can find some data that can be useful for talking to the ALTER tech-
nical service.
Chapter 6 - Annexes
6.1 Led Summary Table
The following table lists the components as they appear on the front of the module, starting from the upper left edge.
NAME DESCRIPTION Reference
USB USB USB communication between module and PC Paragr. 5.3 on page 13
FLT Fault Alarm module Paragr. 5.14 on page 21
DI1 Digital Input 1 Command Digital input 1 (Reset Alarms) Paragr. 4.3.8 on page 10
DI2 Digital Input 2 Command Digital input 2 (command increases offset) Paragr. 4.3.8 on page 10
DI3 Digital Input 3 Command Digital input 3 (command decreases offset) Paragr. 4.3.8 on page 10
DI4 Digital Input 4 Command Digital input 4 (not used) Paragr. 4.3.8 on page 10
DI5 Digital Input 5 Command Digital input 5 (not used) Paragr. 4.3.8 on page 10
DI6 Digital Input 6 Command Digital input 6 (not used) Paragr. 4.3.8 on page 10
DI7 Digital Input 7 Command Digital input 7 (not used) Paragr. 4.3.8 on page 10
DI8 Digital Input 8 Command Digital input 8 (not used) Paragr. 4.3.8 on page 10
DI9 Digital Input 9 Command Digital input 9 (not used) Paragr. 4.3.8 on page 10
DO1 Digital Output 1 Status Digital output 1 (signal OK MODULE) Paragr. 4.3.9 on page 11
DO2 Digital Output 2 Status Digital output 2 (signal Communication with ENCODER) Paragr. 4.3.9 on page 11
DO3 Digital Output 3 Status Digital output 3 (signal position ENCODER initialised) Paragr. 4.3.9 on page 11
DO4 Digital Output 4 Status Digital output 4 (signal TIMEOUT ERROR) Paragr. 4.3.9 on page 11
DO5 Digital Output 5 Status Digital output 5 (signal received DATA ERROR) Paragr. 4.3.9 on page 11
DO6 Digital Output 6 Status Digital output 6 (signal INTERNAL ENCODER ALARM) Paragr. 4.3.9 on page 11
ON Module ON Module powered and running (flashing). Paragr. 5.1 on page 13
Mass: 0,8 Kg