User`s manual
7 - 13 7 - 13
MELSEC-Q
7 SEQUENCE PROGRAM USED FOR POSITIONING CONTROL
7.5.2 Start method setting program
This program sets which control, out of "OPR" control or "positioning control" to
execute.
Data requiring setting
(1) Set "
Cd. 3
Start method" according to the control to be started.
Buffer memory address
Setting item Setting value
Axis 1 Axis 2 Axis 3 Axis 4 Axis 5 Axis 6 Axis 7 Axis 8
Cd. 3 Start method
0 : Positioning control
(starting from No. 1)
9000 : Machine OPR control
9001 : Fast OPR control
52 152 252 352 452 552 652 752
Refer to "Section 4.7 List of control data" for more information on the setting details.
(2) Set the following control data for "speed-position switching control".
Buffer memory address
Setting item Setting value
Axis 1 Axis 2 Axis 3 Axis 4 Axis 5 Axis 6 Axis 7 Axis 8
Cd. 5
Speed-position switching
request
1: The speed-position switching signal is
made valid (enabled).
54 154 254 354 454 554 654 754
Refer to "Section 4.7 List of control data" for more information on the setting details.
7.5.3 Start program
This program is designed to start OPR control or positioning control using the
positioning start signal [Y8 to YF]. (Refer to Chapters 8 and 9 for details of OPR control
and positioning control.)
PLC CPU
Buffer memory
52
Input/output signal
0
1)
ON
2)
Y8
Drive unit
Positioning data
No.1 is started
3)
When starting positioning with the scan
after the completion of positioning,
insert X10 as an interlock so that
positioning is started after Y8 is turned
OFF and X10 is turned OFF.
1) Set "
Cd. 3
Start method" according to the control to be started. (Positioning control in the
above example)
2) Enter the positioning start signal [Y8].
3) Positioning data No. "1" is started.
Fig. 7.2 Procedures for starting control (for axis 1)