441
Analog I/O Units Section 7-4
The following table shows the output status after the initial processing is com-
pleted.
Therefore, create a program as shown below, so that the ladder can start to
operate with valid conversion data in input words.
Handing Unit Errors
When an error occurs in the Analog I/O Unit, analog input data will be 0000
and 0 V or 0 mA will be output as the analog output.
If a CPU error or an I/O bus error (fatal errors) occurs at the CPU Unit and the
analog output is set to 1 to 5 V or 4 to 20 mA, 0 V or 0 mA will be output. For
any other errors at the CPU Unit, 1 V or 4 mA will be output.
Program Example
This programming example uses these ranges:
CP1W-MAD42
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
Analog
input
Input
range
Range
code
Averaging Set data Destination
word
Input 1 4 to 20 mA 10 Yes 1110 (E hex) n+1
Input 2 0 to 10 V 01 Yes 1101 (D hex) n+1
Input 3 0 to 5 V 11 Yes 1111 (F hex) n+2
Input 4 −10 to 10 V 00 Yes 1100 (C hex) n+2
Output 1 −10 to 10 V 000 --- 1000 (8 hex) n+1
Output 2 4 to 20 mA 100 --- 1100 (C hex) n+2
MOV(021)
2
D0
0005
TIM
#0002
T0005
Always ON Flag
P_On
TIM0005 is started when the power is
turned ON. After 0.2 s (200 ms) elapses,
the TIM0005 contact turns ON and the
analog input 1 conversion data stored in
word 2 is transferred to D0.
CP1H
Input word
addresses
Output word
addresses
CIO 0
CIO 1
CIO 100
CIO 101
CP1W-MAD42
CIO 102
CIO 103
CIO 2
CIO 3
CIO 4
CIO 5
CIO 6
CIO 7
CIO 8
CIO 9
CIO 104
CIO 105
CIO 106
CIO 107
CP1W-MAD44