C120/C500/C1000H/C2000H
Analog I/O Modules
Cat. No. W121-E3-1
Notice:
OMRON products are manufactured for use according to proper procedures by a qualified operator
and only for the purposes described in this manual.
The following conventions are used to indicate and classify precautions in this manual. Always heed
the information provided with them. Failure to heed precautions can result in injury to people or damage to the product.
!
DANGER!
Indicates information that, if not heeded, is likely to result in loss of life or serious
injury.
! WARNING Indicates information that, if not heeded, could possibly result in loss of life or
serious injury.
! Caution
Indicates information that, if not heeded, could result in relatively serious or minor injury, damage to the product, or faulty operation.
OMRON Product References
All OMRON products are capitalized in this manual. The terms Unit and Module are capitalized when
refering to an OMRON product.
The abbreviation “Ch,” which appears in some displays and on some OMRON products, often means
“word” and is abbreviated “Wd” in documentation in this sense.
The abbreviation “PLC” means Programmable Controller and is not used as an abbreviation for anything else.
Visual Aids
The following headings appear in the left column of the manual to help you locate different types of
information.
Note Indicates information of particular interest for efficient and convenient operation
of the product.
1, 2, 3...
1. Indicates lists of one sort or another, such as procedures, checklists, etc.
© OMRON, 1996
!
TABLE OF CONTENTS
SECTION 1
System Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1--1
1--2
1--3
1--4
1
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Basic Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Example Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Allocated Words . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2
2
3
3
SECTION 2
Components and Switch Settings . . . . . . . . . . . . . . . .
5
2--1 AD101 Analog Input Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2--2 DA101 Analog Output Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6
9
SECTION 3
Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
11
3--1
3--2
3--3
3--4
3--5
AD001 through AD005 Analog Input Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
AD006 and AD007 Analog Input Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
AD101 Analog Input Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DA001 through DA005 Analog Output Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DA101 Analog Output Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12
15
18
21
24
SECTION 4
Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
27
4--1
4--2
4--3
4--4
4--5
AD001 through AD005 Analog Input Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
AD006 and AD007 Analog Input Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
AD101 Analog Input Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DA001 through DA005 Analog Output Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DA101 Analog Output Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
28
30
31
40
43
SECTION 5
Programming Considerations . . . . . . . . . . . . . . . . . . . .
47
5--1
5--2
5--3
5--4
5--5
AD001 through AD005 Analog Input Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
AD006 and AD007 Analog Input Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
AD101 Analog Input Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DA001 through DA005 Analog Output Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
DA101 Analog Output Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
48
50
52
69
71
Appendix A -- Standard Models . . . . . . . . . . . . . . . . . .
73
Appendix B -- Specifications . . . . . . . . . . . . . . . . . . . . .
75
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
81
Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
83
About this Manual:
This manual describes the installation and operation of Analog Input Modules
and Analog Output Modules for the C120, C500, C1000H, and C2000H SYSMAC C-series PLCs. These Modules are classified as Special I/O Modules
and include the following:
Analog Input Modules
The Analog Input Modules convert analog inputs to digital (binary) form. The
type and range of input as well as the digital format depend on the model.
Some models provide additional features such as peak values, means, or
scaling.
PLC
C120
C500
C1000H
C2000H
Applicable models
3G2A6-AD001
3G2A6-AD002
3G2A6-AD003
3G2A6-AD004
3G2A6-AD005
3G2A6-AD006
3G2A6-AD007
C500-AD101
3G2A5-AD001
3G2A5-AD002
3G2A5-AD003
3G2A5-AD004
3G2A5-AD005
3G2A5-AD006
3G2A5-AD007
Analog Output Modules
Analog Output Modules convert digital (binary) data to analog outputs. The
type and range of output as well as the digital format depend on the model.
PLC
C120
C500
C1000H
C2000H
Applicable models
3G2A6-DA001
3G2A6-DA002
3G2A6-DA003
3G2A6-DA004
3G2A6-DA005
C500-DA101
3G2A5-DA001
3G2A5-DA002
3G2A5-DA003
3G2A5-DA004
3G2A5-DA005
Be sure to familiarize yourself with the information in this manual and your
PLC’s Operation Manual before you try to install or use an Analog I/O Module.
Model References
If an Analog I/O Module is referred to using only the last half of the model
number (i.e., 3G2A5 or 3G2A6 is omitted), the information being provided
applies to all Modules whose model number ends with the number given.
SECTION 1
System Design
This section describes the basic use of Analog I/O Modules in a Control System and illustrates the type of
applications in which they might be found.
1--1
1--2
1--3
1--4
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Basic Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Example Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Allocated Words . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1--4--1 AD001 through AD005 Analog Input Modules . . . . . . . . . . . . . . . . . . . . . . .
1--4--2 AD006 and AD007 Analog Input Modules . . . . . . . . . . . . . . . . . . . . . . . . . .
1--4--3 AD101 Analog Input Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1--4--4 DA001 through DA005 Analog Output Modules . . . . . . . . . . . . . . . . . . . . .
1--4--5 DA101 Analog Output Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2
2
3
3
4
4
4
4
4
1--1
Section 1--2
Introduction
Analog I/O Modules are used to interface the digital operation of the PLC
with analog I/O field devices. Analog Input Modules convert analog signal
from input devices to digital PLC data. Analog Output Modules convert digital
PLC data to analog signals for output devices.
1--2
Basic Configuration
This diagram shows some of the possible field devices for the Analog I/O
Modules. Any I/O device may be used as long as its voltage/current requirements fall within the specified ranges (see Appendix B).
The I/O device connected to the Analog I/O Module will often serve as an
interface for another device, e.g., a preamplifier may interface a pressure
gauge to increase the signal level to Analog Input Module requirements; a
regulator may interface a heating system to control temperature.
Analog Input Module Analog Output Module
Temperature
Pressure
Speed
Flow rate
Voltage
Current
Power
Power factor
Preamp
Inverter
Servomotor
Transducer
controller
Chart recorder
M
M
1--3
Section 1--4
Example Configurations
Below are two examples of how the Analog I/O Modules can be employed in
control systems. The first diagram shows a temperature regulating system
and the second shows a servomotor positioning system.
Analog Input Module
PLC
Transducer
Temperature
sensing
element
Valve controller
Output Module
fuel
Sensor
M
Platform
Servo
controller
Analog Output Module
Servo motor
Encoder
Locating pulse
High-speed
Counter
Module
1--4
Allocated Words
Each Analog I/O Module is allocated either two or four words. This section
specifies only the actual number of words allocated to the Modules; use of
these words is dealt with in Section 4 Operation.
The first word allocated to the Module is designated as “n” in this manual.
Remaining words, which are always consecutive, are designated as n+1,
n+2, etc. Refer to you PLC’s Operation Manual for details on how words are
allocated to Modules.
1--4--1
Section 1--4
AD001 through AD005 Analog Input Modules
Each of these Analog Input Modules is allocated two words, one for each
analog input point. Word n is for point 1, and word n+1 is for point 2. Each of
these words contains the decimal-converted value for the analog input point.
1--4--2
AD006 and AD007 Analog Input Modules
Each of these Analog Input Modules is allocated four words, one for each
analog input point. Word n is for point 1, word n+1 is for point 2, word n+2 is
for point 3, and word n+3 is for point 4. Each of these words contains the
decimal-converted value for the analog input point.
1--4--3
AD101 Analog Input Modules
Each of these Analog Input Modules is allocated either two or four words,
depending on the switch settings. The operation of the Module is completely
different depending on this switch setting. Refer to later sections of this manual for details.
1--4--4
DA001 through DA005 Analog Output Modules
Each of these Analog Output Modules is allocated two words, one for each
analog output point. Word n is for point 1; word n+1 is for point 2. Each of
these words contains the digital-converted value for the analog output point.
1--4--5
DA101 Analog Output Modules
Each of these Analog Output Modules is allocated four words, one for each
analog output point. Word n is for point 1, word n+1 is for point 2, word n+2 is
for point 3, and word n+3 is for point 4. Each of these words contains the digital-converted value for the analog output point.
SECTION 2
Components and Switch Settings
This section describes the switch settings for the AD101 Analog Input Module and the DA101 Analog Output
Module. There are no switch settings required on the other Analog I/O Modules.
2--1 AD101 Analog Input Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
2--2 DA101 Analog Output Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
6
9
2--1
Section 2--1
AD101 Analog Input Modules
There are two settings necessary for this Module: the operation mode and
the input ranges (offset and gain) for each input point
Operation Mode
Select either two-word or four-word operation. If you select two-word operation, data is transferred between the Analog Input Module and PLC using the
I/O READ and I/O WRITE instructions, WRIT(87) and READ(88). If you select four-word operation, data is transferred between the Analog Input Module and PLC via the MOVE instruction, MOV(21).
Use of WRIT(87) and READ(88) will simplify programming and shorten the
time required to access analog input data.
The switch for this setting is on the back of the Module and will not be accessible while the Module is mounted to a Rack. Be sure to set this switch before
mounting the Module to the PLC. The setting of the switch is read when the
PLC power is turned ON.
Caution Only the following C120 and C500 CPUs are equipped with WRIT(87) and
READ(88), which are required for two-word operation: 3G2C4-SC023-E and
3G2C3-CPU11-EV1 With all other C120 and C500 CPUs, you must use
four-word operation. These instructions are supported by all C1000H and
C2000H CPUs. Two-word operation is not possible if the Analog I/O Module
is mounted to a Slave Rack in a Remote I/O System, regardless of the CPU.
Four-word operation
Two-word operation
Back of Module
Input Ranges
Each input point is set with an offset (minimum) of 1 V (4 mA) and a gain
(maximum) of 5 V ( 20 mA) at the factory. Use the following procedure to
change these settings if necessary. The offset and gain can be set to anywhere between 0 and 10 V (0 and 20 mA) as long as the gain is greater than
the offset. (Refer to Section 3 Operation for details on AD conversion.)
Caution If an offset is set below 0 V (0 mA), the binary-converted value will be locked
at 000hex; if a gain is set above 10 V (20 mA), the binary-converted value will
be locked at FFFhex for voltage inputs, but not for current inputs.
Section 2--1
1, 2, 3... 1.
First set up a power source and meter. For voltage inputs, you will need
a 0 to 10 VDC supply and a DC voltmeter. For current input, you will
need a 0 to 20 mA DC supply and a DC ammeter. Mount the Module to
the PLC and connect the power source and meter. Voltage and current
specifications can be set independently for each input point. The following examples illustrate how to wire the input points
Wiring when input 1 is set at 0 to 10 V:
Wiring when input 5 is set at 0 to 20 mA:
AD101
AD101
15
0
0
+
16
Short terminals
0 to 10 VDC
1
17
16 and 17.
2
2
18
2.
0 to 20 mA DC
Turn the PLC power supply and confirm that power is being supplied to
the PLC.
SW 1 (DIP switch)
Use to designate the input point.
SW 2 (toggle switch)
Use to read in the desired values.
3.
Remove the front panel of the Module with flat-blade screwdriver. Pins 1
through 8 on SW 1 represent input points 1 through 8 respectively. Turn
ON the pin for the input point to be set and make sure all the other pins
are OFF. First we will set input point 1.
OFF
4.
ON
The offset is the lowest voltage or current that will be input. The Module
will convert this value to 000 hexadecimal. Apply the desired offset to
the terminals of input point 1. Flip SW 2 down to read in as O V or mA
the current or voltage currently being applied to the input terminals.
This input value will be stored as the offset, i.e., as zero.
Section 2--1
SW 1
Flip SW 2 down.
SW 2
5.
The gain is the highest voltage or current that will be input. The Module
will convert this value to FFF hexadecimal. Apply the desired gain) to
the terminals of input point 1. Flip SW 2 to down to read in as10 V or 20
mA current or voltage currently being applied to the input terminals. The
input value will be stored as the gain, i.e., as 10 V or 20 mA.
SW 1
Flip SW 2 up.
SW 2
6.
Continue on in this way to set the offset and gain for input points 2
through 8. Make sure you turn OFF each pin of SW 1 before you turn
ON the next pin. Never allow more than one pin of SW 1 to be ON simultaneously. After you are finished setting all the input points, re-attach the front panel to the Module.
2--2
Section 2--2
DA101 Analog Output Modules
The output range must be set for each input point using the DIP switches on
the back of the Module. Each input point is set to 1 to 5 V at the factory, but
double check the settings before use. Be sure to set these switches before
mounting the Module, as they will not be accessible while the Module is
mounted.
DIP switch
Port
1
SW1
2
SW1
3
SW2
SW2
4
Pin
Output range
0 to 10 V
1 to 5 V
4 to 20 mA
1
OFF
ON
ON
2
OFF
ON
ON
3
OFF
OFF
ON
4
ON
OFF
OFF
5
OFF
ON
ON
6
OFF
ON
ON
7
OFF
OFF
ON
8
ON
OFF
OFF
1
OFF
ON
ON
2
OFF
ON
ON
3
OFF
OFF
ON
4
ON
OFF
OFF
5
OFF
ON
ON
6
OFF
ON
ON
7
OFF
OFF
ON
8
ON
OFF
OFF
Set the pins to the appropriate positions for the output range you are going to
use. The pins are set as shown below.
Back of Module
ON
OFF
Section 2--2
SECTION 3
Installation
This section provides the dimensions, wiring diagrams, and other information required to install the Analog I/O
Modules. Be sure to set back-panel switches as required before mounting the Modules to the Racks.
3--1 AD001 through AD005 Analog Input Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3--1--1 Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3--1--2 Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3--2 AD006 and AD007 Analog Input Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3--2--1 Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3--2--2 Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3--3 AD101 Analog Input Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3--3--1 Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3--3--2 Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3--4 DA001 through DA005 Analog Output Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3--4--1 Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3--4--2 Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3--5 DA101 Analog Output Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3--5--1 Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
3--5--2 Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
12
12
13
15
15
16
18
18
18
21
21
22
24
24
24
3--1
3--1--1
AD001 through AD005 Analog Input Modules
Dimensions
All dimensions given below are in millimeters.
3G2A5-AD001 through 3G2A5-AD005
3G2A6-AD001 through 3G2A6-AD005
(Mounted to 3G2C4-SIO25/SIO26)
Section 3--1
3--1--2
Section 3--1
Wiring
Use shielded twisted-pair cable for external connections.
Connect the positive and negative terminals of any unused input points to the
shield terminal.
Use separate power supplies for input points 1 and 2 whenever possible.
When using separate power supplies, always connect the negative input terminal to the shield line; failure to do so will produce several percent of error
in the converted data.
Incorrect wiring will produce inaccuracy in converted data. Use the proper
wiring diagram and wire with care.
Voltage Inputs
VOLTAGE ONLY
AD001
AD002
AD003
AD004
AD005
+5VDC
0 +10VDC
0 +5VDC
--10 +10VDC
--5 +5VDC
+1
+
--
NC
+
--
NC
NC
NC
NC
NC
NC
NC
NC
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Section 3--1
Current Inputs
AD001
+4
+20mA
NC
NC
NC
NC
NC
NC
NC
NC
NC
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
3--2
3--2--1
Section 3--1
AD006 and AD007 Analog Input Modules
Dimensions
All dimensions given below are in millimeters.
3G2A5-AD006/AD007
3G2A6-AD006/AD007
(Mounted to 3G2C4-SIO25/SIO26)
3--2--2
Section 3--1
Wiring
Voltage Inputs
VOLTAGE ONLY
AD006
AD007
+5VDC
0 +10VDC
+1
+
--
+
--
+
--
+
--
NC
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Section 3--1
Current Inputs
CURRENT ONLY
AD006
4
+20mA
Wiring Notes
1. Use twisted-pair cable for external connections.
2. Connect the positive and negative terminals of any unused input points to
the shield terminal.
3. For voltage inputs, connect the negative terminal to the shield terminal.
Failure to do so may cause an error of several percent in the data.
4. For current inputs, Omron recommends that you use a separate power
supply for each input point.
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
3--3
3--3--1
Section 3--3
AD101 Analog Input Modules
Dimensions
All dimensions given below are in millimeters.
3--3--2
Wiring
Terminal Allocations
Point 1
Point 2
Point 3
Point 4
+ Voltage/current input 1 0
15
+ Voltage/current input 5
-- Current input 1 1
16
-- Current input 5
-- Voltage/current input 1 2
17
-- Voltage/current input 5
Shield 3
18
Shield
+ Voltage/current input 2 4
19
+ Voltage/current input 6
-- Current input 2 5
20
-- Current input 6
-- Voltage/current input 2 6
21
-- Voltage/current input 6
Not connected 7
22
Not connected
+ Voltage/current input 3 8
23
+ Voltage/current input 7
-- Current input 3 9
24
-- Current input 7
-- Voltage/current input 3 10
25
-- Voltage/current input 7
Shield 11
26
Shield
+ Voltage/current input 4 12
27
+ Voltage/current input 8
-- Current input 4 13
28
-- Current input 8
-- Voltage/current input 4 14
29
-- Voltage/current input 8
Point 5
Point 6
Point 7
Point 8
Section 3--3
Voltage Input Connections
VOLTAGE ONLY
AD101
0 +10VDC
Adjustable. (See note.)
Note Factory default is 0
+
--
+
--
+
--
+
--
+
--
+
--
+
--
+
--
+5VDC.
0
2
3
4
6
8
10
11
12
14
15
17
18
19
21
23
25
26
27
29
Port1
Port2
Port3
Port4
Port5
Port6
Port7
Port8
Section 3--3
Current Input Connections
CURRENT ONLY
AD101
0 +20mA
Adjustable. (See note.)
Note Factory default is 4
20mA.
Wiring Notes
1. Use shielded twisted-pair cable for external connections.
2. Connect the positive and negative terminals of any unused input points to
the shield terminal.
0
1
2
3
4
5
6
8
9
10
11
12
13
14
15
16
17
18
19
20
21
23
24
25
26
27
28
29
Port 1
Port 2
Port 3
Port 4
Port 5
Port 6
Port 7
Port 8
3--4
3--4--1
Section 3--4
DA001 through DA005 Analog Output Modules
Dimensions
All dimensions given below are in millimeters.
3G2A5-DA001 through 3G2A5-DA005
3G2A6-DA001 through 3G2A6-DA005
(Mounted to 3G2C4-SIO25/SIO26)
3--4--2
Section 3--4
Wiring
Voltage Outputs
VOLTAGE ONLY
DA001
DA002
DA003
DA004
DA005
+5VDC
0 +10VDC
0 +5VDC
--10 +10VDC
--5 +5VDC
+1
+
-NC
NC
NC
+
-NC
NC
NC
NC
NC
NC
NC
NC
NC
NC
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Section 3--4
Current Outputs
CURRENT ONLY
DA001
+4
+20mA
Wiring Notes
1. Use 2-conductor shielded twisted-pair cable for external connections to
prevent induction and noise.
2. Ground the shields to the Module.
3. Do not use the same cable for signal lines and AC wiring to external devices.
4. Do not run the Module’s cables near or bind them together with main circuit cables or high voltage cables. Keep the external signal cables separate from AC cables.
NC
NC
NC
NC
NC
NC
NC
NC
NC
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
3--5
3--5--1
Section 3--5
DA101 Analog Output Modules
Dimensions
All dimensions given below are in millimeters.
3--5--2
Wiring
Terminal Allocations
Point
Output
Polarity
Terminal
1
Voltage output
+
0
--
1
Current output
+
2
--
3
Voltage output
+
4
--
5
+
6
--
7
Voltage output
+
8
--
9
Current output
+
10
--
11
Voltage output
+
12
--
13
+
14
--
15
2
Current output
3
4
Current output
Not used.
16
Section 3--5
Voltage Output Connections
VOLTAGE ONLY
DA101
+10VDC
+1 +5VDC
0
(See note.)
Note Factory default is +1
+
--
+
--
+
--
+
--
+5VDC.
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Section 3--5
Current Output Connections
CURRENT ONLY
DA101
+4
+20mA
Wiring Notes
1. Use 2-conductor shielded twisted-pair cable for external connections to
prevent induction and noise.
2. Ground the shields to the Module.
3. Do not use the same cable for signal lines and AC wiring to external devices.
4. Do not run the Module’s cables near or bind them together with main circuit cables or high voltage cables. Keep the external signal cables separate from AC cables.
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
SECTION 4
Operation
This section describes the basic operation of the Analog I/O Modules, including A/D and D/A conversion
methods and IR bit allocations and application.
4--1 AD001 through AD005 Analog Input Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4--1--1 Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4--1--2 A/D Conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4--1--3 IR Bit Allocations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4--2 AD006 and AD007 Analog Input Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4--2--1 Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4--2--2 A/D Conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4--2--3 IR Bit Allocations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4--3 AD101 Analog Input Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4--3--1 Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4--3--2 A/D Conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4--3--3 Operational Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4--3--4 Two-word Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4--3--5 Four-word Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4--4 DA001 through DA005 Analog Output Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4--4--1 Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4--4--2 D/A Conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4--4--3 IR Bit Allocations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4--5 DA101 Analog Output Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4--5--1 Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4--5--2 D/A Conversion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4--5--3 Operational Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4--5--4 IR Bit Allocations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
28
28
28
29
30
30
30
31
31
32
32
33
33
39
40
41
41
43
43
44
44
45
46
4--1
Section 4--1
AD001 through AD005 Analog Input Modules
With the AD001 and AD005, the binary-converted value of each input point is
input to a dedicated IR word, i.e., the contents of the IR word allocated to any
one input point will always contain the value of the analog input at the most
recent I/O refresh period. This data can be used directly in binary form or
converted to BCD for further use.
This section describes the internal connections of the Module, the AD conversion method used, and the IR bit allocations. Refer to Section 5 Programming Considerations for programming examples.
4--1--1
Block Diagram
The following diagram shows the basic internal connections of the Module.
The Disconnection detector functions only for input
ranges of 1 to 5 V and 4 to
20 mA.
Disconnection
detector
Insullation
+Input
Input
point 1
+Resis
tance
Memory
--Input
Shield
Range
selector
Multi
plexer
+Input
Input
point 2
A/D
converter
Photo
coupler
Bus
inter
face
PLC
I/O bus
+Resis
tance
--Input
Shield
Memory
Analog 0 V
Photo
coupler
Timing
circuit
Insullation
Analog
power
supply
4--1--2
DC/DC
5V
converter
0V
A/D Conversion
The analog inputs are converted to 12-bit binary code. Five different conversion ranges are available, 0 to 10 V, 0 to 5 V, 1 to 5 V (4 to 20 mA), --5 to 5 V,
or --10 to 10 V, depending on the model of the Module. The relationships between the analog input values and converted binary values are shown next.
Positive Ranges
Section 4--1
Decimal equivalent of
binary code
Decimal equivalent of
binary code
4095
4095
0
0V
Positive/Negative Ranges
5 or 10 V
Analog
input
0
1 V (4 mA)
5 V (20 mA)
Analog
input
Positive and negative values are differentiated via bit 11 (see below).
Decimal equivalent of
binary code
4095
Bit 11 is 1
for negative
values.
Bit 11 is
for positive
values.
0
0V
--5 or --10 V
4--1--3
5 or 10 V
Analog
input
IR Bit Allocations
Bits in words IR n and IR n+1 are allocated as shown below.
Bit 11 provides 211 data for ranges with only positive values, but operates as
the Sign Flag for input ranges that include negative values. The Sign Flag will
be 0 for positive values and 1 for negative values.
Bit 15 is the Disconnection Flag for input ranges of 1 to 5 V and 4 to 20 mA,
and will be 1 when a voltage of 0.5 V or less is detected for 1 to 5 V or when
a current of 2 mA or less is detected for 4 to 20 mA.
Input words
Bit
IR n: point 1
IR n+1: point 2
0
A/D converted data 20
A/D converted data 20
1
A/D converted data 21
A/D converted data 21
2
A/D converted data
22
A/D converted data 22
A/D converted data
23
A/D converted data 23
A/D converted data
24
A/D converted data 24
A/D converted data
25
A/D converted data 25
6
A/D converted data
26
A/D converted data 26
7
A/D converted data 27
A/D converted data 27
8
A/D converted data 28
A/D converted data 28
9
A/D converted data 29
A/D converted data 29
10
A/D converted data 210
A/D converted data 210
11
A/D converted data
Sign Flag
211
12 to 14
0
0
15
Disconnection Flag
Disconnection Flag
3
4
5
or
A/D converted data 211 or
Sign Flag
4--2
Section 4--2
AD006 and AD007 Analog Input Modules
With the AD006 and AD007, the binary-converted value of each input point is
input to a dedicated IR word, i.e., the contents of the IR word allocated to any
one input point will always contain the value of the analog input at the most
recent I/O refresh period. This data can be used directly in binary form or
converted to BCD for further use.
This section describes the internal connections of the Module, the AD conversion method used, and the IR bit allocations. Refer to Section 4 Programming Considerations for programming examples.
4--2--1
Block Diagram
The following diagram shows the basic internal connections of the Module.
Range
selector
+Input
Input
point 1
+Resis
tance
Memory
--Input
Shield
+Input
Input
point 2
+Resis
tance
Multi
plexer
A/D
converter
Photo
coupler
Bus
inter
face
PLC
I/O bus
--Input
Shield
+Input
Input
point 3
Memory
+Resis
tance
--Input
Shield
Photo
coupler
+Input
Input
point 4
Timing
circuit
+Resis
tance
--Input
Shield
Analog
Analog 0 V
4--2--2
power
supply
DC/DC
5V
converter
0V
A/D Conversion
The analog inputs are converted to 10-bit binary code. Two different conversion ranges are available, 0 to 10 V or 1 to 5 V (4 to 20 mA), depending on
Section 4--3
the model of the Module. The relationships between the analog input values
and converted binary value are shown below.
Decimal equivalent
Decimal equivalent of
binary code
of binary code
1023
1023
Analog
input
0
0V
4--2--3
10 V
0
1 V (4 mA)
5 V (20 mA)
Analog
input
IR Bit Allocations
Bit
Input words
IR n: point 1
IR n+2: point 3
IR n+3: point 4
0
A/D converted data 20
A/D converted data 20
A/D converted data 20
A/D converted data 20
1
A/D converted data 21
A/D converted data 21
A/D converted data 21
A/D converted data 21
2
A/D converted data
22
A/D converted data
22
A/D converted data
22
A/D converted data 22
A/D converted data
23
A/D converted data
23
A/D converted data
23
A/D converted data 23
A/D converted data
24
A/D converted data
24
A/D converted data
24
A/D converted data 24
5
A/D converted data
25
A/D converted data
25
A/D converted data
25
A/D converted data 25
6
A/D converted data 26
A/D converted data 26
A/D converted data 26
A/D converted data 26
7
A/D converted data 27
A/D converted data 27
A/D converted data 27
A/D converted data 27
8
A/D converted data 28
A/D converted data 28
A/D converted data 28
A/D converted data 28
9
A/D converted data 29
A/D converted data 29
A/D converted data 29
A/D converted data 29
10 to 15
0
0
0
0
3
4
4--3
IR n+1: point 2
AD101 Analog Input Modules
There are two modes of operation available with the AD101: two-word operation and four-word operation. Although the method for reading in analog values varies depending on the operation mode, the binary-converted value of
each input point is input into the PLC in binary form. This data can be used
directly in binary form or converted to BCD for further use.
This section describes the internal connections of the Module, the AD conversion method used, the IR bit allocations, the methods used to input analog
values, and special functions available. Refer to Section 4 Programming
Considerations for programming examples.
4--3--1
Section 4--3
Block Diagram
The following diagram shows the basic internal connections of the Module.
+Voltage
Input
point 1
+Current
Timing
Common
Memory
PLC
I/O bus
Shield
+Voltage
+Current
Input
point 2
Multi
plexer
Common
A/D
converter
Shield
+Voltage
Input
point 3
Bus
interface
Photo
coupler
CPU
+Current
Common
Shield
+Voltage
Input
point 4
+Current
Common
Shield
Analog
Analog 0 V
power
supply
4--3--2
DC/DC
5V
converter
0V
A/D Conversion
Analog input values are converted to binary according to the offset and gain
values set for the input (most binary values are given in hexadecimal in this
manual). Line (1) in the following figures shows the factory settings, 1 to 5 V
(4 to 20 mA). This means that an input of 1 V (4 mA) will be converted to
000hex and an input of 5 V (20 mA) will be converted to FFFhex.
The maximum ranges, 0 to 10 V (0 to 20 mA), are shown by line (2) in the
figures. The offset and gain for any input point can be set anywhere within
these ranges as long as the gain is greater than the offset: the offset value is
always converted to 000hex, and the gain is always converted to FFFhex.
Section 4--3
The relationships between the input analog values and the converted binary
values are shown below. Binary values are given in their hexadecimal equivalents.
Voltage Inputs
Current Inputs
Gain
FFF
FFF
Gain
(2)
Digital
value
Digital
value
(1)
000
000
0
Offset
4--3--3
5V
10 V
Analog input voltage
0
4 mA
Offset
20 mA
Analog input voltage
Operational Flow
The basic steps involved in setting up and operating the AD101 are shown
below. Some of these steps have already been described in this manual.
Start
Programming
Setup
Set operating mode.
Select either two-word or four-word operation. See
Section 2 Components and Switch Settings.
Set input ranges.
Mount the Module to the Rack, and then set the
input range for each input point, See Section 2
Components and Switch Settings.
Wiring connections
Connect input signal wiring. See Section 4 Installation.
Word allocation
Programming
Allocate I/O and DM areas.
See Section 4 Operation.
Write the PLC program.
Operate
4--3--4
Two-word Operation
In two-word operation, there are two types of data transfer that occurs between the Analog Input Module and the PLC. One of these uses the normal
Section 4--3
I/O refresh period to transfer flag and control bit status (see IR Bit Allocations
below) between the Analog Input Module and the IR words allocated to the
Module. Here, the output word (IR n) is used to designate when peak value
for input points are to be read or reset and the input word (IR n+1) is used to
confirm data validity and to check when peak values are being read.
The other form of data transfer is used to write parameters (e.g., offsets and
gains) directly to the Analog Input Module or to read data (i.e., binary-converted analog values or peak values) directly from the Module. In this case
the input and output words are used as the operands for the I/O WRITE and
I/O READ instructions, WRIT(87) and READ(88). The data being read or written is stored at consecutive words beginning at a word designated as another operand. The general forms of these instructions are shown below. Refer
to your PLC’s Operation Manual for details.
I/O READ Instruction
I/O WRITE Instruction
READ (88)
WRIT (87)
Number of words transferred
Specify IR n+1
Beginning destination word
Number of words transferred
Beginning source word
Specify IR n
Communications
The following diagram illustrated communications between the AD101 Analog Input Module and the PLC during two-word operation. The I/O READ and
I/O WRITE instructions are used to directly read and write data. Refer to the
next page for details on IR n and IR n+1.
READ(88)
IR n+1 (input word)
WRIT(87)
AD101
Analog Input Module
IR n (output word)
PL
C
I/O refresh
IR n+1
I/O refresh
IR n
IR Bit Allocations
The following bits are used to control data transfer between the Analog Input
Module and the PLC as explained below the table. The first three bits in each
word are system handshaking flags, bit 03 of n+1 is used to confirm data,
Section 4--3
and the other bits are used to control and monitor reading of peak input values.
Bit
Ouput word: IR n
Input word: IR n+1
00
(PC Busy Flag)
(A/D Busy Flag)
01
(PC Write Finished Flag)
(A/D Read Finish Flag)
02
(PC Read Finished Flag)
(A/D Write Finish Flag)
03
Not used.
Unconfirmed Data Flag
04 to 06
Not used.
Not used.
07
Peak Reset Bit
Not used.
08
Peak Read Bit 0
Peak Flag 0
09
Peak Read Bit 1
Peak Flag 1
10
Peak Read Bit 2
Peak Flag 2
11
Peak Read Bit 3
Peak Flag 3
12
Peak Read Bit 4
Peak Flag 4
13
Peak Read Bit 5
Peak Flag 5
14
Peak Read Bit 6
Peak Flag 6
15
Peak Read Bit 7
Peak Flag 7
Handshaking Flags
Bits 00 through 02 of both the input and output words are system handshaking flags and cannot be used in programming. The status of these bits determines whether or not the I/O READ and I/O WRITE instructions will be
executed as desired (see Reading Data and Writing Data below).
Unconfirmed Data Flag
This bit turns ON when data has not been confirmed (for example, when the
power has just been turned on). Be sure this flag is OFF before reading data.
Peak Reset Bit
This bit is turned ON with one or more of the Peak Read Bits to reset the
peak values of the input points designated by the Peak Read Bit.
Peak Read Bits
If the Peak Reset Bit is OFF, these bits are turned ON to read the peak values. The peak value for each ON bit will be read in the next time READ(88) is
executed for the input word. If the Peak Read Bit is turned ON for an input
point, the data read with the next READ(88) will be the peak value; if the
Peak Read Bit is turned OFF for a point, the data read with the next
READ(88) will be the normal input value. Here, however, “the next
READ(88)” is the next one following the next I/O refresh period. The Peak
Flags can be used to check to see whether peak values have been reached.
The Peak Read Bits are also used with the Peak Reset Bit to reset the peak
values.
Peak Flags
The Peak Flags turn ON to indicate that the input value for the input point
has reached a peak value. input points for which peak values have been
read instead of normal input values.
Writing Data
WRIT(87) is used to transfer operating parameter directly to the Analog I/O
Module and is executed only when both the A/D Busy Flag (IR n+1, bit 00)
and A/D Read Finished Flag (IR n+1, bit 01) are OFF. If either of these flags
is ON when WRIT(87) is reached in the program, WRIT(87) will be executed
as NOP. After WRIT(87) has been executed, the PC Write Finished Flag (IR
n, bit 01) will turn ON for one scan and the Equals flag ( SR 6306 or SR
25506) will turn ON.
Data Writing Area
Section 4--3
WRIT(87), is used to transfer a maximum of 26 words of data to the Analog
Input Module. The first word, m, is specified by the user and written as the
beginning source word of WRIT(87). All consecutive words must be in the
same data area (DM m through DM m+25).
The first two words are used to specify which points will be used and which
points the mean and scaling functions will be used for. If the mean or scaling
values are not required for an input point, no data need be provided, i.e., you
need to transfer only the data that is actually required for operation as specified in the first two words. If not all of the data is required, fewer words will
need to be transferred.
DM word
Bit
15
14
13
12
11
10
9
DM m
Specify points for mean function
DM m+1
Specify points for scaling function
DM m+2
Mean value 1
DM m+3
Mean value 2
DM m+4
Mean value 3
DM m+5
Mean value 4
DM m+6
Mean value 5
DM m+7
Mean value 6
DM m+8
Mean value 7
DM m+9
Mean value 8
DM m+10
Scaling offset 1
DM m+11
Scaling gain 1
DM m+12
Scaling offset 2
DM m+13
Scaling gain 2
DM m+14
Scaling offset 3
DM m+15
Scaling gain 3
DM m+16
Scaling offset 4
DM m+17
Scaling gain 4
DM m+18
Scaling offset 5
DM m+19
Scaling gain 5
DM m+20
Scaling offset 6
DM m+21
Scaling gain 6
DM m+22
Scaling offset 7
DM m+23
Scaling gain 7
DM m+24
Scaling offset 8
DM m+25
Scaling gain 8
8
7
6
5
4
3
2
1
0
Specify points to be used
0
0
Caution Input the mean value and scaling values only for points for which the mean
and/or scaling function has been designated. If one of these is not needed for
a point, move all other parameters up one word to replace it. For example, if
a mean value is not required for input point 3 but is required for points 1, 2,
and 4, the mean value for point 4 would be placed in DM m+ 04 instead of
DM m+5.
Point Specification
If a point is to be used, turn the corresponding bit ON. If a point is not to be
used, turn the corresponding bit OFF.
DM m
Section 4--3
07
06
05
04
03
02
01
00
Input point 1
to
Input point 8
Mean Value Specification
If mean for an input point is to be used, turn the corresponding bit ON. If
mean is not to be used, turn the corresponding bit OFF.
DM m
15
14
13
12
11
10
09
08
Input point 1
to
Input point 8
Specify the sampling count (2 through 9999) for the mean value. Enter data
for each point specified for the mean function. Data must be specified in
BCD. The actual words where data will need to be stored will depend on the
actual data required.
If a large count is set, the conversion time may exceed the10-ms-per-point
conversion time by 1 or 2 ms.
DM m+2
15
to
00
to
to
DM m+9
Scaling
Input point 1
15
to
00
Input point 8
If scaling is to be used for an input point, turn the corresponding bit ON. If
scaling is not to be used, turn the corresponding bit OFF.
DM m
15
14
13
12
11
10
09
08
Input point 1
to
Input point 8
Enter the offset and gain for each point for which the scaling function has
been designated. The offset is the value that is to correspond to 000hex. The
gain is the value corresponding to FFFhex. The offset and gain must be set in
BCD and must be in the range 0 through 9999. The gain must be greater
than the offset.
DM m+10
15
to
00
DM m 11
15
to
00
Offset
Input point 1
Gain
to
to
DM m 24
DM m 25
15
15
to
to
00
00
Offset
Input point 8
Gain
Section 4--3
Reading Data
READ(88) will be executed when the A/D Busy Flag (IR n+1, bit 00) is OFF
and the A/D Write Finished Flag (IR n+1, bit 02) is ON. If the A/D Busy Flag
is ON or the A/D Write Finished Flag is OFF, READ(88) will not be executed.
The data transferred for READ(88) depends on the status of the Peak Read
Bits, i.e., if the Peak Read Bit for an input is ON, the peak value will be transferred; if the Peak Read Bit is OFF, the normal binary-converted value will be
transferred. The Peak Flags can be used to confirm what data has been
transferred. The last word transferred always contains the Disconnection
Flags.
Data Reading Area
READ(88) is used to transfer a maximum of 9 words of data beginning from
DM l. The first word, l, is specified by the user and written as the beginning
destination word of READ(88). You can select any area of DM as long as the
end of the area is not exceeded (DM l through DM l+8).
DM word
Bit
15
14
13
12
11
10
DM l
Input point 1 converted data
DM l+1
Input point 2 converted data
DM l+2
Input point 3 converted data
DM l+3
Input point 4 converted data
DM l+4
Input point 5 converted data
DM l+5
Input point 6 converted data
DM l+6
Input point 7 converted data
DM l+7
Input point 8 converted data
DM l+8
0
9
8
0
7
6
5
4
3
2
1
0
Disconnection Flags
Note Do not allocate the same area for both writing and reading data.
Input Point Converted Data
DM l+2
A/D converted data is written to the specified words. When scaling is used,
data is in 4-bit BCD (bits 00 to 15). When scaling is not used, data is in 3-bit
hexadecimal (bits 00 to 11).
15
to
00
to
DM l+7
Disconnection Flags
Input point 1
to
15
to
00
Input point 8
When an input line disconnection is detected, the flag assigned to the input
point will turn ON. The offset value must be at least 1 V (1 mA) for these flags
to work.
DM l+8
07
06
05
04
03
02
01
00
Input point 1
to
Input point 8
4--3--5
Section 4--3
Four-word Operation
With four-word operation, IR n and IR n+2 are used as dedicated output and
input words, respectively. IR n+1 is used to control data transfer and IR n+3
is used to monitor data transfer.
To write data, move the desired data to IR n and then set the proper control
bits to designate what data has been set. The data will be read in at the next
I/O refresh period. To read data, set the proper control bits and then move
the data input to IR n+2 to the desired storage location after checking the
flags to confirm that the desired data has been input.
Individual control bits and flags are described following the allocations table
below.
IR Bit Allocations
Bit
Output
IR n
Input
IR n+1
IR n+2
IR n+3
00
Point 1 Control Bit
Point 1 Read Flag
01
Point 2 Control Bit
Point 2 Read Flag
02
Point 3 Control Bit
Point 3 Read Flag
03
Point 4 Control Bit
Point 4 Read Flag
04
Point 5 Control Bit
Point 5 Read Flag
05
06
Point 6 Control Bit
Writing data
Point 7 Control Bit
Point 6 Read Flag
Reading data
Point 7 Read Flag
07
Point 8 Control Bit
Point 8 Read Flag
08
Normal/Peak Control Bit
Disconnection Flag
09
10
Normal/Peak Flag
Not used.
11
Not used.
12
Peak Reset Bit
13
A/D Conversion Bit
14
PC Write Completed Bit
A/D Read Completed Flag
15
PC Read Completed Bit
A/D Write Completed Flag
Not used.
Point Control Bits
Turn ON one of the Point Control Bits to designate the desired input point
when writing the number of sampling counts for the mean value and when
reading binary-converted data. When using peak hold, turn the A/D Conversion Bit OFF. When not using peak hold, turn this flag ON.
Normal/Peak Control Bit
Turn this flag and the A/D Conversion Bit ON to read normal binary-converted values and turn this flag and the A/D Conversion Bit OFF to read peak
values.
Peak Reset Bit
Turn this bit ON to reset an input point for which the peak value is being read.
A/D Conversion Bit
Turn this flag ON when reading normal data, and turn it OFF when reading
peak values or writing the number of sampling counts for the mean value.
Point Read Flags
One of these flags turns ON to designate the input point for which data is being read.
Disconnection Flag
When the signal line of the point designated by the Point Read Flags is
burned out or disconnected, this flag turns ON. The offset must be set to at
least 1 V (4 mA) for this flag to work.
Section 4--4
Normal/Peak Flag
This flag turns ON when the data being read is normal data and turns OFF
when the data is the peak value.
Mean Function
If the both the Normal/Peak Control Bit and the A/D Conversion Bit are
turned OFF, the value in IR n will be read in as the sampling count for the
mean value for the input point specified by the Point Control Bits. Specify the
sampling count (2 through 9999) for the mean value. Set the count to 0 to
turn OFF the mean function for that point. Data must be specified in BCD.
Note The scaling function does not work with 4-word operation.
4--4
DA001 through DA005 Analog Output Modules
With the DA001 through DA005, the binary-converted value for each output
point is placed in a dedicated IR word, i.e., the contents of the IR word allocated to any one output point contains the value of to be converted for output
as an analog value.
This section describes the internal connections of the Module, the AD conversion method used, and the IR bit allocations. Refer to Section 4 Programming Considerations for programming examples.
4--4--1
Section 4--4
Block Diagram
The following diagram shows the basic internal connections of the Module.
Point
1 +
Voltage output
_
Analog 0 V
D/A
Memory
+
Current output
_
Photocoupler
Bus
interface
Ranger selector
Point
2 +
Voltage output
_
Analog 0 V
D/A
+
Current output
_
Memory
Photocoupler
Photocoupler
Analog power supply
DC/DC converter
PLC
I/O
bus
Timing
circuit
5V
0V
The current outputs are not connected in Modules whose voltage output range is other than 1 to 5 V.
4--4--2
D/A Conversion
These Modules convert 12-bit binary data to voltage or current output. Each
Module has a different type of output. Outputs can be either unipolar or bipolar, with the resolution depending on the model.
Unipolar Outputs
Output ranges: 0 to 10 V, 0 to 5 V, or 1 to 5 V (4 to 20 mA)
Data format:
12-bit binary
Data conversion for unipolar outputs is illustrated below.
10 V (5 V)
Section 4--4
5 V (20 mA)
Output
Output
1 V (4 mA)
0V
0
Digital
value
4095
0
0 to 10 V Output or 0 to 5 V Outputs
Bipolar Output
4095
1 to 5 V (4 to 20 mA) Outputs
Output range: -10 to 10 V, -5 to 5 V
Data format: 11-bit binary +1 Sign Flag (The Sign Flag is bit 11; OFF is positive, ON is negative.)
Data conversion for bipolar outputs is illustrated below.
Output
10 V (5 V)
--2047
0
0V
2047
Digital
value
--10 V (5 V)
Note:
Digital
value
The numbers 2048 to 4095 represent the values --0 to --2047.
4--4--3
Section 4--5
IR Bit Allocations
Bit allocations of the words that contain the values that will be converted to
analog values for output from each output point on the Analog Output Module
are shown below.
Bit
Output words
IR n: Point 1
IR n+1: Point 2
0
D/A conversion data 20
D/A conversion data 20
1
D/A conversion data 21
D/A conversion data 21
2
D/A conversion data
22
D/A conversion data 22
D/A conversion data
23
D/A conversion data 23
D/A conversion data
24
D/A conversion data 24
D/A conversion data
25
D/A conversion data 25
6
D/A conversion data
26
D/A conversion data 26
7
D/A conversion data 27
D/A conversion data 27
9
D/A conversion data 29
D/A conversion data 29
10
D/A conversion data 210
D/A conversion data 210
11
D/A conversion data 211 or
Sign Flag
D/A conversion data 211 or
Sign Flag
12 to 15
Usable as work bits.
Usable as work bits.
3
4
5
Note For bipolar outputs, bit 11 is OFF for positive output values and ON for negative output values.
4--5
DA101 Analog Output Modules
With the DA101, the binary-converted value for each output point is placed in
a dedicated IR word, i.e., the contents of the IR word allocated to any one
output point contains the value of to be converted for output as an analog
value.
This section describes the internal connections of the Module, the AD conversion method used, and the IR bit allocations. Refer to Section 4 Programming Considerations for programming examples.
4--5--1
Section 4--5
Block Diagram
The following diagram shows the basic internal connections of the Module.
Memory
Bus
interface
PLC
I/O bus
Photocoupler
Memory
Memory
D/A
+
Current output
_
Point 2
+
Voltage output
-D/A
+
Current output
_
Point 3
+
Voltage output
-D/A
+
Current output
_
Point 4
+
Voltage output
--
Timing
circuit
Memory
Photocoupler
4--5--2
Point 1
+
Voltage output
--
D/A
Range
selector
+
Current output
_
0V
5V
DC/DC
converter
Analog
power
supply
D/A Conversion
This Module converts 3-digit hexadecimal values (000 to FFF) from the specified words (IR n to n+3) for output from the Analog Output Module. The output range depends on the setting of the DIP switches (see Section 2 Components and Switch Settings).
The following diagram shows the basic flow of data from some PLC memory
area, to the IR words allocated to the Analog Outputs Module, to the Module
itself, and finally to the external device.
BCD
data
0 to 4095
Hexadecimal
data 0 to 0FFF
BCD to BIN
conversion
IR n to
IR n+3
Data
transfer
D/A
conversion Analog
output
External
device
Section 4--5
The following diagram illustrates the conversion of values in IR n to IR n+3 to
analog output values. The specific analog output ranges to which the binary
values are converted depends on the switch settings of the Module.
10 V
5 V (20 mA)
Output
Output
1 V (4 mA)
0V
0
4--5--3
FFF
(4095)
Digital
value
0
FFF
(4095)
Digital
value
Operational Flow
The basic operational flow is illustrated below. Some of these steps have already been described.
Start
Set the output ranges
Mount the Unit.
Use the DIP switches on the
back of the Module.
The Module is allocated 4
words.
Wire connections.
Connect the points to the external device
Program.
Write a PLC program which
transfers binary data in the
range 0000 through 0FFF to
the IR n through IR n+3.
Operate
4--5--4
Section 4--5
IR Bit Allocations
Bit allocations of the words that contain the values that will be converted to
analog values for output from each output point on the Analog Output Module
are shown below.
Bit
Output words
IR n: Point 1
IR n+1: Point 2
IR n+2: Point 3
IR n+3: Point 4
0
D/A conversion data 20
D/A conversion data 20
D/A conversion data 20
D/A conversion data 20
1
D/A conversion data 21
D/A conversion data 21
D/A conversion data 21
D/A conversion data 21
2
D/A conversion data
22
D/A conversion data
22
D/A conversion data
22
D/A conversion data 22
D/A conversion data
23
D/A conversion data
23
D/A conversion data
23
D/A conversion data 23
D/A conversion data
24
D/A conversion data
24
D/A conversion data
24
D/A conversion data 24
D/A conversion data
25
D/A conversion data
25
D/A conversion data
25
D/A conversion data 25
6
D/A conversion data
26
D/A conversion data
26
D/A conversion data
26
D/A conversion data 26
7
D/A conversion data 27
D/A conversion data 27
D/A conversion data 27
D/A conversion data 27
8
D/A conversion data 28
D/A conversion data 28
D/A conversion data 28
D/A conversion data 28
9
D/A conversion data 29
D/A conversion data 29
D/A conversion data 29
D/A conversion data 29
10
D/A conversion data 210
D/A conversion data 210
D/A conversion data 210
D/A conversion data 210
11
D/A conversion data
211
211
211
D/A conversion data 211
12 to 15
Usable as work bits.
3
4
5
D/A conversion data
Usable as work bits.
D/A conversion data
Usable as work bits.
Usable as work bits.
SECTION 5
Programming Considerations
This section provides examples of the most common methods of programming for the Analog I/O Modules. Be
sure to read Section 3 Operation first to understand the basic operation of the Module before attempting to
study these programs.
5--1 AD001 through AD005 Analog Input Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5--2 AD006 and AD007 Analog Input Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5--3 AD101 Analog Input Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5--3--1 Two-word Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5--3--2 Four-word Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5--4 DA001 through DA005 Analog Output Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
5--5 DA101 Analog Output Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
48
50
52
52
59
69
71
5--1
Section 5--1
AD001 through AD005 Analog Input Modules
All that is necessary in programming these Modules is to access the
binary-converted analog values at the allocated IR words and use it as required by the control system. The following example program converts two
input points to two 4-digit BCD values (4095 maximum) and outputs the result. The words allocated to each Module are shown above the Module. The
program is shown on the following page. In programming, ANDW(34) is used
to read the data and at the same time filter out the converted value, i.e., only
bits 0 through 11.
IR 01
IR 02
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Input
point 1
Input
point 2
Analog Input
Module
IR 03
00
01
02
03
04
05
06
07
IR 04
Input point 1
4-digit
BCD output.
COM
08
09
10
11
12
13
14
15
COM
Output Module
X 100
X 101
X 102
X 103
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
00
01
02
03
04
05
06
07
IR 05
Input point 2
4-digit
BCD output.
COM
08
09
10
11
12
13
14
15
COM
Output Module
X 100
X 101
X 102
X 103
Disconnection detection
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
00
01
02
03
04
05
06
07
for input point 1
COM
08
09
10
11
12
13
14
15
COM
Output Module
Disconnection detection
for input point 2
Section 5--1
Always ON Flag
6113
ANDW(34)
For input point 1
01
#)FFF
DM 000
BCD(24)
DM 000
03
Reads the converted
data from IR 01 and
stores it in DM 000.
Converts the content of
DM 000 to BCD and
outputs it to IR 03.
0115
0501
Always ON Flag
6113
For input point 2
ANDW(34)
02
#)FFF
DM 001
BCD(24)
DM 001
Reads the converted
data from IR 02 and
stores it in DM 001.
Converts the content of
DM 001 to BCD and
outputs it to IR 04.
04
0215
0509
Address
Instruction
00000
00001
LD
ANDW(34)
Operands
6113
#
DM
00002
LD
OUT
Instruction
00005
00006
LD
ANDW(34)
01
0FFF
000
000
03
0115
0501
Operands
6113
#
DM
00007
BCD(24)
DM
00003
00004
Address
BCD(24)
DM
00008
00009
02
0FFF
001
LD
OUT
001
04
0115
0501
5--2
Section 5--2
AD006 and AD007 Analog Input Modules
All that is necessary in programming these Modules is to access the
binary-converted analog values at the allocated IR words and use it as required by the control system. The following example program converts four
input points to four 4-digit BCD values (1023 maximum) and outputs the result. The words allocated to each Module are shown above the Module. The
program is shown on the following page. In programming, ANDW(34) is
used to read the data and at the same time filter out the converted value, i.e.,
only bits 0 through 9.
IR 01
IR 02
IR 03
IR 04
Input
point 1
Input
point 2
Input
point 3
Input
point 4
Analog Input
Module
IR 06
IR 05
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
00
01
02
03
04
05
06
07
COM
08
09
10
11
12
13
14
15
COM
Output Module
Input point 1
4-digit
BCD output.
X 100
X 101
X 102
X 103
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
00
01
02
03
04
05
06
07
COM
08
09
10
11
12
13
14
15
COM
Output Module
IR 07
Input point 2
4-digit
BCD output.
X 100
X 101
X 102
X 103
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
00
01
02
03
04
05
06
07
COM
08
09
10
11
12
13
14
15
COM
Output Module
IR 08
Input point 3
4-digit
BCD output.
X 100
X 101
X 102
X 103
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
00
01
02
03
04
05
06
07
COM
08
09
10
11
12
13
14
15
COM
Output Module
Input point 4
4-digit
BCD output.
X 100
X 101
X 102
X 103
Section 5--2
Always ON Flag
6113
ANDW(34)
For input point 1
01
#03FF
DM 000
BCD(24)
DM 000
05
Reads the converted
data from IR 01 and
stores it in DM 000.
Converts the content of
DM 000 to BCD and
outputs it to IR 05.
Always ON Flag
6113
For input point 2
ANDW(34)
02
#03FF
DM 001
BCD(24)
DM 001
Reads the converted
data from IR 02 and
stores it in DM 001.
Converts the content of
DM 001 to BCD and
outputs it to IR 06.
06
Always ON Flag
6113
For input point 3
ANDW(34)
03
#03FF
DM 002
BCD(24)
DM 002
Reads the converted
data from IR 03 and
stores it in DM 002.
Converts the content of
DM 002 to BCD and
outputs it to IR 07.
07
Always ON Flag
6113
For input point 4
ANDW(34)
04
#03FF
DM 003
BCD(24)
DM 003
Reads the converted
data from IR 04 and
stores it in DM 003.
Converts the content of
DM 003 to BCD and
outputs it to IR 08.
08
Address
Instruction
00000
00001
LD
ANDW(34)
Section 5--3
Operands
LD
ANDW(34)
5--3
DM
00009
00010
LD
ANDW(34)
#
DM
00011
DM
6113
03
03FF
002
BCD(24)
02
03FF
001
BCD(24)
Operands
#
DM
00008
000
05
6113
#
DM
00005
LD
ANDW(34)
BCD(24)
DM
00003
00004
Instruction
00006
00007
01
03FF
000
#
DM
00002
Address
6113
002
07
6113
04
03FF
003
BCD(24)
001
06
DM
003
08
AD101 Analog Input Modules
The operation of the AD101 Analog Input Module depends on the setting of
the operation mode switch (see Section 2 Components and Switch Settings.)
Although two-word operation simplifies programming and always direct reading of analog input values without delays caused by waiting for the I/O refresh period, it is possible only on CPUs that support the I/O WRITE and I/O
READ Instructions, WRIT(87) and READ(88).
5--3--1
Two-word Operation
READ(88) are used to program transfer of normal and peak binary-converted
analog values from the Analog Input Module to the PLC and WRIT(87) is
used to program transfer of parameters from the PLC to the Analog Input
Module.
When programming, take into account the difference between the time data
is written memory and time data is input or output via READ(88) and
WRIT(87), i.e., there must be one I/O refresh period between any MOV(21)’s
used to set control bits and READ(88) and WRIT(87).
1 scan
I/O
MOV(21) WRIT(87)
refresh
When executing
WRIT(87)
Time
Data is written to
shared memory
Data is output
Time lag
In the following example, we will use the C500 as an example. All 8 points
will be used. Means will be calculated for points 5 through 8, and scaling will
be performed for points 7 and 8. The Module will be mounted in IR 00, so
that IR 00 will be the output word and IR 01 will be the input word. DM 000
through DM 009 will be used for writing data, and DM 100 through DM 108
will be used for reading data. DM 200 through DM 207 will be used to hold
the peak values of points 1 through 8.
Section 5--3
Allocation for Reading Data
The following tables show the memory locations to which the program will
move the various values resulting from the analog inputs.
Input point
Normal converted
data
Peak value
BCD
converted data
1
DM 100
DM 200
DM 300
2
DM 101
DM 201
DM 301
3
DM 102
DM 202
DM 302
4
DM 103
DM 203
DM 303
5
DM 104
DM 204
DM 304
6
DM 105
DM 205
DM 305
7
DM 106
DM 206
DM 306
8
DM 107
DM 207
DM 307
Disconnection Flag
DM 108
The following table shows the memory locations from which the program will
write parameters to the Analog Input Module.
Allocation for Writing Data
Address
Set value
DM 000
F0FF
Mean value specification/point to be used
DM 001
C000
Scaling specification
DM 002
0005
Point 5
DM 003
0010
Point 6
Mean value data
DM 004
0020
Point 7
(Sampling counts)
DM 005
0050
Point 8
DM 006
0000
Point 7 Offset data
DM 007
3000
Point 7 Gain data
DM 008
1000
Point 8 Offset data
DM 009
5000
Point 8 Gain data
Contents of DM 000
DM 000
Scaling data
Contents of DM 001
F 0 F F
Upper 8 bits
Contents
DM 001
Lower 8 bits
C 0 0 0
Upper 8 bits
Set to 00
(not used)
Mean specification
1 1 1 1
0 0 0 0
Points to be used
1 1 1 1
Scaling
specification
1 1 1 1
1 1 1 1
Specify
points
5 through 8
Specify
points
1 through 8
0 0 0 0
Specify
points
7 and 8
Note: The data writing area extends to 27 words maximum. If some points are not
used for mean value or scaling, as shown above, the area will be smaller. Set
only the data which needs to be set according to the settings of the first two
words (here DM 000 and DM 001).
Section 5--3
First Scan Flag
6115
MOV(21)
#FOFF
Specifies the points to
be used and mean value settings.
DM000
MOV(21)
#C000
DM001
MOV(21)
#0005
Specifies scaling settings.
Input point 5
(5 samples)
DM002
MOV21
#0010
Input point 6
(10 samples)
DM003
MOV(21)
#0020
DM004
MOV(21)
#0050
Sets the
mean
data
(sampling
counts).
Input point 7
(20 samples)
Input point 8
(50 samples)
DM005
These settings
can be made via
the Programming
Console using
data modification
functions instead
of in programming, if desired.
Input point 7
offset data
MOV(21)
#0000
DM006
MOV(21)
#3000
Input point
gain data
DM007
MOV(21)
#1000
Sets the
scaling
data.
Input point 8
offset data
DM008
MOV(21)
#5000
Input point 8
gain data
DM009
61115
WRIT(87)
#0010
DM000
00
Transfers the 10 words of parameters from
DM 000 through DM 009 to the Analog Input
Module.
EQ
3200
6306
3200
(Continued on next page.)
When the transfer is complete, SR
6306 (the Equal Flags) turns ON. Here,
IR 3200 is used as a work bit to hold
the status of EQ at this point.
Section 5--3
(From previous page.)
3200
0103
READ(88)
0009
01
DM100
(EQ)
3201
A/D converted data and the Disconnection Flags from points 1 through 8 are
read in and stored in DM 100 through DM
108. IR 0103 (the Unconfirmed Data Flag)
stops unconfirmed data from being accepted.
6306
3201
TR 1
3201
MOV(21)
DM108
When reading is complete, SR 6306
(the Equal Flags) turns ON, activating IR 3201.
Disconnection Flags (the lower 8
bits of DM 108) are output to IR 34.
34
3400
BCD(24)
DM100
Input point 1
DM300
3401
BCD(24)
DM101
Input point 2
DM301
3402
BCD(24)
DM102
DM302
Input point 3
3403
BCD(24)
DM103
Input point 4
DM303
3404
BCD(24)
Binary data from points
1 through 6 is converted
to BCD and written to
DM 300 through DM
305. IR 3400 through
3407 are used as work
bits activated by the Disconnection Flags to prevent data from being
moved when an input is
disconnected.
Input point 5
DM104
DM304
3405
BCD(24)
DM105
Input point 6
DM305
3406
MOV(21)
DM106
Input point 7
DM306
3407
MOV(21)
DM107
Input point 8
Scaling (BCD output) is
performed on points 7
and 8 and the data is
written to DM 306 and
DM 307 without conversion.
DM307
3300
0008
3301
0009
3302
0010
(Continued on next page.)
Section 5--3
(From previous page.)
3303
0011
3304
0012
3305
0013
3306
IR 33 is used for peak values. IR 0008
through IR 0015 are used to activate
moving the peak values into the desired
storage locations. Turn ON the Peak
Read Bits and check the Peak Flags to
read the peak values (see the next
page). IR 0007 is used as the Peak Reset Flag. Turn both the Peak Reset Flag
and the Peak Read Bit ON to reset a
peak value.
0014
3307
0015
3308
0007
0008
0108
MOV(21)
DM100
DM200
0009
0109
MOV(21)
DM101
DM201
0010
0110
MOV(21)
DM102
DM202
0011
0111
MOV(21)
DM103
DM203
0012
0112
MOV(21)
DM104
DM204
0013
0113
MOV(21)
DM105
DM205
0014
0114
MOV(21)
DM106
DM206
0015
0115
MOV(21)
DM107
DM207
IR 0108 through IR 0115 are used as
Peak Flags. When the input point data
reaches a peak value, the flag
corresponding to the input point will turn
ON. When both the Peak Read Bit and
Peak Flags are ON, the peak value,
which will have been read at the last
READ(87), will be written to DM 200
through DM 207.
Address
00000
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
Instruction
Section 5--3
Operands
LD
MOV(21)
6115
#
DM
#F0FF
000
#
DM
#C000
001
#
DM
#0005
002
#
DM
#0010
003
#
DM
#0020
004
#
DM
#0050
005
#
DM
#0000
006
#
DM
#3000
007
#
DM
#1000
008
#
DM
#5000
009
6115
MOV(21)
MOV(21)
MOV(21)
MOV(21)
00031
00032
00033
00034
00035
00036
00037
00038
00039
MOV(21)
MOV(21)
LD
WRIT(87)
LD
AND NOT
OUT
LD NOT
AND NOT
OR
READ(88)
LD NOT
AND LD
OUT
LD NOT
OUT
MOV(21)
TR
AND NOT
0010
000
00
3200
6306
3200
3200
0103
3201
0009
01
100
6306
3201
3201
1
108
34
3400
00040
00041
00042
00043
00044
00045
00046
00047
00048
00059
00060
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
00072
00073
00074
00075
00076
00077
Operands
BCD(24)
LD
AND NOT
BCD(24)
LD
AND NOT
BCD(24)
LD
AND NOT
BCD(24)
LD
AND NOT
BCD(24)
MOV(21)
DM
00026
00028
00029
00030
Instruction
MOV(21 )
DM
00020
00021
00022
00023
00024
00025
00027
MOV(21)
#
DM
00013
00014
00015
00016
00017
00018
00019
Address
LD
AND NOT
BCD(24)
LD
AND NOT
MOV(21)
LD
AND NOT
MOV(21)
LD
OUT
LD
OUT
LD
OUT
LD
OUT
LD
OUT
LD
OUT
LD
OUT
LD
OUT
LD
OUT
DM
DM
TR
100
300
1
3401
DM
DM
TR
101
301
1
3402
DM
DM
TR
102
302
1
3403
DM
DM
TR
103
303
1
3404
DM
DM
TR
104
304
1
3405
DM
DM
TR
105
305
1
3406
DM
DM
TR
106
306
1
3407
DM
DM
107
307
3300
0008
3301
0009
3302
0010
3303
0011
3304
0012
3305
0013
3306
0014
3307
0015
3308
0007
(Continued on next page.)
Address
00077
00078
00079
Instruction
Section 5--3
Operands
LD
AND
MOV(21)
DM
DM
00080
00081
00082
LD
AND
MOV(21)
DM
DM
00083
00084
00085
LD
AND
MOV(21)
DM
DM
00086
00087
00088
LD
AND
MOV(21)
DM
DM
Address
0008
0108
100
200
0009
0109
100
200
0010
0110
100
200
0011
0111
100
200
00089
00090
00091
00092
00093
00094
00095
00096
00097
00098
00099
00100
Instruction
Operands
LD
AND
MOV(21)
0012
0112
DM
DM
100
200
0013
0113
DM
DM
100
200
0014
0114
DM
DM
100
200
0015
0115
DM
DM
100
200
LD
AND
MOV(21)
LD
AND
MOV(21)
LD
AND
MOV(21)
5--3--2
Section 5--3
Four-word Operation
The following example is for four-word operation. We will be using the C500
in this example.
The following table shows the allocations of the IR words allocated to the
Analog Input Module.
IR Allocations
During four-word operation, data is transferred between the Module and PLC
according to the settings of these control bits and flags.
Bit
Output
IR 00
Input
IR 01
IR 02
IR 03
00
Point 1 Control Bit
Point 1 Read Flag
01
Point 2 Control Bit
Point 2 Read Flag
02
Point 3 Control Bit
Point 3 Read Flag
03
Point 4 Control Bit
Point 4 Read Flag
04
Point 5 Control Bit
Point 5 Read Flag
05
Point 6 Control Bit
Point 6 Read Flag
06
Writing data
Point 7 Control Bit
Reading data
Point 7 Read Flag
07
Point 8 Control Bit
Point 8 Read Flag
08
Normal/Peak Control Bit
Disconnection Flag
09
10
Normal/Peak Flag
Not used.
11
Not used.
12
Peak Reset Bit
13
A/D Conversion Bit
14
PC Write Completed Bit
A/D Read Completed Flag
15
PC Read Completed Bit
A/D Write Completed Flag
DM Area Allocation
Not used.
The following table shows the bits used to store the various data resulting
from the binary-converted analog input values.
Input point
Mean value
(sampling count)
Converted data
(normal)
Converted data
(peak value)
1
DM 000
0000
DM 100
DM 200
2
DM 001
0000
DM 101
DM 201
3
DM 002
0000
DM 102
DM 202
4
DM 003
0000
DM 103
DM 203
5
DM 004
0005
DM 104
DM 204
6
DM 005
0010
DM 105
DM 205
7
DM 006
0020
DM 106
DM 206
8
DM 007
0050
DM 107
DM 207
Section 5--3
Program Using Only Point 1 The following program is used when only one of the input points is used.
3201
0314
MOV(21)
A/D Read
Completed Flag
#0000
00
If you are not using mean, set the
number of samples to 0 or delete
this part of the program.
First Scan Flag
6115
3201
3201
3200
0113
Starts A/D conversion.
0108
Turned ON for normal value and OFF
for peak value.
0100
Specifies the point.
0114
Indicates PC write is complete.
3200
3201
A/D Read
0314 Completed Flag
3201
TR 1
0300
0315
0309
0308
MOV(21)
Designates
point 1.
A/D Write
Completed
Flag
Disconnection
detect flag
Normal value
02
Transfers normal value.
DM 100
0309
MOV(21)
02
Peak value
Transfers peak value.
DM 200
0115
3300
0112
3301
3200
Address
00000
00001
00002
00003
Instruction
Operands
LD NOT
AND
OR
MOV(21)
0314
3201
6115
#
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
OUT
LD NOT
AND NOT
OUT
LD NOT
OR
OUT
LD NOT
OR
OUT
OUT
LD
0000
00
3201
3200
3201
0113
3200
3201
0108
0314
3201
0100
0114
0300
Indicates PC read is complete.
Turned ON to reset peak value.
This bit turns ON to turn OFF IR 0113, the
A/D Conversion Bit when the peak value
has been read.
Address
Instruction
00016
00017
00018
00019
00020
AND
AND NOT
OUT
AND
MOV(21)
00021
00022
00023
LD
AND NOT
MOV(21)
Operands
TR
DM
TR
DM
00024
00025
00026
00027
00028
OUT
LD
OUT
LD
OUT
0315
0308
1
0309
02
100
1
0309
02
200
0115
3300
0112
3301
3200
Program Using All 8 Points
Section 5--3
The following program can be used when all eight input points are being
used.
First Scan Flag
6115
MOV(21)
#0000
Input point 1
DM 000
MOV21
#0000
Input point 2
DM 001
MOV(21)
#0000
If you are not
using mean
values, set to
#0000. See
Note 1.
Input point 3
DM 002
MOV(21)
#0000
Input point 4
Initial parameter setting
DM 003
MOV(21)
#0005
Input point 5
DM 004
MOV(21)
#0010
Input point 6
DM 005
Set the mean
data (number
of samples.)
See Note 2.
MOV(21)
#0020
Input point 7
DM 006
MOV(21)
#0050
Input point 8
DM 007
First Scan Flag
6115
MOV(21)
#0001
32
Always OFF Flag
6114
IN
Bits 3201 through 3208 are shifted to
move consecutive parameters to the
output word.
SFT(10)
0314
3208
CP
Sets the initial value of the shift register.
This will be used for writing data consecutively through the output word.
32
ON
6114
R
(Continued on next page.)
0314
32
OFF
The bits are shifted when bit 0314 goes
from OFF to ON.
Note 1. When mean is not used, no setting is necessary. The above example includes settings for all points to allow for easy modification.
2. Mean processing starts after the points are specified, It takes 10 ms x
(number of samples) for the data to be output.
Section 5--3
(Continued from previous page)
3200
MOV(21)
DM 000
00
3201
MOV(21)
DM 001
00
3202
MOV(21)
DM 002
00
3203
MOV(21)
DM 003
00
Bit 3209 turns OFF after 8 parameters are written sequentially output to the Module..
3204
MOV(21)
DM 004
00
3205
MOV(21)
DM 005
00
3206
MOV(21)
DM 006
00
3207
MOV(21)
DM 007
00
3300
3301
0108
3208
3301
0113
DIFU(13)
ON for 1 scan
Turns ON for normal values and OFF for
peak values.
A/D conversion starts. Bit 3208 turns
ON after data writing is complete.
3209
3209
MOV(21)
#0001
3408
Sets the initial value of the shift register.
This will be used for reading data.
34
Always OFF Flag
6114
IN
The specified bits are shifted sequentially.
Bit 0315 is the A/D Write Completed Flag.
SFT(10)
0315
3208
CP
34
6114
ON
R
34
0315
OFF
(Continued on next page.)
The bits are shifted when bit 0315 goes
from OFF to ON.
3400
0101
0102
0103
Section 5--3
0104
0105
0106
0107
0100
3200
3401
0100
0102
0103
0104
0105
0106
0107
0101
3201
3402
0100
0101
0103
0104
0105
0106
0107
0102
3202
3403
0100
0101
0102
0104
0105
0106
0107
0103
Specify the points to be
read. These are set up
so that only one of the
operand of these OUT’s
is ON at the same time.
3203
3404
0100
0101
0102
0103
0105
0106
0107
0104
3204
3405
0100
0101
0102
0103
0104
0106
0107
0105
3205
3406
0100
0101
0102
0103
0104
0105
0107
0106
3206
3407
0100
0101
0102
0103
0104
0105
0106
0107
3207
(Continued on next page)
Section 5--3
(From previous page.)
0100
0314
0114
PC write is complete.This bit is turned
ON when the point to be used is specified.
0101
0102
0103
0104
0105
0106
0107
0300
0315
0308
0309
0108
MOV(21)
02
DM 100
0309
Input point
1
Normal
0108
MOV(21)
02
Peak value
DM 200
0301
0315
0308
0309
0108
MOV(21)
02
Input point 2
Normal
Data moved to
storage locations.
DM 101
0309
0108
MOV(21)
02
Peak value
DM 201
0302
0315
0308
0309
0108
MOV(21)
02
Input point 3
Normal
DM 102
0309
0108
MOV(21)
02
Peak value
DM 202
0303
0315
0308
0309
0108
MOV(21)
02
Input point 4
Normal
DM 103
0309
0108
MOV(21)
(Continued on next page.)
02
DM 203
Peak value
IR 0300 through
IR 0307 specify input data setting for
points 1 through 8.
IR 0315 is the A/D
Write Completed
Flag.
IR 0308 is the Disconnection Flag.
IR 0309 is the Normal/Peak Flag
(usually used with
IR 0108).
Section 5--3
(From previous page.)
0304
0315
0308
0309
0108
MOV(21)
02
DM 104
0309
Input point
5
Normal
0108
MOV(21)
02
Peak value
DM 204
0305
0315
0308
0309
0108
MOV(21)
02
Input point 6
Normal
DM 105
0309
0108
MOV(21)
02
Peak value
DM 205
0306
0315
0308
0309
Data moved
0108
MOV(21)
02
Input point 7
Normal
DM 106
0309
(continued
from previous page).
0108
MOV(21)
02
Peak value
DM 206
0307
0315
0308
0309
0108
MOV(21)
02
Input point 8
Normal
DM 107
0309
0108
MOV(21)
02
Peak value
DM 207
0315
3501
3500
0115
IR 0115, the PC Read Completed
Flag, turns ON when IR 0315, the A/D
Read Completed Flag, turns ON.
0112
Turns ON when a peak value is reset.
IR 0144 is the PC Write Completed
Flag See Note 1.
3301
Turns ON when a peak value is being
read (any bit can be used). See Note 2.
0114
0114
Note 1. The peak value is reset when the Peak Reset Flag turns OFF.
2. The peak value is held while the Peak Flag is ON. IR 0114 initiates the
reading of new peak values while IR 3501 is ON.
Address
00000
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
Section 5--3
Instruction
Operands
LD
MOV(21)
Address
6115
#
DM
0000
000
#
DM
0000
001
#
DM
0000
002
#
DM
0000
0003
#
DM
0005
004
#
DM
0010
005
#
DM
0020
006
#
DM
0050
007
6115
#
0001
32
6114
0314
3208
6114
MOV(21)
00026
00027
00028
00029
Instruction
Operands
LD
MOV(21)
3205
DM
005
00
3206
DM
006
00
3207
DM
007
00
3300
3301
0108
3208
3301
0113
3209
3209
3408
#
0001
34
6114
0315
3208
6114
LD
MOV(21)
MOV(21)
00030
00031
LD
MOV(21)
MOV(21)
MOV(21)
MOV(21)
MOV(21)
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
LD NOT
AND NOT
OUT
LD
AND NOT
OUT
DIFU(13)
LD
OR
MOV(21)
MOV(21)
LD
MOV(21)
LD
LD
AND NOT
LD
SFT(10)
32
32
3200
LD
MOV(21)
DM
000
00
3201
DM
001
00
3202
DM
002
00
3203
DM
003
00
3204
DM
004
00
LD
MOV(21)
LD
MOV(21)
LD
MOV(21)
LD
MOV(21)
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057
00058
00059
00060
00061
00062
00063
00064
00065
00066
00067
00068
00069
00070
00071
LD
LD NOT
AND
LD
SFT(10)
LD
OR
AND NOT
AND NOT
AND NOT
AND NOT
AND NOT
AND NOT
AND NOT
OUT
LD
OR
AND NOT
AND NOT
AND NOT
AND NOT
AND NOT
AND NOT
AND NOT
OUT
LD
OR
AND NOT
AND NOT
AND NOT
34
34
3400
3200
0101
0102
0103
0104
0105
0106
0107
0100
3401
3201
0100
0102
0103
0104
0105
0106
0107
0101
3402
3202
0100
0101
0103
(Continued on next page.)
Address
Instruction
00072
00073
00074
00075
00076
00077
00078
00079
00080
00081
00082
00083
00084
00085
00086
00087
00088
00089
00090
00091
00092
00093
00094
00095
00096
00097
00098
00099
00100
00101
00102
00103
00104
00105
00106
00107
00108
00109
00110
00111
00112
00113
00114
00115
00116
00117
00118
00119
00120
00121
00122
00123
00124
00125
00126
00127
AND NOT
AND NOT
AND NOT
AND NOT
OUT
LD
OR
AND NOT
AND NOT
AND NOT
AND NOT
AND NOT
AND NOT
AND NOT
OUT
LD
OR
AND NOT
AND NOT
AND NOT
AND NOT
AND NOT
AND NOT
AND NOT
OUT
LD
OR
AND NOT
AND NOT
AND NOT
AND NOT
AND NOT
AND NOT
AND NOT
OUT
LD
OR
AND NOT
AND NOT
AND NOT
AND NOT
AND NOT
AND NOT
AND NOT
OUT
LD
OR
AND NOT
AND NOT
AND NOT
AND NOT
AND NOT
AND NOT
AND NOT
LD
OR
Section 5--3
Operands
0104
0105
0106
0107
0102
3403
3203
0100
0101
0102
0104
0105
0106
0107
0103
3404
3204
0100
0101
0102
0103
0105
0106
0107
0104
3405
3205
0100
0101
0102
0103
0104
0106
0107
0105
3406
3206
0100
0101
0102
0103
0104
0105
0107
0106
3407
3207
0100
0101
0102
0103
0104
0105
0106
0100
0101
Address
Instruction
00128
00129
00130
00131
00132
00133
00134
00135
00136
00137
00138
00139
00140
00141
00142
OR
OR
OR
OR
OR
OR
AND NOT
OUT
LD
AND
AND NOT
OUT
AND
AND
MOV(21)
00143
00144
00145
00146
LD
AND NOT
AND NOT
MOV(21)
Operands
TR
DM
TR
DM
00148
00149
00150
00151
00152
00153
00154
00155
00156
00157
00158
LD
AND
AND NOT
OUT
AND
AND
MOV(21)
LD
AND NOT
AND NOT
MOV(21)
TR
DM
TR
DM
00159
00160
00161
00162
00163
00164
00165
00166
00167
00168
00169
LD
AND
AND NOT
OUT
AND
AND
MOV(21)
LD
AND NOT
AND NOT
MOV(21)
TR
DM
TR
DM
00170
00171
LD
AND
0102
0103
0104
0105
0106
0107
0314
0114
0300
0315
0308
1
0309
0108
02
100
1
0309
0108
02
200
0301
0315
0308
1
0309
0108
02
101
1
0309
0108
02
201
0302
0315
0308
1
0309
0108
02
102
1
0309
0108
02
202
0303
0315
(Continued on next page.)
Address
Instruction
00172
00173
00174
00175
00176
AND NOT
OUT
AND
AND
MOV(21)
00177
00178
00179
00180
LD
AND NOT
AND NOT
MOV(21)
Section 5--3
Operands
TR
DM
TR
DM
00181
00182
00183
00184
00185
00186
00187
00188
00189
00190
00191
LD
AND
AND NOT
OUT
AND
AND
MOV(21)
LD
AND NOT
AND NOT
MOV(21)
TR
DM
TR
DM
00192
00193
00194
00195
00196
00197
00198
00199
00200
00201
00202
LD
AND
AND NOT
OUT
AND
AND
MOV(21)
LD
AND NOT
AND NOT
MOV(21)
TR
DM
TR
0308
1
0309
0108
02
103
1
0309
0108
02
203
0304
0315
0308
1
0309
0108
02
104
1
0309
0108
02
204
0305
0315
0308
1
0309
0108
02
105
1
0309
0108
Address
Instruction
Operands
02
DM
00203
00204
00205
00206
00207
00208
00209
00210
00211
00212
00213
LD
AND
AND NOT
OUT
AND
AND
MOV(21)
LD
AND NOT
AND NOT
MOV(21)
TR
DM
TR
DM
00214
00215
00216
00217
00218
00219
00220
00221
00222
00223
00224
LD
AND
AND NOT
OUT
AND
AND
MOV(21)
LD
AND NOT
AND NOT
MOV(21)
TR
DM
TR
DM
00225
00226
00227
00228
00229
00230
00231
00232
LD
OUT
LD
AND
OUT
LD
AND
OUT
205
0306
0315
0308
1
0309
0108
02
106
1
0309
0108
02
206
0307
0315
0308
1
0309
0108
02
107
1
0309
0108
02
207
0315
0115
3501
0114
0112
3500
0114
3301
5--4
Section 5--4
DA001 through DA005 Analog Output Modules
All that is necessary in programming these Modules is to move a binary value (up to 4095) to the word allocated to the desired output point. The following example coverts BCD input from outside the PLC to binary and places
the results in the proper output words for unipolar outputs. The words allocated to each Module are shown above the Module. The program, written for
a C500, is shown on the following page.
IR 01
X100
X101
X102
X103
20
21
22
23
20
21
22
23
20
21
22
23
20
21
22
23
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
00
01
02
03
04
05
06
07
IR 02
X100
X101
20
21
22
23
20
21
22
23
COM
08
09
10
11
12
13
14
15
X102
X103
COM
Input Module
20
21
22
23
20
21
22
23
IR 03
Input data 1
read timing
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
00
01
02
03
04
05
06
07
COM
08
09
10
11
12
13
14
15
COM
0
1
Input data 1 2
read timing 3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Input Module
00
01
02
03
04
05
06
07
COM
08
09
10
11
12
13
14
15
COM
Input Module
IR 05
IR 06
IR 04
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
00
01
02
03
04
05
06
07
Input
data 1
not
convertible
Input
data 1
not
convertible
Input
data 1
analog
output
COM
08
09
10
11
12
13
14
15
Input
data 1
analog
output
COM
Output Module
Analog Output Module
Address
TR 1
0300
CMP(20)
Input
data
1
read
condition
Section 5--4
01
Compares input 1 data
with 4096.
00000
00001
00002
Instruction
LD
OUT
CMP(20)
Operands
TR
4096
01
4096
6307
6307 (LE)
BID(23)
01
05
Converts input 1 data
to 12-bit binary and
transfers it to the
Analog Output Module.
6306 (EQ)
0400
Indicates input 1 data is
not convertible.
6305 (GR)
0400
6303 (ER)
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
AND
BIN(23)
LD
AND
OR
OR
OR
OUT
LD
OUT
CMP(20)
TR
TR
(See note.)
00014
00015
AND
BIN(23)
0301
CMP(20)
02
Compares input 2 data
with 4096.
4096
6307 (LE)
BIN(23)
02
06
Converts input 2 data
to 12-bit binary and
transfers it to the
Analog Output Module.
6306 (EQ)
0401
Indicates input 2 data is
not convertible.
6305 (GR)
0401
6303 (ER)
Note
The error flag turns on if the
input data is not in BCD form.
00016
00017
00018
00019
00020
00021
LD
AND
OR
OR
OR
OUT
01
05
1
6306
6305
0400
6303
0400
0301
1
02
4096
6307
TR 1
Input
data
2
read
condition
0300
1
TR
02
06
1
6306
6305
0401
6303
0401
5--5
Section 5--5
DA101 Analog Output Modules
All that is necessary in programming this Modules is to move a binary value
(up to 4095) to the word allocated to the desired output point.
The following program, written for the C500, transfer data between the PLC
and Analog Output Module. The conversion data is stored in DM 100. The
Module will uses IR 10 through IR 13. Only the programming for point 1 (IR
10) is shown. The programming for the rest of the points follows the same
logic.
Program for BCD Data
TR 1
0000
CMP(20)
Output
condition
DM 100
Compares the content of
DM 100 with 4096.
#4096
6307 ()
3000
If the data is not greater
than 0FFF, the data is
transferred to the Module.
If the data is not
convertible, IR 3000
is turned ON.
6303 (ER)
3000
Address
00000
00001
00002
Instruction
LD
OUT
CMP(20)
Operands
TR
DM
#
00003
AND NOT
Address
Instruction
0001
1
00004
MOV(21)
100
0FFF
6305
00005
00006
00007
00008
00009
Operands
DM
LD
AND
OR
OR
OUT
TR
100
10
1
6305
6303
3000
3000
Appendix A
Standard Models
Analog Input Modules
PLC
C120
Specifications
Model
1 to 5 V, 4 to 20 mA
3G2A6-AD006
0 to 10 V
3G2A6-AD007
C500
0 to 10 V, 0 to 20 mA (adjustable)
C500-AD101
C1000H
1 to 5 V, 4 to 20 mA
3G2A5-AD001
C2000H
0 to 10 V
3G2A5-AD002
0 to 5 V
3G2A5-AD003
--10 to 10 V
3G2A5-AD004
--5 to 5 V
3G2A5-AD005
1 to 5 V, 4 to 20 mA
3G2A5-AD006
0 to 10 V
3G2A5-AD007
Analog Output Modules
PLC
C120
Specifications
Model
1 to 5 V, 4 to 20 mA
3G2A6-DA001
0 to 10 V
3G2A6-DA002
0 to 5 V
3G2A6-DA003
--10 to 10 V
3G2A6-DA004
--5 to 5 V
3G2A6-DA005
C500
0 to 10 V, 1 to 5 V, 4 to 20 mA
C500-DA101
C1000H
1 to 5 V, 4 to 20 mA
3G2A5-DA001
C2000H
0 to 10 V
3G2A5-DA002
0 to 5 V
3G2A5-DA003
--10 to 10 V
3G2A5-DA004
--5 to 5 V
3G2A5-DA005
Expansion I/O Racks
(For connecting Analog I/O Modules to the C120)
Power supply
Model
100 VAC
3G2C4-SI025
200 VAC
3G2C4-SI026
Appendix A
Appendix B
Specifications
AD001 through AD005 Analog Input Modules
All general specifications of the AD001 through AD005 conform to those of the C Series except the following:
• Insulation resistance between the external terminals and the frame: 5 MΩ min. (at 250 VDC)
• Dielectric strength between the external terminals and the frame: 500 VAC, 50/60 Hz for 1 minute
Number of analog inputs
2
Input signal range (See Note 1.)
Voltage inputs
1 to 5 V (AD001)
0 to 10 V (AD002)
0 to 5 V (AD003)
--10 to 10 V (AD004)
--5 to 5 V (AD005)
Current inputs
min.
Current input: 250
4 to 20 mA (AD001)
Input impedance
Voltage input:: 1 M
Resolution
1/4095 (full scale)
PLC signal
12-bit binary (for bipolar outputs, 11-bit binary + 1 sign bit.)
Linearity error
Accuracy temperature coefficient
±0.1% max.
±0.2% max. (full scale at 25°C)
±100 PPM/°C (full scale)
Conversion time
2.5 ms max./port
Conversion cycle
5 ms max.
Max. PLC write delay (See Note 2.)
1s
Conversion method
Sequential comparison
Max. input signal
Voltage input: ±15 V
Accuracy
Current input: ±60 mA
External connections
Terminal block (not removable)
Power consumption
500 mA max. at 5 VDC
Weight
600 g max.
Note
The PC write delay is the time required for a change in the input signal to be
converted and transferred to the PLC bus.
Analog input
0
Time
Conversion
cycle
A filter inside the Module
causes
the digital signal to increase
in a stepwise fashion.
Digital output
(to PLC)
0000
PC write delay
Time
Appendix B
AD006 and AD007 Analog Input Modules
All general specifications of the AD006 and AD007 Analog Input Modules conform to those of the C Series
except the following:
• Insulation resistance between the external terminals and the frame: 5 MΩ min. (at 250 VDC)
• Dielectric strength between the external terminals and the frame: 500 VAC, 50/60 Hz for 1 minute
Number of analog inputs
4
Input signal range (See Note 1.)
Voltage inputs
0 to 10 V (AD007)
1 to 5 V (AD006)
Current inputs
4 to 20 mA (AD006)
min.
Current input: 250
Input impedance
Voltage input:: 1 M
Resolution
1/1023 (full scale)
PLC signal
10-bit binary
Linearity error
Accuracy temperature coefficient
±0.2% max.
±0.2% max. (full scale at 25°C)
±150 PPM/°C (full scale)
Conversion time
2.5 ms max./port
Conversion cycle
10 ms max.
Max. PC write delay (See Note 2.)
1s
Conversion method
Sequential comparison
Max. input signal
Voltage input: ±15 V
Accuracy
Current input: ±60 mA
External connections
Terminal block (not removable)
Power consumption
750 mA max. at 5 VDC
Weight
650 g max.
Note
The PC write delay is the time required for a change in the input signal to be
converted and transferred to the PLC bus.
Analog input
0
Conversion
cycle
A filter inside the Module
causes
the digital signal to increase
in a stepwise fashion.
Digital output
(to PLC)
0000
PC write delay
Time
Appendix B
AD101 Analog Input Module
All general specifications of the AD101 Analog Input Module conform to those of the C Series.
Number of analog inputs
8
Input signal range
Voltage inputs: 0 to 10 VDC (adjustable)
Current inputs: 0 to 20 mA (adjustable)
Resolution (See Note 1.)
1/4096 max.
Accuracy
25°C
0 to 55°C
±0.5% (full scale, including linearity error)
±1.0% (full scale, including linearity error)
Conversion time (See Note 2.)
10 ms max./port
Input impedance
Voltage input
1M
Current input
250
Voltage
±15 V
±30 mA
Max. input signal
Current
min.
PLC signal
12-bit binary
Number of words
32 or 64 (selectable)
External connections
30-pin terminal block (not removable)
Isolation
Between input terminals and PLC: photocoupler
Between input terminals and Module: none
Power consumption
880 mA max. at 5 VDC
Dimensions
34.5 (W) x 250 (H) x 120 (D) mm
Weight
700 g max.
Note 1. This is the resolution when the difference between offset and gain is at
least 4 V (16 mA). The resolution is less for smaller ranges (e.g., if the
difference is 2 V, the resolution is 1/2048).
2. This is the conversion time when the signal changes from one end of the
range to the other. The smaller the signal change, the shorter the conversion time.
Appendix B
DA001 through DA005 Analog Output Modules
All general specifications of the DA001 through AD005 Analog Output Modules conform to those of the C Series except the following:
• Insulation resistance between the external terminals and the frame: 5 MΩ min. (at 250 VDC)
• Dielectric strength between the external terminals and the frame: 500 VAC, 50/60 Hz for 1 minute
Number of analog outputs
2
1 to 5 V (DA001)
0 to 10 V (DA002)
Output signal range
Voltage outputs
0 to 5 V (DA003)
--10 to 10 V (DA004)
--5 to 5 V (DA005)
Current outputs
4 to 20 mA (DA001)
Max. output impedance
Voltage output:: 0.5
Max. output current
Voltage output: 15 mA
Max. load resistance
Current output: 550
Resolution
1/4095 (full scale)
PLC signal
12-bit binary (for bipolar outputs, 11-bit binary + 1 sign bit.)
Linearity error
Accuracy temperature coefficient
±1/2 LSB max. (at 25°C)
±0.2% max. (full scale, at 25°C)
±50 PPM/°C
Conversion time
5 ms max.
Conversion cycle
PLC program scan time
External connections
Terminal block (not removable)
Power consumption
550 mA max. at 5 VDC
Weight
600 g max.
Accuracy
Appendix B
DA101 Analog Output Module
All general specifications of the DA101 Analog Output Module conform to those of the C Series.
Number of analog outputs
4
Output signal range
Voltage outputs
1 to 5 V
0 to 10 V
Current outputs
Resolution
1/4096
Accuracy
25°C
4 to 20 mA
±0.5% max. (full scale, including linearity error)
±1.0% max. (full scale, including linearity error)
0 to 55°C
Conversion time (See Note.)
10 ms max.
Max. output impedance
Voltage output: 0.5
Max. output current
Voltage output: 10 mA
Max. load resistance
Current output: 400
PLC signal
12-bit binary
Number of words
64
External connections
17-pin terminal block (not removable)
Isolation
Between output terminals and PLC: photocoupler
Between output terminals and Module: none
Power consumption
1.3 A max. 5 VDC
Dimensions
34.5 (W) x 250 (H) x 113 (D) mm
Weight
650 g max.
Note
This is the conversion time when the signal changes from one end of the
range to the other. The smaller the signal change, the shorter the conversion
time.
Appendix B
Index
A
AD001 -- AD005 Analog Input Modules
A/D conversion, 28
block diagram, 28
dimensions, 12
IR bit allocations, 29
programming, 48
specifications, 75
wiring, 13
word allocations, 4
AD006 -- AD007 Analog Input Modules
A/D conversion, 30
block diagram, 30
dimensions, 15
IR bit allocations, 31
programming, 50
specifications, 76
wiring, 16
word allocations, 4
AD101 Analog Input Modules, 6
block diagram, 32
data reading area, 38
Intelligent I/O Write, 35
PLC communications, 34
specifications, 77
word allocations, 4
word setting, 6
A/D conversion, 32
data writing area, 36
dimensions, 18
four-word operation, 39, 59
input and conversion, 33
input ranges, 6
Intelligent I/O Read, 38
operation mode, 6
operational flow, 33
peak read bit, 35
peak reset bit, 35
programming, 52
two-word operation, 33, 52
unconfirmed data, 35
wiring, 18
B
basic configuration, 2
C
configuration examples, 3
D
DA001 -- DA005 Analog Output Modules
bipolar output, 42
block diagram, 41
D/A conversion, 41
dimensions, 21
IR bit allocations, 43
programming, 69
specifications, 78
unipolar output, 41
wiring, 22
word allocations, 4
DA101 Analog Output Modules, 9
block diagram, 44
conversion and output, 44
dimensions, 24
DIP switches, 9
IR bit allocations, 46
operational overflow, 45
program for BCD data, 71
program for binary data, 72
programming, 71
specifications, 79
unipolar output, 41
wiring, 24
word allocations, 4
S
Standard Models
Analog Input Modules, 73
Analog Output Modules, 73
Expansion I/O Racks, 73
system configuration
basic, 2
samples, 3
W
wiring
AD101 Analog Input Modules, 18
DA001 -- DA005 Analog Output Modules, 22
AD001 -- AD005 Analog Input Modules, 13
AD006 -- AD007 Analog Input Modules, 16
DA101 Analog Output Modules, 24
word allocations, 3
81
Revision History
C120/C500/C1000H/C2000H
Analog I/O Modules
A manual revision code appears as a suffix to the catalog number on the front cover of the manual.
Cat. No. W121-E3-1
Revision code
The following table outlines the changes made to the manual during each revision. Page numbers refer to the
previous version.
Revision code
Date
Revised content
E1-3
June 1991
AD001 through AD005 added.
TR bits and mnemonic code added to programs.
Page 6: CPU model numbers corrected in caution.
Page 30 : Bottom model number corrected and dimension changed from 100 to
103 in bottom graphic.
Pages 32, 34: “kW” corrected to “k .”
Page 35: Model numbers corrected in headings.
Page 41: Operand corrected in third ANDW(34).
Page 44: “61115” corrected to “6115” and operand in first MOV(21) corrected.
Page 45: Instruction names and function codes corrected.
Page 56: Function code corrected for BID and operand corrected in bottom OUT.
Page 59: PC--Analog I/O Unit applicability corrected.
E3-1
June 1996
Major Revision for Section 3. Wiring drawings were updated for accuracy.
OMRON ELECTRONICS LLC
1 Commerce Drive
Schaumburg, IL 60173
847.843.7900
For US technical support or
other inquiries: 800.556.6766
OMRON CANADA, INC.
885 Milner Avenue
Toronto, Ontario M1B 5V8
416.286.6465
OMRON ON-LINE
Global - http://www.omron.com
USA - http://www.omron.com/oei
Canada - http://www.omron.ca
W121-E3-1
OMRON ELECTRONICS LLC
Printed in the U.S.A.
Specifications subject to change without notice.