The text of a spec sheet · part 14 of 23
SLC Servo Control Module (Catalog No. 1746-HSRV) User Manual, pages 131 to 140
Pages 131 to 140 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 131
8-14
Programming the SLC Processor to Run the SLC Servo Module
The example initiates an absolute move: • To 20.0 position units • At 500.0 position units per time base • At 100% of the maximum acceleration specified in the configuration The absolute move described above occurs if: • The module is out of Estop • The maximum speed configured is more than 500.0 position units per minute • The axis is homed The speed profile for the move is trapezoidal or triangular as shown in Figure 8.5 and Figure 8.6. Figure 8.5 Trapezoidal Velocity
Trapezoidal velocity profiles with programmable acceleration/ deceleration pulse rates.
0 0
Time
Figure 8.6 Triangular Velocity
0 0
Publication 1746-6.1.2 - July 2000
Time
Page 132
Programming the SLC Processor to Run the SLC Servo Module
8-15
Typically, the absolute and incremental moves do the following: • Set the Absolute/Incremental Move in Progress bit. • Set the Status Acceleration bit. • Accelerate to the programmed velocity. • Clear the Status Acceleration bit. • Continue at the commanded velocity to the deceleration point. • Set the Status Deceleration bit. • Decelerate to a stop at the target position at the commanded deceleration rate. • Clear the Status Deceleration bit. • Clear the Absolute/Incremental Move in Progress bit. • Set the Move Complete bit. The absolute/incremental type of moves generate a trapezoidal or triangular velocity profile. IMPORTANT
A triangular velocity profile is generated if a commanded move is not long enough to attain the programmed velocity before the deceleration point is reached.
Using the Speed Move Command The speed move command generates a move at the specified speed in the direction determined by the sign of the speed specified. Speed move parameters for word 4, bit 2 appear in the table below. Block Command Parameters Speed Move More Bit Specifications % Acceleration Ramp Speed
Location1 O:s.4 O:s.5 O:s.6-O:s.7 O:s.8-O:s.9
Format
Possible Values
Default
BITS BITS FLOAT FLOAT
X000 0000 0000 0100 0000 0000 0000 0000 0.0 to 1.0 –physical limit to +physical limit
0 0 1.0 0.0
1 s = Slot number for the SLC Servo Module.
The speed specified for the move is the maximum for the move. If: The speed specified is greater than the Maximum Axis Speed An error occurs while executing the move
This is the result: The speed for the move is limited to the Maximum Axis Speed. The SLC processor is notified.
Publication 1746-6.1.2 - July 2000
Page 133
8-16
Programming the SLC Processor to Run the SLC Servo Module
The speed move ends if any one of the following occurs: • The move reaches an overtravel limit if overtravel limits are specified. • The SLC processor cancels the move. The Cancel Move bit is used to cancel the speed component of the move. Setting the Cancel Move bit does not affect an Incremental Position command component (i.e., the specified incremental position command continues unless it is set to zero). • An Estop occurs. • The SLC processor sends another move from the mutually exclusive move set including a move of the same type with different % Acceleration Ramp or Speed.
Planning a Speed Move Figure 8.7 shows a typical ladder program block diagram that initiates a speed move from the SLC processor. Other moves are initiated by setting appropriate values in the data tables and copying the data to the appropriate module output words. Figure 8.7 Speed Move Command Block Diagram
For example, a speed move is initiated if the float data table is: Word
0 (Accel/Decel) 1 (Velocity)
F44:0
1
2
3
4
5
10
And the integer data table is:
Publication 1746-6.1.2 - July 2000
Word
0
1
2
3
4
5
N31:0
4
0
0
0
0
0
Page 134
Programming the SLC Processor to Run the SLC Servo Module
8-17
The example initiates a speed move: • At 10 position units per timebase • At 100% of the maximum acceleration specified in the configuration The speed move occurs if: • The module is out of Estop • The maximum speed configured is more than 10 position units per minute
Using the Monitor Move Command The monitor move command allows you to move the axis by external means with the following error set to 0 and the position monitored and updated. Monitor move parameters for word 4, bit 3 appear in the table below. Block Command Parameters Monitor Move More Bit Specifications
Location1 O:s.4 O:s.5
Format
Possible Values
Default
BITS BITS
X000 0000 0000 1000 0000 0000 0000 0000
0 0
1 s = Slot number for the SLC Servo Module.
Essentially, this bit places the SLC Servo Module in open loop. IMPORTANT
The Monitor Move cancels a move in progress and affects the Incremental Position command component. This command is ignored if the system is in open loop.
The monitor move ends if any one of the following occurs: • SLC processor cancels the move. • Estop occurs. • SLC processor sends another move from the mutually exclusive move set.
Planning a Monitor Move Figure 8.8 shows a typical ladder program block diagram that initiates a Monitor Move from the SLC processor. Other moves are initiated by setting appropriate values in the data tables and copying the data to the appropriate module output words. Publication 1746-6.1.2 - July 2000
Page 135
8-18
Programming the SLC Processor to Run the SLC Servo Module
Figure 8.8 Monitor Move Command Block Diagram
The table below contains data for a typical monitor move. Word
0
1
2
3
4
5
N31:0
8
0
0
0
0
0
This example cancels an existing move and initiates a monitor move.
Using the Run Blend Move Profile Command The Run Blend Move Profile command allows you to download a series of absolute moves and execute them by issuing a single Run Blend Move Profile command. Run Blend Move Profile parameters for word 4, bit 4 appear in the table below. Block Command Parameters Run Blend Move Profile More Bit Specifications Blend Move Profile Number 1
Location1 O:s.4 O:s.5 O:s.6
Format
Possible Values
Default
BITS BITS USHORT
X000 0000 0001 0000 0000 0000 0000 0000 0 to 15
0 0 0 s = Slot number for the SLC Servo Module.
The Run Blend Move Profile command initiates the execution of the blend move profile number specified in word 6 and previously downloaded to the SLC Servo Module. The blend move profile is not planned until you select to run it because multiple profiles are resident. You must use the plan synchronized move bit in order to get preplanned, immediate execution.
Publication 1746-6.1.2 - July 2000
Page 136
Programming the SLC Processor to Run the SLC Servo Module
8-19
The Run Blend Move Profile ends if any one of the following occurs: • Move reaches the end point of the last move in the move profile. • The SLC processor cancels the move. The Cancel Move bit is used to cancel the positioning component of the move. The Incremental Position command is not active while it is in the run blend move profile. • Estop occurs. • The SLC processor sends another move from the mutually exclusive move set.
Planning the Run Blend Move Profile Command Figure 8.9 shows a typical ladder program block diagram that initiates a Run Blend Move Profile move from the SLC processor. Other moves are initiated by setting appropriate values in the data tables and copying the data to the appropriate module output words. Figure 8.9 Run Blend Move Command Block Diagram
The table below contains data for a typical Run Blend Move. The example terminates a move and initiates a blend move. Word
0
1
2
3
4 (Command)
5
6 (Profile #)
N31:0
16
0
0
0
0
0
1
Publication 1746-6.1.2 - July 2000
Page 137
8-20
Programming the SLC Processor to Run the SLC Servo Module
Executing a Run Blend Move Profile Typically, a profile contains from 2 to 32 segments. In many applications, you must quickly execute a series of short sequential moves. Blend move profile provides this capability. If: The new blend move end point value is greater than the currently executing move The speed for the new blend move is less than the current move The speed for the new move is greater than the current move speed The new blend move end point value is less than the currently executing move
This is the result: The axis continues to move in the same direction, as shown in Figures 8.10 and 8.11. The axis decelerates to the new blend move’s speed by the end point of the currently executing move, as shown in Figure 8.10. The axis continues moving at the current speed until the end point of the current move. The axis then accelerates to the next move’s speed, as shown in Figure 8.11. The axis continues the current move at the current speed, and decelerates to a stop at the end point of the current move. The axis then reverses the direction and executes the next move (i.e., no blending of speeds occurs as speed reverses), as shown in Figure 8.12.
Figure 8.10 Speed Decreases, Direction Same, End Point Greater Velocity
0 0
Time
End point of the current move. The current move end point is less than the end point for the new move. The speed for the new move is less than the speed for the old move.
Publication 1746-6.1.2 - July 2000
Page 138
Programming the SLC Processor to Run the SLC Servo Module
8-21
Figure 8.11 Speed Increases, Direction Same, End Point Greater Velocity
0 Time
0
End point of the current move. The current move end point is less than the end point for the new move. The speed for the new move is greater than the speed for the old move.
Figure 8.12 Speed Increases, Direction Opposite, End Point Less Velocity
0 Time
0
End point of the current move. The current move end point is less than the end point for the new move. The speed for the new move is opposite to the speed for the current move.
Executing Several Blend Moves The following figure shows the speed profiles for several blend moves.
Publication 1746-6.1.2 - July 2000
Page 139
8-22
Programming the SLC Processor to Run the SLC Servo Module
Figure 8.13 Speed Increases, Direction Opposite, End Point Less Velocity
Execute several blend moves
0 Time
0
End point of the current move. The current move end point is less than the end point for the new move. The speed for the new move is opposite to the speed for the current move.
Blending Moves An executing move is considered complete when a new move is commanded by the SLC processor. This allows you complete flexibility to blend different moves from the ladder logic. If you change the speed or acceleration after the deceleration has begun, the move completes using the speed and acceleration that was active when the deceleration began. This section describes several blend rules.
Blending Absolute Moves If the current position is: Less than the target position for the absolute move both: • when the new absolute move is processed and • while executing any currently executing move Greater than the target position
Then the axis: Direction is not reversed. It can accelerate or decelerate to the new speed for the move and then stop at the new target position, as shown in Figures 8.14 and 8.15.
Decelerates to the end point at the specified deceleration rate of the old move. The axis then reverses the direction and executes at the new acceleration rate to move to the new target position, as shown in Figure 8.16.
Blend move profile moves follow the same blending rules as absolute moves because the blend profile moves are several absolute moves specified as sequential moves.
Publication 1746-6.1.2 - July 2000
Page 140
Programming the SLC Processor to Run the SLC Servo Module
8-23
Figure 8.14 Speed Decreases, Direction Same, Position Greater Velocity
Blended velocity profiles to permit high speed traverse and low speed absolute moves.
0 0
Time
Initiate new Blend Absolute move. The current position is less than the target position for the new move. The speed for the new move is less than the speed for the old move.
Figure 8.15 Speed Increases, Direction Same, Position Greater Velocity
0 0
Time
Initiate new Blend Absolute move. The current position is less than the target position for the new move. The speed for the new move is greater than the speed for the old move.
Figure 8.16 Speed Slows to Stop, Direction Reverses, Position Less Velocity
Time
0 0
Initiate new Blend Absolute move. The current position is greater than the target position for the new move. The speed for the new move is greater than the speed for the old move.
Publication 1746-6.1.2 - July 2000