415
Analog Output Units
Section 7-3
Writing Analog Output Set
Values
The ladder program can be used to write data to the output word where the
set value is stored. The output word will be “n+1” when “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 data is converted.
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.
Handling Unit Errors
• When an error occurs at the Analog Output Unit, the analog output will be
0 V or 0 mA. If a CPU Unit fatal error occurs when analog outputs are set
in the 1 to 5 V or 4 to 20 mA range, 0 V or 0 mA will be output for a CPU
error I/O bus error, and 1 V or 1 mA will be output for all other errors.
• Expansion Unit errors are output to bits 0 to 6 of word A436. The bits are
allocated from A436.00 in order starting with the Unit nearest the CPU
Unit. Use these flags in the program when it is necessary to detect errors.
Program Example
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
MOV(021)
D100
102
P_On
T 5
#0002
T5
Always ON Flag
TIM 005 will start as soon as power
turns ON. After 0.1 to 0.2 s (100 to
200 ms), the Completion Flag for
TIM 005 will turn ON, and the data
stored in DM 0100 will be moved to
IR 102 as the conversion data for
analog output 1.
Analog output
Output range
Range code
Set data
Destination
word
Output 1
0 to 10 V
001
1001 (9 hex)
Wd n+1
Output 2
4 to 20 mA
011
1011 (B hex)
Wd n+1
Output 3
-10 to 10 V
000
1000 (8 hex)
Wd n+2
Output 4
Not used.
-(000)
0000 (0 hex)
Wd n+2
Summary of Contents for CP1L-L14D Series
Page 2: ...CP1L L14D CP1L L20D CP1L M30D CP1L M40D CP1L CPU Unit Operation Manual Revised June 2007...
Page 3: ...iv...
Page 9: ...x...
Page 13: ...xiv TABLE OF CONTENTS...
Page 21: ...xxii...
Page 33: ...xxxiv Conformance to EC Directives 6...
Page 65: ...32 Function Blocks Section 1 5...
Page 153: ...120 CP CPM1A series Expansion I O Unit Wiring Section 3 6...
Page 523: ...490 Troubleshooting Unit Errors Section 9 4...
Page 531: ...498 Replacing User serviceable Parts Section 10 2...
Page 563: ...530 Auxiliary Area Allocations by Function Appendix C...
Page 611: ...578 Auxiliary Area Allocations by Address Appendix D...
Page 638: ...605 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 639: ...606 Connections to Serial Communications Option Boards Appendix F...
Page 669: ...636 Index...
Page 671: ...638 Revision History...