Home

SYSMAC C-series/CVM1/CV-series Analong I/O Units OPERATION

image

Contents

1. cae ee pee a ee Input device a i 0 Voltage input Input point 1 Ne Input i 3 Shield OV M 4 V en 5 Voltage input 7 Input Input point 2 n eae 8 Shield OV 9 Shielded twisted pair eas cable Connect resistors from the shield to the positive and negative terminals Input device Re 15kO V LA 0 Voltage input d Input point 1 _ G 2 Input 3 Shield ov R 4 V ry A 5 Voltage input 7 Input Input point 2 7 aes 8 Shield OV 9 Shielded twisted pair cable IR CIO Bit Allocations Section 2 2 Current Input Precaution 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 devi ae nput device REKO V s D 0 Voltage input 1 Current input maura ov 7 J J R 2 Input nput poin ep 3 Shield 4 V a i 5 Voltage input j J6 Current input ov 4 z Ht 7 Input Input point 2 8 Shield 9 o Shielded twisted pair cable Abide by the following precaution when the same power supply is used for the input points Connect the wiring as shown in the diagram above when the same power supply is used for input points 1 and 2 Note Unlike when separate power supplies are used the shield terminal must not be shorted to the negative terminal 2 2
2. DM word Function Decimal value Low alarm limit input point 1 High alarm limit input point 1 Low alarm limit input point 2 High alarm limit input point 2 Low alarm limit input point 3 High alarm limit input point 3 Low alarm limit input point 4 High alarm limit input point 4 Low alarm limit input point 5 High alarm limit input point 5 Low alarm limit input point 6 High alarm limit input point 6 Low alarm limit input point 7 High alarm limit input point 7 Low alarm limit input point 8 High alarm limit input point 8 Low alarm limit input point 9 High alarm limit input point 9 Low alarm limit input point 10 High alarm limit input point 10 195 DM Memory Coding Sheets Appendix A Unit Function Decimal memory value map 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 input point 13 High alarm limit input point 13 Low alarm limit input point 14 High alarm limit input point 14 Low alarm limit input point 15 High alarm limit input point 15 Low alarm limit input point 16 High alarm limit input point 16 Filtering
3. DM Memory Coding Sheets Appendix A Word Bit Output Value Name Description Data Default point 17 0to15 1 Scaling Lower Scaling lower limit for output BCD Lower Limit Output point 1 Set in engineering 7999 to 7999 limit Point 1 units F999 to 7999Hex OO00Hex 18 0to15 Scaling Upper Scaling upper limit for output Binary ati Limit Output point 1 Set in engineering 32767 to 32767 ste Point 1 units 8001 to 7FFFHex Hex 19 0to 15 2 Scaling Lower Scaling lower limit for output Limit Output point 2 Set in engineering Point 2 units 20 Oto 15 Scaling Upper Scaling upper limit for output Limit Output point 2 Set in engineering Point 2 units 21 0to15 3 Scaling Lower Scaling lower limit for output Limit Output point 3 Set in engineering Point 3 units 22 Oto 15 Scaling Upper Scaling upper limit for output Limit Output point 3 Set in engineering Point 3 units 23 0to 15 4 Scaling Lower Scaling lower limit for output Limit Output point 4 Set in engineering Point 4 units 24 Oto 15 Scaling Upper Scaling upper limit for output Limit Output point 4 Set in engineering Point 4 units 25 0to 15 5 Scaling Lower Scaling lower limit for output Limit Output point 5 Set in engineering Point 5 units 26 Oto 15 Scaling Upper Scaling upper limit for output Limit Output point 5 Set in engineering Point 5 units 27 0to 15 6 Scaling Lower Scaling lower limit for output
4. Over range and An Out of range Error Flag is turned ON when the input under range errors signal exceeds the set input signal range EEPROM parameter Parameters can be stored in EEPROM so that they are storage used automatically at startup Refer to 5 6 Functions for details on special functions 65 Specifications and General Information Section 5 1 5 1 5 Description of Parts The parts of the Unit are identified below Unit model Indicator cover Set screw DIP switches 1 0 terminal block Set screw Front of Unit 66 Input 1 Slide switches Input 16 Front of Unit without Terminal Block Removed Rear of Unit Backplane connector Specifications and General Information Section 5 1 5 1 6 Indicators Indicators Function RUN Green ERROR Red 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 If the indicator flashes replace the Unit An internal diagnostic error or an out of range error occurred RANGE Red An input signal is outside the selected range Indicator cover 1 0 terminal block 67 Specifications and General Information Section 5 1 5 1 7 DIP Switches and Slide Switches 68 DIP switch pins for inputs 1
5. Note DIP switch and slide switch settings are enabled when the power supply to the PC is turned ON Follow steps 1 through 5 to set current or voltage range for each input point 1 Remove the I O terminal block in the front of the Unit by backing out the cap tive screw at the top and bottom of the block then pull off the terminal block 2 Set the input range for each input An input range is set using the corre sponding DIP switch pins and slide switch Each DIP switch is used to set two input ranges 3 The DIP switch pins are ON when they are up i e in the direction of the arrow and OFF when they are down The slide switch sets a voltage input when it is on the left and a current input when it is on the right Slide switch Voltage input oo Slide switch Board Current input i Board 4 Use the Configuration Sheet in Appendix A to record Unit settings 5 After settings are made reinstall the I O terminal block and tightening the captive screws 71 Installation Settings and Wiring Section 5 3 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 Secure each wire with the terminal screw t Indicator cover Set screw 1 0 l terminal block S tt
6. Output Ramp Set Time for Output Point 8 Output ramp set time for output point 8 in ms It must be 8 ms or more BCD 8 to 7999 0008 to 7999 Hex Binary 8 to 32767 0008 to 7FFFHex Section Default 9 3 Read R Write W 171 Data Exchange with CPU Unit Output Lower Limit for Output Point 1 Description Output lower limit for output point 1 This is used to restrict the output signal range When the scaling function is enabled data is set in engineering units Output Upper Limit for Output Point 1 Output upper limit for output point 1 This is used to restrict the output signal range When the scaling function is enabled data is set in engineering units Output Lower Limit for Output Point 2 Output lower limit for output point 2 This is used to restrict the output signal range When the scaling function is enabled data is set in engineering units Output Upper Limit for Output Point 2 Output upper limit for output point 2 This is used to restrict the output signal range When the scaling function is enabled data is set in engineering units Output Lower Limit for Output Point 3 Output lower limit for output point 3 This is used to restrict the output signal range When the scaling function is enabled data is set in engineering units Output Upper Limit for Output Point 3 Output upper limit for output point 3 T
7. 00014 00114 l 00015 00115 47 Two word Operation sssss lt s s s lt i s S S SCSCCSCS ction 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 CV CVM1 Series Because the CV CVM1 Series offers higher processing speeds than the C Se Programming Examples ries C Series programs may not run correctly if converted for the CV Series To use a program with the CV Series the C500 AD101 Unconfirmed Data Flag CIO n 1 Bit 03 must be inserted as a execution condition for the WRIT instruc tion I O bit Function C500 AD101 Unconfirmed Data Write Complete Write Complete Hold Read Complete Data 0 Disconnected Data 1 Disconnected Data 2 Disconnected Data 3 Disconnected Data 4 Disconnected Data 5 Disconnected Data 6 Disconnected Data 7 Disconnected 48 Two word Operation Section 4 3 1 cycle ON A500 15 030 MOV 030 MOV 030 MOV 030 MOV 030 MOV 030 MOV 030 MOV 030 MOV 030 MOV 030 MOV 0010 190 READ 0009 030 MOV 101 BCD 101 BCD 101 BCD 101 BC
8. B H TIM 001 0015 The timer starts counting after 1 cycle If pulse signal turns ON and OFF every 0 5 second the timer is reset before timeout occurs leaving bit A turned OFF Otherwise the timer expires after 1 5 seconds causing bit A to turn ON T001 A f Normal Operation Pulse Signal i Flag m 0 5 s r 0 5 1 0 5 S re 0 5 S i ON OFF 1 cycle 1 cycle i ON Baad Uem oa e Timer T001 STS E E E LoS a aa 1 5 aaa OFF i i i t Count t Count i t a ON Reset Reset OFF Abnormal Operation Pulse Signal Flag OFF Be ORRAT Tia ot oan o a a Timer T001 15s OFF __ Count 1 If pulse signal OFF timing is also to be monitored a 0 8 s timer is used to monitor both pulse signal ON and OFF timing 9 5 4 Writing EEPROM Function Data can be written from RAM to EEPROM Data in RAM will be lost when the power is turned OFF Therefore if data needs to be stored use this function to write it to EEPROM Setting Procedure 1 2 3 1 Word 59 in RAM or EEPROM Total EEPROM Write Count is read and stored in DM 2 The value stored in DM is written to word 61 in RAM Total EEPROM Write Count Setting 190 User Programming Examples Section 9 5 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 W
9. Input C condition F Writes H m WRIT conversion data E E A50006 F Flag Data Exchange with CPU Unit Section 9 3 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 A Y4 It H O Y y Word n 1 1 bit2 MOV a s Jesss first RAM address a in S iE Write source first address B First RAM address MOV Data S 1 ia eae and conversion Sets parameters and conversion data in S 2 Data 2 Jemes data from m words starting from S 1 to the addresses starting from a in the Analog Output Unit A50006 s Flag 159 Data Exchange with CPU Unit Section 9 3 Four word Operating Mode Writing Data 160 1 2 3 Data n Pointer n 1 Read Write Request Bit PC Write n 1 Completed Bit Analog Output Unit Read Completed Flag n 3 1 The CPU Unit uses MOV or another similar instruction to set data in word n of the allocated I O words 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 The CPU Unit sets bit 00 of word n 1 Read Write Request Bit OFF for read ON for write to 1 The CPU Unit turns ON bit 06 of word n 1 PC Write Completed Bit 5 The Analog Output Unit reads data from word n
10. MOV 0000 00154 Step 1 Using a 1 word write instruction set the pointer word to 0 191 WRIT 0001 D00154 Qoo02 Q000104 Q000112 Q000104 A50006 011 KEEP Q000105 Q000107 Q000105 Q000107 190 READ 0047 10003 D00000 Step 2 Read the first 47 words from the Unit memory map and store in Q000106 Abcoibe DMO000 to DM0046 Confirm that the pointer was set to 0 A50006 020 AS50006 Q000115 cmp D00154 Dooo46 Q000115 011 KEEP Qo00107 Step 3 Read complete Q000109 Q000107 Q000109 030 Step 4 Set pointer with word equal to Mov 0046 D00154 0046 using a 1 word write instruction Q000108 191 WRIT 0001 D00154 Qo002 Q000108 A50006 011 j KEEP Q000109 Q000112 e Q000109 Q000112 190 READ 0108 10003 D00046 Step 5 Read 108 words from the Unit memory map beginning with word 46 qQoo0111 and store in DM0046 DM015 A50006 020 A50006 Q000112 cmp D00154 Doooss F _ Q000111 99 User Programming Examples 5 7 6 Typical Programming Examples Examples 1 through 4 are typical ladder diagrams that show the flexible access Section to the Unit set up and advanced functions Example 1 Configuring the Scaling Function Execution condition Q000114 191 WRIT 0003 D00418 Qo002 Q000113 Latch Q000113 Latch Q000114 A50006 19
11. 7999 to 7999 F999 to 799946 Binary 32767 to 32767 8001 to 7FFF yx 205 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 fej jele al KI gl Kl KI if Ei iti Fi g g wi Ki ii rd j Beer ee eo sae ICQOOCOURCROOUON 207 Dimensions Appendix B C500 AD501 Analog Input Unit C500 DA501 Analog Output Unit 208 A alarms C500 AD501 79 82 83 84 85 92 101 allocations See also memory allocations DM C500 AD101 40 IR CIO bits 3G2A5 AD001 to 3G2A5 AD005 13 3G2A5 AD006 and 3G2A5 AD007 23 3G2A5 DA001 to 3G2A5 DA005 110 C500 AD101 39 50 C500 AD501 78 C500 DA101 122 C500 DA501 163 C500 DA103 132 averaging See also mean value C500 AD501 83 84 86 91 103 bipolar inputs 3G2A5 AD001 to 3G2A5 AD005 14 bipolar outputs 3G2A5 DA001 to 3G2A5 DA005 111 block diagrams 3G2A5 AD001 to 3G2A5 AD005 10 3G2A5 AD006 and 3G2A5 AD007 20 3G2A5 DA001 to 3G2A5 DA005 108 C500 AD101 30 C500 AD501 69 C500 DA101 118 C500 DA501 143 C500 DA103 130 C common mode input signals 3G2A5 AD001 to 3G2A5 AD005 11 configuration worksheets C500 AD101 193 C500 ADS501 194 C500 DA501 198 DM memory C500 AD101 193 configurations 5 servomotor positioning system 6 tempera
12. Output Signal Range Selection BCD Binary Mode Selection Output signal Either BCD or range can be binary can be set set Scaling Upper Lower Limits Conversion data can be set in Output signals remain constant when engineering units The scaling conversion data exceeds the upper limit upper and lower limits are set or drops below the lower limit 5V A HERE q limit pe D 5 5 2 2 Lower fo O limit 0 0 4095 Resolution t Conversion Conversion Example 0 Scaling Scaling lower limit upper limit a Conversion data Note Reverse scaling lower limit 100 upper limit 0 is also possible Output Ramps Output ramps can be used to make output signals change at a specified rate to prevent sudden changes in response to changes in conversion data Output signal 5V V Time Set time Settime Set time 141 Specifications and General Information Section 9 1 9 1 3 Description of Parts Model label Indicator cover Backplane connector Spt ocrew Allocated I O two four word mode switch Output 3 1 2 Output z 2 3 Output o Terminal 3 DIP switches for block Output 9 setting output 4 5 ranges Output 8 g 5 Output a 6 5 Output A 7 a Switch for setting O operation when PC Output power is 8 interrupted Set screw Front Front With Terminal Block and Cover Removed 9 1 4 Indicators Indicator Function Lit while the Unit is operating normally Turns O
13. Output Specifications Each output point for the C500 DA501 can be set to one of the output signal ranges shown in the following table Output signal range Unit O0to10V C500 DA501 Oto5V 5to 5V 10 to 10 V 0 to 20 mA 4 to 20 mA BCD or binary can be selected as the output data for each output point The scaling function can be set for each output point The upper lower limit function can be set for each output point The output ramp function can be set for each output point High speed D A conversion can be set for all eight output points Basic Configuration Section 1 2 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 CPU SYSMAG C500 C1000H C2000H CVM1 CV500 CV1000 CV2000 Sensor Temperature Pressure Speed Flow rate Voltage Current Power Power factor ensor Example Configurations Regulator Temperature control Pream P Servomotor controller Position control Trans Inverter M ducer Speed control recorder The diagram above shows the C500 AD501 and C500 DA101 as examples of Analog I O Units Temperature Regulating System Temperature sensing element C500 DA101 Analog Output Unit C500 AD501 Analog Input Unit Transducer Basic Co
14. Scaling high limit input point 16 197 DM Memory Coding Sheets Appendix A C500 DA501 Analog Output Unit Output Signal Range Settings Enter circles in applicable cells Output signal range Factory 0to10V 5to5V 10to10V 0to20mA 4to20mA setting Oto 10V INI ODO HR oO rm Output Signal Range Setting DIP Switch on the Back of the Unit Settings Output signal range Factory set ting Oto10V 5to5V 10 to 10 V 0 to 20 mA 4 to 20 mA O0to10V i DIP Switches for Setting Voltage Output Ranges on the Front of the Unit Voltage output Factory setting 10 to 10 V Enabled Disabled 5to5V Enabled Disabled 0to10V Enabled Disabled Oto5V Enabled Disabled Note 1 When a voltage output is set set the same output signal range on the out put signal range DIP switch and the voltage output range DIP switch 2 Outputs will not be correct if more than one DIP switch pin is turned ON Turn ON only one of the pins shown above 3 When the output signal range is set to 4 to 20 mA or to 0 to 20 mA the output will not be affected by the settings of these DIP switch pins 198 DM Memory Coding Sheets DIP Switch Settings Appendix A Enter circles in applicable cells Output point Output point 1 Output point 2 Output point 3 Output point 4 1 2 3 4
15. 4 2 Functions Settings and Wiring 4 2 1 Operational Flow Set operating mode Set input ranges Refer to 4 2 5 Wiring Word allocation Allocate words in IR CIO and DM Areas Write the CPU Unit pro gram SS SSeS ai 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 igh Bee EEA Mount the Unit Set the input range for each input port The factory setting is 1 to 5 V 4 to 20 mA The setting does not need to be changed to use this range Refer to 4 2 4 Setting the Input Ranges Pies GSS ee Connect input signal wiring Refer to 4 3 Two word Operation and 4 4 Four word Operation 31 Functions Settings and Wiring o Section4 2 4 2 2 Functions A D Conversion Voltage Inputs OFFF 4095 Digital value 0000 0 1V 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 Current Inputs Gain see note 2 Gain see note 2 OFFF ___ _ 4095 Digital 2 value 1 5V 10V 0 4mA 20 mA Analog input voltage Analog input voltage Offset see note 1 Offset see note 1 C500 AD101 Functions 32 Note Current input 20 mA max Analog input voltage and current values are converted to binary between the off
16. 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 input point 1 Scaling low limit input point 2 Scaling high limit input point 2 Scaling low limit input point 3 Scaling high limit input point 3 Scaling low limit input point 4 Scaling high limit input point 4 Scaling low limit input point 5 Scaling high limit input point 5 Scaling low limit input point 6 Scaling high limit input point 6 Scaling low limit input point 7 Scaling high limit input point 7 Scaling low limit input point 8 Scaling high limit input point 8 Scaling low limit input point 9 Scaling high limit input point 9 Scaling low limit input point 10 Scaling high limit input point 10 Scaling low limit input point 11 Scaling high limit input point 11 Scaling low limit input point 12 Scaling high limit input point 12 Scaling low limit input point 13 Scaling high limit input point 13 Scaling low limit input point 14 Scaling high limit input point 14 Scaling low limit input point 15 Scaling high limit input point 15 Scaling low limit input point 16
17. C500 AD501 Analog Input Unit Input signals on protective plastic cover Shield Input 1 Input 2 Input 3 Input 4 Input 5 Input 6 Input 7 Input 8 Shield Input 9 Input 10 Input 11 Input 12 Input 13 Input 14 Input 15 Input 16 Shield 1 0 terminal block designations KO BO Shield Mi B1 Input 1 wD B2 Input 2 A3 B3 Input 3 Aa B4 Input 4 B5 Input 5 A5 BG RE r input nput 7 a B8 Input 8 KO B9 Shield Kio B10 Input 9 AT Haa Input A12 PUE nia N13 a put 12 A14 14 nput 13 M5 B15 Input 14 B16 Input 15 A16 B17 Input 16 ANT B18 Shield A18 Input signals on protective plastic cover 72 Installation Settings and Wiring Section 5 3 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 1 Shield MUX Input 2 Shield 1 J Input points 3 to 16 are similar Note Shield terminals are not connected to the chassis ground of the PC Rack They are connected to the internal analog ground plane of the Unit Single ended Input with Shield Common
18. Page 38 Added information on restrictions for READ WRIT July 2001 The insert providing precautionary information was moved to pages 105 and 116 In addition the following changes were made Page xiii Minor change to wording of Application Precautions Pages 53 and 57 Changes made to ladder diagrams Page 75 Information added to step 5 Page 77 156 and 157 Changes made to tables Page 94 Note added and changes made to ladder diagram Page 149 Information added after first paragraph Page 152 Changes made to ladder programs Page 170 Note added 213 Revision code April 2003 Revision History Revised content 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 189 Bit 00 removed from table 214 August 2007 The following changes were made to reflect changes in C500 AD501 and C500 DA501 specifications Page xi Added Warranty and Limitations of Liability Page xiv Added Conformance to EC Directives Page 62 Updated information for the input signal ranges and added notes below the table Page 66 Replaced the figures Page 67 Deleted the top paragraph modified the table and replaced the fig ures Page 68 Modified the text and replaced the figures Page 69 Replaced the figures Pages 70 and
19. SYSMAC C series CVM1 CV series Analog I O Units OPERATION MANUAL OMRON SYSMAC C series CVM1 CV series Analog I O Units Operation Manual Revised August 2007 Notice OMRON products are manufactured for use according to proper procedures by a qualified operator and only for the purposes described in this manual The following conventions are used to indicate and classify precautions in this manual Always heed the information provided with them Failure to heed precautions can result in injury to people or dam age to property DANGER Indicates an imminently hazardous situation which if not avoided will result in death or serious injury Additionally there may be severe property damage N WARNING Indicates a potentially hazardous situation which if not avoided could result in death or serious injury Additionally there may be severe property damage N Caution Indicates a potentially hazardous situation which if not avoided may result in minor or moderate injury or property damage OMRON Product References All OMRON products are capitalized in this manual The word Unit is also capitalized when it refers to an OMRON product regardless of whether or not it appears in the proper name of the product The abbreviation Ch which appears in some displays and on some OMRON products often means word and is abbreviated Wd in documentatio
20. ono Nn OO HM F amp F Oo wD Model label 17 pin terminal block Refer to 3 1 4 Wiring for details of wiring connections 19 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 Input point 1 Input Shield Voltage input A D Photo Current converter gt coupler Input input point 2 Input Shield Voltage input Current input Input point 3 Input Shield Photo Timing Voltage coupler circuit input Current Input input Isolation point 4 Input DC DC P converter Shield Analog 0 V 20 Specifications and General Information 3 1 4 Wiring Voltage Inputs Input device OV gt Voltage input Input Shield Voltage input CO CO N 0 01 A OIN O Input Shield Voltage input Input Shield Voltage input Current Inputs H Shielded twisted pair cable for input points 1 through 4 Input Shield Voltage input Current input Input Shield Voltage input Current input Input INIA A ON Shield Voltage input Current input Input Shield Voltage input Current input Input device V ov B V ov a
21. 0210 n Sets RAM address in the leftmost byte of word n 1 Bit 00 of Write word n 1 Turns ON bit 00 of word n 1 process Read Write Request Bit to specify a write Bit 06 of Bit 06 of word n 3 word n 1 Turns ON bit 06 of word n 1 PC Write Completed Bit and turns it OFF when bit 06 of word n 3 Analog Output Unit Read Completed Flag is turned ON Reading Data i 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 in the allocated I O words The CPU Unit turns OFF bit 00 of word n 1 Read Write Request Bit OFF for read ON for write The CPU Unit turns ON bit 06 of word n 1 PC Write Completed Bit to notify the Analog Output Unit that RAM address has been set When the Analog Output Unit reads RAM address bit 06 of word n 3 Ana log Output Unit Read Completed Flag is turned ON The CPU Unit verifies that bit 06 of word n 3 is turned ON then turns OFF bit 06 of word n 1 PC Write Completed Bit When bit 06 of word n 1 is turned OFF bit 06 of word n 3 Analog Output Unit Read Completed Flag turns OFF again When the Analog Output Unit reads data from the specified address and sets it in word n 2 bit 07 of word n 3 Analog Output Unit Write Completed Flag is turned ON The CPU Unit verifies that bit 07 of word n 3 is ON then reads data from word n 2 At the same time it turns ON bit 07 of word n 1
22. 61 5 1 Specifications and General Information 0 0 0 0 eee eee eee 62 5 2 QuickStart Procedure ese eon eed ee Oe oiled E A E E E ee RAGA eRe OS 69 5 3 Installation Settings and Wiring 0 00 eee eee eee 70 5 4 Data Exchange with CPU Unit 0 ee eee 76 5 9 Memory Map eeen e E Sag ras oe E E en ea E A EERE 80 5 6 FUNCHONS srani ra o A Ges SRA es SIEGE AOR ONT es 87 5 7 User Programming Examples 00 eee eee eens 94 SECTION 6 3G2A5 DA001 to 3G2A5 DA005 Analog Output Units 105 6 1 Specifications and General Information 0 0 0c eee eee eee eee 106 6 2 IR CIO Bit Allocations 0 0 cece eens 110 6 3 Functions and User Programs 0 cece eee eee eens 110 SECTION 7 C500 DA101 Analog Output Unit 15 7 1 Specifications and General Information 00 0 0 eee eee 116 7 2 IR CIO Bit Allocations sessie sek be he aWwa ba ed ds Saeed E NER bea ees 122 7 3 Functions and User Programs 0 eee cee eee eee 123 vii Viii TABLE OF CONTENTS SECTION 8 C500 DA103 Analog Output Unit 8 1 Specifications and General Information 0 0 0 cee eee 8 2 TR CIO Bit Allocations e ofc sf eadiv ea kk fae ba a Seen La bisa ba ee Pee eee 8 3 Functions and User Programs 0 0 0 eects SECTION 9 C500 DA501 Analog Output Unit 9 1 Specifications and Ge
23. C500 DA101 120 3G2A5 AD006 and 3G2A5 AD007 21 diagrams C500 ADS501 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 C500 DA101 120 C500 AD501 75 writing data C500 DA501 152 C500 AD101 40 C500 DA103 131 C500 ADS501 95 terminal connections C500 DA501 160 182 184 C500 AD101 36 completing C500 DA501 165 166 C500 DA101 120 requesting read write C500 DA501 165 C500 DA103 131 setting contents C500 AD101 41 212 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 L Revision code The following table outlines the changes made to the manual during each revision Page numbers refer to the previous version Revision code July 1995 Revised content Original production December 1995 Page 49 Last two lines of the program corrected July 1999 C500 AD501 Analog Input Unit added from W259 to section 1 as a new section section 5 and to the appendices C500 DA501 Analog Output Unit added to section 1 as a new section section 9 and to the appendices Modified terminology to agree with other manuals Added PLP section Added two appendices Page 6 and 33 Corrected wording of cautions on Slave Racks Page 32 Added information on disconnection detection
24. Example 1 0 to 5 V output for 0 to 100 Example 2 4 to 20 mA output for 100 to 200 C 5V 20mA c m D wn no S 5 a a 5 5 O O OV 4mA 0 100 100 200 C Conversion data Conversion data Output Point 1 Address i Function Settings Example 1 Example 2 Scaling Enable Bit ON ON Enabled Enabled BCD Binary Mode Bit ON BCD ON BCD Scaling Lower Limit 0000Hex 8100Hex Scaling Upper Limit 0100Hex 0200Hex 176 Functions Section 9 4 Examples of Reverse Scaling Example 3 0 to 5 V output for 0 to 100 5V Output signal oO lt 0 20mA Output signal Conversion data Output Point 3 Address Function Scaling Enable Bit Example 4 4 to 20 mA output for 300 to 0 C Conversion data Settings Example 3 ON Enabled Example 4 ON Enabled BCD Binary Mode Bit ON BCD ON BCD Scaling Lower Limit 0100Hex 0300Hex Scaling Upper Limit 0000Hex 0000Hex 9 4 3 Output Ramps The output ramps make output signals gradually change with time to prevent sudden changes in response to Conversion data fluctuations The time required to change the present value to a new value is set in ms This function can be set individually for each output point When an output signal reaches the new value after the ramp set time elapses the output signal holds that value if there is no new chang
25. Limit Output point 6 Set in engineering Point 6 units 28 Oto 15 Scaling Upper Scaling upper limit for output Limit Output point 6 Set in engineering Point 6 units 29 0to15 7 Scaling Lower Scaling lower limit for output Limit Output point 7 Set in engineering Point 7 units 30 0to15 Scaling Upper Scaling upper limit for output Limit Output point 7 Set in engineering Point 7 units 31 0to 15 8 Scaling Lower Scaling lower limit for output Limit Output point 8 Set in engineering Point 8 units 32 Oto 15 Scaling Upper Scaling upper limit for output Limit Output point 8 Set in engineering Point 8 units 202 DM Memory Coding Sheets Appendix A Word Bit Output Value Name Description Data Default point Output Ramp Set Time Output Point 1 Output ramp set time for output point 1 in ms It must be 8 ms or more Output Ramp Set Time Output Point 2 Output ramp set time for output point 2 in ms It must be 8 ms or more Output Ramp Set Time Output Point 3 Output ramp set time for output point 3 in ms It must be 8 ms or more Output Ramp Set Time Output Point 4 Output ramp set time for output point 4 in ms It must be 8 ms or more Output Ramp Set Time Output Point 5 Output ramp set time for output point 5 in ms It must be 8 ms or more Output Ramp Set Time Output Point 6 Output ramp set time for output point
26. Linearity error 0 1 max Accuracy 0 2 max full scale at 25 C Accuracy temperature coefficient 100 PPM C full scale Conversion time 2 5 ms max point Conversion cycle 5 ms max Max PC write delay 1 s max see note 2 Conversion method Sequential comparison Words allocated 2 input words External connections 17 pin terminal block not removable Power consumption 500 mA max at 5 VDC External dimensions 34 5 x 250 x 113 mm W x H x D Weight 600 g max Note 1 A sign bit 11 data bits binary data for Units with 10 to 10 V and 5 to 5 V range 3G2A5 AD004 and 3G2A5 AD005 2 The PC write delay is the time required for a change in the input signal to be converted and transferred to the PC bus Specifications and General Information Section 2 1 PC Write Delay Analog input signal OV Time onversion ree ee a A filter inside the Unit causes the digital signal to increase Digital output signal in a stepwise fashion 0000 Time PC write delay 2 1 2 Description of Parts 3G2A5 AD001 to 3G2A5 AD005 Model label 17 pin terminal block Refer to 2 1 4 Wiring for details of wiring connections aan a A K2 2 0 0a a KO Specifications and General Information Section 2 1 2 1 3 Block Diagram The following diagram shows the basic internal connections of the Unit Discon
27. PC Read Com pleted Bit When bit 07 of word n 1 is turned ON bit 07 of word n 3 Analog Output Unit Write Completed Flag turns OFF again 161 Data Exchange with CPU Unit Section 9 3 162 Pointer Read Write Request Bit PC Write Completed Bit Analog Output Unit Read Completed Flag Read data Analog Output Unit Write Completed Flag PC Read Completed Bit 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 Allocated 1 Sets RAM address b 2 Specifies read or write Analog Output Unit Allocated I O words gt 3 Turns ON the PC Write Completed Bit 4 The Analog Output Unit Read Completed Flag is turned ON 5 Turns OFF the PC Write Completed Bit Address RAM 6 The Analog Output Unit Read Completed Flag turns OFF again 7 Data is set in word n 2 and the Analog Output Unit Write Completed Flag is turned ON 8 Reads data from word n 2 and turns ON the PC Read Completed Bit 9 The Analog Output Unit Write Completed Flag is turned OFF 10 Turns OFF the PC Read Completed Bit Timing Chart n 1 08 to 15 1 2 00 n 1 06 3 5 Reads n 3 06 it ny address 4 6 n 2 00 to 15 gt lt 7 n 3 07 o e o S o Reads n 1 07 data 3 10 7 Reads data Data Exchange with CPU Unit Section 9 3 9 3 2 IR CIO Bit Allocations Two word Operating Mode Output Wo
28. Reads the converted data from IR 004 and stores it in DM 0003 Converts the content of DM 0003 to BCD and outputs it to IR 008 25 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 4 1 Specifications and General Information 0 0 00 eee eee eee eee ee 28 4 1 1 Specification Sin eir ra e etd bd gaat abstinent Roane doe 28 4 1 2 Description of Parts 2 255628 sponini baie bn tesa cat KES eed eels ee 29 4 1 3 Block Diagram eeen 5 eee eee eee ee ees Se Cs cae A Page Rha wee 30 4 2 Functions Settings and Wiring 0 ec rererere 31 4 2 1 Operational FlOW sasia a ee San ba ee ee aS aes eee ee 31 4 2 2 FUNCHONS 6 2 ce E SRR OPS Rae MONS Thode a Be ees Pate 32 4 2 3 Word Operating Mode 0 0 ee eens 33 4 2 4 Setting the Input Ranges 0 0 00 eee eee 34 4 2 5 WATE so oe ee Re ORG Bids RES Ee hes Te A Shee E EE a 36 4 3 Two word Operation cipal ee eee eb aa sbeebs adeeb bab ae eee ete ees 37 4 3 1 Communications with CPU Unit 00 0 eee eee 37 4 3 2 IR CIO Bit Allocations 0 0 0 ee eens 39 4 3 3 DM Allocations sessie eb oar es 2 SARS ENG a kaw ag age als 40 4 3 4 Programming Examples 00 0 0 eee eceeeeenee 43 4 4 Four word Operation s kiran aea a EE cece e ene s 50
29. allows the user to selectively read and write parts of the Unit memory map 00 to 15 Input point enable bits These bits are turned ON by the user to enable disable each input point The Unit scans only input points that are enabled The default value is all input points enabled 00 to 15 BCD binary select bits These bits are turned ON or OFF by the user to select the data format used by each input point ON BCD OFF Binary This selection specifies the format of the conversion data in words 01 to16 BCD and binary can be used at the same time for different input points NOTE When specifying a data for mat for an input point all Unit memory map words for that specific input point should have the same for mat Mixing formats for an input point will cause erroneous results to be reported The default value is BCD ON for all input points 00 to 15 Scaling enable bits These bits are turned ON by the user to enable disable the scaling function for each input point The default value is disabled OFF for all input points 00 to 15 Averaging enable bits These bits are turned ON by the user to enable disable the Averaging function for each input point The default value is disabled OFF for all input points 00 to 15 Filtering enable bits These bits are turned ON by the user to enable disable the filtering function for each input point The default value is disabled OFF for all
30. nection detector Isolation Voltage input Current input Input point 1 Input Shield A D Photo v i converter A coupler Voltage input Current Input input point 2 Input Shield Analog 0 V Photo Timing coupler circuit Isolation DC DC converter Note Disconnection detection for input signal specifications 1 to 5 V 4 to 20 mA range 83G2A5 AD001 only 10 Section 2 1 Specifications and General Information 2 1 4 Wiring Voltage Inputs Current Inputs 1 Common Mode Input S Input device ignals aa are Voltage input Input point 1 e Input Shield AS An Voltage input TRE Input point 2 OV Z T nput Shield Shielded _ _ twisted pair cable 2 Differential Output Signals Separate power supplies for input points 1 and 2 are used Input device l V a An 0 Voltage input 7 J 5 Input point 1 OV l nput a 3 Shield 4 V eat 5 Voltage input J Input point 2 OV nput a 7 8 Shield Shielded 9 _ _ ___ twisted pair cable Separate power supplies for input points 1 and 2 are used Input device V tA An 0 Voltage input Current input Input point 1 OV Sez T Input 3 Shield 4 V f 5 7 5 Voltage input 6 Current input ov f 7 Input Input point 2 T 8 S
31. the scaling function is enabled data is set in engineering units Output Upper Limit Output Point 3 Output upper limit for output point 3 This is used to restrict the output signal range When the scaling function is enabled data is set in engineering units 204 Output Lower Limit Output Point 4 Output lower limit for output point 4 This is used to restrict the output signal range When the scaling function is enabled data is set in engineering units Output Upper Limit Output Point 4 Output upper limit for output point 4 This is used to restrict the output signal range When the scaling function is enabled data is set in engineering units With No Scaling BCD 0 to 4095 0000 to 4095pHex or 2048 to 2048 A048 to 2048Hex Binary 0000 to OFFFHex or F800 to O7FFiex With Scaling BCD 7999 to 7999 F999 to 799946 Binary 32767 to 32767 8001 to 7FFF yx DM Memory Coding Sheets Appendix A Word Bit Output Value Name Description Data Default point Output Lower Limit Output Point 5 Output lower limit for output point 5 This is used to restrict the output signal range When the scaling function is enabled data is set in engineering units Output Upper Limit Output Point 5 Output upper limit for output point 5 This is used to restrict the output signal range When the scaling function is enabled data is
32. 00107 00300 00315 Reads the data below with the falling edge of bit IR 00315 A D Designates A D Write 10000 k penti Completed Flag 10009 Write Completion Flag 10000 00308 00309 00108 m Input point 1 joma 00309 00108 Podeli 00301 00315 00308 00309 00108 Input point 2 ek Data moved to storage locations IR 00300 through 0030977 S001108 IR 00307 specify input data setting for points Peak value 1 through 8 IR 00315 is the A D 00302 00315 00308 00309 00108 Write Completed Flag m Input point 3 aie Normal IR 00308 is the Dis connection Detect Flag 00309 400108 IR 00309 is the Nor mal Peak Flag usually Peak value used with IR 00108 00303 00315 00308 00309 00108 H k Input point 4 Normal 00309 00108 Continued on next page Peak value DM 0203 58 Four word Operation Section 4 4 From previous page 00304 00315 m 00308 00309 00108 MOV 21 DM 0104 MOV 21 DM 0204 MOV 21 DM 0105 MOV 21 DM 0205 MOV 21 DM 0106 MOV 21 DM 0206 00309 00108 00305 00315 m 00308 00309 00108 a 00309 00108 00306 00315 m 00308 00309 00108 m 00309 00108 00307 00315 m 00308 00309 00108 B MOV 21 DM 0107 MOV 21 DM 0207 00315 o 07301 00114 e 07300 00114 00309 00108 Note Input
33. 1 2 Basic Configuration UNN Features Section 1 1 1 1 Features 1 1 1 Analog Input Units This operation manual describes the features of the following Analog Input Units e 3G2A5 AD001 to 3G2A5 AD007 e C500 AD101 e 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 Features 3G2A5 AD001 to Analog signals from sensors are converted to 12 bit binary data by the 3G2A5 3G2A5 AD007 AD001 to 3G2A5 AD005 Analog Input Units resolution 1 4095 or to 10 bit binary data by the 3G2A5 AD006 and 3G2A5 AD007 Analog Input Units reso lution 1 1023 Number of Input Points Per Unit Each Unit can handle A D conversion for either two or four input points nit Namib of inputs 3G2A5 AD001 to 3G2A5 AD005 2 points 3G2A5 AD006 007 4 points Compatible Input Specifications The Units are compatible with a variety of input specifications Select the ap propriate Unit from the table below 1to5V 3G2A5 AD001 006 Oto 10V 3G2A5 AD002 007 Oto5V 3G2A5 AD003 10 to 10 V 3G2A5 AD004 5to5V 3G2A5 AD005 4 to 20 mA 3G2A5 AD001 006 C500 AD101 This Unit converts analog signals from sensors to 12 bit binary data Number of Input Points Per Unit Each Unit has eight input points An separate input signal range can be set for each input point to per
34. 20 IR CIO n 3 Point 4 D A conversion data 20 D A conversion data 21 D A conversion data 21 D A conversion data 21 D A conversion data 21 D A conversion data 22 D A conversion data 22 D A conversion data 22 D A conversion data 22 D A conversion data 23 D A conversion data 23 D A conversion data 23 D A conversion data 23 D A conversion data 24 D A conversion data 24 D A conversion data 24 D A conversion data 24 D A conversion data 25 D A conversion data 25 D A conversion data 25 D A conversion data 25 D A conversion data 26 D A conversion data 26 D A conversion data 26 D A conversion data 26 D A conversion data 27 D A conversion data 27 D A conversion data 27 D A conversion data 27 0 1 2 3 4 5 6 7 8 D A conversion data 28 D A conversion data 28 D A conversion data 28 D A conversion data 28 D A conversion data 29 D A conversion data 29 D A conversion data 29 D A conversion data 29 D A conversion data 210 D A conversion data 219 D A conversion data 210 D A conversion data 219 8 3 Functions and User Programs Note Bit 15 is the sign bit OFF for positive values ON for negative values 8 3 1 Conversion Data and Output Signals The C500 DA103 Analog Output Unit converts digital data to analog output sig nals Function This Unit
35. 3 lt OutputRamps ais sA ei ee tasten bao ba ae A ee Se eee es 177 9 4 4 Upper Lower LImits 0 0 00 eee eee 179 9 5 User Programming Examples 0 02 eee eens 182 9 5 1 Two word Operating Mode 0 0 0 eee eee eee 182 9 5 2 Four word Operating Mode 0 0 0 eee eee 184 9 5 3 Using Pulse Signals 0 eee ee A E een enes 189 9 5 4 Writing EEPROM 232 eon awe ered Se eR aS ES Gu Ree E es Sea Gaedinls Se 190 135 Specifications and General Information Section 9 1 9 1 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 tem Specification O Ambient operating 8 points with voltage outputs 0 to 55 C temperature Performance Specifications Item Specification Number of analog output points 8 4 points with voltage or current outputs 0 to 50 C 8 points with current outputs 0 to 45 C Output signal range Voltage outputs 0to10V Oto5V 5to 5V 10 to 10 V Current outputs 0 to 20 mA 4 to 20 mA Settable as shown on the left for each output point All 8 output points are factory set to O to 10 V Voltage outputs The range is set using the DIP switches on the rear panel and the voltage output range short circuit pins on the front panel Current outputs The range is set using the DIP
36. 5 6 1 2 3 4 5 6 Output point 5 Output point 6 Output point 7 Output point 8 OJA A OI N oO on A wo Pp 199 DM Memory Coding Sheets RAM Data Memory Encoding Sheet Conversion Data Description Conversion source data for each output signal Conversion data can be in either BCD or binary set in bits 8 to 15 of address 14 in RAM If the scaling function is disabled conversion data is taken immediately before D A conversion If the scaling function is enabled conversion data is in engineering units This data is scaled and then subject to D A conversion If the upper lower limit function is enabled the upper and lower limits are written whenever values above the upper limit or below the lower limit are set Appendix A Default With No Scaling BCD 0 to 4095 0000 to 4095pHex or 2048 to 2048 A048 to 2048146 Binary 0000 to OFFFHex or F800 to 07FFHex With Scaling BCD 7999 to 7999 F999 to 7999Hex Binary 32767 to 32767 8001 to 7FFF yx Read Pointer Specifies the leading RAM address from which data is to be read when the READ instruction is executed in the CPU Unit It is set using the WRIT instruction with the number of words transferred set to 1 0000 to 0061 BCD 200 Scaling Enable Bits Enables or disables the scaling function f
37. 6 in ms It must be 8 ms or more Output Ramp Set Time Output Point 7 Output ramp set time for output point 7 in ms It must be 8 ms or more Output Ramp Set Time Output Point 8 Output ramp set time for output point 8 in ms It must be 8 ms or more BCD 8 to 7999 0008 to 7999146 Binary 8 to 32767 0008 to 7FFFHex 203 DM Memory Coding Sheets Appendix A Word Bit Output Value Name Description Data Default point Output Lower Limit Output Point 1 Output lower limit for output point 1 This is used to restrict the output signal range When the scaling function is enabled data is set in engineering units Output Upper Limit Output Point 1 Output upper limit for output point 1 This is used to restrict the output signal range When the scaling function is enabled data is set in engineering units Output Lower Limit Output Point 2 Output lower limit for output point 2 This is used to restrict the output signal range When the scaling function is enabled data is set in engineering units Output Upper Limit Output Point 2 Output upper limit for output point 2 This is used to restrict the output signal range When the scaling function is enabled data is set in engineering units Output Lower Limit Output Point 3 Output lower limit for output point 3 This is used to restrict the output signal range When
38. Application Considerations SUITABILITY FOR USE OMRON shall not be responsible for conformity with any standards codes or regulations that apply to the combination of products in the customer s application or use of the products At the customer s request OMRON will provide applicable third party certification documents identifying ratings and limitations of use that apply to the products This information by itself is not sufficient for a complete determination of the suitability of the products in combination with the end product machine system or other application or use The following are some examples of applications for which particular attention must be given This is not intended to be an exhaustive list of all possible uses of the products nor is it intended to imply that the uses listed may be suitable for the products e Outdoor use uses involving potential chemical contamination or electrical interference or conditions or uses not described in this manual e Nuclear energy control systems combustion systems railroad systems aviation systems medical equipment amusement machines vehicles safety equipment and installations subject to separate industry or government regulations e Systems machines and equipment that could present a risk to life or property Please know and observe all prohibitions of use applicable to the products NEVER USE THE PRODUCTS FOR AN APPLICATION INVOLVING SERIOUS RISK TO LIFE OR PROPER
39. EEPROM however will not be changed and any changes to the RAM parameters will be lost the next time power is turned OFF The parameters in RAM at any time can be written to EEPROM by using the EEPROM Write Bit Refer to 5 6 7 EEPROM Functions The data written to EEPROM will not be lost even if power is turned OFF RAM contains addresses 000 to 153 Addresses 000 to 045 are read only and are used to monitor operation Addresses 046 to 153 are used to set up or execute the various functions The I O READ instruction can be used for all RAM addresses 000 to 153 The I O WRITE instruction however can be used only for RAM addresses 0046 to 153 Note however that the number of addresses that can be read or written with the I O READ WRITE instructions in one operation is limited to 127 There fore in order to read addresses 000 to 153 using the I O READ instruction it is necessary to execute I O READ twice Execute the I O READ instruction twice using the I O WRITE instruction to set the beginning address that is read Input data is converted every 25 ms for all of the enabled input points Of the 16 input points enable only the ones that are actually used Note Using the advanced function can increase the conversion time to greater than 25 ms The I O READ and I O WRITE instructions are used as shown below Refer to the Operation Manual for your PC for details on programming READ W Nu
40. Memory Map 96 Map that enable the various Unit functions The Data Memory in the CPU Unit can be set up using the Unit configuration worksheet in Appendix A The first word is the temporary write pointer Execution Q000102 condition Q000101 Write complete Q000102 Q000102 000202 Q000101 191 s WRIT 0105 D00246 Q0002 Write 105 words to the Unit memory map beginning with Unit memory map location Q000100 47 This example writes the entire write area of the Unit Latch Latch memory map D00246 0047 pointer or 0000 defaults to 0047 C D00247 to D00351 values to be entered in Flag Unit memory map Write complete Q000100 Q000101 A50006 User Programming Examples Section 5 7 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 Execution Q000105 condition Q000104 Write complete Q000105 Q000105 Q000202 Q000104 191 m WRIT 0002 D00354 Q0002 F F This example writes 1 word to Write the Unit memory map complete D00354 the Unit memory map Qoo0103 lOCation temporary pointer D00355 the value to put in the Unit memory map location spe cified in D00354 Q000103 Latch Q000104 A50006 Write Fi ag Complete 97 User Programming Examples Section 5 7 5 7 5 Reading Data from the Unit O READ Instruction READ and the Pointer Word Operatio
41. OFF and will gradually drop down to 0 V 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 at the PC 109 Functions and User Programs ssss lt sSsSsSsSCS ction G3 6 2 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 D A conversion data 21 D A conversion data 21 D A conversion data 22 D A conversion data 22 D A conversion data 23 D A conversion data 23 D A conversion data 24 D A conversion data 24 D A conversion data 2 D A conversion data 25 D A conversion data 26 D A conversion data 26 D A conversion data 27 D A conversion data 27 D A conversion data 28 D A conversion data 28 0 1 2 3 4 5 6 7 8 9 D A conversion data 29 D A conversion data 29 D A conversion data 210 D A conversion data 210 D A conversion data 211 D A conversion data 211 Note For bipolar outputs bit 11 is OFF for positive output values and ON for negative output values 6 3 Functions and User Programs 6 3 1 Output Signals and Converted Data Unipolar Output 110 The Analog Output Unit convert
42. Scaling Upper Scaling upper limit for output Limit for Output point 8 Set in engineering Point 8 units BCD 7999 to 7999 F999 to 7999Hex Binary 32767 to 32767 8001 to 7FFFyHex Be sure to set values within the allowable range regardless of whether the scaling function is enabled If values outside the range are set the Invalid Data Received Flag and other related flags may turn ON Section 9 3 Default Lower limit 0000pH6x Upper limit 4095Hex Read R Write W R W 170 Data Exchange with CPU Unit Output Ramp Set Time for Output Point 1 Description Output ramp set time for output point 1 in ms It must be 8 ms or more Output Ramp Set Time for Output Point 2 Output ramp set time for output point 2 in ms It must be 8 ms or more Output Ramp Set Time for Output Point 3 Output ramp set time for output point 3 in ms It must be 8 ms or more Output Ramp Set Time for Output Point 4 Output ramp set time for output point 4 in ms It must be 8 ms or more Output Ramp Set Time for Output Point 5 Output ramp set time for output point 5 in ms It must be 8 ms or more Output Ramp Set Time for Output Point 6 Output ramp set time for output point 6 in ms It must be 8 ms or more Output Ramp Set Time for Output Point 7 Output ramp set time for output point 7 in ms It must be 8 ms or more
43. Voltage between the External Terminals and the Frame 500 VAC 50 60 Hz for 1 minute Item Specification Number of analog inputs 4 Voltage input Input signal range ADOO6 1 to5 V ADO07 0 to 10 V ADOO6 4 to 20 mA 15 V max 60 mA max 1 MQ min 250 Q Current input Voltage input Current input Voltage input Current input 1 1023 full scale 10 bit binary 0 2 max 0 2 max full scale at 25 C 150 PPM C full scale 2 5 ms max point 10 ms max 1 s max Sequential comparison 4 input words 17 pin terminal block not removable 750 mA max at 5 VDC 34 5 x 250 x 113 mm W x H x D 650 g max Max input signal External input impedance Resolution PC signal Linearity error Accuracy Accuracy temperature coefficient Conversion time Conversion cycle Max PC write delay see note Conversion method Words allocated External connections Power consumption External dimensions Weight The PC write delay is the time required for a change in the input signal to be con verted and transferred to the PC bus Analog input signal 0 i Time Conversion i A filter inside the Unit causes the digital signal to increase Digital output signal in a stepwise fashion 0000 Time PC write delay Specifications and General Information Section 3 1 3 1 2 Description of Parts 3G2A5 AD006 007
44. WRIT during filtering may cause long filter ing delays due to the constant recalculation of the Unit operating parameters 91 Functions Section 5 6 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 There are also Reset Bits and Acknowl edge Flags for the peak hold registers Refer to pages 78 and 79 for details Unit memory map Description Valid data location Peak hold data BCD 7999 to 7999 Binary 32767 to 32767 Peak hold active flags Oor1 Peak hold enable bits Oori To use this function for each input point turn ON the input point peak hold enable bit for each input point Note The peak hold function retains invalid values when changing from binary to BCD Therefore the peak hold enable bit should be re enabled after changing data formats 5 6 6 High Low Alarms The alarm function can be used to perform a comparison of the input point con version data to specific low and high limits that are stored in the Unit memory map The Unit turns ON the alarm flags in the Unit memory map when the input point conversion data is outside the specified limits The Unit can produces low alarms high alarms or both Once turned ON the High and Low Alarm Flags will remain ON even i
45. and the CPU Unit The Unit requires two words in the I O table one output word from the CPU Unit to the Analog Input Unit and one input word from the Analog Input Unit to the CPU Unit The func tions of these words are described in the following tables Data Exchange with CPU Unit Section 5 4 Output Word Direction i Description PC Busy These bits operate automatically when executing I O P READ WRITE instructions It is not possible for the user to PC Writ let CNE Sempre write to these bits Set to 0 when outputting word n using an PC Read Complete output instruction such as the MOV instruction EEPROM write bit Turn ON this bit to cause the Unit to write the current RAM configuration to EEPROM memory in the Unit On power up the new parameters will be the default start up parameters Serial port write enable bit This bit enables disables the serial port on the Unit for writing to the Unit memory map High low alarm reset bit Turns OFF bit 5 of word n 1 the High Low Alarm Flag n Out of range error reset bit Turns OFF bit 6 of word n 1 the Out of range Flag From CPU Unit Peak hold reset bank select bit Selects which bank of peak hold registers to reset When this to Analog bit is OFF bits 8 to 15 correspond to input points 1 through 8 1 0 Unit When this bit is ON bits 8 to 15 correspond to input points 9 to 16 Peak hold register 1 9 reset bit These bits reset the peak hold registers in the Unit memory Peak hold reg
46. correspond to the input points indicated below Bit MSB 15 14 113 12 11 Jio J9 Js I7 le 5 l4 l3 J2 J Jo J csB Input point 16 15 14 1 13 12 11 l10 J9 ls 7 le 5 l4 3 l2 li Data in the Unit memory map can be formatted in either signed BCD or 2 s Com plement Binary All values for a specific input point must be in the same format Some values are entered in unsigned BCD Refer to 5 5 2 Overview for valid data ranges for all Unit memory map locations Format type Decimal range Memory map format Signed BCD F999 Bit 15 is the sign bit 7999 2 s Complement Binary 8001 FFFF 0000 7FFF 5 5 1 Error Flags There are a number of memory map error flags in the Unit which can be used to verify status and operation These flags are listed in the following table Flag type Function High and low alarm flags Indicate the input signal is outside the alarm limits specified in the Unit memory map Over and under range errors Indicate the input signal is outside the specified range selected by the DIP switches Unconfirmed data error flags Indicate a data conversion error in the Unit EEPROM error flags Indicate errors with the EEPROM write function and write cycle counts 80 Memory Map Section 5 5 5 5 2 Overview Contents Alarm flags The following table outlines the contents of the memory map Refer to the next section for details Data format Valid data
47. crimp terminals for wiring Do not connect bare stranded wires directly to terminals Connection of bare stranded wires may result in burning e Double check all the wiring before turning on the power supply Incorrect wir ing may result in burning e Mount the Unit only after checking the terminal block completely e Be sure that the terminal blocks Memory Units expansion cables and other items with locking devices are properly locked into place Improper locking may result in malfunction e Check the user program for proper execution before actually running it on the Unit Not checking the program may result in an unexpected operation e Confirm that no adverse effect will occur in the system before attempting any of the following Not doing so may result in an unexpected operation e Changing the operating mode of the PC e Force setting force resetting any bit in memory e Changing the present value of any word or any set value in memory e Resume operation only after transferring to the new CPU Unit the contents of the DM Area HR Area and other data required for resuming operation Not doing so may result in an unexpected operation e Do not pull on the cables or bend the cables beyond their natural limit Doing either of these may break the cables e Do not place objects on top of the cables or other wiring lines Doing so may break the cables e Before touching the Unit be sure to first touch a grounded metallic object
48. high limit Scaling low limit Scaling high limit Scaling low limit Scaling high limit Scaling low limit Scaling high limit Scaling low limit Scaling high limit Scaling low limit Scaling high limit Scaling low limit Scaling high limit Scaling low limit Scaling high limit Scaling low limit Scaling high limit These words contain the scaling low and high limits for each input point The values are in engineering units The default values are 0000 for the low limit and 4095 for the high limit The scaling function is performed prior to the data being placed in the conversion data words 0 to16 00 to 15 EEPROM write count This word contains the current number of write operations that have been executed for the EEPROM 00 to 06 EEPROM error flags This word contains error flags used during the EEPROM write operation 86 00 to 15 EEPROM compare word This word is set by the user to confirm that an EEPROM write operation should occur This is a safety to prevent erroneous writes from occurring and damaging the EEPROM chip Functions Section 5 6 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 5 6 Functions 5 6 1 Overvie
49. input point 12 Input Range 0 to 20mA Scaling High 1 200 PSI Scaling Low 75 PSI BCD Binary Scaling Data Hex Scaling Data A D Data ima bda A D Data ase Normal Data 409S ee ee ee Sa ere ae OFFF 1200 04B0 0 mA 4 mA 20 mA 0 mA 4 mA 20 mA Input signal range Input signal range Unit memory map Description Valid data location Scaling active flags Oor1 Scaling enable bits Oor1 119 to 150 Scaling low and high BCD or 2 s Complement limits Binary To use the scaling function for each input point do the following 1 2 3 1 Set the input point scaling low and input point scaling high values for each input point 2 Turn ON the scaling enable disable bit for the input point 90 Functions Section 5 6 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 The average is the algebraic sum of all of the conversions for the user specified count divided by the sample count value Averaging uses a sequential method as shown below Conv Convo Conv 1st Reported Value Convpy 1 Convyy o COn
50. input points 00 to 15 Peak hold enable bits These bits are turned ON by the user to enable disable the peak hold function for each input point The default value is disabled OFF for all input points 84 00 to 15 Low alarm enable bits These bits are turned ON by the user to enable disable the low alarm function for each input point The default value is disabled OFF for all input points Memory Map Section 5 5 Read Memory Bits Input Function Description write map word point 00 to 15 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 00 to 15 ODODWMDANNDOAAAHKRHRWWNN Low alarm limit High alarm limit Low alarm limit High alarm limit Low alarm limit High alarm limit Low alarm limit High alarm limit Low alarm limit High alarm limit Low alarm limit High alarm limit Low alarm limit High alarm limit Low alarm limit High alarm limit Low alarm limit High alarm limit Low alarm limit High alarm limit Low alarm limit High alarm limit Low alarm limit High alarm limit Low alarm limit High alarm limit Low alarm limit High alarm limit Low alarm limit High alarm limit Low alarm limit High alarm limit These words contain the low and high alarm limits for each input point The format of these values should match the data format selecte
51. is executed according to I O refresh tim ing During programming take into account the difference in timing between writing the data to shared memory and data output 1 0 refresh When executing WRIT 7 Data is written to Data is output shared memory Time lag O WRITE Instruction WRIT WRIT W_ Number of words transferred S j Transfer start address D Specify word n allocated to the Unit O READ Instruction READ READ W k Number of words transferred S Specify word n 1 allocated to the Unit D Destination address The function codes for the I O READ and I O WRITE instructions READ and WRIT differ according to the PC as shown in the table below Mnemonic Function code C500 C1000H C2000H CVM1 CV I O WRITE instruction WRIT I O READ instruction READ READ WRIT Execution Restrictions 1 2 3 1 The differentiated READ and WRIT instructions cannot be executed for Special I O Units on SYSMAC BUS 2 Slave Racks The READ and WRIT instructions must be executed until the Flag A50006 turns ON indicating that the execution is completed 2 The READ and WRIT instructions cannot be simultaneously executed for the same Special I O Unit In such cases execute WRIT first and after the execution is completed execute READ 3 One SYSMAC BUS 2 Remote I O Master Unit can simultaneously handle up to two READ and WRIT instructions If two R
52. is sent to the Analog Output Unit The Analog Output Unit will return to the original configuration and ignore all data containing errors This flag is turned OFF when valid data is written Conversion Error Flag This flag is turned ON when a conversion error is detected in the Analog Output Unit The Analog Output Unit will return to the original configuration and ignore all data containing errors This flag is turned OFF when valid data is written Conversion Speed Mode Flag This flag is used to select either of the following conversion speed modes ON Normal OFF High speed Analog Output Unit Read Completed Flag This flag is turned ON when the Analog Output Unit reads data from words n and n 1 The Analog Output Unit uses this flag to notify the CPU Unit that data has been read from words n and n 1 Analog Output Unit Write Completed Flag This flag is turned ON when the Analog Output Unit writes data to word n 2 The Analog Output Unit uses this flag to notify the CPU Unit that data has been written to word n 2 Upper Lower Limit Over Flag This flag is turned ON when conversion data exceeds the upper limit or drops below the lower limit It is turned OFF when conversion data between the upper and lower limits is written External Power Supply ON Flag This flag is turned ON when external power supply is turned ON Data Transfer Sequence Error Flag This flag indicates a transfer pro
53. lin Input point 7 sampling 20 Samples counts These settings can be made via the Programming Console using i data modification Input point modi a functions instead of in program ming if desired Input point 7 offset data Input point 7 gain data Sets the scaling data Input point 8 offset data Input point 8 gain data Transfers the 10 words of parameters from DM 0000 through DM 0009 to the Analog Input Unit When the transfer is complete SR 25506 the Equal Flags turns ON Here IR 07000 is used as a work bit to hold the status of EQ at this point 45 Two word Operation Section 4 3 From previous page 07000 00103 EQ 07001 25506 07001 07200 07201 07202 07203 07204 07205 07206 07207 07100 07101 07102 Continued on next page 46 READ 88 o a MOV 21 DM0108 is te 3 3 l o so 3 o J N BCD 24 DM0100 DM0300 BCD 24 DM0101 DM0301 BCD 24 DM0102 DM0302 BCD 24 DM0103 DM0303 BCD 24 DM0104 DM0304 BCD 24 DM0105 DM0305 MOV 21 DM0106 DM0306 MOV 21 DM0107 DM0307 00008 00009 00010 A D converted data and the Disconnec tion Detect Flags from points 1 through 8 are read in and stored in DM 0100 through DM 0108 IR 00103 the Uncon firmed Data Flag stops unconfirmed data from being accepted When reading is complete SR 25506 the Equal Flags turns ON activating IR 07001 Disconnection
54. note However the following precautions must be observed to ensure that the machine or device in which the CV series PLC is used conforms to EC Directives 1 The CV series PLC must be installed within a control panel 2 You must use reinforced insulation or double insulation for the DC power supplies connected to the power supply terminals on PLCs that take DC power and for the DC power supplies connected to I O Units The DC power supply connected to the power supply terminals on PLCs using DC power must have an output hold time of at least 10 ms 3 CV series products conforming to EC Directives also conform to EN 61131 2 for EMI Radiated emission characteristics 10 m regulations may vary depending on the configuration of the control panel used other devices connected to the control panel wiring and other conditions You must there fore confirm that the overall machine or equipment conforms to EC Direc tives even when using CV series products that conform to EC Directives Of the products that appear in this manual the following products conform to EC Directives C500H AD101 Analog Input Unit C500H DA101 Analog Output Unit xix SECTION 1 Features and Basic Configuration This section provides a general introduction on the Analog I O Units Lal Features 94 05 2 9ddeuoicdt joie hie etek debt ptt wath eee ee Ode eae 1 1 1 Analog Input Units css sicci mania eas nd bos eases naa cd eke boars 1 1 2 Analog Output Units
55. of the allocated I O words to the specified RAM address When the Analog Output Unit reads the data bit 06 of word n 3 Analog Output Unit Read Completed Flag in the allocated I O words is turned ON The CPU Unit verifies that bit 06 of word n 3 is turned ON then turns OFF bit 06 of word n 1 PC Write Completed Bit When bit 06 of word n 1 turns OFF bit 06 of word n 3 Analog Output Unit Read Completed Flag turns OFF again CPU Unit Analog Output Unit Allocated 1 Sets data Allocated I O words 2 Sets RAM address b 3 Specifies read or write 4 Turns ON the PC Write Completed Bit 6 The Analog Output Unit Read 5 Reads data Completed Flag is turned ON 7 Turns OFF the PC Write Address RAM Completed Bit 8 The Analog Output Unit Read b Completed Flag turns OFF again Timing Chart 00 to 15 08 to 15 00 06 06 4 6 Writes to RAM 5 7 Data Exchange with CPU Unit Section 9 3 Input conditions 1 2 3 Ladder Programming_ An example of data write processing and write completion monitoring programs is shown below B A Latched until write process is completed meee Turns ON C in 1 cycle when bit res DIED c 06 of word n 3 Analog Output onitors the Unit Read Completed Flag is completion of turned OFF write process 1 O Turns ON when write process is completed 1 cycle MOV Data n Sets data in word n MOVD Address
56. power supply and DC ammeter 2 Mount the C500 AD101 and connect the DC power supply and meter Each input point can be independently set for voltage input or current input Example 1 Setting Input 1 as 0 to 10 V Input Example 2 Setting Input 5 as 0 to 10 mA Input Oto 20 mA 0 to 10 VDC DC Short 16 and 17 3 Turn ON the PC The PC power supply must be ON when the input ranges are set 34 Functions Settings and Wiring O Section4 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 edge and push the cover into place with your index finger z SW1 DIP switch to aon select input points z SW2 toggle switch to eet al read input range el Setting Procedure 1 2 3 1 Remove the cover from the front face of the Unit 2 The numbers on the DIP switch pins SW1 indicate the input ports 1 to 8 Initially turn ON only pin 1 and make sure that all other pins are OFF T a me Press with a pen tip etc OFF ON 3 Apply the minimum offset value of voltage 0 V or current 0 mV to input 1 The offset converted output is O00Hex 4 Set the toggle switch SW2 down to read the offset SW 1 SW 2 Firmly press toggle switch Toggle
57. set in engineering units Output Lower Limit Output Point 6 Output lower limit for output point 6 This is used to restrict the output signal range When the scaling function is enabled data is set in engineering units Output Upper Limit Output Point 6 Output upper limit for output point 6 This is used to restrict the output signal range When the scaling function is enabled data is set in engineering units Output Lower Limit Output Point 7 Output lower limit for output point 7 This is used to restrict the output signal range When the scaling function is enabled data is set in engineering units Output Upper Limit Output Point 7 Output upper limit for output point 7 This is used to restrict the output signal range When the scaling function is enabled data is set in engineering units Output Lower Limit Output Point 8 Output lower limit for output point 8 This is used to restrict the output signal range When the scaling function is enabled data is set in engineering units Output Upper Limit Output Point 8 Output upper limit for output point 8 This is used to restrict the output signal range When the scaling function is enabled data is set in engineering units With No Scaling BCD 0 to 4095 0000 to 4095pHex or 2048 to 2048 A048 to 2048Hex Binary 0000 to OFFFHex or F800 to O7FFiex With Scaling BCD
58. should not be directly turned ON or OFF by each write and read process Instead the process result should be reflected in word bits and the PC Write Completed Bit should be turned ON or OFF according to the OR of these bits Method 1 In this method execution conditions for each program block are specified in the JMP instruction to jump over invalid program blocks JMP 0001 Jumps to JME 0001 without executing program block 1 when B or C is ON when program block 2 or 3 is being executed Program block 1 Executed when A turns ON Writes parameters to Analog Output Unit JME 0001 JMP 0002 Jumps to JME 0002 without executing program block 2 when A or C is ON when program block 1 or 3 is being executed Program block 2 Executed when B turns ON Writes conversion data to Analog Output Unit f JME 0002 A B hH JMP 0003 Jumps to JME 0003 without executing program block 3 when A or B is ON when program block 1 or 2 is being Program block 3 executed Executed when C turns ON Reads parameters or conversion data from Analog Output Unit fme o User Programming Examples Section 9 5 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 be 9 5 3 Using
59. switch automatically resets and returns Read offset to original position when released 5 Apply the maximum gain value of voltage 10 V or current 10 mV to input 1 The gain converted output is FFFyex 6 Set the toggle switch SW2 up to read the gain SW 1 sw2 Firmly press toggle switch Toggle switch automatically resets and returns Read gain to original position when released 35 Functions Settings and Wiring O Section4 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 N 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 Voltage current input 1 Voltage current input 5 Point 5 Current input 1 Current input 5 Voltage current input 1 Shield Point 2 Voltage current input 2 Voltage current input 5 Shield Voltage current input 6 Current input 2 Current input 6 Voltage current input 2 Voltage current input 6 Not connected Not connected CO N a A WO N Point 3 Voltage current input 3 Voltage current input 7 Point 7 Current input 3 Current input 7 Voltage current input 3 Voltage current input 7 Shield Shield Point 4 Voltage current input 4 Voltage current input 8 Point 8 Curren
60. switches on the rear panel Max output current Voltage outputs 10 mA External output impedance Voltage outputs 0 5 Q max Max load resistance Current outputs 750 Q max Voltage outputs 10 KQ min Power supply from P 5 VDC supplied from Backplane External power supply 24 VDC 5 Resolution 1 4095 full scale Conversion data ranges 136 Without Scaling Voltage outputs 0to10V Oto5V Current outputs O to 20 mA 4 to 20 mA BCD mode Unsigned decimal values in BCD 0 to 4095 0000 to 4095146 Binary mode Unsigned decimal values in binary 0 to 4095 0000 to OFFFHex BCD or binary can be set for each output point Voltage outputs 5to5V 10 to 10 V BCD mode Signed decimal values in BCD 2048 to 2047 A048 to 2047 Hex Binary mode Signed decimal values in binary 2048 to 2047 F800 to 07FF Hex BCD or binary can be set for each output point With Scaling Range Scaling lower limit to scaling upper limit see note below The upper and lower limits must be within the following ranges BCD mode Decimal values 7999 to 7999 F999 to 79991 x Binary mode Decimal values 32767 to 32767 8001 to 7FFFHex Note The scaling lower limit can be greater than the scaling upper limit in which case reverse scaling will be performed Specifications and General Information Section 9 1 Ov
61. than the range setting of the DIP switches for each input The Unit will turn these bits ON and OFF based on the input signal level The Unit also turns ON bit 06 of I O word n 1 when this error occurs These alarms are always active 82 Memory Map Section 5 5 Read Memory Bits Input Function Description write map word point 00 to 15 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 The bits are cleared when valid data is written to the Unit memory map The Unit also turns ON bit 3 of I O word n 1 when this error occurs 00 to 15 OMANDAABRWNDN Peak hold data These words contain the latest peak hold values for each input point The data format Is determined by word 48 The Unit performs scaling filtering and averaging functions if selected before placing peak hold values in these words The peak hold function is enabled disabled for each input point by turning ON bits in word 52 These words are reset by I O word n bits 07 through 15 The Unit acknowledges the reset in I O word n 1 bits 08 to15 See 5 6 5 Peak Hold for details 00 to 15 Input point active flags These flags are turned ON by the Unit indicating the enable disable status of each input point that is set in word 47 00 to 15 BCD binary select flags These flags are turned ON by the Unit indicating
62. used Not used Voltage output for point 2 Voltage output for point 2 Not used Not used 0 1 2 3 4 5 6 7 8 Voltage output for point 3 Voltage output for point 3 Not used Not used Voltage output for point 4 Voltage output for point 4 Not used Not used SS SS Pa Not used Load Unit Voltage output 1 Point 1 Voltage output 1 0 V Voltage output 2 Point 2 Voltage output 2 0 V Voltage output 3 Point 3 Voltage output 3 0 V CO CO N 0 01 A O PO J Voltage output 4 Point 4 Voltage output 4 0 V lt a w PO Shielded twisted pair cable Use shielded twisted pair cable for external connections to prevent induc tion and noise Ground shields to the Load Unit Consider the Load Unit impedance to ensure that the current does not ex ceed the prescribed limit Pass the output wires through a different duct from the high voltage and power cables 131 Functions and User Programs 8 2 IR CIO Bit Allocations IR CIO Bit Allocations Output words Section 8 3 Each C500 DA103 Analog Output Unit is allocated four words IR CIO n Point 1 D A conversion data 20 IR CIO n 1 Point 2 D A conversion data 20 IR CIO n 2 Point 3 D A conversion data
63. without scal ing are shown below Voltage Outputs BCD Data Binary Data 0 to 10 V Output 0 to 10 V Output 7 5 7 5 5 0 5 0 2 5 2 5 Output voltage V Output voltage V a ep 0 0 0 0 0000 1023 2047 3071 0000 O3FF O7FF OBFF OFF Conversion data Conversion data 5 00 5 00 3 75 3 75 2 50 2 50 1 25 1 25 Output voltage V Output voltage V F 1 f 0 00 0 00 0000 1023 2047 3071 0000 O3FF O7FF OBFF OFF Conversion data Conversion data 10 to 10 V Output eee eee ee Output voltage V Output voltage V 10 10 A048 8024 0000 1023 2047 F800 FCOO 0000 O3FF 07FF Conversion data Conversion data 5 to 5 V Output 5 to 5 V Output S 2 5 S D S g 0 0 x Q Q a 25 3 6 6 5 0 5 0 A048 8024 0000 1023 2047 F800 FCOO 0000 O3FF O7FF Conversion data Conversion data 139 Specifications and General Information Section 9 1 Current Outputs BCD Data Binary Data 0 to 20 mA Output 0 to 20 mA Output 20 15 b 2 22 4 fio PEE EA PAI 10 t a Current output mA Current output mA a er Se ea 0 0000 1023 2047 3071 4095 Conversion data unsigned BCD 0000 O3FF O7FF OBFF OFF Conversion data unsigned 12 bit binary 4 to 20 mA Output tO oOo fon N 1 t 1 1 E L 4 i i 1 Current output mA Current
64. 000 DM 0002 MOV 21 0000 DM 0003 MOV 21 DM 0004 MOV 21 0010 DM 0005 MOV 21 0020 DM 0006 MOV 21 DM 0007 SFT 10 Programming Using All 8 Points The following program can be used when all eight input points are being used Input point 1 If you are not Input point 2 using mean values set to 0000 See note 1 Input point 3 Input point 4 Initial param eter setting Input point 5 Input point 6 Set the mean data number of samples See note 2 Input point 7 Input point 8 Sets the initial value of the shift register This will be used for writing data consecu tively through the output word Bits IR 07001 through IR 07008 are shifted to move consecutive parameters to the output word ON IR 00314 OFF The bits are shifted when bit IR 00314 goes from OFF to ON Note 1 When mean is not used no setting is necessary The above example in cludes settings for all points to allow for easy modification 2 Mean processing starts after the points are specified It takes 10 ms x num ber of samples for the data to be output 55 Four word Operation Section 4 4 Continued from previous page 07000 MOV 21 DM 0000 MOV 21 DM 0001 MOV 21 DM 0002 MOV 21 DM 0003 MOV 21 DM 0004 MOV 21 DM 0005 MOV 21 DM 0006 MOV 21 DM 0007 07001 07002 07003 Set data is sequentially written to t
65. 0mA 17 6mA Output signal 5 6mA 4mA as oc Lower limit Upper limit 300 C 45 C 270 C Conversion data Output Point 1 Address i Function Settings BCD mode Binary mode Upper Lower Limit Enable Bit ON ON Enabled Enabled BCD Binary Mode Bit ON BCD OFF Binary Lower Limit 0045Hex 002DHex Upper Limit 0270Hex 010EHex 181 User Programming Examples Section 9 5 9 5 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 000000 200001 200000 200000 H mov 0013 D00112 t onw 0001 D00113 D00113 ANDW FEFF D00113 D00113 orw 0100 Do0114 D00114 ANDW FFFE D00114 D00114 orw 0001 000115 00115 MOV 8000 000117 MOV 3000 D00118 f writ 0007 Doo112 o002 A50006 200001 Flag Note 200001 000205 TIMH 0001 0010 200002 T0001 200002 T0001 000205 000205 200003 200003 200003 000001 200005 200004 200004 mov 0001 D00100 MOV 00201 D00101 WRIT 0002 D00100 0002 A50006 200005 Flag 182 Sets 0013 in D00112 first RAM address Sets the value of D00113 OR 0001 in D00113 see note Enables scaling for output 1 Sets the value o
66. 1 Specifications m eri ere seattle ee ess dado gehdes a a a a Gets 8 2 1 2 Description of Parts oi c6 iso ete bal a E cae ha ne de ele 9 2 1 3 Block Diagram se 3 en a ea eek Pele NG LORE UNE hoe Coa Rh Pes 10 24 Wining eyo She tae a eect ed ee 11 2 2 IR CIO Bit Allocations 10 03 62 4 63528 VSR See aed ae hee bias A 13 2 3 Functions and User Programming 0 0 0 cece ee eee eee 14 2 3 1 Input Signals and Converted Data 0 0 00 cee eee eee eee 14 2 3 2 Ladder Programming Example 0 0 cee eee eee eee 15 Specifications and General Information Section 2 1 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 e Insulation between the External Terminals and the Frame 5MQ min at 250 VDC e Breakdown Voltage between the External Terminals and the Frame 500 VAC 50 60 Hz for 1 minute Performance Specifications Item Specification Number of analog inputs 2 Input signal range Voltage input ADO01 1to5V AD002 0 to 10 V AD003 0 to5V ADO004 10 to 10 V AD005 5 to 5 V Current input ADO01 4 to 20 mA Max input signal Voltage input 15 V max Current input 60 mA max External input impedance Voltage input 1 MQ min Current input 250 Q Resolution 1 4095 full scale PC signal see note 1 12 bit binary
67. 1 WRIT Q000114 Q000401 0002 D00416 Q0002 Q000400 Q000400 Latch Q000401 A50006 Flag Q000401 Q000403 191 WRIT 0002 D00414 Q0002 Q000402 Q000402 Latch Latch Q000403 A50006 Flag A50013 190 s READ Always ON 0047 10003 D000000 100 This example shows how to configure the scaling function for specific input points Refer to 5 6 2 Scaling for information on using the scaling function Step 1 Set the scaling low and high limits for input point 5 D00418 0063 Pointer D00419 0010 Low D00420 0500 High Value in DM0419 is written to Unit memory map location 63 D00420 to location 64 Step 2 Turn ON the scaling enable bit for point 5 to Unit memory map location 49 D00416 0049 D00417 0010 Step 3 Turn ON the input point enable bit for input point 5 in word 47 of the Unit memory map D00414 0047 Pointer D00415 0010 Step 4 Read first 47 words from Unit memory map store in D00000 to D00046 User Programming Examples Section 5 7 Example 2 Configuring the Alarm Function This example shows how to configure the alarm function for specific input points Refer to 5 6 6 High Low Alarms for general information on using the high low alarms Execution condition 191 WRIT Q000405 0005 D00472 Q0002 Q000404 Q000404 Step 1 Set the low and high alarm limits for input points 10 and 11 in Unit memory map locations 73 74 7
68. 1 Output Signals and Converted Data 00 urere eee eee 110 6 3 2 Ladder Programming Example 0 0 cece eee eee 112 105 Specifications and General Information Section 6 1 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 e Insulation between the External Terminals and the Frame 5 MQ min at 250 VDC e Breakdown Voltage between the External Terminals and the Frame 500 VAC 50 60 Hz for 1 minute Performance Specifications Item Specification Number of analog outputs 2 Output signal range Voltage output DAOO1 1to5V DA002 0 to 10 V DA003 0 to5V DA004 10 to 10 V DA005 5 to 5V Current output DA001 4 to 20 mA Max output current Voltage output 15 mA External output impedance Voltage output 0 5 Q max Max load resistance Current output 550 Q max Resolution 1 4095 full scale PC signal See note 1 12 bit binary Linearity error 1 2 LSB max at 25 C Accuracy 0 2 max full scale at 25 C Accuracy temperature coefficient 50 PPM C Conversion time See note 2 5 ms max Conversion cycle CPU Unit program cycle time Words allocated 2 output words External connections 17 pin terminal block not removable Power consumption 550
69. 12 in D00062 Writes the content of D00062 to the Read Pointer address 12 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 If the READ instruction ends normally and the contents of D00062 and D00012 match the value of the Read Pointer is 0012 CIO 025003 is turned ON Sets 0061 in D00058 Writes the content of D00058 to the Total EEPROM Write Count Setting Flag address 61 100 ms timer delay timer for internal processing time of Analog Output Unit Self holding bit Turns ON the EEPROM Write Bit Appendix A DM Memory Coding Sheets C500 AD101 Analog Input Unit Description Specify points for mean function Specify points to be used Specify points for scaling function 0 0 Mean value 1 Mean value 2 Mean value 3 Mean value 4 Mean value 5 Mean value 6 Mean value 7 Mean value 8 Scaling offset 1 Scaling gain 1 Scaling offset 2 Scaling gain 2 Scaling offset 3 Scaling gain 3 Scaling offset 4 Scaling gain 4 Scaling offset 5 Scaling gain 5 Scaling offset 6 Scaling gain 6 Scaling offset 7 Scaling gain 7 Scaling offset 8 Scaling gain 8 N Caution Input the mean value and scaling values only for points for which the mean and or scaling function has been designated If one of these is not needed f
70. 2767 to 32767 8001 to 7FFFHex Scaling Enabled Flags Turned ON by the Analog Output Unit to indicate status of scaling specified in bits 00 to 07 of word 13 ON Enabled OFF Disabled Output Ramp Enabled Flags Turned ON by the Analog Output Unit to indicate status of the output ramps specified in bits 08 to 15 of word 13 ON Enabled OFF Disabled Upper Lower Limit Enabled Flags Turned ON by the Analog Output Unit to indicate status of the upper lower limit function specified in bits 00 to 07 of word 14 ON Enabled OFF Disabled BCD Binary Mode Selection Flags Turned ON by the Analog Output Unit to indicate selection of either the BCD or binary mode specified in bits 08 to 15 of word 14 ON BCD OFF Binary 168 Conversion Data Enabled Flags Turned ON by the Analog Output Unit to indicate the output points specified in bits 00 to 07 of word 15 ON Enabled OFF Disabled Data Exchange with CPU Unit Read Pointer Description Specifies the first RAM address from which data is to be read when the READ instruction is executed from the CPU Unit It is set in the WRIT instruction with the number of words transferred set to 1 0000 to 0061 BCD Section Default 9 3 Read R Write W Pointer Scaling Enable Bits Set by the user to enable or disable the scaling for each output point ON Enabled OFF Disabled O
71. 4 4 1 Communications with CPU Unit 0 0 00 eee eee 50 4 4 2 IR CIO Bit Allocations a rnea i 0 0 eee eee 50 4 4 3 Programming Examples 0 0 0 ccc cee eens 51 27 Specifications and General Information Section 4 1 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 8 Input signal range see note 1 Voltage input Settable in the range 0 to 10 V Current input Settable in the range 0 to 20 mA Max input signal Voltage input 15 V Current input 30 mA External input impedance Voltage input 1 MQ min Current input 250 Q Resolution see note 2 1 4095 full scale CPU Unit signal 12 bit binary Overall accuracy 25 C 0 5 max full scale includ ing linearity error 0 to 55 C 1 0 max full scale includ ing linearity error Conversion time see note 3 10 ms max point Words allocated 2 or 4 input words settable by switch External connections 30 pin terminal block not removable Isolation Between input terminals and CPU Unit Photo coupler Between input terminals and Unit None Power consumption 880 mA max at 5 VDC External dimensions 34 5 x 250 x 120 mm W x H x D Weight 700 g max Note 1 Set the required input sig
72. 5 76 D00472 0073 Pointer D00473 0006 D00474 0200 Latch Latch D00475 0127 D00476 4020 Q000405 A50006 __ _ Q000405 Q000407 0003 D00469 Q0002 Q000406 Q000406 Latch Q000407 A50006 Q000407 Q000409 0002 D00467 Q0002 Q000408 Step 2 Turn ON the low and high alarm enable bits for input points 10 and 11 in Unit memory map location 53 and 54 D00469 0053 pointer D00470 0600 D00471 0600 Step 3 Turn ON the input point enable bits for input points 10 and in Unit memory map location 47 D00467 0047 Q000408 D00468 0060 Latch Latch Q000409 AR50006 ilf ERS Flag A50013 190 l READ 0047 10003 DM00000 Step 4 Read the first 47 words from the Unit memory Always ON map and store the values in D00000 to D00046 101 User Programming Examples Section 5 7 Example 3 Configuring the Filtering Function Execution condition 191 WRIT Q000411 0005 D00498 Q0002 Q000410 Latch Q000410 Latch Q000411 AS50006 Q000411 Q000413 0002 D00496 Q0002 Q000412 Latch Q000412 Latch Q000413 A50006 Pyp Flag 191 WRIT Q000413 Q000415 0002 D00494 Q0002 Q000414 Latch Q000414 Latch Q000415 A50006 Flag A50013 190 READ 0047 0003 DM00000 Always ON 102 This example shows how to configure the filtering function f
73. 500 AD501 79 servomotor positioning system 6 specifications general 3G2A5 AD001 to 3G2A5 AD005 8 3G2A5 AD006 and 3G2A5 AD007 18 3G2A5 DA001 to 3G2A5 DA005 106 C500 AD101 28 C500 ADS501 62 C500 DA101 116 C500 DAS01 136 C500 DA103 128 input C500 ADS501 63 output C500 DA501 139 performance 3G2A5 AD001 to 3G2A5 AD005 8 3G2A5 AD006 and 3G2A5 AD007 18 3G2A5 DA001 to 3G2A5 DA005 106 C500 AD101 28 C500 ADS01 62 C500 DA101 116 C500 DAS01 136 C500 DA103 128 switch settings C500 AD101 34 input ranges 35 C500 AD501 68 input ranges 70 C500 DAS01 150 output ranges 147 7 temperature regulating system 5 terminal connections C500 AD101 36 C500 DA501 151 C500 DA101 120 C500 DA103 131 U unconfirmed data C500 AD101 39 unipolar inputs 3G2A5 AD001 to 3G2A5 AD005 14 3G2A5 AD006 and 3G2A5 ADO007 23 unipolar outputs 3G2A5 DA001 to 3G2A5 DA005 110 Unit locations C500 AD501 70 C500 DA501 149 V voltage inputs 3G2A5 AD001 to 3G2A5 AD005 11 12 3G2A5 AD006 and 3G2A5 AD007 21 C500 AD101 36 data conversion C500 AD101 32 voltage outputs 3G2A5 DAO001 to 3G2A5 DA005 109 C500 DAS501 139 C500 DA101 120 C500 DA103 131 W wiring C500 AD501 72 C500 DAS01 151 current inputs 3G2A5 AD001 to 3G2A5 AD005 11 13 3G2A5 AD006 and 3G2A5 AD007 21 C500 AD101 37 211 Index current outputs voltage inputs 3G2A5 DA001 to 3G2A5 DA005 109 3G2A5 AD001 to 3G2A5 AD005 11
74. 501 169 errors C500 DA501 164 limits 168 C500 DA501 166 172 173 179 settings C500 DA101 119 C500 DAS01 147 P parameters updating C500 DA501 163 165 parts description 3G2A5 AD001 to 3G2A5 AD005 9 3G2A5 AD006 and 3G2A5 AD007 19 3G2A5 DA001 to 3G2A5 DA005 107 C500 AD101 29 C500 AD501 66 C500 DA101 117 C500 DAS501 142 C500 DA103 129 PC write delay 3G2A5 AD001 to 3G2A5 AD005 9 3G2A5 AD006 and 3G2A5 AD007 18 peak hold C500 AD101 32 39 51 C500 AD501 79 83 84 92 Index pointer word C500 AD501 84 95 C500 DA501 165 169 power consumption C500 AD501 70 power supply flag C500 DA501 164 166 precautions applications xvii averaging and alarms C500 AD501 88 C500 AD101 mean values 41 scaling 42 general xv Xvi operating environment xvii programming C500 DAS501 188 safety Xvi system configuration 6 wiring 6 3G2A5 AD001 to 3G2A5 AD005 12 13 3G2A5 AD006 and 3G2A5 AD007 22 3G2A5 DA001 to 3G2A5 DA005 109 C500 DA101 120 C500 AD501 75 C500 DASO01 152 C500 DA103 131 programming See ladder programming pulse signals applications C500 DA501 189 R reading data automatic C500 DA501 166 C500 AD101 41 42 C500 ADS501 98 C500 DAS501 161 183 187 completing C500 DA501 165 166 requesting read write C500 DA501 165 S scaling C500 AD101 33 42 C500 ADS501 83 84 86 88 100 C500 DAS501 168 169 170 175 serial port enabling C
75. 6 Q0002 Step 2 Turn ON the averaging enable bits for input points 7 8 and 9 in Unit memory map location 50 Q000502 D00506 0050 pointer Q000502 D00507 01C0 0000 0001 1100 0000 Latch Latch Q000503 50006 p_ _______________ Flag Q000503 Q000505 WRIT 0002 D00504 Q0002 Q000504 Step 3 Turn ON the input point enable bits for input points 7 8 and 9 in Unit memory map location 47 D00504 0047 pointer Q000504 D00505 01C0 0000 0001 1100 0000 Latch Latch Q000505 50006 Flag A50013 190 pmm READ 0047 0003 DM00000 Step 4 Read the first 47 Always ON words from the Unit memory map and store the values in D00000 to D00046 103 SECTION 6 3G2A5 DA001 to 3G2A5 DA005 Analog Output Units This section provides information on 3G2A5 DAO001 to 3G2A5 DA005 Analog Output Units including the specifications connections IR CIO bit allocations and applications 6 1 Specifications and General Information 0 0 0 cece eee eee 106 6 1 1 Specifications 4 3c e eee geet e ees dade eed eee dete 106 6 1 2 Description of Parts 23 26 is oi Vain bal be Deeks ba thee de ale eed 107 6 1 3 Blocks Diasram s 4 6 3 bee eee Pel NG EOE SUM A kOe CoS Rin es 108 Gb CWS hook Ete At eee ea hea Sane Le Ses Ste aes 109 6 2 IJR CIO Bit Allocations 0 0 026502608 2a eS Rae ee a Saeed see a ee 110 6 3 Functions and User Programs 0 0 cece ete e ene 110 6 3
76. 64 166 F features Analog Input Units 2 Analog Output Units 3 filtering C500 AD501 83 84 85 91 102 functions See also features C500 AD101 32 C500 AD501 65 87 C500 DA501 141 175 T O READ and I O WRITE instructions C500 AD101 37 C500 AD501 76 94 C500 DA501 145 153 155 156 indicators C500 AD501 67 C500 DAS501 142 input point specification C500 AD101 41 51 C500 ADS501 83 84 input ranges 2 3 error flags C500 AD501 82 errors C500 AD501 79 settings CS500 AD101 34 C500 AD501 70 internal structure C500 DA501 144 invalid data C500 DA501 166 168 173 174 L ladder programming C500 DAS01 157 161 examples 3G2A5 AD001 to 3G2A5 AD005 15 3G2A5 AD006 and 3G2A5 AD007 24 3G2A5 DA001 to 3G2A5 DA005 112 C500 AD101 43 51 C500 DA101 124 C500 ADS01 94 100 C500 DAS01 182 C500 DA103 133 210 M mean value 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 3G2A5 DA001 to 3G2A5 DA005 110 C500 AD101 four word operation 50 two word operation 39 C500 ADS01 78 C500 DA101 122 C500 DA501 163 C500 DA103 132 memory map C500 AD501 80 C500 DA501 145 167 O operation C500 AD101 31 33 C500 DAS501 146 149 154 C500 DA101 123 output ramps C500 DA501 141 168 169 171 177 output ranges 2 4 3G2A5 DA001 to 3G2A5 DA005 110 enabling limits C500 DA
77. 7 Data Exchange with CPU Unit Memory Map Contents Invalid Data Received Flags Description Turned ON by the Analog Output Unit when invalid data is written to an output point in RAM Turned OFF when valid data is written to the same part of RAM When this error occurs bit 3 of word n 1 bit 3 of word n 3 in the allocated I O words is also turned ON ON Error OFF Normal Section Default 9 3 Read R Write W Conversion Error Flags Turned ON when a conversion error is detected in the Analog Output Unit When this error occurs bit 4 of word n 1 bit 4 of word n 3 in the allocated I O words is also turned ON ON Error OFF Normal Conversion Data Conversion source data for each output signal conversion data can be in either BCD or binary set in bits 8 to 15 of address 14 in RAM If the scaling function is disabled conversion data is taken immediately before conversion If the scaling function is enabled conversion data is in engineering units This data is scaled and then subject to conversion If the upper lower limit function is enabled the upper and lower limits are written whenever values above the upper limit or below the lower limit are set With No Scaling BCD 0 to 4095 0000 to 4095pHex or 2048 to 2048 A048 to 2048Hex Binary 0000 to OFFFHex or F800 to O7FFHex With Scaling BCD 7999 to 7999 F999 to 7999p Binary 3
78. 71 Modified the texts tables and figures Page 72 Replaced the figures Page 138 Updated information on the output signals when PC is turned OFF Pages 142 and 143 Replaced the figures and modified the table Pages 147 148 149 and 150 Modified the texts tables and figures Page 194 Added information on input signal range settings Page 197 Modified information on the output signal range setting DIP switch OMRON Corporation Control Devices Division H Q Shiokoji Horikawa Shimogyo ku Kyoto 600 8530 Japan Tel 81 75 344 7109 Fax 81 75 344 7149 Regional Headquarters OMRON EUROPE B V Wegalaan 67 69 NL 2132 JD Hoofddorp The Netherlands Tel 31 2356 81 300 Fax 31 2356 81 388 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 Room 2211 Bank of China Tower 200 Yin Cheng Zhong Road Pu Dong New Area Shanghai 200120 China Tel 86 21 5037 2222 Fax 86 21 5037 2200 omron S Authorized Distributor E J Cat No W258 E1 05 Note Specifications subject to change without notice Printed in Japan This manual is printed on 100 recycled paper
79. A conversion data 23 D A conversion data 23 D A conversion data 23 D A conversion data 24 D A conversion data 24 D A conversion data 24 D A conversion data 24 D A conversion data 25 D A conversion data 25 D A conversion data 25 D A conversion data 25 D A conversion data 26 D A conversion data 26 D A conversion data 26 D A conversion data 26 D A conversion data 27 D A conversion data 27 D A conversion data 27 D A conversion data 27 0 1 2 3 4 5 6 7 8 D A conversion data 28 D A conversion data 28 D A conversion data 28 D A conversion data 28 D A conversion data 29 D A conversion data 29 D A conversion data 29 D A conversion data 29 D A conversion data 219 D A conversion data 219 D A conversion data 219 D A conversion data 219 D A conversion data 211 D A conversion data 211 D A conversion data 211 D A conversion data 211 0 0 0 0 122 0 0 0 0 0 0 0 0 0 0 0 0 Functions and User Programs Section 7 3 7 3 Functions and User Programs 7 3 1 Operational Flow Start 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 The basic operational flow is de
80. AM as shown in the following table Format in RAM Data format Conversion data upper and lower limits Output ramp set time Without scaling With scaling 0to10V Oto5V 0 to 20 mA 4to20 mA Unsigned 5to5V 10 to 10 V Signed Unsigned F999 see note Not possible Not possible Not possible A048 see note Not possible OK Not possible 8001 see note Not possible OK Not possible 0000 OK OK OK 2047 OK OK OK 4095 OK Not possible OK 7999 Not possible Not possible OK 8001 Not possible Not possible Not possible F800 Not possible Not possible Not possible FFFF Not possible OK Not possible 0000 OK OK OK O7FF OK OK OK OFFF OK Not possible OK Control Bits and Flags 7FFF Not possible Note Bit 15 is the sign bit Not possible In addition to data RAM contains control bits and flags Set in the CPU Unit to execute a specific function OK Set by the Analog Output Unit to notify the CPU Unit of status OFF Disabled or OFF ON Enabled or ON Both control bits and flags are arranged in the following format Bits 0 to 7 and 8 to 15 correspond to output points 1 to 8 Bit number 15 14 13 12 11 10 09 08 07 06 05 04 03 02 01 00 Output 8 7 6 5 4 3 2 1 8 7 6 5 4 3 2 1 16
81. BCD mode for output 1 ANDW FFFE D00114 D00114 Sets the value of D00114 AND FFFE in D00114 see note Disables upper lower limits for output 1 Sets the value of D00115 OR 0001 in D00115 see note Enables data for output 1 MOV B000 D00117 Sets B000 3000 in D00117 Scaling lower limit ORW 0001 D00115 D001 15 MOV 3000 D00118 Sets 3000 in D00118 Scaling upper limit tT MOV 0113 D00199 Sets 0113 in D00199 Increments the value of D00199 by 1 when the Analog INC D00199 Output Unit Read Completed Flag bit 06 of word n 3 CIO 000506 is turned OFF A50005 200001 Compares the value of D00199 with 0118 and turns CMP D00199 0118 HH tC ON CIO 200001 if they match or data up to D00118 has been written Note Data is set by calculating a logical sum OR and reset by calculating a logical product AND to make settings with out changing the previous values of other output points 200000 200001 Writes the data memory value at the address MOV 100199 0002 indicated by the value of D00199 to word n word 0002 indirect address MOVD D00199 0210 0003 Sets the rightmost byte of D00199 in the leftmost byte of word n 1 CIO 0003 200200 Turns ON CIO 200200 to set the Read Write Request Bit to Write 200300 Turns ON CIO 200300 to turn ON the PC Write Completed Bit Turns OFF this bit when the Analog Output Unit Read Completed Flag bit 06 of word n 3 CIO 000506 turns ON Continued
82. CPU Unit The following diagram illustrates the basic data movements Data read Word n 1 Special commands are used to transfer Data written data between special shared memory and a Data Carrier Data transferred at startup EEPROM Data written to EEPROM OUT Output bits EEPROM write setting High low alarm reset Bits 03 to 15 in word n Out of range error re set Peak hold data reset Setting errors LD Input bits Conversion errors Bits 03 to 15 in word n 1 High low alarms Out of range alarms Note The C500 AD501 requires the I O READ and I O WRITE instructions to operate It therefore cannot be mounted to a SYSMAC BUS Slave Rack Data Exchange with CPU Unit Section 5 4 Internal Processing and Parameter Settings 1 2 3 I O READ Instruction READ I O WRITE Instruction WRIT The C500 AD501 contains a processor that converts analog data and performs advanced functions on the data The following processing is performed 1 2 RAM is initialized and internal diagnosis is performed with power is turned ON Parameters are transferred from EEPROM to RAM From this point on the Unit will operate using the parameters in RAM unless they are changed e g by executing the I O WRITE instruction Note EEPROM contains the default settings for parameters when the Unit is shipped from the factory The I O WRITE instruction can be executed to change the parameters in RAM The parameters in
83. D 101 BCD 101 BCD 030 MOV 030 MOV FOFF C000 0005 0010 0020 0050 0000 3000 1000 5000 D00000 0001 D00108 D00100 D00101 D00102 D00103 D00104 D00105 D00106 D00107 D00000 D00001 D00002 D00003 D00004 D00005 D00006 D00007 D00008 D00009 0000 0100 00 0100 01 D00100 0100 02 0101 D00300 D00301 D00302 D00303 D00304 D00305 D00306 D00307 49 Four word Operation Section 4 4 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 MOV instruction Special instruction Analysis of spe IR CIO n Write data cial instruction Shared and data trans f memory fer between MOV instruction Read data shared memory and data carrier IR CIO n 2 OUT instruction Output bits IR CIO n Bit 03 to 15 Handshake Peak Reset LD instruction etc A D Conversion Input bits Disconnected IR CIO n 3 Bit 03 to 15 Always set four word operation if the READ and WRIT instructions cannot be used because the CPU Unit does not support READ and WRIT or if the C500 AD101 is mounted to a SYSMAC BUS Slave Rack Using the MOV instruction I O refresh is matched to the CPU Unit cycle time 4 4 2 IR CIO Bit Allocations IR CIO Bit Allocations Output Input IR CIO n Write data IR CIO n 1 Point 1 Control Bit Poin
84. Detect Flags the lower 8 bits of DM 0108 are output to IR 072 Input point 1 N Input point 2 Input point Binary data from points nput points 1 through 6 is converted to BCD and written to DM 0300 through DM 0305 IR 07200 through 07207 are used as work Input point bits activated by the Dis connection Detect Flags to prevent data from be ing moved when an in put is disconnected Input point 5 Input point 6 Input point 7 Scaling BCD output is performed on points 7 and 8 and the data is Input point 8 written to DM 0306 and DM 0307 without con version Two word Operation Section 4 3 From previous page 07103 07104 07105 07106 00014 07107 07108 00007 00008 00108 MOV 21 DM0100 DM0200 MOV 21 DM0101 DM0201 MOV 21 DM0102 DM0202 MOV 21 DM0103 DM0203 MOV 21 DM0104 DM0204 MOV 21 DM0105 DM0205 MOV 21 DM0106 DM0206 MOV 21 DM0107 DM0207 IR 0033 is used for peak values IR 00008 through IR 00015 are used to activate the moving of the peak values into the desired storage locations Turn ON the Peak Read Bits and check the Peak Flags to read the peak values see above IR 00007 is used as the Peak Reset Flag Turn ON both the Peak Reset Bit and the Peak Read Bit to reset a peak value 00009 00109 00010 00110 00011 00111 00012 00112 00013 00113
85. EAD and WRIT instructions are executed for Units mounted to SYSMAC BUS 2 Slave Racks and an at tempt is made to execute a READ or WRIT instruction for a third Unit the CY Flag A50004 will be turned ON without executing the third instruction 4 Therefore when continuously executing READ instructions you can use the READ and WRIT instructions for a maximum of two Special I O Units under each SYSMAC BUS 2 Remote I O Master Unit 38 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 Unconfirmed Data Flag Peak Reset Bit Peak Read Bits Peak Flags N Caution Output Input IR CIO n IR CIO n 1 PC Busy A D Busy PC Write Complete A D Write Complete PC Read Complete A D Read Complete 0 Unconfirmed Data Flag 0 0 0 0 0 0 Peak Reset Bit 0 Peak Read Bit 1 Peak Flag 1 Peak Read Bit 2 Peak Flag 2 Peak Read Bit 3 Peak Flag 3 Peak Read Bit 4 Peak Flag 4 Peak Read Bit 5 Peak Flag 5 Peak Read Bit 6 Peak Flag 6 Peak Read Bit 7 Peak Flag 7 Peak Read Bit 8 Peak Flag 8 This flag turns ON when the converted data is unconfirmed when power is turned ON for example This bit is turned ON
86. FF when an error occurs The Unit will stop operating This indicator flashes when the total number of write operations to EEPROM reaches 5 000 or 10 000 Lights or flashes in the following situations Internal memory error Incorrect data settings Disconnected external 24 VDC power supply With Scaling Output signal range of 0 to 10 V 0 to 5 V 0 to 20 mA or 4 to 20 mA Lights when conversion data is smaller than 0 or greater than 4095 and turns OFF when conversion data is between 0 and 4095 Output signal range of 5 to 5 V or 10 to 10 V Lights when conversion data is smaller than 2048 or greater than 2047 and turns OFF when conversion data is between 2048 and 2047 Without Scaling Lights when conversion data is smaller than the scaling lower limit or greater than the scaling upper limit and turns OFF when conversion data is between the scaling lower limit and upper limit 142 Specifications and General Information Section 9 1 9 1 5 Block Diagram The following diagram shows the basic internal connections of the Unit D A converters Voltage output i Current output _ Output 1 Bus oer a ee EENEN E SE I O bus interface OF eS peer E Voltage output Current output Output 2 Watchdog timer Shutdown Voltage output Current output Output 8 External power supply 24 V 143 Specifications and General Inform
87. IR CIO Bit Allocations The IR CIO bit allocations are shown below Each Unit is allocated two words Input words IR CIO n Point 1 A D converted data 2 IR CIO n 1 Point 2 A D converted data 2 A D converted data 21 A D converted data 21 A D converted data 22 A D converted data 22 A D converted data 23 A D converted data 23 A D converted data 24 A D converted data 24 A D converted data 2 A D converted data 25 A D converted data 26 A D converted data 26 A D converted data 27 A D converted data 27 0 1 2 3 4 5 6 7 8 A D converted data 28 A D converted data 28 A D converted data 29 A D converted data 29 10 A D converted data 21 A D converted data 210 11 See note 1 A D converted data 211 A D converted data 211 0 0 0 0 15 See note 2 Disconnection detect bit Disconnection detect bit Note 1 The function of bit 11 differs for a unipolar and bipolar input as follows Unipolar Input A D Converted Data 2 Bipolar Input Sign Bit OFF for positive values ON for negative values 13 Functions and User Programming sss lt s sSsSS ction 2 3 2 The disconnection detection bit operates for input signal specifications 1 to 5 V 4 to 20 mA ranges 83G2A5 AD001 only ON Disconnection OFF Normal Detection Level 1 to 5 V Range Detected at 0 5 V 4 to 20 mA Range Detecte
88. N 147 Settings and Wiring Section 9 2 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 When mounting the terminal block insert the connector correctly into the circuit board and then push the terminal block all the way in As shown in the following diagram the DIP switches correspond in order from top to bottom to outputs 1 to 8 In the factory settings all outputs are set to the O to 10 V range DIP switch pin Voltage mode Factory No setting oe ei 10 to 10 V Enabled Disabled Output _ A 1 5to 5V Enabled Disabled Oto 10V Enabled Disabled Output _ Oto5V Enabled Disabled 2 Output i 3 LA 3 Note 1 Outputs will not be correct if more than one DIP switch pin is turned ON Turn ON only one of the pins shown above Output 2 When the output signal range is set to 4 to 20 mA or to 0 to 20 mA the out 4 puts will not be affected by the settings of these DIP switch pins 3 Voltage output range DIP switch settings are enabled when the power sup an ply to the PC is turned ON Output 6 Output 7 Output 8 148 Section 9 2 Settings and Wiring Mounting the Terminal When the output signal range has been set mount the terminal block and tighten Block the upper and lo
89. N the PC Write Completed Bit Turns ON bit 00 of word n 1 to set the Read Write Request Bit to Write when CIO 200200 or CIO 200201 turns ON Turns ON bit 06 of word n 1 PC Write Completed Bit when CIO 200300 or CIO 200301 turns ON 185 User Programming Examples Section 9 5 nee by INC MOVD D00199 0210 n 1 Indirect MOV D00199 n Analog Output Unit address Address RAM 13 14 18 MOVD D00198 0210 n 1 Indirect MOV D00198 n Analog Output Unit address Address RAM 186 User Programming Examples Reading Data Example Section 9 5 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 200100 000100 200102 200100 t MOV 0001 D00197 200101 000307 200101 INC D00197 A50005 200102 CMP D00197 0018 200100 200102 MOVD D00197 0210 0003 200103 000506 200101 000507 000507 t MOV 0004 D00197 J 000307 200103 200102 200103 000306 END Incremented by INC MOV poo Ea ay boone sd Specifies Sets 0001 in D00197 default Turns ON CIO 200101 for 1 cycle when the PC Read Completed Bit bit 07 of word n 1 CIO 000307 turns OFF Increments the value of D00197 by 1 each time ClO200101 turns ON Compares the value of D00197 with 0018 and turns ON CIO 200102 i
90. Pulse Signals ing turned OFF by another program block Program block 1 Writes parameters to Analog Output Unit Turns ON work bit D when PC write process is completed After 1 ends 2 starts Program block 2 Writes conversion data to Analog Output Unit Turns ON work bit E when PC write process is completed After 2 ends 3 starts Program block 3 Reads parameters or conversion data from Analog Output Unit Turns ON work bit F when PC write process is completed Bit 06 of word n 1 PC Write Completed Bit He Seal In the C500 DA501 Analog Output Unit a pulse signal that turns ON and OFF every 0 5 second is output to the allocated I O words during normal operation These pulse signals are not output when operation is abnormal Therefore the CPU Unit can use this flag as an input condition to check reliability of conversion data from the Analog Output Unit An example of a simple program for monitoring the pulse signal is shown below Pulse Signal Flag Two word operating mode Bit 11 of word n 1 Four word operating mode Bit 11 of word n 3 189 User Programming Examples Section 9 5 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 H DIFU B Turns ON bit B for 1 cycle when pulse signals turn ON
91. Section 4 4 DM Area Allocation 52 Input point Mean value sample count Normal Peak converted converted data data DM 0100 DM 0200 DM 0101 DM 0201 DM 0102 DM 0202 DM 0103 DM 0203 DM 0104 DM 0204 DM 0105 DM 0205 DM 0106 DM 0206 DM 0107 DM 0207 DM 0000 DM 0001 DM 0002 DM 0003 DM 0004 DM 0005 DM 0006 DM 0007 om oO o oa o o OIO O 0 OO OO Low RE gt JE e HE o GE a GE o E a E INIO AJ OINJ Mean value at input points 5 to 8 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 Programming Concept IR CIO n 3 bit 14 Port Control Bit A D Read Completed CIO IR n 1 bits 00 to 07 Flag PC Write Completed Bit IR CIO n 1 bit 14 IR CIO n 3 IR CIO n 3 bit 00 to 07 bit 15 Port AD Write m Read data IR CIO n 2 Read Completed Flag Flag DM 0100 PC Read Completed Bit IR CIO n 1 bit 15 Timing Chart when Using Four Points I O refresh Port Control Bit CPU Unit PC Write Completed Bit PC Read Completed Bit 10 ms WLLL res ARSE SIT a oe Input A D Read Completed Flag AD Write Completed Flag Port Read Flag One cycle of A D conversi
92. Shield Source n p X a Aa o Bn Shield Differential Input with Shield Shield Source o Shield Note Only one ground is connected from this source as a reference for the Unit 73 Installation Settings and Wiring Section 5 3 Single ended and Differential Inputs on the Same Unit Single ended source Differential source o An eRe X lt o Bn G 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 the Unit 74 Installation Settings and Wiring Section 5 3 Differential Source with Multiple Points Single Reference Precautions Source O o An 3 J o Bhat A o Ans o Bn42 e e e Shield cre a CL a E _ Shield Note Only one ground should be connected at the source when multiple points are connected to the Unit Observe the following precautions when wiring the Analog Input Unit e Use shielded twisted pair cables for signals lines e Keep all cables as short as possible e Analog signal cables contain positive and negative li
93. TY WITHOUT ENSURING THAT THE SYSTEM AS A WHOLE HAS BEEN DESIGNED TO ADDRESS THE RISKS AND THAT THE OMRON PRODUCTS ARE PROPERLY RATED AND INSTALLED FOR THE INTENDED USE WITHIN THE OVERALL EQUIPMENT OR SYSTEM PROGRAMMABLE PRODUCTS OMRON shall not be responsible for the user s programming of a programmable product or any consequence thereof xii Disclaimers CHANGE IN SPECIFICATIONS Product specifications and accessories may be changed at any time based on improvements and other reasons It is our practice to change model numbers when published ratings or features are changed or when significant construction changes are made However some specifications of the products may be changed without any notice When in doubt special model numbers may be assigned to fix or establish key specifications for your application on your request Please consult with your OMRON representative at any time to confirm actual specifications of purchased products DIMENSIONS AND WEIGHTS Dimensions and weights are nominal and are not to be used for manufacturing purposes even when tolerances are shown PERFORMANCE DATA Performance data given in this manual is provided as a guide for the user in determining suitability and does not constitute a warranty It may represent the result of OMRON s test conditions and the users must correlate it to actual application requirements Actual performance is subject to the OMRON Warranty and Limitations of Li
94. The mean is to be obtained for input points 5 to 8 Scaling Scaling used on input points 7 and 8 Analog Input Unit Mounting Position The C500 AD101 Analog Input Unit is mounted at IR 000 such that IR 000 is allocated as the output word and IR 001 is allocated as the input word DM Area Allocation Data Writing Area DM 0000 to DM 0009 Data Reading Area DM 0100 to DM 0108 Peak Storage Area DM 0200 to DM 0207 store peak values of input ports 1 to 8 BCD Converted Data Storage Area DM 0300 to DM 0307 store BCD converted data of input ports 1 to 8 Data Writing Area Settings Address Set value Contents Mean value specification point to be used Scaling specification Point 5 Mean value data Sampling Point 6 counts Point 7 Point 8 Point 7 Offset data Scaling data Point 7 Gain data Point 8 Offset data Point 8 Gain data 1 aj uloj ojlojojojoin ojoiliojojlojojojojlojo oljolojojojojojajojTn ololojojajNj olo Contents of DM 0000 DM 0000 F OFF pepa Upper 8 bits Lower 8 bits Mean specification Points to be used 1111 0000 11141 1 1 414141 ooy Specify Specify points 5 points 1 through 8 through 8 43 Two word Operation Section 4 3 Data Reading Area Allocation 44 Contents of DM 0001 DM 0001 cooo beh YS NS Upper 8 bits t Set to 00 not used Scaling spec
95. Vasn n 2nd Reported Value n number of sample counts in BCD specified by the user minimum of 1 maxi mum of 9999 Unit memory map Description Valid data location Averaging active flags Oor1 Averaging enable bits Oor1 103 to 118 Averaging sample counts BCD 0001 to 9999 Binary 0001 to 7FFF To use this function for each input point do the following 1 2 3 1 Set the input point averaging sample counts value for each input point 2 Turn ON the averaging enable bit for each input point 5 6 4 Filtering The filtering function is used to filter samples of data prior to reporting the value to the CPU Unit The filtering option is similar in function to the averaging func tion While the averaging function is based on a quantity of counts to reach the data the filtering function is based on a time The filtering function is useful for eliminating aberrations in the data due to noise or stray induced signals Unit memory map Description Valid data location Filtering active flags Oor 1 Filtering enable bits Oor 1 Filtering constants BCD 0001 to 9999 Binary 0001 to 7FFF To use this function for each input point do the following 1 Set the input point filtering time constant value for each input point 2 Turn ON the filtering enable bit for each input point N Caution When performing filtering it is recommended that the ladder program perform READ instructions only Performing
96. YSMAC BUS Slave Rack Four word operating mode CPU Rack Expansion CPU Rack Expansion I O Rack and SYSMAC BUS Slave Rack Special functions BCD binary mode selection Set for each point Specifies whether conversion data scaling upper and lower limits upper and lower limit values and output ramp set time are to be handled as BCD or binary data Scaling Set for each point Initially sets 16 bit upper and lower limits as a scale and automatically performs scaling for conversion data converts it to a rate of 0 to 100 according to the initial settings If lower limit gt upper limit reverse scaling will be performed lower limit 100 upper limit 0 BCD mode Decimal values 7999 to 7999 F999 to 79991 x see note 1 Binary mode Decimal values 32767 to 32767 B001 to 7FFF ye see note 2 Note 1 Bit 15 is the sign 0 1 Note 2 Two s complement Output ramp Set for each point Makes output signals change at a specified rate to prevent sudden changes in response to changes in the present value Set the time required to change a present value to a new value BCD mode 8 to 7 999 ms Binary mode 8 to 32 767 ms see 4 3 Two word Operation for details Upper lower limits Set for each point Makes output signal values constant when conversion data goes beyond a certain range This function can be combined with the scaling function The upper and lower limits can be set with
97. ability ERRORS AND OMISSIONS The information in this manual has been carefully checked and is believed to be accurate however no responsibility is assumed for clerical typographical or proofreading errors or omissions xiii xiv 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 1 Intended Audience 2 General Precautions 3 Safety Precautions 4 Operating Environment Precautions 0 0 00 cece cece eee nee 5 Application Precautions 6 Conformance to EC Directives xvi xvi xvi xvii xvii XIX XV Safety Precautions 1 2 3 Xvi Intended Audience This manual is intended for the following personnel who must also have knowl edge of electrical systems an electrical engineer or the equivalent e Personnel in charge of installing FA systems e Personnel in charge of designing FA systems e Personnel in charge of managing FA systems and facilities General Precautions N WARNING The user must operate the product according to the performance specifications described in the operation manuals Before using the product under cond
98. and 2 DIP switch pins for inputs 15 and 16 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 The DIP switch pins are divided into groups of four pins each pins 1 to 4 and pins 5 to 8 They are used to set inputs 1 to 16 in order from the indicator cover One slide switch is allocated for each input They are used to set inputs 1 to 16 in order from the indicator cover Slide switch for input 1 DIP switch pins for input 5 Slide switch for input 4 Slide switch for input 5 DIP switch pins for input 6 _ Slide Ae switch for input 6 DIP switch pins for input 7 Slide switch for input 16 Quick Start Procedure Section 5 2 5 1 8 Block Diagram The following diagram shows the basic internal connections of the Unit Input amplifiers Input 1 ee Analog multiplexers Q Input 2 pa2 2 1 gt i a inputa Epe eee b a eae ey ee Input 4 Sample pure and hold conver pee ter iar Buffer p amplifier I O bus interface 2 Shield G Clock 5 2 Quick Start Procedure The following steps are used as a quick reference gu
99. and WRIT instructions for a maximum of two Special I O Units under each SYSMAC BUS 2 Remote I O Master Unit 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 Using the Unit Configuration Worksheet Appendix A is a worksheet to use when configuring the advanced functions available in the Unit It is particularly useful in setting up a table in the CPU Unit data memory area that corresponds to the Unit memory map The data can then be easily transferred to the Unit using the I O WRITE ladder instruction Note When configuring the Unit s advanced functions use the following steps 1 2 3 1 Disable the input point to be configured in Unit memory map word 47 2 Reconfigure the input point for the desired advanced function 3 Enable the input point in Unit memory map word 47 User Programming Examples Section 5 7 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 The pointer word is used to set the beginning memory map location for either the I O READ or I O WRITE ladder instructions This allows the user to access any area of the table directly without read
100. anual Please read and understand this manual before using the product Please consult your OMRON representative if you have any questions or comments Warranty and Limitations of Liability WARRANTY OMRON s exclusive warranty is that the products are free from defects in materials and workmanship for a period of one year or other period if specified from date of sale by OMRON OMRON MAKES NO WARRANTY OR REPRESENTATION EXPRESS OR IMPLIED REGARDING NON INFRINGEMENT MERCHANTABILITY OR FITNESS FOR PARTICULAR PURPOSE OF THE PRODUCTS ANY BUYER OR USER ACKNOWLEDGES THAT THE BUYER OR USER ALONE HAS DETERMINED THAT THE PRODUCTS WILL SUITABLY MEET THE REQUIREMENTS OF THEIR INTENDED USE OMRON DISCLAIMS ALL OTHER WARRANTIES EXPRESS OR IMPLIED LIMITATIONS OF LIABILITY OMRON SHALL NOT BE RESPONSIBLE FOR SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES LOSS OF PROFITS OR COMMERCIAL LOSS IN ANY WAY CONNECTED WITH THE PRODUCTS WHETHER SUCH CLAIM IS BASED ON CONTRACT WARRANTY NEGLIGENCE OR STRICT LIABILITY In no event shall the responsibility of OMRON for any act exceed the individual price of the product on which liability is asserted IN NO EVENT SHALL OMRON BE RESPONSIBLE FOR WARRANTY REPAIR OR OTHER CLAIMS REGARDING THE PRODUCTS UNLESS OMRON S ANALYSIS CONFIRMS THAT THE PRODUCTS WERE PROPERLY HANDLED STORED INSTALLED AND MAINTAINED AND NOT SUBJECT TO CONTAMINATION ABUSE MISUSE OR INAPPROPRIATE MODIFICATION OR REPAIR xi
101. arted When the Number of Words Transferred is Greater than 1 191 WRIT m s n m 1 words starting from word S 1 are written L y by using the content of word S as the first RAM First allocated I O address address of the Analog Output Unit Use this Transfer source address Number of words transferred 0002 instruction when writing parameters and conversion data directly to the Unit CPU Unit Analog Output Unit Allocated I O n n 1 Note The specified first RAM address is not set in the Read Pointer address 12 in RAM Example 191 writ 0009 00200 0002 Allocated I O 0002 0003 Write source first address Number of words transferred CPU Unit Analog Output Unit First RAM address 01 See Using the I O READ Instruction READ The READ instruction reads the specified number of words by using the content of the Read Pointer address 12 in RAM of the Analog Output Unit as the first RAM address 191 The READ instruction uses the value of the Read READ m n oD Pointer in RAM as the first RAM address to read data Epi Jestinatonstait address from m words and write it to words D to D m 1 Allocated I O start address 1 Before executing the READ instruction set the value of Number of words transferred the Read Pointer in the WRIT instruction with the number of words transferred set to 1 CPU Unit Analog Output Unit Allocated I O n n 1 Set using the WRIT instruction with the number
102. ast 100 ms after the parameters have been written PC Write Completed Bit This bit is turned ON in the CPU Unit to notify the Analog Output Unit that there is new data in words n and n 1 After verifying that the Analog Output Unit Read Completed Flag bit 06 of word n 3 is ON the CPU Unit turns OFF this bit When this bit is turned OFF the Analog Output Unit Read Completed Flag turns OFF again If an attempt is made to write data without turning ON this bit it will be ignored PC Read Completed Bit This bit is turned ON in the CPU Unit to notify the Analog Output Unit that data has been read from words n 2 and n 3 When this bit is turned ON the Analog Output Unit Write Completed Flag bit 07 of word n 3 turns OFF again After verifying that the Analog Output Unit Write Completed flag is turned OFF the CPU Unit turns OFF this bit 08 to 15 Read Write Pointer This pointer specifies a RAM address BCD values between 00 and 61 are valid 15 Reserved 165 Data Exchange with CPU Unit Section 9 3 Input Words Analog Output Unit gt CPU Unit Allocated I O word 00 to 15 Read Data Function 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 166 00 to 02 Reserved 03 Invalid Data Received Flag This flag is turned ON when invalid data
103. ation 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 Address scaling lower limits loutput ramp O O Normal D A conversion err as with nuppe _ With output scaling lower limits ram e e e e e e kd e Without Without upper scaling lower limits Normal D A conversion With With upper With output scaling lower limits rami Note The default settings are shown above EEPROM es ee eee All RAM data Allocated I O Words can be written to 2 words EEPROM by t turning ON the EEPROM Write Bit In two word operating mode the CPU Unit executes the I O WRITE Instruction WRIT to directly set data in the output area with addresses 01 to 08 in RAM In four word operating mode the CPU Unit executes a transfer instruction such as MOV to set data in the above output area through the allocated I O words When the scaling function is enabled data in scaling based engineering units be tween the scaling lower and upper limits is set in the output area Likewise the CPU Unit sets data in each parameter area of RAM Note If parameter data is to be read from EEPROM at power ON instead of transfer ring it from the ladder program each time shift the EEPROM Writ
104. ations during the life of the Unit The following table lists the functions of the C500 AD501 Function Description Input point Only the input points that will be used can be enabled enable disable settings preventing processing for unused points to increase processing speed Input signal range The input signal range can be set separately for each settings input point Binary BCD settings The data format for converted and processed data can be for output data set to either binary or BCD Pointer word The pointer word can be set to specify the first word to be read or written using the I O READ or I O WRITE instructions Processing speed is increased because only the required words are read or written Scaling Converted data can be converted full scale between upper and lower limits sets by the user Filtering A filter can be set to prevent the output data from changing rapidly even if the input value changes rapidly This function can be used to reduce errors that can occur as a result of inductive noise Averaging An averaging function can be used to output an averaged based on a specific number of samples This function can be used to reduce errors that can occur as a result of noise on the analog input signal Peak hold The peak hold function enables outputting the maximum converted value High low alarms High and low limits can be set to turn ON High or Low Alarm Flags when the converted data exceeds one of the limits
105. but bits O to 11 are the converted data and bit 15 is the disconnection detection signal Therefore the converted data only is read at 1 and 2 in the program 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 3 1 3 2 3 3 Specifications and General Information 3 1 1 Speciications ee seee aad edie Rees dds eee ae bo 3 1 2 Description of Parts i c8s ka spiraia bale be N AR a ees tbe ae da ele ad 3 1 3 Block Diagram 6 3 een eye ged oe hs Ee E eee eas wha ees S214 OWING ewes toate bee et nt Sat Bae IR CIO Bit Allocations eocena criai ien ee die ba GR a ae eet ae Functions and User Programs 2 00 ee eee eee 3 3 1 Input Signals and Converted Data 0 eee eee 3 3 2 Ladder Programming Example 20 0 0 cece eee eee eee ee 18 18 19 20 21 23 23 23 24 17 Specifications and General Information 3 1 3 1 1 Specifications General Specifications Performance Specifications Note PC Write Delay 18 Section 3 1 Specifications and General Information All general specifications of the 3G2A5 AD006 and 3G2A5 AD007 Analog Input Units conform to those of the C Series except the following e Insulation between the External Terminals and the Frame 5MQ min at 250 VDC e Breakdown
106. cations The input specifications of the C500 AD501 Analog Input Unit are shown below Binary Hex Mode A D converted data OFFF 0to10V 4095 0to5V 0 to 20 mA 10t010V O7FF 5to5V 2047 20 to 20 mA 0000 0000 F800 A048 F000 C095 l l l 10 V 5V ov 5V 10V i CONA oni Con Input signal ranges ge me Status of sign bit bit 15 _ 10to 10V A D converted data Oto 10V A D converted data 5 to 5 V 20 to 20 mA OFFF 0to5V 0to20 mA O7FF 0000 l 1 F800 ov 5V 10V 0 mA 20 mA Input signal range Input signal range BCD Mode Oto 10V 10 to 10 V A D converted data A D converted data otoswotozoma VYD converted data ee 5 to 5 V 20 to 20 mA 4095 0000 ov 5V 10V 0 mA 20 mA Input signal range Status of sign bit bit 15 63 Specifications and General Information Section 5 1 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 The Unit s microprocessor reduces the amount of ladder logic required to perform functions such as scaling averaging filtering peak hold and alarms These functions are executed
107. containing the settings of the functions not to be used is written make settings so that the default values will be written as the settings for unused functions This must be done before executing the WRIT instruction When the Number of Words Transferred is 1 191 WRIT 0001 S n Set the value of the Read Pointer address A 12 for the Analog Output Unit The content of First allocated O address jg written to address 12 Use this instruction Transfer source address F Number of words transferred 0001 conjunction with the READ Instruction CPU Unit Analog Output Unit Allocated I O words n n 1 Address RAM Pointer settings Example WRIT 0001 00100 0002 Allocated I O words 0002 0003 Transfer source address Always 0001 The content of D00100 is written to the Read Pointer address 12 CPU Unit Analog Output Unit Address RAM Pointer Read settings Pointer Dooioof ooo Pees The I O READ instruction READ uses the set value of the Read Pointer to read data from the specified number of words starting from the specified address in RAM The value of the Read Pointer remains valid until the next WRIT instruction is executed with the number of words transferred is turned ON until the power is 155 Data Exchange with CPU Unit Section 9 3 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 rest
108. converts 4 digit hexadecimal values 0000 to 07FF or 8000 to 87FF from the specified words IR CIO n to n 3 for output from the Analog Output Unit CPU Unit C500 DA103 BCD ___ BCD to BIN data 0 to conversion a IRCIOn L D Acon oe to IR CIO Data version Analog SMISE Hexadecimal data n 3 transfer output sign 0000 to 07FF 8000 to 87FF 132 Functions and User Programs ssss lt s sSsSsSsSCSS ction 8 3 Relationship Between Input Data and Output Signals Output 1oV 0000 0000 Digital value OV O7FF 2047 ng mutton Sahat 10 V O7FFuex 2047 is converted to 10 V 0000Hex and 8000H_ 0 and 0 are converted to 0 V 87FFHex 2047 is converted to 10 V Data cannot be converted in ranges 0800Hex to 7FFFHex Or 8800Hex to FFFFHex 8 3 2 Ladder Programming Example Example programs are shown below for the C500 DA103 Analog Output Unit mounted in the C1000H The conversion data is stored in DM 0100 The Unit uses IR 000 through IR 003 Only the programming for point 1 IR 0000 is shown Programming Example Using C1000H Output condition MOV 21 DM 0100 The conversion data is transferred to IR 000 then converted by the Unit 133 SECTION 9 C500 DA501 Analog Output Unit This section describes information on the C500 DA501 Analog Output Unit including the specifications conn
109. ctions 0 0 ec eee eee 93 5 7 User Programming Examples 0 02 94 5 7 1 Basic Programming Ene iae EEEE EE eee ens 94 5 7 2 Using the Unit Configuration Worksheet 00 0 00 0000008 94 5 7 3 Using the Pointer Word in the Unit Memory Map 004 95 5 7 4 Writing Data to the Unit 0 eee 95 5 7 5 Reading Data from the Unit 0 0 0 0 2c eee 98 5 7 6 Typical Programming Examples 0 0 urere neren 100 61 Specifications and General Information Section 5 1 5 1 Specifications and General Information 5 1 1 Specifications General Specifications All general specifications of the C500 AD501 Analog Output Unit conform to those of the C Series Performance Specifications Item Specification Number of analog inputs Input signal range See note 1 Voltage input 16 points differential 0 to 5 VDC 0 to 10 VDC 5 to 5 VDC 10 to 10 VDC Current input 0 to 20 mA 20 to 20 mA Advanced functions Scaling alarms averaging filtering peak hold Select and configure per input point Resolution 1 4096 12 Bit 0 02 Accuracy Voltage input 0 08 at 25 C 0 15 over 0 to 55 C with 95 Current input 0 18 at 25 C 0 25 over 0 to 55 C with 95 Includes internal 0 1 250 resistor Conversion time See note 2 25 ms minimum all 16 inputs Input impedance V
110. ctions are executed for Units mounted to SYSMAC BUS 2 Slave Racks and an at tempt is made to execute a READ or WRIT instruction for a third Unit the CY Flag A50004 will be turned ON without executing the third instruction 4 Therefore when continuously executing READ instructions you can use the READ and WRIT instructions for a maximum of two Special I O Units under each SYSMAC BUS 2 Remote I O Master Unit 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 If the program writes output data after parameters design the program as fol lows Even if an attempt is made to write output data immediately after parame ters 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 For this reason design the pro gram so that it writes output data at least 100 ms after parameters have been written Also the Parameter Update Bit must be turned ON to make the written parameters valid IR CIO Bit Allocations The Analog Input Unit communicates to the CPU Unit using two word mode addressing The I O READ and I O WRITE ladder instructions are used to read write data between the Analog Input Unit
111. d at 2 mA Always OFF in other ranges 2 3 Functions and User Programming 2 3 1 Input Signals and Converted Data The Analog Input Unit converts analog input signals into digital data Five mod els are available to support different analog input ranges The analog input sig nals can be unipolar inputs which are positive or bipolar inputs which are posi tive and negative The resolution differs according to the input range Unipolar Input Input Ranges 1to5V 3G2A5 AD001 4to 20 mA 3G2A5 AD001 Oto10V 3G2A5 AD002 Oto5V 3G2A5 AD003 Converted Output A D converted data 12 bit binary data Note Bit 15 for the 1 to 5 V 4 to 20 mA ranges 8G2A5 AD001 is the connection detection bit ON Disconnection OFF Normal The detection levels are as follows 1 to 5 V Range Detected at 0 5 V max 4 to 20 mA Range Detected at 2 mA max Relationship Between Input Signals and A D Conversion Data Decimal equivalent of Decimal equivalent of binary code binary code OFFF OFFF 4095 4095 0 Analog 0 ov 1V 5V input 4 mA 20 mA Input 1 to 5 V 4 to 20 mA Input 0 to 10 V O to 5 V Bipolar Input Input Ranges 10 to 10 V 3G2A5 AD004 5to5V 3G2A5 AD005 Converted Output 1 sign bit 11 A D converted data bits Bit 11 is the sign bit OFF for positive values ON for negative values 14 Functions and User Programming sss lt sSsSCSS ction 2 3 Relationship Between Input Signals and A D Conversion Data Decimal equival
112. d for each input point in word 48 Valid values are XXXX to XXXX binary and 7999 to 7999 BCD Alarm limits must be specified in scaled units if the scaling function is enabled for the input point The default values are 0100 for the low limit and 3900 for the high limit 00 to 15 Filter constants These words contain the filtering time constants for each input point The values are in milliseconds Valid values are BCD 0001 to 9999 and binary 0001 to 7FFF The default value is 0100 BCD The filtering function is performed prior to the data being placed in the conversion data words 01 through 16 85 Memory Map Section 5 5 Read Memory Bits Input Function Description write map word point 00 to 15 OANOAABRWND 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 Valid values are BCD 0001 to 9999 and binary 0001 to 7FFF The default value is 0020 BCD The averaging function is performed prior to the data being placed in the conversion data words 01 through 16 00 to 15 Scaling low limit Scaling high limit Scaling low limit Scaling high limit Scaling low limit Scaling high limit Scaling low limit Scaling high limit Scaling low limit Scaling high limit Scaling low limit Scaling high limit Scaling low limit Scaling high limit Scaling low limit Scaling
113. de Bits 15 Conversion Data Enable Bits 16 Conversion Speed Mode Setting 17 Scaling Lower Limits for each point 32 Scaling Upper Limits for each point 33 Output Ramp Set Times for each point 40 41 Output Upper Lower Limits for each point 56 57 Invalid Data Received Address 0 58 Invalid Data Received Error Code 59 e Total EEPROM Write Count 60 t EEPROM Write Result 61 Total EEPROM Write Count Setting Status flags Analog Output Unit CPU Unit Conversion data Analog Output Unit gt CPU Unit settings Analog Output Unit CPU Unit Pointer Analog Output Unit gt CPU Unit Status flags for parameter Parameter settings CPU Unit gt Analog Output Unit Status data Analog Output Unit CPU Unit Analog Output Unit gt CPU Unit 145 Specifications and General Information Section 9 1 9 1 7 Operation Flow Set two word or four word operating mode Set output signal range Set output signals at PC power interruption and recovery 146 Wire connections 777777 Set the mode for exchanging data with the CPU Unit by using the two four word operating mode short circuit pins on the front panel of 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 4 Select an output signal range from four volta
114. e C500 DA101 Analog Output Unit including the specifications connections IR CIO bit allocations and applications 7 1 7 2 7 3 Specifications and General Information 7 1 1 Specifications 7 1 2 Description of Parts 7 1 3 Block Diagram 7 1 4 Setting Output Range 7 1 5 Wiring 0 IR CIO Bit Allocations Functions and User Programs 7 3 1 Operational Flow 7 3 2 Functions 7 3 3 Ladder Programming Example 116 116 117 118 119 120 122 123 123 123 124 115 Specifications and General Information Section 7 1 7 1 Specifications and General Information 7 1 1 Specifications General Specifications Performance Specifications All general specifications of the C500 DA101 Analog Output Unit conform to those of the C Series Item Specification Number of analog outputs 4 Output signal range Voltage output 1to5V Oto 10V Current output 4to20mA Max output current Voltage output 10 mA External output impedance Voltage output 0 5 Q max Max load resistance Current output 400 Q max Resolution 1 4095 full scale PC signal 12 bit binary Overall accuracy 25 C 0 5 max full scale including linearity error 0 to 55 C 1 0 max full scale including linearity error Conversion time see note 10 ms max 4 words al
115. e Flag from 0 to 1 All data will be automatically written from RAM to EEPROM when the power is turned ON 144 Analog output Analog output Specifications and General Information Section 9 1 Relationship with CPU When two words are allocated the CPU Unit uses the I O WRITE and I O READ 8 analog output points 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 CPU Unit Analog Output Unit Ladder WRIT in two word Word 00 Special program operating mode functions such as scaling Word 61 Data t fi d MOV or OUT in at startup 0e EEPROM four word operating mode Data written to EEPROM I O refresh Allocated I O racine words 2 or 4 words words 1 O refresh 2 or 4 words Memory Map Memory Map in the Analog Output Unit consists of 62 words It contains conver sion data status flags and parameter setting data 15 eA 00 Address 00 ot Invalid Data Received Flags Conversion Error Flags 01 08 oo 1 Scaling Enabled Flags Output Ramp Enabled Flags 10 Upper Lower Limit Enabled Flags BCD Binary Mode Flags 11 7 Conversion Data Enabled Flags aaan 12 Read Pointer ie eee owen ie 13 Scaling Enable Bits Output Ramp Enable Bits 14 Upper Lower Limit Enable Bits BCD Binary Mo
116. e actual volume of liquid in the tank but rather in the percent full reading for the tank It has been determined that a 0 V reading on the sensor indicates the tank is 25 full and a 5 V reading on the sensor indicates the tank is 100 full To configure the Unit to report the data in percentage full 1 2 3 1 Set the scaling low and high limits to 25 and 100 2 Turn ON the scaling enable bit for input point 6 Input Range 0 to 5V Scaling High 100 Scaling Low 25 BCD Binary Scaling Data Hex Scaling Data A D Data Normal Data A D Data 3 Normal Data OFFER lemn ai ers Te ee SS Bl GE 5i 4095 0100 0025 0000 0064 0019 0000 Input signal range Input signal range 89 Functions Section 5 6 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 Thus the range of the sensor is 900 psi 16 mA or 56 25 psi mA If the sensor could report a reading of 0 mA the pressure would be 300 56 25 x 4 or 75 psi To configure the Unit to report the data in percentage full 1 2 3 1 Set the scaling low and high limits to 75 and 1200 2 Turn ON the scaling enable bit for
117. e in the conversion data Therefore when using this function change conversion data only if output needs to be changed To enable the output ramp function set the output ramp set time turn ON the Output Ramp Enable Bit and turn ON the Parameter Update Bit in the allocated I O words Conversion data in RAM will be rewritten and the Analog Output Unit will generate output signals according to the new parameter settings Output Ramp Set Time Set the output ramp set time in ms The setting range depends on the data for mat BCD or binary mode as shown in the following table The output ramp set time must be 8 ms or greater fe es ee Output ramp set time 0008 to 7999146 0008 to 7FFFHex Unit ms Decimal 8 to 7999 Decimal 8 to 32767 Note 1 If a value outside the setting range is set other data will not be written to RAM 2 Because conversion data is updated every 8 ms the time required for an output signal to reach a new value is a multiple of 8 ms Therefore the maxi mum output ramp set time accuracy is 8 ms 177 Functions Section 9 4 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 Output signal ra Time Ramp set time Ramp set time Ra
118. ecautions 2 2 es4 s G ede Bie eed wb ea dee ees XVi 4 Operating Environment Precautions 0 0 0 eee ee eee eee XVii 5 Application Precautions ssc 0c e ses menik e aed eked acto E eet bbc XVii 6 Conformance to EC Directives sierot cece eens XIX SECTION 1 Features and Basic Configuration 006 1 l 1 Features ine ace eter aie E bya ied os ae ska Bg A Sands Sky Gee EA Gee ee 2 1 2 Basic Cont suration sss oy cesar east eh ie ee eh es es E 5 SECTION 2 3G2A5 AD001 to 3G2A5 AD005 Analog Input Units 7 2 1 Specifications and General Information 00 0 2c eee eee eee eee 8 2 2 IR CIO Bit Allocations 2 066 uke eh be oak aed eas os doable de ea bale ees 13 2 3 Functions and User Programming 0 0 c cece ee eee 14 SECTION 3 3G2A5 AD006 and 3G2A5 AD007 Analog Input Units 17 3 1 Specifications and General Information 0 00 0 c eee eee 18 3 2 IR CIO Bit Allocations sss oseca a a a de heb A eee eed Sas 23 3 3 Functions and User Programs 0 0 cece eee cece eee eee 23 SECTION 4 C500 AD101 Analog Input Unit 27 4 1 Specifications and General Information 0 0 0 0 e eee eee 28 4 2 Functions Settings and Wiring 0 0 eee eee 31 4 3 Two word Operation seoce senii tr eee eee eee nen a 37 4 4 Four word Operation iseci scd eee dbase ed See ee pe beet 50 SECTION 5 C500 AD501 Analog Input Unit
119. ections I O word allocations and applications 9 1 Specifications and General Information 0 0 0 0 136 9 1 1 Specifications a nee merena geet eee sas aad a e Bee Gate 136 9 1 2 OVELVICW meret ites ta bs Sa Vain Dal be Hee ekg ba hohe ue ode anes ed 141 921 3 DescripuonobP arts so enced Pele hs CEOS UMA eh a Coes Rin ees 142 O 154 Indicators sii 3 b Agathe a tea tate Li es Se Raa 142 9 1 5 Block Diagram isc voices hl ede ba GS a ae ee ae 143 9 1 6 Internal Structure o o cecce cece nee 144 921 7 Operation FlOW gt ex onten pe tata Soa ts eine owes Sate Bas Pa 146 9 2 Settings and WNE 205 sas tated ete hee ted ae Ara hes else ob aa as Hee 147 9 2 1 Setting the Output Signal Ranges 0 0 00 ee eee 147 9 2 2 Setting the Two word or Four word Operating Mode 149 9 2 3 Setting the Output Signals at PC Power Interruption and Recovery 150 gA A WINS hasan eas Saat Pe a he Rat she ace oda negate aM a cet a ne con ee ala 151 9 3 Data Exchange with CPU Unit 0 0 eee eee 153 9 3 1 Basic Operation 2 6043 6d oe ets teipe ee eae ee eee bt 154 9 3 2 IR CIO Bit Allocations 0 0 ec cee ee 163 9 3 3 Memory Maps fae eet ttre Mi cede as shale a lweiakae do 167 O24 FUNCHONS gt rere berse claret shew fata Sot er deck ie ee aed 175 9 4 1 BCD Binary M de ees a a Ga eas ke ee eke bees 175 924 2 SCAUNG vcs Fiie tees Se LOGAN ae ONSEN Goh ea POA Ae ee 175 9 4
120. ent of binary code Analog input 10 V 5 V 5 V Sign bit bit 11 YW Yyyyyyyy o 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 Connections IR 001 IR 002 IR 003 IR 004 IR 005 Input point 1 Input point 2 4 digit BCD 4 digit BCD output output 0 0 Input point 1 1 1 disconnected 2 2 output Input 3 3 point 1 4 X 100 5 5 6 6 7 7 X 101 8 8 Input 9 9 Input point 2 pointa 1 1 disconnected 1 1 output 1 X 102 1 X 108 Analog Input Unit Output Unit Output Unit Output Unit 15 Functions and User Programming sss lt sSsSCSS ec tion 2 3 Programming Example for the C1000H 16 Always ON Flag 25313 For input point 1 1 ANDW 34 0FFF DM 0000 BCD 24 DM 0000 003 Reads the converted data from IR 001 and stores it in DM 0000 Converts the content of DM 0000 to BCD and outputs it to IR 003 Input disconnected output Always ON Flag 25313 ANDW 34 002 0FFF DM 0001 BCD 24 DM 0001 004 For input point 2 2 Reads the converted data from IR 002 and stores it in DM 0001 Converts the content of DM 0001 to BCD and outputs it to IR 004 00509 Input disconnected output Note The Analog Input Unit outputs 16 bit data
121. er to the PC before removing or mounting the termi nal block or before changing the DIP switch settings There are four DIP switches on the back of the Unit with a total of 24 pins As shown in the following diagram they correspond in order from top to bottom to outputs 1 to 8 In the factory settings all points are set to the 0 to 10 V range Use an implement such as a ballpoint pen to set the DIP switch pins Output 1 Output 2 Output 3 Output 4 Output 5 Output 6 Output 7 Output 8 Output signal Factory setting Voltage output Current output 0to10V ON Oto 5V ON 5 to 5V ON 0 to 20 mA OFF 4 to 20 mA Oto 10V ON ON OFF ON ON OFF ON ON OFF ON DIP switches for setting voltage output ranges Setting required see note 1 Setting not required see note 1 1 When a voltage output is set it is also necessary to set the voltage output range DIP switch pins beneath the terminal block on the back of the Unit Set the same voltage output range specifications on both DIP switches Opera tion will not be correct if different specifications are set 2 When the output signal range is set to 4 to 20 mA or to 0 to 20 mA the out puts will not be affected by the settings of the voltage output range DIP switch pins on the back of the Unit 3 The DIP switch settings are made valid when the PC is turned O
122. erall accuracy full scale Voltage outputs 0to10V Oto5V 5to5V 10 to 10 V 0 1 at 25 C 0 4 at 0 to 55 C Current outputs 0 to 20 mA 4 to 20 mA 0 4 at 0 to 55 C Reproducibility 0 0047 full range Conversion time Normal BCD mode 13 4 ms With output ramp and upper lower limits 16 6 ms High speed mode 3 4 ms Words allocated 2 words 1 input word and 1 output word or 4 words 2 input words and 2 output words Set using the two four word operating mode short circuit pins on the front panel Factory set to two word operating mode Data exchange with CPU Unit Two word operating mode factory setting The CPU Unit directly accesses the Memory Map in RAM using the I O WRITE and I O READ instructions WRIT and READ Four word operating mode The CPU Unit accesses the Memory Map in RAM via the allocated I O words using the MOV and other instructions Internal memory RAM 62 words Consists of data that can be accessed by CPU Unit using the above instructions including conversion data scaling upper lower limits upper lower limit values BCD mode parameters binary mode parameters etc EEPROM Contains parameter data that can be written from RAM It transfers data back to RAM when the power is turned ON Mountable Racks Two word operating mode CPU Rack Expansion CPU Rack Expansion I O Rack and SYSMAC BUS 2 Slave Rack Cannot be mounted to a S
123. erved EEPROM compare word 0000 to 9999 To store the current Unit memory map into EEPROM do the following 1 Read Unit memory map location 151 Set Unit memory map location 153 equal to location 151 Turn OFF the execution conditions for all READ WRIT instructions to the Unit Turn ON bit 03 in I O word n The Unit will write the Unit memory map to EE PROM The Unit will then increment location 151 by 1 Location 153 must be updated again to enable another write cycle to take place The EEPROM has a life of 10 000 write cycles When writing to the EE PROM use caution to avoid continuous write operations by executing the ladder logic only one time or updating the location manually using data memory The Unit will require a replacement EEPROM at 10 000 write cycles During the EEPROM write cycle the Unit temporarily suspends the cycling of the Unit good flag in I O word n 1 bit 07 The cycling resumes after the EEPROM has been written 93 User Programming Examples Section 5 7 5 7 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 It can be executed to read the A D data and alarm flags for each in
124. es V ov yew V ov y Shielded twisted pair cable Input Shield Section 3 1 Input point 1 Input point 2 Input point 3 Input point 4 The following diagram shows the wiring when separate power supplies are used Input point 1 Input point 2 Input point 3 Input point 4 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 Pa V gt 0 Voltage input 1 Current input Input point 1 OV aes 2 Input 3 Shield V ss 4 Voltage input 5 Current input ov f 6 Input Input point 2 7 Shield V 7 8 Voltage input 9 Current input Input point 3 OV y Input Shield W Voltage input Current input nput point 4 OV y Input ae Shield Shielded twisted pair cable Precautions 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 3 For voltage inputs short the negative and shield terminals 4 For current inputs connect the terminals as described below according to whether input points 1 through 4 are isolated Inaccurate data will be ob tained if the shield terminal is open a When Separate Power Suppli
125. es Are Used for Input Points 1 through 4 Input Points Isolated Connect the positive terminal to the resistance terminal at each input point Connect the negative terminal to the shield terminal at each input point b When the Same Power Supply Is Used for Input Points 1 through 4 Input Points Not Isolated Connect the positive terminal to the resistance terminal at each input point Connect a 25 kQ min 1 4 W carbon resistor between the negative ter minal and the shield terminal at each input point If the same power supply is used for input points 1 through 4 with wiring connections as specified for separate power supplies See previous dia gram interference between the input points will result because the shield terminals are joined inside the Analog Input Unit 22 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 3 2 Input words IR CIO n Point 1 A D converted data 2 IR CIO n 1 Point 2 A D converted data 2 IR CIO n 2 Point 3 A D converted data 20 IR CIO n 3 Point 4 A D converted data 2 A D converted data 21 A D converted data 21 A D converted data 21 A D converted data 21 A D converted data 22 A D converted data 22 A D converted data 22 A D converted data 22 A D converted data 23 A D converted data 23 A D converted data 23 A D converted data 23 A D c
126. eturn to the original configuration and ignore all data containing errors This flag is turned OFF when valid data is written Conversion Error Flag This flag is turned ON when a conversion error is detected in the Analog Output Unit The Analog Output Unit will return to the original configuration and ignore all data containing errors This flag is turned OFF when valid data is written Conversion Speed Mode Flag This flag is used to select either of the following conversion speed modes OFF Normal ON High speed Reserved Reserved Upper Lower Limit Over Flag This flag is turned ON when conversion data exceeds the upper limit or drops below the lower limit It is cleared when conversion data between the upper and lower limits is written External Power Supply ON Flag This flag is turned ON when external power supply is turned ON Reserved Pulse Signal Flag The Analog Output Unit generates ON OFF signals with a frequency of 1 Hz and a load cycle of 50 ON for 0 5 second OFF for 0 5 second during normal operation It temporarily stops outputting pulse signals while data is being written to EEPROM and restarts outputting signals when the write operation has been completed Analog Output Unit OK Flag This flag is turned ON when the internal diagnostic function ends normally It is turned OFF when an internal error has been detected If turning the power OFF and then ON does no
127. ey may also have an optional common wire and or shield wire Use the configuration worksheet in Appendix A to record Unit settings The Unit uses 5 volt power from the PC power supply The maximum current consumption is 1 2 amps Refer to the nstallation Guide for your PC to deter mine total system power requirements The Unit uses the I O READ and I O WRITE ladder instructions to communicate with the CPU Unit Each Unit occupies two I O words in the I O table The Units may be located on the following racks e CPU Rack e CV series CPU Expansion Rack e Local Expansion Rack e SYSMAC BUS 2 Slave Rack The Unit cannot be mounted to a SYSMAC BUS Slave Rack There are normally no restrictions to the number of Units that can be mounted to the Racks as long as the power supply capacity is not exceeded Refer to page 78 for special restrictions on SYSMAC BUS 2 Slave Racks 5 3 3 Setting Input Ranges 70 The C500 AD501 Analog Input Unit has six input signal ranges The input signal range is set for each input by setting a DIP switch The input signal ranges and DIP switch settings are listed below Set the voltage current input selection at the same time using the slide switch Installation Settings and Wiring Section 5 3 Slide switch setting DIP switch pin settings Inputrange 5 6 7 B Slide switch settings 2 3 4 0 to 5 VDC Voltage input 0 to 10 VDC 5 to 5 VDC 10 to 10 VDC 0 to 20 mA Current input 20 to 20 mA
128. f D00113 AND FEFF in D00113 see note Disables output ramp for output 1 Sets the value of D00114 OR 0100 in D00114 see note Sets BCD mode for output 1 Sets the value of D00114 AND FFFE in D00114 see note Disables upper lower limits for output 1 Sets the value of D00115 OR 0001 in D00115 see note Enables data for output 1 Sets B000 3000 in D00117 Scaling lower limit Sets 3000 in D00118 Scaling upper limit Writes 7 words to the Analog Output Unit using the value of D00112 as the first RAM address Turns ON CIO 200001 when the WRIT instruction ends normally Data is set by calculating a logical sum OR and reset by calculating a logical product AND to make settings with out changing the previous values of other output points 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 Turns ON CIO 200003 when the Parameter Update Bit turns ON self holding bit Sets 0001 in D00100 Sets the value of D00201 in D00101 Writes the value of D00101 to RAM address 01 the value of D00100 Turns ON CIO 200005 when the WRIT instruction ends normally User Programming Examples Section 9 5 Reading Data 000101 200101 200100 200103 200101 200103 200102 Reading Con
129. f the input data returns to within the set limits Turn ON the High and Low Alarm Reset Bits to turn OFF the Alarm Flags Unit memory map Description Valid data location Alarm flags Oor1 High alarm flags Oor1 Low alarm flags Oor1 Low alarm active flags Oori High alarm active flags Oor1 Low alarm enable bits Oor1 High alarm enable bits Oor1 Low and high alarm limits BCD 7999 to 7999 Binary 32767 to 32767 To use this function for each input point proceed as follows 1 2 3 1 Set the input point low alarm limit value and input point high alarm limit value for each input point 2 Turn ON the input point low alarm enable bit and input point high alarm en able enable bit for each input point 92 Functions Section 5 6 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 1 2 3 Note Unit memory map Description Valid data location EEPROM write count 0000 to 9999 EEPROM error flags Oor1 1 5000 writes to EEPROM 2 10000 writes to EEPROM 3 Write disabled to serial port 4 Calibration data error 5 Parameter data error 6 through 15 res
130. f they match or data up to D00018 has been written Sets the rightmost byte of D00197 in the leftmost byte of word n 1 CIO 0003 When the Analog Output Unit reads data from RAM address bit 06 of word n 3 CIO 000506 turns ON to latch CIO 200103 Also when the Analog Output Unit Write Completed Flag bit 07 of word n 3 CIO 000507 turns ON data is written from word n 2 CIO 0004 to the address indicated by the value of D00197 in the data memory indirect address At the same time bit 07 of word n 1 CIO 0003 is turned ON Analog Output Unit Address RAM 01 02 18 187 User Programming Examples Section 9 5 Programming Precautions in Four word Operating Mode 188 1 2 3 In four word operating mode the same handshake bit in the allocated I O words the PC Write Completed Bit is used for both write and read operations in the 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 To prevent this problem the following two methods are available 1 The JUMP JMP instruction should be used to prevent invalid blocks in the program from turning OFF the PC Write Completed Bit 2 Write and read processes should not be concurrently executed Instead only one process should be executed at a time Also the PC Write Com pleted Bit
131. 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 00 to 15 Converted data These words contain the last A D conversion values for each input point The data format is selected by word 48 for each input point The default format is BCD If advanced functions such as scaling filtering and averaging are enabled they are performed on the data before it is entered into these locations OANOAaAABRWND 00 to 15 High alarm flags These flags are turned ON by the Unit when a high alarm condition occurs for each input point These bits are turned OFF by bit 05 of I O word n for the Unit 00 to 15 Low alarm flags These flags are turned ON by the Unit when a low alarm condition occurs for each input point These bits are turned OFF by bit 05 of I O word n for the Unit 00 to 15 Over range flags These flags are turned ON by the Unit when an over range condition occurs for each input point The Unit detects a voltage higher than the range setting of the DIP switches for each input The Unit will turn these bits ON and OFF based on the input signal level The Unit also turns ON bit 06 of I O word n 1 when this error occurs These alarms are always active 00 to 15 Under range flags These flags are turned ON by the Unit when an under range condition occurs for each input point The Unit detects a voltage lower
132. g Point 2 units 20 Oto 15 Scaling Upper Scaling upper limit for output Limit for Output point 2 Set in engineering Point 2 units 21 0to15 Scaling Lower Scaling lower limit for output Limit for Output point 3 Set in engineering Point 3 units 22 Oto 15 Scaling Upper Scaling upper limit for output Limit for Output point 3 Set in engineering Point 3 units 23 Oto 15 Scaling Lower Scaling lower limit for output Limit for Output point 4 Set in engineering Point 4 units 24 Oto 15 Scaling Upper Scaling upper limit for output Limit for Output point 4 Set in engineering Point 4 units 25 0to15 Scaling Lower Scaling lower limit for output Limit for Output point 5 Set in engineering Point 5 units 26 Oto 15 Scaling Upper Scaling upper limit for output Limit for Output point 5 Set in engineering Point 5 units 27 Oto 15 Scaling Lower Scaling lower limit for output Limit for Output point 6 Set in engineering Point 6 units 28 Oto 15 Scaling Upper Scaling upper limit for output Limit for Output point 6 Set in engineering Point 6 units 29 Oto 15 Scaling Lower Scaling lower limit for output Limit for Output point 7 Set in engineering Point 7 units 30 0to15 Scaling Upper Scaling upper limit for output Limit for Output point 7 Set in engineering Point 7 units 31 0to15 Scaling Lower Scaling lower limit for output Limit for Output point 8 Set in engineering Point 8 units 32 0to15
133. ge output ranges and two current output ranges by using the DIP switches on the rear panel of the Unit For voltage output set the output signal range using the short circuit pins on the front panel of the Unit Refer to 9 2 1 Setting the Output Signal Range aa a Set output signals at PC power interruption and recovery by using the short circuit pins on the rear panel of the Unit Refer to 9 2 3 Setting the Output Signals at PC Power Interruption and Recovery Set BCD or binary mode Refer to 9 4 1 BCD Binary Mode Specify whether to use scaling function paneon ain Refer to 9 4 2 Scaling Rees War oare SA EAE tees Refer to 9 2 4 Wiring Specify whether to use upper lower limit function 77777777777777 Refer to 9 4 4 Upper Lower Llmits Specify whether to use output ramp function Specify Memory Map setting data Programming 2 Refer to 9 4 3 Output Ramps Refer to 9 3 3 Memory Map Refer to 9 3 Data Exchange with CPU EE EENAA Unit 9 3 2 Allocated I O Words and 9 5 Programming Examples Settings and Wiring Section 9 2 9 2 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 DIP Switches for Setting Output Signal Ranges Rear panel of the Unit Be sure to turn OFF the pow
134. ged flag Peak hold reset 7 15 acknowledged flag Peak hold reset 8 16 acknowledged flag 79 Memory Map Section 5 5 5 5 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 The EEPROM default parameters may be customized and changed by the user to meet the application requirements The Unit memory map has read write and read only areas These are marked in the Unit memory map below The functional description of each memory location is described also The table below is an outline of the complete Unit memory map The detailed functional description of each location and default values are also provided Word Indicates a memory location in the CPU Unit data memory or in the Unit memory map A word can contain a single piece of data or it can contain bits or flags for each of 16 input points see format below Bit Turned ON by the user to enable a particular function 0 OFF DISABLE 1 ON ENABLE Flag Turned ON by the Unit to indicate status of a Unit function 0 OFF DISABLE 1 ON ENABLE Both bits and flags are arranged in the following format and
135. he Unit 07004 07005 07006 07007 07000 07101 00108 Turns ON for normal values and OFF for peak values 07008 07101 A D conversion starts Bit IR 07008 turns ON after data writing is complete Turns ON for one scan after eight DIFU 13 07009 parameters are output Sets the initial value of the shift register This will be used for reading data 07009 Always OFF Flag 25314 SFT 10 The specified bits are shifted sequentially Bit IR 00315 is the A D Write Completed 00315 07008 Flag 25314 Always OFF Flag IR 00315 ON OFF The bits are shifted when bit IR 00315 Continued on next page goes from OFF to ON 56 Four word Operation Section 4 4 Continued from previous page 07200 00101 00102 00103 00104 00105 00106 00107 oe 00100 00103 00104 00105 00103 00104 00105 00100 00101 00102 00104 00105 00106 00107 Specify the points to be read These are set up so that only one of the operand of these OUT s is ON at the same time 00100 00101 00102 00103 00105 00106 00107 00104 00100 00101 00102 00103 00104 00106 00107 00100 00101 00102 00103 00104 00105 00107 00106 00102 00103 00104 NO Continued on next page 57 Four word Operation Section 4 4 From previous page Me eee PC write is complete This bit is turned ON when the point to be used is speci fied 00101 00102 00103 00104 00105 00106
136. hield 9 Shielded twisted pair cable 11 Specifications and General Information Section 2 1 Precautions Voltage Input and 1 2 3 Differential Output Signals 12 1 2 3 Abide by the following precautions when using separate power supplies for the input points 1 2 3 Use shielded twisted pair cable for external connections Connect the positive and negative terminals of any unused input points to the shield terminal Use separate power supplies for input points 1 and 2 whenever possible In this case the shield terminal must be shorted to the negative terminal as shown in the diagrams above Failure to do so may cause errors of several percent in the output data If the same power supply must be used for input points 1 and 2 connect the wiring as shown in the diagram below The connections shown in the previous diagrams should not be used for a single power supply because the internal connections of the shield termi nals for input points 1 and 2 inside the Unit cause interference between the input points and inaccurate data will result Connect as shown in previous diagram 1 for voltage input signals in com mon mode Connect according to one of the following methods when the same power supply is used for input points 1 and 2 1 Connect shield terminal to signal supply common terminal
137. his is used to restrict the output signal range When the scaling function is enabled data is set in engineering units 172 Output Lower Limit for Output Point 4 Output lower limit for output point 4 This is used to restrict the output signal range When the scaling function is enabled data is set in engineering units Output Upper Limit for Output Point 4 Output upper limit for output point 4 This is used to restrict the output signal range When the scaling function is enabled data is set in engineering units With No Scaling BCD 0 to 4095 0000 to 4095pHex or 2048 to 2048 A048 to 2048Hex Binary 0000 to OFFFHex or F800 to 07FFHex With Scaling BCD 7999 to 7999 F999 to 7999p Binary 32767 to 32767 8001 to 7FFF iy Be sure to set values within the allowable range regardless of whether the upper lower limit function is enabled If values outside the range are set the Upper Lower Limit Over Flag and other related flags may turn ON Section 9 3 Default Read R Write W Data Exchange with CPU Unit Output Lower Limit for Output Point 5 Description Output lower limit for output point 5 This is used to restrict the output signal range When the scaling function is enabled data is set in engineering units Output Upper Limit for Output Point 5 Output upper limit for output point 5 This is used to restric
138. ide when installing and set ting up the Unit Unpack the Unit Replace the connector on the Unit Set DIP switches and slide switches Install the Unit on the Backplane Wire the I O terminals Write down settings in the configuration worksheet Turn ON the power supply to the Unit Verify default ladder programs Check Unit indicators 1 2 3 OAN OA RAON 69 Installation Settings and Wiring Section 5 3 5 3 Installation Settings and Wiring 5 3 1 Unpacking the Unit N Caution 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 Be sure to keep the shipping carton and corrugated insert in the event it should become necessary to return the Unit for service The components on the C500 AD501 Analog Input Unit can be damaged by static electricity Static control precautions should be observed when unpacking and handling the Unit during installation and setup 5 3 2 Installation Requirements Signal Requirements Power Consumption Unit Mounting Locations Before setting the Unit input ranges and installing the Unit to the Backplane make sure to review the application requirements voltage or current modes and input cable configuration Analog signal cables generally have two signal wires which are labeled plus and minus Th
139. ification 1100 0000 NE 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 Set only the data which needs to be set according to the settings of the first two words here its DM 0000 and DM 0001 Input point Normal converted data Peak value DM 0100 DM 0200 BCD converted data DM 0300 DM 0101 DM 0201 DM 0301 DM 0102 DM 0202 DM 0302 DM 0103 DM 0203 DM 0303 DM 0104 DM 0204 DM 0304 DM 0105 DM 0205 DM 0305 DM 0106 DM 0206 DM 0306 1 2 3 4 5 6 7 8 DM 0107 DM 0207 Disconnection Detect Flag DM 0108 DM 0307 Ladder Programming Example Using C1000H First Scan Flag 25315 MOV 21 FOFF DM0000 MOV 21 C000 DM0001 MOV 21 DM0002 MOV 21 0010 DM0003 MOV 21 0020 DM0004 MOV 21 DM0005 MOV 21 0000 DM0006 MOV 21 3000 DM0007 MOV 21 1000 DM0008 MOV 21 DM0009 WRIT 87 0010 DM0000 First Scan Flag 25315 07000 07000 Continued on next page Two word Operation Section 4 3 Specifies the points to be used and mean val ue settings Specifies scaling set tings Input point 5 5 samples Input point 6 10 samples ples Sets the mean data
140. in order to discharge any static built up Not doing so may result in malfunction or damage e When replacing parts be sure to confirm that the rating of a new part is correct Not doing so may result in malfunction or burning xviii Conformance to EC Directives sss lt i 23 O lt CS ti 6 Conformance to EC Directives Applicable Directives Concepts EMC Directives Low Voltage Directive Note e EMC Directives e Low Voltage Directive OMRON supplies electric devices that are used built into other devices or manufacturing equipment These OMRON products are designed to conform to the related EMC standards see note so that the devices or equipment in which they are used can more easily conform to EMC standards 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 Applicable EMC Electromagnetic Compatibility standards are as follows EN 61131 2 Always ensure that devices operating at voltages of 50 to 1 000 V AC and 75 to 1 500 V DC meet the required safety standards for the PLC EN 61131 2 Conformance to EC Directives Note CV series products conform to EC Directives see
141. in the Unit which reduce the burden on the CPU Unit 5 1 3 Unit Data Format The Unit can be configured to report output data in two different formats They are signed BCD and 2 s Complement Binary These formats can be selected per input point with the default set to BCD In addition the Unit memory map consists of 16 bit words that contain either data or are bit oriented as flags or bits The following conventions are used when describing the Unit memory map locations and their functions Data in the Unit memory map can be formatted in either signed BCD or 2 s com plement binary All values for a specific input point must be in the same format Some values are always entered in unsigned BCD Refer to 5 5 2 Overview for valid data ranges for all Unit memory map locations Format type Decimal range Memory map format Signed BCD F999 Bit 15 is the sign bit 7999 2 s Complement Binary 8001 FFFF 0000 7FFF 64 Specifications and General Information Section 5 1 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 e Flexible configuration options e High point density e High accuracy and conversion speed e Advanced functions e Advanced digital state of the art calibration thereby eliminating potentiome ters and no need to perform calibr
142. in the set data or scaling data range provided that the upper limit is greater than the lower limit Conversion time switching Switches the D A conversion time between normal speed and high speed EEPROM Writes data from RAM to EEPROM according to the EEPROM Write Bit setting in the allocated I O words Data is automatically read from EEPROM to RAM when the power is turned ON This makes it unnecessary to transfer parameter data from the ladder program each time 137 Specifications and General Information Section 9 1 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 OFF 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 External 38 pin terminal block detachable connections Isolation Between output terminal and power supply between output terminals between external power supply and power supply Photocoupler Between external power supply and output terminal Transformer Power Power supply from Rack 0 3 A max at 5 VDC consumption External power supply 0 8 A max at 24 VDC Dimensions 34 5 x 250 x 120 mm W x H x D Weight 700 g max 138 Specifications and General Information Section 9 1 Output Specifications The output specifications of the C500 DA501 Analog Output Unit
143. inary 0000 to OFFFHex or F800 to 07FFHex With Scaling BCD 7999 to 7999 F999 to 7999p Binary 32767 to 32767 8001 to 7FFF iy Be sure to set values within the allowable range regardless of whether the upper lower limit function is enabled If values outside the range are set the Upper Lower Limit Over Flag and other related flags may turn ON Section Default 9 3 Read R Write W Invalid Data Received Address The last RAM address that received invalid data 0000 to 0061 BCD 173 Data Exchange with CPU Unit Section 9 3 Invalid Data Received Error Code Description Error when invalid data was received 0001 Hex Invalid BCD value 0002Hex Outside the scaling limits 0003Hex Outside the conversion range 0004146 Other than 0000H e and FFFFyex 0005pHex 8000Hex is invalid 0006y ex Scaling lower and upper limits are the same 0007Hex Negative values are invalid 0008Hex Lower limit is greater than upper limit Default Read R Write W Total EEPROM Write Count Total number of write operations to EEPROM 0000 to 9999 BCD EEPROM Write Result An error flag for write operation to EEPROM 0002y A total of 5 000 write operations performed for EEPROM 0004hex A total of 10 000 write operations performed for EEPROM 0008pH_ex 001 0Hex 002046 Or 0040yHex Error occurred in Unit d
144. ing 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 Input point 1 Input point 2 Input point 3 Input point 4 4 digit BCD 4 digit BCD 4 digit BCD 4 digit BCD output 0 output output 0 output 1 1 2 2 Input 3 3 point 1 4 X 10 4 X 10 5 5 6 6 Input 7 7 i X 101 X 10 point 2 8 8 9 9 1 1 Input 1 f point 3 1 X 102 1 X 102 1 1 Input point 4 X 108 X 108 Analog Input Output Unit Output Unit Output Unit Output Unit Unit 24 Functions and User Programs Section 3 3 Program Example Using C1000H Always ON Flag 25313 ANDW 34 03FF DM 0000 BCD 24 DM 0000 005 ANDW 34 03FF DM 0001 BCD 24 DM 0001 BCD 24 DM 0003 Always ON Flag 25313 Always ON Flag 25313 Always ON Flag 25313 For input point 1 Reads the converted data from IR 001 and stores it in DM 0000 Converts the content of DM 0000 to BCD and outputs it to IR 005 For input point 2 Reads the converted data from IR 002 and stores it in DM 0001 Converts the content of DM 0001 to BCD and outputs it to IR 006 For input point 3 Reads the converted data from IR 003 and stores it in DM 0002 Converts the content of DM 0002 to BCD and outputs it to IR 007 For input point 4
145. ing or writing data that is not required The result is faster Unit processing and faster data transfer between the Unit and the CPU Unit The pointer word is memory map location 46 The format is unsigned BCD Valid values are O to 0153 The default value is 0000 The following sections explain the operation of the pointer word with both the I O READ and I O WRITE ladder instructions 5 7 4 Writing Data to the Unit 1 2 3 This section describes the use of the pointer word with the I O WRITE ladder instruction For additional information regarding the I O WRITE instruction refer to the Operation Manual for your PC There are two rules when using the pointer word with the I O WRITE instruction 1 If the number of words transferred specified in the instruction to the Unit is one the following processing occurs e The Unit writes the value of this word to the pointer word location in the Unit memory map 46 e This value now becomes the first memory location to be read in subse quent I O READ instructions e The pointer word retains this value unless another 1 word I O write is executed or the system power is cycled If the value has been saved to the EEPROM in the Unit then it is automatically uploaded on power up Example Execute a 1 word I O write to the Unit The value of the word transferred is 0022 The Unit sees the number of words is 1 and places the value 0022 into memory map location 46 Execute an I O READ i
146. ircuits limit circuits and similar safety measures in external circuits i e not in the Programmable Controller must be provided by the customer e Always use the power supply voltage specified in this manual An incorrect voltage may result in malfunction or burning e Take appropriate measures to ensure that the specified power with the rated voltage and frequency is supplied Be particularly careful in places where the power supply is unstable An incorrect power supply may result in malfunction e Install external breakers and take other safety measures against short circuit ing in external wiring Insufficient safety measures against short circuiting may result in burning e Do not apply voltages to the Input Units in excess of the rated input voltage Excess voltages may result in burning e Do not apply voltages or connect loads to the Output Units in excess of the maximum switching capacity Excess voltage or loads may result in burning e Disconnect the functional ground terminal when performing withstand voltage tests Not disconnecting the functional ground terminal may result in burning e Do not attempt to disassemble repair or modify any Units e Tighten screws on the terminal block to a torque of 0 8 N m Incorrect tighten ing torque may result in malfunction e Be careful not to allow wire cuttings to enter inside the Unit when wiring Allow ing wire cuttings inside the Unit may result in malfunction e Use
147. is the value corresponding to FFFHex The offset and gain must be set in BCD and must be in the range 0 through 9 999 DM m 10 15 to 00 DM m 11 15 to 00 to DM m 24 15 Offset DM m 25 15 Gain Offset Input point 1 Gain Input point 8 N Caution Set scaling data for the required input points only If data is not needed at a point move all parameters up one word to replace it The gain must be greater than the offset Data Reading Area Setting Contents Input Point Converted Data A D converted data is output to the specified words When scaling is used data is in 4 bit BCD bits 00 to 15 When scaling is not used data is in 3 bit hexadeci mal bits 00 to 11 DM 15 to 00 Input point 1 to DM l 7 15 to 00 g Input point 8 Disconnection Detect Flags When an input line disconnection is detected the flag assigned to the input point will turn ON The offset value must be at least 1 V 4 mA for these flags to work Input point 1 to Input point 8 42 Two word Operation ssss lt i s 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 Mean Values
148. ister 2 10 reset bit map for the input points specified Peak hold register 3 11 reset bit Peak hold register 4 12 reset bit Peak hold register 5 13 reset bit Peak hold register 6 14 reset bit Peak hold register 7 15 reset bit Peak hold register 8 16 reset bit Input Word Direction i Description A D Busy These bits operate automatically when executing I O A D Read Complete READ WRITE instructions A D Write Complete Unconfirmed data error flag This flag is turned ON when invalid data is received from the serial port or an I O WRITE instruction The flag is turned OFF when valid data is sent to the Unit Conversion error flag This flag is turned ON if the Unit detects an internal conversion or calculation error High low alarm error flag This flag is turned ON when a high low alarm occurs for n 1 any input point mon Out of range error flag This flag is turned ON when an out of range range error 1 0 Unit occurs for any input point to CPU Unit good flag This flag oscillates at a rate of 1 Hz when the Unit is Unit operating correctly 0 5 s ON 0 5 s OFF Peak hold reset 1 9 acknowledged flag These flags acknowledge that the peak hold registers Peak hold reset 2 10 acknowledged flag have been reset by the Unit Peak hold reset 3 11 acknowledged flag Peak hold reset 4 12 acknowledged flag Peak hold reset 5 13 acknowledged flag Peak hold reset 6 14 acknowled
149. itions which are not described in the manual or applying the product to nuclear control systems railroad systems aviation systems vehicles combustion systems medical equipment amusement machines safety equipment and other systems machines and equipment that may have a serious influence on lives and property if used improperly consult your OMRON representative Make sure that the ratings and performance characteristics of the product are sufficient for the systems machines and equipment and be sure to provide the systems machines and equipment with double safety mechanisms This manual provides information for programming and operating OMRON Ana log I O Units Be sure to read this manual before attempting to use the software and keep this manual close at hand for reference during operation 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 Safety Precautions N WARNING N WARNING N Caution N Caution Do not attempt to take any Unit apart while power is being supplied Doing so may result in electric shock Do not touch any of the terminals or terminal blocks while power is being supplied Doing so may result in electric shock Tighten the screws on the
150. lure and other unforeseeable problems with the PC System Be sure that the operating environment is within the specified conditions at installa tion and remains within the specified conditions during the life of the system 5 Application Precautions N WARNING N Caution Observe the following precautions when using the PC Always heed these precautions Failure to abide by the following precautions could lead to serious or possibly fatal injury e Always connect to a ground of 100 Q or less when installing the Units Not con necting to a ground of 100 Q or less may result in electric shock e Always turn off the power supply to the PC before attempting any of the follow ing Not turning off the power supply may result in malfunction or electric shock e Mounting or dismounting Power Supply Units I O Units CPU Units Memory Cassettes or any other Units e Assembling the Units e Setting DIP switch or rotary switches e Connecting or wiring the cables e Connecting or disconnecting the connectors Failure to abide by the following precautions could lead to faulty operation of the PC or the system or could damage the PC or PC Units Always heed these pre cautions e Fail safe measures must be taken by the customer to ensure safety in the event of incorrect missing or abnormal signals caused by broken signal lines momentary power interruptions or other causes xvii Application Precautions 5 e Interlock c
151. mA max at 5 VDC External dimensions 34 5 x 250 x 113 mm W x H x D Weight 600 g max Note 1 A sign bit 11 data bits binary data for Units with 10 to 10 V and 5 to 5 V range 2 Incorrect data results if the writing cycle is faster than the conversion time 106 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 107 Specifications and General Information Section 6 1 6 1 3 Block Diagram The following diagram shows the basic internal connections of the Unit Point 1 Isolation J J e rn Voltage output ia gt Analog 0 V ik 2 Photo Re siiu 3 coupler Current output ae a Oo o Bus in VO Ranger selector piace Bi Point 2 Voltage output Analog 0 V 3 D A Photo oo Q coupler Current output 2 Seala i Photo Timing coupler circuit Isolation _ _ _ gt lt 5 V Analog power supply _ DC DC converter g power supply ___ lt oy The current outputs are not connected in Units whose voltage output range is other than 1 to 5V 108 Specifications and General Information 6 1 4 Wiring Vol
152. mber of words transferred S Specify word n 1 allocated to the Unit D s Destination address WRIT W_ Number of words transferred S f Transfer start address D Specify word n allocated to the Unit The function codes for the I O READ and I O WRITE instructions READ and WRIT differ according to the PC as shown in the table below Mnemonic Function code C500 C1000H C2000H CVM1 CV I O READ instruction READ 190 I O WRITE instruction WRIT 191 77 Data Exchange with CPU Unit Section 5 4 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 CVM1 CV Equals Flag SR 6306 SR 25506 A50006 READ WRIT Execution Restrictions 5 4 2 1 2 3 1 The differentiated versions of the READ and WRIT instructions cannot be executed for Special I O Units on SYSMAC BUS 2 Slave Racks The READ and WRIT instructions must be executed until the Flag A50006 turns ON indicating that the execution is completed 2 The READ and WRIT instructions cannot be simultaneously executed for the same Special I O Unit In such cases execute WRIT first and after the execution is completed execute READ 3 One SYSMAC BUS 2 Remote I O Master Unit can simultaneously handle up to two READ and WRIT instructions If two READ and WRIT instru
153. mit the simultaneous use of sensors with different output forms Input Signal Ranges The input signal ranges can be set as required between 0 and 10 V for a voltage input or between 0 and 20 mA for a current input Many Features In addition to A D conversion the Analog Input Units offer peak hold mean val ue scaling and disconnection detection functions High Accuracy and High Speed The C500 AD101 achieves a resolution up to 1 4095 and a conversion time of 10 ms max per point The I O READ and I O WRITE instructions READ and WRIT can be used to transfer data with the CPU Unit thereby simplifying program creation and achieving high speed processing with batch transfer 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 Number of Input Points Per Unit Each Unit has sixteen input points An separate input signal range can be set for each input point to permit the simultaneous use of sensors with different output forms Input Signal Ranges The input signal ranges can be set as required as follows Voltage inputs 0 to 5 V 0 to 10 V 5 to 5 V or 10 to 10 V Current inputs 0 to 20 mA or 20 to 20 mA Many Featu
154. mp set time If conversion data changes before the output ramp set time is reached a new output ramp operation will be started by using the output value at that point of time as the present value Output signal Output Ramp Enable Bits To enable the output ramp function turn ON the Output Ramp Enable Bit for each output point These bits are read write Output Ramp Enabled To check whether the output ramp function is active monitor the status of the Flags Output Ramp Enabled Flag for each output point These flags are read only Example Output Ramp for 5 Seconds uo lt Output signal 1 1 1 1 H i 1 i 1 k 4 1 1 t r t 1 1 oV i Time Ramp set Ramp set time 5s time 5 s 178 Functions Section 9 4 Output Point 1 Address Function Settings Output Ramp Enable Bit BCD mode ON Enabled Binary mode ON Enabled BCD Binary Mode Bit ON BCD OFF Binary Output Ramp Set Time ms 5000Hex 1388Hex 9 4 4 Upper Lower LImits Upper and 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 This function can be set individually for each output point Even if data above the upper limit or below the lower limit is set as conversion data in RAM the upper or lower limit
155. n 1 2 3 Example 1 READ Alarm and Conversion Data from the Unit 98 This section describes the use of the pointer word with the I O READ ladder instruction For additional information regarding the I O READ instruction refer to the Operation Manual for your PC There are three rules when using the pointer word with the I O READ instruction 1 The default value of the Pointer word is 0 except when the value has been modified and this modified value saved to the EEPROM in the Unit On power up the Unit uploads this value from the EEPROM into RAM prior to execution 2 When an I O READ instruction is executed the Unit reads the value of the pointer word and returns the number of words requested beginning with the location specified by the pointer word in the Unit memory map The pointer word value can be 0000 to 0153 3 If the number of words requested extends beyond the end of the table given a value in the pointer word then the remaining words transferred up to 127 will be filled with zeros 0000 This example shows how to read the first 46 words from the Unit Memory Map This data includes the Conversion Data Alarm Data and Peak Hold Data A50013 190 READ 0046 10003 D00000 Always ON User Programming Examples Section 5 7 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 Q000101 Q000105 030
156. n mode WRIT instruction Special instruction Analysis of spe IR CIO n Write data cial instructions Shared and data transfer memory between shared memory and data READ instruction Read data carrier IR CIO n 1 OUT instruction Output bits Peak Reset IR CIO n Bit 03 to 15 Peak Read LD instruction etc Input bits Unconfirmed Data Peak IR CIO n 1 Bit 03 to 15 The I O WRITE Instruction WRIT is executed when the instruction execution conditions are ON and the A D Busy Flag IR CIO n 1 Bit 00 and A D Read Completed Flag IR CIO n 1 Bit 01 are both OFF A NOP No Operation results if either the A D Busy Flag or A D Read Com pleted Flag is ON When execution of the instruction is complete the PC Write Completed Flag IR CIO n Bit 01 turns ON temporarily differential output and the Equal Flag SR 6306 SR 25506 A50006 turn ON Completion of WRIT instruction execu tion can be evaluated from the Equal Flag immediately after the WRIT instruc tion 37 Two word Operation gt Section43 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 Immediate execution is used for the READ and WRIT instructions but I O data is handled by the MOV instruction which
157. n in this sense The abbreviation PC means Programmable Controller and is not used as an abbreviation for any thing else Visual Aids The following headings appear in the left column of the manual to help you locate different types of information Note Indicates information of particular interest for efficient and convenient operation of the product 1 2 3 1 Indicates lists of one sort or another such as procedures checklists etc OMRON 1995 All rights reserved No part of this publication may be reproduced stored in a retrieval system or transmitted in any form or by any means mechanical electronic photocopying recording or otherwise without the prior written permis sion of 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 Every precaution has been taken in the preparation of this manual Nevertheless OMRON assumes no responsibility for errors or omissions Neither is any liability assumed for damages resulting from the use of the informa tion contained in this publication TABLE OF CONTENTS PRECAUTIONS cc48 teu saes sea sonwiaeanin sean XV 1 Intended Audience 0 eee cee cee E EE n n enn E XVi 2 General Precautions cenen Hee a ae E ol ase dip ae grind in tear R EA E XVi 3 Safety Pr
158. n value Point Read Flags One of these flags turns ON to designate the input point for which data is being read Disconnection Detect Flag When the signal line of the point designated by the Point Read Flags is burned out or disconnected this flag turns ON The offset must be set to at least 1 V 4 mA for this flag to work Normal Peak Flag This flag turns ON when the data being read is normal data and turns OFF when the data is the peak value Note The scaling function does not work with 4 word operation 4 4 3 Programming Examples Example programs are shown below for four word operation using the C1000H Create programs as described below for a CPU Unit that does not support the I O READ and I O WRITE instructions READ and WRIT or when the Analog I O Unit is mounted to a SYSMAC BUS Slave Rack IR Bit Allocation The C500 AD101 is allocated IR 000 to IR 003 Output 001 Write data Input point Point 1 Read data Read data Point 1 designation Point 2 point designa point 2 tion i Point 3 Point 3 Point 4 Point 4 Point 5 Point 5 Point 6 Point 6 Point 7 Point 7 Point 8 Point 8 Normal Peak Control Bit Disconnection Detect Flag 0 Normal Peak Flag 0 0 0 0 Peak Reset Bit 0 A D Conversion Bit 0 PC Write Completed Bit A D Read Completed Flag PC Read Completed Bit A D Write Completed Flag 51 Four word Operation
159. n value 1 DM m 3 Mean value 2 DM m 4 Mean value 3 DM m 5 Mean value 4 DM m 6 Mean value 5 DM m 7 Mean value 6 INIO oO AJOI IN oO DM m 8 Mean value 7 DM m 9 Mean value 8 DM m 10 Scaling offset 1 DM m 11 Scaling gain 1 DM m 12 Scaling offset 2 DM m 13 Scaling gain 2 DM m 14 Scaling offset 3 DM m 15 Scaling gain 3 DM m 16 Scaling offset 4 DM m 17 Scaling gain 4 DM m 18 Scaling offset 5 DM m 19 Scaling gain 5 DM m 20 Scaling offset 6 DM m 21 Scaling gain 6 DM m 22 Scaling offset 7 DM m 23 Scaling gain 7 DM m 24 Scaling offset 8 DM m 25 Scaling gain 8 N Caution Input the mean value and scaling values only for points for which the mean and or scaling function has been designated If one of these is not needed for a point move all other parameters up one word to replace it For example if a mean value is not required for input point 3 but is required for points 1 2 and 4 the mean value for point 4 would be placed in DM m 4 instead of DM m 5 40 Two word Operation gt 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 DM word Input point 1 converted data Input point 2 converted data Input point 3 converted data Input point 4 converted data Input point 5 converted data Input point 6 converted data Input point 7 converted data In
160. nal range between 0 V and 10 V O mA and 20 mA 2 The resolution is 1 4095 for a difference between gain and offset levels of 4 V 16 mA min The resolution decreases as this difference decreases The resolution is 1 2047 for a difference of 2 V 3 The conversion time is defined as the time to convert the full range e g 1 to 5 V of input data written to the Analog Input Unit 28 Specifications and General Information Section 4 1 4 1 2 Description of Parts Front Model label Cover 30 pin ter minal block Under the Cover Four word operation Operating mode setting switch Two word operation SW1 DIP switch to select input points SW2 Toggle switch to read input range 29 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 Current input Voltage current input Shield Input point 1 Voltage current input Current input Voltage current input Shield Input point 2 et Pat Multiplexer A D converter Photocoupler Voltage current input Input Current input point 7 Voltage current input Shield Voltage current input Current input Voltage current input Shield Input point 8 N Ba HS Analog 0 V Analog DC DC power supply converter 30 Functions Settings and Wiring Section 4 2
161. neral Information 00 0 0 eee 9 2 Settings and Wiring cia rie a PS SA SER Reb Ge Sob ede a blades 9 3 Data Exchange with CPU Unit 0 0 eee O24 CRUNCHONS 2 4 cei eee ee Seg Sen a oa tei ES ee en leet Aa wwe 9 5 User Programming Examples 00 eee eee eee Appendices A DM Memory Coding Sheets 0 0 0 eee ccc eee eee B Dimensions is spacers Ma ees PL Rs Shae a SE a oe a Bla NE ewe hs a ede ndek coo dee ates cs aes se ee ee oe Revision History 35 6204 56 4s5 0 6 ss esos ee eee ee ee is 127 128 132 132 135 136 147 153 175 182 193 207 209 213 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 Section 2 provides information on 3G2A5 AD001 to 3G2A5 AD005 Analog Input Units including the specifications connections IR CIO bit allocations and applications Section 3 provides information on 3G2A5 AD006 and 3G2A5 AD007 Analog Input Units including the specifications connections IR CIO bit allocations and applications Section 4 provides information on the C500 AD101 Analog Input Unit including the specifications con nections IR CIO bit allocatio
162. nes Do not reverse the polarity when wiring the inputs e Never wire low voltage cables such as analog input cables near high voltage cables e Use wiring ducts for all cables and place signal cables and power cables in separate ducts e Do not bend the cables past their natural bending radius e Do not wire cables in places subject to vibration e Short the positive and negative terminals on all unused inputs to reduce exter nal interference If the terminals are not shorted an out of range error may oc cur causing the ERROR indicator to light 75 Data Exchange with CPU Unit Section 5 4 5 4 Data Exchange with CPU Unit 5 4 1 76 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 Details about the ladder instructions and their execution can be found in the Operation Manual for your PC The Unit has internal memory that provides storage for the Unit data and config uration parameters This map contains both read and write areas and is ac cessed by the CPU Unit through the I O READ WRITE ladder instructions The Unit is allocated two I O words The first word referred to as n in this manu al is used to output write data from the CPU Unit to the Analog I O Unit The second word n 1 is used to input read data from the Analog I O Unit to the
163. nfiguration sss Section 1 2 Servomotor Positioning System 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 N Caution System Configuration The I O READ and I O WRITE instructions READ and WRIT cannot be used for Units mounted to SYSMAC BUS Slave Racks Set the C500 AD101 or C500 DA501 for four word operation whenever they are mounted to a SYSMAC BUS Slave Rack The C500 AD501 can operate only through the READ and WRIT instructions and therefore cannot be mounted on a SYSMAC BUS Slave Rack READ WRIT instruction CPU Rack Expansion I O Rack SYSMAC BUS 2 Can be used Slave Rack SYSMAC BUS Slave Rack Cannot be used N Caution Using the Units Turn OFF the PC power supply before connecting or disconnecting Units or wir ing To reduce noise problems wire the input and output lines through a duct separate from the high voltage and power cables Refer to Wiring in the section on the relevant Unit for detailed information and cautions on wiring 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 2 1 Specifications and General Information 0 0 0 eee eee eee 8 2 1
164. nit use the WRIT instruction to write conversion data to addresses 02 to 08 in the Analog Output Unit Write parameters Benga Using WRIT instruction see J note Timer instruction is used After 100 ms l Write conversion data Antica Using WRIT instruction see note Note Specify a value greater than 1 as the number of words transferred in the WRIT instruction 154 Data Exchange with CPU Unit Section 9 3 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 When executing the WRITE instruction with the First Cycle Flag there is a possi bility that the Analog I O Unit s internal processing may not be completed and the WRITE instruction is not executed When executing the WRITE instruction immediately after operation is started use either of the following as the execu tion condition of the WRITE instruction e Bit 2 of word n 1 A D Write Completed Flag e A timer of at least 3 s All data written by the WRIT instruction is checked regardless of whether a func tion is enabled If setting errors are detected none of the data will be written Therefore only the data required for settings should be written individually If a series of data
165. nit memory map beginning at the location specified by the temporary pointer value The temporary pointer value is then discarded Example Execute a 10 word I O write to the Unit The value of the first word trans ferred is 0047 The Unit sees the number of words is greater than one and reads the first word as the temporary pointer value The Unit then updates its memory map with the remaining nine words beginning at location 47 Note 1 Whenever data is written to the Unit using WRIT the validity of all the data is checked If there are any errors in the data none of the data will be written It is thus best to write only the required data to reduce the chance of errors When writing data that includes values for functions not being used be sure to set the values for unused functions to the defaults in advance 2 When executing the WRITE instruction with the First Cycle Flag there is a possibility that the Analog I O Unit s internal processing may not be com pleted and the WRITE instruction is not executed When executing the WRITE instruction immediately after operation is started use either of the following as the execution condition of the WRITE instruction e Bit 2 of word n 1 A D Write Completed Flag e A timer of at least 3 s Example 1 WRITE Data This example show how to write the entire Unit Memory Map Write area Loca Memory to the Unit Memory tions 47 to 150 These are the user configurable locations in the Unit
166. ns and applications for both two word and four word operation Section 5 provides information on the C500 AD501 Analog Input Unit including the specifications con nections IR CIO bit allocations and applications Section 6 provides information on 3G2A5 DA001 to 3G2A5 DA005 Analog Output Units including the specifications connections IR CIO bit allocations and applications Section 7 provides information on the C500 DA101 Analog Output Unit including the specifications con nections IR CIO bit allocations and applications Section 8 provides information on the C500 DA103 Analog Output Unit including the specifications con nections IR CIO bit allocations and applications Section 9 provides information on the C500 DA501 Analog Output Unit including the specifications con nections IR CIO bit allocations and applications Appendix A provides DM memory and memory map coding sheets for the C500 AD101 Analog Input Unit the C500 AD501 Analog Input Unit and the C500 DA501 Analog Output Unit Appendix B provides the dimensions of the Analog I O Units WARNING Failure to read and understand the information provided in this manual may result in personal injury or death damage to the product or product failure Please read each section in its entirety and be sure you understand the information provided in the section and related sections before attempting any of the procedures or operations given ix Read and Understand this M
167. nstruction specifying the number of words to be read as 0016 The Unit returns 16 words to the CPU Unit beginning with Unit memory map location 22 through 37 Note The I O READ instruction can transfer a maximum of 127 words The Unit always prepares a table for transfer that is 127 words in length If the pointer word is set to a value greater than 27 i e 28 153 28 125 and the read request is for 127 words the Unit transfers words 28 to 153 125 words and fills words 126 and 127 with 0000 This is because the pointer word is set to a value and the read is for a number of words that goes beyond the end of the table 2 If the number of words transferred to the Unit is greater than one the follow ing processing occurs e The Unit interprets the first word as a temporary pointer value which does not replace word 46 in the Unit memory map e If the value of first word is 0000 then the Unit updates the memory map beginning at location 47 with the remaining words transferred This is the first word of the write area in the Unit memory map e If the first word is greater than O and less than 47 the Unit turns ON the unconfirmed data error flag because an attempt has been made to write to a read only area of the Unit memory map The data sent is ignored 95 User Programming Examples Section 5 7 e If the temporary pointer value is greater than 46 the Unit writes the data following the temporary pointer value into the U
168. nversion data 179 Functions Section 9 4 Upper Lower Limit Enable Bits Upper Lower Limit Enabled Flags 180 To enable the upper lower limit function turn ON the Upper Lower Limit Enable Bit for each output point These bits are read write To check whether the upper lower limit function is active monitor the status of the Upper Lower Limit Enabled Flag for each output point These flags are read only Example 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 6 4 mA at 45 C or lower and to 18 4 mA at 270 C or higher 20mA 18 4mA Output signal 6 4mA 4mA Le oc Lower limit Upper limit 300 C 45 C 270 C Conversion data Output Point 1 Address i Function Settings BCD mode Binary mode Upper Lower Limit Enable Bit ON ON Enabled Enabled BCD Binary Mode Bit ON BCD OFF Binary Lower Limit 0045Hex 002DHex Upper Limit 0270Hex 010EHex Functions Section 9 4 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 The upper lower limit function is valid for conversion data Therefore even if re verse scaling is specified the lower limit must be smaller than the upper limit 2
169. of words transferred set to 1 156 Data Exchange with CPU Unit Section 9 3 Ladder Programming Insert the WRIT instruction in a ladder program as follows e 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 e While a WRIT instruction is being executed a NC condition for the Flag which turns ON when the WRIT instruction has completed normally must be used as an execution to prevent the next WRIT instruction from being execut ed Input condition A m Self holding A A50006 ON when WRIT is completed normally Flag READ WRIT Execution Restrictions 1 2 3 1 The differentiated READ and WRIT instructions cannot be executed for Special I O Units on SYSMAC BUS 2 Slave Racks The READ and WRIT instructions must be executed until the Flag A50006 turns ON indicating that the execution is completed 2 The READ and WRIT instructions cannot be simultaneously executed for the same Special I O Unit In such cases execute WRIT first and after the execution is completed execute READ 3 One SYSMAC BUS 2 Remote I O Master Unit can simultaneously handle up to two READ and WRIT instructions If two READ and WRIT instructions are executed for Units mounted to SYSMAC BUS 2 Slave Racks and an at tempt is made to execute a READ or WRIT instruction for a third Unit the CY Flag A50004 will be
170. ollowing diagrams When power is turned OFF Power supply to PC 5 V power from Rack to Unit Output at power Output signal interruption 150 Settings and Wiring Section 9 2 9 2 4 Wiring The terminal arrangement is as shown in the following diagram BO External 24 V External 24 V B1 External 0 V External 0 V A1 B2 Note None A2 B3 Output 1 B4 m Voltage output Current output Oto 10V 4 to 20 mA Oto5V or 5to5V 0 to 20 mA or 10 to 10 V Outpu Outpu ia External Power Supply This Analog Output Unit must receive an external power supply of 24 VDC 5 The current consumption is 0 8 A 24 VDC or 24 VDC Note The external power supply to be used must meet the following specifications Output voltage 24 V Voltage adjustment range 5 min Constant voltage output accuracy 3 max Output ripple 400 MVp p max Current capacity 1 A min per Unit When using the external power supply adjust the output voltage between AO and A1 or between BO and B1 to 24 0 3 V 151 Settings and Wiring Section 9 2 Output Connections Precautions 152 Output devices C500 DA501 Output 2 oQ Output 8 arate PAM Observe the following precautions when connecting cables to the Unit e Use shielded twisted pair cables as signal lines e Connect the shield to the
171. oltage input 1 MQ minimum Current input 250 Q Maximum input signal Voltage 15 VDC Current 30 mA Reporting data format Signed BCD 2 s complement binary Set from CPU Unit or serial port Number of I O words 2 PC communications I O READ and I O WRITE instructions Internal memory RAM 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 resistance Durability 10 to 54 8 Hz at 0 25 mm amplitude in X Y and Z directions for 12 times in 10 min 54 8 to 300 Hz at 3G in X Y and Z directions for 12 times in 10 min Malfunction 10 to 61 2 Hz at 0 1 mm amplitude in X Y and Z directions for 4 times in 8 min 61 2 to 150 Hz acceleration at 1 5 G in X Y and Z directions for 4 times in 8 min Impact resistance Durability 30 G in X Y and Z directions three times each direction Isolation Optical isolation between input terminals and PC 1 500 VDC Power consumption 1 2 A from Backplane 6 2 W max Dimensions 34 5 x 250 x 120 mm W x H x D Weight 62 Note 700 g max 1 The input signal ranges are set using the DIP switches and slide switches 2 Using special functions will increase the A D conversion time Specifications and General Information Section 5 1 Input Specifi
172. on next page 184 User Programming Examples Continued from previous page 200200 000305 TIMH 0001 0010 200002 ae Jeane T0001 000305 000305 200003 200003 200003 000001 200004 200005 200004 MOV 0001 D00100 tMOV D00201 D00101 TMOV 0100 D00198 INC D00198 A50005 200005 CMP D00198 0101 200004 200005 MOV D00198 0002 MOVD D00198 0210 0003 200201 000506 200301 200200 000300 200201 200300 000306 200301 END Section 9 5 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 Turns ON CIO 200003 when the Parameter Update Bit turns ON self holding Sets 0001 in D00100 Sets the value of D00201 in D00101 Sets 0100 in D00198 Increments the value of D00198 by 1 when the Analog Output Unit Read Completed Flag bit 06 of word n 3 CIO 000506 turns OFF Compares the value of D00198 with 0101 and turns ON CIO 200005 if they match or data up to D00101 has been written Writes the data memory value at the address indicated by the value of D00198 to word n CIO 0002 indirect address Sets the rightmost byte of D00198 in the leftmost byte of word n 1 CIO 0003 Turns ON CIO 200201 to set the Read Write Request Bit to Write Turns ON CIO 200301 to turn O
173. on of 1 4095 to analog sig nals Number of Output Points Per Unit Each Unit can handle D A conversion for two output points Features Section 1 1 C500 DA101 103 C500 DA501 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 1to5V 3G2A5 DA001 Oto 10V 3G2A5 DA002 Oto5V 3G2A5 DA003 10 to 10 V 3G2A5 DA004 5to5V 3G2A5 DA005 4 to 20 mA 3G2A5 DA001 The C500 DA101 converts 12 bit binary data and the C500 DA103 converts binary data with 1 sign bit 11 data bits to analog output signals with resolution of 1 4095 in each case Number of Output Points Per Unit Each Unit can handle D A conversion for four output points A separate output signal range can be set for each C500 DA101 output point Output Specifications The C500 DA101 can be set to one of the three output signal ranges shown in the table below Output signal range Unit 1to5V C500 DA101 0to10V 10 to 10 V C500 DA103 4 to 20 mA C500 DA101 The C500 DA501 converts 12 bit binary BCD data or binary BCD data with 1 sign bit 11 data bits to analog output signals with resolution of 1 4095 in each case Number of Output Points Per Unit Each Unit can handle D A conversion for eight output points A separate output signal range can be set for each C500 DA501 output point
174. on reading A D conversion Ee es av 53 Four word Operation Section 4 4 54 Programming Using Only Point 1 The following program is used when only one of the input points is used First Scan Flag 25315 MOV 21 0000 A D Read Completed Flag 00314 07001 07000 07001 07000 07001 00314 A D Read Completed Flag 00108 00100 07001 00300 00315 m DIFD 014 Desig A D Write 10000 nates Completed point 1 Flag 10000 00308 00309 Condi Disconnec Normal value tions for tion Detect read Flag DM 0100 satisfied 00309 MOV 21 Peak value DM 0200 07100 o 07101 07000 If you are not using mean set the number of samples to 0 or delete this part of the program Starts A D conversion Turned ON for normal value and OFF for peak value Specifies the point Indicates PC write is complete Reads the data below with the falling edge of bit IR 00315 A D Write Completion Flag Transfers normal value Transfers peak value Indicates PC read is complete Turned ON to reset peak value This bit turns ON to turn OFF IR 00113 the A D Conversion Bit when the peak value has been read Four word Operation Section 4 4 First Scan Flag 25315 First Scan Flag 25315 Always OFF Flag 25314 00314 07008 25314 Always OFF Flag Continued on next page MOV 21 0000 DM 0000 MOV21 0000 DM 0001 MOV 21 0
175. ons ios bis aa Se Rn BE eee aS a eee sega ee 132 8 3 Functions and User Programs 0 0 cece teens 132 8 3 1 Conversion Data and Output Signals enuen errer 132 8 3 2 Ladder Programming Example 0 0 eee eee 133 127 Specifications and General Information Section 8 1 8 1 Specifications and General Information 8 1 1 Specifications General Specifications Performance Specifications 128 All general specifications of the C500 DA103 Analog Output Unit conform to those of the C Series Item Specification Number of analog outputs 4 Output signal range Voltage output 10 to 10 V Max output current 5 mA External output impedance 0 5 Q max Resolution 1 4095 full scale PC signal 1 sign bit 11 bit binary Overall accuracy 25 C 0 5 max full scale including linearity error 0 to 55 C 1 0 max full scale including linearity error Conversion time 10 ms max 4 words also 1 word Words allocated 4 output words External connections 17 pin terminal block not removable Isolation Between output terminals and CPU Unit Photocoupler no isolation between out puts Power consumption 1 3 A max at 5 VDC External dimensions 34 5 x 250 x 113 mm W x H x D Weight 650 g max Note The conversion time is defined as the time to convert the output data writ
176. onverted data 24 A D converted data 24 A D converted data 24 A D converted data 24 A D converted data 2 A D converted data 2 A D converted data 25 A D converted data 2 A D converted data 26 A D converted data 26 A D converted data 26 A D converted data 26 A D converted data 27 A D converted data 27 A D converted data 27 A D converted data 27 0 1 2 3 4 5 6 7 8 A D converted data 28 A D converted data 28 A D converted data 28 A D converted data 28 A D converted data 29 A D converted data 29 A D converted data 29 A D converted data 29 3 3 Functions and User Programs 3 3 1 Input Signals and Converted Data The Analog Input Unit converts analog input signals into digital data The analog input signals must be unipolar inputs Three models are available to support dif ferent analog input ranges Unipolar Input Input Ranges 1to5V 3G2A5 AD006 4to 20 mA 3G2A5 AD006 Oto10V 3G2A5 AD007 Converted Output A D converted data 10 bit binary data Relationship Between Input Signals and A D Conversion Data Decimal equivalent of binary code Decimal equivalent of binary code 03FF 1023 03FF 1023 Analog 0 input OV Analog input oV 1V 5V 4 mA 20 mA 10V 5 V Input 1 to 5 V 4 to 20 mA Input 0 to 10 V 23 Functions and User Programs sss lt s sSsSsSsSsSS ec tion 3 3 3 3 2 Ladder Programm
177. or a point move all other parameters up one word to replace it For example if a mean value is not required for input point 3 but is required for points 1 2 and 4 the mean value for point 4 would be placed in DM m 04 instead of DM m 5 193 DM Memory Coding Sheets Appendix A C500 AD501 Analog Input Unit Input Signal Range Settings Input signal range Oto5V Input number 10 9 8 7 Oto 10V 5 to 5V 10 to 10 V O to 20 mA 20 to 20 mA DIP switch pin settings 6 7 8 Slide switch settings Input range Oto5V 2 3 4 Voltage input Oto 10V 5 to 5V 10 to 10 V 0 to 20 mA Current input 20 to 20 mA Slide switch Voltage input m _ ee Slide switch Board Current input Board Note 1 Turn OFF the power to the PC before changing the above settings 2 The above settings are enabled when the power supply to the PC is turned ON 194 DM Memory Coding Sheets Appendix A Hex BCD DM word Input point value 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 Input point peak hold enable bits Input point low alarm enable bits Input point high alarm enable bits
178. or each output point ON Enabled OFF Disabled OIlN OD a R M o N oO A WO PM 4 oI NIOJ BR oO PM Output Ramp Enable Bits Enables or disables the output ramp function for each output point ON Enabled OFF Disabled DM Memory Coding Sheets Appendix A Word Bit Output Value Name Description Data Default point 14 0 1 Upper Lower Enables or disables the ON Enabled 0 1 2 Limit Enable upper lower limit function for OFF Disabled Bits each output point 2 3 3 4 4 5 5 6 6 7 7 8 8 1 BCD Binary Specifies either BCD 1 or ON BCD 1 Mode Bits binary 0 data OFF Binary 9 2 The same data format is used for all settings for each output 10 3 point 11 4 Conversion data Addresses 01 to 08 12 5 TM Scaling upper and lower limits 13 6 Addresses 17 to 32 Output ramp set time 14 7 Addresses 33 to 40 15 8 Upper lower limit function Addresses 41 to 56 15 0 1 Conversion Enables or disables each ON Enabled 1 1 2 Data Enable output point D A conversion OFF Disabled Bits will be performed for only the 2 3 enabled output points 3 4 4 5 5 6 6 7 7 8 16 Oto15 1to8 D A Conversion Sets the D A conversion speed 0000pex Normal 0000Hex Speed Mode mode for all output points FFFFHex Bits High speed 201
179. or specific input points Refer to 5 6 4 Filtering for information on using the filtering function Step 1 Set the filtering time constants for input points 13 14 15 and 16 in Unit memory map locations 99 through 102 Each value is set to 120 milliseconds D00498 0099 pointer D00499 0120 D00500 0120 D00501 0120 Step 2 Turn ON the filtering enable bits for input points 13 14 15 and 16 in Unit memory map location 51 D00496 0051 pointer D00497 F000 1111 0000 0000 0000 Step 3 Turn ON the input point enable bits for input points 13 14 15 and 16 in Unit memory map location 47 D00494 0047 pointer D00495 F000 1111 0000 0000 0000 Step 4 Read the first 47 words from the Unit memory map and store the data in D00000 through D00046 User Programming Examples Section 5 7 Example 4 Configuring the Averaging Function This example shows how to configure the averaging function for specific input points Refer to 5 6 3 Averaging for information on using the averaging function Execution condition 191 WRIT Q000501 0004 D00508 Qo002 Q000500 e Q000500 Step 1 Set the averaging sample counts for input points 7 8 and 9 in Unit memory map locations 109 110 and 111 The value is 25 D00508 0109 pointer D00509 0025 D00510 0025 Latch Latch D00511 0025 Q000501 A50006 ________ _____ Flag Q000501 Q000503 WRIT 0002 D0050
180. output mA 37 p 4 0000 03FF O7FF OBFF OFF Conversion data unsigned 12 bit binary 0000 1023 2047 3071 4095 Conversion data unsigned BCD The output specifications of the C500 DA501 Analog Output Unit with scaling are shown below Values between the scaling upper limit and lower limit are set as conversion data in engineering units 20 mA 20 mA 10 V 5 V 10V 7 5 ee EAE 2 5 3 p 4 mA 0 mA 10 V O V O V Scaling Scaling lower limit upper limit Conversion Data Limits in BCD or Binary Mode BOD mode Setting range between scaling 7999 to 7999 32767 to 32767 upper limit and lower limit F999 to 7999H ex 8001 to 7FFFHex 140 Specifications and General Information Section 9 1 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 e 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 e Either BCD or binary format can be selected for the conversion data for each output point e Scaling can be set for each output point e Upper lower limits can be set for each output point e An output ramp can be set for each output point e High speed conversion can be set for all eight output points only when scal ing upper lower limits and output ramps are not used
181. 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 e Use as short a cable as possible e The analog output signal cable contains a positive signal line and a negative signal line Be careful to identify each signal line correctly e Do not route low voltage cables such as analog output signal cables near high voltage cables e Use wiring ducts to house cables Use separate ducts for signal lines and pow er lines e Do not bend cables at acute angles e Do not route cables in places subject to vibration Data Exchange with CPU Unit Section 9 3 9 3 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 Two word Operating The I O READ and I O WRITE instructions READ and WRIT are used to directly Mode The WRIT and READ instructions are used to directly access RAM in the Analog Output Unit access RAM in the Analog Output Unit More than one word can be read and written at a time Data is exchanged when an instruction is executed CPU Unit Analog Output Unit RAM Data Addresses 01 to 08 contain the data for 8
182. output points Other addresses Address__ RAM contain fie Ealing upper and lower limits upper and lower limits biary BCD mode settings and other parameters flags 8 analog output points Read Pointer This pointer indicates the first read address in RAM of the Analog Output Unit This value is set each time one word is written by the WRIT instruction see note This value specifies the first address of the read source when data is read by the READ instruction I O words allocated for a Special I O Unit Parameter Update Request Bit EEPROM Write Bit etc Status flags such as Invalid Data Received Flag Note This value is not used when more than one word is written by the WRIT instruction Instead data in the first write word is used as the first RAM address 153 Data Exchange with CPU Unit Section 9 3 The MOV OUT and other generic instructions are used to read and write RAM 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 Four word Operating Mode RAM Data Addresses 01 to 08 contain the data for 8 output points Other addresses contain the scaling upper and lower limits upper and lower limits biary BCD mode settings and other parameters flags _ CPU Unit Analog Output Unit Instructions such as MOV are used to write to or read from the allocated I O words Address RAM 8 analog output poin
183. ower limit disconnection will be detected when the current value drops below 2 mA This function is not avail able if the gain is lower than 1 V 4 mA Functions Settings and Wiring O Section4 2 Note Scaling The C500 AD101 normally outputs hexadecimal values in the range 000Op ex to FFFyHex 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 Scaling is not available during four word operation The conversion time is 10 ms for A D conversion only but 1 or 2 ms more is re quired for internal processing if many of the functions above are used 4 2 3 Word Operating Mode Note C500 AD101 can be set to be allocated two or four words to match the model of the CPU Unit and the Rack to which the Unit is mounted Operating mode Instructions I O READ and I O CPU Rack I O Rack WRITE Instructions Expansion I O Rack READ and WRIT SYSMAC BUS 2 Slave Rack Four word MOVE instruction CPU Rack I O Rack MOV Expansion I O Rack SYSMAC BUS Slave Rack Two word operation can be set only when the CPU Unit and the Rack to which the Unit is mounted support the I O READ and I O WRITE instructions READ and WRIT When using the C500 only the 3G2C3 CPU11 EV1 CPU Unit supports READ and WRIT Even when using a CPU Unit which does support READ and WRIT set the C500 AD101 to four word operation if it i
184. oy gt converter Supply Point 1 Voltage output Current output Point 2 Voltage output Current output Point 3 Voltage output Current output Point 4 Voltage output Current output 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 Ww J Swi Sw2 N Back of Unit DIP switch i Output range 0to10V 1to5V 4to 20 mA CO N OD Oy BR OW PM H CO NI OD oO BR OIN 119 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 OFF ON 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 Output Polarity Terminal Voltage output 0 1 Current output 2 3 Voltage output 4 5 Current output 6 7 Voltage output 8 9 Current output 10 11 Voltage output 12 13 Current output 14 15 16 Wiring Voltage Outputs Unit Cu
185. point 5 Normal Peak value Input point 6 Normal Peak value Data moved continued from previous page Input point 7 Normal Peak value Input point 8 Normal Peak value IR 00115 the PC Read Completed Flag turns ON when IR 00315 the A D Read Completed Flag turns ON Turns ON when a peak value is reset IR 00144 is the PC Write Completed Flag See Note 1 Turns ON when a peak value is being read any bit can be used See Note 1 1 The peak value is reset when the Peak Reset Flag turns OFF 2 The peak value is held while the Peak Flag is ON IR 00114 initiates the reading of new peak values while IR 07301 is ON 59 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 5 1 Specifications and General Information 0 0 0 62 5 1 1 Specifications s cece Torst ee bea ING ee as Pa ee 62 5 1 2 Theory of Operation sinnon e a A E A eee 64 5 1 3 Unit Data Format mai ber a aa E EEA E A EA E E ARES 64 5 1 4 FUMCHONS spese pasaian u e a Rhee AG SA a ks 65 3 1 5 Description of Parts cs coieree ee as eae Pe eh eee ER aes 66 9 126 IndiCalors sere are eR ae ee ee ae Tee eed COE ee Ea ERE ee es 67 5 1 7 DIP Switches and Slide Switches 0 000 eee eee ee eee 68 5 1 8 Block Diagram 0 0 cee eens 69 5 2 Quick Start Procedure 2 0 0 cet
186. put point 8 converted data 0 1 2 3 4 5 6 7 8 Disconnected Detect Flags N Caution Do not allocate the same words for both writing and reading data Data Writing Area Setting Contents Point Specification If a point is to be used turn ON the corresponding bit If a point is not to be used turn OFF the corresponding bit omm orf o os os osf o2 f or 00 Input point 1 to Input point 8 Mean Value Specification If mean for an input point is to be used turn ON the corresponding bit If mean is not to be used turn OFF the corresponding bit jomm 15 14 19 12 fro fo 08 Input point 1 to Input point 8 Mean Value Data This specifies the number of samplings to obtain the mean value as BCD data in the range 2 through 9 999 15 19 00 Input point 1 to to 15 to 00 Input point 8 N Caution Set mean value data for the required input points only If data is not needed for a point move all parameters up one word to replace it 41 Two word Operation gt Section4s 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 mma sf e 12 11 10 9 oo Input point 1 to Input point 8 Scaling Data Enter the offset and gain for each point for which the scaling function has been designated The offset is the value that is to correspond to 000He x The gain
187. put point into the data memory DM area This programming rung assumes that the Unit is in its factory default settings A 50013 READ N 17 S yyyy D xxxx Always ON N Read 17 locations S Unit I O word D Start word to store data in DM Alarm flags and analog conversion data will be stored in CPU Unit memory be ginning at the DM address specified in the ladder diagram instruction DM xxxx Unit alarm flags DM xxxx 1 to xxxx 16 Input conversion data in BCD format for inputs 1 to 16 READ WRIT Execution Restrictions 5 7 2 94 1 2 3 1 The differentiated READ and WRIT instructions cannot be executed for Special I O Units on SYSMAC BUS 2 Slave Racks The READ and WRIT instructions must be executed until the Equals Flag A50006 turns ON indi cating that the execution is completed 2 The READ and WRIT instructions cannot be simultaneously executed for the same Special I O Unit In such cases execute WRIT first and after the execution is completed execute READ 3 One SYSMAC BUS 2 Remote I O Master Unit can simultaneously handle up to two READ and WRIT instructions If two READ and WRIT instructions are executed for Units mounted to SYSMAC BUS 2 Slave Racks and an at tempt is made to execute a READ or WRIT instruction for a third Unit the Carry Flag A50004 will be turned ON without executing the third instruc tion 4 Therefore when continuously executing READ instructions you can use the READ
188. r 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 Input point 1 Input point 2 4 digit BCD 4 digit BCD ae eee output output nput data j i read timing Input data 1 not con 0 0 vertible o 1 Input data Input data2 2 2 2 not con read timing 3 3 vertible Input data 4 4 analog 3 output 6 6 7 7 8 8 i 3 Input 1 1 data 1 1 analog output Input Urit Input Unit Input Unit Output Unit Analog Output Unit 112 Functions and User Programs Section 6 3 Programming Example Using C1000H Input data 1 read condition 00300 25507 LE 25507 LE 25503 ER See note Input data 2 read condition 00301 25507 LE 25507 LE 00401 25503 ER See note Compares input 1 data with 4096 Converts input 1 data to 12 bit binary and transfers it to the Analog Output Unit Analog Output Unit outputs converted data Indicates input 1 data is not convertible Compares input 2 data with 4096 Converts input 2 data to 12 bit binary and transfers it to the Analog Output Unit Analog Output Unit outputs converted data Indicates input 2 data is not convertible Note The Error Flag turns ON if the input data is not in BCD form 113 SECTION 7 C500 DA101 Analog Output Unit This section provides information on th
189. range Factory default Save load EEPROM Reset on input point enable Reset on function enable Conditions Set by Unit Reset by user using I O word n Conversion data 01 to 16 32768 to 32767 7999 to 7999 Set by Unit High low alarm flags 17 to 21 Oor1 Set by Unit Peak hold data 22 to 37 32768 to 32767 7999 to 7999 Set by Unit Input point active flags 38 Oor1 Set by Unit Function active flags 39 to 45 Oor1 Set by Unit Pointer word 46 00 to 153 Set by user Input point enable bits 47 Oor 1 Set by user BCD binary select bits 48 Oor1 Set by user Function enable bits 49 to 54 Oor 1 Set by user High low alarm limits 55 to 86 32768 to 32767 7999 to 7999 Set by user Filter constants 87 to 102 1 to 32767 1 to 7999 Set by user Averaging sample count 103 to 118 1 to 32767 1 to 7999 Set by user Scaling limits 119 to 150 32768 to 32767 7999 to 7999 Set by user EEPROM write count 151 0000 to 9999 Set by Unit EEPROM error flags 152 Oor1 Set by Unit EEPROM compare word 153 0000 to 9999 Set by user 81 Memory Map Section 5 5 5 5 3 Memory Map Details Memory Function Description map word 00 to 15 Alarm flags These
190. rds CPU Unit Analog Output Unit Allocated I O word PC Busy PC Write Complete PC Read Complete Function These bits operate automatically when executing I O READ WRITE instructions It is not possible for the user to write to these bits Set to 0 when outputting word n using an output instruction such as the MOV instruction EEPROM Write Bit When this bit is turned ON the content of RAM is written to EEPROM The data is automatically read from EEPROM back to RAM when the power is turned ON Reserved Parameter Update Bit When this bit is turned ON the last set parameters such as the scaling function output ramp function upper lower limit function and binary BCD mode are made valid Due to the internal processing time of the Analog Output Unit turn ON this bit at least 100 ms after the parameters have been written Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved 163 Data Exchange with CPU Unit Section 9 3 Input Words Analog Output Unit CPU Unit Allocated I O word 164 D A Busy D A Read Complete D A Write Complete Function These bits operate automatically when executing I O READ WRITE instructions Invalid Data Received Flag This flag is turned ON when invalid data is received from the I O WRITE instruction WRIT The Analog Output Unit will r
191. res In addition to A D conversion the Analog Input Units offer scaling filtering aver aging peak hold upper lower limits and input range high low alarms These functions can be set separately for each input point Executing these function in the Analog Input Unit greatly reduces the load on the ladder program and the CPU Unit High Accuracy and High Speed The C500 AD501 achieves a resolution up to 1 4095 and a conversion time of 25 ms max per 16 input points The use of the above special function will in crease the conversion time The I O READ and I O WRITE instructions READ and WRIT can be used to transfer data with the CPU Unit thereby simplifying program creation and achieving high speed processing with batch transfer A Pointer Word can also be set to limit the words being read or written to further increase speed Built in EEPROM An EEPROM is built into the C500 AD501 to enable storing parameters The pa rameters stored in EEPROM are transferred to RAM at the start of operation be fore beginning actual operation 1 1 2 Analog Output Units Basic Function Features 3G2A5 DA001 to 3G2A5 DA005 This operation manual describes the features of the following Analog Output Units e 3G2A5 DA001 to 3G2A5 DA005 e C500 DA101 103 e C500 DA501 Conversion of PC digital output signals to analog signals to drive instruments and devices requiring an analog input These Units convert 12 bit binary data with a resoluti
192. rite Count is incremented by 1 For programming examples see EEPROM Write Programming Example on page 192 EEPROM Write Count There is a limit to the EEPROM write count When the total EEPROM count ex ceeds 9 999 the RUN indicator will flash If this occurs replace the Unit EEPROM Write Result The following bits of word 60 in RAM turn ON according to the result of the EE PROM write process Turns ON when the total EEPROM write count reaches 5 000 see note Turns ON when the total EEPROM write count reaches 10 000 At the same time the RUN indicator flashes Replace the Unit Turn ON when an internal diagnostic error occurs at startup At the same time the ERROR indicator lights Replace the Unit Note When the total write count reaches 5 000 write 4F43 one word only to enable writing beyond 5 000 times If 4F43 is not written further writing to EEPROM will not be possible 191 User Programming Examples EEPROM Write Programming Example 010002 025001 025000 025000 tMOV 0012 D00062 WRIT 0001 000062 0002 A50006 025001 Flag 025001 025002 025003 025002 READ 0050 0003 D00012 50006 50006 025003 L cmp Do0ve2 000012 HH Flag 025004 025003 025005 025004 tMOV 0061 000058 WRIT 0002 D00058 0002 A50006 025005 025005 000203 TIMH 0002 0010 025006 000203 END 192 Section 9 5 Sets 00
193. rrent Outputs Unit E ee e z 7 E Precautions 1 2 3 1 Use shielded twisted pair cable for external connections to prevent induc tion and noise 2 Do not run the Unit cables or near or bundle them to the main circuit cables or high voltage cables 3 Do not use the same cable for signal lines and AC wiring to external devices 4 Ground shields to the Unit 120 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 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 at the PC 121 IR CIO Bit Allocations 7 2 I O bit IR CIO Bit Allocations Section 7 2 Each C500 DA101 Analog Output Unit is allocated four words Output words IR CIO n Point 1 D A conversion data 20 IR CIO n 1 Point 2 D A conversion data 20 IR CIO n 2 Point 3 D A conversion data 20 IR CIO n 3 Point 4 D A conversion data 20 D A conversion data 21 D A conversion data 21 D A conversion data 21 D A conversion data 21 D A conversion data 22 D A conversion data 22 D A conversion data 22 D A conversion data 22 D A conversion data 23 D
194. rsion data is stored in DM 0100 The Unit uses IR 010 through IR 013 Only the programming for point 1 IR 010 is shown Programming Examples Program for BCD Data Using C1000H Output condition CMP 20 DM 0100 4096 BIN 23 DM 0100 Compares the content of DM 0100 with 4096 25507 lt If the data is less than 4096 the data is con verted to binary and transferred to the Unit 25507 lt If the data is not con vertible IR 06400 is turned ON 25503 ER 124 Functions and User Programs Section 7 3 Program for Binary Data Output condition CMP 20 DM 0100 0FFF MOV 21 DM 0100 25505 gt 06400 Compares the content of DM 0100 with OFFF If the data is not greater than OFFF the data is transferred to the Unit If the data is not convertible IR 06400 is turned ON 125 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 8 1 Specifications and General Information 0 00 0 128 8 1 1 Specifications e seee aad etre pets selbst ee betes 128 8 1 2 Description of Parts ic ck ck spiraia bale be esos De ee dw eel ad 129 8 1 3 Block Diasram s 673 een eee ge Sd oe hs Ee E eee ee as wha ees 130 8 b4 WINNS sees tease bee ete nt Se Bae 131 8 2 IR CIO Bit Allocati
195. s digital output data to analog signals It converts the 12 bit binary data output by the CPU Unit program to either an voltage or current output Five models are available to support different output ranges The analog output signals can be unipolar outputs which are positive or bipolar outputs which are positive and negative The resolution differs according to the output range Output Ranges 1 to 5 V 3G2A5 DA001 4 to 20 mA 3G2A5 DA001 0to10V 3G2A5 DA002 Oto5V 3G2A5 DA003 Converted Data 12 bit binary input data Functions and User Programs sss lt sSsSsSsSCSS ction GB Relationship Between Input Data and Output Signals Output Output 5V 10V 20 mA 5 V 1V 4 mA Digital ov Digital 0 OFFF value 0 OFFF value 4095 4095 Input 1 to 5 V 4 to 20 mA Input 0 to 10 V O to 5 V Note Data exceeding FFFHex 4095 cannot be converted Bipolar Output Output Ranges 10 to 10 V 3G2A5 DA004 5to5V 3G2A5 DA005 Converted Data 1 sign bit 11 bits binary input data Bit 11 is the sign bit OFF for positive values ON for negative values Relationship Between Input Data and Output Signals Output WON bees sees eyes 5 V OFFF 2047 0 Digital OV O7FF value 2047 AA St Dee 10 V 5 V Note The numbers 2048 to 4095 800H to FFFyex represent the values 0 to 2047 Data exceeding FFFyex 4095 cannot be converted 111 Functions and User Programs ssss lt s sSsSsSsSS ction GB 6 3 2 Ladde
196. s mounted to a SYSMAC BUS Slave Rack Two word Operation Data transfer between C500 AD101 and CPU Unit using the read READ and write WRIT instructions Programming is simple and the immediate execution I O refresh immediately after instruction execution achieves high speed pro cessing Four word Operation Data transfer between C500 AD101 and CPU Unit using the MOV instruction Using the MOV instruction I O refresh is matched to the CPU Unit cycle time Always set the C500 AD101 to four word operation when using it with a CPU Unit that does not support the I O READ and I O WRITE instructions READ and WRIT or when it is mounted to a SYSMAC BUS Slave Rack 33 Functions Settings and Wiring O Section4 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 i Two word operation Back of Unit The procedure for setting the type and range of the input signals at each input point is described below Each point is set to an offset minimum of 1 V 4 mA and a gain maximum of 5 V 20 mA Use the following procedure to change these settings if necessary y p 4 2 4 Setting the Input Ranges Preparations 1 2 3 1 A DC power supply and measuring instruments are required for this setting as follows Voltage Input Oto 10 VDC power supply and DC voltmeter Current Input 0 to 20 mA
197. scribed below Set the output ranges Mount the Unit Wire connections Program Operate lt lt 7 3 2 Functions D A Conversion Use the DIP switches on the back of the Unit Refer to 7 1 4 Setting Output Range The Unit is allocated 4 words Connect the points to the ex ternal device Refer to 7 1 5 Wiring Write a CPU Unit program which transfers binary data in the range 0000 through OFFF to the IR CIO n through IR CIO n 3 Refer to 7 3 3 Ladder Programming Example This Unit converts 3 digit hexadecimal values 0000 to OFFF from the specified words IR CIO n to n 3 for output from the Analog Output Unit The output range depends on the setting of the DIP switches raleigh C500 DA101 BCD data BCD to BIN 0000 to conversion mooo 4095 IR CIOn e D A con re to IR CIO Data version Analog enico n 3 Hexadecimal data transfer output 0000 to OFFF M 123 Functions and User Programs sss lt s sSsSCS ction 7 3 Relationship Between Input Data and Output Signals Output Output 5V 20 mA 1V Digital 4 mA Digital 0000 OFFF value 0000 OFFF value 4095 4095 Output O 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 The conve
198. secutive 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 MOV 0000 D00062 Sets 0000 in D00062 WRIT 0001 D00062 0002 Writes the content of D00062 to the Read Pointer address 12 200100 A50006 H ker 200101 Flag READ 0062 0003 Doo000 Reads 62 words of data from RAM addresses 00 to 61 to addresses 200102 D00000 to D00061 by using the value 00 of the Read Pointer as the first address A50006 A50006 200103 Turns ON CIO 200103 if the READ H CMP 0000 D00012 Q instruction ends normally and the value of D00012 matches 0000 the value of the Read Pointer is 0000 183 User Programming Examples Section 9 5 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 000000 200001 200000 200000 MOV 0013 D00112 Sets 0013 in D00112 first RAM address ORW 0001 D00113 D00113 Sets the value of D00113 OR 0001 in D00113 see note Enables scaling for output 1 note Disables output ramp for output 1 Sets the value of D00114 OR 0100 in D00114 see ORW 0100 D00114 D00114 note Sets
199. set and gain values set for the input Line 1 in the above figures shows the factory settings of 1 to 5 V 4 to 20 mA This means that an input of 1 V 4 mA will be converted to 000 4 and an input of 5 V 20 mA will be converted to FFFrex The maximum ranges 0 to 10 V 0 to 20 mA are shown by line 2 in the figures 1 For voltage input if the offset or gain is set outside the range of 0 to 10 V the output is locked at 000pHex or FFFHex respectively For current input the output corresponding to a negative current input is locked at 000 4 but the output corresponding to an input exceeding 20 mA is not locked 2 The offset is the analog input value corresponding to an output of OO00Hex 3 The gain is the analog input value corresponding to an output of FFFyex The C500 AD101 offers the following four functions in addition to A D conver sion Mean Value The mean input data value over the specified sampling count is output Specify the sampling count between 2 and 9 999 The maximum conversion time is 10 ms per input Peak Hold The peak value of the input signals is held and output when requested by the CPU Unit The peak value can be reset by an instruction from the CPU Unit Disconnection Detection Detects if an input lead is disconnected and turns the Disconnection Detect Flag ON The disconnection detection level is half or less of the lower limit specified by the user If for example 4 mA is specified as the l
200. sion of data to engineering units prior to transfer to the CPU Unit With this feature enabled the Unit maps the 0 to 4095 range of the analog input to a new user specified range The range can have upper and lower limits anywhere in the range 32768 to 32767 binary or 7999 to 7999 BCD Scaling can even be used to accomplish a sign inver sion by setting the lower scale value positive and the upper scale value negative Examples 1 2 and 3 illustrate scaling Example 1 Scaling 0 to 10 Volts to Engineering Units 0 to 5 000 I min Input point 1 of the Unit is connected to a 0 to 10 V signal from a flow sensor in a pipe It has been determined that a 0 V reading on the sensor indicates no flow in the pipe and a 10 V reading on the sensor indicates 5 000 liters minute To configure the Unit to report the data in percentage full 1 2 3 1 Set the scaling low and high limits to O and 5000 2 Turn ON the scaling enable bit for input point 1 Input Range 0to10V Scaling High 5000 liters minute Scaling Low 0 liters minute BCD Binary Hex Scaling Data Scaling Data A D Data Faeatt esd Normal Data A D Date ghee wee Normal Data 5000 1388 4095 OFFF 2500 09C4 2047 O7FF 0000 0000 Input signal range Input signal range 88 Section 5 6 Functions 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 th
201. so 1 word Words allocated 4 output words External connections 17 pin terminal block not removable Isolation Between output terminals and CPU Unit Photocoupler no isolation between out puts Power consumption 1 3 A max at 5 VDC External dimensions 34 5 x 250 x 113 mm W x H x D Weight 650 g max Note The conversion time is defined as the time to convert the output data written to the Analog Output Unit to full range e g 1 to 10 V Incorrect data results if the writing cycle is faster than the conversion time 116 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 117 Specifications and General Information 7 1 3 Block Diagram VO bus 118 Section 7 1 The following diagram shows the basic internal connections of the Unit Bus interface Timing circuit Isolation ye Photocoupler Photocoupler gt Memory gt D A a Z Z o gt 5 l ee A Memory K D A fe e ess e Memo a oT SY Y DIA a NI M SN D A Pa emory e o gt c Range Isolation selector s 5 V gt DC DC Sener
202. t If there is inconvertible data the Conversion Error Flag will be set Data that has been written to RAM before the BCD Binary Mode Bit is set is treated as BCD data and is not converted into BCD format If data is invalid for BCD format the Invalid Data Received Flag will be set and the entire data block containing the invalid data will be discarded Turning OFF the BCD Binary Mode Bit sets binary mode In this case all the conversion data scaling upper and lower limits output ramp set time and upper and lower limits that are written to RAM will be handled in binary format Data that has been written to RAM before the BCD Binary Mode Bit is set is treated as binary data and is not converted into binary format No conversion or invalid data errors occur when data is converted into binary format BCD Binary Mode Flag The BCD Binary Mode Flag is turned ON to notify the CPU Unit of the data for mat setting BCD or binary This flag is read only 9 4 2 Scaling The scaling function automatically scales data set in engineering units converts to a rate of 0 to 100 and generates output signals It can be set individually for each output point Reverse scaling is also possible To enable scaling set the scaling upper and lower limits turn ON the Scaling Enable Bit and turn ON the Parameter Update Bit in the allocated I O words Conversion data in RAM will be rewritten and the Analog Output Unit will gener ate output signals according
203. t the output signal range When the scaling function is enabled data is set in engineering units Output Lower Limit for Output Point 6 Output lower limit for output point 6 This is used to restrict the output signal range When the scaling function is enabled data is set in engineering units Output Upper Limit for Output Point 6 Output upper limit for output point 6 This is used to restrict the output signal range When the scaling function is enabled data is set in engineering units Output Lower Limit for Output Point 7 Output lower limit for output point 7 This is used to restrict the output signal range When the scaling function is enabled data is set in engineering units Output Upper Limit for Output Point 7 Output upper limit for output point 7 This is used to restrict the output signal range When the scaling function is enabled data is set in engineering units Output Lower Limit for Output Point 8 Output lower limit for output point 8 This is used to restrict the output signal range When the scaling function is enabled data is set in engineering units Output Upper Limit for Output Point 8 Output upper limit for output point 8 This is used to restrict the output signal range When the scaling function is enabled data is set in engineering units With No Scaling BCD 0 to 4095 0000 to 4095pHex or 2048 to 2048 A048 to 2048Hex B
204. t 2 Control Bit Point 3 Control Bit Point 4 Control Bit Point 5 Control Bit Point 6 Control Bit Point 7 Control Bit Point 8 Control Bit Normal Peak Control Bit 0 0 0 Peak Reset Bit A D Conversion Bit PC Write Completed Bit PC Read Completed Bit IR CIO n 2 Read data IR CIO n 3 Point 1 Read Flag Point 2 Read Flag Point 3 Read Flag Point 4 Read Flag Point 5 Read Flag Point 6 Read Flag Point 7 Read Flag Point 8 Read Flag Disconnection Detect Flag Normal Peak Flag 0 0 0 0 A D Read Completed Flag A D Write Completed Flag 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 Normal Peak Control Bit Turn ON this bit and the A D Conversion Bit to read normal binary converted val ues and turn OFF this bit and the A D Conversion Bit to read peak values Peak Reset Bit Turn ON this bit to reset an input point for which the peak value is being read A D Conversion Bit Turn ON this bit when reading normal data and turn it OFF when reading peak values or writing the number of sampling counts for the mea
205. t input 4 Current input 8 Voltage current input 4 Voltage current input 8 Note 1 When using current input short the negative voltage current input terminal to the negative current input terminal 2 Connect all shield terminals to the analog O V Input Connections The input wiring connections to the C500 AD101 differ for voltage input and cur rent input Voltage Input C500 AD101 Voltage Current uPC251 R a E sea input Sensor T Voltage Current TOAD o input section OV ae A Shield Y analog 0 V Input impedance 1 MQ 36 Two word Operation sssss lt s sSSsSsSsSsSSSSSS ction 4 3 Current Input C500 AD101 Voltage Current were input uPC251 i t k Sensor te To A D ov a a Li section SAE paes eE o i Current input Voltage j Current input Shield analog 0 V Input impedance 250 Q Note 1 When using current input short the negative voltage current input terminal to the negative current input terminal 2 Use shielded twisted pair cable for external connections 4 3 Two word Operation 4 3 1 Communications with CPU Unit The I O READ and I O WRITE instructions READ and WRIT are used for data transfer between the C500 AD101 and the CPU Unit in two word operatio
206. t turn OFF this flag replace the Unit Reserved Reserved Reserved Data Exchange with CPU Unit Section 9 3 Four word Operating Mode Output Words CPU Unit Analog Output Unit Allocated I O word 00 to 15 Write Data Function 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 Read Write Request Bit This bit specifies whether access to the Analog Output Unit is a read request OFF or a write request ON When a read request is specified data in RAM addresses specified by the Read Write Pointer bits 08 to 15 of word n 1 is read and stored as read data in word n 2 When a write request is specified write data in word n is written to RAM addresses specified by the Read Write Pointer bits 08 to 15 of word n 1 Reserved Reserved EEPROM Write Bit When this bit is turned ON data is transferred from RAM to EEPROM Due to the internal processing time of the Analog Output Unit turn ON this bit at least 100 ms between each write operation Reserved Parameter Update Bit When this bit is turned ON the last set parameters such as the scaling function output ramp function upper lower limit function and binary BCD mode are made valid Due to the internal processing time of the Analog Output Unit turn ON this bit at le
207. tage Outputs Current Outputs Precautions 1 2 3 w N Section 6 1 Unit ER qt 0 Voltage output pon Vol oltage output 0 V 3 4 AA qf 5 Voltage output Point 2 6 Voltage output 0 V 7 8 9 aot Shielded twisted pair cable Unit eats 0 1 A 2 i 2 Current output Point 1 4 y y 3 Current output 0 V 4 5 6 4 z f i 7 Current output Ano _ 8 Current output 0 V i j 9 I pee Shielded twisted pair cable Use shielded twisted pair cable for external connections Ground the shields to the load for both voltage and current outputs For current outputs isolate the signal lines for each output point These sig nal lines must also be isolated from the signal lines of other output circuits If a negative current output terminal is shared between points 1 and 2 or if the negative current output terminal of a point is connected to another output circuit interference will occur between both points or between a point and another output circuit resulting in incorrect outputs A voltage current may be output momentarily from the output terminal when the power supply to the PC is turned ON or OFF A maximum of 10 V will be output for several hundred milliseconds after the power is turned
208. te ene nen n eens 69 5 3 Installation Settings and Wiring 0 0 ee eee eee 70 5 3 1 Unpacking the Unit itsa triss e a aa eee 70 5 3 2 Installation Requirements 0 0 eee eee eee 70 5 3 3 Setting Input Ranges 0 0 ce eee 70 2324 WICKING cede decked pne Dale ee ed Sa oe ee ae eda ae ok dae 72 923 5 Wirine Diagrams orre erse ce eee ASTER SL SER CEE REG ee eS 73 5 4 Data Exchange with CPU Unit 00 ce eee eee 76 5 4 1 Communications with the CPU Unit 0 00 0 0 eee eee 76 5 4 2 IR CIO Bit Allocations 0 0 cece 78 59 Memory Map astie e sang ant dapares booby e ie nate A pene ees are ae E 80 S L Emor Flags pri ea era ety hel eal sea La ain Se ee ee es 80 3 3 2 SOVERVICW tau acdsee Dae a eae hangs AE GEE Seed E Pande ae 81 5 5 3 Memory Map Details 0 eee 82 5 5 4 Using the Unit Memory Map Configuration Sheet 004 87 5 6 FUNCHONS so rarya in e R n E Aue CRE OER CREME Ee bd PERN EEE BG eae es 87 92621 SONEIVICW asic bios tae Deen oe eee bade et ae tale E ogg alee eRe 87 9 6 2 sSCalint sve wie et ee BOs Tha eed daa CAA A ee ae hee 88 97623 AVeraSIN ey onea Fok ewes obi trees td Taaa et He badd 91 92624 Filtern So cchdeie enced gies ie aden nae oo aac ed kta ee ee a ta atta 91 5 6 5 4 Peak Hold isie tin aera Rete helg teal ov La ain Se Pe ee es 92 5 6 6 High Low Alarms wes bontio i ee eg nian Se eB Lede ek eae 92 5 6 7 EEPROM Fun
209. ten to the Analog Output Unit to full range e g 10 to 10 V Incorrect data results if the writing cycle is faster than the conversion time 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 o yu ona o Nn o 129 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 g he ES Voltage output gt gt D A A Memory a AnalogOV 7 Point 2 e E AU NN Voltage output S 2 2 Memo z Wy N 5 A Y 7 DIA Analog 0 V 1 0 2 8 bus D 5 a 7 oam E Point 3 ay eN Voltage output Memory S A DIA AnalogOV 7 Point 4 g EA a Voltage output 8 NS i gt gt Memory a D A Analog 0 V E l H 5 Q Isolation 8 me V gt perme T Analog L o v gt converter supply 130 Specifications and General Information Section 8 1 8 1 4 Wiring Terminal Allocations Voltage Outputs Precautions Terminal Description Number Voltage output for point 1 Voltage output for point 1 Not
210. terminal block of the AC Power Supply Unit to the torque specified in the operation manual The loose screws may result in burning or malfunction Confirm safety at the destination node before transferring a program to another node or changing contents of the I O memory area Doing either of these without confirming safety may result in injury Application Precautions 4 Operating Environment Precautions N Caution N Caution N Caution Do not operate the control system in the following places e Locations subject to direct sunlight e Locations subject to temperatures or humidity outside the range specified in the specifications e Locations subject to condensation as the result of severe changes in tempera ture e Locations subject to corrosive or flammable gases e Locations subject to dust especially iron dust or salts e Locations subject to exposure to water oil or chemicals e Locations subject to shock or vibration Take appropriate and sufficient countermeasures when installing systems in the following locations e Locations subject to static electricity or other forms of noise e Locations subject to strong electromagnetic fields e Locations subject to possible exposure to radioactivity e Locations close to power supplies The operating environment of the PC System can have a large effect on the lon gevity and reliability of the system Improper operating environments can lead to malfunction fai
211. the data format selected for each input point in word 48 00 to 15 Scaling active flags These flags are turned ON by the Unit indicating the enable disable status of the scaling function for each input point set in word 49 00 to 15 Averaging active flags These flags are turned ON by the Unit indicating the enable disable status of the averaging function for each input point set in word 50 00 to 15 Filtering active flags These flags are turned ON by the Unit indicating the enable disable status of the filtering function for each input point set in word 51 00 to 15 Peak hold active flags These flags are turned ON by the Unit indicating the enable disable status of the peak hold function for each input point set in word 52 00 to 15 Low alarm active flags These flags are turned ON by the Unit indicating the enable disable status of the low alarm function for each input point set in word 53 00 to 15 High alarm active flags These flags are turned ON by the Unit indicating the enable disable status of the high alarm function for each input point set in word 54 83 Memory Map Section 5 5 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 This
212. time constant input point 1 Filtering time constant input point 2 Filtering time constant input point 3 Filtering time constant input point 4 Filtering time constant input point 5 Filtering time constant input point 6 Filtering time constant input point 7 Filtering time constant input point 8 Filtering time constant input point 9 Filtering time constant input point 10 Filtering time constant input point 11 Filtering time constant input point 12 Filtering time constant input point 13 Filtering time constant input point 14 Filtering time constant input point 15 Filtering time constant input point 16 Averaging sample counts input point 1 Averaging sample counts input point 2 Averaging sample counts input point 3 Averaging sample counts input point 4 Averaging sample counts input point 5 Averaging sample counts input point 6 Averaging sample counts input point 7 Averaging sample counts input point 8 Averaging sample counts input point 9 Averaging sample counts input point 10 Averaging sample counts input point 11 Averaging sample counts input point 12 Averaging sample counts input point 13 196 DM Memory Coding Sheets Appendix A Unit Function Decimal memory value map
213. to the new parameter settings ered peor ane ee ees Scaling upper limit F999 to 799916 8001 to 7FFFHox Scaling lower limit Decimal 7999 to 7999 Decimal 32767 to 32767 175 Functions Section 9 4 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 Scaling Lower Limit lt Scaling Upper Limit Scaling Lower Limit gt Scaling Upper Limit 100 100 T T S 5 N n 5 5 g g fe fe 0 0 Scaling Scaling Scaling Scaling lower limit upper limit upper limit lower limit Conversion data Conversion data Output Signals Conversion data set in engineering units is converted into a rate of 0 to 100 0 to 4095 according to the scaling upper and lower limits subject to conver sion and then generated as output signals Scaling Enable Bits To enable scaling turn ON the Scaling Enable Bit for each output point These bits are read write Scaling Enabled Flags To check whether the scaling function is active monitor the status of the Scaling Enabled Flag for each output point These flags are read only Examples of Positive Scaling
214. tocol error It is turned ON when the data transfer sequence ends abnormally This flag is turned OFF by setting or resetting the PC Read Completed Bit bit 07 of word n 1 All read and write operations are ignored until this flag is turned OFF Pulse Signal Flag The Analog Output Unit generates ON OFF signals with a frequency of 1 Hz and a load cycle of 50 ON for 0 5 second OFF for 0 5 second during normal operation It temporarily stops outputting pulse signals while data is being written to EEPROM and restarts outputting signals when the write operation is completed Analog Output Unit OK Flag This flag is turned ON when the internal diagnostic function ends normally It is turned OFF when an internal error is detected If turning the power OFF and then ON does not turn OFF this flag replace the Unit Reserved Reserved Reserved Data Exchange with CPU Unit Section 9 3 9 3 3 Memory Map Data format Decimal notation 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 By default all out put points are set to BCD format All data for each point will be in the same format BCD or binary The sign signed unsigned and range of data in BCD or binary format depend on the data format in R
215. ts D A conversion LLTITI TT Data memory etc DM MOV etc Read Write Pointer VO m 3 7 Read write process is performed for RAM address indicated by the Read Write Pointer One word is read or written at a time Read write process is performed through handshaking with the Read Write Request Bit PC Write Completed Bit and PC Read Completed Bit I O words allocated for a refresh Special I O Unit Read data__ eli ee This pointer specifies RAM addresses in the Analog Output Unit Write destination and read source addresses are specified in the pointer Comparison between Two word and Four word Operating Modes Access to RAM Data exchange Restrictions Instructions Word access available I O READ READ and I O WRITE WRIT Operating mode Cannot be used for Units on SYSMAC BUS Each time an 63 words max Direct access instruction is executed High speed processing Two word operation is possible Slave Racks Four word operation MOV OUT and other instructions At the I O refresh One word ata time Indirect access via the allocated I O words Can be used for Units on SYSMAC BUS Slave Racks 9 3 1 Basic Operation Two word Operating Mode 1 2 3 1 Use the I O WRITE instruction WRIT to write parameters to the specified addresses in the Analog Output Unit 2 After 100 ms internal processing time required for the Analog Output U
216. ture regulating system 5 conversion data 3G2A5 DA001 to 3G2A5 DA005 110 C500 DA101 122 C500 DA103 132 C500 DA501 168 conversion errors C500 DA501 164 166 conversion speed C500 DA501 164 166 169 Index converted data 3G2A5 AD001 to 3G2A5 AD005 13 3G2A5 AD006 and 3G2A5 AD007 23 C500 AD101 42 51 C500 ADS501 82 CPU Unit communications C500 AD101 37 50 C500 AD501 76 C500 DAS501 145 153 current inputs 3G2A5 AD001 to 3G2A5 AD005 11 3G2A5 AD006 and 3G2A5 AD007 21 C500 AD101 37 data conversion C500 AD101 32 current outputs 3G2A5 DA001 to 3G2A5 DA005 109 C500 DA501 140 C500 DA101 120 D data coding See configuration worksheets data conversion 3G2A5 AD001 to 3G2A5 AD005 14 3G2A5 DA001 to 3G2A5 DA005 110 3G2A5 AD006 and 3G2A5 AD007 23 C500 AD101 32 C500 AD501 63 C500 DA101 123 C500 DA501 139 C500 DA103 132 enabling C500 DA501 168 169 data format BCD or binary C500 AD501 64 84 C500 DA501 140 selection C500 AD501 83 C500 DA501 167 168 169 175 differential output signals 3G2A5 AD001 to 3G2A5 AD005 11 12 dimensions 207 DIP switches C500 DA501 147 disconnection detection C500 AD101 32 42 51 DM allocation C500 AD101 40 data reading area 41 42 data writing area 40 E EEPROM C500 ADS501 79 86 93 C500 DAS01 163 165 174 190 209 Index error flags C500 AD501 79 80 C500 DA501 164 166 168 174 175 no error flags C500 DA501 1
217. turned ON without executing the third instruction 4 Therefore when continuously executing READ instructions you can use the READ and WRIT instructions for a maximum of two Special I O Units under each SYSMAC BUS 2 Remote I O Master Unit 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 157 Data Exchange with CPU Unit Section 9 3 158 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 For this reason design the program so that it writes conversion data at least 100 ms after parameters have been written Also the Parameter Update Bit must be turned ON to make the written parameters valid Input condition A Y1 If H O Y y Word n 1 1 bit2 Writes ll wair parameters B B A50006 a Flag A c 100 ms timer delay timer for internal processing time TIMH om 0010 Jor Analog Output Unit o D Self holding bit C Turns ON 100 ms after parameter O is written A turns ON
218. uring diagnosis after power was turned ON Replace the Unit 174 Total EEPROM Write Count Setting The total EEPROM write count address 59 is set in this word for writing data to EEPROM If the EEPROM Write Bit bit 3 of word n or n 1 is then turned ON data will be written from RAM to EEPROM At the same time the total EEPROM write count address 59 will be incremented by 1 Functions Section 9 4 9 4 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 1 Conversion data 2 Scaling upper and lower limits 3 Output ramp set time 4 Upper and lower limits To enable the BCD Binary Mode Bit turn ON this bit and turn ON the Parameter Update Bit in the allocated I O words Conversion data in RAM will be rewritten and the Analog Output Unit will generate output signals according to the new parameter settings BCD Binary Mode Bits The BCD Binary Mode Bits are used to set either BCD or binary mode individual ly for each output point Turning ON a bit sets BCD mode In this case all the conversion data scaling upper and lower limits output ramp set time and upper and lower limits that are written to RAM will be handled in BCD forma
219. utput Ramp Enable Bits Set by the user to enable or disable the output ramp for each output point ON Enabled OFF Disabled Upper Lower Limit Enable Bits Set by the user to enable or disable the upper lower limits for each output point ON Enabled OFF Disabled BCD Binary Mode Bits Set by the user to select either BCD or binary data The same data format is used for all data for each output point Conversion data Addresses 01 to 08 Scaling upper and lower limits Addresses 17 to 32 Output ramp set time Addresses 33 to 40 Upper lower limits Addresses 41 to 56 ON BCD OFF Binary Conversion Data Enable Bits Set by the user to enable or disable each output point Conversion will be performed for only the enabled output points ON Enabled OFF Disabled Conversion Speed Mode Setting Set by the user to select the conversion speed mode for all output points 0000pex Normal FFFFyex High speed 169 Data Exchange with CPU Unit Description 17 Oto 15 Scaling Lower Scaling lower limit for output Limit for Output point 1 Set in engineering Point 1 units 18 Oto 15 Scaling Upper Scaling upper limit for output Limit for Output point 1 Set in engineering Point 1 units 19 0to15 Scaling Lower Scaling lower limit for output Limit for Output point 2 Set in engineerin
220. value will be stored in RAM whichever appli cable When the scaling function is enabled set the upper and lower limits in engineer ing units Even if reverse scaling is specified the lower limit must be smaller than the upper limit To enable the upper lower limit function set the upper and lower limits turn ON the Upper Lower Limit Enable Bit and turn ON the Parameter Update Bit in the allocated I O words Conversion data in RAM will be rewritten and the Analog Output Unit will generate output signals according to the new parameter set tings Limits Scaling setting Output signal Upper and lower limits Scaling disabled O0to10V Oto5V 0 to 20 mA 4 to 20 mA 0000 to 4095 Decimal 0 to 4095 0000 to OFFF Decimal 0 to 4095 5to5V 10 to 10 V A048 to 2047 Decimal 2048 to 2047 F800 to 07FF Decimal 2048 to 2047 Scaling enabled F999 to 7999146 Decimal 7999 to 7999 8001 to 7FFFyex Decimal 32767 to 32767 Output Signals When conversion data exceeds the upper limit the output signal remains at the upper limit Likewise when conversion data drops below the lower limit the out put signal remains at the lower limit Output signal a i 1 i E 1 1 i i 1 1 1 i 1 1 1 1 4 1 t 1 1 1 i 1 1 1 1 A a 1 A Lower limit Upper limit Co
221. w The C500 AD501 is microprocessor based and can perform a number of func tions on the converted data before putting it in the Unit memory map where it can be read by the CPU Unit The following pages describe the operation of these functions and how to enable the functions The specific Unit memory map loca tions valid values and functions are described in 5 5 Memory Map in Analog Input Unit Power up Initialization p A D Conversion Scaling Filtering Peak Hold Alarms Averaging Store Value In Unit Memory Map Note When configuring the Unit s functions use the following steps 1 2 3 1 Disable the input point to be configured in Unit memory map word 47 2 Reconfigure the input point for the desired function 3 Enable the input point in Unit memory map word 47 87 Functions Section 5 6 Averaging and Alarms 5 6 2 Scaling 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 The scaling function can be used to perform conver
222. wer 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 9 2 2 Setting the Two word or Four word Operating Mode There is a toggle switch on the back of the Unit for selecting either two word or four word mode for the I O allocations The factory setting is for two word mode Rear of Unit Backplane connector Two four word mode switch Toggle switch setting Allocated I O mode Remarks Two word mode Factory setting Four word mode 149 Settings and Wiring Section 9 2 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 The factory setting is for O V or 0 mA whether power to the PC is OFF or ON Rear of Unit Toggle switch setting Switch for setting operation when PC power is turned OFF Output signal When PC power is turned ON OVorOmA When PC power is turned OFF OVorOmA When 5 V power from Rack to Unit is turned OFF OVorOmA Remarks Factory setting OVorOmA Output signal OVorOmA See note value at power interruption Note With this setting the output signal status is as shown in the f
223. with one or more of the Peak Read Bits in order to reset the peak values of the input points designated by the Peak Read Bit Use a Peak Read Bit with the Peak Bit to read the peak value for a particular input point Turn this bit ON with the Peak Reset Bit to reset the stored peak value A Peak Flag turns ON to indicate that the input value of the input point has reached a peak value Use this flag with the Peak Read Flag to read the peak value for a particular input point The user cannot use IR CIO n and IR CIO n 1 Bits 0 to 2 Words n and n 1 indicate the IR CIO addresses according to the slot in which the Analog Input Unit is mounted When using the I O READ and I O WRITE in structions READ and WRIT n and n 1 are the write output and read input addresses respectively 39 Two word Operation gt CS ction 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 Use without changing the settings Some Input Points Unused Transfer the data set in DM 0000 and DM 0001 to the Analog Input Unit with the WRIT instruction DM word 15 14 13 12 11 10 9 DM m Specify points for mean function Specify points to be u DM m 1 Specify points for scaling function 0 DM m 2 Mea

Download Pdf Manuals

image

Related Search

Related Contents

APX5008 User Manual V1.0  Critères de classification hôtelière suisse    Diploma de Colaborador Emérito do Exército  Warranty Instruction Pack Overview: WORKSHOP LIMITED  

Copyright © All rights reserved.
Failed to retrieve file