Mitsubishi Electric MELSEC iQ-R Series User Manual page 271

Programmable
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

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
Setting item
[Cd.27]
Target position change value (New
address)
[Cd.28]
Target position change value (New
speed)
[Cd.29]
Target position change request flag
Refer to the following for the setting details.
Page 512 Control Data
• The following shows the time chart for target position change.
■4-axis module operation example
Positioning start signal
PLC READY signal
All axis servo ON
READY signal
Start complete signal
([Md.31] Status: b14)
BUSY signal
Positioning complete signal
([Md.31] Status: b15)
Error detection signal
([Md.31] Status: b13)
Program example
Add the following program to the control program, and write it to the CPU module.
Page 595 Target position change program
Downloaded from
ManualsNet.com
Setting value
3000
1000000
1
V
[Y10]
[Y0]
[Y1]
[X0]
[X10]
[Cd.27] Target position change
value (New address)
[Cd.28] Target position change
value (New speed)
[Cd.29] Target position change
request flag
search engine
Setting details
Set the new address.
Set the new speed.
Set "1: Requests a change in the target
position".
Dwell time
3000
1000000
0
0
1
8.4 Functions to Change the Control Details
Buffer memory address
Axis 1 to axis 16
4334+100n
4335+100n
4336+100n
4337+100n
4338+100n
t
8 CONTROL SUB FUNCTIONS
8
269

Advertisement

Table of Contents
loading

Table of Contents