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

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

Pages 151 to 160 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 151

9-8

Programming System Variables

If the Set In-Position Band command fails, the SLC processor is notified with an appropriate error message.

Typical Set In-Position Band Move Data Tables Before executing a Set In-Position Band move, set Source B for the Equal instruction in Figure 9.1 to 256. A Set In-Position Band command to 0.1 is initiated if the float data table is: Word

0 (Position)

F27:0

0.1

1

2

3

4

5

And the integer data table is: Word

0

1

2

3

4

5

N32:0

0

0

0

0

0

256

Using the Set Excess FE Limit Command The Set Excess Following Error (FE) Limit command sets the online excess FE limit to equal the specified value. The units for the excess FE specified are position units. If the Set Excess FE Limit command fails, the SLC processor is notified with an appropriate error message. Set Excess FE Limit parameters for word 5, bit 9 appear in the table below. Block Command Parameters Bit Specifications Set Excess FE Limit FE Limit

Location1, 2 O:s.4 O:s.5 O:s.6-O:s.7

Format

Possible Values

Default

Bits Bits Float

0000 0000 0000 0000 XXX XX1X 0000 0000 0.0 to +axis travel limit

0 0 0.0

1

Location can vary depending on other bits simultaneously set in the most significant byte of word 5 (up to three of these bits can be set simultaneously). These bits are evaluated from right to left. Words 6 and 7 are used for the first set bit encountered. Words 8 and 9 are used for the next simultaneously set bit. Words 10 and 11 are used for the last simultaneously set bit. This special feature can be used to make servo axis tuning easier.

2 s = Slot number for the SLC Servo Module.

The Set Excess FE Limit command can be issued anytime after the control is powered up. Refer to the example in Using the Set Axis Gain Command.

Publication 1746-6.1.2 - July 2000

Page 152

Programming System Variables

9-9

Typical Set Excess FE Limit Move Data Tables Before executing a Set Excess FE Limit move, set Source B for the Equal instruction in Figure 9.1 to 512. A Set Excess FE command to 0.1 is initiated if the data tables are: Word

0

F27:0

0.1

N32:0

0

1

2

3

4

5

0

0

0

0

512

Using the Set Axis Gain Command The Set Axis Gain command sets the current axis gain to equal the specified value. Set Axis Gain parameters for word 5, bit 10 appear in the table below. Block Command Parameters

Location1 O:s.4 O:s.5 O:s.6-O:s.7

Bit Specifications Set Axis Gain Gain 1

Format

Possible Values

Default

Bits Bits Float

0000 0000 0000 0000 XXXX X1XX 0000 0000 0.0 to 10.0

0 0 0.0 s = Slot number for the SLC Servo Module.

The Set Axis Gain command can be issued anytime after the control is powered up. The units for the specified gain are position units per minute per one thousandth of the position unit. If the Set Axis Gain command fails, the SLC processor is notified with an appropriate error message.

Typical Set Axis Gain Move Data Tables Before executing a Set Axis Gain move, set Source B for the Equal instruction in Figure 9.1 to 1024. A Set Axis Gain command to 0.75 is initiated if the data tables are: Word

0

F27:0

0.75

N32:0

0

1

2

3

4

5

0

0

0

0

1024

Publication 1746-6.1.2 - July 2000

Page 153

9-10

Programming System Variables

For example, the following three tables show how the gain can be manipulated for and during a given motion: • Gain can be manipulated for and during a given motion when the SLC sends Set Axis Gain with a gain value of 1: Word # 0 through 3 4 5 6, 7

Value 0000 0000 0000 0000 0000 0000 0000 0000 0000 0100 0000 0000 1.0

Description Bit commands N/A Set Axis Gain Gain = 1.0

• Gain can be manipulated for and during a given motion when the SLC sends Speed Move: Word # 0 through 3 4 5 6, 7

Value 0000 0000 0000 0000 0000 0000 0000 0100 0000 0100 0000 0000 1.0

8, 9

5.0

Description Bit commands Speed Move N/A % Acceleration Ramp = 100% Speed - 5.0 inches per second

• Gain can be manipulated for and during a given motion when the SLC iteratively sends Set Axis Gain with a modified gain possibly based upon axis position during execution of the Speed Move: Word # 0 through 3 4 5 6, 7 8, 9

Publication 1746-6.1.2 - July 2000

Value 0000 0000 0000 0000 0000 0000 0000 0000 0000 0110 0000 0000 X.X YY

Description Bit commands N/A Set max FE and Axis Gain Max FE = X.X Gain = YY

Page 154

Programming System Variables

9-11

Using the Set VFF Command The Set VFF command specifies the amount of position command fed forward to reduce the amount of following error during axis motion. Set VFF parameters for word 5, bit 11 appear in the table below. Block Command Parameters

Location1, 2 O:s.4 O:s.5 O:s.6-O:s.7

Bit Specifications Set VFF Velocity Feedforward Constant

Format

Possible Values

Default

Bits Bits Float

0000 0000 0000 0000 XXXX 1XXX 0000 0000 0.0 to 1.0

0 0 0.0

1

Location can vary depending on other bits simultaneously set in the most significant byte of Word 5 (up to three of these bits can be set simultaneously). These bits are evaluated from right to left. Words 6 and 7 are used for the first set bit encountered. Words 8 and 9 are used for the next simultaneously set bit. Words 10 and 11 are used for the last simultaneously set bit. This special feature can be used to make servo axis tuning easier.

2 s = Slot number for the SLC Servo Module.

This online configuration command is issued anytime after the control is powered up. Refer to the example in Using the Set Axis Gain Command. If the Set VFF command fails, the SLC processor is notified with an appropriate error message.

Typical Set VFF Move Data Tables Before executing a Set VFF move, set Source B for the Equal instruction in Figure 9.1 to 2048. A Set VFF command to 1.0 is initiated if the data tables are:

Status Information

Word

0

F27:0

1.0

N32:0

0

1

2

3

4

5

0

0

0

0

2048

Status information is described within the following topics: • Word 0 discrete bit status specifications • Series/major revision/minor revision • Blend move profile • Word 1 discrete bit status specification • Word 2 discrete bit status specification • Word 3 discrete bit status specification

Publication 1746-6.1.2 - July 2000

Page 155

9-12

Programming System Variables

Word 0 Discrete Bit Status Specifications The bit specifications, given in the table below, are illustrated in Figure 9.2.

1

Bit Specifications

Location1

Series/major Rev/minor Rev

I:s.0/0 through 0/10

Reserved

I:s.0/11 through 0/15 s = Slot number for the SLC Servo Module.

Figure 9.2 Word 0 Discrete Bit Status Specifications

Reserved

Series

Major Revision

Minor Revision

The bit patterns used to identify SLC Servo Module firmware are: • Series A = 1 • Major Revision 1 = 1 • Minor Revision 00 = 0 The default value is 272 (i.e., 110 hex). The SLC Servo Module provides this information when bits 6 and 7 of word 1 of the configuration bit parameters are both 0.

1

Bit Specifications

Location1

Blend Move Profile Segment Number

I:s.0/0 through 0/15 s = Slot number for the SLC Servo Module.

Blend Move Profile Segment Number (Word 0, Bits 0 -15) The blend move profile segment number being executed is in the currently running blend move profile. If there is no currently running blend move profile, the SLC Servo Module clears this word. The SLC Servo Module provides this information when bits 6 and 7 of word 1 of the configuration bit parameters are 1 and 0, respectively.

Publication 1746-6.1.2 - July 2000

Page 156

Programming System Variables

9-13

Word 1 Discrete Bit Status Specifications Bit Specifications

Location1

Description

Axis Ready

I:s.1/0

Bit 0 signals that the motion control has powered up successfully. Other I/O bits are not valid unless this bit is set.

Estop State

I:s.1/1

This bit is set when the SLC Servo Module is in Estop. The bit is cleared when the operator or SLC Ladder Logic has performed an Estop reset.

Information Message

I:s.1/2

This bit, if uninhibited, is set when the SLC Servo Module has an informational message to be conveyed to the SLC processor. The bit is cleared using either the Clear Fault or Clear All Faults bit.

Minor Fault

I:s.1/3

This bit, if uninhibited, is set when a minor fault is detected by the SLC Servo Module. The bit is cleared using either the Clear Fault or Clear All Faults bit.

Major Fault

I:s.1/4

This bit, if uninhibited, is set when a major fault is detected by the SLC Servo Module. The bit is cleared using either the Clear Fault or Clear All Faults bit.

Fault FIFO Full

I:s.1/5

This bit is set when the 16 element fault FIFO resident in the SLC Servo Module is full of faults. This could occur when faults get reported, but not cleared. Faults can be cleared using either the Clear Fault or Clear All Faults bit.

Reserved

I:s.1/6 through I:s.1/7

Axis Needs Homed

I:s.1/8

This bit is set until the axis is homed after power-up and any time a feedback fault is detected by the SLC Servo Module.

Homing

I:s.1/9

This bit is set when the axis is being homed.

Retract Position

I:s.1/10

This bit is set when a Retract Position operation is in progress.

At Home

I:s.1/11

This bit is set when the actual position is within the home tolerance of the home position. It is not set if the actual position crosses the home position during the homing sequence. This could happen if the axis has already been homed since power-up.

Overtravel –

I:s.1/12

This bit is set when the axis has attempted to move beyond the negative overtravel limit.

Overtravel +

I:s.1/13

This bit is set when the axis has attempted to move beyond the positive overtravel limit.

Configuration Failed

I:s.1/14

This bit is set when the blend move profile or axis configuration information just received by the SLC Servo Module using the M0 file transfer mechanism contained errors. This bit is cleared while the SLC Servo Module verifies whether the M file content demonstrates inter-parameter compatibility and if the configuration process was successful.

Configuration Successful

I:s.1/15

This bit is set when the blend move profile or axis configuration information just received by the SLC Servo Module using the M0 file transfer mechanism is free of errors. This bit is cleared while the SLC Servo Module verifies whether or not the M-file content demonstrates inter-parameter compatibility and if the configuration process failed. This bit is set after a successful power-up of the SLC Servo Module. 1 s = Slot number for the SLC Servo Module

Publication 1746-6.1.2 - July 2000

Page 157

9-14

Programming System Variables

Word 2 Discrete Bit Status Specifications SLC Servo Module Bit Specifications

Location1

Description

In-Position

I:s.2/0

This bit is set when the actual position for the axis is within the in-position band of the end position of the currently executing move. The in-position band must be greater than or equal to the system’s standing following error but smaller than the magnitude of the position move. If the in-position band is not set to a large enough value, the in-position bit is not set for the move. If the in-position band is set to a value that is too large, the in-position bit could turn on sooner than you want.

Move Complete

I:s.2/1

The move complete bit is set when an interpolated move is no longer being interpolated. The IMC Classic product line called this the NOSETTLE point.

Axis Stopped

I:s.2/2

A 1 in this bit indicates the axis is at rest.

Axis Held

I:s.2/3

This bit is set when the axis is being held by the Hold Move bit.

Accelerating

I:s.2/4

This bit is set when an interpolated move is accelerating.

Decelerating

I:s.2/5

This bit is set when an interpolated move is decelerating.

Reserved

I:s.2/6 through I:s.2/7

FIN[1] State

I:s.2/8

These bits reflect the current state of the corresponding fast input (FIN [1]).

FIN[2] State

I:s.2/9

These bits reflect the current state of the corresponding fast input (FIN [2]).

FIN[3] State

I:s.2/10

These bits reflect the current state of the corresponding fast input (FIN [3]).

FOUT State

I:s.2/11

This bit reflects the current state of the fast output (FOUT).

Reserved

I:s.2/12 through I:s.2/ 15 1 s = Slot number for the SLC Servo Module

Publication 1746-6.1.2 - July 2000

Page 158

Programming System Variables

9-15

Word 3 Discrete Bit Status Specifications Bit Specifications

Location1

Description

Absolute Move In Progress

I:s.3/0

Absolute move is in progress.

Incremental Move In Progress

I:s.3/1

Incremental move is in progress.

Speed Move In Progress

I:s.3/2

Speed move is in progress.

Monitor Move In Progress

I:s.3/3

Monitor move is in progress.

Blend Move In Progress

I:s.3/4

This bit is set when the corresponding move is in progress.

Reserved

I:s.3/5 through I:s.3/12

Blend Move Profile Configuration In Progress

I:s.3/13

This bit is set while the SLC Servo Module verifies whether the blend move profile specification, provided by the M-file that was just received, is achievable. Configuration Failed and Configuration Successful are both cleared while this bit is set.

Servo Configuration In Progress

I:s.3/14

This bit is set while the SLC Servo Module verifies whether the SLC Servo Module configuration, provided by the M-file that was just received, contains parameters that are compatible with one another. Configuration Failed and Configuration Successful are both cleared while this bit is set.

Synchronized Move Ready

I:s.3/15

This bit is set when a synchronized move is planned and ready for execution. 1

SLC Servo Module Processor Status s = Slot number for the SLC Servo Module

Informational messages and fault codes detected and reported by the SLC Servo Module are described in this section.

Informational Message or Fault Code If Informational Message or Fault Code is inhibited, no values are reported and I:s.4 returns a 0. The table below contains typical input data for words 4-11. For additional information on decimal values, refer to the Troubleshooting chapter.

Publication 1746-6.1.2 - July 2000

Page 159

9-16

Programming System Variables

Status Block Parameters Informational Message Or Fault Code Reserved Actual Position

Location1

Format

Possible Values

Default

I:s.4

USHORT

0 to 65,535

0

I:s.5 I:s.6-I:s.7

STDSHORT Float

0 0.0

Following Error

I:s.8-I:s.9

Float

Current Speed

I:s.10-I:s.11

Float

–32,767 to +32,767 –axis travel limit to +axis travel limit –axis travel limit to +axis travel limit -physical limit to +physical limit

1

0.0 0.0

Description

The current actual position of the axis; if inhibited, returns 0. The current following error of the axis; if inhibited, returns 0. The current speed of the axis; if inhibited, returns 0.

s = Slot number for the SLC Servo Module

Floating-Point Values Three floating-point value data items are shown below. We recommend that you incorporate the following rung in the ladder program to convert the integer data from the module to floating-point data for comparison or display purposes. Figure 9.3 Copy Command for Integer Data to Floating-Point Data Conversion

COPY FILE Source #I:1.6 Dest #F48:0 Length 3

Copy floating point data for actual position, following error and speed from the module discrete input words. Note: SLC Servo Module is located in Slot 1

Publication 1746-6.1.2 - July 2000

Page 160

Chapter

10

Troubleshooting

Overview

This chapter contains information that helps you to perform the troubleshooting and error handling procedures. This chapter includes the following topics: • Safety precautions • HSRV Quick Check • Troubleshooting LED indicators • Error messages and diagnosis

Safety Precautions ATTENTION

!

HSRV Quick Check

1

To avoid injury or death from electrical shock, burn, or unintended actuation of controlled equipment: • Disconnect and lock out control equipment from power sources and discharge stored energy in capacitors if they are present. • Follow the safety-related work practices of NFPA 70E, Electrical Safety Requirements for Employee Workplaces if you work near energized equipment. • Do not work alone on energized equipment. Hazardous voltages exist in the control cabinet even with the circuit breaker in the off position.

This section provides some areas that can be troubleshot quickly on your own. These tips may let you resolve the problem without the need for a call to technical support.

Publication 1746-6.1.2 - July 2000