Omron CP1H-X40D Operation Manual page 445

Cpu unit sysmac cp series
Hide thumbs Also See for CP1H-X40D:
Table of Contents

Advertisement

Analog Output Units
Writing Set Data
Writing Analog Output
Conversion Values
Startup Operation
Write the output use and the range code to words n+1 and n+2. For CP1W-
DA021, only word n+1 can be used. The D/A conversion will start when the
set data is transferred from the CPU Unit to the Analog Output Unit.
15
Wd (n+1)
1
15
1
Wd (n+2)
■ Set Data
• The Analog Output Unit will not start converting analog output values until
the set data has been written.
• Before the range code is written, 0 V or 0 mA will be output in the 0 to 10 V,
−10 to +10 V, and 0 to 20 mA ranges, and 1 V or 4 mA will be output in the
1 to 5 V and 4 to 20 mA ranges.
• Once the range code has been set, it is not possible to be changed while
power is being supplied to the CPU Unit. To change the range code, turn
the CPU Unit OFF then ON again.
The ladder program can be used to write conversion data to the output words.
The output word starts from "n+1" where "n" is the last output word allocated
to the CPU Unit, or previous Expansion Unit or Expansion I/O Unit.
After power is turned ON, it will require two cycle times plus approximately
50 ms before the first conversion data is output.
The following table shows the output status after the initial processing is com-
pleted.
Output type
Output range
0 to 10 V,
−10 to +10 V
Before range
0 V
code is written
After range
0 V
code is written
Therefore, create a program as shown below, so that when operation begins
simultaneously with startup it will wait for valid set data.
0
8
7
0
0
0
0
0
0
0
Even if analog outputs are not
Analog output 2
used, bits 15 in words n+1
and n+2 must be set to 1.
0
8
7
0
0
0
0
0
0
0
Even if analog outputs are not
Analog output 4
used, bits 15 in words n+1
and n+2 must be set to 1.
Range code
Analog output range
−10 to 10 V
000
001
0 to 10 V
010
1 to 5 V
011
0 to 20 mA
100
4 to 20 mA
Output use
0
No
1
Yes
Voltage output
1 to 5 V
1 V
Section 7-3
6
5
4
3
2
1
Analog output 1
6
5
4
3
2
1
Analog output 3
Current output
0 to 20 mA
4 to 20 mA
0 mA
0 mA
4 mA
411

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cp1h-xa40dCp1h-y20dt-dCp1h

Table of Contents