Program Example Of Auto Tuning (Step Response Method) And Pid Control - Mitsubishi MELSEC-F FX3U Series User Manual

Programmable controllers
Hide thumbs Also See for MELSEC-F FX3U Series:
Table of Contents

Advertisement

FX
/FX
Series PLC User's Manual - Analog Control Edition
3U
3UC
PID Instruction (FNC 88)
5.2

Program example of auto tuning (step response method) and PID control

Initial pulse
M8002
PID control is started
after auto tuning
X010
PID control is started
(without auto tuning)
X011
Auto tuning ON flag
M1
Initial pulse
M8002
RUN monitor
M8000
Initial pulse
M8002
PID control is
PID control is started
started after
(without auto tuning)
auto tuning
X010
PID control is started
(without auto tuning)
X11
PID control is
started after
auto tuning
X10
G-24
FNC 12
MOV
FNC 12
MOV
FNC 12
MOV
FNC 12
MOV
FNC 12
MOV
Auto tuning setting flag
M0
FNC 12
MOV
FNC 12
MOV
FNC 12
MOV
FNC 12
MOVP
FNC 79
K 0
K 0
TO
FNC 78
K 0
K 10
FROM
X011
FNC 88
D500
D501
PID
5 Example of Practical Programs (for Step Response Method)
5.2 Program example of auto tuning (step response method) and PID control
The target value is set (to 50°C).
K500
D500
The input filter constant ( α ) is set
K 70
D512
(to 70%).
The differential gain (K
K 0
D515
(to 0%).
The output value upper limit is set
K2000
D532
(to ON for 2 sec).
The output value lower limit is set
K 0
D533
(to ON for 0 sec).
The auto tuning setting is started.
PLS
M0
Auto tuning ON flag
SET
M1
The sampling time (Ts) for auto
K3000
D510
tuning is set (to 3 sec).
Operation setting (ACT)
H0030
D511
Auto tuning is started.
The output value for auto tuning is
K1800
D502
set (to ON for 1.8 sec).
The sampling time (Ts) for normal
K500
D510
operation is set (to 500 ms).
The mode of FX
Ch 1: Unused
H3303
K 1
Ch 2: K type
Data is read from the channel 2 in
D501
K 1
FX
2N
The PID operation is initialized.
RST
D502
PID instruction is driven.
D510
D502
The PID operation is executed.
M3
) is set
D
-4AD-TC is set.
2N
Ch 3: Unused
Ch 4: Unused
-4AD-TC.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents