![background image](http://html1.mh-extra.com/html/omron/sysmac-cp1h/sysmac-cp1h_operation-manual_741321445.webp)
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
8
7
6
5
4
3
2
1
Wd (n+1)
15 0
1 0
0
0
0
0
0
8
7
6
5
4
3
2
1
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
Summary of Contents for Sysmac CP1H
Page 2: ......
Page 3: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised October 2014...
Page 4: ...iv...
Page 10: ...x...
Page 18: ...xviii...
Page 22: ...xxii...
Page 34: ...xxxiv Conformance to EC Directives 6...
Page 76: ...42 Function Blocks Section 1 5...
Page 176: ...142 CP series Expansion I O Unit Wiring Section 3 6...
Page 372: ...338 Analog I O XA CPU Units Section 5 5...
Page 578: ...544 Trouble Shooting Section 8 7...
Page 622: ...588 Sample Application Section 9 12 Network Settings Network Tab Network Settings Driver Tab...
Page 668: ...634 Standard Models Appendix A...
Page 744: ...710 Auxiliary Area Allocations by Address Appendix D...
Page 771: ...737 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 772: ...738 Connections to Serial Communications Option Boards Appendix F...
Page 800: ...766 Specifications for External Power Supply Expansion Appendix H...
Page 806: ...772 Index W Work Area 165 work bits 165 work words 165 write protection 379...
Page 808: ...774 Revision History...
Page 809: ......