![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030801.webp)
761
Data Control Instructions
Section 3-18
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
C: D00200
C+1: D00201
C+2: D00202
C+3: D00203
C+4: D00204
C+5: D00205
C+6: D00206
C+7: D00207
C+8: D00208
C+9: D00209
C+38: D00238
012C
0064
04B0
0190
0032
0000
0494
0000
0000
0010
to
Note
PID control
Reverse operation (bit 00: 0), PID constant updating
timing = input condition is ON (bit 01: 0), Manipulated
variable output designation: 0% (bit 03: 0),
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 constants: 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), PID
starting integral manipulated variable designation = start
from same integral manipulated value as manipulated
variable output designation (bit 14: 0 and bit 13: 0)
Set value: 300
Proportional band: 10.0%
Integral time: 120.0 s
Derivative time: 40.0 s
Sampling period: 0.5 s
When CIO 000000 is OFF, operation can be the same
as manual operation by writing to CIO 0020.
When changing from manual operation to automatic
operation by executing PID(190), extreme changes in
the manipulated value are restricted. (The manipulated
variable after switching to automatic operation will start
at the previous value of the integral manipulated
variable.)
Manipulated variable output:
CIO 0020
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
Содержание SYSMAC CS Series
Страница 2: ......
Страница 4: ...iv ...
Страница 30: ...xxx ...
Страница 186: ...146 List of Instructions by Function Code Section 2 4 ...
Страница 194: ...154 3 35 4 MOVE BIT MOVBC 568 1273 3 35 5 BIT COUNTER BCNTC 621 1275 3 35 6 GET VARIABLE ID GETID 286 1277 ...
Страница 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Страница 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Страница 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Страница 1392: ...1352 ASCII Code Table Appendix A ...
Страница 1404: ...1364 Revision History ...