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 11 of 23

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

Pages 101 to 110 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 101

7-22

Setting Up Your SLC Servo Module

2. Set the SLC Servo Module in Estop. 3. Toggle the bit (word 0, bit 15) to download this configuration. 4. Reset Estop. IMPORTANT

A gain of 1.0 in SLC Servo Module units is equivalent to a gain of 16.6667 inverse seconds.

5. Create a program that loops so that one long move in each direction (separated by a 4-second delay) occurs. 6. Execute the loop program. 7. Set the programmed speed at 90% of maximum speed. 8. Setup a % acceleration function within the program. 9. Execute the program beginning with a % acceleration ramp of 10%. 10. Look for overshoot as the axis reaches maximum speed and slows to a stop. 11. Increase the % acceleration ramp until overshoot occurs in the axis following error. 12. If: Overshoot is observed during starting or stopping No overshoot is observed during starting or stopping

Then: Reduce the % of acceleration rate until there is no overshoot. Go to step 13.

13.

Publication 1746-6.1.2 - July 2000

Calculate:

To equal:

Time to maximum speed (new value)

1.05 multiplied by time to maximum speed (current value) (% acceleration rate expressed as a decimal)

Page 102

Setting Up Your SLC Servo Module

7-23

For example, the current value for time to maximum speed is 0.2 seconds. From the above motion test, the % acceleration ramp selected is 22%. Calculate:

To equal:

Time to Maximum Speed (new value)

(1.05 seconds x 0.2) divided by 0.22 0.96 seconds

14. Enter the new time to accelerate to maximum speed in configuration file F8 (words 30-31). 15. Set the SLC Servo Module in Estop. 16. Toggle the bit (word 0, bit 15) to download this configuration. 17. Reset Estop.

Determining Velocity and Acceleration Feedforward

The following information for determining velocity and acceleration feedforward is for Velocity Feedforward (VFF) only. Speed calibration and axis acceleration are critical for proper velocity feedforward operation.

Velocity Feedforward With velocity feedforward, you add a percentage of the computed velocity command to the position error velocity command. Velocity feedforward can reduce the following error at constant axis speed to near zero. But at values above 70%, velocity feedforward can introduce a small overshoot at the end of a transition. Select a value acceptable for the application.

Acceleration Feedforward With acceleration feedforward, you add a percentage of the computed acceleration command to the position error velocity command. Acceleration feedforward only affects the axis following error on a velocity transition. We use this percentage along with high values of velocity feedforward. Select a value acceptable for the application.

Publication 1746-6.1.2 - July 2000

Page 103

7-24

Setting Up Your SLC Servo Module

Setting Axis and Home Specific Parameters

The rest of the parameters are axis and home specific. You can set these parameters up to the value that you want, but we recommend that the home speeds be about 1% of the maximum speed. Configuring the SLC Servo Module

Programming Conventions

The SLC Servo Module accepts and generates different types of data: • Binary data that is compatible with the binary or integer files for the SLC processor. • Integer data that is compatible with the SLC processor integer files. • Floating-point data that is compatible with the SLC processor floating-point files. As the module interfaces to floating-point files, it is only compatible with the SLC 5/03 FRN 5.0 and above processors. Refer to the SLC 500 Reference Manual (publication 1747-6.15) for the floating-point file information.

Downloading Your Configuration When you download your configuration using the M0 file for the module that you want, the types of data that are included are: • Discrete parameters • Floating-point parameters You can download to the module using two copy file instructions to the M0 file of the SLC Servo Module: • The first copy file instruction copies discrete information. • The second copy file instruction copies floating-point information. Depending on the values specified in the configuration, the module accepts the data or generates configuration errors through module input status words that are described in the next section. See Figure 7.2 for a typical ladder program to download the configuration.

Publication 1746-6.1.2 - July 2000

Page 104

Setting Up Your SLC Servo Module

7-25

Figure 7.2 Typical Ladder Program

In the ladder above, the floating-point file F8:0 and integer file N7:0 contain the configuration that you want for the SLC Servo Module in slot 1. They are copied once to the M0 file for slot 1 when requested. The configuration parameters are described later in this chapter. When an error is generated, the following events occur: • CONFIG INV LED is lit. • Errors are reported in word I:1.4 in decimal format. • CONFIG INVALID Bit I:1.1/14 (I:1/30) is set.

Configuration Errors The CONFIG INV LED on the SLC Servo Module turns on before or after power-up to indicate an invalid configuration. The configuration error input bit (14) in configuration mode input status word 1 is set and input status word 4 of the module reports the errors detected if any one of the following occurs: • There is no configuration file. • The configuration is invalid. Refer to the Troubleshooting chapter for a list of those configuration errors.

Configuring the M0 File Data Tables See Appendix A for full listing of the M0 data tables.

Publication 1746-6.1.2 - July 2000

Page 105

7-26

Setting Up Your SLC Servo Module

Configuration Parameters

This section provides information to help you set discrete and floating-point parameters for the SLC Servo Module. These parameters are grouped according to their function: • Feedback parameters • Servo loop parameters • Motion parameters • Axis parameters • Homing parameters • System parameters You can determine these parameters by using the integration procedure described in the Setting Up Your SLC Servo Module chapter.

Feedback Parameters Feedback parameters define the position feedback sent to the SLC Servo Module. This position feedback is for the axis controlled by the SLC Servo Module. Use Figure 7.3 and the following table to see how feedback parameters work with the servo loop parameters. Figure 7.3 How Feedback Parameters Work with Servo Loop Parameters

Drive

SLC Servo Module Encoder Lines (M0, w4-5)

Motor

Encoder Counts Per Position Unit (M0, w6-7)

The following table provides the name, file location, and a brief description of the Feedback parameters. For more detailed information see Appendix A of this manual.

Publication 1746-6.1.2 - July 2000

Name

Location

Description

Encoder Lines

M0:s.4,5

Specifies the number of lines per revolution of the input shaft. This parameter would be in the encoder specification sheet.

Counts per Position Unit

M0:s.6,7

Specifies the number of encoder edges per position unit.

Page 106

Setting Up Your SLC Servo Module

7-27

Servo Loop Parameters Servo loop parameters specify the following: • Control axis motion • DAC output to the axis drive • Gain and excess following error Figure 7.4 and Figure 7.5 show how servo loop parameters work in a standard closed loop and a velocity feedforward loop. Most servo loop parameter values are determined by using information in the Setting Initial Loop Type section of the Setting Up Your SLC Servo Module chapter. Figure 7.4 Servo Loop Parameters in a Standard Closed Loop Control

Axis Motion Motor

Tach

Encoder

Maximum Axis Gain Position Command

Axis Feedrate

Following Error D/A

+ _ Position

Drive Amplifier

Velocity Command + _

Velocity Feedback Incremental Position

Publication 1746-6.1.2 - July 2000

Page 107

7-28

Setting Up Your SLC Servo Module

Figure 7.5 Servo Loop Parameters in a Velocity Feedforward Loop Control

Axis Motion

Motor

Tach

Encoder

Velocity and Acceleration Feedforward Position Command

Following Error

+ +

Axis Feedrate

+

D/A

Drive Amplifier

Velocity Command +

_

_ Maximum Axis Gain

Position

Velocity Feedback Incremental Position Feedback

= and integrator

= and amplifier

The following table contains the name, file location, and a brief description of the Servo Loop parameters. For more detailed information about the parameters see Appendix A of this manual.

Publication 1746-6.1.2 - July 2000

Name

Location

Description

DAC Enable

M0:s.0/0

Enables (provides or turns on) the DAC output voltage or disables (turns off) DAC output by setting the DAC output to zero.

Invert DAC

M0:s.0/1

Inverts the DAC output to change direction with respect to the positive and negative move.

Reverse Feedback

M0:s.0/2

Reverses the sign of the incremental feedback position acquired every servo scan.

Loop Type

M0:s.0/5, M0:s.0/4

Type of loop closure

Velocity Feedforward Constant

M0:s.32,33

Value of the feedforward constant used for the velocity feedforward loop closure in percentage (0.0 to 1.0).

Acceleration Feedforward Constant

M0:s.34,35

Value of the feedforward constant used for the velocity feedforward loop closure in percentage (0.0 to 1.0).

Maximum Axis Gain Value

M0:s.42,43

Maximum value for gain in position units per one thousandth of position unit.

Page 108

Setting Up Your SLC Servo Module

7-29

Name

Location

Description

Excess Following Error

M0:s.38,39

Value of the following error beyond which an excess following error fault occurs in position units.

Output Voltage at + Max Speed

M0:s.24,25

The voltage at the DAC to command the Maximum Axis Speed in the positive direction in volts.

Output Voltage at – Max Speed

M0:s.26,27

The voltage at the DAC to command the Maximum Axis Speed in the negative direction in volts.

Motion Parameters Use the motion parameters in the following table to define your motion-related specifications (e.g., speed, time to maximum speed) for the SLC Servo Module. Name

Location

Description

Velocity Time Base

M0:s.0/6

Specifies the time base for the speed parameter specification.

Synchronized Move Source

M0:s.1/1

Specifies the source for the synchronized move signal to be either the backplane or the termination panel.

Maximum Axis Speed M0:s.28,29

Maximum speed for moving an axis in position units/time unit. Refer to the Setting Up Your SLC Servo Module chapter for more information.

Time to Maximum Axis Speed

M0:s.30,31

Maximum time to reach the maximum rated speed for the axis in seconds.

In-position Band

M0:s.40,41

Specifies a zone around the end point for the move within which the in-position bit gets set.

Publication 1746-6.1.2 - July 2000

Page 109

7-30

Setting Up Your SLC Servo Module

Axis Parameters Use the axis parameters in the following table to specify your axis configuration. Name

Location

Description

Rollover Position

M0:s.12,13

Value of the position register when it changes from the highest value to 0 if moving in the positive direction. Value of the position register when it changes from 0 to the highest value if moving in the negative direction in position units.

Software Overtravels Used

M0:s.0/7

Determines whether software overtravel limits are used.

Positive Overtravel Limit

M0:s.8,s.9

Position value of the positive software overtravel limit in position units.

Negative Overtravel Limit

M0:s.10,s.11

Position value of the negative software overtravel limit in position units.

Reversal Error Value

M0:s.22,s.23

Distance the control adds to the commanded motion when the axis changes direction in position units.

Homing Parameters Use the homing parameters in the following table to home each axis.

Publication 1746-6.1.2 - July 2000

Name

Location

Description

Home Type

M0:s.0/9, M0:s.0/10

Specifies the type of homing to be used by the SLC Servo Module.

Home Position

M0:s.14,s.15

The position value the control puts into the current position after a homing operation.

Home Calibration

M0:s.16,s.17

The distance to the home position from the first encoder marker detected after the limit switch deactivates while the axis is moving off the limit switch.

Final Move to Which Marker?

M0:s.0,11

This bit specifies which marker the axis needs to move to for the final move of both the Homing to a Marker and Homing to a Limit Switch and Marker home types.

Final Move to Marker?

M0:s.0,12

This bit specifies if the final move to the marker is performed for the axis.

Limit Source

M0:s.1,0

Specifies the source for the home limit to be either the backplane or the termination panel.

Page 110

Setting Up Your SLC Servo Module

7-31

Name

Location

Description

Speed/Direction of Move Off the Limit Switch

M0:s.18,19

This parameter is used during all homing operations except Homing Without a Limit Switch or Marker.

Speed/Direction of Move to the Marker

M0:s.20,21

This parameter is used during all homing operations except Homing Without a Limit Switch or Marker.

Home Tolerance

M0:s.36,37

Specifies the position band around the home position.

System Parameters Use the system parameters in the following table to define your system-related specifications. Name

Location

Description

Enable Incremental Position Command

M0:s.0/13

This bit enables incremental position command in the command mode (i.e., words 2 and 3). Refer to Understanding Discrete Block Commands from the SLC processor in this chapter.

Blend Move Profile

M0:s.0/14

When set, this bit redefines the mapping of all configuration parameters to specify a blend profile. Refer to Blend Profile information in this chapter.

Mode Flag

M0:s.0/15

• If this bit is set, the SLC Servo Module interprets the incoming data as configuration information. The configuration is allowed if there is no motion in progress and the system is in the Estop. • If this bit is clear, M-file contents are ignored because M-files are only used for SLC Servo Module configuration with this release.

Discrete Bit Status Word 0 Definition

M0:s.1/7,M0:s1/6

Specifies the content of Discrete Bit Status Word 0 being sent from the SLC Servo Module to the SLC processor.

Inhibit Informational Codes

M0:s.1/8

This bit, when set, inhibits (i.e., forces informational code sent to SLC to 0) the reporting of all informational codes in the SLC Servo Module to SLC processor Discrete Control Status.

Inhibit Minor Fault Code

M0:s.1/9

This bit, when set, inhibits (i.e., forces minor fault code sent to SLC to 0) the reporting of all minor fault codes in the SLC Servo Module to SLC processor Discrete Control Status. When clear, all minor faults detected by the SLC Servo Module are reported to the SLC processor. You must clear them using either the Clear Fault or Clear All Faults bit.

Publication 1746-6.1.2 - July 2000