![background image](http://html1.mh-extra.com/html/omron/cp1h-cpu-units-programming-05-2007/cp1h-cpu-units-programming-05-2007_operation-manual_742081436.webp)
402
Analog Output Units
Section 7-3
■
0 to 20 mA
The hexadecimal values 0000 to 1770 (0 to 6000) correspond to an analog
current range of 0 to 20 mA. The entire output range is 0 to 21 mA.
■
4 to 20 mA
The hexadecimal values 0000 to 1770 (0 to 6000) correspond to an analog
current range of 4 to 20 mA. The entire output range is 3.2 to 20.8 mA.
Procedure
Writing D/A Conversion
Data
Conversion
Data
Hexadecimal
(Decimal)
0 mA
20 mA
21 mA
189C
(6300)
1770
(6000)
7FFF
8000
0000 (0)
Conversion
Data
Hexadecimal
(Decimal)
4 mA
20 mA
20.8 mA
3.2 mA
189C
(6300)
1770
(6000)
0 mA
7FFF
FED4
(
−
300)
8000
Connect and wire Units.
Create a ladder program
•
Connect Analog Output Units.
•
Wire to analog input devices.
•
Write range code to output words (n+1, n+2).
•
Set use of outputs.
•
Select output signals using range codes.
•
Write D/A conversion values to output words
(n+1 to n+4).
MOV
(n+1) CH
Range code (outputs 1, 2)
(n+2) CH
Range code (outputs 3, 4)
(n+1) CH
(n+2) CH
Analog output 2 conversion value
(n+3) CH
Analog output 3 conversion value
(n+4) CH
Analog output 4 conversion value
CPU Unit
Analog Output Unit
Ladder program
Writes the range code.
Writes the converted
values.
Analog output 1 conversion value
Where "n" is the last output word
allocated to the CPU Unit, or
previous Expansion Unit or
Expansion I/O Unit.
Analog devices
Adjustment equipment
Servo Controller
Variable speed device
Recorder
Other
Summary of Contents for CP1H CPU UNITS - PROGRAMMING 05-2007
Page 2: ......
Page 3: ...CP1H X40D CP1H XA40D CP1H Y20DT D CP1H CPU Unit Operation Manual Revised March 2009...
Page 4: ...iv...
Page 10: ...x...
Page 18: ...xviii...
Page 22: ...xxii...
Page 34: ...xxxiv Conformance to EC Directives 6...
Page 174: ...140 CP series Expansion I O Unit Wiring Section 3 6...
Page 370: ...336 Analog I O XA CPU Units Section 5 5...
Page 552: ...518 Trouble Shooting Section 8 7...
Page 595: ...561 Sample Application Section 9 12 Network Settings Network Tab Network Settings Driver Tab...
Page 598: ...564 Sample Application Section 9 12...
Page 642: ...608 Standard Models Appendix A...
Page 652: ...618 Dimensions Diagrams Appendix B...
Page 745: ...711 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 746: ...712 Connections to Serial Communications Option Boards Appendix F...
Page 776: ...742 PLC Setup Appendix G...
Page 778: ...744 Specifications for External Power Supply Expansion Appendix H...
Page 786: ...752 Revision History...