8 CONTROL SUB FUNCTIONS
8.5 Functions to Change the Control Details
265
8
Setting method from the CPU module
The following shows the data settings and program example for changing the target position of axis 1 by the command from
the CPU module. (In this example, the target position value is changed to "300.0 m" and the command speed is changed to
"10000.00 mm/min".)
• The following data is set. (Set using the program referring to the target position change time chart.)
n: Axis No. - 1
Refer to the following for details on the setting details.
Page 504 Control Data
• The following shows the time chart for target position change.
■RD77MS4 operation example
• Add the following program to the control program, and write it to the CPU module.
Page 571 Target position change program
Setting item Setting value Setting details Buffer memory address
[Cd.27] Target position change value (New address) 3000 Set the new address. 4334+100n
4335+100n
[Cd.28] Target position change value (New speed) 1000000 Set the new speed. 4336+100n
4337+100n
[Cd.29] Target position change request flag 1 Set "1: Requests a change in the
target position".
4338+100n
READY signal [X0]
BUSY signal [X10]
V
t
Positioning start signal
1000000
3000
Dwell time
All axis servo ON [Y1]
PLC READY signal [Y0]
1
0
0
[Y10]
Start complete signal
([Md.31] Status: b14)
Positioning complete signal
([Md.31] Status: b15)
Error detection signal
([Md.31] Status: b13)
[Cd.27] Target position change
value (New address)
[Cd.28] Target position change
value (New speed)
[Cd.29] Target position change
request flag