Omron SYSMAC C Series Operation Manual

Omron SYSMAC C Series Operation Manual

Analog i/o units
Hide thumbs Also See for SYSMAC C Series:
Table of Contents

Advertisement

Cat. No. W258-E1-05
SYSMAC C-series/CVM1/CV-series
Analog I/O Units

Advertisement

Table of Contents
loading

Summary of Contents for Omron SYSMAC C Series

  • Page 1 Cat. No. W258-E1-05 SYSMAC C-series/CVM1/CV-series Analog I/O Units...
  • Page 2 SYSMAC C-series/CVM1/CV-series Analog I/O Units Operation Manual Revised August 2007...
  • Page 4 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 6: Table Of Contents

    TABLE OF CONTENTS PRECAUTIONS ....... . . 1 Intended Audience .
  • Page 7 TABLE OF CONTENTS SECTION 8 C500-DA103 Analog Output Unit ....Specifications and General Information ........IR/CIO Bit Allocations .
  • Page 8 About this Manual: This manual describes the installation and operation of the C-series/CVM1/CV-series Analog I/O Units and includes the sections described below. Please read this manual carefully and be sure you understand the information provided before attempting to install and operate the Analog I/O Units. Section 1 provides a general introduction on the Analog I/O Units.
  • Page 9 Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á In no event shall the responsibility of OMRON for any act exceed the individual price of the product on Á...
  • Page 10 Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á OMRON shall not be responsible for conformity with any standards, codes, or regulations that apply to Á...
  • Page 11 Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á Á does not constitute a warranty. It may represent the result of OMRON’s test conditions, and the users Á...
  • Page 13 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 14: 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 15: 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 16 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 17: Conformance To Ec Directives

    EMC-related performance of the OMRON devices that conform to EC Directives will vary depending on the configuration, wiring, and other conditions of the equipment or control panel on which the OMRON devices are installed. The cus- tomer must, therefore, perform the final check to confirm that devices and the overall machine conform to EMC standards.
  • Page 18: Features And Basic Configuration

    SECTION 1 Features and Basic Configuration This section provides a general introduction on the Analog I/O Units. Features ..............1-1-1 Analog Input Units .
  • Page 19: Features

    Features Section 1-1 Features 1-1-1 Analog Input Units This operation manual describes the features of the following Analog Input Units. • 3G2A5-AD001 to 3G2A5-AD007 • C500-AD101 • C500-AD501 Basic Function Analog quantities, such as temperature, pressure, power, and power factor, in- put to an Analog Input Unit via a preamplifier or transducer are converted to digi- tal values for input to the CPU Unit.
  • Page 20 Features Section 1-1 C500-AD501 This Analog Input Unit converts analog voltage or current signals from sensors to signed BCD data or to binary data (with two’s complements used for negative values). A microprocessor is built into the C500-AD501 to enable advanced data processing in the Analog Input Unit before transferring the data to the CPU Unit.
  • Page 21 Features Section 1-1 Output Specifications The Units are compatible with a variety of output specifications. Select the ap- propriate Unit from the table below. Output signal range Unit Voltage 1 to 5 V 3G2A5-DA001 0 to 10 V 3G2A5-DA002 0 to 5 V 3G2A5-DA003 –10 to 10 V 3G2A5-DA004...
  • Page 22: Basic Configuration

    Basic Configuration Section 1-2 Basic Configuration 3G2A5-AD001 to 3G2A5-AD007 3G2A5-DA001 to 3G2A5-DA005 or C500-AD101/501 Analog Input or C500-DA101/103/501 Analog Unit Output Unit SYSMAC C500 C1000H C2000H CVM1 CV500/CV1000/CV2000 Regulator (Temperature control) Sensor Temperature Pressure Preamp Speed Servomotor controller Flow rate (Position control) Voltage Inverter...
  • Page 23 Basic Configuration Section 1-2 Servomotor Positioning System Sensor Encoder Ç Ç Ç Ç Ç Ç Ç Ç Ç Ç Ç Servo Ç Ç Ç controller Servo motor Platform Locating pulse C500-DA101 Analog Output Unit C500-CT012 C500-AD501 High-speed Counter Unit Analog Input Unit The diagram above shows the C500-AD501 and C500-DA101 as examples of Analog I/O Units.
  • Page 24: 3G2A5-Ad001 To 3G2A5-Ad005 Analog Input Units

    SECTION 2 3G2A5-AD001 to 3G2A5-AD005 Analog Input Units This section provides information on 3G2A5-AD001 to 3G2A5-AD005 Analog Input Units including the specifications, connections, IR/CIO bit allocations, and applications. Specifications and General Information ........2-1-1 Specifications .
  • Page 25: Specifications And General Information

    Specifications and General Information Section 2-1 Specifications and General Information 2-1-1 Specifications General Specifications All general specifications of the 3G2A5-AD001 through 3G2A5-AD005 Analog Input Units conform to those of the C Series, except the following. • Insulation between the External Terminals and the Frame: 5MΩ...
  • Page 26: Description Of Parts

    Specifications and General Information Section 2-1 PC Write Delay Analog input signal Time Conversion A filter inside the Unit causes cycle the digital signal to increase in a stepwise fashion. Digital output signal 0000 Time PC write delay 2-1-2 Description of Parts 3G2A5-AD001 to 3G2A5-AD005 Model label 17-pin terminal block...
  • Page 27: Block Diagram

    Specifications and General Information Section 2-1 2-1-3 Block Diagram The following diagram shows the basic internal connections of the Unit. Discon- nection detector Isolation +Voltage input +Current input Memory Input point 1 –Input Shield Range selector Photo- Multi- converter coupler inter- +Voltage plexer...
  • Page 28: Wiring

    Specifications and General Information Section 2-1 2-1-4 Wiring Voltage Inputs 1, 2, 3... 1. Common Mode Input Signals Input device +Voltage input Input point 1 –Input Shield +Voltage input Input point 2 –Input Shield Shielded twisted-pair cable 2. Differential Output Signals Separate power supplies for input points 1 and 2 are used.
  • Page 29 Specifications and General Information Section 2-1 Precautions Abide by the following precautions when using separate power supplies for the input points. 1, 2, 3... 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.
  • Page 30: Ir/Cio Bit Allocations

    IR/CIO Bit Allocations Section 2-2 Current Input Connect as shown below when the same power supply is used for input points 1 and 2. Connect resistors from the shield to the negative terminal. This connection re- sults in an accuracy of ±1%. Input device R: 25 kΩ...
  • Page 31: Functions And User Programming

    Functions and User Programming Section 2-3 2. The disconnection detection bit operates for input signal specifications 1 to 5 V, 4 to 20 mA ranges (3G2A5-AD001) only. Disconnection OFF: Normal Detection Level 1 to 5 V Range: Detected at 0.5 V 4 to 20 mA Range: Detected at 2 mA Always OFF in other ranges.
  • Page 32: Ladder Programming Example

    Functions and User Programming Section 2-3 Relationship Between Input Signals and A/D Conversion Data Decimal equivalent of binary code Analog input –10 V 10 V (–5 V) (5 V) Sign bit, bit 11 2-3-2 Ladder Programming Example The following example program uses a 1 to 5 V input-range Analog Input Unit to convert two different analog input signals to 4-digit BCD values (4,095 maxi- mum) and outputs the result.
  • Page 33 Functions and User Programming Section 2-3 Programming Example for the C1000H Always ON Flag 25313 ANDW(34) For input point 1 (*1) Reads the converted #0FFF data from IR 001 and DM 0000 stores it in DM 0000. Converts the content of BCD(24) DM 0000 to BCD and DM 0000...
  • Page 34: 3G2A5-Ad006 And 3G2A5-Ad007 Analog Input Units

    SECTION 3 3G2A5-AD006 and 3G2A5-AD007 Analog Input Units This section provides information on 3G2A5-AD006 and 3G2A5-AD007 Analog Input Units including the specifications, connections, IR/CIO bit allocations, and applications. Specifications and General Information ........3-1-1 Specifications .
  • Page 35: Specifications And General Information

    Specifications and General Information Section 3-1 Specifications and General Information 3-1-1 Specifications General Specifications All general specifications of the 3G2A5-AD006 and 3G2A5-AD007 Analog Input Units conform to those of the C Series, except the following. • Insulation between the External Terminals and the Frame: 5MΩ...
  • Page 36: Description Of Parts

    Specifications and General Information Section 3-1 3-1-2 Description of Parts 3G2A5-AD006/007 Model label 17-pin terminal block Refer to 3-1-4 Wiring for details of wiring connections.
  • Page 37: Block Diagram

    Specifications and General Information Section 3-1 3-1-3 Block Diagram The following diagram shows the basic internal connections of the Unit. Range selector Isolation +Voltage input +Current input Memory Input point 1 –Input Shield +Voltage input Photo- Multi- coupler converter +Current inter- plexer input...
  • Page 38: Wiring

    Specifications and General Information Section 3-1 3-1-4 Wiring Voltage Inputs Input device +Voltage input Input point 1 –Input Shield +Voltage input Input point 2 –Input Shield +Voltage input Input point 3 –Input Shield +Voltage input Input point 4 –Input Shield Shielded twisted-pair cable...
  • Page 39 Specifications and General Information Section 3-1 The following diagram shows the wiring when the same power supply is used for input points 1 through 4. Input device R: 25 kW +Voltage input +Current input Input point 1 – Input – Shield +Voltage input +Current input...
  • Page 40 Functions and User Programs Section 3-3 IR/CIO Bit Allocations The IR/CIO bit allocations are shown below. Each Unit is allocated four words. Input words IR/CIO n: Point 1 IR/CIO n+1: Point 2 IR/CIO n+2: Point 3 IR/CIO n+3: Point 4 A/D converted data 2 A/D converted data 2 A/D converted data 2...
  • Page 41 Functions and User Programs Section 3-3 3-3-2 Ladder Programming Example The following example program converts four different analog input signals to 4-digit BCD values (1023 maximum) and outputs the result. Connections IR 001 IR 002 IR 003 IR 004 IR 005 IR 006 IR 007 IR 008...
  • Page 42 Functions and User Programs Section 3-3 Program Example Using C1000H Always ON Flag 25313 ANDW(34) For input point 1 Reads the converted #03FF data from IR 001 and DM 0000 stores it in DM 0000. Converts the content of BCD(24) DM 0000 to BCD and DM 0000 outputs it to IR 005.
  • Page 43 SECTION 4 C500-AD101 Analog Input Unit This section provides information on the C500-AD101 Analog Input Unit including the specifications, connections, IR/CIO bit allocations, and applications for both two-word and four-word operation. Specifications and General Information ........4-1-1 Specifications .
  • Page 44: Specifications And General Information

    Specifications and General Information Section 4-1 Specifications and General Information 4-1-1 Specifications General Specifications All general specifications of the C500-AD101 Analog Input Unit conform to those of the C Series. Performance Specifications Item Specification Number of analog inputs Input signal range (see note 1) Voltage input Settable in the range 0 to 10 V Current input...
  • Page 45: Description Of Parts

    Specifications and General Information Section 4-1 4-1-2 Description of Parts Front Rear Model label Cover Four-word operation 30-pin ter- Operating mode minal block setting switch Two-word operation Under the Cover SW1: DIP switch to select input points SW2: Toggle switch to read input range...
  • Page 46: Block Diagram

    Specifications and General Information Section 4-1 4-1-3 Block Diagram The following diagram shows the basic internal connections of the Unit. +Voltage/current input É É É Input –Current input point 1 É É É Memory Tim- –Voltage/current input É É É Shield +Voltage/current input...
  • Page 47: Functions, Settings And Wiring

    Functions, Settings and Wiring Section 4-2 Functions, Settings and Wiring 4-2-1 Operational Flow Start Set operating mode Set the C500-AD101 operating mode to two- or four-word operation according to the model of the CPU Unit and C500-AD101 mounting position. Refer to 4-2-3 Word Operation Mode. Mount the Unit.
  • Page 48: Functions

    Functions, Settings and Wiring Section 4-2 4-2-2 Functions A/D Conversion The relationships between the input analog values and the converted binary val- ues are shown below. Binary values are given with their hexadecimal equiva- lents. Voltage Inputs Current Inputs Gain (see note 2) Gain (see note 2) 0FFF 0FFF...
  • Page 49: Word Operating Mode

    Functions, Settings and Wiring Section 4-2 Scaling The C500-AD101 normally outputs hexadecimal values in the range 000 . However, scaling can be used to convert the outputs into 4-digit BCD data. The offset and gain are set individually to convert the outputs to the BCD data required.
  • Page 50: Setting The Input Ranges

    Functions, Settings and Wiring Section 4-2 Setting the Switch Set this switch before mounting the C500-AD101. This switch setting is read when the PC’s power supply is turned ON. Four-word operation Two-word operation Back of Unit 4-2-4 Setting the Input Ranges The procedure for setting the type and range of the input signals at each input point is described below.
  • Page 51 Functions, Settings and Wiring Section 4-2 4. Follow the setting procedure described below to set the input range for each input point. Removing the Cover Under the Cover Attaching the Cover Place your thumb at the bottom Hold the cover between your thumb left edge of the cover and push and middle finger, position the lower it to the right.
  • Page 52: Wiring

    Functions, Settings and Wiring Section 4-2 7. Repeat the previous steps to set the offset and gain for input points 2 through 8. 8. Replace the cover at the front of the Unit when the settings are complete. Caution Turn ON only one DIP switch pin. Do not turn ON two pins at the same time. 4-2-5 Wiring Terminal Connections Point 1...
  • Page 53: Two-Word Operation

    Two-word Operation Section 4-3 Current Input C500-AD101 +Voltage/Current input µPC251 Sensor To A/D section – Current input –Voltage/ Current input Shield (analog 0 V) Input impedance 250 Ω Note 1. When using current input, short the negative voltage/current input terminal to the negative current input terminal.
  • Page 54 Two-word Operation Section 4-3 The I/O READ instruction, READ, is executed when the instruction execution conditions are ON, the A/D Busy Flag (IR/CIO n+1, Bit 00) is OFF, and A/D Write Completed Flag (IR/CIO n+1, Bit 01) is ON. A NOP (No Operation) results if the A/D Busy Flag is ON or the A/D Write Com- pleted Flag is OFF.
  • Page 55: Ir/Cio Bit Allocations

    Two-word Operation Section 4-3 5. Up to four SYSMAC BUS/2 Remote I/O Master Units can be mounted to the CV1000 or CV2000. In this case, therefore, up to eight READ and WRIT in- structions can be executed simultaneously. 6. Up to 255 words can be transferred using a READ or WRIT instruction. 4-3-2 IR/CIO Bit Allocations Allocations Words...
  • Page 56: Dm Allocations

    Two-word Operation Section 4-3 4-3-3 DM Allocations Data Writing Area The I/O WRITE Instruction (WRIT) is used to transfer a maximum of 26 words of data to the Analog Input Unit. The following applies if mean value and scaling are not used together. All Input Points Used: No setting of WRIT data required.
  • Page 57 Two-word Operation Section 4-3 Data Reading Area The I/O READ instruction (READ) is used to transfer a maximum of 9 words of data from the Analog Input Unit. Point DM word DM l Input point 1 converted data DM l+1 Input point 2 converted data DM l+2 Input point 3 converted data...
  • Page 58 Two-word Operation Section 4-3 Scaling If scaling is to be used for an input point, turn ON the corresponding bit. If scaling is not to be used, turn OFF the corresponding bit. DM m+1 Input point 1 Input point 8 Scaling Data Enter the offset and gain for each point for which the scaling function has been designated.
  • Page 59 Two-word Operation Section 4-3 4-3-4 Programming Examples Example programs are shown below for data transfer between the C500-AD101 Analog Input Unit and the C1000H. Refer to page 48 for information on using these programs with the CVM1 and CV Series. Settings Used in the Programming Examples Input Points All input points from 1 to 8 are used.
  • Page 60 Two-word Operation Section 4-3 Contents of DM 0001 DM 0001 C 0 0 0 Upper 8 bits Set to 00 (not used) Scaling specification 1 1 0 0 0 0 0 0 Specify points 7 and 8 Note The data writing area extends to 26 words maximum. If some points are not used for mean value or scaling, as shown above, the area will be smaller.
  • Page 61 Two-word Operation Section 4-3 Ladder Programming Example Using C1000H First Scan Flag 25315 Specifies the points to MOV(21) be used and mean val- #F0FF ue settings. DM0000 MOV(21) Specifies scaling set- #C000 tings. DM0001 MOV(21) Input point 5 (5 samples) #0005 DM0002 Input point 6...
  • Page 62 Two-word Operation Section 4-3 (From previous page.) 07000 00103 READ(88) A/D converted data and the Disconnec- tion Detect Flags from points 1 through 8 #0009 are read in and stored in DM 0100 through DM 0108. IR 00103 (the Uncon- firmed Data Flag) stops unconfirmed data DM0100 (EQ)
  • Page 63 Two-word Operation Section 4-3 (From previous page.) 07103 00011 07104 00012 07105 00013 07106 00014 07107 00015 07108 00007 00008 00108 MOV(21) DM0100 DM0200 00009 00109 MOV(21) DM0101 DM0201 00010 00110 MOV(21) DM0102 DM0202 00011 00111 MOV(21) DM0103 DM0203 00012 00112 MOV(21) DM0104...
  • Page 64 Two-word Operation Section 4-3 IR 00108 through IR 00115 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 0200 through DM 0207.
  • Page 65 Two-word Operation Section 4-3 (1 cycle ON) A500 (030) #F0FF D00000 (030) #C000 D00001 (030) #0005 D00002 (030) #0010 D00003 (030) #0020 D00004 (030) #0050 D00005 (030) #0000 D00006 (030) #3000 D00007 (030) #1000 D00008 (030) #5000 D00009 0100 0001 (191) WRIT #0010...
  • Page 66: Four-Word Operation

    Four-word Operation Section 4-4 Four-word Operation 4-4-1 Communications with CPU Unit The MOV instruction is used for data transfer between the C500-AD101 and the CPU Unit in four-word operation mode. Special instruction MOV instruction Analysis of spe- IR/CIO n Write data cial instruction Shared and data trans-...
  • Page 67 Four-word Operation Section 4-4 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 OFF the A/D Conversion Bit. When not using peak hold, turn ON this bit.
  • Page 68 Four-word Operation Section 4-4 DM Area Allocation Input point Mean value sample count Normal Peak converted converted data data DM 0000 DM 0100 DM 0200 DM 0001 DM 0101 DM 0201 DM 0002 DM 0102 DM 0202 DM 0003 DM 0103 DM 0203 DM 0004 DM 0104...
  • Page 69 Four-word Operation Section 4-4 Programming Using Only In four-word operation, a program uses the MOV instruction and the PC and A/D One Point Read/Write Complete Flags. Initially, set the mean value sampling count for the input point. If the mean is not required, set the sampling count to zero or do not create a program to write the mean value.
  • Page 70 Four-word Operation Section 4-4 Programming Using Only Point 1 The following program is used when only one of the input points is used. First Scan Flag 25315 If you are not using mean, set the MOV(21) number of samples to 0 or delete #0000 this part of the program.
  • Page 71 Four-word Operation Section 4-4 Programming Using All 8 Points The following program can be used when all eight input points are being used. First Scan Flag 25315 MOV(21) #0000 Input point 1 DM 0000 MOV21 If you are not #0000 Input point 2 using mean DM 0001...
  • Page 72 Four-word Operation Section 4-4 (Continued from previous page) 07000 MOV(21) DM 0000 07001 MOV(21) DM 0001 07002 MOV(21) DM 0002 07003 MOV(21) Set data is sequentially written to DM 0003 the Unit. 07004 MOV(21) DM 0004 07005 MOV(21) DM 0005 07006 MOV(21) DM 0006...
  • Page 73 Four-word Operation Section 4-4 (Continued from previous page) 07200 00101 00102 00103 00104 00105 00106 00107 00100 07000 07201 00100 00102 00103 00104 00105 00106 00107 00101 07001 07202 00100 00101 00103 00104 00105 00106 00107 00102 07002 07203 00100 00101 00102 00104...
  • Page 74 Four-word Operation Section 4-4 (From previous page.) 00100 00314 PC write is complete. This bit is turned 00114 ON when the point to be used is speci- fied. 00101 00102 00103 00104 00105 00106 00107 00300 00315 Reads the data below with the DIFD(014) falling edge of bit IR 00315 (A/D Designates...
  • Page 75 Four-word Operation Section 4-4 (From previous page.) 00304 00315 00308 00309 00108 MOV(21) Input point 5 Normal DM 0104 00309 00108 MOV(21) Peak value DM 0204 00305 00315 00309 00108 00308 MOV(21) Input point 6 Normal DM 0105 00309 00108 MOV(21) Peak value DM 0205...
  • Page 76: C500-Ad501 Analog Input Unit

    SECTION 5 C500-AD501 Analog Input Unit This section describes information on the C500-AD501 Analog Input Unit, including the specifications, connections, I/O word allocations, and applications. Specifications and General Information ........5-1-1 Specifications .
  • Page 77: Specifications And General Information

    EEPROM for memory map storage Front window indicators Run, error, range, comm error, transmit/receive Input connector OMRON 38-terminal removable connector C500-PAR-PTC 38 Vibration Durability 10 to 54.8 Hz at 0.25 mm amplitude in X, Y and Z directions for 12 times in 10 min.
  • Page 78: Section 5 C500-Ad501 Analog Input Unit

    Specifications and General Information Section Input Specifications The input specifications of the C500-AD501 Analog Input Unit are shown below. Binary (Hex) Mode A/D converted data 0FFF 0 to 10 V (4095) 0 to 5 V (0 to 20 mA) –10 to 10 V 07FF –5 to 5 V (2047)
  • Page 79: Theory Of Operation

    Specifications and General Information Section 5-1-2 Theory of Operation The Unit converts field signals (voltage and current) to digital values that are available to the CPU Unit’s ladder program for processing. A microprocessor al- lows the Unit to perform advanced functions on the converted data prior to being accessible to the CPU Unit.
  • Page 80: Functions

    Specifications and General Information Section 5-1-4 Functions The C500-AD501 Analog Input Unit offers maximum application flexibility and high performance processing by combining the latest in analog and software technology to provide the following features. • Flexible configuration options • High point density •...
  • Page 81: Description Of Parts

    Specifications and General Information Section 5-1-5 Description of Parts The parts of the Unit are identified below. Unit model Indicator cover Backplane connector Set screw Input 1 switches Slide terminal switches block Set screw Input 16 Front of Unit Rear of Unit Front of Unit without Terminal Block Removed...
  • Page 82: Indicators

    Specifications and General Information Section 5-1-6 Indicators Indicators Function RUN (Green) Unit is operating correctly. If an error occurs, this indicator turns OFF and the Unit stops operating. The indicator flashes when the number of write operations to EEPROM exceeds 10,000.
  • Page 83: Dip Switches And Slide Switches

    Specifications and General Information Section 5-1-7 DIP Switches and Slide Switches The DIP switches and slide switches are located beneath the detachable termi- nal block. To set these switches, first remove the upper and lower set screws and the remove the terminal block. The locations of the DIP switches and slide switches are shown in the following diagrams.
  • Page 84: Quick Start Procedure

    Quick Start Procedure Section 5-1-8 Block Diagram The following diagram shows the basic internal connections of the Unit. Input amplifiers Input 1 Analog multiplexers Input 2 Input 3 I/O bus Sample- Input 4 interface conver- and-hold Buffer amplifier Input 16 Clock Shield Analog 0 V...
  • Page 85: Installation, Settings, And Wiring

    Installation, Settings, and Wiring Section Installation, Settings, and Wiring 5-3-1 Unpacking the Unit To unpack the Unit, open the shipping carton and slide out the corrugated insert containing the Unit. Remove the Unit from the insert, making sure to retain the installation slip which accompanies the Unit.
  • Page 86 Installation, Settings, and Wiring Section Slide switch setting DIP switch pin settings Slid Slide switch settings it h Input range Voltage input 0 to 5 VDC 0 to 10 VDC –5 to 5 VDC –10 to 10 VDC 0 to 20 mA Current input –20 to 20 mA Note DIP switch and slide switch settings are enabled when the power supply to the...
  • Page 87: Wiring

    Installation, Settings, and Wiring Section 5-3-4 Wiring Wiring is accomplished at the terminal connectors or also referred to as terminal blocks. To access the terminal connectors proceed as follows. 1, 2, 3... 1. Insert each wire in the appropriate connector. 2.
  • Page 88: Wiring Diagrams

    Installation, Settings, and Wiring Section 5-3-5 Wiring Diagrams The Unit can accept a variety of input signals. The following diagrams show the various input signal wiring configurations. Unit Front End The diagram below is a simplified schematic of the front end of the Unit. Input –...
  • Page 89 – Shield Note 1. For best results, OMRON recommends using only shielded, twisted-pair cable. Shields should be connected in a star fashion to the shield terminal. 2. Shield terminals are not directly connected to chassis ground of the Rack. They are used as a floating reference for the isolated analog ground plane in...
  • Page 90 Installation, Settings, and Wiring Section Differential Source with Multiple Points (Single Reference) Source – n +1 n +1 – n +2 – n +2 Shield – Shield Note Only one ground should be connected at the source when multiple points are connected to the Unit.
  • Page 91: Data Exchange With Cpu Unit

    Data Exchange with CPU Unit Section Data Exchange with CPU Unit 5-4-1 Communications with the CPU Unit The Unit communicates with the CPU Unit in 2-word mode using the I/O READ/ WRITE instructions in ladder logic. Specific ladder logic examples are in 5-7 Pro- gramming Examples.
  • Page 92 Data Exchange with CPU Unit Section Internal Processing and The C500-AD501 contains a processor that converts analog data and performs Parameter Settings advanced functions on the data. The following processing is performed. 1, 2, 3... 1. RAM is initialized and internal diagnosis is performed with power is turned 2.
  • Page 93: Ir/Cio Bit Allocations

    Data Exchange with CPU Unit Section The completion of execution of the I/O READ and I/O WRITE instructions can be determined by checking the status of the Equals Flag. The Equals Flag will be ON when execution has been completed. Flag C500 C1000H/C2000H...
  • Page 94 Data Exchange with CPU Unit Section Output Word Direction Name Description PC Busy These bits operate automatically when executing I/O READ/WRITE i READ/WRITE instructions. It is not possible for the user to It i ibl f PC Write Complete write to these bits. Set to 0 when outputting word n using an write to these bits.
  • Page 95: Memory Map

    Memory Map Section Memory Map The C500-AD501 has internal RAM for storage of operating parameters during execution. Internal EEPROM memory provides non-volatile storage for these parameters without the need for batteries. Both memory areas have a Unit memory map which defines the operating parameters for the Unit. This Unit memory map is uploaded from EEPROM on power up and used by the Unit dur- ing operation.
  • Page 96 Memory Map Section 5-5-2 Overview The following table outlines the contents of the memory map. Refer to the next section for details. Contents Memory Read/ Data Valid data Factory Save/ Reset Reset Conditions write format range default load word EEPROM input function point...
  • Page 97: Memory Map Details

    Memory Map Section 5-5-3 Memory Map Details Read/ Memory Bits Input Function Description write map word point 00 to 15 1 to 16 Alarm flags These flags are turned ON by the Unit when a low or high alarm condition occurs (word 17 and 18). They are turned OFF when individual alarms are reset in words 17 and 18.
  • Page 98 Memory Map Section Read/ Memory Bits Input Function Description write map word point 00 to 15 1 to 16 Unconfirmed data error flags These flags are turned ON by the Unit when invalid configuration data is written to the Unit memory map for an input point.
  • Page 99 Memory Map Section Read/ Memory Bits Input Function Description write map word point 00 to 15 Pointer word The pointer word is used to set the starting location in the Unit memory map for the I/O READ and I/O WRITE instructions that are executed in ladder logic in the CPU Unit.
  • Page 100 Memory Map Section Read/ Memory Bits Input Function Description write map word point 00 to 15 1 to 16 High alarm enable bits These bits are turned ON by the user to enable/disable the high alarm function for each input point. The default value is disabled (OFF) for all input points.
  • Page 101 Memory Map Section Read/ Memory Bits Input Function Description write map word point 00 to 15 Averaging sample count These words contain the number of Unit conversions to average before reporting conversion data to words 01 to16. The values are in number of samples.
  • Page 102: Functions

    Functions Section 5-5-4 Using the Unit Memory Map Configuration Sheet To assist in the custom configuration of the Unit, a Configuration Worksheet has been provided in Appendix A. Values for all advanced functions can be entered in the worksheet. These values can then be easily transferred to data memory for use by the Unit.
  • Page 103 Functions Section Averaging and Alarms High and low limit alarms are processed before averaging is performed. It is thus possible that the averaged input data will still be within the set limits even when a high or low alarm has been given. This can happen when the upper or lower limit has been exceeded only momentarily, causing the High or Low Alarm Flag to turn ON even though the average value has not yet (and possibly never will) ex- ceeded the limits.
  • Page 104 Functions Section Example 2: Scaling 0 to 5 V to Percent Full Input point 6 of the Unit is connected to a 0 to 5 V signal from a level sensor in a tank. The user is not interested in the actual volume of liquid in the tank, but rather in the percent full reading for the tank.
  • Page 105 Functions Section Example 3: Scaling 4 to 20 mA to 300 to 1,200 PSI Input point 12 of the Unit is connected to a 4 to 20 mA signal from a pressure sensor in pipe. The range for input point 12 has been set to 0 to 20 mA. It has been determined that a 4 mA reading on the sensor indicates a pressure of 300 psi, and a 20 mA reading on the sensor indicates a pressure of 1200 psi.
  • Page 106 Functions Section 5-6-3 Averaging The averaging function can be used to perform averaging of many samples of data prior to reporting the value to the CPU Unit. This function is useful for reduc- ing or eliminating noise commonly found in analog input signals. When averag- ing is enabled for a particular input point, the Unit takes the requested number of input samples for that input point and computes an average before reporting data to the CPU Unit.
  • Page 107 Functions Section 5-6-5 Peak Hold The peak hold function can be used to detect peak conversion values of rapidly changing analog input signals. These values are stored in separate memory locations in the Unit memory map. This data is reset each time the peak hold function is enabled for the input point.
  • Page 108: Eeprom Functions

    Functions Section 5-6-7 EEPROM Functions The Unit has an internal EEPROM memory which stores the Unit memory map. When power is applied, the Unit uploads the EEPROM to RAM and begins execution using the RAM values in the Unit memory map. There is an EEPROM write function that allows the user to store new default Unit memory map values that will be uploaded on the next power up of the Unit.
  • Page 109: User Programming Examples

    User Programming Examples Section User Programming Examples This section provides some user programming examples for CV-series PCs. These examples may need to be altered for use with other PCs. Refer to the doc- umentation on programming for your PC for details. 5-7-1 Basic Programming The ladder diagram instruction shown below is used in conjunction with the de- fault settings.
  • Page 110: Using The Pointer Word In The Unit Memory Map

    User Programming Examples Section 5-7-3 Using the Pointer Word in the Unit Memory Map The Unit has an internal memory map for storage of data and configuration parameters. The table is 153 words in length, with both read-only and read/write registers.
  • Page 111 User Programming Examples Section • If the temporary pointer value is greater than 46, the Unit writes the data following the temporary pointer value into the Unit memory map beginning at the location specified by the temporary pointer value. The temporary pointer value is then discarded.
  • Page 112 User Programming Examples Section Example 2: WRITE to This example shows how to write a specific value to a single Unit Memory Map Selected Locations in the Location. Unit Memory Map Q000105 Execution condition Q000104 Write complete Q000105 Q000105 Q000202 Q000104 (191) WRIT...
  • Page 113: Reading Data From The Unit

    User Programming Examples Section 5-7-5 Reading Data from the Unit I/O READ Instruction This section describes the use of the pointer word with the I/O READ ladder (READ) and the Pointer instruction. For additional information regarding the I/O READ instruction, refer Word Operation to the Operation Manual for your PC.
  • Page 114 User Programming Examples Section Example 2: READ the Entire This example shows how to read the entire Unit Memory Map into the Data Unit Memory Map into Data Memory of the CPU Unit. Memory (030) Q000105 Q000101 Step 1: Using a 1-word write #0000 D00154 instruction, set the pointer word to 0.
  • Page 115: Typical Programming Examples

    User Programming Examples Section 5-7-6 Typical Programming Examples Examples 1 through 4 are typical ladder diagrams that show the flexible access to the Unit set up and advanced functions. Example 1: Configuring the This example shows how to configure the scaling function for specific input Scaling Function points.
  • Page 116 User Programming Examples Section Example 2: Configuring the This example shows how to configure the alarm function for specific input points. Alarm Function Refer to 5-6-6 High/Low Alarms for general information on using the high/low alarms. Execution condition (191) Q000405 Step 1: Set the low and high WRIT #0005...
  • Page 117 User Programming Examples Section Example 3: Configuring the This example shows how to configure the filtering function for specific input Filtering Function points. Refer to 5-6-4 Filtering for information on using the filtering function. Execution condition (191) Q000411 Step 1: Set the filtering WRIT #0005 D00498...
  • Page 118 User Programming Examples Section Example 4: Configuring the This example shows how to configure the averaging function for specific input Averaging Function points. Refer to 5-6-3 Averaging for information on using the averaging function. Execution condition (191) Q000501 Step 1: Set the averaging WRIT #0004 D00508...
  • Page 119: 3G2A5-Da001 To 3G2A5-Da005 Analog Output Units

    SECTION 6 3G2A5-DA001 to 3G2A5-DA005 Analog Output Units This section provides information on 3G2A5-DA001 to 3G2A5-DA005 Analog Output Units including the specifications, connections, IR/CIO bit allocations, and applications. Specifications and General Information ........6-1-1 Specifications .
  • Page 120 Specifications and General Information Section 6-1 Specifications and General Information 6-1-1 Specifications General Specifications All general specifications of the 3G2A5-DA001 through 3G2A5-DA005 Analog Output Units conform to those of the C Series, except the following: • Insulation between the External Terminals and the Frame: 5 MΩ...
  • Page 121 Specifications and General Information Section 6-1 6-1-2 Description of Parts 3G2A5-DA001 to 3G2A5-DA005 Model label 17-pin terminal block Refer to 6-1-4 Wiring for details of wiring connections.
  • Page 122 Specifications and General Information Section 6-1 6-1-3 Block Diagram The following diagram shows the basic internal connections of the Unit. Isolation Point 1 Voltage output Analog 0 V Photo- coupler Current output Bus in- Ranger selector terface Point 2 Voltage output Analog 0 V Photo- coupler...
  • Page 123 Specifications and General Information Section 6-1 6-1-4 Wiring Voltage Outputs Unit +Voltage output Point 1 – –Voltage output (0 V) +Voltage output Point 2 – –Voltage output (0 V) Shielded twisted-pair cable Current Outputs Unit +Current output Point 1 – –Current output (0 V) +Current output Point 2...
  • Page 124 Functions and User Programs Section 6-3 IR/CIO Bit Allocations Bit allocations for words that contain the values that will be converted to analog values for output from each Analog Output Unit output point are shown below. Output words IR/CIO n: Point 1 IR/CIO n+1: Point 2 D/A conversion data 2 D/A conversion data 2...
  • Page 125 Functions and User Programs Section 6-3 Relationship Between Input Data and Output Signals: Output Output 10 V (20 mA) (5 V) (4 mA) Digital Digital value value 0FFF 0FFF (4095) (4095) Input: 1 to 5 V, 4 to 20 mA Input: 0 to 10 V, 0 to 5 V Note Data exceeding FFF (4095) cannot be converted.
  • Page 126 Functions and User Programs Section 6-3 6-3-2 Ladder Programming Example The following example program converts two different 4-digit BCD values (4095 maximum) to analog signals and outputs the result. Connections IR 005 IR 006 IR 001 IR 002 IR 003 IR 004 Input point 1 Input point 2...
  • Page 127 Functions and User Programs Section 6-3 Programming Example Using C1000H Input data 1 read condition 00300 Compares input 1 data CMP(20) with 4096. #4096 25507 (LE) Converts input 1 data BIN(23) Analog Output Unit outputs to 12-bit binary and converted data. transfers it to the Analog Output Unit.
  • Page 128: Section 7 C500-Da101 Analog Output Unit

    SECTION 7 C500-DA101 Analog Output Unit This section provides information on the C500-DA101 Analog Output Unit including the specifications, connections, IR/CIO bit allocations, and applications. Specifications and General Information ........7-1-1 Specifications .
  • Page 129: Specifications And General Information

    Specifications and General Information Section 7-1 Specifications and General Information 7-1-1 Specifications General Specifications All general specifications of the C500-DA101 Analog Output Unit conform to those of the C Series. Performance Specifications Item Specification Number of analog outputs Output signal range Voltage output 1 to 5 V 0 to 10 V...
  • Page 130: Description Of Parts

    Specifications and General Information Section 7-1 7-1-2 Description of Parts Front View Rear View Model label SW1: Output range setting switch 17-pin terminal block Refer to 7-1-5 Wiring for details of wiring connections. SW2: Output range setting switch...
  • Page 131: Block Diagram

    Specifications and General Information Section 7-1 7-1-3 Block Diagram The following diagram shows the basic internal connections of the Unit. Isolation Point 1 Voltage output – É É É É Memory Current output – Point 2 É É É É É...
  • Page 132 Specifications and General Information Section 7-1 7-1-4 Setting Output Range Set the output range for each output point using the DIP switches on the back of the Analog Output Unit. Back of Unit Output range DIP switch Port 0 to 10 V 1 to 5 V 4 to 20 mA...
  • Page 133: Wiring

    Specifications and General Information Section 7-1 The DIP switches are factory-set to the 1 to 5 V range. Change the switch set- tings to set the 1 to 5 V, 4 to 20 mA range. 7-1-5 Wiring Terminal Allocations The terminals used depend on whether the output port 1 to 4 is a voltage output or current output.
  • Page 134 Specifications and General Information Section 7-1 5. A voltage (current) may be output momentarily from the output terminal when the power supply to the PC is turned ON or OFF. Approximately 1 V will be output for several hundred milliseconds after the power is turned ON or OFF.
  • Page 135: Ir/Cio Bit Allocations

    IR/CIO Bit Allocations Section 7-2 IR/CIO Bit Allocations Each C500-DA101 Analog Output Unit is allocated four words. Output words I/O bit IR/CIO n: Point 1 IR/CIO n+1: Point 2 IR/CIO n+2: Point 3 IR/CIO n+3: Point 4 D/A conversion data 2 D/A conversion data 2 D/A conversion data 2 D/A conversion data 2...
  • Page 136: Functions And User Programs

    Functions and User Programs Section 7-3 Functions and User Programs 7-3-1 Operational Flow The C500-DA101 Analog Output Unit converts 12-bit binary data to voltage or current analog output signals. The Unit has four output points, each of which can be independently set to one of three ranges: 1 to 5 V or 0 to 10 V voltage output, or 4 to 20 mA current output.
  • Page 137 Functions and User Programs Section 7-3 Relationship Between Input Data and Output Signals Output Output 10 V (20 mA) (4 mA) Digital Digital 0000 0000 value value 0FFF 0FFF (4095) (4095) Output: 0 to 10 V Output: 1 to 5 V, 4 to 20 mA 7-3-3 Ladder Programming Example Example programs are shown below for the C500-DA101 Analog Output Unit mounted in the C1000H.
  • Page 138 Functions and User Programs Section 7-3 Program for Binary Data: Output condition CMP(20) Compares the content of DM 0100 with 0FFF. DM 0100 #0FFF 25505 (>) If the data is not greater MOV(21) than 0FFF, the data is DM 0100 transferred to the Unit.
  • Page 139 SECTION 8 C500-DA103 Analog Output Unit This section provides information on the C500-DA103 Analog Output Unit including the specifications, connections, IR/CIO bit allocations, and applications. Specifications and General Information ........8-1-1 Specifications .
  • Page 140: Specifications And General Information

    Specifications and General Information Section 8-1 Specifications and General Information 8-1-1 Specifications General Specifications All general specifications of the C500-DA103 Analog Output Unit conform to those of the C Series. Performance Specifications Item Specification Number of analog outputs Output signal range Voltage output –10 to 10 V ±5 mA...
  • Page 141 Specifications and General Information Section 8-1 8-1-2 Description of Parts C500-DA103 Model label 17-pin terminal block Refer to 8-1-4 Wiring for details of wiring connections.
  • Page 142 Specifications and General Information Section 8-1 8-1-3 Block Diagram The following diagram shows the basic internal connections of the Unit. Isolation Point 1 Voltage output É É É É Memory – Analog 0 V Point 2 É É É É É...
  • Page 143 Specifications and General Information Section 8-1 8-1-4 Wiring Terminal Allocations Terminal Description Number +Voltage output for point 1 –Voltage output for point 1 Not used Not used +Voltage output for point 2 –Voltage output for point 2 Not used Not used +Voltage output for point 3 –Voltage output for point 3 Not used...
  • Page 144: Ir/Cio Bit Allocations

    Functions and User Programs Section 8-3 IR/CIO Bit Allocations IR/CIO Bit Allocations Each C500-DA103 Analog Output Unit is allocated four words. Output words IR/CIO n: Point 1 IR/CIO n+1: Point 2 IR/CIO n+2: Point 3 IR/CIO n+3: Point 4 D/A conversion data 2 D/A conversion data 2 D/A conversion data 2 D/A conversion data 2...
  • Page 145: Ladder Programming Example

    Functions and User Programs Section 8-3 Relationship Between Input Data and Output Signals Output 10 V 87FF 0000 (–2047) (0000) Digital 07FF value (2047) –10 V 07FF 2047 is converted to 10 V 0000 and 8000 = 0 and –0 are converted to 0 V 87FF –2047 is converted to –10 V Data cannot be converted in ranges 0800...
  • Page 146 SECTION 9 C500-DA501 Analog Output Unit This section describes information on the C500-DA501 Analog Output Unit including the specifications, connections, I/O word allocations, and applications. Specifications and General Information ........9-1-1 Specifications .
  • Page 147: Specifications And General Information

    Specifications and General Information Section Specifications and General Information 9-1-1 Specifications General Specifications All general specifications of the C500-DA501 Analog Output Unit conform to those of the C Series, except the following: Item Specification Ambient operating 8 points with voltage outputs: 0 to 55_C temperature 4 points with voltage or current outputs: 0 to 50_C 8 points with current outputs: 0 to 45_C...
  • Page 148 Specifications and General Information Section Item Specification Overall accuracy Voltage outputs 0 to 10 V 0.1% (at 25_C), 0.4% (at 0 to 55_C) (full scale) 0 to 5 V –5 to 5 V –10 to 10 V Current outputs 0 to 20 mA 0.4% (at 0 to 55_C) 4 to 20 mA Reproducibility...
  • Page 149 Specifications and General Information Section Item Specification Output signals 0 V or 0 mA (factory setting) when PC is turned Output signal value immediately before power is interrupted is maintained as long as 5–V power from PC to Unit is ON, and then 0 V or 0 mA is output. Either 0 V or 0 mA can be selected using the toggle switch on the back of the Unit.
  • Page 150 Specifications and General Information Section Output Specifications The output specifications of the C500-DA501 Analog Output Unit without scal- ing are shown below. Voltage Outputs BCD Data Binary Data 0 to 10 V Output 0 to 10 V Output Conversion data Conversion data 0 to 5 V Output 0 to 5 V Output...
  • Page 151 Specifications and General Information Section Current Outputs BCD Data Binary Data 0 to 20 mA Output 0 to 20 mA Output Conversion data (unsigned BCD) Conversion data (unsigned 12-bit binary) 4 to 20 mA Output 4 to 20 mA Output Conversion data (unsigned BCD) Conversion data (unsigned 12-bit binary) The output specifications of the C500-DA501 Analog Output Unit with scaling...
  • Page 152: Overview

    Specifications and General Information Section 9-1-2 Overview The C500-DA501 is a Special I/O Unit for the C500, C1000H, C2000H, CVM1, and CV-series PCs. It has eight analog output points and the following functions. • Output signal range can be selected for each output point (0 to 10 V, 0 to 5 V, –5 to 5 V, –10 to 10 V, 0 to 20 mA, or 4 to 20 mA).
  • Page 153: Indicators

    Specifications and General Information Section 9-1-3 Description of Parts Model label Indicator cover Backplane connector Set screw Allocated I/O two/four-word mode switch Output Output Output DIP switches for Terminal setting output block Output ranges Output Output Output Switch for setting operation when PC Output power is...
  • Page 154: Block Diagram

    Specifications and General Information Section 9-1-5 Block Diagram The following diagram shows the basic internal connections of the Unit. D/A converters Voltage output Output 1 Current output I/O bus Isola- interface tion Voltage output Output 2 Current output Watchdog timer Shutdown Power supply...
  • Page 155: Internal Structure

    Specifications and General Information Section 9-1-6 Internal Structure The C500-DA501 Analog Output Unit has an internal 62-word Memory Map in RAM which contains conversion data, parameters, and status data. It is also al- located either 2 or 4 I/O words as a Special I/O Unit. High-speed D/A conversion can be set for all 8 points.
  • Page 156 Specifications and General Information Section Relationship with CPU When two words are allocated, the CPU Unit uses the I/O WRITE and I/O READ Unit instructions, WRIT and READ, to directly access RAM. When four I/O words are allocated, the CPU Unit uses the MOV or OUT instruction to access RAM through the allocated I/O words.
  • Page 157: Operation Flow

    Specifications and General Information Section 9-1-7 Operation Flow Start Set two-word or Set the mode for exchanging data with the CPU Unit by using the four-word operating two/four-word operating mode short-circuit pins on the front panel of mode. the Analog Output Unit. Refer to 9-3 Data Exchange with CPU Unit and 9-2-2 Setting the Two-word or Four-word Operating Mode.
  • Page 158: Settings And Wiring

    Settings and Wiring Section Settings and Wiring 9-2-1 Setting the Output Signal Ranges The output signal ranges are set by using the DIP switches for output signal range settings and for voltage output range settings (for voltage outputs only). Note Be sure to turn OFF the power to the PC before removing or mounting the termi- nal block or before changing the DIP switch settings.
  • Page 159 Settings and Wiring Section DIP Switches for Setting When a voltage output is set, it is also necessary to set the voltage output range Voltage Output Ranges DIP switch pins under the terminal block on the back of the Unit to the same volt- age output range.
  • Page 160: Setting The Two-Word Or Four-Word Operating Mode

    Settings and Wiring Section Mounting the Terminal When the output signal range has been set, mount the terminal block and tighten Block the upper and lower set screws. Mounting the Unit When mounting the Unit on the Backplane, make sure that the Unit is correctly inserted in the slot, then tighten the upper and lower mounting screws.
  • Page 161: Setting The Output Signals At Pc Power Interruption And Recovery

    Settings and Wiring Section 9-2-3 Setting the Output Signals at PC Power Interruption and Recovery A toggle switch on the back of the Unit can be used to set the output signals from the Analog Output Unit when power to the PC (i.e., to the Power Supply Unit) is turned OFF.
  • Page 162: Wiring

    Settings and Wiring Section 9-2-4 Wiring The terminal arrangement is as shown in the following diagram. External 24 V + External 24 V + External 0 V External 0 V None None Output 1 + Output 1 + Output 1 – Output 1 –...
  • Page 163 Settings and Wiring Section Output Connections Output devices C500-DA501 Output 1 Output 2 Output 8 Precautions Observe the following precautions when connecting cables to the Unit. • Use shielded twisted pair cables as signal lines. • Connect the shield to the output device. However, if doing so makes the nega- tive terminal shared between the C500-DA501 and the output device and this fails to ensure insulation between output points, connect the shield to the C500-DA501.
  • Page 164: Data Exchange With Cpu Unit

    Data Exchange with CPU Unit Section Data Exchange with CPU Unit Overview This section describes differences in data exchange with the CPU Unit between two-word and four-word operating modes. The two/four-word operating mode short-circuit pins on the front panel of the Unit are used to switch between two- word and four-word operating modes.
  • Page 165: Basic Operation

    Data Exchange with CPU Unit Section Four-word Operating The MOV, OUT, and other generic instructions are used to read and write RAM Mode data in the Analog Output Unit through the allocated I/O words. One word is read or written at a time. Data is exchanged at I/O refresh. CPU Unit Analog Output Unit RAM Data:...
  • Page 166 Data Exchange with CPU Unit Section Using the I/O WRITE Instruction, WRIT The function of the WRIT instruction depends on the number of words trans- ferred (1 or more than 1) as described below. When writing parameters and con- version data directly to RAM in the Analog Operation Unit, set the number of words transferred to a value greater than 1.
  • Page 167 Data Exchange with CPU Unit Section turned OFF and then ON, or until the Unit is restarted. This value is turned OFF when the power is turned OFF and then ON or when the Unit is restarted. When the Number of Words Transferred is Greater than 1 (m –...
  • Page 168 Data Exchange with CPU Unit Section Ladder Programming Insert the WRIT instruction in a ladder program as follows: • When the input conditions are met, a self-holding (latched) bit must used to keep the execution condition ON until the WRIT instruction has been com- pleted normally.
  • Page 169 Data Exchange with CPU Unit Section If the program writes conversion data after parameters, design the program as follows: Even if an attempt is made to write conversion data immediately after parameters, such as scaling upper and lower limits, upper and lower limits, and binary/BCD mode settings, are written, the data may not be correctly written due to the internal processing of the Analog Output Unit.
  • Page 170 Data Exchange with CPU Unit Section If write data, such as the first RAM addresses, parameters, and conversion data, is to be set in the data memory immediately before the WRIT instruction is exe- cuted, design the program as shown in the following diagram. Input condition Word n+1,...
  • Page 171 Data Exchange with CPU Unit Section Four-word Operating Mode Writing Data 1, 2, 3... 1. The CPU Unit uses MOV or another similar instruction to set data in word n of the allocated I/O words. 2. The CPU Unit sets RAM address of the Analog Output Unit in the leftmost byte of word n+1 (bits 08 to 15: Read/Write Pointer).
  • Page 172 Data Exchange with CPU Unit Section Ladder Programming An example of data write processing and write completion monitoring programs is shown below. Input conditions Latched until write process is completed. Bit 06 of Turns ON C in 1 cycle when bit word n+3 Monitors the 06 of word n+3 (Analog Output...
  • Page 173 Data Exchange with CPU Unit Section 10. The CPU Unit verifies that bit 07 of word n+3 is OFF, then turns OFF bit 07 of word n+1 (PC Read Completed Bit). CPU Unit Analog Output Unit Allocated Allocated I/O words 1.
  • Page 174: Ir/Cio Bit Allocations

    Data Exchange with CPU Unit Section 9-3-2 IR/CIO Bit Allocations Two-word Operating Mode Output Words (CPU Unit → Analog Output Unit) Allocated I/O word Name Function These bits operate automatically when executing PC Busy I/O READ/WRITE instructions It is not possible for I/O READ/WRITE instructions.
  • Page 175 Data Exchange with CPU Unit Section Input Words (Analog Output Unit → CPU Unit) Allocated I/O word Name Function These bits operate automatically when executing D/A Busy I/O READ/WRITE i I/O READ/WRITE instructions. D/A Read Complete D/A Write Complete Invalid Data Received This flag is turned ON when invalid data is received Flag from the I/O WRITE instruction, WRIT.
  • Page 176 Data Exchange with CPU Unit Section Four-word Operating Mode Output Words (CPU Unit → Analog Output Unit) Allocated I/O word Name Function 00 to 15 Write Data This data is automatically written to RAM addresses specified by the Read/Write Pointer (bits 08 to 15 of word n+1) while a write cycle is being performed for the Analog Output Unit.
  • Page 177 Data Exchange with CPU Unit Section Input Words (Analog Output Unit → CPU Unit) Allocated I/O word Name Function 00 to 15 Read Data This data is automatically read from RAM addresses specified by the Read/Write Pointer (bits 08 to 15 of word n+1) when a read cycle is performed for the Analog Output Unit.
  • Page 178: Memory Map

    Data Exchange with CPU Unit Section 9-3-3 Memory Map The Analog Output Unit has a 62-word RAM which contains 16-bit data, 1-bit control bits, and 1-bit flags. RAM contains data in BCD or binary format. Use the BCD/Binary Mode Bit to specify the data format (BCD or binary) for each output point.
  • Page 179 Data Exchange with CPU Unit Section Memory Map Contents Words Bits Output Name Description Data Default Read: R points Write: W 0 to 7 1 to 8 Invalid Data Turned ON by the Analog ON: Error Received Flags Output Unit when invalid data OFF: Normal is written to an output point in RAM.
  • Page 180 Data Exchange with CPU Unit Section Words Bits Output Name Description Data Default Read: R points Write: W 0 to 15 Read Pointer Specifies the first RAM 0000 to 0061 0000 (Pointer) address from which data is to (BCD) (BCD) be read when the READ instruction is executed from the CPU Unit.
  • Page 181 Data Exchange with CPU Unit Section Words Bits Output Name Description Data Default Read: R points Write: W 0 to 15 1 Scaling Lower Scaling lower limit for output BCD: Lower Limit for Output point 1. Set in engineering –7999 to 7999 limit: Point 1 units.
  • Page 182 Data Exchange with CPU Unit Section Words Bits Output Name Description Data Default Read: R points Write: W 0 to 15 1 Output Ramp Output ramp set time for output BCD: 0008 Set Time for point 1 (in ms). It must be 8 ms 8 to 7999 (0008 to Output Point 1 or more.
  • Page 183 Data Exchange with CPU Unit Section Words Bits Output Name Description Data Default Read: R points Write: W 0 to 15 1 Output Lower Output lower limit for output With No Scaling Lower Limit for Output point 1. This is used to restrict limit: BCD: Point 1...
  • Page 184 Data Exchange with CPU Unit Section Words Bits Output Name Description Data Default Read: R points Write: W 0 to 15 5 Output Lower Output lower limit for output With No Scaling Lower Limit for Output point 5. This is used to restrict limit: BCD: Point 5...
  • Page 185 Data Exchange with CPU Unit Section Words Bits Output Name Description Data Default Read: R points Write: W 0 to 15 1 to 8 Invalid Data Error when invalid data was 0001 : Invalid Received Error received BCD value Code 0002 : Outside the scaling limits...
  • Page 186: Functions

    Functions Section Functions 9-4-1 BCD/Binary Mode The BCD/Binary Mode Bits (bits 8 to 15 of address 14) in RAM of the Analog Output Unit are used to select either BCD or binary mode for each output point. The default is BCD mode. The data format is specified for the following four values in RAM by using the BCD/Binary Mode Bit.
  • Page 187 Functions Section When the scaling lower limit is smaller than the scaling upper limit, the lower limit corresponds to output signal level 0%, the upper limit corresponds to output sig- nal level 100%, and positive scaling is performed. When the scaling lower limit is greater than the scaling upper limit, the lower limit corresponds to output signal level 100%, the upper limit corresponds to output signal level 0%, and reverse scaling is performed.
  • Page 188: Output Ramps

    Functions Section Examples of Reverse Scaling Example 3: 0 to 5 V output for 0 to 100% Example 4: 4 to 20 mA output for 300 to 0_C Conversion data Conversion data Output Point 3 Settings Address Function Example 3 Example 4 Scaling Enable Bit (Enabled)
  • Page 189 Functions Section Output Signals When conversion data changes from the present value to a new value, the out- put signal is linearly changed to the new value within the output ramp set time instead of rapidly changing the output signal. Once the output signal reaches the new value, it remains unchanged until conversion data changes.
  • Page 190: Upper/Lower Limits

    Functions Section Output Point 1 Settings Address Function BCD mode Binary mode Output Ramp Enable Bit (Enabled) (Enabled) BCD/Binary Mode Bit ON (BCD) (Binary) 1 to 15 Output Ramp Set Time (ms) 5000 1388 9-4-4 Upper/Lower LImits The upper/lower limit function is used to restrict output signals so that conver- sion data above the upper limit or below the lower limit is made constant.
  • Page 191 Functions Section Upper/Lower Limit To enable the upper/lower limit function, turn ON the Upper/Lower Limit Enable Enable Bits Bit for each output point. These bits are read/write. Upper/Lower Limit To check whether the upper/lower limit function is active, monitor the status of Enabled Flags the Upper/Lower Limit Enabled Flag for each output point.
  • Page 192 Functions Section Example: Reverse Output of 4 to 20 mA for 0 to 300_C When the lower and upper limits are set to 45_C and 270_C, respectively, output signals will be restricted to 17.6 mA at 45_C or lower and to 5.6 mA at 270_C or higher.
  • Page 193: User Programming Examples

    User Programming Examples Section User Programming Examples 9-5-1 Two-word Operating Mode Writing Default Data and Conversion Data Example: Parameters are set in RAM addresses 13 to 18 of the Analog Output Unit and, 100 ms later, data is set in RAM address 01 (when the Analog Output Unit is allo- cated to words CIO 0002 to CIO 0003.) Sets #0013 in D00112 (first RAM address).
  • Page 194 User Programming Examples Section Reading Data Reading Consecutive Data Example: A total of 62 words is read from RAM addresses 00 to 61 of the Analog Output Unit to addresses D00000 to D00061 (when the Analog Output Unit is allocated to words 0002 to 0003).
  • Page 195: Four-Word Operating Mode

    User Programming Examples Section 9-5-2 Four-word Operating Mode Writing Data Writing Default Data and Conversion Data Example: Parameters are set in RAM addresses 13 to 18 of the Analog Output Unit and, 100 ms later, data is set in RAM address 01 (when the Analog Output Unit is allo- cated to words CIO 0002 to CIO 0005.) Sets #0013 in D00112 (first RAM address).
  • Page 196 User Programming Examples Section (Continued from previous page) 100-ms timer (delay timer for internal processing time of Analog Output Unit) Self-holding bit Writes the parameter values of D00113 to D00118 to RAM addresses 13 to 18 and, 100 ms later, turns ON the Parameter Update Bit (bit 05 of word n+1).
  • Page 197 User Programming Examples Section Incremented by INC Indirect Analog Output Unit address Address Address Analog Output Unit Indirect address Address...
  • Page 198 User Programming Examples Section Reading Data Example: Data is read from RAM addresses 01 to 18 of the Analog Output Unit to address- es D00001 to D00018 (when the Analog Output Unit is allocated to words CIO 0002 to CIO 0005). Sets #0001 in D00197 (default).
  • Page 199 User Programming Examples Section Programming In four-word operating mode, the same handshake bit in the allocated I/O words, Precautions in Four-word the PC Write Completed Bit, is used for both write and read operations in the Operating Mode Analog Output Unit. Therefore, even if exclusive control is performed for each read and write process, when a block in a program turns ON the PC Write Com- pleted Bit, other invalid blocks in the program may turn OFF the bit.
  • Page 200: Using Pulse Signals

    User Programming Examples Section Method 2 In this method, each work bit is turned ON when PC write process is completed, and the result is set in the PC Write Completed Bit according to an OR of these bits. This prevents the PC Write Completed Bit turned ON by one program block from being turned OFF by another program block.
  • Page 201: Writing Eeprom

    User Programming Examples Section Example: A 1.5-s timer is used to monitor pulse signal ON timing. Bit A remains OFF when the pulse signal is normal, but is turned ON when pulse signal is abnormal. Pulse Signal Flag (bit 11 of word n+1) Turns ON bit B for 1 cycle when pulse signals turn ON.
  • Page 202 User Programming Examples Section 3. Bit 3 of word n (EEPROM Write Bit) is turned ON to write data from RAM to EEPROM. When the write process has been completed, word 59 in RAM or EEPROM (Total EEPROM Write Count) is incremented by 1. For programming examples, see EEPROM Write Programming Example on page 192.
  • Page 203 User Programming Examples Section EEPROM Write Programming Example Sets #0012 in D00062. Writes the content of D00062 to the Read Pointer (address 12). (= Flag) Reads the contents of addresses 12 to 61 to D00012 to D00061. Then, the Total EEPROM Write Count Flag (address 59) is read and stored in D000059.
  • Page 204: A Dm Memory Coding Sheets

    Appendix A DM Memory Coding Sheets C500-AD101 Analog Input Unit Data Description Specify points for mean function Specify points to be used Specify points for scaling function Mean value 1 Mean value 2 Mean value 3 Mean value 4 Mean value 5 Mean value 6 Mean value 7 Mean value 8...
  • Page 205 DM Memory Coding Sheets Appendix A C500-AD501 Analog Input Unit Input Signal Range Settings Input signal range Input number 0 to 5 V 0 to 10 V –5 to 5 V –10 to 10 V 0 to 20 mA –20 to 20 mA DIP switch pin settings Slide switch settings Input range...
  • Page 206 DM Memory Coding Sheets Appendix A Bit 15 Hex/BCD value Input point 16 DM word Unit memory memory Function Input point enable bits Input point binary/ BCD select bits Input point scaling enable bits Input point averaging enable bits Input point filtering enable bits...
  • Page 207 DM Memory Coding Sheets Appendix A DM word Unit Function Decimal Hex/BCD memory value value Low alarm limit – input point 11 High alarm limit – input point 11 Low alarm limit – input point 12 High alarm limit – input point 12 Low alarm limit –...
  • Page 208 DM Memory Coding Sheets Appendix A DM word Unit Function Decimal Hex/BCD memory value value Averaging sample counts – input point 14 Averaging sample counts – input point 15 Averaging sample counts – input point 16 Scaling low limit – input point 1 Scaling high limit –...
  • Page 209 DM Memory Coding Sheets Appendix A C500-DA501 Analog Output Unit Output Signal Range Settings Enter circles in applicable cells. Output signal range Output Factory point setting 0 to 10 V 0 to 5 V –5 to 5 V –10 to 10 V 0 to 20 mA 4 to 20 mA 0 to 10 V...
  • Page 210 DM Memory Coding Sheets Appendix A DIP Switch Settings Enter circles in applicable cells. Output point Output point 1 Output point 2 Output point 3 Output point 4 Output point 5 Output point 6 Output point 7 Output point 8...
  • Page 211 DM Memory Coding Sheets Appendix A RAM Data Memory Encoding Sheet Word Output Value Name Description Data Default point 0 to 15 1 Conversion Conversion source data for With No Scaling 0000 Data each output signal. BCD: BCD: Conversion data can be in Conversion data can be in 0 to 4095 0 to 15 2...
  • Page 212 DM Memory Coding Sheets Appendix A Word Output Value Name Description Data Default point Upper/Lower Enables or disables the ON: Enabled Li i E Limit Enable upper/lower limit function for li i f OFF Di OFF: Disabled bl d Bits Bits each output point each output point.
  • Page 213 DM Memory Coding Sheets Appendix A Word Output Value Name Description Data Default point 0 to 15 1 Scaling Lower Scaling lower limit for output BCD: Lower Limit (Output point 1. Set in engineering –7999 to 7999 limit: Point 1) units.
  • Page 214 DM Memory Coding Sheets Appendix A Word Output Value Name Description Data Default point 0 to 15 1 Output Ramp Output ramp set time for BCD: 0008 Set Time output point 1 (in ms). It must 8 to 7999 (Output Point 1) be 8 ms or more.
  • Page 215 DM Memory Coding Sheets Appendix A Word Output Value Name Description Data Default point 0 to 15 1 Output Lower Output lower limit for output With No Scaling Lower Limit (Output point 1. This is used to restrict limit: BCD: Point 1) the output signal range.
  • Page 216 DM Memory Coding Sheets Appendix A Word Output Value Name Description Data Default point 0 to 15 5 Output Lower Output lower limit for output With No Scaling Lower Limit (Output point 5. This is used to restrict limit: BCD: Point 5) the output signal range.
  • Page 217: B Dimensions

    Appendix B Dimensions All dimensions are in millimeters. 3G2A5-AD001 to 3G2A5-AD007 Analog Input Units 3G2A5-DA001 to 3G2A5-DA005 Analog Output Units C500-DA101 and C500-DA103 Analog Output Units C500-AD101 Analog Input Unit...
  • Page 218 Dimensions Appendix B C500-AD501 Analog Input Unit C500-DA501 Analog Output Unit...
  • Page 219: Index

    Index converted data 3G2A5-AD001 to 3G2A5-AD005, 13 3G2A5-AD006 and 3G2A5-AD007, 23 alarms, C500-AD501, 79, 82, 83, 84, 85, 92, 101 C500-AD101, 42, 51 C500-AD501, 82 allocations See also memory allocations CPU Unit, communications DM, C500-AD101, 40 C500-AD101, 37, 50 IR/CIO bits C500-AD501, 76 3G2A5-AD001 to 3G2A5-AD005, 13 C500-DA501, 145, 153...
  • Page 220 Index error flags C500-AD501, 79, 80 C500-DA501, 164, 166, 168, 174, 175 mean value no error flags, C500-DA501, 164, 166 See also averaging C500-AD101, 32, 41, 51 memory allocations See also allocations 3G2A5-AD001 to 3G2A5-AD005, 13 3G2A5-AD006 and 3G2A5-AD007, 23 features 3G2A5-DA001 to 3G2A5-DA005, 110 Analog Input Units, 2...
  • Page 221 Index pointer word performance C500-AD501, 84, 95 3G2A5-AD001 to 3G2A5-AD005, 8 C500-DA501, 165, 169 3G2A5-AD006 and 3G2A5-AD007, 18 3G2A5-DA001 to 3G2A5-DA005, 106 power consumption, C500-AD501, 70 C500-AD101, 28 C500-AD501, 62 power supply, flag, C500-DA501, 164, 166 C500-DA101, 116 precautions C500-DA501, 136 applications, xvii C500-DA103, 128 averaging and alarms, C500-AD501, 88...
  • Page 222 Index current outputs voltage inputs 3G2A5-DA001 to 3G2A5-DA005, 109 3G2A5-AD001 to 3G2A5-AD005, 11 C500-DA101, 120 3G2A5-AD006 and 3G2A5-AD007, 21 diagrams, C500-AD501, 73 C500-AD101, 36 precautions voltage outputs 3G2A5-AD001 to 3G2A5-AD005, 12, 13 3G2A5-DA001 to 3G2A5-DA005, 109 3G2A5-AD006 and 3G2A5-AD007, 22 C500-DA101, 120 3G2A5-DA001 to 3G2A5-DA005, 109 C500-DA103, 131...
  • Page 223: Revision History

    Revision History A manual revision code appears as a suffix to the catalog number on the front cover of the manual. Cat. No. W258-E1-05 Revision code The following table outlines the changes made to the manual during each revision. Page numbers refer to the previous version.
  • Page 224 Revision History Revision code Date Revised content April 2003 The following changes were made. Page 30: Callouts changed. Page 53: Program concept diagram and timing chart added. Page 91: Item 0 for 152 removed from table and item 5 removed from list. Page 172: Data changed for word 60.
  • Page 225 OMRON ELECTRONICS LLC One Commerce Drive Schaumburg, IL 60173-5302 U.S.A. Tel: (1) 847-843-7900/Fax: (1) 847-843-7787 OMRON ASIA PACIFIC PTE. LTD. No. 438A Alexandra Road # 05-05/08 (Lobby 2), Alexandra Technopark, Singapore 119967 Tel: (65) 6835-3011/Fax: (65) 6835-2711 OMRON (CHINA) CO., LTD.
  • Page 226 Authorized Distributor: Cat. No. W258-E1-05 Note: Specifications subject to change without notice. Printed in Japan This manual is printed on 100% recycled paper.

Table of Contents