Program Example For Automatic Mode Pid Control - Mitsubishi Electric MELSEC-Q series Programming Manual

Qna programming manual (pid control instructions)
Hide thumbs Also See for MELSEC-Q series:
Table of Contents

Advertisement

Program example for automatic mode PID control

This section gives a program example in which PID operation is performed using the digital values imported from the A68AD
as PV and the MV obtained as a result of PID operation are output from the A62DA to control external devices.
[PROGRAMMING CONDITIONS]
• PID operation is executed for 2 loops.
• The sampling cycle is 1 second.
• The PID control data is set in the following devices: ( Page 36 PID Control Data)
PID control data
Common data
Loop 1 data
Loop 2 data
• The I/O data is set in the following devices: ( Page 51 I/O Data)
I/O data
Common data
Loop 1 data
Loop 2 data
• The following SV are set for loop 1 and loop 2 using a sequence program:
Loop
Loop 1
Loop 2
• The following devices are used for PID control start/stop commands and the monitoring command with AD57.
Command
PID control start command
PID control stop command
Monitoring command with AD57
• The digital values of the A68AD and A62DA are set within the range 0 to 2000.
9 COMPLETE DERIVATIVE PID CONTROL INSTRUCTIONS AND PROGRAM EXAMPLES
88
9.3 PID Control Program Examples (QnACPU only)
Device name
D500 to D501
D502 to D511
D512 to D521
Device name
D600 to D609
D610 to D627
D628 to D645
SV
600
1000
Device name
X0
X1
X2

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-qna seriesMelsec-l series

Table of Contents