- Home
- Home security & automation
- Security access control systems
- Mitsubishi
- MOTION CONTROLLERS Q172DCPU
- Instruction manual
6.7 Radius-Specified Circular Interpolation Control. Mitsubishi MOTION CONTROLLERS Q172DCPU
Add to my manuals
448 Pages
advertisement
6 POSITIONING CONTROL
6.7 Radius-Specified Circular Interpolation Control
Circular interpolation control by specification of the end point address and radius for circular interpolation is executed.
Radius-specified circular interpolation control uses ABS , ABS , ABS and
ABS (Absolute data method) and INC , INC , INC and INC
(Incremental data method) servo instructions.
Items set using MT Developer
Servo instruction
Positioning method
Number of control axes
Speed change
ABS
ABS
ABS
ABS
INC
INC
INC
INC
Absolute
Incremental
2
Valid
: Must be set
: Set if required
6 - 43
6 POSITIONING CONTROL
[Control details]
Details for the servo instructions are shown in the table below.
Instruction
Rotation direction of the servomotors
Maximum controllable angle of arc
Positioning path
ABS
INC
Clockwise
Start point
Radius R
<180
Positioning path
End point
Central point
0° < < 180°
ABS
INC
Counter clockwise
Central point
Radius R
Start point
<180
End point
Positioning path
Positioning path
ABS
Central point
Clockwise
INC
Radius R
Start point
End point
180° < 360°
ABS
Start point
Radius R End point
Counter clockwise
Central point
INC
Positioning path
Control using ABS , ABS , ABS , ABS (Absolute data method)
(1) Circular interpolation from the current stop address (address before positioning) based on the home position to the specified end address with the specified radius is executed.
(2) The center of the arc is the point of intersection of the perpendicular bisectors of the start point address (current stop address) to the end address.
Forward direction
Positioning speed
Circular interpolation path
End address (X
1
, Y
1
)
Reverse direction 0
Radius R
Start point address (X 0 , Y 0 )
Arc central point
Forward direction
Reverse direction (Note) : Indicates setting data
Fig.6.13 Circular interpolation control using absolute data method
(3) The setting range of end point address is (-2
31
) to (2
31
-1).
6 - 44
6 POSITIONING CONTROL
(4) The setting range for the radius is 1 to (2
31
-1).
(5) The maximum arc radius is (2
32
-1).
2 31 -1
Maximum arc
0
-2 31
Arc central point Radius R
2 31 -1
Fig.6.14 Maximum arc
Control using INC , INC , INC , INC (Incremental data method)
(1) Circular interpolation from the current stop address (0, 0) to the specified end point with specified radius.
(2) The center of the arc is the point of intersection of the perpendicular bisectors of the start point address (current stop address) to the end address.
Forward direction Circular interpolation path
Positioning speed
End point
Radius R
Start point
Arc central point
Reverse direction
Forward direction
0
Reverse direction (Note) : Indicates setting data
Fig.6.15 Circular interpolation control using incremental data method
(3) Setting range of end point address is (-2
31
) to (2
31
-1).
(4) Setting range of radius is 1 to (2
31
-1).
(5) Maximum arc radius is (2
31
-1).
2 31 -1
Arc central point
0
Maximum arc
-2 31
Radius R
2 31 -1
Fig.6.16 Maximum arc
6 - 45
6 POSITIONING CONTROL
[Program]
Program for radius-specified circular interpolation control is shown as the following conditions.
(1) System configuration
Radius-specified circular interpolation control of Axis 1 and Axis 2.
Motion CPU control module
Q61P Q03UD
CPU
Q172D
CPU
QX41 QY41 Q172D
LX
Positioning start command (PX000)
AMP
Axis
1 M
AMP
Axis
2 M
AMP
Axis
3 M
AMP
Axis
4 M
(2) Positioning operation details
The positioning uses the Axis 1 and Axis 2 servomotors.
The positioning by the Axis 1 and Axis 2 servomotors is shown in the diagram below.
Axis 2 positioning direction
(Forward direction)
50000
Positioning using the servo program
No.41.
End point (100000, 50000)
30000
Start point
(10000, 30000)
(Reverse
direction)
0
Home position
10000
(Reverse direction)
100000
Arc central point
(3) Positioning conditions
(a) Positioning conditions are shown below.
Item
Positioning method
Positioning speed
Servo Program No.
No.41
Absolute data method
1000
Axis 1 positioning direction
(Forward direction)
(b) Positioning start command ........ PX000 Leading edge (OFF ON)
6 - 46
6 POSITIONING CONTROL
(4) Operation timing
Operation timing for radius-specified circular interpolation control is shown below.
V
Servo Program No.41
Vector speed t
PLC ready flag (M2000)
All axes servo ON command
(M2042)
All axes servo ON accept flag
(M2049)
Axis 1 servo ready (M2415)
Axis 2 servo ready (M2435)
Start command (PX000)
Servo program start
Axis 1 start accept flag
(M2001)
Axis 2 start accept flag
(M2002)
(5) Servo program
Servo program No.41 for radius-specified circular interpolation control is shown below.
<K 41>
ABS
Axis
Axis
Speed
Radius
1,
2,
100000
50000
1000
80000
Radius specified-circular interpolation control
Axis used . . . . . Axis 1, Axis 2
End address
Axis 1 . . . 100000
Axis 2 . . . . 50000
Positioning speed . . . . . . . . . 1000
Radius . . . . . . . . . . . . . . . 80000
(Note): Example of the Motion SFC program for positioning control is shown next page.
6 - 47
6 POSITIONING CONTROL
(6) Motion SFC program
Motion SFC program for which executes the servo program is shown below.
Radius specified-circular interpolation control
Radius specified-circular interpolation control
[F10]
SET M2042
[G10]
PX000*M2415*M2435
[K41]
ABS
Axis 1, 100000PLS
Axis 2, 50000PLS
Speed 1000PLS/s
Radius 80000PLS
[G20]
!PX000
Turn on all axes servo ON command.
Wait until PX000, Axis 1 servo ready and Axis 2 servo ready turn on.
Radius specified-circular interpolation control
Axis used . . . . . . . . . . . . . . . Axis 1, Axis 2
End point address
. . . . . . .
Axis 1 . . . 100000[PLS]
Axis 2 . . . . 50000[PLS]
Positioning speed . . . . . . . . . . . . . . . . . . . . . 1000[PLS/s]
Radius . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
80000[PLS]
Wait until PX000 turn off after circular interpolation completion.
END
(Note): Example of the above Motion SFC program is started using the automatic start or PLC program.
6 - 48
advertisement
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Related manuals
advertisement
Table of contents
- 2 SAFETY PRECAUTIONS
- 12 REVISIONS
- 13 CONTENTS
- 16 About Manuals
- 18 1. OVERVIEW
- 18 1.1 Overview
- 20 1.2 Features
- 20 1.2.1 Performance Specifications
- 22 2. POSITIONING CONTROL BY THE MOTION CPU
- 22 2.1 Positioning Control by the Motion CPU
- 36 3. POSITIONING DEDICATED SIGNALS
- 38 3.1 Internal Relays
- 45 3.1.1 Axis statuses
- 55 3.1.2 Axis command signals
- 62 3.1.3 Common devices
- 75 3.2 Data Registers
- 79 3.2.1 Axis monitor devices
- 85 3.2.2 Control change registers
- 86 3.2.3 Common devices
- 89 3.3 Motion Registers (#)
- 91 3.4 Special Relays (SM)
- 94 3.5 Special Registers (SD)
- 100 4. PARAMETERS FOR POSITIONING CONTROL
- 100 4.1 System Settings
- 101 4.2 Fixed Parameters
- 102 4.2.1 Number of pulses/travel value per rotation
- 104 4.2.2 Backlash compensation amount
- 104 4.2.3 Upper/lower stroke limit value
- 106 4.2.4 Command in-position range
- 107 4.2.5 Speed control 10 multiplier setting for degree axis
- 110 4.3 Parameter Block
- 112 4.3.1 Relationships between the speed limit value, acceleration time, deceleration time and rapid stop deceleration time
- 112 4.3.2 S-curve ratio
- 113 4.3.3 Allowable error range for circular interpolation
- 114 5. SERVO PROGRAMS FOR POSITIONING CONTROL
- 114 5.1 Servo Program Composition Area
- 114 5.1.1 Servo program composition
- 115 5.1.2 Servo program area
- 116 5.2 Servo Instructions
- 129 5.3 Positioning Data
- 135 5.4 Setting Method for Positioning Data
- 135 5.4.1 Setting method by specifying numerical values
- 136 5.4.2 Indirect setting method by devices
- 140 6. POSITIONING CONTROL
- 140 6.1 Basics of Positioning Control
- 140 6.1.1 Positioning speed
- 141 6.1.2 Positioning speed at the interpolation control
- 146 6.1.3 Control units for 1 axis positioning control
- 146 6.1.4 Control units for interpolation control
- 148 6.1.5 Control in the control unit "degree"
- 150 6.1.6 Stop processing and restarting after stop
- 156 6.1.7 Acceleration/deceleration processing
- 158 6.2 1 Axis Linear Positioning Control
- 161 6.3 2 Axes Linear Interpolation Control
- 166 6.4 3 Axes Linear Interpolation Control
- 172 6.5 4 Axes Linear Interpolation Control
- 177 6.6 Auxiliary Point-Specified Circular Interpolation Control
- 182 6.7 Radius-Specified Circular Interpolation Control
- 188 6.8 Central Point-Specified Circular Interpolation Control
- 194 6.9 Helical Interpolation Control
- 195 6.9.1 Circular interpolation specified method by helical interpolation
- 216 6.10 1 Axis Fixed-Pitch Feed Control
- 220 6.11 Fixed-Pitch Feed Control Using 2 Axes Linear Interpolation
- 224 6.12 Fixed-Pitch Feed Control Using 3 Axes Linear Interpolation
- 228 6.13 Speed Control ( I )
- 232 6.14 Speed Control ( II )
- 235 6.15 Speed/Position Switching Control
- 235 6.15.1 Speed/position switching control start
- 242 6.15.2 Re-starting after stop during control
- 247 6.16 Speed-Switching Control
- 247 6.16.1 Speed-switching control start, speed-switching points and end specification
- 253 6.16.2 Specification of speed-switching points using repetition instructions
- 259 6.17 Constant-Speed Control
- 263 6.17.1 Specification of pass points by repetition instructions
- 268 6.17.2 Speed-switching by instruction execution
- 273 6.17.3 1 axis constant-speed control
- 277 6.17.4 2 to 4 axes constant-speed control
- 284 6.17.5 Constant speed control for helical interpolation
- 287 6.17.6 Pass point skip function
- 289 6.17.7 FIN signal wait function
- 299 6.18 Position Follow-Up Control
- 306 6.19 Speed control with fixed position stop
- 311 6.20 Simultaneous Start
- 314 6.21 JOG Operation
- 314 6.21.1 JOG operation data
- 315 6.21.2 Individual start
- 320 6.21.3 Simultaneous start
- 323 6.22 Manual Pulse Generator Operation
- 330 6.23 Home Position Return
- 331 6.23.1 Home position return data
- 339 6.23.2 Home position return by the proximity dog type 1
- 342 6.23.3 Home position return by the proximity dog type 2
- 344 6.23.4 Home position return by the count type 1
- 346 6.23.5 Home position return by the count type 2
- 347 6.23.6 Home position return by the count type 3
- 349 6.23.7 Home position return by the data set type 1
- 350 6.23.8 Home position return by the data set type 2
- 351 6.23.9 Home position return by the dog cradle type
- 356 6.23.10 Home position return by the stopper type 1
- 358 6.23.11 Home position return by the stopper type 2
- 360 6.23.12 Home position return by the limit switch combined type
- 362 6.23.13 Home position return retry function
- 366 6.23.14 Home position shift function
- 370 6.23.15 Condition selection of home position set
- 371 6.23.16 Servo program for home position return
- 373 6.24 High-Speed Oscillation
- 376 7. AUXILIARY AND APPLIED FUNCTIONS
- 376 7.1 M-code Output Function
- 379 7.2 Backlash Compensation Function
- 381 7.3 Torque Limit Function
- 383 7.4 Skip Function in which Disregards Stop Command
- 385 7.5 Cancel of the Servo Program
- 386 7.5.1 Cancel/start
- 388 APPENDICES
- 388 APPENDIX 1 Error Codes Stored Using The Motion CPU
- 390 APPENDIX 1.1 Servo program setting errors (Stored in SD517)
- 395 APPENDIX 1.2 Minor errors
- 405 APPENDIX 1.3 Major errors
- 409 APPENDIX 1.4 Servo errors
- 428 APPENDIX 2 Example Programs
- 428 APPENDIX 2.1 Reading M-code
- 429 APPENDIX 2.2 Reading error code
- 431 APPENDIX 3 Setting Range for Indirect Setting Devices
- 433 APPENDIX 4 Processing Times of the Motion CPU
- 434 APPENDIX 5 Device List
- 445 WARRANTY