Mitsubishi Electric MELSEC-Q/L Programming Manual page 751

Hide thumbs Also See for MELSEC-Q/L:
Table of Contents

Advertisement

Program example in auto tuning (step response method) + PID control
• Device
Device
X2
X3
M0
M1
M2
M3
M14
• Program
Description
Start PID control after auto tuning.
Start PID control (without auto tuning).
Auto tuning setting flag
Auto tuning operation flag
Stop auto tuning.
PID running
Auto tuning operation flag
Set the SV. <50°C>
Set the input filter
constant (α). <70%>
Set the derivative gain (K
). <0%>
D
Set the ULV. <On time: 2 seconds>
Set the LLV. <On time: 0 seconds>
Start the auto tuning setting.
Auto tuning action status flag
Set the sampling time (T
) for auto
S
tuning. <3 seconds>
Turn on the auto tuning execution
bit in action setting (ACT)
parameter.
Set the auto tuning output cycle.
<On time: 1.8 seconds>
Set the sampling time (T
) for
S
normal PID action. <500ms>
Input the PV to the I/O data area
from the A/D converter module.
Initialize PID output.
Execute the PID instruction.
PID action being performed
Check the auto tuning action.
End the auto tuning processing.
Switch to the normal PID action.
Heater output
Write the manipulated value
to the D/A converter module.
Error
7 APPLICATION INSTRUCTIONS
7.18 PID Instruction
7
749

Advertisement

Table of Contents
loading

Table of Contents