412
Analog Output Units
Section 7-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 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
■
CP1W-DA041/CP1W-DA042
MOV(021)
D100
102
P_On
Always ON Flag
T0005
0005
TIM
#0002
TIM0005 is started when the power is
turned ON. After 0.2 s (200 ms) elapses,
the TIM0005 contact turns ON, and the
data stored in D100 will be moved to
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)
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 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: ......