Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeContact

The text of a manual · part 32 of 60

PiC900 Hardware Manual: D.4 - Servo Module Encoder with Analog Input, pages 263 to 271

Pages 263 to 271 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 263

D.4 - Servo Module Encoder with Analog Input Introduction

The servo encoder module provides: •

2 analog output channels

•

4 analog input channels

•

3 encoder input channels

•

3 fast inputs

An LED goes on when the fast input for each encoder channel is energized. The DIAG LED goes on briefly while the diagnostic tests are running. Figure D4-1. Servo Encoder Module

SERVO ENCODER

Name of module Diagnostic LED

DIAG

IN1

Fast input LEDs

IN2 IN3

1 3 5 7 9 11 13 15

Screw terminal connector

17 19 21 23 25 27 29 31 33 35 37 39

Door

AG11-0493

D.4 -1

Page 264

Servo Module Encoder with Analog Input

Connections

All signals to the module must come to the screw terminal connectors through shielded twisted pair wires. Shielded twisted pair wires are used to connect: •

Each analog output channel to a receiving device.

•

All analog input signals to the module.

•

All encoder signals to the module.

•

All fast input signals to the module.

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.

IMPORTANT One end of the shield from the twisted pair wire must be connected to chassis ground. Any power supplies used must be connected to the Single Point Ground. Figure D4-2 shows the assignments for all the screw terminal connections on the module.

D.4 -2

Page 265

Servo Module Encoder with Analog Input

Figure D4-2. Connections for the Servo I Encoder Module Terminals SCREW TERMINALS CONNECTIONS

CONNECTIONS

Analog Output

An Out Ch 1An Out Ch 2-

3

An Out Ch 2+

Analog Output

An Out Ch 1+ 1

An In Ch 1+ An In Ch 2+

5

An In Ch 2-

7 Ch 1 250 Ω resistor

Ch 2 250 Ω resistor

9 An In Ch 3+

An In Ch 4+

11

An In Ch 4-

13

Analog Input

Analog Input

An In Ch 1-

An In Ch 3Ch 3 250 Ω resistor Ch 4 250 Ω resistor

15

Enc Ch 1 A

17

Enc Ch 1 B

19

Enc Ch 1 Index

21

Enc Ch 2 A

23

Enc Ch 2 B

25

Enc Ch 2 Index

27

Enc Ch 3 A

29

Enc Ch 3 B

31

Enc Ch 3 Index

33

Ch 1- Fast Input

35

Ch 2- Fast Input

37

Ch 3- Fast Input

39

Enc Ch 1 A Enc Ch 1 B

Enc Ch 1 Index

Enc Ch 2 A

Encoder Input

Enc Ch 2 Index Enc Ch 3 A

Encoder Input

Enc Ch 2 B

Enc Ch 3 B

Enc Ch 3 Index

Ch 2+ Fast Input

Ch 3+ Fast Input

Fast Input

Fast Input

Ch 1+ Fast Input

AG09-0393

D.4 -3

Page 266

Servo Module Encoder with Analog Input

Analog Output Connections

You may connect the differential type output from this module to a single-ended or differential input device. Figure D4-3 shows the difference between the two types of connections. Note that one wire in the twisted pair is connected to the 0 V terminal on the single-ended receiving device. This 0V terminal must be referenced to the SPG through the device's ground connection. Figure D4-3. Differential and Single-Ended Receiving Devices Receiving Device

Analog Out Section

Differential input device

CH1

CH1

GND

To SPG

GND

CH1 CH2

CH2

0V

Single-ended input device

To SPG

D.4 -4

1

Channel 1

3

Channel 2

CH1

CH2

Page 267

Servo Module Encoder with Analog Input

Analog Input Connections

Each input channel has three connection pins. The signals are: + voltage input - voltage input 250 ohm current sense resistor for 0/20 mA and 4/20 mA applications When connecting an analog voltage output device to the module, the positive wire of the twisted pair goes to the + screw terminal and the negative wire goes to the screw terminal. Figure D4-4 illustrates these connections for channel one. Notice that no connection is made to the screw terminal with the internal 250 Ω resistor when connecting a voltage source device. Figure D4-4. Voltage Input Connections Analog Input Section Voltage + signal source

-

Ch 1 +

5

Ch 1 -

7

Ch 1 250 ohm Resistor

9

Channel 1

To SPG 11 13 15

D.4 -5

Page 268

Servo Module Encoder with Analog Input

When using a 0 to 20 mA or 4 to 20 mA current output device, the positive wire of the twisted pair is connected to the + input and the negative wire is connected to the 250 Ω resistor input. A jumper is placed between the - input and the 250 Ω resistor input as shown in Figure D4-5 (from pin 8 to pin 10 for channel 2). This connects a 250 Ω internal resistor across the input. Figure D4-5. Current Input Connections (0 to 20 or 4 to 20 mA)

Analog Input Section

Power + supply

-

5

Current signal + source

Ch 2 +

0 to 20 or 4 to 20 mA

Ch 2 -

7 9

To SPG

Ch 2 250 ohm Resistor

11 13 15

D.4 -6

Page 269

Servo Module Encoder with Analog Input

An alternative method of connecting a two wire 4 to 20 mA current device is shown in Figure D4-6. Place a jumper between the - input and the 250 Ω resistor input. Figure D4-6. Current Input Connections (4 to 20 mA) Current signal source

Output

+ Input from power supply

Analog Input Section 5 Ch 2 +

Power + supply

Ch 2 -

-

7 9

Ch 2 250 ohm Resistor

11

To SPG 13 15

D.4 -7

Page 270

Servo Module Encoder with Analog Input

Figure D4-7 illustrates an example of wiring an external potentiometer to the module using twisted pair wire. For this example, set up the channel initialization function (A_INCHIT) in software for 5 V unipolar with a filter of 100 ms. The 5 V power supply output voltage adjustment can be set for the maximum potentiometer output value. For example, the supply could be adjusted until the VALU output of the analog input channel read function (A_INCHRD) reads 4095 with the pot at its maximum position. Figure D4-7. Adding an External Potentiometer Analog Input Section 5Volt + Adjustable Regulated Power supply -

5

1K to 50K Pot

Ch 2 + Ch 2 -

7 9

To SPG

Ch 2 250 ohm Resistor

11 13 15

D.4 -8

Page 271

Servo Module Encoder with Analog Input

Encoder Connections

Each encoder 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 Encoder Drivers

Information from the encoders is used to update three 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. Acceptable drivers provided by encoder manufacturers include: Differential voltage drivers

75183 8830 75114 9614 7513 26LS31

Single-ended open collector drivers

7406

339 type output devices will not work with the module 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.

D.4 -9