Other Functions - Omron CP1E CPU UNIT SOFTWARE User Manual

Cp1e cpu unit software
Table of Contents

Advertisement

• The Temperature Sensor Unit's temperature input PV is stored in CIO 2.
• The control output is the transistor output used to control the heater through the SSR using time-pro-
portional control.
• The PIDAT sampling cycle is 1 second.
• Control cycle: 20 s
• When W0.00 turns ON, autotuning is immediately executed and PID control is started with the PID
constants calculated by autotuning.
Ladder Programming Example for an Input Range of -200 to 1300°C for a K
Thermocouple
The CP1W-TS001 Temperature Sensor Unit is used with an input type of K -200 to 1300°C (set the
rotary switch to 0). The decimal values -200 to 1300°C are converted to signed hexadecimal data (FF38
to 0514 hex) and stored in CIO 2 in the Input Area.
However, the PIDAT instruction can only handle unsigned hexadecimal data as the PV. The value is
thus converted from the range FF38 to 0514 to the PIDAT instruction input range of 0000 to 1FFF hex
(0 to 8191) using the APR instruction.
W0.00
C
S
D
S
C
D
S
C
D
W1.00
CP1E CPU Unit Software User's Manual(W480)
C+1:D501
C+2:D502
APR
C+3:D503
D500
C+4:D504
2
PV
D600
Scale PV to
within #0000 to
C+1:D101
#1FFF hex
PIDAT
C+2:D102
C+3:D103
D600
C+4:D104
D100
C+5:D105
D200
MV
C+6:D106
C+7:D107
C+8:D108
TPO
C+9:D109
D200
MV
C+10:D110
D300
C+11:D111
Pulse output
100.00
C+40:D140
W1.00
RSET
100.00
C+1:D301
C+2:D302
C+3:D303
C+4:D304
C+6:D306
Specify 16-bit signed data (bit 11: ON, bit 10: OFF)/Number
of coordinates in data table: 1 (bits 0 to 7: #00 hex)
C:D500
#0800
Minimum manipulated variable input: -200 decimal
-200
(#FF38 hex)
#0000
Minimum value in PID input range: #0000 hex
Maximum manipulated variable input: 1300 decimal
+1300
(#0514 hex)
#1FFF
Maximum value in PID input range: #1FFF hex
Set value: 160˚C (set as calculated value: 1966)
C:D100
&1966
Proportional band: 0.1%
&1
Integral time: 0.1 s
&1
Derivative time: 0.1 s
&1
Sampling period: 1 s
&100
#0002
Reverse operation (bit 00: OFF)/PID constants updated each
time a sample is taken while the input condition is ON (bit 01:
#0595
ON)/2-PID parameter
#0000
Input/Output: 13 bits (bits 00 to 03, 08 to 11: #5 hex)/Integral
and derivative constants: Time designation (bits 04 to 07: #9
#0000
hex)/Manipulated variable limit control: No (bit 12: OFF)
#8000
AT execution (bit 15: ON)/AT Calculation Gain = 1.00
#0005
(bits 0 to 11: #000 hex)
Work Area
Limit-cycle Hysteresis = 0.05% (approximately 0.8˚C)
When autotuning is completed, the content of D109 is automatically overwritten
by #0000 hex and the calculated PID constants are input to D101 to 103.
Manipulated variable range: 13 bits (bits 0 to 3: #5 hex)/
Input type: Manipulated variable (bits 4 to 7: #1 hex),
always read input (bits 8 to 11: #3 hex)/Output limit
disabled (bits 12 to 15: #0 hex)
C:D300
#0315
Control cycle: 20.00 s
&2000
No upper output limit
&0
&0
No lower output limit
Work Area

16 Other Functions

= 0.65 (bits 04 to 15: #000 hex)
16-5
16

Advertisement

Table of Contents
loading

Table of Contents