Mitsubishi Electric MELSEC iQ-F Series FX5 User Manual page 246

Positioning control - intelligent function module
Hide thumbs Also See for MELSEC iQ-F Series FX5:
Table of Contents

Advertisement

■Program example
Add the following program to the control program, and write it to the CPU module.
Page 493 Speed change program
Setting the function using an external command signal
The speed can also be changed using an external command signal.
The following shows the data setting and a program example for changing the control speed of the axis 1 using an external
command signal. (In this example, the control speed is changed to 10000.00 mm/min.)
■Setting data
Set the following data to perform the speed change using an external command signal.
Setting item
[Pr.42]
External command function
selection
[Cd.8]
External command valid
[Cd.14]
New speed value
For details on the settings, refer to the following.
Page 399 [Pr.42] External command function selection
Page 458 [Cd.8] External command valid
Page 460 [Cd.14] New speed value
■Time Charts
The following shows the time chart of the speed change.
[Cd.184] Positioning start signal
[Cd.190] PLC READY signal
READY signal
([Md.140] Module Status: b0)
Start complete signal
([Md.31] Status: b14)
[Md.141] BUSY signal
Positioning complete signal
([Md.31] Status: b15)
Error detection signal
([Md.31] Status: b13)
External command signal
[Pr.42] External command function selection
[Md.40] In speed change processing flag
[Cd.8] External command valid
[Cd.14] New speed value
12 CONTROL SUB FUNCTION
244
12.5 Functions that Change Control Details
Setting
Setting detail
value
1
Set 1: External speed change request.
1
Set 1: Validate external command.
1000000
Set the new speed.
V
1
0
1
0
1
1000000
Buffer memory address
Axis 1
Axis 2
62
212
1505
1605
1514
1614
1515
1615
Dwell time
t t
0
0

Advertisement

Table of Contents
loading

Table of Contents