411
Analog Output Units Section 7-3
Writing Set Data 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.
■ 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.
Writing Analog Output
Conversion Values
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.
Startup Operation 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.
Therefore, create a program as shown below, so that when operation begins
simultaneously with startup it will wait for valid set data.
15 0
1 0 0 0 0 0 0
87654321
Wd (n+1)
15 0
1 0 0 0 0 0 0
87654321
0
0
Analog output 2 Analog output 1
Analog output 4 Analog output 3
Wd (n+2)
Even if analog outputs are not
used, bits 15 in words n+1
and n+2 must be set to 1.
Even if analog outputs are not
used, bits 15 in words n+1
and n+2 must be set to 1.
0
1
Range code Analog output range
−10 to 10 V
0 to 10 V
1 to 5 V
0 to 20 mA
4 to 20 mA
000
001
010
011
100
Output use
No
Yes
Output type Voltage output Current output
Output range 0 to 10 V,
−10 to +10 V
1 to 5 V 0 to 20 mA 4 to 20 mA
Before range
code is written
0 V 0 mA
After range
code is written
0 V 1 V 0 mA 4 mA