The text of a manual · part 29 of 60
PiC900 Hardware Manual: D.1 - Input Encoder Module (2, 4, or High-Speed 4 channel)
Pages 235 to 246 of 508, from PiC900 Hardware Manual
The original document is the PDF (3.7 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Giddings & Lewis 502-03550-02
Page 235
Input Encoder Module (2, 4, or High-Speed 4 channel)
D.1 - Input Encoder Module (2, 4, or High-Speed 4 channel) Introduction
The encoder module can interface to two or four independent incremental encoders or equivalent devices. Information from the encoders is used to update four separate position counters and latches within the module. For each channel, a 24-bit counter is incremented or decremented based on signals it receives from the A and B outputs of an encoder. The counter value can be latched (stored) if the module receives either an "index" signal from the encoder or a 24 VDC "fast" input signal. An LED in the upper section of the module goes on when the fast input for each channel is energized. The DIAG LED goes on briefly while the diagnostic tests are running. Figure D1-1. INPUT ENCODER module
INPUT ENCODER
Name of module Diagnostic LED
DIAG
IN1
Indicator LEDs for fast inputs
IN2 IN3 IN4
1 3 5 7 9 11 13 15
Screw terminal connector
17 19 21 23 25 27 29 31 33 35 37 39
Door
AA66-0190
D.1 -1
Page 236
Input Encoder Module (2, 4, or High-Speed 4 channel)
Connections
All signals to the encoder module must come to its screw terminal connector through shielded twisted pair wires. These wires must be protected against electrical noise because of the speed and/or voltage levels of the signals transmitted through them. See the discussion on "Preventing electrical noise in data lines" in the Hardware chapter. Each encoder module channel has four signal pairs, each of which has two screw terminal connections. The signal pairs are: encoder input A encoder input B index input 24 VDC fast input In addition the module has eight screw connections for terminating the shields. All eight are connected together inside the module. They are the same point electrically and are connected internally to SPG.
IMPORTANT The power supply to the encoder (or signal source device) must have its common connected to the SPG. If the 24 VDC "fast" input is used, its power supply common must also be connected to the SPG. Figure D1-2 shows the assignments for all the screw terminal connections on the module. To make the diagram more readable, The shielded twisted pair wires are shown with transparent shields. • The shielded twisted pair wires are shown grounded only for channel 4. In an actual application, every cable shield must be grounded. • For the 4 channel module, the fast inputs for channels 1 and 2 are shown in source configuration; those for channels 3 and 4 are shown in sink configuration. •
D.1 -2
Page 237
Input Encoder Module (2, 4, or High-Speed 4 channel)
Figure D1-2. Connections for the Input encoder module (4 ch) terminals ENCODER POWER SUPPLY For High-Speed, 5 VDC For 2 or 4 Ch, 5 to 15 VDC +V 0V
A
1
A A A B ENCODER B index
B
3
B INDEX index TO SPG
CHANNEL
1 5
INDEX A
7
A A A B ENCODER B index
B
9
B INDEX index
CHANNEL
2 11
INDEX A
13
A A A B ENCODER B index index
B
15
B INDEX
CHANNEL
3 17
INDEX A
19
A A A B ENCODER B index index
B
21
B INDEX
CHANNEL
4 23
INDEX SHIELD
25
SHIELD SHIELD
27
SHIELD
24 VDC POWER SUPPLY 0V TO SPG
24 V
SHIELD
29
SHIELD FAST INPUT SWITCHES
SHIELD
31
SHIELD FAST INPUT
33
CHANNEL
35
CHANNEL
FAST INPUT FAST INPUT
2
FAST INPUT FAST INPUT
37
FAST INPUT
CHANNEL
3
FAST INPUT FAST INPUT
1
39
CHANNEL
4
D.1 -3
Page 238
Input Encoder Module (2, 4, or High-Speed 4 channel)
Encoder Drivers
For 2, 4 , and high-speed encoder modules
Acceptable drivers provided by encoder manufacturers include: Differential voltage drivers
75183 8830 75114 9614 26LS31
For 2 or 4 channel encoder modules Single-ended open collector drivers
7406
339 type output devices will not work with the Input encoder module (2, 4 ch) because their output current level is too low. NOTE Encoders with differential drivers are strongly recommended. They provide better noise immunity and capability for the module to detect "loss of feedback." See the section in the Hardware chapter on "Preventing electrical noise in data lines" for a comparison of signals from differential and single-ended drivers. If the encoder has differential output drivers as shown in Figure D1-3, the three encoder outputs are paired: A and A B and B index and index The high speed encoder module accepts differential inputs only.
D.1 -4
Page 239
Input Encoder Module (2, 4, or High-Speed 4 channel)
Figure D1-3. Wiring from an Encoder with Differential Drivers
A A A B ENCODER B index index + -
1
A B
3
B INDEX
5
INDEX
ENCODER POWER SUPPLY +V 0V
25 27
TO SPG
If the 2 or 4 channel encoder has single-ended drivers, there are three single outputs: A, B, and index. Each output is referenced to the +V terminal of the encoder power supply. (See Figure D1-4.) Figure D1-4. Wiring from an Encoder with Single-Ended Drivers
A
A
B
ENCODER B index
+5 to 15 VDC ENCODER POWER SUPPLY
+V 0V
1
A
3
B INDEX
5
INDEX
25
27
TO SPG
The signal at output A or B from the encoder has a frequency that is the product of: the resolution of the encoder in pulses (lines) per revolution, and the speed of the encoder in revolutions per second. Thus an encoder that generates 2,000 pulses (lines) per revolution and rotates at 10 revolutions per second generates 20,000 pulses (lines) per second. In a quadrature
D.1 -5
Page 240
Input Encoder Module (2, 4, or High-Speed 4 channel)
type encoder, the interface module would supply 80,000 Feedback Units per second. Incremental Encoders
An incremental encoder is a position transducer. It transmits quadrature or pulse type signals through its "A" and "B" outputs with a frequency proportional to the rotational velocity of its shaft. It transmits a pulse through its index output once per revolution of the device. There are two types of incremental encoders, quadrature and pulse. Giddings & Lewis recommends quadrature type encoders, which are the most commonly used. A quadrature encoder sends square wave type signals. When the shaft rotates at a constant velocity, the A and B outputs are square waves and are at the same frequency. However they are out of phase with each other by 90°. When the encoder shaft rotates in one direction, each A pulse leads the corresponding B pulse by 90°. When it rotates the other direction each A pulse lags its B pulse by 90°. The signals illustrated in Figure D1-5 indicate that the encoder shaft rotates in one direction at first. Its speed of rotation decreases to 0 and then it starts rotating the other direction. The signals are shown as differential. A is the inverse of the signal A and B is the inverse of signal B. Figure D1-5. Signals Transmitted by a Quadrature Encoder with Differential Outputs OUTPUT
ROTATION SPEED 0
A A
B B AA71-2290
A pulse encoder sends pulses through output A for one direction of its shaft rotation, and output B for the other direction. When the shaft is not rotating, no pulse is generated. The signals illustrated in Figure D1-6 indicate that the encoder shaft rotates in one direction at first. Its speed of rotation decreases to 0 and then it starts rotating the other way. The signals are shown as differential, with the inverse of signal A and the inverse of signal B. A pulse encoder may alternate signals at its two outputs, but it cannot send signals from both outputs at the same time.
D.1 -6
Page 241
Input Encoder Module (2, 4, or High-Speed 4 channel)
Figure D1-6. Signals Transmitted by a Pulse Encoder with Differential Outputs ROTATION SPEED
OUTPUT
0 A A
B B AA70-1690
Theory of Operation
The encoder module uses differential type inputs to interface with up to four independent incremental encoders. Quadrature Type For the 2, 4 channel module •
The maximum input frequency is 250,000 lines per second, which results in 1,000,000 Feedback Units (FUs) per second in the encoder module.
For the high-speed module •
The maximum input frequency is 2,500,000 lines per second, which results in 10,000,000 Feedback Units (FUs) per second in the encoder module. Figure D1-7. Counting quadrature pulses
A B
The module counts positive and negative transitions at both channel A and channel B. One quadrature cycle in this case gives 4 Feedback Units.
Pulse Type For the 2, 4 channel module •
The module can accept up to 500,000 pulses per second at either input.
For the high-speed module •
The module can accept up to 5,000,000 pulses per second at either input.
For each encoder channel, there is a 24-bit up/down counter. It is incremented or decremented in accordance with the counting mode selected. There is also a 24-bit latch associated with each Input encoder module channel.
D.1 -7
Page 242
Input Encoder Module (2, 4, or High-Speed 4 channel)
The module can be programmed so that the counter value is "latched" or stored under one of these conditions: an index pulse from the encoder • a positive or negative transition of the fast input • the next index pulse after the required transition of the fast input •
Each of the four 24-bit latches has a fast 24 VDC input associated with it. Each input is optically isolated. This input is intended to receive a signal from a device other than an encoder. It is typically used for referencing or synchronization purposes. Fast input characteristics include: The detection of a signal occurs faster than it does for the DC inputs in other modules, due to less filtering. Because of this there is also less noise immunity. • The response to a fast input signal is independent of ladder scan time. The module can be programmed to latch a position count as soon as this input is detected. •
D.1 -8
Page 243
Input Encoder Module (2, 4, or High-Speed 4 channel)
Specification table Characteristic
Input Encoder module (2, 4, HS) specifications
Function
Counts pulses from up to 4 encoders Latches the counter value at an index or 24 VDC input event
Part number
4 ch
502-03782-02 502-03786-02 (2.5 VDC - 7 VDC) (3.5 VDC - 16.5 VDC)
2ch
502-03782-22 (2.5 VDC - 7 VDC)
502-03786-22 (3.5 VDC - 16.5 VDC)
high-speed 502-03947-00
2,4 Ch Encoder (A, B, and index)
Differential or single ended; differential recommended
High-speed Encoder
2632 differential receiver
Guaranteed on, min.
502-03782-XX
502-03786-XX
2.5 VDC @ 2.5 mA 3.5 VDC @ 7.3 mA Input voltage, max.
502-03782-XX
502-03786-XX
7 VDC
16.5 VDC
Input current, max.
502-03947-00 5 VDC
502-03782-XX
502-03786-XX)
22 mA @ 7 VDC
30 mA @ 16.5VDC
Input voltage, threshold (high-speed) ±200mV 120 Ω Input termination (high-speed) Signal pulse width, min. (2, 4 ch) (high-speed)
.6 µs(600 ns) 75 ns
Quad signal freq, max. (2, 4 ch) (high-speed)
250 KHz for A or B input (1 M FU count rate) 2.5 MHz (10M FU count rate)
Pulse signal freq, max. (2, 4 ch) (high-speed)
500 KHz for A or B input (500 KFU count rate) 5 MHz (5M FU count rate)
Field side connection
40 pin card edge connector, screw terminals
Encoder device
1. Quadrature type incremental encoder (recommended) 2. Pulse type incremental encoder
Stored position value range
24-bit up/down counter 24-bit latch
Fast input
Nominal 24 VDC, switched externally to the module Active high or low Reverse polarity protected
Voltage max.
30 VDC
D.1 -9
Page 244
Input Encoder Module (2, 4, or High-Speed 4 channel)
Guaranteed on
15 VDC
Guaranteed off
5 VDC
Input impedance
2.7 K
On/off time, max.
50 µs
Indicator light
LED is lit when current flows into the input
Indicator light, module
DIAG LED goes off after the module passes its diagnostic tests
Cable length, max. (2, 4 ch)
200 ft. @ 250 KHz and 45° quad error (with differential driver)
Cable length, max. (high speed)
50 ft. @ 2.5 MHz with 100 ns minimum separation between A and B
Logic side power requirements (typical for 2, 4 ch)
Logic side power requirements (typical for high-speed)
572 mA 1 mA 1 mA
21 mA per energized input @ 12 mA per fast input @
+5V +5V
370 mA
@
+5V
12 mA per fast input
@
+5V
Field side power dissipation, worst case (2, 4 ch)
7.4 W
Field side power dissipation, worst case (high speed)
1.5 W from encoder +5V supply 1.6 W from fast input supply
Operating temperature range
7° C to 55° C (45° F to 131° F)
Storage temperature range
-40° C to 85° C (-40° F to 185° F)
Humidity
5 to 95%, non-condensing
D.1 -10
@ +5V @ +15V @ -15V
Page 245
Input Encoder Module (2, 4, or High-Speed 4 channel)
CE Marked
Conforms to Directives 73/23/EEC, 89/336/EEC, 92/ 31/EEC, 93/68/EEC by conforming to the following standards: EN 50081-2:1993 EMC Generic Industrial Emissions EN 50082-2:1995 EMC Generic Industrial Immunity EN 61131-2:1994/A11:1996 Low voltage directive requirements for programmable controllers Operates with emissions below EN55011/ CISPR 11 Class A limits Immune to: • Electrostatic discharge (4K V contact mode, 8K V air discharge) per EN61000-4-2 • RF electromagnetic fields per EN61000-4-3, ENV 50141, and ENV50204 • Electrical fast transients per EN61000-4-4 • Magnetic fields per EN61000-4-8 Refer to the EMC Guidelines for more information.
UL and C/UL Listed
File No. E126417 NRAQ Programmable Controllers
Physical size
1.6" wide x 12" high x 8.4" deep (including latch) 41 mm x 305 mm x 213 mm
Vibration (per IEC 68-2-6)
10-57 Hz (constant amplitude .15 mm) 57 - 2000 Hz (acceleration 2 g)
Shock (per IEC 68-2-27)
Four shocks per axis (15g/11 msec)
D.1 -11
Page 246
Input Encoder Module (2, 4, or High-Speed 4 channel)
NOTES
D.1 -12