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

The text of a spec sheet · part 9 of 23

SLC Servo Control Module (Catalog No. 1746-HSRV) User Manual, pages 81 to 90

Pages 81 to 90 of 224

The original document is the PDF (1.8 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.

Filed in the catalog under the Allen-Bradley 1746-HS

Page 81

7-2

Setting Up Your SLC Servo Module

Understanding the Theory of Motion Control

The major components of a motion control system are: • Machine mechanics • Velocity loop • Position loop

Machine Mechanics Machine mechanics are the combined gearing, ball-screws, and mechanical linkages that convert the motor’s rotary motion into the axis motion that you want.

Velocity Loop Velocity loop is a feedback control loop in which the controlled parameter is encoder velocity. A tachometer is usually used for the feedback device. Command input from the controller to the drive is a DC voltage that is proportional to encoder speed (e.g., 1V equals 5 rpm and 5V equals 5000 rpm). Using the tachometer as feedback, a drive maintains the speed of the encoder at the commanded speed within its output capabilities. A typical drive contains adjustments to do the following: • Scale the input command voltage to the motor speed. • Zero the motor speed for a zero input command. • Set the maximum current (torque) to the motor. • Control the response of the velocity loop. Refer to the drive manual for instructions on setting these adjustments.

Position Loop Position loop is a feedback control loop in which the controlled parameter is mechanical position. The position loop compares position feedback with the position command to modify the velocity output signal to correct for any position error. Encoders are position measuring devices that provide the SLC Servo Module with precise actual axis position at all times. Based on motion statements, the SLC Servo Module computes an axis position and compares it to the actual axis position. Following error is the difference between the commanded axis position and the actual axis position. Axis gain (or Publication 1746-6.1.2 - July 2000

Page 82

Setting Up Your SLC Servo Module

7-3 position loop gain) sets the response on the position loop and scales the following error to the velocity command output (drive input). Your SLC Servo Module is a single-axis motion control that resides in a 1746 (SLC) rack. With a drive and servo motor, an SLC Servo Module can control the position of one axis with encoder feedback. You can place multiple SLC Servo Modules in one SLC Rack to control an entire machine.

Powering Up the SLC Servo Module

The SLC Servo Module requires power from the SLC Rack backplane and the termination panel for proper operation. You must power-up the SLC Rack with the SLC Servo Module in the rack. To power-up the SLC Servo Module: 1. Verify that your power supply connections for +5V DC, ±15V DC, and +24V DC are properly connected to the termination panel. 2. Verify that your cable between the termination panel and the SLC Servo Module is plugged in at both ends and the connectors are securely in place. 3. Apply power to the termination panel and SLC Rack power at the same time. The SLC Servo Module’s green RUN LED is lit after a short delay for diagnostics. 4. If the SLC Servo Module’s RUN LED is: ON OFF

Configuring the SLC Processor

Then: Go to step 5. Go to step 1. (The SLC processor indicates a slot fault at the SLC Servo Module location.)

The SLC processor must be configured to accept the SLC Servo Module as an I/O device. Configure your processor by using the AI500, APS, or RSLogix 500 software running on a personal computer. Use the following table to locate your configuration instructions. Although configuration steps are similar, they are not identical.

If you are using:

Go to:

AI500

Configuring Your Processor Using AI-500 Software

APS

Configuring Your Processor Using APS Software

Publication 1746-6.1.2 - July 2000

Page 83

7-4

Setting Up Your SLC Servo Module

If you are using:

Go to:

RSLogix 500

Configuring Your Processor Using RSLogix 500 Software

Configuring Your Processor Using AI-500 Software Configuring your processor involves assigning the SLC Servo Module to an open slot in the chassis, setting the file length, and entering the parameters. To assign the SLC Servo Module to an open slot: 1. Press F1 (Select Program/SLC-500 Addr). 2. Select project file. 3. Press Enter. 4. Press F2 (Offline Programming/Doc) The Offline Ladder Editor screen opens. 5. Press F6 (Utility). 6. Press F3 (Type/sr). 7. Select an open slot in the chassis. 8. Press F5 (Select). 9. Select 1746-HSRV Single Axis Motion Controller from the list. 10. Press Enter. To set the file length and enter parameters: 1. Press F8 (SPIOCFG). 2. Press F1 and set the M0 file length to 1664 words. 3. Press Enter. 4. Press F2 and set the M1 file length to 1659 words. 5. Press Enter. 6. Press F6 and set the G file size to 0 words. Publication 1746-6.1.2 - July 2000

Page 84

Setting Up Your SLC Servo Module

7-5

7. Press Enter. 8. Press ESC three times to return to the top screen of the Offline Ladder Editor screen. 9. Press F8 (Display). 10. Press F1 (addr). 11. Enter desired data table address. 12. Press Enter. 13. Enter parameters into Bit (B), Integer (N), or Float (F) files. 14. Press ESC to return to Offline Editor screen. IMPORTANT

Use F1 to change the radix between binary and decimal.

Configuring Your Processor Using APS Software Configuring your processor involves assigning the SLC Servo Module to an open slot in the chassis, setting the file length, and entering parameters. To assign your SLC Servo Module to an open slot: 1. Press F4 (OFFLINE CONFIG). 2. Select project file. 3. Press Enter. 4. Press F1 (OFFLINE PRG/DOC). 5. Press F1 (PROCESSOR FUNCTIONS). 6. Press F1 (CHANGE PROCESSOR). 7. Press F5 (CONFIG I/O). 8. Select an open slot. 9. Press F5 (MODIFY SLOT).

Publication 1746-6.1.2 - July 2000

Page 85

7-6

Setting Up Your SLC Servo Module

10. Select OTHER. In the Module ID Code area, type 10114. The ID of the SLC Servo Module automatically creates twelve input words and twelve output words. 11. Press Enter. To set the file length and enter parameters: 1. Press F9 (SPIO CONFIG). 2. Press F5 (ADVNCD SETUP). 3. Press F5 and set the M0 file length to 1664 words. 4. Press Enter. 5. Press F6 and set the M1 file length to 1659 words. 6. Press Enter. 7. Press ESC. 8. Press F7 and set the G file size to 0 words. 9. Press Enter. 10. Press ESC. 11. Press F8 (EXIT). 12. Press F8 (SAVE AND EXIT). 13. Press F8 (MONITOR FILE). 14. Press F8 (DATA MONITOR) from the top screen of the Offline Editor screen to enter parameters into Bit (B), Integer (N), or Float (F) files. IMPORTANT

Publication 1746-6.1.2 - July 2000

Use F1 to change the radix between binary and decimal.

Page 86

Setting Up Your SLC Servo Module

7-7

Configuring Your Processor Using RSLogix 500 Software Use the table below to determine which configuration procedure to follow. When Working:

Go to:

Online

Automatically Configuring the SLC Servo Module

Offline

Manually Configuring the SLC Servo Module

Automatically Configuring the SLC Servo Module To configure your SLC Servo Module automatically: 1. From the menu bar, select File. The File menu appears. 2. Select New. The Select Processor Type window appears.

3. Assign a name for your new RSLogix 500 project file and type it in the Processor Name field. 4. Select your SLC processor from the list of processor types. Default values assigned to the selected processor appear in the Communications Setting area. 5. Select OK. The processor database is initialized and the RSLogix 500 navigator window appears with the name you typed in the Processor Name field.

Publication 1746-6.1.2 - July 2000

Page 87

7-8

Setting Up Your SLC Servo Module

6. In the navigator window, double-click on I/O Configuration. The I/O Configuration window appears. In the example below, field 1 of the racks area contains a four slot rack.

7. To automatically configure your SLC Servo Module, select Read I/O Config. The Read I/O Configuration From Online Processor window appears showing the parameters of the read process.

8. Select Read I/O Config. The SLC processor reads the configuration.

Manually Configuring the SLC Servo Module To configure your SLC Servo Module in manual mode: 1. From the menu bar, select File. The File menu appears.

Publication 1746-6.1.2 - July 2000

Page 88

Setting Up Your SLC Servo Module

7-9

2. Select New. The Select Processor Type window appears.

3. Assign a name for your new RSLogix 500 project file and type it in the Processor Name field. 4. Select your SLC processor from the list of processor types. Default values assigned to the selected processor appear in the Communications Setting area. 5. Select OK. The processor database is initialized and the RSLogix 500 navigator window appears with the name you typed in the Processor Name field. 6. In the navigator window, double-click on I/O Configuration. The I/O Configuration window appears. In the example below, field 1 in the Racks area contains a four slot rack.

7. Your hardware configuration determines the number of slots in the first rack. If your SLC rack has:

In field 1 of the Racks area, select:

These slots appear below the Racks area in the # column:

4 slots

1746-A4 4-Slot Rack

0-3

Publication 1746-6.1.2 - July 2000

Page 89

7-10

Setting Up Your SLC Servo Module

If your SLC rack has:

In field 1 of the Racks area, select:

These slots appear below the Racks area in the # column:

7 slots

1746-A7 7-Slot Rack

0-6

10 slots

1746-A10 10-Slot Rack

0-9

13 slots

1746-A13 13-Slot Rack

0-12

IMPORTANT

Your SLC processor always appears in slot 0. The remaining slots are available for assigning to other hardware. Make sure the SLC Servo Module is in slot 1.

8. Select slot 1. The column line of slot 1 is highlighted. 9. In the Filter field in the Current Cards Available area, select Interface. Part numbers and descriptions appear in the Current Cards Available area. 10. Select 1746-HSRV Motion Control Module. IMPORTANT

An alternative way to assign the SLC Servo Module is to double-click on Other in the listing, type 10114 in the Other Type I/O Card window, and select OK.

11. Press Enter. The part number and description of the SLC Servo Module appears in the slot you selected.

Publication 1746-6.1.2 - July 2000

Page 90

Setting Up Your SLC Servo Module

7-11

12. Select Adv Config. The Advanced I/O Configuration window appears showing the slot you selected and default information for the 1746 HSRV Motion Control Module.

13. Select OK.

The SLC Servo Module Interface

The SLC Servo Module is a 12-word Input/Output specialty I/O module. The module uses M files to download the module configuration information. The module can also be configured to enable the module interrupt capability available with the SLC Backplane Interface.

Configuring the SLC Servo Module

You configure the SLC Servo Module using M files that reside on the SLC Servo Module. Refer to the SLC 500 Reference Manual (publication 1747-6.15), M0 and M1 data file section, for the M file interface and addressing convention information. M files reside on the module and are referenced by the ladder logic the same way as an integer file that resides on the module. There are two M files (M0 and M1) associated with this and any specialty module. The SLC Servo Module only uses the M0 file that is used to transfer the configuration information from the SLC Ladder to the SLC Servo Module. Refer to Figure 7.1 for a functional block diagram of the data flow. The application program uses a copy file instruction to transfer the data from a source integer or float file to the M0 file in the slot that you want in the SLC Servo Module. A copy file instruction associated with the M files works as an immediate output instruction. Therefore, the normal ladder program execution stops when it encounters the copy instruction with the M file. Ladder program execution does not

Publication 1746-6.1.2 - July 2000