8.2 Pid Control Program Examples; System Configuration For Program Examples; 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

8.2
PID Control Program Examples
This section describes examples of sequence programs that execute PID control.

System configuration for program examples

The following illustrates the system configuration for the program examples.
Module
Q64AD
Q62DA

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 Q64AD
as PV and the MV obtained as a result of PID operation are output from the Q62DA 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.
Command
PID control start command
PID control stop command
• The digital values of the Q64AD and Q62DA are set within the range 0 to 2000.
8 INCOMPLETE DERIVATIVE PID CONTROL INSTRUCTIONS AND PROGRAM EXAMPLES
66

8.2 PID Control Program Examples

I/O number
X/Y80 to X/Y8F
X/YA0 to X/YAF
Device name
D500 to D501
D502 to D515
D516 to D529
Device name
D600 to D609
D610 to D632
D633 to D655
SV
600
1000
Device name
X0
X1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-qna seriesMelsec-l series

Table of Contents