Home

A/D converter module type A1S64AD User's Manual

image

Contents

1. 4 1 42 Nomenclature 4 2 4 3 Offset gain Setting 4 3 44 Wiring 4 4 4 41 Wiring instructions 4 4 44 2 Connection example of module 4 4 45 Check and Maintenance 4 5 PROGRAMMING 5 1 5 4 51 Programming Procedure 5 1 5 2 Basic Program for Read Write 5 2 5 3 Initial Setting Program and Example of Digital Output Value Read Program 5 3 6 TROUBLESHOOTING 6 1 6 2 61 Error Code list 6 1 6 2 Troubleshooting 6 2 6 21 When the RUN LED of ATS64AD Flashes 6 2 6 22 When the RUN LED of A1864AD goes OFF 6 2 6 2 3 When the digital output value cannot be read 6 2 APPENDICES APP 1 APP 2 Appendix 1 Outside Dimensions APP 1 Appendix 2 Signa
2. TR X20 b Writing data error reset signal eene X21 c Digital output value read command input signal X22 d Writing data error occurrence display eee X40 e Writing data error code BCD output Y50 to 5B f Writing data error code storage data register DO 9 A D conversion completed flag storage device MO to M2 h Digital output value read data register D10 to D12 5 PROGRAMMING MELSEC A Programming procedure x000 x001 PH K K 0000 1 kee Set resolution scale to 2 1 8000 Set A D conversion enable for channels 1 2 and 3 1 1 11 CH4 CH2 CH1 M Set channel 2 number of times of averages to 50 times Initial settings such as A D conversion enable disable or averaging processing specification K bk Set channel 3 averaging time to 1000ms DO Eee Designate averaging processing for channel 2 and 3 Set number of times in channel 2 and ___ time in channel 3 0 1 1 0 0 0 0 0 0 1 0 0 CHCHCHCH 4321 4321 Averaging processing Number of times time specification specification YO40 H eee Turn Y40 ON when written data error OCCUIS Process when written data error occurs e Read written data error code to DO
3. 3 4 3 3 2 Currentinput characteristics 3 5 3 3 3 Relationship between the offset gain setting and the digital output value 3 6 3 4 Function List 2 0 3 8 35 Maximum Conversion Speed 3 9 3 5 1 Conversion speed for channel 3 9 3 5 2 Influence on the maximum conversion speed by executing the FROM TO instruction 3 9 36 CPU i O Signal 3 10 3 6 1 Overview of VOSignals 3 10 3 6 2 l Osignalfunctions 3 11 3 7 Buffer Memory 3 12 3 7 1 Buffer memory assignment 3 12 3 7 2 Setting of A D conversion enable disable 3 13 3 7 3 Setting of the sampling process averaging process 3 14 3 7 4 Digital output value 3 16 3 7 5 Writing data error code 3 16 3 7 6 A D conversion completed flag 3 17 3 7 7 Resolution setting 3 17 PRE OPERATION SETTINGS AND PROCEDURES 4 1 4 5 41 Handlinginstructions
4. 5V 1200 2400 3600 1200 2400 3600 5 V 10 V 1086 2132 3198 266 532 798 Fig 3 2 Voltage Input Characteristics 1 Do not input voltage 15 V or more Otherwise elements may be broken 2 When the input voltage is from 10 to 10 V the maximum resolution and overall accuracy will be within the specifications range How ever if the input voltage is outside this range the accuracy will sometimes not match with the specifications Do not use a value within the range corresponding to in the figure 3 When an analog is input that causes a digital output value beyond the maximum 4095 8191 12287 or minimum 4096 8192 12288 of the digital resolution the digital output value is fixed to the maximum 4095 8191 or 12287 or minimum 4096 8192 or 12288 of the digital resolution 4 Follow the conditions below to set the offset gain If the settings do not match these conditions correct characteristics cannot be guaranteed Gain value Offset value gt n wem wwe 774 mmm 9 3 SPECIFICATIONS MELSEC A 3 3 2 Current input characteristics The figure below shows an example of the current input characteristics when the offset gain setting is changed 1 4000 1 8000 1 12000 Practical analog input range Setting example 1 4095 8191 A 12287 offset value 0 mA gain value 5 2000 Setting example 2 offset value 4 mA gain va
5. APP 2 WARRANTY Please confirm the following product warranty details before starting use 1 Gratis Warranty Term and Gratis Warranty Range If any faults or defects hereinafter failure found to be the responsibility of Mitsubishi occurs during use of the product within the gratis warranty term the product shall be repaired at no cost via the dealer or Mitsubishi Service Company Note that if repairs are required at a site overseas on a detached island or remote place expenses to dispatch an engineer shall be charged for Gratis Warranty Term The gratis warranty term of the product shall be for one year after the date of purchase or delivery to a designated place Note that after manufacture and shipment from Mitsubishi the maximum distribution period shall be six 6 months and the longest gratis warranty term after manufacturing shall be eighteen 18 months The gratis warranty term of repair parts shall not exceed the gratis warranty term before repairs Gratis Warranty Range 1 The range shall be limited to normal use within the usage state usage methods and usage environment etc which follow the conditions and precautions etc given in the instruction manual user s manual and caution labels on the product 2 Even within the gratis warranty term repairs shall be charged for in the following cases 1 Failure occurring from inappropriate storage or handling carelessness or negligence by the user Failure cause
6. When several channels are used 20 msec x the number of conversion enabled channels equals the sampling time 3 5 2 Influence on the maximum conversion speed by executing the FROM TO instruction When the FROM TO instruction is not executed the maximum conversion speed is as mentioned above Executing the FROM TO instruction influences the maximum conversion speed as follows 1 Ifthe time it takes to write a digital value converted from an analog value overlaps with the execution of FROM TO processing writing to the buffer memory is delayed unti the FROM TO processing is completed 2 If the time it takes for the switching channel overlaps with the execution of FROM TO processing the switching channel is delayed until the FROM TO processing is completed 3 When a digital value that has been converted from an analog value is being written to the buffer memory with the switching channel the FROM TO processing is delayed until the writing or switching channel is completed 4 Designate the FROM TO instruction to read and write a lot of data at one time The smaller the number of FROM TO instructions the less the maximum conversion speed is influenced 3 SPECIFICATIONS MELSEC A 3 6 CPU I O Signals This section explains the allocation of the 1 0 signals and the function of each signal 3 6 1 Overview of I O signals The A1S64AD uses 32 signal points for input and output Tabie 3 2 gives the allocation and desc
7. vasse Output error code to display X020 Y040 12 ON when X20 turns ON and reset written data error Written data error reset Read A D conversion X021 X000 X001 PH K K1 K complete flag area mA FROM 0000 19 x0 1 Read A D conversion complete flag to MO to M2 when X21 turns ON MO PH K K I FROM 0000 10 010 1 Read digital output value of channel for Read ND conversion PH K which A D conversion complete channe complete flag is ON to digital output value F iFwW 0000 1 DH 1 i D10 to D12 M2 PH K K I iFROM 0000 12 012 1 6 TROUBLESHOOTING MELSEC A 6 TROUBLESHOOTING Assorted problem conditions and a troubleshooting guide for the 1564 are described below 6 1 Error Code List When data is written to an A1S64AD from a PC CPU or an error occurs by reading data RUN LED of A1S64AD fiashes the following error codes are stored in address 18 of the A1S64AD buffer memory Table 6 1 Error Code List Detected with A1S64AD ere ote number other than 1 to 3 was Set the resolution to either 1 2 set to the resolution or 3 Data was written to the read only area Modify the specified place for addresses 10 to 13 the read only area A value outside 80 to 10000 msec was set for the average time Set the average time within 80 000 indicates the channel to 10000 msec which an error occurred
8. except in the following cases If the module is mounted into an extension base unit A1S52B A1S55B A1S58B having no power supply unit the power capacity may be insufficient When mounting the A1S64AD onto an extension base unit with no power supply unit consider the following matters 1 Current capacity of power supply unit on main base unit 2 Voltage drop at main base unit 3 Voltage drop at extension base unit 4 Voltage drop at extension cable Select the power supply unit main base unit extension base unit and extension cables taking the above matters into consideration 4 Data link system In the data link system the CPU can be mounted onto the master station local station or remote I O station Refer to the MELSECNET and MELSECNET B Data Link System Reference Manual for examples of the remote I O station programs Refer to the following manuals for details on the range of number of occupied I O points and the method of calculating the voltage drop e A1SJCPU S3 User s Manual IB NA 66446 e Type A1S A1SC24 R2 A2SCPU S1 User s Manual IB NA 66320 A2ASCPU S1 User s Manual NEUE IB NA 66455 3 SPECIFICATIONS 3 SPECIFICATIONS This chapter describes the general specifications performance specifica tions and I O conversion characteristics of the A1S64AD 3 1 General Specifications Table 3 1 shows the general specifications of the A1S64A
9. gain value 20 mA Connect terminals No 1 and No 2 and then Switch to the test mode Changethe channel switch on the front of module to the specified channel number Channels other than 1 to 4 are not processed Does the voltage NO Current need to be adjusted YES Voltage Run the offset current to the input terminal of the Apply the offset voltage to the input terminal of the channel to be changed and turn the OFFSET channel to be changed and turn the OFFSET switch ON When the RUN LED is turned ON the switch ON When the RUN LED is OFF voltage is stored in 564 0 as an offset value the current is stored in AISG4AD as an offset Apply the gain voltage to the input terminal of the channel to be changed and turn the GAIN switch ON When the RUN LED is turned ON the voltage is stored in 1564 as a gain value Run the gain current to the input terminal of the channel to be changed and tum the GAIN switch ON When the RUN LED is turned OFF the cur rent is stored in A1S64AD as a gain value Has the setting for all of the channels to be sed been completed YES Disconnect the terminals Complete 1 Set the offset and gain value according to the actual operation status 2 The offset and gain values are stored in A1S64AD and they are not cleared even if there is no power 3 Set the offset and gain values when the PC CPU is in the STOP m
10. 4 Exclusion of chance loss and secondary loss from warranty liabili Regardless of the gratis warranty term Mitsubishi shall not be liable for compensation to damages caused by any cause found not to be the responsibility of Mitsubishi chance losses lost profits incurred to the user by failures in Mitsubishi products damages and secondary damages caused from special reasons regardless of Mitsubishi s expectations compensation for accidents and compensation for damages to products other than Mitsubishi products and other duties in pro ification The specifications given in the catalogs manuals or technical documents are subject to change without prior notice 6 Product application 1 using the Mitsubishi MELSEC programmable logic controller the usage conditions shall be that the application will not lead to a major accident even if any problem or fault should occur in the programmable logic controller device and that backup and fail safe functions are systematically provided outside of the device for any problem or fault 2 The Mitsubishi general purpose programmable logic controller has been designed and manufactured for applications in general industries etc Thus applications in which the public could be affected such as in nuclear power plants and other power plants operated by respective power companies and applications in which a special quality assurance system is required such as for each Japan Railways company or the Departme
11. A D conversion enabled channels x 20 msec Maximum conversion speed Example When channels 1 2 and 3 are set to conversion enable 3 x 20 60 msec Averaging process A1S64AD executes the A D conversion for a channel that was specified for averaging process by a PC CPU for the set number of times or set time The total values except a maximum value and a minimum value are averaged and then stored in the buffer memory However when the processing number of times is no more that two the sampling process is executed if A D conversion enable disable is set the average processing is initialized 1 When the averaging process by time is specified The setting time is set in 10 msec unit and a value less than 10 msec is rounded off Example When 1234 msec is set it is dealt with as 1230 msec The number of times of set processing follows the number of A D conversion enabled channels Processing time Setting time number of A D conversion enabled channels x 20 msec Maximum conversion speed Example When the number of times of A D conversion enabled channels is 4 and the setting time is 8000 msec 8000 4 x 20 100 time 2 When the number of times for the averaging process is specified The time in which the average is stored to the buffer memory follows the number of A D conversion enabled channels Processing time the setting number of times x A D conversion enabled channel x 20 msec Maximum conver
12. OFF the error description listed in the CPU User s ua Monitor with a peripheral device such as GPP and is the condition to execute FROM instruction turned confirm whether it is ON or OFF Does the address of the buffer memory specified with a FROM instruction correspond to the address of the digital output value of channel to be read the channel specified with FROM instruction set to Read the buffer memory address 0 and verify whether it A D conversion enable is set to conversion enable or disable Is the conversion completed in the channel specified Read the buffer memory address 19 and verify the with FROM instruction conversion completed flag 15 the analog input signal line disconnected or does an Confirm the error by visually checking or conduction error occur checking the signal line Disconnect the analog input wire of A1 S64AD and If the digital output value is normal with an A1S64AD apply the test voltage to the terminal of this module to the module is affected by noise with external wiring measure the digital output value Therefore check the wiring and grounding method Check the sequence program APPENDICES MELSEC A APPENDICES Appendix 1 Outside Dimensions RUN C ww o e T 93 6 3 69 34 5 1 36 6 5 0 26 7 3 0 29 Unit mm in APP 1 APPENDICES MELSEC A Appendix 2 Signal Paper
13. is set to O b The allowable setting range is as follows Averaging process specifying the number of times 1 to 500 times Averaging process by specifying time 80 to 10000 msec When a value is set and written outside the above range a setting error occurs and the buffer memory is not rewritten The A1S64AD then completes the A D conversion processing accord ing to the average time and the number of times before a setting error occurs 3 SPECIFICATIONS 3 7 4 Digital output value A digital value converted from an analog value is stored in the buffer memory addresses 10 to 13 for every channel A digital output value is expressed in a 16 bit signed binary with resolution 1 4000 4096 to 4095 1 8000 8192 to 8191 and 1 12000 12288 to 12287 A negative digital value is expressed in the 2 s complement 615 bis b3 b2 bi 0 99 b bG bs bi bo Data area Resolution 1 4000 12 bit Resolution 1 8000 13 bil Resolution 1 12000 14 bit Addresses 10 to 13 d L Other than a data area and a sign bit Negative 515 is 1 1 Posikive b15 is 0 0 Sign bit 1 Negative 0 Positive 3 7 5 Writing data error code 1 When set data is written from the PC CPU A1S64AD checks the range of data only one time and checks the access of the reading and writing area When data is outside the range error codes are stored to the buffer memory address 18 as a 16 bit binary value F
14. times Every channel a Sampling the processing method for outputting a digital value every time of A D conversion b The A D conversion of a channel when the average processing method was specified and is executed for the set number of times or the set time The average processing method for outputting the mean value as a digital value can then be selected for every channel Allows conversion of the enable disable setting Every channel The A D conversion of the enable disable setting can be set for every channel The conversion speed can then be shortened by setting an unused channel to conversion disable Allows an offset gain adjustment to be made without using the offset gain adjusting knobs Every channel An offset value and a gain value can be adjusted by inputting a set voltage or current and turning ON the setting switch 2 SYSTEM CONFIGURATIONS 2 SYSTEM CONFIGURATIONS The following diagram show the overall configurations when using the A1S64AD with CPUs in the MELSEC A series 1 Applicable CPUs e A1SJCPU S3 e A2SCPU 51 e A52GCPU e A1SJHCPU e A2SHCPU 51 e A1SCPU S1 e A2ASCPU S1 S30 e A1SCPUC24 R2 e A2USHCPU S1 e ATSHCPU e Q2ASCPU 51 e Q2ASHCPU 61 2 Number of mounted modules There is no limit to the number of modules that can be used as long as the total is within the input point range for the applicable CPU 3 Mounting slot The module can be mounted into a random slot on the base unit
15. A value outside 1 to 500 times was set for the average count Set the average count within 1 to 500 times indicates the channel No in which an error occurred 1 When several errors occur the error code that occurred first is stored and any errors after that are not stored 2 The error code is reset by turning ON Y12 with a sequence program See Section 3 6 6 TROUBLESHOOTING MELSEC A 6 2 Troubleshooting The following explains the simple troubleshooting for ATS64AD Refer to the CPU Module User s Manual for a PC CPU module 6 2 1 When the RUN LED of A1 S64AD Flashes Items to Check Corrective Actions Is the data which cannot be executed read write written Confirm the error cause with the error code list in to A1S64AD Section 6 1 and correct the sequence program 6 2 2 When the RUN LED of AiS64AD goes OFF Rems to Check Corrective Actions Are the TEST terminals opened offset gain adjustments and open the TEST Reset the PC CPU If the RUN LED is not turned ON after resetting a PC CPU there may be a hardware malfunction in the module Is XO WDT error set 6 2 3 When the digital output value cannot be read 15 the RUN LED of A1S64AD flashing or turned OFF Follow the procedures in Section 6 2 1 or 6 2 2 Check the error description according to the CPU Is the ERROR LED of the CPU is turned ON User s Manual Is the RUN LED of the CPU flashing or turned
16. Average time count E Enabled Enabled Section 3 7 3 4 CH3 Average time count 5 CH4 Average time count 6 7 Unusable 8 9 10 CH1 Digital output value 11 CH2 Digital output value Enabled Section 3 7 4 12 CH3 Digital output value 13 CH4 Digital output value 14 15 Unusable 16 17 18 Write data error code No error Enabled Section 3 7 5 19 A D conversion completed flag OOOFH All channels Enabled Section 3 7 6 20 Resolution setting 1 1 4000 Enabled Enabled Section 3 7 7 Fig 3 6 Buffer Memory Assignment Do not write to the buffer memory address 10 to 13 read only area An error will occur if trying to write to these addresses The RUN LED of A1S64AD will then flash and an error code will be stored in the buffer memory address 18 In addition data is inaccurate because the A1S64AD will overwrite the data 3 SPECIFICATIONS MELSEC A 3 7 2 Setting of A D conversion enable disable A D conversion enable disable for each channel of ATSG4AD can be set at address 0 of the buffer memory by writing 1 enable or O disable by the channel The sampling period can be shortened by setting an unused channel to conversion disable The default value is set to execute the A D conversion forall channels Example Sampling period when setting only channels 1 and 3to A D conversion enable 2 X 20 msec 40 msec Number of enable channels Conversion speed of one channel 1 Method of se
17. D Table 3 1 General Specifications Operating ambient temperature 01055 Storage ambient Operating 10 to 90 RH non condensing ambient humidity hone 10 to 9096 RH non condensing Vibration resistance ConfomstoJISCO911 10to55Hz 0 075 10 times Conforms to JIS C 0912 10g x 3 times in d directions Noise Durability By noise simulator of 1500 Vpp noise voltage 1 ns noise width and 25 to 60Hz noise fre quency Dielectric withstand 1500 VAC for 1 minute across AC external terminals and ground voltage 500 VAC for 1 minute across DC external terminals and ground Insulation 500MQ or larger by 500 VDC insulation resistance tester across AC external terminals and resistance ground Grounding Class D grounding grounding is not required when it is not possible to ground Operating 2 ambience Free of corrosive gases Dust should be minimal Cooling method Self cooling One octave marked indicates a change from the initial frequency to double or half of the frequency For example any of the changes from 10Hz to 20Hz from 20Hz to 40Hz from 40Hz to 20Hz and 20Hz to 10Hz are referred to as one octave 3 SPECIFICATIONS 3 2 Performance Specifications Table 3 2 shows the performance specifications of the 1564 0 Table 3 2 Performance Specifications Analog input Voltage 10 to 0 to 10 VDC Input resistance 1 MQ Current 20 to 0 to 20 mA Input resistance 250
18. Digital output Selectable by input terminals 1 4000 4096 to 4095 Signed 16 bit binary 1 8000 8192 to 8191 1 12000 12288 to 12287 Digital output Gain 5 V 20 mA Offset O V O mA Analog input 1 4000 1 8000 1 12000 12000 I O characteristics 20 6006 OVorOmA 0 5 V or 20 mA 6000 10V 12000 DM We Current input 10 pA 5pA 3 33 pA output Current 30 mA Numbers gems Spe SSCS External power supply Not required Applicable wire size 0 75 to 1 5 mm Applicable solderless 55 4 4 55 v3 1 25 3 V1 25 YS3A terminal Internal current consumption 5 V Mass kg Ib 2 0 25 Kg 0 55 Ib Ext di i 130 5 12 H x 34 5 1 36 W x 93 6 3 69 D mm inch The gain value is set to 5V 20mA and the offset value is set to OV 4mA at factory This is the accuracy in respect to the maximum digital output value The maximum digital output value is the maximum value of the selected resolution The value is the same for the current input and voltage input Maximum resolution The available analog input range for the maximum resolution and overall accuracy is as follows Voltage 10to Oto 10 V Current 20 to 0 to 20 mA 3 SPECIFICATIONS 3 3 Conversion Characteristics I O characteristics are provided to convert an analog signal from an external device into a digital value
19. MITSUBISHI gt E i s 532 EE M Meer nasa memet eh VS SERERE MES RSE Mitsubishi Programmable Logic Controller e SAFETY PRECAUTIONS Always read these instructions before using this equipment Before using this product please read this manual and the relevant manuals introduced in this manual carefully and pay full attention to safety to handle the product correctly The instructions given in this manual are concerned with this product Refer to the User s Manual of the CPU module in use for details on the safety instructions for the programmable logic controller system In this manual the safety instructions are ranked as DANGER and CAUTION UM RED GER GER RU REN Rm m Rm pam aum gs AR Hm um UA GA RU RES REA E GER ee ee GERD P GU UU UE GT GE UAR GERNE GER de e o Indicates that incorrect handling may cause hazardous conditions gt DANGER resulting in death or severe injury AC AUTION Indicates that incorrect handling may cause hazardous conditions resulting in medium or slight personal injury or physical damage see eee d m ERI dam GRE Mem DR
20. S64AD in three 3 digits of hexadecimal Head address of the buffer memory in which data is stored KH Number or constant of a head device in which writ T C D W R KH ing data is stored When 1564 0 is allocated to I O X60 to 7F and Y60 to 7F 1 is written in address 0 of a buffer memory The TO instruc tion execution X61 condition H HH 4 HH 5 PROGRAMMING 5 3 initial Setting Program and Example of Digital Output Value Read Program This programming example is used to read the digital output value converted from an analog value with the condition that the resolution is set to 1 8000 and that channels 1 to 3 are used Channel 1 is for the sample processing channel 2 is for the average process ing per 50 times and channel 3 is for the average processing per 1000 msec When a writing error occurs an error code is displayed in BCD Sample condition of a program 1 System configuration module X Y X20 Y40 to to to number X YYF XSF Y5F 2 Initial setting A D conversion enabled channel 1 2 and 3 channels b Average processing channel by count Channel 2 count setting 50 times c Average processing channel by time Channel 3 time setting m 1000ms d Resolution eese eene enne nennen 2 1 8000 3 Device to be used by user a Initial setting command input
21. UN PART V 1 Use two core shielded wiring twisted 2 Indicates the input resistance of the A1564AD 3 Connect V and 1 terminals for the current input 4 f either noise or ripple is generated by the external wiring connect a 0 1 to 0 47 mF 25 WV capacitor to the input terminal of the external device 5 Ground the shielding specifically for big noise extraneous signals The FG of a power supply module or the FG of this module should be grounded on such occasions When the grounding wiring grounding or not is changed after setting offset and gain values reset the offset and gain values 4 PRE OPERATION SETTINGS AND PROCEDURES MELSEC A 4 5 Check and Maintenance For ideal running conditions follow the check items described in the CPU module User s Manual 5 PROGRAMMING MELSEC A 5 PROGRAMMING This section explains the programming procedure a basic program and a read write programming example when using the A1S64AD See to Section 3 7 for the buffer memory and the ACPU Programming Manual for the programming instruction details 5 1 Programming Procedure When creating a program to execute the A D conversion of AiS64AD use the following procedure Set the A D conversion enable disable initial setting Set the resolution Set the average time or average count Specify the average processing Specify the sample processing Read the digital output value Complete D
22. alue even for the current input Fig 3 5 Overall Accuracy of the Current Input Characteristics 3 SPECIFICATIONS MELSEC A 3 4 Functions List Table 3 1 shows the functions of ATS64AD Table 3 1 A1S64AD Functions List mem A D conversion enable disable is specified for each A D channel conversion Default All channels set to enable disable setting Sampling time can be shortened by switching the unused channel to disable Offset aain Offset and gain can be set without using the offset 5 gain adjusting knobs Therefore the I O Section 3 3 g characteristics can be changed Section 3 7 2 A D conversion is done for the each channel with a Averaging setting count or setting time The averaging process process is done for the A D conversion data and Section 3 7 3 specification the average is set to the buffer memory as the digi tal output value Sampling Analog input value is converted to the digital value process for each channel and is stored in the buffer Section 3 7 3 specification memory as the digital output value 3 SPECIFICATIONS MELSEC A 3 55 Maximum Conversion Speed Conversion speed is the time it takes when a digital value is written to the buffer memory after the A D conversion by switching channel The following explains the maximum conversion speed 3 5 1 Conversion speed for one channel Conversion speed for one channel of A1S64AD is 20 msec
23. and are indicated by an inclination connected between an offset value and a gain value Offset value is the analog input value current or voltage when the digital output value is 0 Gain value is the analog input value current or voltage when the digital output value is 2000 resolution 1 4000 4000 resolution 1 8000 or 6000 resolution 1 12000 The figure below shows an example of the I O conversion characteristics of A1S64AD Example When the 1 4000 resolution voltage is input at offset O V and gain 5V Practical analog input range Gain value Offset value o c 2 3 x 2 o B Analog input voltage V Fig 3 1 Conversion Characteristics 3 SPECIFICATIONS MELSEC A 3 3 4 Voltage input characteristics The figure below shows an example of the voltage input characteristics when offset gain setting is changed 1 4000 1 8000 1 12000 Practical analog input range Setting example 1 4095 8191 offset value gain value 2 5 V 2000 4000 Setting example 2 offset value 0 V gain value 5 V Setting example 3 offset value 5 V gain value 10 V Digital output value 4000 8192 Analog input voltage V Digital Output Value at Digital Output Value at Setting Offset Gain 3 V Analog Input 3 V Analog Input Number Value Value 1 4000 1 8000 1 12000 1 4000 1 8000 1 12000 OV 2 5 V 2400 4800 7200 2400 4800 7200
24. ans the time when the analog output sion READY The A D conversion READY signal values have been output to external equip signal X1 can also be used as the buffer ment by executing the A D conversion with memory read write interlock each channel If the test terminals on the front of the module are connected to each other this signal is turned OFF This flag is set when an error other than the watch dog timer error occurs in the A1S64AD x2 Error flag If the error reset signal is set the error code is stored in the error code storage area If the error reset signal is turned ON this error flag is reset Turning ON the error reset signal Error flag Set Reset by resets the error flag and clears the 2 the system check code of the buffer memory It is replaced by 0 Error reset by signal Y 12 Y12 Error reset The RUN LED on the front of the module is switched to ON normal operation from flashing error 3 SPECIFICATIONS 3 7 Buffer Memory The A1S64AD has a buffer memory not battery backed for data communica tion with the CPU The buffer memory assignment and data maps are indicated below 3 7 4 Buffer memory assignment The following figure shows the buffer memory assignment Address Decimal 0 A D conversion enable disable OOOFH All channels are 1 Average processing specification All channels Enabled Enabled Section 3 7 3 2 CH1 Average time count 3 CH2
25. crew To remove a module loosen the module fixing screw and pull the module fixing hook out of the module fixing hole Module fixing screw Base unit 22 Module connec Module Module fixing hook Module fixing hole 4 PRE OPERATION SETTINGS AND PROCEDURES 42 Nomenclature MELSEC A The foliowing gives the nomenclature for each part of the A1S64AD Channel select switch CH 1 OFFSET switch OFFSET GAIN switch Test mode terminals Indicates the operating status of the A1S64AD Normal mode On indicates that the A1S64AD is operating without fault Flash Writing data error occurred Off External power 5 VDC is not supplied to the A1S64AD or A1S64AD is in WDT error Test mode On OFFSET or GAIN switch is ON Off OFFSET and GAIN switches are OFF Used to specify the channel for the offset gain adjustment Channel other than channels 1 to 4 is not processed Stores the analog input value in A1S64AD as an offset value by setting the switch to the OFFSET side Stores the analog input value in A1S64AD as an offset value by setting the switch to the GAIN side Connected between terminals No 1 and No 2 to set the offset gain values 4 PRE OPERATION SETTINGS AND PROCEDURES 4 3 Offset gain Setting Follow the operation below to change the I O conversion characteristics Factory set Voltage input offset value 0 V gain value 5 V Current input offset value 4 mA
26. d by the user s hardware or software design 2 Failure caused by unapproved modifications etc to the product by the user 3 When the Mitsubishi product is assembled into a user s device failure that could have been avoided if functions or structures judged as necessary in the legal safety measures the user s device is subject to or as necessary by industry standards had been provided 4 Failure that could have been avoided if consumable parts battery backlight fuse etc designated in the instruction manual had been correctly serviced or replaced 5 Failure caused by external irresistible forces such as fires or abnormal voltages and failure caused by force majeure such as earthquakes lightning wind and water damage 6 Failure caused by reasons unpredictable by scientific technology standards at time of shipment from Mitsubishi 7 Any other failure found to not be the responsibility of Mitsubishi or the user 2 Onerous repair term after discontinuation of production 1 Mitsubishi shall accept onerous product repairs for seven 7 years after production of the product is discontinued Discontinuation of production shall be notified with Mitsubishi Technical Bulletins etc 2 Product supply including repair parts is not possible after production is discontinued 3 Overseas service Overseas repairs shall be accepted by Mitsubishi s local overseas FA Center Note that the repair conditions at each FA Center may differ
27. ee eee ee P um WIRING PRECAUTIONS A CAUTION e Ground the AG terminal and FG terminal with Class D Class 3 grounding dedicated for the PLC especially when there are high levels of noise Failure to observe this could lead to erroneous operation e When wiring in the PLC be sure that it is done correctly by checking the product s rated voltage and the terminal layout Connecting a power supply that is different from the rating or incorrectly wiring the product could result in fire or damage e Tightening the terminal screws with the specified torque If the terminal screws are loose it could result in short circuits fire or erroneous operation Tightening the terminal screws too far may cause damages to the screws and or the module resulting in fallout short circuits or malfunction Be sure there no foreign substances such as sawdust or wiring debris inside the module Such debris could cause fires damage or erroneous operation ISTARTUP AND MAINTENANCE PRECAUTIONS e Do not touch the terminals while power is on Doing so could cause shock or erroneous operation e Switch all phases of the external power supply off when cleaning the module or tightening the terminal screws If you do not switch off the external power supply it will cause failure or malfunction of the module e Do not disassemble or modify the module Doing so could cause trouble erroneous operation injury or fire e Switch al
28. l Paper APP 2 1 INTRODUCTION 1 1 1 INTRODUCTION A1SCPU TO instruction FROM instruction Features This MELSEC A manual describes specifications handling programming and other infor mation on the A1S64AD analog to digital converter module referred to as A1S64AD for use with a MELSEC A series ATSCPU module hereafter called the CPU A1S64AD is used to convert an analog signal voltage or current input from an external device of a PC into a digital value signed 16 bit BIN data Initial setting such as A1S64AD averaging processing Buffer memory specification value Digital value read _ gt 0 to 10 V or Set Setdaa 00 Input terminal 0 to 220 mA Analog 4 channet output device Oto 10 V or Analog Aches cute device Analog digital con version Digital value value A1S64AD has the following features 1 2 3 4 5 Allows analog to digital conversion for 4 channels A D conversion of 4 channels is enabled with an A1S64AD The voltage input and the current input can be selected for every channei Aliows high resolution of 1 12000 all channels in the batch The resolution of a digital value can be set at either 1 4000 1 8000 or 1 12000 and a high resolution digital value can be obtained Allows average processing within a specified time or within a number of
29. l phases of the external power supply off before mounting or removing the module If you do not switch off the external power supply it will cause failure or malfunction of the module DISPOSAL PRECAUTIONS CAUTION e When disposing of the product handle it as industrial waste REVISIONS The manual number is given on the bottom left of the back cover 2000 IB 66336 B Addition SAFETY PRECAUTIONS WARRANTY Correction Chapter 2 Section 3 1 3 2 3 3 3 3 7 1 4 1 4 4 2 5 1 5 3 Japanese Manual Version SH 3527 D INTRODUCTION Thank you for choosing the Mitsubishi MELSEC A Series of General Purpose Programmable Controllers Please read this manual carefully so that the equipment is used to its optimum A copy of this manual should be forwarded to the end User CONTENTS INTRODUCTION 1 1 1 1 Features 1 1 SYSTEM CONFIGURATIONS 2 1 SPECIFICATIONS 3 1 3 17 31 General Specifications 3 1 3 2 Performance Specifications 3 2 3 3 Conversion Characteristics 3 3 3 3 1 Voltage input characteristics
30. lue 20 mA Digital output value Setting example 3 offset value 0 mA gain value 20 mA 20 30 Analog input current mA NETTE Output Value at Digital Output Value at Setting Offset Gain 7 mA NETTE Input 3 mA Analog Input Number Value Value mA 5 mA 5600 8400 1200 2400 3600 4 mA 20 mA 374 748 1122 874 1748 2622 O mA 20 mA 700 1400 2100 300 500 900 Fig 3 3 Volage Input Characteristics 1 Do not input a voltage 30 mA or more Otherwise a high tempera ture will occur and cause a problem 2 When the input voltage is from 20 to 20 mA the maximum resolu tion and overall accuracy is in the range of specifications However if the input voltage is not within this range the accuracy does not sometimes match with the specifications Do not use the value within the range corresponding to in the figure 3 When the analog is input which causes the digital output value beyond the maximum 4095 8191 or 12287 or minimum 4096 8192 12288 of the digital resolution the digital output value is fixed to the maximum 4095 8191 or 12287 or minimum 4096 8192 or 12288 of the digital resolution 4 Follow the conditions below to set the offset gain If the settings do not match these conditions correct characteristics cannot be guaranteed Gain value Offset value gt n Resolution 1 8000 1 12000 3 SPECIFICATIONS 3 3 3 Relationship between the off
31. m m ee ee GER Sum G TUM eee M AUR eee AER GER GER ER SUR GU SURGE TUR GER ee dem HER AU ARR GM ee Gm wm P Note that the A CAUTION level may lead to a serious consequence according to the circumstances Always foliow the instructions of both levels because they are important to personal safety Please save this manual to make it accessible when required and always forward it to the end user DESIGN PRECAUTIONS e Do not bunch the control wires or communication cables with the main circuit or power wires or install them close to each other They should be installed 100mm 3 94inch or more from each other Not doing so could result in noise that would cause erroneous operation INSTALLATION PRECAUTIONS e Use the PLC in an environment that meets the general specifications given in the User s Manual of the CPU module in use Using this PLC in an environment outside the range of the general specifications could result in electric shock fire erroneous operation and damage to or deterioration of the product e Install so that the pegs on the bottom of the module fit securely into the base unit peg holes and use the specified torque to tighten the module s fixing screws Not installing the module correctly could result in erroneous operation damage or pieces of the product falling me
32. nt of Defense shall be excluded from the programmable logic controller applications Note that even with these applications if the user approves that the application is to be limited and a special quality is not required application shall be possible When considering use in aircraft medical applications railways incineration and fuel devices manned transport devices equipment for recreation and amusement and safety devices in which human life or assets could be greatly affected and for which a particularly high reliability is required fin terms of safety and control system please consulit with Mitsubishi and discuss the required specifications A 1SGAAD U E 13676 IB NA 66336 B 0005 MEE a MITSUBISHI ELECTRIC CORPORATION HEAD OFFICE MITSUBISHI DENKI BLDG MARUNOUCHI TOKYO 100 8310 TELEX J24532 CABLE MELCO TOKYO NAGOYA WORKS 1 14 YADA MINAMI 5 HIGASHI KU NAGOYA JAPAN When exported from Japan this manual does not require application to the Ministry of International Trade and Industry for service transaction permission Specifications subject to change without notice Printed in Japan on recycled paper
33. ode When the setting is done in the test mode A D conversion for all channels stops Therefore use the A D conversion READY signal as an interlock 4 Set the offset and gain value within the range 10 to 10 VDC or 20 to 20 mA When a value is set outside of this range the maximum resolution and overall accuracy does not always match with the specification 5 When the grounding indicated with the mark in Section 4 4 2 was changed not execute execute or execute remove be sure to set the offset and gain value again from the beginning 4 PRE OPERATION SETTINGS AND PROCEDURES MELSEC A 44 Wiring This section explains the wiring instructions and gives a connection example of a module 4 4 1 Wiring instructions Protect the external wiring against noise extraneous signals with the follow ing precautions 1 Separate AC and A1S64AD external input signal wiring that is not affected by a surge of alternating current and induction 2 Separate the main circuit and or the high voltage wiring from the control and signal wiring 3 Where applicable ground the shielding of all the wires to a common ground point 4 4 2 Connection example of module 1 Voltage input Signal source 0 to 10 V E 15V 4 CH1 500 ma QR T Gp mme jum 1 L 15 V 2 Current input sfield v GND Signal source 0 to 20 mA CH4 poy GC u mH l 1 Shield 1 s
34. or details of an error code see Section 6 1 2 When several errors occur the error code that occurred at first is stored in A1S64AD and any errors after that are not stored 3 The error code is reset by turning ON Y12 with a sequence program see Section 3 6 4 When an error is reset the data error code becomes 0 and A1S64AD RUN LED turns ON 5 If O is written in buffer memory address 18 an error is reset 3 SPECIFICATIONS MELSEC A 3 7 6 conversion completed flag 1 When after turning ON a power supply and an A D conversion READY signal X1 turns ON channels 1 to 4 have already completed all of the conversion Therefore 15 is stored in the buffer memory 2 Only when the A D conversion enable disable setting address O is changed the A D conversion completed flag processing after turning on a power supply is done one time When A D conversion disable is switched to enable When the averaging processing is specified the averaging process for the average number of times or average time is completed and a flag is set to 1 after storing a digital value translated from an analog value in the buffer memory When A D conversion enable is switched to disable The A D conversion completed flag of a corresponding channel is set to O 3 There is an A D conversion completed flag classified by a channel b15 to b4 b3 b2 bi bO A D 1 A 0 Conversion completion flag D con
35. ription of the I O signals X devices refer to the input signals from the A1S64AD to the CPU Y devices refer to output signals from the CPU to the A1S64AD The device numbers input signals shown in the table are used when the A1S64AD is loaded into slot 0 of the main base unit Table 3 2 O Signals Signal Direction A1S64AD CPU Signal Direction CPU A1S64AD Device No Signal Description Signal Description WDT error flag YO to X0 Unusable x1 A D conversion READY Y11 x3 to If any of the devices YO to Y11 and Y13 to Y1F are used turned ON OFF in the sequence program the functions of the A1S64AD cannot be guaranteed If any of the devices YO to Y1F has the same number as any of the devices XO to X1F then the device cannot be used as an internal relay 3 SPECIFICATIONS MELSEC A 3 6 2 signal functions The following table explains the function of each 1 0 signal of A1S64AD Table 3 3 1 0 Signal Functions While the error flag is set the A D conver WOT watch This flag is set when the self diagnosis sion of the A1S64AD will not HUN dog timer function of the A1S64AD detects WDT error flag XO error f the error flag is set hardware mal function may occur This signal is turned ON when the A D conversion is ready after turning on or resetting the CPU in a mode other than the normal mode test mode this manual conversion READY A D conver me
36. set gain setting and the digital output value The following explains the relationship between offset gain setting and digital output value 1 Resolution Resolution is calculated by using the following formula Voltage input Resolution Gain value Offset value Eee 1000 mV 2000 1 4000 4000 1 8000 6000 1 12000 Current input Resolution Gain value Offset value x 1000 uA 2000 1 4000 4000 1 8000 6000 1 12000 2 Maximum resolution and digital output value The maximum resolution of the A1S64AD is as shown in Table 3 2 Performance Specifications so if the following expression is used with the offset gain setting the digital output value will not increment or decrement by one Gain value Offset value x 1000 Maximum resolution 2000 4000 8000 3 SPECIFICATIONS 3 Overall accuracy The overall accuracy is the accuracy of the maximum value of digital output If the I O characteristics are changed by changing the offset gain setting the overall accuracy may be kept within the specifications range Offset value Gain value 5 V Resolution 1 4000 o 3 gt oa m 75 2 Analog input voltage V Fig 3 4 Overall Accuracy of the Voltage Input Characteristics Offset value 0 mA Gain value 20 mA Resolution 1 4000 1 40 Digital output value 20 30 Analog input current V 4000 will be the maximum digital output v
37. sion speed 3 SPECIFICATIONS Example When example channels 1 2 3 and 4 are set to A D conversion enable and the setting number of times is set to 50 times 50x 4 x 20 4000 msec 2 Specifying the averaging process and selecting time number of times When the power supply is turned ON and the A1S64AD A D conver sion READY signal turns ON all of the channels are specified for the sampling process b When sample or averaging process is required specify the process ing method bi5 4 b12 Address 1 COS SS ed sena M M la PIR 42 rarae Specify the channel in Specify the tine number of Ignored which the averaging Ignored times process is to be executed 1 Time averaging process 1 Averaging process 0 Number of times 0 Sampling process 1 When the averaging process is specified the number of times or time for the averaging process should be set beforehand 2 When the averaging process is not specified despite the specifica tion of the time number of times sample processing will be ex ecuted 3 Specifying the average time and the average number of times a Average time or the average number of times is written in the address that corresponds to the channel of the buffer memory ad dresses 2 to 5 for every channel that the averaging process was specified Average time when a power supply is turned ON and the average number of times
38. tting the conversion enable disable Set the conversion enable disable for every channel b15 to b4 b3 b2 bt bo Ignored Specify channels 1 A D conversion enable 0 A D conversion disable 2 Processing of A1S64AD when setting the conversion enable disable a Initialization of the averaging process For averaging process initialize data in the work area in which the system of A1S64AD was stored Digital value stored in the buffer memory holds data before setting the conversion enable disable For example if the conversion enable disable is set when the conversion enable disable specified for 50 times average process ing executes the sampling 30 times the sampling data for 30 times is cleared and the averaging process is executed from the initial setting b Resetting of the A D conversion completed flag Reset the A D conversion completed flag for channels 1 to 4 ad dress 19 of a buffer memory 3 SPECIFICATIONS 3 7 3 Setting of the sampling process averaging process 1 Method of outputting a digital value of the sampling process and the averaging process Sampling process b An analog input value is converted to a digital value and the digital output value is stored in a buffer memory The storage time for a digital output value that the sampling process was executed on in the buffer memory depends on the number of A D conversion enabled channels Processing time number of
39. uring the various processes of the special function modules the access from the PLC CPU has the priority Thus if the special function module s buffer memory is frequently accessed from the PLC CPU the scan time of the PLC CPU will increase and the various processes of the special function module will also be delayed Access the buffer memory from the PLC CPU using the FROM TO commands only when necessary 5 PROGRAMMING MELSEC A 5 2 Basic Program for Read Write 1 Read from A1S64AD FROM FROMP DFRO and DFROP instruction The FROM h A D conversion instruction execu READY tion condition Hee 5 The first two 2 digits when the head I O number ni is allocated to A1S64AD in three 3 digits of hexadecimal Head address of the buffer memory in which data is stored D Head number of the device in which data is stored T C D W H Number of words of read data When the A1S64AD is allocated to 1 O X130 to 14F and the Y130 to 14F the data is read from address 10 of the buffer memory to one 1 word DO The FROM instruction execu tion condition 131 c H Heroe 2 Writing to 1564 0 TO instruction The TO instruc tion execution fea conversion condition Fete et Description Device That Can be Used That Can be Used The first two 2 digits when the head number is allocated to A1
40. version completion D conversion uncompletion 4 An A D conversion completed flag can be used as an interlock to read a digital value of a channel that the averaging process is done 3 7 7 Resolution setting 1 The resolution of a digital output value is set to either 1 4000 1 8000 or 1 12000 When a power supply is turned ON a default is set to 1 4000 2 Write 1 to 3 in buffer memory address 20 to set a resolution 1 1 4000 1 12000 Before setting the A D conversion enable disable when a PC is RUN set the resolution only one time If the resolution is changed when A D conversion enable is set a correct digital output cannot be obtained 4 PRE OPERATION SETTINGS AND PROCEDURES MELSEC A 4 PRE OPERATION SETTINGS AND PROCEDURES 4 1 Handling Instructions The following explains the handling instructions for the A1S64AD 1 Protect the A1S64AD and its terminal block from impact 2 Do not remove the printed circuit boards from their housing There are no user serviceable parts on the boards 3 Make sure that no conductive debris can enter the module Make sure that any debris is removed from the module Guard particularly against cut off wires 4 Tighten the terminal screws and mounting screws as specified below Module installation screw M4 screw 5 To install a module to the base unit insert the module fixing hook into the module fixing hole on the base unit and tighten the module fixing s

Download Pdf Manuals

image

Related Search

Related Contents

Audiovox AAAAAV-427V-427V-427V-427V  Manual de Usuario Silla de Ruedas Electrica Forest GT  B64-3347-00_French r3.Indd  

Copyright © All rights reserved.
Failed to retrieve file