Datasheet
170 Programmable Controllers
PID Autotuning
PID constants can be automatically tuned for the PID instructions. The
limit cycle method is used for tuning, allowing tuning to be completely
quickly. This is particularly effective when there are many PID control
loops.
PID instructions can be combined with the TIME-PROPORTIONAL
OUTPUT (TPO(685)) instruction to enable time-proportional output of
a manipulated variable (MV).
Applicable Instructions:
Control instructions:
PID CONTROL WITH AUTOTUNING (PIDAT(191))
TIME-PROPORTIONAL OUTPUT (TPO(685))
Easily Process Stacks: One-word Records for FIFO
Processing
Stacks can be created in the DM Area or other areas for FIFO or other
stack processing. The SET STACK (SSET(630)) instruction is used to
create a stack.
Applicable Instructions:
Stack Instructions:
SET STACK (SSET(630))
PUSH ONTO STACK (PUSH(632))
FIRST IN FIRST OUT (FIFO(633))
LAST IN FIRST OUT (LIFO(634))
Simple Data Searches (Single Words)
Instructions are provided to find the maximum value, minimum value,
and search values.
Applicable Instructions:
Search Instructions:
DATA SEARCH (SRCH(181))
FIND MAXIMUM (MAX(182))
FIND MINIMUM (MIN(183))
Real-time Data Management for Conveyors and Other
Applications
When workpieces are added and removed during processing, such as
with conveyors, the CJ1-series PLCs enable stack data to be inserted
or deleted as required to easily manage workpiece data in real-time.
Applicable Instructions:
Table Data Processing Instructions:
SET STACK (SSET(630))
STACK SIZE READ (SNUM(638))
STACK DATA READ (SREAD(639))
STACK DATA OVERWRITE (SWRIT(640))
STACK DATA INSERT (SINS(641))
STACK DATA DELETE (SDEL(642))
Process Data Tables: Multi-word Records
Areas of memory can be defined as tables with the specified record
size (words). Index registers can be used with such tables to easily
sort records, search for values, or otherwise process the records in the
table.
For example, the temperature, pressure, and other settings for each
model of a product can be set in separate records and the data han-
dled by record.
Applicable Instructions:
Table Data Instructions:
DIMENSION RECORD TABLE (DIM(631))
SET RECORD LOCATION (SETR(635))
GET RECORD NUMBER (GETR(636))
Autotuning of PID constants
(limit cycle method)
PID CONTROL WITH AUTOTUNING
PID control
POWER
PA205R
DC24V
AC240V
OUTPUT
RUN
INPUT
AC100-240V
L2/N
L1
CONTROLLER
CJ1G-CPU44
SYSMAC
PROGRAMMABLE
ERR/ALM
RUN
COMM
INH
PRPHL
OPEN
PERIPHERAL
BUSY
MCPWR
PORT
Output Unit
PID
S
C
D
TPO
MV
S
C
R
SSR
20% 80%
1 s
A
A
Stack end address
Stack
Pointer address
First data stored
A (1 word) First data stored
Pointer
Stack end address
Stack
Storing Data in Stack (PUSH(632))
Pointer address
First data stored
Pointer
Stack end address
Stack
Pointer address
Stored data
Stored data
Pointer
FIFO(633) Instruction
Area of words
to search
specified
in instruction.
Process
table data,
e.g., search
for maximum
value
a
m
b
c
h
g
e
f
d
m
a
b
c
d
e
f
g
h
c
Insertion
Deletion
Insert, delete, change, or read the
n
th
data in the stack.
Count the number of data items
in the stack.
Insertion
Deletion
Stack
Can be counted.
Many words
Many words
Many words
1 record
1 record
1 record
Record 1
Record 2
Record N
Temp. setting
Pressure setting
Ex.: Product
Data by Model
Y201-EN2-03.book Seite 170 Donnerstag, 30. Mรคrz 2006 1:52 13










