The text of a manual · part 7 of 9
SYSMAC C200H-AD001/DA001 Analog I/O Units Operation Guide: SECTION 3 - C200H-DA001 Analog Output Units, pages 36 to 44
Pages 36 to 44 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 36
SECTION 3 C200H-DA001 Analog Output Units This section provides the information required to install and operate a C200H-DA001 Analog Output Unit. 3-1
3-2 3-3
3-4
Before Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1-1 Nomenclature and Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1-2 Switch Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1-3 Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Bit and DM Allocations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Functions and Programming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3-1 Output Signal Range Setting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3-2 Output Limits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3-3 Output Limit Alarms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3-4 Pulse Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3-5 Data Setting Example and Programming Concepts . . . . . . . . . . . . . . . Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
30 30 32 33 36 38 39 39 41 42 43 45
29
Page 37
Section 3-1
Before Operation
3-1
Before Operation
3-1-1 Nomenclature and Functions
Model label Unit number setting switch
Display panel
Function setting switch
External output terminal block connectors Backplane connector
Indicators Indicator
Color
Function
RUN
Green
Lit when the Analog Output Unit is operating correctly. If operation is not normal, this indicator turns OFF and Unit operation is stopped.
ALARM
Red
Lit when an alarm is output as a result of the upper or lower limits being exceeded,
Functions Function Output range setting
Output limit
The following table briefly outlines the basic functions of the C200H-DA001. These functions are covered in more detail in 3-3 Functions and Programming. Explanation The output range can be set according to the output signal level that is to be used. The same output range is used for all of the outputs 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 output. The output limit function sets upper and lower limits on the output signal. The upper and lower limits are preset in the DM area. The output remains at the limit level as long as the output limit function is activated.
Output limit alarm
This function activates an alarm if the output signal is outside of the range defined by the upper and lower limits preset in the DM area, but it does not alter the output level. It is possible to include a deadband, which delays the resetting of the alarm. The output limit alarm turns ON and OFF according to the following conditions.
Pulse output
This function creates a 0 V to 5 V pulse output separate from the analog output.
30
Page 38
Section 3-1
Before Operation
Photocoupler
Voltage output 1
Memory
The following diagram shows the basic internal configuration of the Analog Output Unit.
Converter
Block Diagram
Bus interface
Voltage output 2
I/O BUS
Memory
Converter
Range selector
Photocoupler current output 1 current output 2
Pulse output 1
Pulse output circuit
Photocoupler
Pulse output 2
Pulse output circuit
Photocoupler
Alarm 1 upper limit Alarm 1 lower limit Alarm 2 upper limit Alarm 2 lower limit
Analog supply power
DC/DC converter
+5V 0V
COM
31
Page 39
Section 3-1
Before Operation
3-1-2 Switch Settings There are four settings necessary for this Unit: unit number, output range, pulse output line, and pulse output ON/OFF. 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 to 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
DIP Switch Settings
Switch number
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. Set pins 1 through 3 before powering up the system. Pin 4 is not used, so please leave it set to OFF. 0: OFF 1: ON
Output Range
Use pin 1 to set the output range. Pin number 3 OFF ON
Output range Voltage input Current input Voltage input
1 to 5 V 4 to 20 mA 0 to 10 V
Note The same output range is used for all of the outputs 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 output.
32
Page 40
Section 3-1
Before Operation Pulse Output Line
Use pin 2 to set the pulse output line. Pin 2 OFF: Pin 2 ON:
Pulse Output ON/OFF
Output 1 Output 2
Use pin 3 to set pulse outputs to ON or OFF. Pin 3 OFF: Pin 3 ON:
Pulse output OFF Pulse output ON
3-1-3 Wiring Terminal Allocation
The following illustration shows the function of each output.
Voltage output 1 (–)
A0
Current output 1 (–)
A1
Pulse output 1 (–)
A2
Voltage output 2 (–)
A3
Current output 2 (–)
A4
Pulse output 2 (–)
A5
Not used.
A6
Lower limit alarm output 1
A7
Lower limit alarm output 2
A8
B0
Voltage output 1 (+)
B1
Current output 1 (+)
B2
Pulse output 1 (+)
B3
Voltage output 2 (+)
B4
Current output 2 (+)
B5
Pulse output 2 (+)
B6
Not used.
B7
Upper limit alarm output 1
B8
Upper limit alarm output 2
B9
Alarm output common
The Analog Output Unit has two built-in output lines, but it is not possible to simultaneously use one of them for both voltage and current outputs. The same output range is used for all of the outputs 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 output. Pulse output is possible for either output 1 or output 2, but not for both. Refer to 3-1-2 Switch Settings for details.
33
Page 41
Section 3-1
Before Operation
The following diagram shows the external wiring of outputs for the C200H-DA001.
Output Wiring
C200H-DA001 Load
Output 1
Voltage output 1 Current output 1 Pulse output 1
+ –
B0 A0
+ –
B1 A1 B2
0V
Output 2
Voltage output 2 Current output 2 Pulse output 2
+
A2
–
B3
+
A3
–
B4 A4 B5
0V Shield
A5
100 mA max. Load + 5 to 24 VDC –
B7
Load Load
A7
(Note 1.) B8
Load A8
B9
Note
34
1. The maximum current capacity for this alarm output (open-collector output) is 100 mA/circuit. 2. A single output line cannot be used for voltage and current output at the same time.
Page 42
Section 3-1
Before Operation
When wiring outputs, apply the following points to avoid noise interference and optimize Analog Output Unit performance.
Output Wiring Considerations
• Use shielded twisted-pair cable for external connections and power lines. • Route output cables separately from the AC cable, and do not run the Unit’s cables near a main circuit cable, high voltage cable, or a non-PC load cable. • Be sure to install surge-absorbing diodes or surge absorbers for inductive loads (relays, solenoids, electromagnetic valves, etc.) They should be installed right next to relays and solenoids. Use surge-absorbing diodes with a dielectric strength of at least five times the circuit voltage.
DC Relay
AC Relay
Surge absorber Surge-absorbing diode (Example: ERB44-06, by Fuji Electric)
Solenoid, etc.
Surge absorber
• If there is noise interference from power lines (if, for example, the power supply is shared with electrical welding devices or electrical discharge machines, or if there is a high-frequency generation source nearby) install a noise filter at the power supply output area. • Use at least a class-3 ground (to 100 Ω or less), with as heavy a wire as possible (i.e., at least 1.25 mm2).
! Caution
When using the C200H-DA001 Analog Output Unit, a voltage (current) may be output momentarily from the output terminal when the power supply to the PC is turned ON or OFF. Approximately 10 V will be output for approximately 1 second after the power is turned ON or OFF. If this causes a problem, provide countermeasures so that the power supply or output timing of external devices differs from the ON/OFF timing of the power supply to the PC.
35
Page 43
Bit and DM Allocations
3-2
Section 3-2
Bit and DM Allocations
IR Allocations
C200H/C200HS Analog Output Units are allocated ten words each from the portion of the IR area (IR 100 to IR 199) that is reserved for Special I/O Units. The words that are allocated a particular Analog Output Unit depend on the setting of the unit number setting switch on the front panel of the Unit. Those ten words are then reserved as an I/O refresh data area, and the bits that comprise that area are refreshed with every I/O refresh scan by the PC.
SYSMAC C200HS/C200H/C200HX/HG/HE PC
C200H-DA001 Analog Output Unit
(Work area) Unit #0
IR 100 to 109
Unit #1
IR 110 to 119
Unit #2
IR 120 to 129
Unit #3
IR 130 to 139
Unit #4
IR 140 to 149
Unit #5
IR 150 to 159
Unit #6
IR 160 to 169
Unit #7
IR 170 to 179
Unit #8
IR 180 to 189
Unit #9
IR 190 to 199
(I/O refresh data area)
At the I/O refresh by the PC, outputs (PC to Unit) and inputs (Unit to PC) are executed in order with every scan.
IR n to IR n +2
OUT refresh
IR n + 3
IN refresh
(n = 100 + 10 x unit number)
The OUT and IN refreshes are as seen from the PC.
Note The unit number that is set for an Analog Input Unit must not be used for any other Special I/O Unit. If overlapping numbers are set, an I/O UNIT OVER error will be generated and operation will be stopped. DM Allocations
SYSMAC C200HS/C200H/C200HX/HG/HE PC
(Fixed data area)
(DM area) Unit #0
DM 1000 to 1004
Unit #1
DM 1100 to 1104
Unit #2
DM 1200 to 1204
Unit #3
DM 1300 to 1304
Unit #4
DM 1400 to 1404
Unit #5
DM 1500 to 1504
Unit #6
DM 1600 to 1604
Unit #7
DM 1700 to 1704
Unit #8
DM 1800 to 1804
Unit #9
DM 1900 to 1904
C200H-AD001 Analog Input Unit
Automatically transferred to each unit number at power up or when Special I/O Restart Flag is turned ON.
DM m
Output lower limit
DM (m + 1)
Output upper limit
DM (m + 2) Alarm lower limit DM (m + 3) Alarm upper limit DM (m + 4) Alarm dead band
(m = 1000 + 100 x unit number)
(For more information regarding DM address allocation, refer to the DM Address Allocation Chart at the end of this section.)
36
Page 44
Bit and DM Allocations
Section 3-2
IR Allocations I/O
Wd (IR)
OUT n n+1 n+2
IN
Bit 15 14 13 12 11 10 09 08 07 06 05 04 03 Output 1 setting data (0000 to 0FFF); (Becomes duty ratio data for pulse output.) Output 2 setting data (0000 to 0FFF); (Becomes duty ratio data for pulse output.) 0 0 0 0 OP O2L O1L O2A O1A 0 n+3
0
0
0
0 n+4 to n+9
02
01
Output 2 limit detected
Output 1 limit detected
Output 2 alarm
Pulse cycle 100: 20 s 011: 10 s 010: 5 s 001: 2 s 000: 1 s Output 1 alarm
UL
UL
UL
UL
LL
LL
LL
00
SE
LL
Not used.
Note The following abbreviations are used in this table. OP: output prohibited; O2L: output 2 limit; O1L: output 1 limit; UL: upper limit; LL: lower limit; SE: setting error. IR Area Contents (Outputs) Address
Item
Contents
Word (IR)
Bit n
15 to 00
Output 1 setting data
Sets output 1 data in binary. This becomes duty ratio data when pulse outputs are set. The range is 0000 to 0FFF.
n+1
15 to 00
Output 2 setting data
Sets output 2 data in binary. This becomes duty ratio data when pulse outputs are set. The range is 0000 to 0FFF.
n+2
15 to 09 08 07 06 05 04 03 02 to 00
––– Output prohibited Output 2 limit Output 1 limit Output 2 alarm Output 1 alarm ––– Pulse cycle
Not used. Set all bits to “0.” Turn ON to prohibit outputs. This bit is used for outputs 1 and 2. Turn ON to execute output 2 limit. Turn ON to execute output 1 limit. Turn ON to execute output 2 alarm. Turn ON to execute output 1 alarm. Not used. Turn OFF (i.e., set to “0”). Sets the pulse period. Pulse period
1s
2s
5s
10 s
20 s
02
0
0
0
0
1
01
0
0
1
1
0
00
0
1
0
1
0
Bit
37