The text of a spec sheet · part 15 of 23
SLC Servo Control Module (Catalog No. 1746-HSRV) User Manual, pages 141 to 150
Pages 141 to 150 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 141
8-24
Programming the SLC Processor to Run the SLC Servo Module
Blending Incremental Moves If an incremental move is initiated while: Another incremental move is executing An absolute move is executing
A speed move is executing
The resulting move is: The sum of the two move distances. Equal to the sum of the target position for the absolute move and the distance for the incremental move. The sum of the current position and the distance for the new incremental move.
Blending Speed Moves If a speed move is initiated while another move is executing and the direction is:
Then the axis:
The same
Accelerates or decelerates to the new speed, as shown in Figures 8.17 and 8.18.
Opposite
Decelerates from the current speed at the specified deceleration rate for the old move before reversing and accelerating to the new speed at the newly specified acceleration rate, as shown in Figure 8.19.
Figure 8.17 Speed Decreases, Direction Same Velocity
0 Time
0
Initiate new Blend Speed move. The speed direction for the new move is the same as the speed direction for the old move. The speed for the new move is less than the speed for the old move.
Publication 1746-6.1.2 - July 2000
Page 142
Programming the SLC Processor to Run the SLC Servo Module
8-25
Figure 8.18 Speed Increases, Direction Same Velocity
0 Time
0
Initiate new Blend Speed move. The speed direction for the new move is the same as the speed direction for the old move. The speed for the new move is greater than the speed for the old move.
Figure 8.19 Speed Slows to Stop, Direction Reverses Velocity
Time
0 0
Initiate new Blend Speed move. The speed direction for the new move is the opposite of the speed direction for the old move.
Plan Synchronized Move Plan synchronized move parameters for word 4, bit 15 appear in the table below. Block Command Parameters Plan Synchronized Move More Bit Specifications 1
Location1 O:s.4 O:s.5
Format
Possible Values
Default
BITS BITS
1000 0000 XXXX XXXX 0000 0000 0000 0000
0 0 s = Slot number for the SLC Servo Module.
Publication 1746-6.1.2 - July 2000
Page 143
8-26
Programming the SLC Processor to Run the SLC Servo Module
The Plan Synchronized Move bit: • Can be set along with a move in the mutually exclusive move set. • Tells the motion environment to hold the execution of the associated move until a synchronize signal is received from the backplane or as a fast input from the termination panel. • Can be used to synchronize the execution of a mutually exclusive move or several moves to be executed on different modules. The move data (speed, acceleration, and position) is used to plan the move, but the execution is held until the synchronize signal goes true. For example, the Plan Synchronized Move is initiated if the float data table is: Word
0 (Accel/Decel) 1 (Velocity)
F47:0
0.75
2
3
4
5
500.0
And the integer data table is: Word
0
1
2
3
4
5
N31:0
0
0
0
0
10000000 00000100 0
The N31:0 data is shown in binary radix to show the most significant bit set. Given this data, a speed move is initiated. The example initiates a synchronized speed move: • At 500.0 position units per time base. • At 75% of the maximum acceleration specified in the configuration. A synchronized speed move occurs if: • Module is out of Estop. • Maximum speed configured is more than 500.0 position units per minute. • Synchronized signal is received.
Publication 1746-6.1.2 - July 2000
Page 144
Chapter
9
Programming System Variables
Overview
This chapter provides information to help you program the module for the command mode of operation. This chapter includes the following topics: • Using position initialization commands • Using online configuration commands • Understanding status information • Understanding SLC Servo Module processor status
Using Position Initialization Commands
The initialization commands that are discrete block commands from the SLC Processor are: • Home axis • Set home • Set retract position • Preset position
Using the Home Axis Command When you execute the Home Axis command, the following conditions must exist before the homing operation can begin: • The motion control system must be out of Estop. • There must be no motion in progress. If the system is in Estop, an error is sent to the SLC processor. If there is motion in progress, that motion is canceled. Home axis parameters for word 5, bit 0 appear in the table below. Block Command Parameters Bit Specifications Home Axis % Acceleration Ramp Speed Direction to Start Homing Axis
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
0000 0000 0000 0000 0000 0000 0000 0001 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.
1
Publication 1746-6.1.2 - July 2000
Page 145
9-2
Programming System Variables
The Speed/Direction to Start Homing Axis value is signed. The sign specifies the direction the axis is to move. If: The speed specified is greater than the maximum axis speed Any error occurs while homing the axis
Then: The speed for the move is limited to the maximum axis speed. The SLC processor is notified with an appropriate fault code.
Planning a Home Axis Move Figure 9.1 shows a typical ladder program block diagram to initiate a word 5 command from the SLC processor. Other commands are initiated by setting appropriate values in the data tables and copying data to appropriate module output words. Examples of these commands include: • Set Home • Set Retract • Preset Position • Set Offset • Set In-Position Band • Set Excess FE Limit • Set Axis Gain • Set VFF
Figure 9.1 Home Axis Command Block Diagram
Publication 1746-6.1.2 - July 2000
Page 146
Programming System Variables
9-3
A home axis move is initiated if the float data table is: Word
0 (Accel/Decel) 1 (Velocity)
F27:0
1.0
2
3
4
5
20.0
And the integer data table is: Word
0
1
2
3
4
5
N32:0
0
0
0
0
0
1
Using the Set Home Command The Set Home command sets the current commanded position equal to the specified set home position and tells the system that the axis is homed. Set Home parameters for word 5, bit 1 appear in the table below. Block Command Parameters Bit Specifications Set Home Position 1
Location1 O:s.4 O:s.5 O:s.6-O:s.7
Format
Possible Values
Default
Bits Bits Float
0000 0000 0000 0000 0000 0000 0000 0010 –axis travel limit to +axis travel limit
0 0 0.0 s = Slot number for the SLC Servo Module.
The absolute position for the axis is set equal to the set home position plus the signed following error. The Set Home operation also causes the offset for the position to be set to zero. This operation can only be performed when the SLC Servo Module is out of Estop and there is no motion in progress. This function is used when the configured home type is set to Homing Without a Limit Switch or Marker. After the Set Home is executed, the position is valid for performing an absolute move. If the Set Home command fails, the SLC processor is notified with an appropriate error message.
Publication 1746-6.1.2 - July 2000
Page 147
9-4
Programming System Variables
Typical Set Home Move Data Tables Before executing a Set Home move, set Source B for the Equal instruction in Figure 9.1 to 2. A Set Home command to set the command position to –1.0 is initiated if the float data table is: Word
0 (Position)
F27:0
–1.0
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
2
Using the Set Retract Position Command The Set Retract Position command sets the internal Retract Position equal to the specified Retract Position . Set Retract Position parameters for word 5, bit 2 appear in the table below. Block Command Parameters Bit Specifications Set Retract Position % Acceleration Ramp Speed Retract Position position 1
Location1 O:s.4 O:s.5 O:s.6-O:s.7 O:s.8-O:s.9 O:s.10-O:s.1 1
Format
Possible Values
Default
Bits Bits Float Float Float
0000 0000 0000 0000 0000 0000 0000 0100 0.0 to 1.0 0.0 to +physical limit –axis travel limit to +axis travel limit
0 0 1.0 0.0 0.0 s = Slot number for the SLC Servo Module.
The speed and time to reach speed are set accordingly and used during the Retract Position move. This is the position that the axis goes to when the discrete Retract Position bit gets set. This function is useful when you want to set up a safe location for the axis to take refuge in an emergency situation. This operation can only be performed if the following occurs: • SLC Servo Module is out of Estop • There is no motion in progress • Axis is homed
Publication 1746-6.1.2 - July 2000
Page 148
9-5
Programming System Variables
After the Set Retract Position is executed, the position is valid for performing the Retract Position operation if the following conditions exist: • Axis is homed • Specified speed is greater than the maximum axis speed if the speed for the move is limited to the maximum axis speed.
Typical Set Retract Position Move Data Tables Before executing a Set Retract move, set Source B for the Equal instruction in Figure 9.1 to 4. A Set Retract Position command to set the command position to –20.0 is initiated if the float data table is: Word
0 (Accel/Decel) 1 (Velocity)
2 (Position)
F27:0
1.0
–20.0
50.0
3
4
5
And the integer data table is: Word
0
1
2
3
4
5
N32:0
0
0
0
0
0
4
Using the Preset Position Command The Preset Position command sets the current command position equal to the specified preset position. Preset Position parameters for word 5, bit 3 appear in the table below. Block Command Parameters Bit Specifications Preset Position Position
Location1 O:s.4 O:s.5 O:s.6-O:s.7
Format
Possible Values
Default
Bits Bits Float
0000 0000 0000 0000 0000 0000 0000 1000 –axis travel limit to +axis travel limit
0 0 0.0
1 s = Slot number for the SLC Servo Module.
The absolute position for the axis is set equal to preset position plus the signed following error. The preset position operation can only be performed when: • The module is out of Estop • There is no motion in progress • The axis has been homed
Publication 1746-6.1.2 - July 2000
Page 149
9-6
Programming System Variables
This command is useful when you want to set the current position of the axis to a certain predetermined or preset value. If the Preset Position command fails, the SLC processor is notified with an appropriate error message.
Typical Preset Position Move Data Tables Before executing a Preset Position move, set Source B for the Equal instruction in Figure 9.1 to 8. A Preset Position command to set the command position to 5.0 is initiated if the float data table is: Word
0 (Position)
F27:0
5.0
1
2
3
4
5
And the integer data table is:
Using Online Configuration Commands
Word
0
1
2
3
4
5
N32:0
0
0
0
0
0
8
If an online command is out of range, it is flagged as an error and the error status is returned in word I:s.4. The configuration commands are: • Set Offset • Set In-Position Band • Set Excess FE Limit • Set Axis Gain • Set VFF
Using the Set Offset Command The Set Offset command adds the offset value to the end point for all absolute moves. The position the axis moves is offset from the end point by this amount. The specified offset value is used for all subsequent moves. The offset is automatically cleared when the axis is
Publication 1746-6.1.2 - July 2000
Page 150
Programming System Variables
9-7 successfully homed. Set Offset parameters for word 5, bit 4 appear in the table below. Block Command Parameters
Location1 O:s.4 O:s.5 O:s.6-O:s.7
Bit Specifications Set Offset Offset 1
Format
Possible Values
Default
Bits Bits Float
0000 0000 0000 0000 0000 0000 0001 0000 –axis travel limit to +axis travel limit
0 0 0.0 s = Slot number for the SLC Servo Module.
Typical Set Offset Move Data Tables Before executing a Set Offset move, set Source B for the Equal instruction in Figure 9.1 to 16. A Set Offset command to set the position offset to 4.0 is initiated if the float data table is: Word
0 (Position)
F27:0
4.0
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
16
Using the Set In-Position Band Command The Set In-Position Band command sets the online in-position band to equal the specified value. The units for the in-position band specified are position units. The in-position band defines a zone around the end point that defines when the in-position bit is set. Set In-Position parameters for word 5, bit 8 appear in the table below. Block Command Parameters Bit Specifications Set In-position Band In-position Band 1
Location1 O:s.4 O:s.5 O:s.6-O:s.7
Format
Possible Values
Default
Bits Bits Float
0000 0000 0000 0000 XXXX XXX1 0000 0000 0.0 to +axis travel limit
0 0 0.0 s = Slot number for the SLC Servo Module.
This Set In-Position Band 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