Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual page 812

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

Data Control Instructions
772
and the new P, I, and D constants are stored automatically in C+1, C+2, and
C+3. At this point, the AT Command Bit (bit 15 of C+9) is turned OFF and PID
control resumes with the new PID constants in C+1, C+2, and C+3.
• If the AT Command Bit is ON when PIDAT(191) execution begins, auto-
tuning will be performed first and then PID control will start with the calcu-
lated PID constants.
• If the AT Command Bit is turned ON during PIDAT(191) execution,
PIDAT(191) interrupts the PID control being performed with the user-set
PID constants, performs autotuning, and then resumes PID control with
the calculated PID constants.
The following flowchart shows the autotuning procedure:
Note
1. If autotuning is interrupted by turning OFF the AT Command Bit during au-
totuning, PID control will start with the PID constants that were being used
before autotuning began.
2. Also, if an AT execution error occurs, PID control will start with the PID con-
stants that were being used before autotuning began.
In both cases described in notes 1 and 2, the PID constants will be enabled if
they were already calculated when autotuning was interrupted.
PID Control
The number of valid input data bits within the 16 bits of the PV input (S) is
designated by the input range setting in C+6, bits 08 to 11. For example, if 12
bits (4 hex) is designated for the input range, the range from 0000 hex to 0FFF
hex will be enabled as the PV. (Values greater than 0FFF hex will be regarded
as 0FFF hex.)
The set value range also depends on the input range.
Measured values (PV) and set values (SV) are in binary without sign, from
0000 hex to the maximum value of the input range.
The number of valid output data bits within the 16 bits of the manipulated vari-
able output is designated by the output range setting in C+6, bits 00 to 03. For
example, if 12 bits (4 hex) is designated for the output range, the range from
0000 hex to 0FFF hex will be output as the manipulated variable.
For proportional operation only, the manipulated variable output when the PV
equals the SV can be designated as follows:
0: Output 0%
1: Output 50%.
The AT Command Bit (bit 15 of C+9) is
ON at the start of PIDAT(191) execution
or it is turned ON during execution.
PID control is interrupted, the PV is
forcibly changed, and the PID constants
are calculated automatically.
The calculated P, I, and D constants are
set in C+1, C+2, and C+3 respectively.
The AT Command Bit is turned OFF.
PID control starts (or restarts) with the
new PID constants.
Section 3-18

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents