Program Example For Changing The Pid Control Mode Between Automatic And Manual - Mitsubishi QCPU Programming Manual

Melsec-q/qna series, pid control instructions
Hide thumbs Also See for QCPU:
Table of Contents

Advertisement

8. INCOMPLETE DERIVATIVE PID CONTROL INSTRUCTIONS
AND PROGRAM EXAMPLES
8.2.3 Program example for changing the PID control mode between automatic
and manual
[PROGRAMMINGCONDITIONS]
An example program for switching between automatic and manual modes while
executing PID operation is described below.
(1) Refer to Section 8.2.1 for details on the system configuration.
(2) PID operation is executed for 1 loop.
(3) The sampling cycle is 1 second.
(4) The PID control data is set in the following devices:
Common data ............................................................ D500 and D501
Loop 1 data ................................................................ D502 to D515
(5) The I/O data is set in the following devices:
Common data ............................................................ D600 to D609
Loop 1 data ................................................................ D610 to D630
(6) The SV and MV in manual mode are set with external digital switches as follows:
SV............................................................................... X30 to X3F
MV (manual control mode) ........................................ X20 to X2F
(7) The following devices are used to start and stop PID control and the
automatic/manual changeover command:
PID control start command ........................................ X0
PID control stop command ........................................ X1
SV setting command.................................................. X3
MV setting command in manual mode ..................... X4
Automatic/manual mode changeover command ...... X6
(8) The digital values of the Q64AD and Q62DA are set within the range 0 to 2000.
(OFF: Automatic mode, ON: Manual mode)
8 - 13
MELSEC-Q/QnA

Advertisement

Table of Contents
loading

This manual is also suitable for:

Q modeQnacpu

Table of Contents