Mitsubishi Electronics FX5 ユーザーズマニュアル

ページ / 306
9  PID CONTROL FUNCTION
9.8  Examples of Program
81
9
Program
OUTHS
ST0
K2000
MOV
SM402
Initial pulse
SM402
Initial pulse
Initial pulse
SM402
PID control is started 
after auto-tuning
PID is executed
PID is executed
X010
PID control is started 
after auto-tuning
X011
PID control is started 
(without auto-tuning)
M4
ST0
Heater operation 
cycle
M4
PID control is started 
(without auto-tuning)
X011
M4
Auto-tuning is executed
ST0<D502
X010
MOV
SD6022
K5000
K500
SET
SET
K0
MOV
RST
RST
D510
PID
<  ST0 D502
D500
RST
D500
The target value is set to 50
C
The sampling time is set to 
500 ms
The operation direction is set to 
backward operation
PID instruction 
initial setting
Built-in analog monitor
   CH1: SD6022
   CH2: SD6062
0: Enable
1: Disable
Heater output control
The upper and lower limits of 
output value is set to valid
The output value lower limit 
is set to ON for 0 sec.
The built-in analog is set to used CH
   CH1: SM6021
   CH2: SM6061
The PID output is initialized
PID instruction 
drive
PID is executed
The heater operation 
cycle is set to 2 sec.
Preset
Heater output
D510
D511.0
D511.5
K2000
MOV
The output value upper limit 
is set to ON for 2 sec.
D532
D533
SM6021
D502
D502
M4
ST0
Y1
END
X010
PID control is started 
after auto-tuning
MOV
SET
K500
K1800
K0
MOV
SET
D511.6
The auto-tuning mode is set 
to limit cycle method
The PV value threshold 
(hysteresis) width (SHPV) is 
set to 5.0°C
The output value upper limit 
(ULV) is set to ON for 1.8 sec.
Auto-tuning 
initial setting
The output value lower limit 
(LLV) is set to ON for 0 sec.
Auto-tuning is started
D535
D536
D537
K-50
MOV
The wait setting parameter 
(kW) from the end of tuning 
cycle to PID control start is 
set to -50 (wait is not provided)
D538
D511.4
MOV