The text of a manual · part 6 of 30
SERCOS and Analog Motion Configuration and Startup User Manual, pages 51 to 60
Pages 51 to 60 of 297
The original document is the PDF (13 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.
For the Allen-Bradley 1756-M08SE
Page 51
Configure analog motion
Chapter 2
See also Add a motion group for Configure Analog Module on page 55 Add an axis for Configure Analog Module on page 57
Add a hydraulic drive module
Use these instructions to add a hydraulic drive module if included in the configuration. To add a hydraulic drive module: Important:
For all modules, use the firmware revision that goes with the firmware revision of the controller. See the release notes for the controller’s firmware.
1. In the Controller Organizer, right-click the backplane and select New Module.
2. On the Select Module Type dialog box, choose the hydraulic drive module to add to the project.
3. Select Close on Create, and select Create.
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
51
Page 52
Chapter 2
Configure analog motion
4. On the New Module dialog box, in Name, type a name for the module.
5. In Slot, choose the number that corresponds to the physical slot that contains the module. 6. (optional) In Description, type a description. 7. In Electronic Keying, choose either Compatible Keying or Exact Match. WARNING: Never select Disable Keying with motion modules.
8. Select Open Module Properties. 9. Select OK. Continue with the instructions to modify the properties for the hydraulic drive module. See also Electronic Keying on page 24
Modify properties for a hydraulic drive module
Configure the feedback type for a hydraulic drive. Based on the length of the feedback, the Servo Update Period must be configured. This setting is unique for the 1756-HYD02 module. If the Servo Update Period is not configured correctly, the axis does not work. To modify the properties for a hydraulic drive module: 1. If the Module Properties Report dialog box is not already open, in the Controller Organizer, double-click the hydraulic drive module.
52
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
Page 53
Configure analog motion
Chapter 2
2. On the Module Properties Report dialog box, select the Associated Axes tab.
3. Select New Axis to create an AXIS_SERVO tag to associate to one of the channels. 4. On the New Tag dialog box, in Name, type a name for the axis tag.
5. Select Create. 6. (optional) Repeat steps 3 through 5 if an additional axis is required. 7. On the Module Properties Report dialog box, in Channel 0, choose an axis. Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
53
Page 54
Chapter 2
Configure analog motion
8. (optional) In Channel 1, choose an axis. 9. In Servo Update Period, choose the periodic rate at which the module closes the servo loop for an axis. 10. Select OK. See also Configure the feedback type on page 54
Configure the feedback type
Use these instructions to configure the feedback type for the axis. 1. In the Controller Organizer, double-click the axis. 2. On the Axis Properties dialog box, select the Feedback tab.
3. In Feedback Type, choose the feedback type. 4. In Calibration Constant, choose the value and select Calculate. The minimum servo update period for the configured feedback appears.
54
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
Page 55
Configure analog motion
Chapter 2
5. If necessary, return to the Module Properties dialog box, and modify the settings on the Associated Axis tab. See also Feedback tab - AXIS_SERVO on page 127
Add a motion group for Configure Analog Motion
Use these instructions to add a motion group. Important:
Only one motion group can be created for each project.
To add a motion group for Configure Analog Motion: 1. In the Controller Organizer, right-click Motion Groups and select New Motion Group.
2. On the New Tag dialog box, in Name, type a name for the motion group.
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
55
Page 56
Chapter 2
Configure analog motion
3. (optional) In Description, type a description. 4. Select Create. See also Add an axis for Configure Analog Motion on page 57
Set the Base Update Period
The Base Update Period (also known as the Coarse Update Period) is how often the motion planner runs. The motion planner is the part of the controller that handles position and velocity information for the axes. When the motion planner runs, it interrupts most other tasks regardless of their priority. Example: If the Base Update Period is set to 10 ms, then every 10 ms the controller stops scanning the code and performing other system overhead tasks, and runs the motion planner.
Use these guidelines to set the Base Update Period. Guideline
Description
Number of Axes
1756-L6x controller 4 axes/ms 1756-L7x controller8 axes/ms
Save Controller’s Time
Leave at least half the controller’s time for the scan of all the code.
Base Update Period and SERCOS modules
For SERCOS interface motion modules, set the Base Update Period to a multiple of the cycle time of the motion module. Example: If the cycle time is 2 ms, set the Base Update Period to 8 ms, 10 ms, 12ms, and so on.
Base Update Period and Analog modules
For analog motion modules, set the Base Update Period to: • At least 3 times the servo update period of the motion module. • A multiple of the servo update period of the motion module.
To set the Base Update Period: 1. In the Controller Organizer, double-click the motion group.
56
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
Page 57
Configure analog motion
Chapter 2
2. Select the Attribute tab.
3. In Base Update Period, choose the update period using the guidelines mentioned earlier. The valid values range from 0.5 to 32, in 0.5 increments. Tip:
The Axis Schedule button opens the Axis Schedule dialog box to schedule the base and alternate update periods and assign axes to them. Since axes used in coordinate system objects cannot be multiplexed, only the Base Update Period is used. Therefore, there is no need to open the Axis Schedule dialog box.
4. In General Fault Type, choose Non Major Fault. 5. Select OK. See also Manage motion faults on page 67
Add an axis for Configure Analog Motion
Use these instructions to add an axis for each of the drives.
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
57
Page 58
Chapter 2
Configure analog motion
To add an axis for Configure Analog Motion: 1. In the Controller Organizer, right-click the motion group and select New Axis.
2. Choose the data type based on these guidelines. •
•
If using one of these motion modules, select AXIS_SERVO. •
1756-M02AE
•
1756-HYD02
•
1756-M02AS
To use a virtual configuration (no hardware), select AXIS_VIRTUAL.
3. On the New Tag dialog box, in Name, type a name for the axis. 4. (optional) In Description, type a description for the axis. 5. Select Create. See also Configure an axis for Configure Analog Motion on page 59
Get Axis Information
58
To get information about an axis: •
Use the Quick View pane to see the state and faults of an axis.
•
Use a Get System Value (GSV) instruction or Set System Value (SSV) instruction to read or change the configuration at run-time.
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
Page 59
Configure analog motion
Chapter 2
•
Configure an axis for Configure Analog Motion
Use the tag of the axis for status and faults.
Use these steps to configure the axis of an analog module. To configure an axis for Configure Analog Motion: 1. In the Controller Organizer, double-click the axis. 2. On the General tab, in Module, select the name of the drive for this axis.
3. Select the Units tab, and in Position Units, enter the units in which to program.
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018
59
Page 60
Chapter 2
Configure analog motion
4. Select the Conversion tab, and in Positioning Mode and Conversion Constant, enter the conversion details.
See also Axis properties on page 119
Set the homing sequence for Configure Analog Motion
Use the Homing tab in the Axis Properties dialog box to set up the homing mode and sequence for the module. To set the homing sequence: 1. Select the Homing tab, and in Mode, choose the homing mode.
2. In Position, type the position units. 3. In Sequence, choose the sequence type. 4. For all sequence types except Intermediate, in Description, choose the active home sequence direction, and then in Speed and Return Speed, set the homing speeds. 60
Rockwell Automation Publication MOTION-UM001H-EN-P - November 2018