EasyManua.ls Logo

Omron CP - PROGRAMMING MANUAL 05-2007 - Page 652

Omron CP - PROGRAMMING MANUAL 05-2007
1175 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
619
Data Control Instructions Section 3-17
Input Values and
Manipulated Variable
Ranges
The number of valid input data bits for the measured value is designated by
the input range setting in C+6, bits 08 to 11, and the number of valid output
data bits for the manipulated variable output is designated by the output range
setting in C+6, bits 0 to 3. These ranges are shown in the following table.
If the range of data handled by an Analog Input Unit or Analog Output Unit
cannot be set accurately by setting the number of valid bits, APR(069)
(ARITHMETIC PROCESS) can be used to convert to the proper ranges
before and after PID(190).
The following program section shows an example for a DRT1-AD04 Analog
Input Unit and DRT1-DA02 Analog Output Unit operating as DeviceNet
slaves. The data ranges for these two Units is 0000 to 1770 hex, which cannot
be specified merely by setting the valid number of digits. APR(069) is thus
used to convert the 0000 to 1770 hex range of the Analog Input Unit to 0000
to FFFF hex for input to PID(190) and then the manipulated variable output
from PID(190) is converted back to the range 0000 to 1770 hex, again using
APR(069), for output from the Analog Output Unit.
C: D200
C+1: D201
C+2: D202
C+3: D203
C+4: D204
C+5: D205
C+6: D206
C+7: D207
C+8: D208
C+9: D209
C+38: D238
012C
0064
04B0
0190
0032
0008
0494
0000
0000
1000
0.00
1000
D200
2000
to
Note
PID control
Reverse operation (bit 00: 0) /PID constant updating
timing=input condition is ON (bit 01: 0)/ set value =
manipulated variable output 50% (bit 03: 1) / 2-PID
parameter = 0.65 (bits 04 to 15: 000 hex)
Manipulated variable output range: 12 bits (bits 00 to 03:
4 hex) Integral/derivative constant: time designation (bits
04 to 07: 9 hex) Input range: 12 bits (bits 08 to 11: 4 hex)
Manipulated variable limit control: No (bits 12: 0 hex)
Set value: 300
Proportional band: 10.0%
Integral time: 120.0 s
Derivative time: 40.0 s
Sampling period: 0.5 s
When CIO 0.00 is OFF, operation can be the same
as manual operation by writing to CIO 2000.
Manipulated variable output:
CIO 2000
PV: word
Parameters
Work Area
C+6, bits 08 to 11 or
C+6, bits 00 to 03
Number of valid bits Range
0 8 0000 to 00FF hex
1 9 0000 to 01FF hex
2 10 0000 to 03FF hex
3 11 0000 to 07FF hex
4 12 0000 to 0FFF hex
5 13 0000 to 1FFF hex
6 14 0000 to 3FFF hex
7 15 0000 to 7FFF hex
8 16 0000 to FFFF hex

Table of Contents

Related product manuals