Omron C200H Operation Manual

Omron C200H Operation Manual

Analog i/o units
Hide thumbs Also See for C200H:

Advertisement

C200H-AD002/DA002
Analog I/O Units
Operation Guide
Revised July 2000

Advertisement

Table of Contents
loading

Summary of Contents for Omron C200H

  • Page 1 C200H-AD002/DA002 Analog I/O Units Operation Guide Revised July 2000...
  • Page 3 OMRON. No patent liability is assumed with respect to the use of the information contained herein. Moreover, because OMRON is constantly striving to improve its high-quality products, the information contained in this manual is subject to change without notice.
  • Page 5: Table Of Contents

    SECTION 2 C200H-AD002 Analog Input Unit ....Before Operation ............
  • Page 6 C200H or C200HS PC. The C200H-AD002 can convert up to eight analog inputs into digital form. The operator can select from four input ranges: 1 to 5 V, 0 to 10 V, –10 to 10 V, and 4 to 20 mA. Useful functions, such as scaling, mean value, peak value, and square root, are built-in.
  • Page 7 PRECAUTIONS This section provides general precautions for using the Programmable Controller (PC) and Analog I/O Units. The information contained in this section is important for the safe and reliable application of the Analog I/O Units. You must read this section and understand the information contained before attempting to set up or operate a PC system and Analog I/O Units.
  • Page 8: Intended Audience

    It is extremely important that a PC and all PC Units be used for the specified purpose and under the specified conditions, especially in applications that can directly or indirectly affect human life. You must consult with your OMRON representative before applying a PC System to the above-mentioned applications.
  • Page 9: Operating Environment Precautions

    Application Precautions Operating Environment Precautions Caution Do not operate the control system in the following places: • Locations subject to direct sunlight. • Locations subject to temperatures or humidity outside the range specified in the specifications. • Locations subject to condensation as the result of severe changes in tempera- ture.
  • Page 10 Application Precautions • Interlock circuits, limit circuits, and similar safety measures in external circuits (i.e., not in the Programmable Controller) must be provided by the customer. • Always use the power supply voltage specified in this manual. An incorrect voltage may result in malfunction or burning. •...
  • Page 11: System Design

    SECTION 1 System Design This section describes the basic uses of Analog I/O Units in a control system and illustrates the type of applications in which they might be found. Introduction ............. Safety Precautions .
  • Page 12: Introduction

    Section 1-2 Introduction The C200H-AD002 Analog Input Unit is used to convert the output of analog field devices, usually sensors, to a digital form that the PC can read. The C200H-DA002 Analog Output Unit converts the digital output of the PC to ana- log signals which drive analog field devices.
  • Page 13: Basic Configuration

    For example, a preamplifier may amplify the output of a pres- sure gauge to the level required for the Analog Input Unit and a regulator may interface a heating system to control temperature. C200H-AD002 C200H-DA002 Analog Input Unit...
  • Page 14: Example Configurations

    Below are two examples of how Analog I/O Units can be used in control systems. The first diagram shows a temperature regulating system and the second shows a servomotor positioning system. C200H-AD002 Analog Input Unit C200H-DA002 Analog Output Unit Transducer SYSMAC C200HS, C200H, C200HX/HG/HE Temperature sensing element Valve controller Fuel Sensor Encoder Ç...
  • Page 15: System Considerations

    For details regarding data area allocations, refer to 2-2 and 3-2 IR and DM Bit Allocations . With the C200H, do not mount an Analog I/O Unit in the two slots adjacent to the CPU. Doing so would prevent peripheral devices such as the Programming Console from being connected.
  • Page 16 System Considerations Section 1-5 To reduce the risk of malfunctioning due to electrical noise, wire input and output lines in separate ducts from high-voltage and power lines. For further wiring precautions, refer to the respective sections on wiring for Ana- log Input Units and Analog Output Units.
  • Page 17: C200H-Ad002 Analog Input Unit

    C200H-AD002 Analog Input Unit This section provides the information required to install and operate a C200H-AD002 Analog Input Unit. Before Operation ............
  • Page 18: Before Operation

    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 The following table briefly outlines the basic functions of the C200H-AD002. These functions are covered in more detail in 2-3 Functions and Programming . Function...
  • Page 19 (AR0100 to AR0109) is turned ON and then OFF again. 4. The unit number can be set to between A and F Hex (10 to 15 decimal) only when a C200H-AD002 with a lot number jj16 or later (January 1996 or later) is used with a C200HG-CPU53/CPU63 or C200HX-CPU54/CPU64 CPU Unit.
  • Page 20 Section 2-1 Before Operation Pin Allocation Name Name Name Common (–) Input 7 --- Common (–) Input 8 Current input (+) Current input (+) Voltage/Current input (+) Analog ground (AG) Voltage/Current input (+) Common (–) Input 5 21 Shield Common (–) Input 6 Current input (+) Shield...
  • Page 21 Section 2-1 Before Operation Input Wiring Diagram Voltage input C200H-AD002 1 MΩ 1 MΩ Shield 10 kΩ Current input 1 MΩ 250 Ω 1 MΩ Shield 10 kΩ and V/I : Voltage/current input (+) : Current input (+) : Common (–)
  • Page 22 Section 2-1 Before Operation Wiring Methods Use the connectors provided with the Unit to wire input lines. (Connec- tor: MR-34FG; Cover: MR-34L; both manufactured by Honda Communications; Connector/Cover Set: MR-34LFG). Be sure to tighten the lock screws whenever attaching the connector to the Unit. Use wires with a diameter of 0.3 mm maximum.
  • Page 23 Section 2-1 Before Operation Input Wiring When wiring inputs, apply the following points to avoid noise interference and Considerations optimize Analog Input Unit performance. • Use shielded twisted-pair cable for external connections and power lines. • Route input 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.
  • Page 24: Bit And Dm Area Allocations

    UNIT OVER error will be generated and operation will be stopped. 2. The unit number can be set to between A and F Hex (10 to 15 decimal) only when a C200H-AD002 with a lot number jj16 or later (January 1996 or later) is used with a C200HG-CPU53/CPU63 or C200HX-CPU54/CPU64...
  • Page 25 Note The unit number can be set to between A and F Hex (10 to 15 decimal) only when a C200H-AD002 with a lot number jj16 or later (January 1996 or later) is used with a C200HG-CPU53/CPU63 or C200HX-CPU54/CPU64 CPU Unit.
  • Page 26 Bit and DM Area Allocations Section 2-2 Note When the input range is set to –10 V to +10 V, the 15 bit indicates the sign. A bit status of 0 indicates “+” and a bit status of 1 indicates “–.” There is no sign bit when the scaling or square root function is being executed.
  • Page 27 Bit and DM Area Allocations Section 2-2 word word Input 1 scaling: lower-limit value Input 1 scaling: upper-limit value Input 2 scaling: lower-limit value Input 2 scaling: upper-limit value Input 3 scaling: lower-limit value Input 3 scaling: upper-limit value m+10 Input 4 scaling: lower-limit value m+11 Input 4 scaling: upper-limit value...
  • Page 28 Bit and DM Area Allocations Section 2-2 DM Contents DM word(s) Bits Item Data contents 15 to 10 Not used. Limit warning mode Sets the operating mode for the limit warning function. This setting applies to all 8 inputs. 0: Mode 1 (normal warning) 1: Mode 2 (sequence warning) Refer to 2-3-8 Limit Warning Function for more details.
  • Page 29: Functions And Programming

    Be sure to perform one or the other of these steps whenever new data has been set or data has been changed. • Turning ON → OFF → ON the power to the C200H, C200HS, C200HX/HG/HE CPU.
  • Page 30 Functions and Programming Section 2-3 Setting Method The conversion prohibit setting is made in bits 00 to 07 of DM word m. Set the corresponding bit to “1” to prohibit conversion for that input. Bit 07 0: Conversion enabled DM m 1: Conversion disabled Sampling Period The “sampling period”...
  • Page 31 Functions and Programming Section 2-3 Inputs Input signal range Bit settings Inputs 1 to 4 +1 to +5 V Inputs 5 and 6 –10 to +10 V Inputs 7 and 8 0 to +10 V Bit 15 DM (m + 1) Set DM word m+1 to “50AA”...
  • Page 32 Functions and Programming Section 2-3 BCD Data Conversion 0 to +10 V –10 to +10 V +1 to +5 V/+4 to +20 mA –10 V +10 V +10 V Input signal +1 V +5 V +4 mA +20 mA Input signal Sign bit (15 bit) Note...
  • Page 33 Functions and Programming Section 2-3 2-3-5 Scaling Function The scaling function converts the digital output values to the scale defined by the specified lower-limit and upper-limit values, then outputs the scaled data. The lower-limit value is the digital output value corresponding to the minimum input value.
  • Page 34 Functions and Programming Section 2-3 Note 1. The resolution is fixed at 1/4000 if the (upper limit – lower limit) term is great- er than 4000. 2. The resolution will be lower if the (upper limit – lower limit) term is less than 4000.
  • Page 35 Functions and Programming Section 2-3 For example, the scaled data for –2 V is calculated as follows: (* 2) * (* 10) BCD conversion value for * 2 V + 4000 + 4000 + 1600 10 * (* 10) 7000 * 1000 * 2 V scaled data + 1600 ) 1000 + 3400 4000...
  • Page 36 Functions and Programming Section 2-3 2-3-7 Peak Value Function Function The peak value function holds the maximum output value for every input. This function can be used in combination with the scaling, mean value, and square root functions. These functions are performed in the following order: A/D conversion →...
  • Page 37 Functions and Programming Section 2-3 1, 2, 3... 1. The limit warning mode is set with bit 09 of DM word m. This mode setting applies to all 8 inputs. Bit 15 É É DM (m) 0: Mode 1 (normal warning) 1: Mode 2 (sequence warning) Mode 1 The output values are compared to the upper/lower limits from startup.
  • Page 38 Functions and Programming Section 2-3 DM word Data m+33 Input 3 upper-limit value m+34 Input 4 lower-limit value m+35 Input 4 upper-limit value m+36 Input 5 lower-limit value m+37 Input 5 upper-limit value m+38 Input 6 lower-limit value m+39 Input 6 upper-limit value m+40 Input 7 lower-limit value m+41...
  • Page 39 Functions and Programming Section 2-3 Mean Value Processing and The following diagram shows how a disconnection detection affects the results Disconnection Detection (output data) produced by the mean value function.  (n+1) time time time Mean value É É É É...
  • Page 40: Data Setting And Programming Examples

    Data Setting and Programming Examples Section 2-4 Data Setting and Programming Examples 2-4-1 Data Settings The following settings are used in this example. Basic Settings Item Setting Unit number 0 (allocated words: IR 100 to IR 109 and DM 1000 to DM 1043) Inputs used Inputs 1 to 5 (The conversion prohibit bits for inputs 6 to 8 are turned ON.) conversion...
  • Page 41 Data Setting and Programming Examples Section 2-4 2-4-2 Programming Reading Output Data The converted data (or the results of calculations performed on it) can be read from the output words IR n+1 to IR n+8 and moved to other words in memory using MOV(21) and/or XFER(70).
  • Page 42: Troubleshooting

    Troubleshooting Section 2-5 Troubleshooting Error Detection When an error occurs in an input or in the Unit itself, the error is indicated by an output to a flag in the IR, SR, or AR area. The following tables show the various errors that may occur, along with their probable causes and remedies.
  • Page 43 Troubleshooting Section 2-5 Special I/O Unit Error Flags (AR) Item Function AR 0000 Unit #0 Error Flag When one of the CPU errors described above occurs, the AR bit turns ON for the Unit where the h AR bi ON f h U i AR 0001 Unit #1 Error Flag...
  • Page 44: C200H-Da002 Analog Output Units

    C200H-DA002 Analog Output Units This section provides the information required to install and operate a C200H-DA002 Analog Output Unit. Before Operation ............
  • Page 45: Before Operation

    Section 3-1 Before Operation Before Operation 3-1-1 Nomenclature and Functions Model label Display Unit number panel setting switch External output terminal block connectors Backplane connector Indicators Indicator Color Function Green Lit when the Analog Input Unit is operating correctly. If operation is not normal, this indicator turns OFF and Unit operation is stopped.
  • Page 46 The following diagram shows the basic internal configuration of the Analog Out- put Unit. Switch Voltage output – Outputs 1 to 4 Photocoup- D/A con- I/O bus verter Current C200H ROM/ output – Analog DC/DC power converter supply 3-1-2 Switch Settings Unit Number Unit number setting switch The switch notch points to the unit number.
  • Page 47 (AR0100 to AR0109) is turned OFF → ON → OFF. 4. The unit number can be set to between A and F Hex (10 to 15 decimal) only when a C200H-DA002 with a lot number jj16 or later (January 1996 or later) is used with a C200HG-CPU53/CPU63 or C200HX-CPU54/CPU64 CPU Unit.
  • Page 48 Section 3-1 Before Operation Output Wiring The following diagram shows the external wiring of outputs for the C200H-DA002. C200H-DA002 Load Voltage output 1 – Output 1 Current output 1 – Voltage output 2 – Output 2 Current output 2 –...
  • Page 49 Section 3-1 Before Operation Output Wiring When wiring outputs, apply the following points to avoid noise interference and Considerations optimize Analog Output Unit performance. • 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.
  • Page 50: Bit And Dm Allocations

    OVER error will be generated and operation will be stopped. 2. The unit number can be set to between A and F Hex (10 to 15 decimal) only when a C200H-AD002 with a lot number jj16 or later (January 1996 or later) is used with a C200HG-CPU53/CPU63 or C200HX-CPU54/CPU64 CPU Unit.
  • Page 51 Troubleshooting Section 3-3 Note When the –10 to +10 V range is being used, the 15 bit serves as the sign bit. A value of 0 indicates “+” and a value of 1 indicates “–.” 3-2-1 Programming Use the MOV(21) instruction to write output data (binary data) from the CPU to the Analog Output Unit.
  • Page 52 Troubleshooting Section 3-3 CPU error Probable causes and operations Possible remedies • The Special I/O Unit is defective. • Replace the defective Special I/O Unit. CPU waiting • The PC hasn’t begun to run. • The defective Unit should appear as $ signs only in the I/O table read opera- tion.
  • Page 53 Troubleshooting Section 3-3 Special I/O Unit Restart Bits (AR) Turn OFF → ON → OFF the Special I/O Unit Restart Bits in the following circumstances: • After DM data has been set or replaced. • To restart Unit operation after clearing an error. The same effect can be achieved by turning ON →...
  • Page 54 Appendix A Standard Models Analog Input Unit Model C200H, C200HS, C200HX/HG/HE C200H-AD002 Analog Output Unit Model C200H, C200HS, C200HX/HG/HE C200H-DA002...
  • Page 55 Appendix B Specifications C200H-AD002 Analog Input Unit General Specifications All general specifications of the C200H-AD002 Analog Input Unit conform to those of the C Series. Performance Specifications Item Specifications Number of analog inputs 8 max. Input signal range (note 1) Voltage input –10 to +10 V...
  • Page 56 Appendix B Specifications Input Specifications Converted output data (Top: Binary Parentheses: BCD) 0FA0 (4000) 0 to 10 V 1 to 5 V/4 to 20 mA –10 to +10 V 07D0 (2000) 0000 (8001) (–0001) 87D0 (A000) (–2000) 8FA0 10 V –5 V 0 V 1 V 10 V...
  • Page 57 Appendix B Specifications C200H-DA002 Analog Output Unit All general specifications of the C200H-DA002 Analog Output Unit conform to those of the C Series. Item Specifications Number of analog outputs Output signal range Voltage outputs –10 to +10 V Current outputs 4 to 20 mA Voltage output: 0.5 Ω...
  • Page 58 Appendix B Specifications Output Specifications Output signal +10 V (+20 mA) –10 to +10 V +4 to +20 mA (+4 mA) –10 V Digital input data (Top: Binary Parentheses: BCD) Sign bit (15 bit) Note 1. If a digital signal is input that exceeds the output signal range (max. value of +10 V or +20 mA, or min. value of –10 V or +4 mA), the analog output will remain fixed at its maximum or minimum value.
  • Page 59 Appendix B Specifications External Dimensions Unit: mm C200H-AD002 Analog Input Unit C200H-DA002 Analog Output Unit...
  • Page 60 Appendix B Specifications Installation Dimensions (Unit: mm) C200H-AD002 Analog Input Unit Connecting cable Approx. 200...
  • Page 61 Appendix C Data Memory Coding Sheet C200H-AD002 Analog Input Unit Data Settings C200H-AD002 Unit number: Item Input 8 Input 7 Input 6 Input 5 Input 4 Input 3 Input 2 Input 1 Conversion prohibit setting A/D conversion data Binary or BCD...
  • Page 62 Appendix C Data Memory Coding Sheet Data Memory Coding Sheet C200H-AD002 Unit number: DM1_00 to DM1_43 DM address Data Usage (rightmost digits) Bit 09: Limit warning mode Conversion prohibit setting (Mode 2 = 1) (prohibit = 1) Bit 08: Data type setting (BCD = 1) Input signal range (00 specifies –10 to +10 V, 01 specifies 0 to...
  • Page 63 Appendix C Data Memory Coding Sheet C200H-AD002 Unit number: DM1_00 to DM1_43 DM address Data Usage (rightmost digits) Input 8 mean value processing: number of samples Input 1 limit warning: lower-limit value Input 1 limit warning: upper-limit value Input 2 limit warning: lower-limit value...
  • Page 64 C200H-AD002, data type setting, C200H-DA002, protective seal, dimensions external, installation, disconnection detection, DM area allocation, C200H-AD002, , scaling function, DM area contents, C200H-AD002, Slave Racks, specifications, square root function, switches C200H-AD002, error detection C200H-DA002,...
  • Page 65 Date Revised content June 1993 Original production January 1994 Pages ix, 2, 3, 26, and 31: Information added to reflect that the C200H-AD002 can also be used with the C200HS. October 1995 Completely revised. July 2000 Pages 3, 4, 5, 9, 13, 14, 15, 18, 32, 35,, 39, 41, and 43: Information added to reflect that the C200H-AD002 and C200H-DA002 can also be used with the C200HX/HG/HE.

This manual is also suitable for:

Ad002Da002

Table of Contents