481
Analog Output Units
Section 9-3
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 4 mA will be output for all other errors.
• CP-series Expansion Unit errors are output to bits 0 to 5 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
■
CP1W-DA041/CP1W-DA042
Analog output
Output range
Range code
Set data
Destination
word
Output 1
0 to 10 V
001
1001 (9 hex)
n+1
Output 2
4 to 20 mA
100
1100 (C hex)
n+1
Output 3
−
10 to 10 V
000
1000 (8 hex)
n+2
Output 4
Not used.
−
(000)
0000 (0 hex)
n+2
MOV(021)
#80C9
102
TIM
0005
P_On
D200
102
T0005
MOV(021)
D202
104
T0005
MOV(021)
MOV(021)
#8008
103
D201
103
T0005
MOV(021)
Always ON Flag
Execution
condition
Execution
condition
Execution
condition
Operation start 1 cycle ON
A200.11
←
Writes set data C and 9.
←
Writes set data 0 and 8.
←
Writes analog output 1 conversion data.
←
Writes analog output 2 conversion data.
←
Writes analog output 3 conversion data.
#0002
Summary of Contents for CP1L-EL20DR-D
Page 3: ...CP1L EL20D CP1L EM30D CP1L EM40D CP1L EL EM CPU Unit Operation Manual Produced July 2017...
Page 4: ...iv...
Page 10: ...x...
Page 22: ...xxii...
Page 34: ...xxxiv Software Licenses and Copyrights 7...
Page 192: ...158 Trial Operation and Debugging Section 5 3...
Page 250: ...216 Automatic Clock Adjustment and Specifying Servers by Host Name Section 6 7...
Page 666: ...632 Trouble Shooting Section 11 7...
Page 696: ...662 Standard Models Appendix A...
Page 805: ...771 Connections to Serial Communications Option Boards Appendix F Connecting to Unit...
Page 806: ...772 Connections to Serial Communications Option Boards Appendix F...
Page 836: ...802 PLC Setup Appendix G...
Page 838: ...804 TCP Status Transitions Appendix H...
Page 840: ...806 Ethernet Network Parameters Appendix I...
Page 842: ...808 Buffer Configuration CP1L EL EM Appendix J...
Page 844: ...810 Ethernet Specifications Appendix K...
Page 851: ...Index 817 work words 118 write protection 447...
Page 852: ...818 Index...
Page 854: ...820 Revision History...
Page 855: ......