The text of a manual · part 4 of 9
SYSMAC C200H-AD001/DA001 Analog I/O Units Operation Guide: SECTION 2 - C200H-AD001 Analog Input Unit, pages 15 to 21
Pages 15 to 21 of 61, from SYSMAC C200H-AD001/DA001 Analog I/O Units Operation Guide
The original document is the PDF (608 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
Filed in the catalog under the Omron C500-AD001
Page 15
SECTION 2 C200H-AD001 Analog Input Unit This section provides the information required to install and operate a C200H-AD001 Analog Input Unit. 2-1
2-2 2-3
2-4
Before Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1-1 Nomenclature and Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1-2 Switch Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1-3 Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Bit and DM Area Allocations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Functions and Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3-1 Input Signal Range Setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3-2 Square Root . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3-3 Scaling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3-4 Mean Value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3-5 Peak Value . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3-6 Input Disconnection Detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3-7 Data Setting Example and Programming Concepts . . . . . . . . . . . . . . . Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
8 8 10 11 15 18 19 19 20 21 22 23 23 26
7
Page 16
Section 2-1
Before Operation
2-1
Before Operation
2-1-1 Nomenclature and Functions
Model label Unit number setting switch
Display panel
Function setting DIP switch
Voltage/current input terminals Backplane connector
Indicators Indicator
Color
Function
RUN
Green
Lit when the Analog Input Unit is operating correctly. If operation is not normal, this indicator turns OFF and Unit operation is stopped.
BROKEN WIRE
Red
Lit when an input signal wire is disconnected. This indicator operates only when the input range is set to 1 to 5 V/4 to 20 mA.
Functions Function
The following table briefly outlines the basic functions of the C200H-AD001. These functions are covered in more detail in 2-3 Functions and Programming. Explanation
Input range setting
The input range can be set according to the input signal level that is to be used. The same input range is used for all of the inputs for a particular Unit. The voltage range of 1 to 5 V and the current range of 4 to 20 mA, however, can be used at the user’s option for any input.
Square root
Converts quadratic data, such as thermocouple input, to linear data.
Scaling
Converts an analog input signal to a preset range of BCD data for output.
Mean value
Sums the sampling data and calculates the mean value for output.
Peak value
Holds the maximum values for A/D conversion data, scaling data, mean data, and square root data, and outputs them as output data. The Disconnection Detection Flag is turned ON and the BROKEN WIRE indicator is lit if the input signal wire becomes disconnected when 1 to 5 V/4 to 20 mA are set.
Disconnection detection
8
Page 17
Section 2-1
Before Operation Block Diagram
The following diagram shows the basic internal configuration of the Unit.
Input point 1
SW
+Voltage Input +Current Input
Input point 3
Input point 2
–Input
CPU ROM/ RAM
+Voltage Input +Current Input
A/D converter Multiplexer
–Input
C200H or C200HS PC I/O bus
+Voltage Input +Current Input Range selector
–Input
Input point 4
Bus interface
Photocoupler
+Voltage Input +Current Input
Photocoupler Watchdog timer
–Input Common DC/DC Analog power supply Analog 0 V converter
+5 V 0V
9
Page 18
Section 2-1
Before Operation
2-1-2 Switch Settings There are four settings necessary for this Unit: unit number, number of inputs, input range, and data reading mode. Unit Number Unit number setting switch The switch notch points to the unit number. The switch in the figure to the left is set to 0. Odd numbers, in parentheses here, are not shown on the Unit. Use a standard screwdriver and set a different unit number for each Analog I/O Unit. IR area memory is allocated according to unit number, as shown in the table below.
Note
Number of Inputs
Switch setting
Unit number
IR words
DM words
0
Unit #0
IR 100 to 109
DM 1000 to 1099
1
Unit #1
IR 110 to 119
DM 1100 to 1199
2
Unit #2
IR 120 to 129
DM 1200 to 1299
3
Unit #3
IR 130 to 139
DM 1300 to 1399
4
Unit #4
IR 140 to 149
DM 1400 to 1499
5
Unit #5
IR 150 to 159
DM 1500 to 1599
6
Unit #6
IR 160 to 169
DM 1600 to 1699
7
Unit #7
IR 170 to 179
DM 1700 to 1799
8
Unit #8
IR 180 to 189
DM 1800 to 1899
9
Unit #9
IR 190 to 199
DM 1900 to 1999
1. The unit number setting switch is factory set to 0. 2. If two or more Special I/O Units are assigned the same unit number, an I/O UNIT OVER error will be generated and the PC will not operate. 3. Make the unit number settings with the power turned off to the PC. If the settings are made with the power on, they will not go into effect until either the power is turned off and then on again or the Special I/O Unit Restart Flag (AR0100 to AR0109) is turned ON. There can be 1, 2, or 4 inputs depending on the settings of pins 1 and 2, as shown in the table below.
0: OFF 1: ON
The following table shows the effects of the various pin combinations. If there is no need to use all of the inputs, processing time can be shortened by setting the pins so that the smallest possible number of inputs is enabled. Pin number
10
Number of inputs
Inputs enabled
1 OFF
2 ON
1
Input 1 only is enabled.
ON
OFF
2
Inputs 1 and 2 only are enabled.
OFF
OFF
4
All inputs are enabled.
ON
ON
Not used.
–––
Page 19
Section 2-1
Before Operation Input Range
Use pin 3 to set the input range. Pin number 3 OFF ON
Input range Voltage input Current input Voltage input
1 to 5 V 4 to 20 mA 0 to 10 V
Note The same input range is used for all of the inputs for a particular Unit. The voltage range of 1 to 5 V and the current range of 4 to 20 mA, however, can be used at the user’s option at any input. Data Reading Mode
In normal mode, the input data is read only once before being converted from analog to digital. In filter mode, the input data is read three times and then the average values are converted from analog to digital. This helps to reduce the effects of electrical noise and so on. Using filter mode, however, results in longer processing time, as shown in the following table. Pin number 3
Data reading mode
A/D conversion time
OFF
Normal mode
2.5 ms/input max.
ON
Filter mode
4 ms/input
2-1-3 Wiring Terminal Allocation
The following illustration shows the function of each terminal.
Input 1 (–)
A0
Not used.
A1
Input 2 (–)
A2
Not used.
Voltage input 1 (+)
B1
Current input 1 (+)
B2
Voltage input 2 (+)
B3
Current input 2 (+)
B4
Voltage input 3 (+)
B5
Current input 3 (+)
B6
Voltage input 4 (+)
B7
Current input 4 (+)
B8
Not used.
B9
Common (Analog 0 V)
A3
Input 3 (–)
A4
Not used.
A5
Input 4 (–)
A6
Not used.
A7
Common (Analog 0 V)
B0
A8
The same input range is used for all of the inputs for a particular Unit. The voltage range of 1 to 5 V and the current range of 4 to +20 mA, however, can be used at the user’s option at any input. Use the DIP switch on the back panel of the Unit to set the input range and the number of inputs. (For details, refer to 2-1-2 Switch Settings.) When current input is used, short circuit the voltage input (+) and current input (+) terminals. The common terminal is connected to the 0 V of the Analog Input Unit’s analog circuit. Noise interference can be reduced by using shielded cables for input lines. The A8 and B9 terminals are short circuited internally.
11
Page 20
Section 2-1
Before Operation Voltage Inputs
The following diagram illustrates the external wiring of voltage inputs for the C200H-AD001. C200H-AD001 Input side Shield Input 1
Input 2
Input 3
0V
0V
0V
Input 4 0V
Note Terminals A8 and B9 are analog input ground terminals. They are not frame grounds and so do not connect them to a ground.
12
Page 21
Section 2-1
Before Operation Current Inputs
The following diagram illustrates the external wiring of current inputs for the C200H-AD001. When current inputs are used, use the short pins provided with the Unit to short circuit the V+ and I+ terminals as shown in the diagram. C200H-AD001 Input side Shield Input 1
0V
(Short pin)
+V
Input 2
0V +V
Input 3
Input 4
(Short pin)
0V +V
0V +V
(Short pin)
(Short pin)
Note Terminals A8 and B9 are analog input ground terminals. They are not frame grounds and so do not connect them to a ground.
13