258
7 CONTROL SUB FUNCTIONS
7.5 Functions that Change Control Details
Setting the function from the CPU module
The following shows the data setting and a program example for changing the target position of the axis 1 by the command
sent from the CPU module. (In this example, the target position is changed to 300.0
m and the command speed is changed
to 10000.00mm/min.)
• Set the following data.
For details on the settings, refer to the following.
Page 478 [Cd.27] Target position change value (new address)
Page 478 [Cd.28] Target position change value (new speed)
Page 478 [Cd.29] Target position change request flag
• The following shows the time chart of the target position change.
• Add the following program to the control program, and write it to the CPU module.
Page 511 Target position change program
Setting item
Setting
value
Setting detail
Buffer memory address
Axis 1
Axis 2
Axis 3
Axis 4
[Cd.27]
Target position change
value (new address)
3000
Set the new address.
1534
1535
1634
1635
1734
1735
1834
1835
[Cd.28]
Target position change
value (new speed)
1000000
Set the new speed.
1536
1537
1636
1637
1736
1737
1836
1837
[Cd.29]
Target position change
request flag
1
Set 1: Change target position.
1538
1638
1738
1838
V
t
1
0
1000000
0
3000
Cd.28
Cd.29
[Y10]
[Y0]
[X0]
[X10]
[XC]
[X14]
[X8]
Cd.27
Positioning start signal
PLC READY signal
RD75 READY signal
Start complete signal
BUSY signal
Positioning complete
signal
Error detection signal
Target position change value
(new address)
Target position change value
(new speed)
Target position change request
flag
Dwell time
Summary of Contents for MELSEC iQ-R RD75P4
Page 1: ...MELSEC iQ R Positioning Module User s Manual Application RD75P2 RD75P4 RD75D2 RD75D4 ...
Page 2: ......
Page 13: ...11 MEMO ...
Page 19: ...17 CONTENTS INDEX 588 REVISIONS 592 WARRANTY 593 TRADEMARKS 594 ...
Page 498: ...496 13 PROGRAMMING 13 2 List of Labels Used ...
Page 503: ...13 PROGRAMMING 13 4 Program Example 501 13 ...
Page 514: ...512 13 PROGRAMMING 13 4 Program Example Restart program Parameter data initialization program ...
Page 515: ...13 PROGRAMMING 13 4 Program Example 513 13 Flash ROM write program Error reset program ...
Page 516: ...514 13 PROGRAMMING 13 4 Program Example Stop program ...
Page 565: ...APPENDICES Appendix 4 Operation Examples of When the Remote Head Module Is Mounted 563 A ...
Page 597: ......