The text of a spec sheet · part 12 of 23
SLC Servo Control Module (Catalog No. 1746-HSRV) User Manual, pages 111 to 120
Pages 111 to 120 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 111
7-32
Setting Up Your SLC Servo Module
Name
Location
Description
Inhibit Major Fault Code
M0:s.1/10
This bit, when set, inhibits (i.e., forces major fault code sent to SLC to 0) the reporting of all major fault codes in the SLC Servo Module to SLC processor Discrete Control Status. When clear, all major 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.
Inhibit Actual Position
M0:s.1/12
This bit, when set, inhibits (i.e., forces actual position sent to SLC to 0) the reporting of the Actual Position in the SLC Servo Module to SLC processor Discrete Control Status. When clear, the actual position of the SLC Servo Module is sent to the SLC processor.
Inhibit Following Error
M0:s.1/13
This bit, when set, inhibits (i.e., forces following error sent to SLC to 0) the reporting of the Following Error in the SLC Servo Module to SLC processor Discrete Control Status. When clear, the following error of the SLC Servo Module is sent to the SLC processor.
Inhibit Current Speed
M0:s.1/14
This bit, when set, inhibits (i.e., forces current speed sent to SLC to 0) the reporting of the Current Speed in the SLC Servo Module to SLC processor Discrete Control Status. When clear, the current speed of the SLC Servo Module is sent to the SLC processor.
Fits per CIT1
M0:s.2
These bits specify the number of fine iterations (Fits) that accumulatively produce one coarse iteration (CIT).
1 A small number of Fits per CIT cause a fast servo loop closure time that yields better motion performance on the transitions, but slower communication with the SLC processor. As the number of Fits per CIT increases, motion performance on the transitions degrades, but communication with the SLC processor is slightly enhanced. For blended moves, Fits per CIT must be greater than 4.
Homing Options
Homing Without a Limit Switch or Marker Use the Set Home block command found in SLC processor to SLC Servo Module word 5 to home the axis. Refer to the Set Home command in the Programming System Variables chapter for more information. When you select this home type, the Final Move to Which Marker? and Final Move to Marker? configuration parameters are ignored.
Homing to a Marker Homing to a Marker specifies how an axis will find its initial (home) location. Two parameters specify which marker to move to and Publication 1746-6.1.2 - July 2000
Page 112
Setting Up Your SLC Servo Module
7-33 whether the final move to the marker is required. Four options are outlined in the table below. Option
Final Move to Which Marker? parameter is set to:
Final Move to Marker? parameter is set to:
1
0
No (0)
2
0
Yes (1)
3
1
No (0)
4
1
Yes (1)
An example of each option is given on the following pages.
Option 1 Example Parameters:
Equals:
Final Move to Which Marker?
0
Final Move to Marker?
No (0)
When these parameters are set, the axis moves one revolution of the feedback device in the direction and at the speed that the Home Axis command specifies when looking for the marker.
If the marker is:
Then:
Found during that one revolution move
The current position of the axis is set to the configured Home Position ± the distance to the marker nearest the start position + Home Calibration.
Not found during that one revolution move
The problem is reported to the SLC processor.
IMPORTANT
This configuration is typical for a unidirectional axis (i.e., axis that only moves in one direction).
EXAMPLE
Marker #1
Current PositionMarker #2
– . . . . | . . . . . . . . . . . . . . . ....x......... .......|....+
Publication 1746-6.1.2 - July 2000
Page 113
7-34
Setting Up Your SLC Servo Module
If the current axis position is x, then the following occurs: • The axis moves one revolution of the feedback device in the direction and at a speed specified by the Home Axis command (i.e., toward Marker #2 for this example). • Marker #2 is found during the move, but because Final Move to Marker? is set to No (0): • The final axis move does not take place. • The current position of the axis is set to the configured Home Position + the distance to Marker #1 (i.e., the marker nearest the start position) + Home Calibration.
Option 2 Example Parameters:
Equals:
Final Move to Which Marker?
0
Final Move to Marker?
Yes (1)
When the parameters are set, the axis moves one revolution of the feedback device in the direction and at the speed that the Home Axis command specifies when looking for the marker.
If the marker is:
Then:
Found during that one revolution move
The axis moves at the absolute value of the speed specified by the configured Speed/Direction of Move to the Marker to the marker closest to the start position.
Not found during that one revolution move
The problem is reported to the SLC processor
The current position of the axis is set to the configured Home Position + Home Calibration. If the marker is not found, the problem is reported to the SLC processor. IMPORTANT
Publication 1746-6.1.2 - July 2000
To configure and program for a unidirectional axis, the sign of the speed specified in the Home Axis command and the direction of the move specified by the configured Final Move to Marker? must result in unidirectional axis motion.
Page 114
Setting Up Your SLC Servo Module
EXAMPLE
Marker #1
7-35
Current PositionMarker #2
– . . . . | . . . . . . . . . . .x . . . . . . . . . . . . . . . . . . . . . . . . . | . . . . +
If the current axis position is x, then the following occurs: • The axis moves one revolution of the feedback device in the direction and at a speed that is specified by the Home Axis command (i.e., toward Marker #2 for this example). • Marker #2 is found during the move, and because Final Move to Marker? is set to Yes (1), the axis moves at the absolute value of the speed specified by the configured Speed/Direction of Move to the Marker to the marker closest to the start position (i.e., Marker #1). • The current position of the axis is set to the configured Home Position + Home Calibration.
Option 3 Example Parameters:
Equals:
Final Move to Which Marker?
1
Final Move to Marker?
No (0)
When the parameters are set, the axis moves one revolution of the feedback device in the direction and at the speed that the Home Axis command specifies when looking for the marker, and then it stops. If the marker is:
Then:
Found during that one revolution move
The current position of the axis is set to the configured Home Position ± the distance to the nearest marker + Home Calibration.
Not found during that one move
The problem is reported to the SLC processor.
IMPORTANT
This configuration is typical for a unidirectional axis (i.e., axis that only moves in one direction).
Publication 1746-6.1.2 - July 2000
Page 115
7-36
Setting Up Your SLC Servo Module
EXAMPLE
Marker #1
Current PositionMarker #2
– . . . . | . . . . . . . . . . . . . . . . . . . x . . . . . . . .. . . . . . . . . | . . . . +
If the current axis position is x, the following occurs: • The axis moves one revolution of the feedback device in the direction and at the speed specified by the Home Axis command (i.e., toward Marker #2 for this example) and stops. • Marker #2 is found during the move, but because Final Move to Marker? is set to No (0), the final axis move does not take place. • The current position of the axis is set to the configured Home Position + the distance to nearest marker (i.e., Marker #2 for this example) + Home Calibration.
Option 4 Example Parameters:
Equals:
Final Move to Which Marker?
1
Final Move to Marker?
Yes (1)
When the parameters are set, the axis moves one revolution of the feedback device in the direction and at the speed that the Home Axis command specifies when looking for the marker, and then it stops. If the marker is:
Then:
Found during that one revolution move
The axis moves at the absolute value of the speed the configured Speed/Direction of Move to the Marker specifies to the nearest marker.
Not found during that one revolution move
The problem is reported to the SLC processor.
The current position of the axis is set to the configured Home Position + Home Calibration. IMPORTANT
Publication 1746-6.1.2 - July 2000
To configure and program for a unidirectional axis, the sign of the speed specified in the Home Axis command and the direction of the move specified by the configured Final Move to Marker? must result in unidirectional axis motion.
Page 116
Setting Up Your SLC Servo Module
EXAMPLE
Marker #1
7-37
Current PositionMarker #2
– . . . . | . . . . . . . . . . . . . .X . . . .. . . . . . . . . . . . . . . . . . . | . . . . +
If the current axis position is x, the following occurs: • The axis moves one revolution of the feedback device in the direction and at the speed specified by the Home Axis command (i.e., toward Marker #2 for this example) and stops. • Marker #2 is found during the move, and because Final Move to Marker? is set to Yes (1), the axis moves at the absolute value of the speed specified by the configured Speed/Direction of Move to the Marker to the nearest marker (i.e., Marker #2 for this example). • The current position of the axis is set to the configured Home Position + Home Calibration.
Homing to a Limit Switch The axis moves in the direction and at the speed specified by the Home Axis command to find the home limit switch first. When the limit switch is found, the axis moves in the direction and at the speed specified by the configured Speed/Direction of Move Off the Limit Switch. The axis position is recorded the moment the axis clears the limit switch. Subsequently, the axis decelerates and stops. Other configuration parameters are borrowed for unidirectional homing. If Move to Marker is set to: No (0)
Yes (1)
Then: No further axis motion takes place. Instead, the current position of the axis is set to the configured Home Position ± the distance from the limit switch using the position of the axis recorded earlier + Home Calibration. The axis moves back to the position of the axis recorded earlier at the absolute value of the speed specified by the configured Speed/Direction of Move to the Marker.
Publication 1746-6.1.2 - July 2000
Page 117
7-38
Setting Up Your SLC Servo Module
The current position of the axis is set to the configured Home Position + Home Calibration. IMPORTANT
To configure and program for a unidirectional axis, the signs of both the speed specified in the Home Axis command and the Speed/Direction of Move Off the Limit Switch must be the same and Final Move to Marker? is set to No (0).
Homing to a Limit Switch and Marker The axis moves in the direction and at the speed specified by the Home Axis command to first find the home limit switch. When the limit switch is found, the axis moves in the direction and at the speed specified by the configured Speed/Direction of Move Off the Limit Switch. The balance of the homing sequence is identical to Homing to a Marker replacing the direction and speed properties of the Home Axis command with the configured Speed/Direction of Move to the Marker. IMPORTANT
Publication 1746-6.1.2 - July 2000
To configure and program for a unidirectional axis, the signs of the speed specified in the Home Axis command, Speed/Direction of Move Off the Limit Switch, and Speed/Direction of Move to the Marker must be the same.
Page 118
Chapter
8
Programming the SLC Processor to Run the SLC Servo Module
Overview
This chapter provides configuration information for the SLC processor and the SLC Servo Module. It also contains instructions for programming the module for the command mode of operation. The following topics are explained: • Blend move profiles • Command and status information • Module communication interface • Discrete bit commands from the SLC processor • Discrete block commands from the SLC processor • Recovering from Estop • Incremental position command • Simple move commands • Using simple move commands • Absolute/Incremental move • Speed move • Monitor move • Run blend move profile • Blending moves • Plan synchronized move
Blend Move Profiles
Before you download blend move profiles, the module must be in Estop state (I:s.1/1). The module downloads blend move profiles when the ladder instruction sends the data to the M0 file with the output word 0 mode bit (15) and bit (14) set to 1.
Downloading Your Blend Move Profiles You can download this configuration using the M0 file for the module that you want. There are two types of configuration data: • Discrete parameters • Floating-point parameters
1
Publication 1746-6.1.2 - July 2000
Page 119
8-2
Programming the SLC Processor to Run the SLC Servo Module
You can download to the module using two copy file instructions to the M0 file of the SLC Servo Module: • First copy instruction copies discrete information • Second copy instruction copies floating-point information Depending on the values specified in the configuration, the module can accept the data or generate configuration errors through the module input status words described in the Understanding Configuration Errors section of this chapter. A typical ladder program for downloading the blend move profile is shown in Figure 8.1. Figure 8.1 Download Blend Profile
I:2
OSR Download Configuration
Enable Once
61
COPY FILE Source Dest Length
#F51:0 #M0:1.2 30
COPY FILE Source Dest Length
#N50:0 #M0:1.0 2
Note: SLC Servo Module is located in Slot 1
In this ladder, the floating-point file F51:0 and integer file N50:0 contain the configuration for the SLC Servo Module in slot 1. These are copied once to the M0 file for slot 1 when requested.
Understanding Configuration Errors The CONFIG INV LED on the SLC Servo Module lights up when you power up or after you power up to indicate an invalid configuration. If a configuration file is not present or is invalid for any reason, the configuration error input bit (14) in configuration mode input status word 1 is set (I:s.1/14). Input status word 4 of the module reports the errors detected (I:s.4). Refer to the Troubleshooting chapter for a list of configuration errors. The configuration parameters for word 0, bit 14 are described in the tables below.
Publication 1746-6.1.2 - July 2000
Page 120
Programming the SLC Processor to Run the SLC Servo Module
Block Command Parameters Blend Move Profile Number of Blend Points
Source N File Location1 Nn:0 Nn:1
Destination M File Location2
Format
Possible Values
M0:s.0 M0:s.1
BITS 11XX XXXX XXXX PPPP USHORT 1 to 32
1
Nn -Source N file number containing the module configuration data.
2 s - Slot number for the SLC Servo Module to be downloaded
8-3
Default
0.0 0.0
. Block Command Parameters
Destination M File Location2
Format
Possible Values
Default
% Acceleration Ramp 1 Speed 1 Absolute Position 1
Source F File Location1 Fn:0 Fn:1 Fn:2
M0:s.2-s.3 M0:s.4-s.5 M0:s.6-s.7
FLOAT FLOAT FLOAT
1.0
% Acceleration Ramp 2 Speed 2 Absolute Position 2
Fn:3 Fn:4 Fn:5
M0:s.8-s.9 M0:s.10-s.11 M0:s.12-s.13
FLOAT FLOAT FLOAT
0.0 to 1.0 0.0 to +physical limit –axis travel limit to +axis travel limit 0.0 to 1.0 0.0 to +physical limit –axis travel limit to +axis travel limit
M0:s.188-s.189 M0:s.190-s.191 M0:s.192-s.193
FLOAT FLOAT FLOAT
0.0 to 1.0 0.0 to +physical limit –axis travel limit to +axis travel limit
1.0
Reserved % Acceleration Ramp 32 Fn:93 Speed 32 Fn:94 Absolute Position 32 Fn:95 1
Fn - Source F file number containing the module configuration data
2 s - Slot number for the SLC Servo Module to be downloaded
0.0 0.0 1.0 0.0 0.0
0.0 0.0
The table above describes the data to download for blend move profiles. Explanation of the blend move profile execution is described later in this chapter with the command that initiates blend move profile execution. The Blend Move Profile configuration block provides a mechanism to download several blend move profiles of various lengths prior to execution. The PPPP in word 0 represents the bits used to specify which one of up to 16 blend move profiles (0 to 15) this configuration block defines. Word 1 contains the number of blend points comprising this blend move profile (1 to 32). Since M File transfers occur as an immediate output and increase your ladder scan time, do not configure multiple blend profiles within one program scan. When configuring blend profiles, use Blend Move Profile Configuration In Progress and Servo Configuration In Progress Bits to lock out additional M File transfers. If you do not, you can
Publication 1746-6.1.2 - July 2000