435
Analog I/O Units Section 7-4
Using Analog I/O
Writing Set Data and
Reading A/D Converted
Values
Connect and wire the Unit.
Create a ladder program.
• Connect the Analog I/O Unit.
• Analog inputs: 0 to 5 VDC, 1 to 5 VDC, 0 to 10 VDC, –10 to
10 VDC, 0 to 20 mA, or 4 to 20 mA
• Analog outputs: 1 to 5 VDC, 0 to 10 VDC, –10 to 10 VDC, 0 to
20 mA, or 4 to 20 mA
• Set analog inputs as voltage or current inputs and set the
averaging function.
• Wire to analog I/O devices.
• Write set data to output words.
MOV(021)
Ladder program
Word (n+2)
Word (n+1)
Word (m+1)
Word (m+2)
CPU Unit CP1W-MAD42
• Writes the set data.
• Reads the converted
values.
Analog input 1
converted value
Set data (input 1, 2
and output 1)
Set data (input 3, 4
and output 2)
Analog input 2
converted value
Word (m+3)
Analog input 3
converted value
Word (m+4)
Analog input 4
converted value
“m” is the last input word and “n” is the last
output word allocated to the CPU Unit or
previous Expansion Unit or Expansion I/O Unit.
Analog devices
• Temperature sensor
• Pressure sensor
• Speed sensor
• Flow sensor
• Voltage/current meter
• Other
MOV(021)
Ladder program
Word (n+4)
Word (n+3)
Word (n+2)
Word (n+1)
Word (m+1)
Word (m+2)
CPU Unit CP1W-MAD44
• Writes the set data.
• Reads the converted
values.
Analog input 1
converted value
Set data
(input 1, 2)
Set data
(input 3, 4)
Set data
(output 1, 2)
Set data
(output 3, 4)
Analog input 2
converted value
Word (m+3)
Analog input 3
converted value
Word (m+4)
Analog input 4
converted value
“m” is the last input word and “n” is the last
output word allocated to the CPU Unit or
previous Expansion Unit or Expansion I/O Unit.
Analog devices
• Temperature sensor
• Pressure sensor
• Speed sensor
• Flow sensor
• Voltage/current meter
• Other