Home
Analog Input/Output Module Type A1S63ADA User`s Manual
Contents
1. 3 SPECIFICATIONS 10 Y12 Error reset ON leading edge Turns OFF the error detection X02 which turned ON when an error occurred Error code in buffer address 16 is turned to O The RUN LED switches from flashing error occurrence to lit normal operation ON Y12 OFF ON X02 OFF Address 16 Error code Lit 11 Y13 CH3 upper lower limits cancel ON The analog output limits set with buffer addresses 4 and 5 are canceled The CH3 output upper lower limits hold X03 and X04 is also turned OFF OFF The analog output is limited according to the setting with buffer addresses 4 and 5 12 Y18 to Y1D Offset gain setting These devices are used to select offset gain values Refer to Section 4 4 1 for the contents pertaining to factory settings Y18 and Y 19 Used to select resolution Factory Settings Device No User Setting 1 4000 1 8000 1 12000 vis on or o E or oN oN Y1A to Y1C Used to select voltage or current for each channel Factory Settings Device No User Setting Voltage YiA CH or oN YIB CH OFF ON Ignored vic CHa on Y1D leading edge Used to store data of Y18 to Y1C to the A1S63ADA The following precautions must be observed 1 Y1D must be used only once between a power on reset and a power off reset 2 CH3 D A conversion value output enable Y10 must be turned ON at 100 ms or la
2. This area contains 1 4000 resolution when delivered below Select value ranges sequence program The offset gain values are set with both voltage and current values 4 PRE OPERATION SETTING PROCEDURES 4 4 1 Offset gain value selection sequence program The following explains the offset gain selecting method by using a se quence program 1 Setconditions Y18 to Y1C and create a program to turn ON a se lect command Y1D The program chart shown below is an example assuming that the A1S63ADA is installed to slot 0 Xoo X01 X10 Select instruction Resolution condition Resolution condition Resolution setting CH1 voltage current selection CH2 voltage current selection ON Current OFF Voltage CH3 voltage current selection EN Y1D i SET G O MO 2 This setting must be made only once between a power on reset and a power off reset 3 Factory setting is made as given below oa em e voltage current Loy gt Current 14000 Oset ov J ma ov ma ov fama can sv zoma sv zoma tov zoma eooo 9e ov ama ov ama ov 4ma Gam sv zoma sv zoma fiov zoma sizoo0 Ot ov fama ov ama ov sm Gen jsv_ ema sy eoma iov 20ma When only the user set offset gain values are used it is not necessary to create a sequence program MELSEC A 4 PRE OPERATION SETTING PROCEDURE
3. Description OFFSET Offset value can be adjusted SET When moved from OFFSET to SET the offset value is registered When moved from GAIN to SET the gain value is registered GAIN Gain value can be adjusted This is used to increase and decrease the offset gain values on CH3 Time Held in the Voltage Approx 2 5 mV Less than 1 5 s Current Approx 5 uA Voltage Approx 50 mV Current Approx 0 1 mA This is used to set the offset gain values and resolution e Shorting across terminals 1 and 3 Test mode e Open across terminals 1 and 3 Normal mode UP DOWN switch Test mode terminal s les Output hold clear setting terminal a ep rea Q Analog input terminals CH1 CH2 This is used to set the analog output state on CH3 when the PC CPU is in the STOP state Open across terminals 2 and 4 Clear Shorting across terminals 2 and 4 Hold This is not necessary when the output is made by simple loop control These are used to input analog values voltage current on CH1 and CH2 Refer to Section 4 3 for the connecting procedure These are used to output analog values voltage current on CH3 Refer to Section 4 3 for the connecting procedure The grounding terminal for analog signals Refer to Section 4 3 for the connecting procedure The grounding terminal for the module Refer to Section 4 3 for the connecting
4. TTTTTTTT 3 19 3 SPECIFICATIONS 5 X04 CH3 output lower limit value hold This device turns ON when the digital value addresses 10 and 13 for D A conversion on CH3 is less than the CH3 output lower limit value setting address 5 and when the output is actually held when Y10 is ON This device turns OFF when CH3 upper lower limits cancel Y13 is ON Data to be held varies according to the state of the simple loop con trol execution enable Y11 State of Y11 Digital Value to be Held ON simple loop control in execution value loop control output OFF simple loop control not in execution Address 10 CH3 digital value setting Example When resolution setting is 1 4000 and CH3 output lower limit setting address 4 is 3200 Digital value input a a ATT 00 2000 Analog value output Digital value CH3 output lower limit 6 X05 Simple loop control in execution This device turns ON when simple loop control is in execution after the simple loop control execution enable Y11 turned ON This device turns OFF when the simple loop control execution enable Y11 turned OFF ON X05 OFF yi1 ON OFF 3 SPECIFICATIONS MELSEC A 7 X08 to XOC Offset gain selection Present offset gain selection are stored in X08 to XOC Refer to Section 4 4 1 for the contents pertaining to factory settings a X08 and X09 Resolution set
5. 4 PRE OPERATION SETTING PROCEDURES A From the previous page Set the offset gain select switch in the OFFSET position RUN O OFFSET Use the UP DOWN switch to ad just to the voltage or current to set an offset value voltage Offset current Set the offset gain select switch in the SET position OFFSET SET GAIN Set the offset gain select switch in the GAIN position RUN O Ad SET GAIN B By making these adjustments in actual operating environment tem perature accuracy of the conversion can be improved MEMO 5 PROGRAMMING MELSEC A 5 PROGRAMMING When utilizing the program example introduced in this chapter for an actual system fully verify that there are no problems in controllability in the target system 5 1 Converting Analog Voltage Current to Digital Values A D Conversion This section gives the programming procedures and examples for the con version of analog input values voltage current on CH1 and CH to digital values 5 1 1 Programming procedure The programming procedure is as given below l Offset gain values and resolution setting Not necessary when these are set by the user Initial setting A D conversion enable disable setting address 0 Averaging time count setting addresses 2 and 3 A D conversion averaging setting address 1 A D conversion completion flag reading address 15 Digital value reading addresses
6. Failure to do so may result in erroneous operation e Confirm the rated voltage and terminal arrangement of the module before wiring it to the PC If a power supply of different rating is connected or a wiring is performed erroneously fire or accident may result e Tighten the terminal screws to the specified torque Loose terminal screws may cause a short circuit or erroneous operation If excessively tightened the terminal screws may be damaged and cause a short circuit or erroneous operation e Be sure that cuttings wire chips or other foreign matter do not enter the module Foreign matter may start a fire or cause an accident or erroneous operation STARTING AND MAINTENANCE PRECAUTIONS N CAUTION e Do not touch live terminals It may cause erroneous operation Be sure to shut off all phases of the external power supply used by the system before cleaning Not doing so can cause the module to fail or malfunction e Do not disassemble or rebuild the module It may cause accidents erroneous operation injury or fire Be sure to shut off all phases of the external power supply used by the system before mounting or dismounting the module to or from the panel Not doing so can cause the module to fail or malfunction Before handling the module make sure to touch a grounded metal object to discharge the static electricity from the human body Failure to do say cause a failure or malfunctions of the module
7. o 3 gt 2 B 3 o 2 5 o lt e Y o x 8 2 E z o 2 c gt 3 a E D 2 w c lt o 2 gt o The above chart shows a case when resolution setting is 1 4000 and the volt For resolution settings 1 8000 and 1 12000 and the current input refer to the age is input Offset value Analog input value which makes the digital output value Channel _ offset Value following values CH1 and CH2 settings 1 1 2 Offset Gain Setting APPENDICES APP 3 ion 12000 at 1 12000 resolut or c 2 e 2 O Y o LES e e e co t e e e 0 E z c 2 2 o o o pes e e eo st T ce e e y Gain value Analog output value when the digital input value is is 0 Analog output value when the digital input value Offset value Offset Value Gain Value Resolution Channel lt Offset gain value setting Impossible to be used with current output Voltage V Analog output Digital input following values refer to the For resolution settings 1 8000 and 1 12000 and the current input age is input The above chart shows a case when resolution setting is 1 4000 and the volt ble be bh 4 4000 Digital input 1 1
8. sion on CHS are output when Y10 is ON Simple loop control execution enable Executinon enable X0000 X0001 instruction Simple loop control is executed when Y11 is ON Simple loop control output calculation value Read Point 3 CH3 coordinates D4 to D12 writing Value after calculation is read X0000 X0001 70005 H3 Hooo0 K13 D13 K1 when XO5 simple loop control in execution is ON CH3 upper lower limit cancel Limit cancel X0000 X0001 instruction The upper lower limits set with D1 and D2 are canceled when Y13 is ON Error detection X0000 X0001 2 When the error detection X02 is 4 H FRowe Hooo0 Kte D14 K1 ON corresponding error code is i read Error reset Error reset X0000 X0001 X0002 instruction eI PLS Yoo12 Error reset 6 TROUBLESHOOTING 6 TROUBLESHOOTING This section gives the description and troubleshooting for the errors that can occur with the A1S63ADA 6 1 Error Codes List When an error occurs with data set with the A1S63ADA the corresponding error code is stored to buffer address 16 as given in Table 6 1 below Table 6 1 Error Codes List Error code JO A value other than 10 to 10000 is set with averaging time setting address 2 or 3 15 A value other than 1 to 500 is set with averaging count setting address 2 or 3 Write is attempted to a read only area addresses 11 to 15 A valu
9. 1 to 0 47 uF 25V capacitor between V terminal and COM 5 When noise is produced frequently make grounding The FG terminal of the power supply module and or the A1S63ADA module may also be grounded When offset gain setting has been made and the ground wiring is changed whether or not grounding is made offset gain setting must be done again 4 4 np e gt 1 4 3 1 Precautions 4 3 2 Wiring method 4 PRE OPERATION SETTING PROCEDURES MELSEC A 2 CH3 a For voltage output A1S63ADA D A conversion circuit b For current output A1S63ADA D A conversion circuit 1 Use a 2 core twisted shield wire for the wire 2 If a noise or ripple occurs in the external wiring connect capacitors of approximate 0 1 to 0 47 pF 25V to input terminals of the external device IMPORTANT It is impossible to use a channel for both voltage output and current out put at the same time If a channel is used accidentally for both outputs the internal chips will be destroyed To prevent this accident leave unused terminals always open For approx 30 minutes after the power supply has been turned on the A D conversion value varies according to the affection by the self heat ing If this variation causes problems start controlling it after an approx 30 min warm up operation has been completed When adjusting offset gain values user setting also perform it
10. 3 4 8 Sampling lille Ih 3 13 3 4 8 Averaging 0 0 ccc eee heh hs 3 13 3 4 4 Analog output hold clear when the PC CPU is in the STOP state D A conversion 0 eee rnrn esre 3 4 3 4 5 Analog output enable disable setting D A conversion 3 14 3 4 6 Analog output value limit D A conversion 066662666666666 606060606002 3 14 3 4 7 Simple loop control Function expressions 060666266666666 cee eee eee 3 14 3 4 8 Analog output states and function settings llle esee 3 16 3 5 I O Signals Used for Communications with a PC CPU 000002 3 17 3 6 Buffer Memory 0 0 160 eee te eee hn 3 23 3 6 1 Buffer memory allocation 0 00 eee eee 3 23 3 6 2 A D D A conversion enable disable setting Address 0 3 24 3 6 3 A D conversion averaging setting Address 1 0 2 2 0 eee ees 3 25 3 6 4 A D conversion time count setting Addresses 2 and 3 3 25 3 6 5 D A conversion output upper lower limit value setting Addresses 4 and 5 3 26 3 6 6 Simple loop control type setting Address 6 o oo ooooomomoo ooo 3 26 3 6 7 Simple loop contro constant setting Addresses 7 8 and 9 3 26 3 6 8 D A conversion digital value setting Address 10 3 27 3 6 9 A D conversion digital value Addresses 11 and 12 3 7 3 6 10 Simple loop control output ca
11. 5 PROGRAMMING 5 2 Converting Digital Values to Analog Voltage Current D A Conversion This section gives the programming procedures and examples for the con version of digital input values on CH3 to analog output values voltage cur _ Not necessary when these are set by the user rent 5 2 1 Programming procedure The programming procedure is as given below Initial setting D A conversion enable disable setting address 0 CH3 output upper lower limit value setting addresses 4 and 5 CH3 digital value setting address 10 CH3 D A conversion value output enable Y10 5 PROGRAMMING MELSEC A 5 2 2 Program examples The following program examples assume that the A1S63ADA is installed to siot 0 General discription of the program Digital values set with the digital switches are converted to analog output val ues on CH3 Buffer woe eee D A Analog value conversion lt Signals and buffer memory used with the program gt 1 Signals e X000 Watchdog timer error e Y013 CH3 upper lower limit cancel e X001 Conversion READY e Y018 to 19 Resolution selection e X002 Error detection e YO1A CH1 voltage current e Y010 CH3 D A conversion value output YO1B CH2 voltage current enable e YO1C CH3 voltage current e Y012 Error reset e Y01D Offset gain setting 2 Buffer memory Address 0 A D D A conversion enable disable setting Address 4 CH3 output upper limit value setting e
12. 5 1 5 1 2 Program examples 0 ccc cece cece teense ss 5 2 5 2 Converting Digital Values to Analog Voltage Current D A Conversion 5 5 5 2 1 Programming procedure 00 c cece cece ns 5 5 5 2 2 Program examples 0 cc cece cece eee erre 5 6 5 3 Executing Simple Loop Control cece sre 5 9 5 8 1 Simple loop control by using function expressions 20 00005s 5 9 5 3 2 Simple loop control by coordinate designation 5 13 TROUBLESHOOTING aeeaseesah anon rases rar n 6 1 6 4 6 1 Error Codes List 22 ccc 6 1 6 2 Troubleshooting DAMM a 6 2 APPENDICES 2 eee eee eee nnn APP 1 APP 6 APPENDIX 1 SETTING SHEET cee aen APP 1 1 1 Buffer Memory Allocation 0 2 0 ccc eee cnet cent en eneuuee APP 1 1 2 Offset Gain Setting eee esas APP 2 1 3 Point Coodinate Setting Simple Loop Control o o o oooo o o APP 4 APPENDIX 2 COMPARISON BETWEEN A1S63ADA AND A1S64AD A1S62DA APP 5 APPENDIX 3 OUTSIDE DIMENSIONS ococccoccoc co APP 6 Conformance to the EMC Directive Low Voltage Directive When incorporating the Mitsubishi PLC into other machinery or equipment and keeping compliance with the EMC and low voltage direc
13. CH3 coordinates lo CH coordinates po CH3 coordinates o CH1 coordinates o CH3 coordinates o CH1 coordinates lo Point 4 CHS coordinates jo CH3 coordinates Jo CH1 coordinates jo Point 6 CHS coordinates jo 8 CH1 coordinates lo Point 7 CH3 coordinates o CH1 coordinates jo Point 8 CHS coordinates po CH coordinates Jo Read write enable See Section 3 6 15 3 SPECIFICATIONS 3 6 2 A D D A conversion enable disable setting Address 0 Each channel of the A1S63ADA can be set for A D conversion or D A con version with the enable disable options The default setting is conversion disabled 0000y for all channels The sampling time can be shortened by setting only used channels for con version enabled 1 The sampling time varies according to resolution setting and the num ber of conversion enabled channels The relationship between resolution setting and the number of conver sion enabled channels is as given in the table below Table 3 5 Sampling time Number of Channels Set for Number of Channels Set for Resolution A D Conversion D A Conversion 1 4000 1 8000 ams ams fms 1 12000 jams sms ams 2 Method for A D D A conversion enable disable setting a Make conversion enable disable setting with each channel b3 b2 bi bo b15 to Address 0 to Ignored 1 Conversion enabled 0 Conversion disabled b Write the sett
14. after an approx 30 min warm up operation has been completed 4 PRE OPERATION SETTING PROCEDURES 4 4 Offset Gain Selection and Adjustment The following describes the offset gain selection and adjustment proce Offset gain values are used by selecting from user setting and fac tory setting by using a sequence program This setting is made by the user by using the channel and resolution select switch offset gain select switch and UP DOWN switch pro vided on the front side of the module Set values are held in memory even when the power is turned OFF Refer to Section 4 4 1 4 4 2 for the procedures setting This setting is made at the factory before the A1S63ADA is delivered The user setting and factory setting areas are as shown in the chart dures 1 a User setting b Factory 2 Offset gain value area Area for user setting User setting with switches on the module 4 Offset OV 4mA Gain 5 V 20 mA Offset OV 4mA CH2L Gain 5 V 20 mA Offset OV 4mA Gain 10V 20 mA Offset OV 4mA CH1 Gain 5 V 20 mA Offset OV 4mA CHA Factory setting fixed Gain 5 V 20mA Offset OV 4mA Gain 10V 20 mA Offset OV 4mA CH1 3 Gain 5 V 20mA CH2 Offset OV 4mA Gain 5 V 20 mA cng Offset OV 4mA Gain 10V 20 mA the offset gain value settings with 1 4000 lt 1 8000 1 12000
15. appropriate voltage input characteristics are not guaranteed Resolution nimai 1 4000 Gain value Offset value gt tn 18000 eo 3 SPECIFICATIONS 3 2 3 Relationship between offset gain settings and digital output value The relationship between offset gain settings and digital output value is as explained below 1 Resolution The resolution is obtained by the following formula a Voltage input Resolution Gain value Offset value x 1000 mA eie Voltage width in which the digital out put value increases or decreases by 1 b Current input Gain value gt Offset value x 1000 pA ee Current width in which the digital output value increases or decreases by 1 Resolution e The value A in the above formula is determined as follows 1 4000 1 8000 1 12000 2 Relationship between the maximum resolution and digital output value When the condition specified by the following formula is not satisfied the increment decrement of digital output value will not be 1 Gain value Offset value A e The value A and the maximum resolution in the above formula are provided as follows Max Resolution Resolution Value A Voltage Current mA uA 1 12000 6000 3 33 x 1000 lt Max resolution 3 SPECIFICATIONS 3 Overall accuracy Overall accuracy is when digital output is at the maximum value The overall accuracy is maintained within the
16. execution X05 2 Incorrect data setting Check the error code at signal is not ON buffer address 16 with the Error Codes List in Section 6 1 and correct the sequence program Analog value is held when it becomes larger smaller than a certain value Cause Corrective action 1 CH3 output upper lower limits addresses 4 and 1 The valid range of a set value varies according 5 are set as valid values to resolution setting Therefore set a value to make the set value invalid Turn ON the 683 upper lower limit cancel Y13 signal Unable to change resolution and offset gain values Cause Corrective action 1 Y1D is not turned ON leading edge after 1 Turn ON leading edge Y1D after resolution resolution condition setting condition setting APPENDICES MELSEC A APPENDICES APPENDEX 1 SETTING SHEET 1 1 Buffer Memory Allocation Default Setting Range Set Value Value 1 4000 1 6000 1 12000 decimal Address decimal D D A conversion enable disable setting See Section 3 6 2 See Section 3 6 3 Time 10 to 10000 1 A D conversion averaging setting CH1 averaging time count setting CH2 averaging time count setting Count 1 to 500 12000 12000 CH3 output upper limit value setting NEN NEN CH3 output lower limit value setting EM NEN NEN NEN NEN 4000 to 4000 8000 to 8000 12000 to 12000 Simple loop control type setting 1to3
17. i Li Ll b 1 1 1 1 12 1 1 1 FTI TTT n 4000 lal whe 2000 betetera 3 i Hee ee et Sot a 2 bebe 20 babe the heb oboe bab tm 4000 boa Lo nos La y bot ied ll aiat di Lakn rs L D t r BR B B BB BBIBRB L 0 tal value igi CH1 d 3 4 9 3 0d t oF t ng n gd tA ad ads Dad 111 rra g t8 11 1080151 whe dole db deb Held eee t t toas Tied i re nid 61 t 641 4 Mee dr au bt tr rb og tebe oe ye preteen ah dole bd deb dot du 0r B 9345 34 984 19 b dated deb deh ard E E wh doled dnb ida 1 1 1 1 t tal value igi CH3 d 13 Point Coordinate Setting Simple Loop Control APPENDICES MELSEC A APPENDIX 2 COMPARISON BETWEEN A1S63ADA AND A1S64AD A1S62DA A1S63ADA A1S64AD A1S62DA Input 2 channels Number of channels Output 1 channel Input 4 channels Output 2 channels DC 10 to 10 V DC 10 to 10 V DC 10 to 10 V Analog output DC 0to20mA O DC 0to20mA 4000 to 4000 4000 to 4000 Digital input 8000 to 8000 12000 to 12000 8000 to 8000 12000 to 12000 4096 to 4095 8192 to 8191 12288 to 12287 Digital output 1 ms ch 1 4000 resolution 2 ms ch 1 8000 resolution 3 ms ch 1 12000 resolution wmm EA 9 Conversion enable disable Analog output enable d
18. procedure 4 PRE OPERATION SETTING PROCEDURES 4 3 Connection to External Devices The precautions and wiring method for making connection to external de vices are as given below To make the best use of the A1S63ADA and to attain high reliability of the system the wiring connection needs to be arranged so that it is not influ enced by noise The following precautions must be observed The AC cable must be separate from the analog input cables to the A1S63ADA to avoid the influence by surge and induction of the AC side The I O cables must be separate from the main circuit cables high tension cables and load carrying cables connecting from other than a PC so that the I O cables are not influenced by noise surge and in duction Shielded wires or the shield of shielded cables must be grounded at one point on the PC side However it is sometimes better to ground the shield on the external device side depending on the conditions of noise transmitted from the external device 1 2 3 The following gives the wiring method for the A1S63ADA CH1 and CH2 a For voltage input 4 15 V Signal source 0 to 10 V 500kQ 1 Shield b For current input Signal source 0 to 20 mA Use a shielded 2 core twisted cable Input resistance of the A1S63ADA For current input connect the V and I terminals If there is noise or ripples in the external wiring connect a 0
19. timer error 013 CH3 upper lower limit cancel e X001 Conversion READY e Y018 to 19 Resolution selection e X002 Error detection YO1A CH1 voltage current e X005 Simple loop control in execution e YO1B CH2 voltage current e Y010 CH3 D A conversion value output e YO1C CH3 voltage current enable YO1D Offset gain setting e Y011 Simple loop control execution enable e Y012 Error reset 2 Buffer memory Address 0 A D D A conversion enable disable setting Address 1 A D conversion averaging setting Address 2 CH1 averaging time count e Address 3 CH2 averaging time count e Address 4 CH3 output upper limit value setting Address 5 CH3 output lower limit value setting Address 6 Simple loop control type setting Addresses 7 to 9 Constants A B and C setting Address 13 Simple loop control output calculation value Address 16 Error code 5 PROGRAMMING Offset gain values and resolution setting Set Resolution X0000 0001 instruction YOO10 condition Resolution condition Resolution CH1 condition CH2 condition ON Current OFF Voltage CH3 condition Stored to A1S63ADA when Y1D is turned ON Make an interlock so that this is done only once Initial setting X0000 X0001 CH1 and CH2 A D conversion enable CH3 D A conversion enable K200 D1 H CH2 averaging count CH3 lower limit value Simple loop control type IwovP K100 DS H Constanta move Ko D7 j Cons
20. value can be limited Analog output value at CH3 can be limited by setting the upper lower limit values 1 4 1 GENERAL DESCRIPTION i MELSEC A 1 1 2 Simple loop control 1 Operation program for the PC CPU is not necessary Since the A1S63ADA has function expressions it is not necessary to create an operation program for the PC CPU 2 High speed loop control is possible Since operations at the PC CPU are not necessary high speed con version as mentioned below is possible regardless of the PC CPU s scan time 1 1 4000 4 ms 2 1 8000 7 ms 3 1 12000 9 ms 1 1 3 Offset gain values and resolution 1 Offset gain values and resolution can be easily set Offset gain values and resolution can be easily set by selecting from preset factory setting options by using a sequence program Offset gain value ranges other than those given below can also be set easily with the switches provided on the module Selection of offset gain values Offset gain value area Area for user setting with switches on the module 1 4000 Select value ranges sequence program Factory setting fixed 1712000 Offset OV 4m This area contains the offset gain value settings with 1 4000 resolution when delivered MEMO 2 SYSTEM CONFIGURATION MELSEC A 2 SYSTEM CONFIGURATION The following system configurations are possible when using an A1S63ADA Combination with the A1SCPU A1SCPU Powe
21. 0 mA Setting example 3 Offset 0 mA Gain 20 mA 20 30 Analog input voltage mA Digital Output Value Digital Output Value Example 1 4000 1 8000 1 12000 1 4000 1 8000 1 12000 resolution resolution resolution resolution resolution resolution No 1 0 mA 5 mA 2800 5600 8400 1200 2400 3600 2 4 mA 20 mA 375 750 1125 875 1750 2625 3 0 mA 20 mA 700 1400 2100 300 600 900 Fig 3 3 Current Input Characteristics 1 Input current must be in 30 to 30 mA range When a current outside the 30 to 30 mA range is input heat will build up inside the module and a malfunction may occur 2 The maximum resolution and the overall accuracy listed in the performance specifications are obtained when the input current is in 20 to 20 mA range When a current outside the 20 to 20 mA range is input the accuracies listed in the performance specifications may not be ob tained Do not use the values indicated by dotted lines shown in Fig 3 3 3 When an analog input value makes the digital output value exceed the maximum value 4095 8191 or 12287 or the minimum value 74096 8192 or 12288 at set resolution the digital output value is fixed at the maximum 4095 8191 or 12287 or the minimum value 4096 8192 or 12288 at set resolution 4 Always follow the conditions mentioned below when setting the offset gain values When a setting does not conform to the condition the
22. 000 10V 5 V or 20 mA OV or 4 mA 5 V or 12 mA 10V Max resolution Voltage 2 5 mV 1 25 mV 0 83 mV ax Current 10 uA 5 pA l 3 33 uA Conversion speed imsen 2msch 3msten Overall accuracy 2 Absolute max input Voltage 215 V Current 30 V Analog input points 2 cl VO 8 characteristics A D conversion Current output Voltage output 4000 to 4000 0 to 4000 at 1 4000 resolution setting at 1 4000 resolution setting Digital input 8000 to 0 0 to 8000 9 at 1 8000 resolution setting at 1 8000 resolution setting 12000 to 12000 0 to 12000 at 1 12000 resolution setting at 1 12000 resolution setting Analog output 10 to 0 to 10 V DC 0 to 20 mA DC g outp external load resistance 2 kQ to 1 MQ external load resistance 0 Q to 600 Q Analog Analog 1 4000 1 8000 1 12000 output 1 4000 1 8000 1 12000 output value value 1 12000 10 V 8000 12000 20mA 4000 6000 12 mA 0 0 4 mA 1 ms 1 4000 2 ms 1 8000 3 ms 1 12000 5V Overall accuracy 5 1 0 1V 1 0 2mA 0v 5V 10 V 1 When offset setting is 0 V 4 mA and gain setting is 5 V 20 mA 2 Accuracy of max digital output value Max digital output value means the maximum value of a selected resolution for both current voltage input characteristics 8 When offset setting is O V 4 mA and gain setting is 10 V 20 mA 4 Conversi
23. 11 and 12 Error detection X02 address 16 Error reset Y12 Complete J Among various types of processing of the special function modules an access from the PC CPU takes priority If an access from the PC CPU to the buffer memory of the special func tion modules is performed frequently not only the scanning time of the PC CPU will be extended but also the various types of processings of the special function modules will be delayed Perform the access from the PC CPU to the buffer memory by FROM TO instruction only when necessary 5 PROGRAMMING 5 1 2 Program examples The following program examples assume that the A1S63ADA is installed to slot 0 General description of the program Analog values are converted to digital values with time averaging 500 ms on CH1 and count averaging 200 times on CH2 A1S63ADA PC CPU CH1 Buffer memory AD Time averaging Analog value conversion Address 11 CH2 Address 12 7 conversion 5 Count averaging Signals and buffer memory used with the program 1 Signals e X000 Watchdog timer error Y018 to 19 Resolution selection e X001 Conversion READY e YO1A CH1 voltage current e X002 Error detection YO1B CH2 voltage current e YO12 Error reset e YO1C CH3 voltage current YO1D Offset gain setting 2 Buffer memory Address 0 A D D A conversion enable disable setting Address 1 A D conversion a
24. 4 14 ot 1 Otre mun de cre Ho aui a O 4000 4 Analog output 2 CH3 setting MELSEC A APPENDICES a APP 4 Setting Coordinates Setting Coordinates Resolution lues ing va 1 4000 refer to the follow 1 8000 and 1 12000 ings tt ion se For resolut ing is 0 e 9 2 6 o tee c a lt ES o a 2 o e y o LE N t 2 o gt o Q e 0 lt E TT boro por af mim 4 in ek E E tai ra g lee eie b da bate d ote CO 0t db rb gd og og 1 trt rg O A tao gr gr a dg erererere oe ee ee ee eto 1 55 te ebnirrnbelr rninbaio 2000 Ch ial ated t i rrr B bMr B B BeABA L L L L L L L L1 arg grt ard gd 4 dob del dels cortas as 0601 ASAS 3r gd 0 ga gy T7317 to go t r r r ep r rcrcersrer rerer ee eee ee oe ee ee ee aot CA 1 b 9 d 3 13 f OG 2Lb L2L 2R Lb Lh hboio t rF F rt r r r r r r CECILILCLIL L Lt Lb h TrTt pr f T T vT p v j T T T T v vf 4 T 1 Tt rP tf r T t p t dd de de de do de de 2L
25. 7 Constant A setting 32768 to 32767 Constant B setting Constant C setting 4096 to 4095 8192 to 8191 12288 to 12287 CH3 digital value setting 11 12 CH1 A D conversion digital value f CH2 A D conversion digital value 1 t Setting Simpie loop control output impossible calculation value 0 14 15 A D conversion completion flag 16 17 Resolution setting Error code 2to 10 Coordinate points setting CH1 coordinates CH3 coordinates CH1 coordinates CH3 coordinates CH1 coordinates Point 2 CH3 coordinates CH1 coordinates jaa Point 3 N a 6 2 CH3 coordinates CH1 coordinates 4000 to 4000 8000 to 8000 12000 to 12000 CH3 coordinates N CH1 coordinates CH3 coordinates Point 5 m o N CH1 coordinates Point 6 CH3 coordinates 1 CH1 coordinates Point 7 CH3 coordinates CH1 coordinates Point 8 N Nx o CH3 coordinates CH1 coordinates CH3 coordinates APP 1 APP 2 or Analog input MENEM ds ds Eo ds E 4000 at 1 8000 resolution lt Analog input gt rele oca EI PA CD AA tesar te Que arat Digital output 6000 at 1 12000 resolution 2000 at 1 4000 resolution Digital output lt Offset gain value setting o E e O a
26. A D conversion averaging setting address 1 Coordinate points setting l address 17 CH1 and CH3 coordinate setting for each point addresses 18 to 37 CH3 D A conversion value output enable Y10 Simple loop control execution enable Y11 Simple loop control output calculation value address 13 CH3 upper lower limit cancel Y13 Error detection X02 address 16 Error reset Y 12 Complete 5 13 5 PROGRAMMING 2 Program examples The following program examples assume that the A1S63ADA is in stalled to slot 0 General description of the program The CH3 digital value which corresponds to CH1 digital value is processed by D A conversion and output as an analog value as shown below For example CH1 digital value 1000 corresponding CH3 digital value 1750 is converted and output on CH3 as an analog value CH3 digital value CH1 digital value Signals and buffer memory used with the program 1 Signals e X000 Watchdog timer error e Y013 CH3 upper lower limit cancel e X001 Conversion READY Y018 to 19 Resolution selection e X002 Error detection e YO1A CH1 voltage current e X005 Simple loop control in execution YO1B CH2 voltage current e Y010 CH3 D A conversion value output YO1C CH3 voltage current enable e YO1D Offset gain setting e Y011 Simple loop control execution enable e 012 Error reset 2 Buffer memory e Address 0 A D D A conversion A
27. A D conversion time count setting Addresses 2 and 3 This is used for setting the time or count for the channel which is set for av eraging The default setting is 1 for CH1 and CH2 Setting unit of time is 10 ms Values smaller than 10 ms are rounded down For example when 1234 is set it is processed as 1230 ms The setting ranges are as follows Averaging based on time setting 10 to 10000 ms Averaging based on count setting 1 to 500 times count When values other than those mentioned above are set buffer memory Will be overwritten However a setting error occurs and the A1S63ADA continues A D conversion based on the time or count set ting which is immediately before the setting error occured 3 SPECIFICATIONS MELSEC A 3 6 5 D A conversion output upper lower limit value setting Addresses 4 and 5 This is used for setting the upper limit value address 4 and the lower limit value address 5 of the set ranges of digital values addresses 10 and 13 used for D A conversion on CH3 Valid setting ranges vary according to resolution setting as given below 12000 12000 3 6 6 Simple loop control type setting Address 6 This is used for setting the type of simple loop control The following set values are used Setting is valid when the simple loop control execution enable Y11 is ON Set Value Type of Simple Loop Control Ordinary operation other than simple loop control y AX
28. Address 5 CH3 output lower limit value setting e Address 10 CH3 digital value setting Address 16 Error code RAMMI 2 Offset gain values and resolution setting Resolution Set X0000 X0001 instruction YOO10 condition Y0018 Resolution condition Resolution CH1 condition CH2 condition ON Current o18 OFF Voltage CH3 condition M10 Stored to A1S63ADA when Y1D is turned ON Make an interlock so that this is done only once Initial setting OOOO X0000 1 CH3 D A conversion enable ToP Heowe Ko Ka move K 4000 D1 CH3 output lower limit value ToP Hooo Ka Do amp DO and D1 writing CH3 digital value setting Set X0000 70001 instruction Toe Hoooo Kio 52 v CH3 D A conversion value output enable Output enable X0000 1 instruction 5 Analog value after D A conversion on CH3 are coutput when Y10 is ON CH3 upper lower limit cancel Digital switch data is set as CH3 digital value Limit cancel X0000 X0001 instruction ur The upper lower limit values set with DO and 01 are canceled when Y13 is ON 5 PROGRAMMING MELSEC A Error detection X0000 X0001 X0002 Wh d 1 en the error detection X02 is H0000 kie De xt ON corresponding error code is read Error reset Error reset 10000 70001 0002 4 1 gt espe Y0012H Errot reset CIRCUIT END 5 PROGRAMMING MELSEC A 5 3
29. BX2 X1 A C 2 yae Coordinate designation A B C Constants y CH3 D A conversion digital value X1 CH1 A D conversion digital value X2 CH2 A D conversion digital value When values other than those mentioned above are set buffer memory will be overwritten However a setting error will occur and the A1S63ADA continues control with the data which is immediately before the setting error occured 3 6 7 Simple loop control constant setting Addresses 7 8 and 9 This is used to set the constants A B and C for simple loop control Set unused channels with 0 constant Settings are as given below Address Constant Setting Range Default 7 fa emmestoszrer o S Be sarestoszrez ooo Pe lost When writing data of constant A or B to buffer memory write a value of set ting value x 100 For example to set 123 45 write 12345 This setting is valid also when it is changed during the execution of simple loop control 3 SPECIFICATIONS MELSEC A 3 6 8 D A conversion digital value setting Address 0 This is used to set the digital values used for D A conversion on CH3 The setting ranges vary according to resolution setting 1 Data written during simple loop control will be invalid 2 When values other than the ranges mentioned above are set buff er memory will be overwritten However a setting error will occur and the A1S63ADA will make output as mention
30. EST the OFFSET GAIN select switch is set in the terminals between 1 and 3 OFFSET or GAIN position A1S63ADA s RUN LED is not lit Cause Corrective action 1 The TEST terminals between 1 and 3 are 1 Open the TEST terminals between 1 and 3 shorted 2 A watchdog timer error X00 is ON occurs 2 Reset the PC CPU When the LED state does not change to the lit state hardware may be faulty Consult your nearest Mitsubishi representative 3 Power supply capacity supplied to the 3 Calculate the current consumption at units and A1S63ADA is insufficient modules other than the A1S63ADA and select a power supply module which has enough capacity to operate the AiS63ADA 4 The PC CPU causes an error 4 Check the error by referring to the PC CPU s User s Manual 6 TROUBLESHOOTING Unable to read digital output values MELSEC A Cause Corrective action 1 Voltage or current is not correctly supplied 1 Measure the voltage and or current by using a circuit tester 2 Wires are disconnected or broken 2 Check visually the wiring and conductivity and correct abnormal points 3 Some of the FROM instruction execution 3 Check the ON OFF states by monitoring with a conditions are not ON peripheral device 4 Buffer addresses designated with a FROM 4 Check the sequence program instruction are not correct 5 The channel designated with a FROM instruc 5 Check the content at buffer addres
31. Executing Simple Loop Control This section gives the programming procedures and examples for the con version of analog input values voltage current on CH1 and CH2 to analog output values voltage current on CH3 5 3 1 Simple loop control by using function expressions 1 Programming procedure The programming procedure is as given below 1 Not necessary when these are 9 a set by the user Initial setting A D D A conversion enable disable setting address 0 Averaging time count setting addresses 2 and 3 CH3 output upper lower limit value setting addresses 4 and 5 Simple loop control type setting address 6 Constants A B and C setting addresses 7 8 and 9 A D conversion averaging setting address 1 CH3 D A conversion value output enable Y10 Simple loop control execution enable Y11 Simple loop control output calculation value address 13 CH3 upper lower limit cancel Y13 Error detection X02 address 16 Error reset Y12 Complete 5 PROGRAMMING MELSEC A 2 Program examples The following program examples assume that the A1S63ADA is installed to slot 0 General description of the program The sum of the CH1 digital value and half of CH2 digital value after A D con version is processed by D A conversion on CH3 and output Analog value Analog value Analog value Signals and buffer memory used with the program 1 Signals e X000 Watchdog
32. LSEC A Application example The following operation control is possible by the simple loop control Thickness Control Description of control To keep the material thickness at a constant value sensors are used to measure the thickness and the A1S63ADA is used to control the roller ro tation speed How the system works The material thickness measured by a pair of distance sensors is input as an analog value 4 to 20 mA to CHi When the measured value is smaller than the standard value the analog output value 0 to 10 V at CH3 is reduced so that the control motor speed is reduced 0 When the measured value is larger than the standard value the analog output value 0 to 10 V at CH3 is increased so that the control motor speed is increased Control motor Inverter A1S63ADA 1 GENERAL DESCRIPTION MELSEC A 11 Features The A1S63ADA features are listed in each of the following subsections 1 1 1 A D and D A conversions 1 High speed A D and D A conversions are possible The following high speed conversions per channel according to reso lution setting are possible 1 1 4000 1 ms ch A D conversion 1 ms D A conversion 2 1 8000 2 ms ch A D conversion 2 ms D A conversion 3 112000 3 ms ch A D conversion 3 ms D A conversion 2 1 12000 high resolution is available Digital value resolution can be set for 1 4000 1 8000 or 1 12000 Resolution setting applies equall
33. MARUNOUCHI CHIYODA KU TOKYO 100 8310 JAPAN NAGOYA WORKS 1 14 YADA MINAMI 5 CHOME HIGASHI KU NAGOYA JAPAN When exported from Japan this manual does not require application to the Ministry of Economy Trade and Industry for service transaction permission Specifications subject to change without notice MODEL MODEL CODE IB NA 66435 E 0509 MEE
34. MITSUBISHI Analog Input Output Module Type A1S63ADA User s Manual Mitsubishi Programmable Logic Controller e SAFETY PRECAUTIONS e Always read these instructions before using this equipment When using this equipment thoroughly read this manual and the associated manuals introduced in this manual Also pay careful attention to safety and handle the equipment properly These precautions apply only to this equipment For the safety precautions of the PLC system please read the user s manual for the CPU module to use These eSAFETY PRECAUTIONSe classify the safety precautions into two categories DANGER and CAUTION N lt gt DANGER Procedures which may lead to a dangerous condition and cause death or serious injury if not carried out properly I Procedures which may lead to a dangerous condition and cause 1 N CAUTION superficial to medium injury or physical damage only if not 1 carried out properly J Depending on circumstances procedures indicated by CAUTION may also be linked to serious results In any case it is important to follow the directions for usage Store this manual in a safe place so that you can take it out and read it whenever necessary Always forward it to the end user DESIGN PRECAUTIONS 4 DANGER Configure a safety circuit on the outside of the PC so that the entir
35. OPERATING PRECAUTIONS N CAUTION e Do not output ON Use Prohibited signals from the PC CPU to the special module Doing so could erroneously operate the PC system DISPOSAL PRECAUTIONS N CAUTION e When disposing of this equipment handle it as industrial waste REVISIONS The manual number is given on the bottom left of the back cover Print Date Manual Number Revision Sep 1993 IB NA 66435 A First edition Dec 1999 IB NA 66435 B ADDITION Safety Precautions and Guarantee Partial Correction Chapter 2 1 Chapter 2 Remark section 3 1 3 2 3 4 1 2 4 2 4 3 2 5 1 1 App 3 Oct 2002 IB NA 66435 C Partial Correction Chapter 2 Remark section 3 1 3 2 2 4 3 2 Feb 2004 IB NA 66435 D Partial Correction SAFETY PRECAUTIONS section 3 1 3 5 4 3 2 Sep 2005 IB NA 66435 E Partial Correction SAFETY PRECAUTIONS section 5 1 Japanese Manual Version SH 3528 H This manual confers no industrial property rights or any rights of any other kind nor does it confer any patent licenses Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual 1993 MITUBISHI ELECTRIC CORPORATION INTRODUCTION Thank you for choosing the Mitsubishi MELSEC A Series of General Purpose Programmable C
36. S 4 4 2 Offset gain value adjustment procedure user setting The following flow chart gives the offset gain value adjustment procedure 2 Set the offset gain select switch in the SET position From the previous pax Adjust another YES D channel D Open across the test mode ter minals between 1 and 3 TEST The state of the RUN LED after adjustment will be as given below State of RUN LED Lit Adjustment is correctly completed Flashing Resolution setting discrepancy over channels Readjustment is needed Set the offset gain select switch in the OFFSET position RUN O OFFSET Set the offset gain select switch in the SET position Apply a voltage or current to set a gain value A Gain current Set the offset gain select switch in the GAIN position To the next page Short across the test mode ter minals between 1 and 3 TEST Set the channel resolution se lect switch for the channel and resolution to change Set for the chan nel and resolu tion to set RU CH Channel to make adjustment Apply a voltage or current to set an offset value Offset current 1 MELSEC A B Use the UP DOWN switch to ad just to the voltage or current to set a gain value Gain voltage Gain current Actual resistance Set the offset gain select switch in the SET position l C To the previous page
37. U The upper The upper Analog output state when 1 er lower Offset or ower A1S63ADA causes an error 0 V O mA value is 0 V O mA O V O mA error code 107 analog output analog value is 1 value is output output 1 Error codes other than 107 have no relation to the CH3 analog output Setting Combination 3 16 3 SPECIFICATIONS 3 5 I O Signals Used for Communications with a PC CPU The A1S63ADA uses 32 input points and 32 output points for communica tions with a PC CPU The device numbers and signal names used for the I O signals are as given in the table below The X devices are used for the signals transmitted from the A1S63ADA to a PC CPU and the Y devices are used for the signals transmitted from a PC CPU to the A1S63ADA The following I O X Y numbers are allocated when the A1S63ADA is in stalled to slot 0 of the main base unit Table 3 3 List of I O signals Signal Direction A1863ADA PC CPU signal Direction PC CPU gt A1S63ADA Direction PC CPU gt A1S63ADA Device No Signal Name Device No Signal Name Operation Timing Pee pendens vee J x03 CH3 output upper limit value hold Yos x04 CH3 output lower limit value hold f vos SS AS Unusable Unusable zu ER xoa cuz votagelcurent xoc CH3 voltage current e X0D XOE XOF CH3 D A conversion value output enable Simple loop control execution enable ON Sy edg
38. ceed 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 caused 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 not to be the responsibility of Mitsubishi or that admitted no
39. ddress 13 Simple loop control enable disable setting output calculation value Address 1 A D conversion averaging Address 16 Error code setting Address 17 Coordinate points setting e Address 2 CH1 averaging time count e Addresses 18 to 25 e Address 3 CH2 averaging time count CH1 CH3 coordinates for points 0 to 3 e Address 4 CH3 output upper limit value setting e Address 5 CH3 output lower limit value setting e Address 6 Simple loop control type setting 5 PROGRAMMING Offset gain values and resolution setting Set Resolution X0000 X0001 instruction YOO10 condition Resolution condition Resolution CH1 condition 0112 condition ON Current OFF Voltage CH3 condition Stored to A1S63ADA when EBEN Y1D is turned ON Make an SET M10 interlock so that this is done only once Initial setting 20000 1 CH1 A D conversion enable CH3 D A conversion enable CH1 averaging time move K6000 D1 CH3 upper limit value vove KS DS Simple loop control type coordinate designation DO and D3 writing 5 PROGRAMMING wove ka 54 Number of coordinate points Point 0 CH1 coordinates Point 0 CH3 coordinates Point 1 CH1 coordinates Point 1 CH3 coordinates Point 2 CH1 coordinates Point 2 CH3 coordinates Point 3 CH1 coordinates CH3 D A conversion value output enable Output enable X0000 X0001 instruction Analog values after D A conver
40. e CH3 upper lower limits cancel Unusable Resolution selection Offset gain CH1 voltage current selection X13 1 Ila X14 X15 X16 X17 X18 X19 Unusable X gt X1B i CH2 voltage current CH3 voltage current X1D Y1D Offset gain setting S Leading edge YIE YIF I n Unusable MPORTANT When device numbers YOO to OF Y14 to 17 and Y1E to Y1F are turned ON OFF by a sequence program specified functions of the A1S63ADA are not guaranteed 3 7 3 SPECIFICATIONS 1 X00 WDT error This device turns ON when a watchdog timer error is generated by the A1S63ADA s self check function When this error occurs the A D and D A conversions are suspended and the analog output level of A D conversion becomes 0 V 4 mA ON OFF 1 X00 WDT error occurs This device can be used as an interlock for all programs which control the A1S63ADA 2 X01 Conversion READY This device turns ON when the A1S63ADA is ready for A D and D A conversions after the PC CPU is powered on or reset This device turns OFF when the TEST terminals are shorted Power ON OFF i l ON X01 OFF TEST Shorted terminals Open This device can be used for executing a program for initial setting X01 Conversion READY turns OFF when Y1D Offset gain setting turns ON start up and turns ON when preparation for A D or D A conversion is completed ON YID OFF xo1 ON OFF T
41. e other than 0 to 3 is set with simple loop control type setting address 6 A value other than 2 to 10 is set with number of coordinate points setting address 17 CH1 coordinate settings addresses 18 20 22 24 26 28 30 32 34 and 36 include setting as point n coordinates 2 point n 1 coordinates A value other than those mentioned below is set with digital value setting address 10 MON There is a discrepancy in resolution setting among CH1 CH2 and CH3 indicates the channel where the error occurs 103 105 107 108 1 When multiple errors occur the error code for the first detected error will be stored Subsequent error codes will not be stored 2 To reset an error either turn ON the error reset Y12 signal or write 0 to buffer address 16 3 Before resetting an error eliminate the cause of error ESHO 6 TROUBLESHOOTING MELSEC A 6 2 Troubleshooting The following gives the probable causes and corrective actions to be taken when trouble occurs A1S63ADA s RUN LED is flashing Cause Corrective action 1 Data is written to a read only area buffer 1 Check the error code at buffer address 16 with address 11 to 15 the Error Codes List in Section 6 1 and correct Incorrect data setting Data outside a specified the sequence program range is set 2 The TEST terminals 1 and 3 are shorted and 2 After making offset gain setting open the T
42. e overall accuracy of the voltage current output characteristics Overall accuracy of the voltage output is at 10 V The overall accuracy fluctu ates within the 10 V 21 0 100 mV range when the tem perature is within the 0 C to Analog 55 C range output py Digital input value Fig 3 9 Overall accuracy of the voltage output characteristics Overall accuracy of the voltage output is at 20mA 20 mA The overall accuracy fluctu ates within the 20mA 1 0 200 uA range when the tem perature is within the 0 C to 55 C range f Digital input value Fig 3 10 Overall accuracy of the current output characteristics 3 2 3 SPECIFICATIONS This section gives the functions of the A1S63ADA Refer to Sections 3 6 and 3 7 for the I O signals used for executing func tions and the methods of use and setting for the buffer memory 3 4 Functions 3 4 4 Enabling disabling conversion Each channel can be set for A D conversion CH1 and CH2 or D A conver sion CH3 with the enable disable options Default settings for all channels are conversion disabled The A D D A conversion enable disable settings are made with buffer ad dress 0 The sampling time of the A D conversion with an enabled channel can be shortened by setting unused channels for conversion disabled Digital values after A D conversion are stored to the buffer memory at pre set sampling intervals This setting can be made for each chann
43. e system works to a safe side even when the external power failure occurs or PC main unit fails An erroneous output or operation may result in an accident N CAUTION e Use the PC in the environment given in the general specifications section of the applicable CPU module user s manual Failure to do so may result in electric shock fire or erroneous operation or may damage or degrade the equipment Do not bundle or install the control cables with or near the main circuit and power cables Keep them at least 100 mm 3 9 inch away from such cables Noise may cause erroneous operation At power ON OFF voltage or current may instantaneously be output from the output terminal of this module In such case wait until the analog output becomes stable to start controlling the external device INSTALLATION PRECAUTIONS N CAUTION Insert the tabs at the bottom of the module into the holes in the base module before installing the module Be sure to install the module in the base module with screws tightened to the specified torque Improper installation may cause erroneous operation accident or the module to fall out e Do not directly touch the module s conductive parts Doing so could cause malfunction or trouble in the module WIRING PRECAUTIONS N CAUTION e f noise generates frequently ground the AG and FG terminals using the PC dedicated class D ground class three ground or higher
44. ed in Section 3 5 8 3 Current output of D A conversion will never become negative regardless of set values 3 6 9 A D conversion digital value Addresses 11 and 12 The digital values after A D conversion on CH1 and CH2 are stored to these addresses Address 11 CH1 digital value Address 12 CH2 digital value The digital value ranges to be stored vary according to resolution setting Resolution Range of Storage 1 4000 4096 to 4095 1 8000 8192 to 8191 1 12000 _ 12288 to 12287 3 6 10 Simple loop control output calculation value Address 13 The CH3 digital value calculated by simple loop control is stored to this address Calculated value is not limited at all However in the actual operation the digital value range used for D A conversion varies according to resolution setting Digital Value Range for D A Conversion 1 4000 4096 to 4095 1 8000 8192 to 8191 1 12000 12288 to 12287 3 6 11 Resolution setting Address 14 Present resolution setting is stored to this address Stored Value 1 4000 1 8000 1 12000 3 SPECIFICATIONS 3 6 12 A D conversion completion flag Address 15 The state of A D conversion on CH1 and CH2 is stored to this address 1 The A D conversion completion flag processing is executed only once when a change is made with the A D conversion enable disable set ting address 0 a Disable gt Enable When this change is made while averaging is executed averag
45. el This setting is made with A D conversion averaging setting buffer address 1 e Analog input used for A D conversion Data after A D conversion is accumulated according to the preset time or number of times of conversion and then averaged and stored to the buffer memory This setting can be made for each channel This setting is made with A D conversion averaging setting buffer address 1 and averaging time count setting addresses 2 and 3 Values less the largest and smallest values are averaged Time 1 Time averaging Averaging is done at time intervals which are set with each channel and averaged digital values are stored to the buffer memory 2 Count averaging Averaging is done at the number of times count of conversion set with each channel and averaged digital values are stored to buffer memory The processing time of count averaging is sampling time x set number of times 3 13 Sampling interval Sampling Interval Number of Channels Set for Analog Resolution A D Conversion gt Time 3 4 2 Sampling 3 4 3 Averaging Analog input Previous average 3 SPECIFICATIONS 3 4 4 Analog output hold clear when the PC CPU is in the STOP state D A conversion Analog output value after D A conversion when the PC CPU is in the STOP state can be held or cleared offset value or 0 V O mA by setting with the HLD CLR terminal 3 4 5 Analog output enable disable setting D A conv
46. ersion Output of the analog values after D A conversion is enabled or disabled This setting is made with CH3 D A conversion output enable Y10 ON OFF setting 3 4 6 Analog output value limit D A conversion Analog output value at CH3 can be limited by setting the upper lower limit values addresses 4 and 5 This limitation can be canceled with CH3 upper lower limit cancel Y13 set ting 3 4 7 Simple loop control Function expressions Analog input values through CH1 and CH2 are converted to digital values calculated by using preset function expressions and then output through CH3 as analog values The following three function expressions are used Function 1 y AX1 BX2 C A Constant expression x B constant 1 Constan 2 y A 0 X1 CH1 digital value 5 X2 CH2 digital value 3 Coordinate designation y CH3 digital value No limitation applies to the calculated value The digital value range for D A conversion varies according to resolution setting 1 Select function expression by setting the type of simple loop control buffer address 6 2 Set the constants A B and C for function expressions 1 and 2 buffer addresses 7 8 and 9 3 When function expression 3 above is selected set the coordinate points buffer address 17 and the CH1 CH3 coordinates for points 0 to 9 buffer addresses 18 to 37 4 The simple loop control is executed by turning ON the simple loop con tro
47. ges of input and output analog and digital values which the A1S63ADA can handle are as given below Voltage I O range 10 Vto0 V to 10 V Current input range 20 mA to 0 mA to 20 mA Current output range Q mA to 20 mA Digital values 4000 to 0 to 4000 Resolution 1 4000 I 8000 to O to 8000 Resolution 1 8000 12000 to O to 12000 Resolution 1 12000 1 1 AL DE ON 1 GENER SCRIPTI MELSEC A 2 Analog input values through CH1 and CH2 are calculated by using preset function expressions and their output is through CH3 as ana log values Simple loop control is possible by using the function ex pressions A1S63ADA Analog AB 777 voltage current input Analog Analog i wee OC Oe voltage current output voltage current input The following three function expressions are used Function expression 1 y AX1 BX2 C 2 y A X C 3 Coordinate designation CH1 analog input CH3 analog output A B C Constant X1 CH1 analog input value X2 CH2 analog input value y CH3 analog output value In the example below the function expression y AX1 BX2 C is used with constants A and B as 1 and C as 0 so that the expression used for control is y X1 X2 sum of CH1 and CH2 is output to CH3 V Analog input AiS63ADA O CHT v Analog output CH3 C V Analog input gt CH2 GENERAL DE ION 1 G DESCRIPT ME
48. ing is completed and the digital value after A D conversion is stored to buffer memory Then setting changes trom 0 to 1 b Enable gt Disable Setting for the corresponding channel changes from 1 to 0 2 The A D conversion completion flag is provided for each channel b15 to b2 bi bO Address 15 o to o CH CH 1 A D conversion complete 0 A D conversion not complete 3 The A D conversion completion flag can be used as an interlock for digital value reading X00 X01 _ From HO K15 DO K1 CH1 CH2 A D conversion complete po K3 FROM HO D1 K2 3 6 13 Error code Address 16 When wrong data is set in the buffer write area a setting error will occur and a corresponding error code cause will be stored to this address And the RUN LED starts flashing and the error detection signal X02 turns ON 1 When multiple errors occur the error code for the last detected error will be stored Refer to Section 6 1 for details of error codes 2 Toresetan error eliminate the cause and turn ON the error reset Y12 or write O to buffer address 16 3 SPECIFICATIONS MELSEC A 3 6 14 Simple loop control coordinate points setting Address 17 This is used to set the number of coordinate points when 3 coordinate des ignation has been set with buffer address 6 The default setting is 2 The setting range is 2 to 10 When values other than those mentioned above a
49. ing to address 0 when the conversion READY X01 signal is turned ON Example When the A1S63ADA is installed to slot 0 and CH1 and CH3 are set for conversion enabled Xoo xo1 ToP HO KO K5 K1 3 Processing when A D D A conversion enable disable setting is made a Averaging is initialized When enable disable setting is made during averaging averaging is executed from the beginning The digital value in buffer memory after A D conversion retains the state immediately before this setting is made b The A D conversion completion flag is reset The A D conversion completion flag for CH1 and CH2 buffer ad dress 15 is reset 3 24 3 SPECIFICATIONS 3 6 3 A D conversion averaging setting Address 1 This is used for setting the A D conversion method for CH1 and CH2 The default setting is sampling 0000H for CH1 and CH2 1 When the power is turned ON and the A1S63ADA s conversion READY X01 is ON all channels are set for sampling 2 Set averaging sampling and time averaging count averaging with each channel b15 to b10 b9 b8 b7 to b2 b1 50 T T Address 1 to CH2 CcHi to 1 CH2 CH1 ignores Ignored JJ 1 Averaging 1 Time averaging 0 Sampling 0 Count averaging 1 Before setting averaging it is necessary to set the time or count for averaging 2 When averaging is not set sampling is set as the default regard less of the time count setting 3 6 4
50. isable Analog output hold clear when PC CPU is in STOP state a Max conversion speed Analog output value limit Simple loop control APP 5 APPENDICES APPENDIX 3 OUTSIDE DIMENSIONS AiS63ADA RUN 1 130 5 12 93 6 3 69 7 3 34 5 1 36 0 29 Unit mm inch APP 6 6 5 0 26 WARRANTY Please confirm the following product warranty details before using this product 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 sales representative or Mitsubishi Service Company However if repairs are required onsite at domestic or overseas location expenses to send an engineer will be solely at the customer s discretion Mitsubishi shall not be held responsible for any re commissioning maintenance or testing on site that involves replacement of the failed module 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 ex
51. istics 3 10 3 SPECIFICATION 3 3 3 Relationship between offset gain settings and analog output value The relationship between offset gain settings and analog output value is as explained below 1 Resolution The resolution is obtained by the following formula a Voltage input Resolution GAT value Offset Voltage width in A which the digital value increases or de creases by 1 b Current input Resolution Gain value Offset ees Current width in A which the digital value increases or de creases by 1 2 Analog output Analog output _ Gain value Offset _ x Digital input value Offset value A Resolution x Digital input value Offset value 1 The value A in the formula in 1 and 2 above is determined as follows The A1S63ADA s maximum resolution of analog values varies accord ing to resolution setting as given in Table 3 2 of performance specifica tions Therefore the analog output variations when the digital value increment decrement is 1 may sometimes be different from the re sult obtained by the formula given above 8 11 3 SPECIFICATION 8 Overall accuracy Overall accuracy is when the analog output is at the maximum value The overall accuracy is maintained within the range listed in the per formance specifications even when the output characteristics are changed by changing the offset gain settings Figs 3 9 and 3 10 show th
52. jor 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 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 Railway companies or Public service purposes shall be excluded from the programmable logic controller applications In addition applications in which human life or property that could be greatly affected such as in aircraft medical applications incineration and fuel devices manned transportation equipment for recreation and amusement and safety devices shall also be excluded from the programmable logic controller range of applications However in certain cases some applications may be possible providing the user consults their local Mitsubishi representative outlining the special requirements of the project and providing that all parties concerned agree to the special circumstances solely at the users discretion Analog Input Output Module Type A1S63ADA User s Manual A1S63ADA U E 13JE30 a MITSUBISHI ELECTRIC CORPORATION HEAD OFFICE TOKYO BUILDING 2 7 3
53. l execution enable signal Y11 3 14 3 SPECIFICATIONS 1 When the function expression is y AX1 BX2 C Digital values after A D conversion in CH1 and CH2 are assigned to the above expression The resultant digital values are then converted to analog values and output through CH3 a The calculation result is stored to buffer address 13 b When the digital value of CH1 or CH2 is not used for calculation set the constant A or B that corresponds to the channel at 0 c When averaging has been set with A D conversion the value after averaging is used for calculation d It is possible to change the constant A B and C during the execution of simple loop control 2 When the function expression is y A X 0 Digital values after A D conversion in CH1 and CH2 are assigned to the above expression The resultant digital values are then converted to analog values and output through CH3 a The calculation result is stored to buffer address 13 b When the digital value X2 of CH2 is 0 it is calculated as 1 c When averaging has been set with A D conversion the value after averaging is used for calculation d It is possible to change the constant A and C during the execution of simple loop control 3 When coordinate designation is used Digital value of CH3 corresponding to the digital value of CH1 is output according to the digital values of CH1 and CH3 for which points have been set on the t
54. lculation value Address 13 3 27 3 6 11 Resolution setting Address 14 0 ccc cece eee eh 3 27 3 6 12 A D conversion completion flag Address 15 0 0 cece cece eee 3 28 3 6 13 Error code Address 16 cc cece eas 3 8 3 6 14 Simple loop control coordinate points setting Address 17 3 9 3 6 15 Point coordinates setting Addresses 18 to 37 eee 3 9 4 PRE OPERATION SETTING PROCEDURES enhn 4 1 4 0 4 1 Precautions for Handling 0c cece ccc cee rna 4 1 4 2 Part Names and Settings 0 ke cee eee ee 4 2 4 3 Connection to External Devices seers 4 4 4 3 1 Precautions 0 0 ccc cece nre 4 4 4 3 2 Wiring method 2 0 ccc e Rh 4 4 4 4 Offset Gain Selection and Adjustment 22666666206606 0 02626 0 0 6 cece es 4 6 4 4 1 Offset gain value selection sequence program esses 4 7 4 4 2 Offset gain value adjustment procedure user setting 4 8 PROGRAMMING sensn nahmen hrs 5 1 5 16 5 1 Converting Analog Voltage Current to Digital Values A D Conversion 5 1 5 1 1 Programming procedure 0 ccc cece cece cece net
55. me required for converting the input analog value to the digital value and storing it to the buffer memory A1S63ADA CPU Buffer memory 1 From A D conversion Conversion speed gt 1000 2 D A conversion Conversion speed is defined by the time required for converting the digital value stored in the buffer memory to the analog value CPU A1S63ADA Buffer memory To eee FOU conversion Amplifier Tesponse h Conversion time l speed Max 1 ms 3 Simple loop control Conversion speed is defined by the time required for converting the input analog value to the digital value and for converting the digital value calculated by function expressions to the analog value A D conversion A1S63ADA Lo Function EN expression D A conversion Amplifier response time Conversion speed Max 1 ms 3 SPECIFICATIONS 3 2 A D Conversion I O Characteristics The I O characteristics of A D conversion are defined by the inclination of a straight line which passes the offset and gain coordinates when the analog value voltage or current input from outside the PC is converted to the digi tal value 1 An offset value is defined as an analog input value voltage or cur rent with which 0 digital output is obtained after A D conversion 2 A gain value is defined as an analog input value voltage o
56. n a voltage outside the 15 to 15 V range is input computer chips may sometimes be damaged 2 The maximum resolution and the overall accuracy listed in the performance specifications are obtained when the input voltage is in 10 to 10 V range When a voltage outside the 10 to 10 V range is input the accu racies listed by the performance specifications may not be obtained Do not use the values indicated by dotted lines shown in Fig 3 2 3 When an analog input value makes the digital output value exceed the maximum value 4095 8191 or 12287 or the minimum value 4096 8192 or 12288 at set resolution the digital output value is fixed at the maximum 4095 8191 or 12287 or the minimum value 4096 8192 or 512288 at set resolution 4 Always follow the conditions mentioned below when setting the offset gain values When a setting does not conform to the condi tion the appropriate voltage input characteristics are not guaran teed Gain value Offset value gt n woo fis wee feo 3 SPECIFICATIONS 3 2 2 Current input characteristics Fig 3 3 shows the current input characteristics when offset gain settings are changed 1 4000 1 8000 1 12000 Analog input practical range resolution resolution resolution 4095 8191 12287 Setting example 1 Offset 0 mA 2000 4000 Gain 5 mA Digital Setting example 2 output 0 0 Offset 4 mA value Gain 2
57. on trollers 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 1 GENERAL DESCRIPTION esee PEPPER 1 1 1 6 1 4 Features ehh hmmm e eee 1 4 1 1 1 A D and D A conversions coccoccoccccocnn rh 1 4 1 1 2 Simple loop control 62666666606 620 0640 0 0020 rn 1 5 1 1 3 Offset gain values and resolution 0 0 0 0 0 c cece eee tenes 1 5 2 SYSTEM CONFIGURATION 02 2c cece eee eee eee nsn nnn 2 1 2 2 3 SPECIFICATIONS 0 0 ccc cece cece 3 1 3 0 3 1 Performance Specifications llle 3 1 3 2 A D Conversion I O Characteristics llle res 3 3 3 2 1 Voltage input characteristics esee 3 4 3 2 2 Current input characteristics 6 eee 3 5 3 2 3 Relationship between offset gain settings and digital output value 3 6 3 3 D A Conversion I O Characteristics auauna IA 3 8 3 3 1 Voltage output characteristics 6 6 6 666002 6066206200 eee tenets 3 9 3 3 2 Current output characteristics 0 0 0 0 assessors rreren rererere 3 0 3 3 3 Relationship between offset gain settings and analog output value 3 11 3 4 FunctionS 0 0 cc hm ehm ern 3h ln 3 13 3 41 Enabling disabling conversion 0 00 cece eee een e 3 13
58. on may be delayed by up to one conversion processing time unit due to the timing of digital value writing of the PC CPU The response time of the amplifier which outputs data after D A conversion is 1 msec at maximum 5 Accuracy of max analog output value D A conversion vO characteristics 1 4000 1 8000 2 5 pA 3 SPECIFICATIONS MELSEC A Table 3 1 Performance Specifications Continued Absolute max output Voltage 12 V Current 28 mA Output D A Shorting Provided conversion protection rows Analog output points 1 channel Specific isolated Isolation Dielectric Insulation area method withstand voltage resistance Common to A Dand D a Solation Between I O terminal Photocoupler 500V AC for 1 measured with a 500V DC specification conversions and PLC power supply isolation minute ms 1 4000 7ms 1 8000 i6 Conversion speed in 4 9 ms 1 12000 simple loop control insulation resistance tester Number of occupying 0 points Connecting terminal base 20 point terminal base M3 5 x 7 screws Applicable wire size Applicable crimp terminal 1 25 3 5 1 25 YS3A 2 3 5 2 YS3A V1 25 M3 V1 25 YS3A V2 S3 V2 YS3A Internal current consumption Weight 6 The response time of the amplifier which outputs data after D A conversion is 1 ms Maximum conversion speed 1 A D conversion Conversion speed is defined by the ti
59. r current with which the following digital output values are obtained after A D conversion a 2000 at 1 4000 resolution b 4000 at 1 8000 resolution c 6000 at 1 12000 resolution Fig 3 1 shows an example of the I O characteristics of A D conversion of the A1S63ADA Example Voltage input with 1 4000 resolution setting 0 V offset value and 5 V gain value Analog input practical range Gain value Digital Offset value output value Analog input voltage V Fig 3 1 A D Conversion l O Characteristics 3 SPECIFICATIONS MELSEC A 3 2 4 Voltage input characteristics Fig 3 2 shows the voltage input characteristics when offset gain settings are changed 1 4000 1 8000 1 12000 l resolution resolution resolution Analog input practical range 4095 8191 Setting example 1 Offset 0 V 2000 4000 an 2 5 V Digital Setting example 2 output 0 0 Offset 0 V value Gain 5 V Setting example 3 Offset 5 V SRE oy Analog input voltage V 1 Digital Output Value Digital Output Value Setting with 3 V Analog Input with 3 V Analog Input Example No 1 4000 1 8000 1 12000 1 4000 1 8000 1 12000 resolution resolution resolution resolution resolution resolution 2400 4800 7200 2400 4800 7200 1200 2400 3600 1200 2400 3600 1066 2132 3198 266 532 798 Fig 3 2 Voltage Input Characteristics 1 Input voltage must be in 15 to 15 V range Whe
60. r supply module A1S6 P Main base Extension cable Extension base A1S3 B A1SC B A1S5 8 A1S6 B A1S63ADA This is not necessary when an A1S5 JB extension base unit is used Combination with the AS2GCPU T21B A52GCPU 7218 Extension base Extension cable A1S6 B A52GC B Lg Power RERA poule A1S63ADA 2 SYSTEM CONFIGURATION 1 Applicable CPU types e A1SJCPU S3 e A2SCPU S1 A52GCPU T21B e ATSJHCPU S8 e A2SHCPU S1 e ATSCPU S1 e A2ASCPU S1 S30 e ATSCPUC24 R2 e A2USHCPU S1 e ATSHCPU Q2ASCPU S1 Q2ASHCPU S1 2 Number of modules installed The number of modules to be installed is not limited as long as the number of I O points is within the I O point ranges of the applicable CPU 3 Installing slots The A1S63ADA can be installed to any slot in the base unit except the following cases When the A1S63ADA is installed to an extension base unit A1S52B A1S55B or A1S58B which is not equipped with a power supply mod ule the power supply capacity may sometimes be inadequate When installing the A1S63ADA to an extension base unit which is not connected to a power supply module consider the following items when selecting the appropriate power supply module main base unit extension base unit and extension cable 1 Current capacity of the power supply module on the main base unit 2 Voltage drop in the main base unit 3 Voltage drop in the extension base uni
61. range listed in the per formance specifications even when the input characteristics are changed by changing the offset gain settings Figs 3 4 and 3 5 show the overall accuracy of the voltage current in put characteristics Offset 0 V Gain 5 V Resolution 1 4000 Digital output value 0 Analog input voltage V Digital output value Analog input voltage mA 1 For the current input characteristics also the max digital output value is 4000 Fig 3 5 Overall Accuracy of the Current Input Characteristics 3 SPECIFICATION 3 3 D A Conversion I O Characteristics The I O characteristics of D A conversion are defined by the inclination of a straight line which passes the offset and gain coordinates when the digital value set with the PC CPU is converted to the analog value voltage or cur rent 1 An offset value is defined as an analog value voltage or current out put from the A1S63ADA when the digital input value is 0 2 A gain value is defined as an analog value voltage or current output from the A1S63ADA when the following digital values are input 1 4000 at 1 4000 resolution 2 8000 at 1 8000 resolution 3 12000 at 1 12000 resolution Fig 3 6 shows an example of the I O characteristics of D A conversion of the A1S63ADA Example Voltage output with 1 4000 resolution setting O V offset value and 10 V gain value Offset value Gain value Analo output d gt Analog ou
62. re set buffer memory will be overwritten However a setting error will occur and the A1S63ADA continues control with the data which is immediately before the setting error occured 3 6 15 Point coordinates setting Addresses 18 to 37 This is used for setting coordinates of points 0 to 9 on CH1 and CH3 1 CH1 coordinate setting a The setting range varies according to resolution setting 1 4000 4000 to 4000 1 8000 8000 to 8000 1 12000 12000 to 12000 b Setting condition is as follows Point n coordinate setting gt Point n 1 coordinate setting 2 CH3 coordinate setting The setting range varies according to resolution setting When values other than those mentioned above are set buffer memory will be overwritten However a setting error will occur and the A1S63ADA continues control with the data which is immediately before the setting error occured MEMO 4 PRE OPERATION SETTING PROCEDURES 4 PRE OPERATION SETTING PROCEDURES 4 1 Precautions for Handling This section gives the precautions for handling the A1S63ADA module 1 Since the case and the terminal block of the module are made of plas tic do not drop the module or subject the module to intensive me chanical shock 2 Do not remove the printed circuit board of any module from its case 3 When wiring take care to prevent entry of wire offcuts into the mod ule 4 Tighten the module mounting screws and terminal fi
63. s 0 tion is not set for A D conversion enabled 6 The channel designated with a FROM instruc 6 Check the content at buffer address 15 tion is not in the A D conversion completed state 7 The PC CPU s RUN LED is flashing or not lit 7 Check the CPU by referring to the PC CPU s User s Manual Analog values are not output Cause Corrective action 1 CH3 D A conversion value output enable Y10 1 Check the conditions for ON by monitoring signal is not ON with a peripheral device 2 CH3 is not set for D A conversion enabled 2 Check the content at buffer address O 3 The PC CPU is not in the RUN state 3 Set the PC CPU s key switch in the RUN position 4 The PC CPU s RUN LED is flashing or not lit 4 Check the CPU by referring to the PC CPU s User s Manual 5 Buffer addresses designated with a TO 5 Check the sequence program instruction are not correct 6 TROUBLESHOOTING o Analog value is output regardless of the ON OFF state of CH3 D A conversion value out put enable Y10 signal Cause Corrective action 1 The HLD CLR terminals between 2 and 4 are 1 Open the HLD CLR terminals between 2 and 4 shorted Simple loop control is not executed Cause Corrective action 1 The simple loop control execution enable Y11 1 Check the conditions for ON by monitoring signal is not ON with a peripheral device 2 The simple loop control in
64. t 4 Voltage drop in the extension cable Refer to the following manuals for the I O point ranges and the calculation procedure for voltage drop e type A1SJCPU S3 User s Manual ooooooccoocccon o 1B 66446 e type A1S A15C24 R2 A2SCPU S1 User s Manual 1B 66320 e type A2ASCPU S1 User s Manual 0006 1B 66455 e A522GCPU T21B User s Manual u 1B 66419 e A52GCPU T21B Reference Manual 1B 66420 type A1SJH S8 A1SH A2SHCPU S1 User s Manual 1B 66779 e type A2USHCPU S1 Users ManuUal 1B 66789 e Model Q2AS H CPU S1 User s Manual SH 3599 3 SPECIFICATIONS 3 SPECIFICATIONS This section gives the performance specifications functions I O signals and buffer memory of the A1S63ADA Refer to the applicable PC CPU user s manual regarding the general specifi cations of the A1S63ADA 3 4 Performance Specifications Table 3 1 gives the performance specifications of the A1S63ADA Table 3 1 Performance Specifications fem Specifications y Analog input Voltage 10 to 0 to 10 V DC input resistance 1 MQ Current 20 to 0 to 20 mA DC input resistance 250 Q Digital output 4096 to 4095 at 1 4000 resolution setting 8192 to 8191 at 1 8000 resolution setting 12288 to 12287 at 1 12000 resolution setting Digital value output Analog input 1 4000 1 8000 1 12
65. t to be so by 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 available 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 4 Exclusion of loss in opportunity and secondary loss from warranty liability Regardless of the gratis warranty term Mitsubishi shall not be liable for compensation of damages caused by any cause found not to be the responsibility of Mitsubishi loss in opportunity lost profits incurred to the user by Failures of Mitsubishi products special damages and secondary damages whether foreseeable or not compensation for accidents and compensation for damages to products other than Mitsubishi products replacement by the user maintenance of on site equipment start up test run and other tasks 5 Changes in product specifications The specifications given in the catalogs manuals or technical documents are subject to change without prior notice 6 Product application 1 In using the Mitsubishi MELSEC programmable logic controller the usage conditions shall be that the application will not lead to a ma
66. tant C TOP Hoooo K2 Do H8 j DoandD7 writing Top Heooo x wosoi K1 JG Count averaging CH3 D A conversion value output enable Output enable X0000 X0001 instruction Analog values after D A conversion on CH3 are output when Y10 is ON 5 PROGRAMMING e MELSEC A Simple loop control execution enable Execution enable X0000 X0001 instruction Simple loop control is executed f when Y11 is ON Simple loop control output calculation value Read Value after calculation is read when X0000 X0001 X0005 instruction HZ HOO00 kis De Ki X05 simple loop control in execu tion is ON CH3 upper lower limit cancel Limit cancel X0000 X0001 instruction The upper lower limits set with D2 H and D3 are canceled when Y13 is ON Error detection X0000 X0001 X0002 When the error detection X02 is H0000 16 09 K ON corresponding error code is read Error reset Error reset X0000 X0001 X0002 instruction HM H PLS Y0012 Error reset CIRCUIT END 5 PROGRAMMING 5 3 2 Simple loop control by coordinate designation 1 Programming procedure The programming procedure is as given below Not necessary when these are set by the user A D D A conversion enable disable setting address 0 Averaging time count setting addresses 2 and 3 CH3 output upper lower limit value setting addresses 4 and 5 Simple loop control type setting address 6
67. ter after Y1D has turned ON Resolution setting X00 x01 instruction HH MO Y10 442 res o SET MO 3 This setting cannot be made during the execution of simple loop control 3 SPECIFICATIONS MELSEC A 3 6 Buffer Memory 3 6 1 Buffer memory allocation The buffer memory allocation of the A1S63ADA is as given in the table be low Table 3 4 Buffer memory allocation Address Default 1 lo A D D A conversion enable disable setting lo See Section 3 6 2 A D conversion averaging setting lo See Section 3 6 3 CH1 averaging time count setting A See Section 3 6 4 Read write enable CH2 averaging time count setting i1 a CH3 output upper limit value setting 12000 See Section 3 6 5 ME CH3 output lower limit value setting 12000 e Simple loop control type setting lo Constant A setting o 8 Constant B setting io 9 Constant setting po 10 CH3 digital value setting lo i 6 o n CH1 A D conversion digital value lo See Section 3 6 9 12 CH2 A D conversion digital value lo 8 Read only 13 Simple loop control output calculation value See Section 3 6 10 4 Resolution setting E See Section 3 6 11 See Section 3 6 6 See Section 3 6 7 See Section 3 6 8 14 i 15 AD conversion completion flag o 16 Emorcode fo romo o te CH3 coordinates o o ASAS See Section 3 6 14
68. ting state Factory Settings Device No 1 4000 1 8000 1 12000 xe on or o x or on b XOA to XOC Voltage and current settings for each channel Factory Settings Device No User Setting Voltage wont oe on oF J won cre or o o xcu or on or 8 Y10 CH3 D A conversion output enable User Setting OFF OFF ON Analog value after D A conversion is output OFF Offset value is output This device is invalid when the HLD CLR terminal on the front side of the module is set for hold 9 Y11 Simple loop control execution enable ON Simple loop control is executed Data in buffer addresses 6 to 9 and 17 to 37 are checked Data in addresses 17 to 37 are checked according to the number of coordinate points set when address 6 contains 3 When there is no error the simple loop control in execution X05 turns ON and simple loop control is executed When an error occurs the error detection X02 turns ON OFF Ordinary D A and A D conversions are executed The simple loop control in execution X05 turns OFF ON i Y11 OFF X05 ON OFF The CH3 analog output value varies according to the state of simple loop control execution enable Y11 State of 71 Data for CH3 Analog Output Value ON simple loop control in execution oaloutation value loop control output OFF simple loop control not in execution Address 10 CH3 digital value setting
69. tives refer to Chapter 3 EMC Directives and Low Voltage Directives of the User s Manual Hardware included with the CPU module or base unit used The CE logo is printed on the rating plate on the main body of the PLC that conforms to the EMC directive and low voltage instruction By making this product conform to the EMC directive and low voltage instruction it is not necessary to make those steps individually RAL DE TION 1 GENERA SCRIP MELSEC A 1 GENERAL DESCRIPTION This user s manual explains the specifications functions and program ming of the A1S63ADA Analog Input Output Module hereinafter abbrevi ated to A1S63ADA 1 The A1S63ADA is a special function module equipped with two ana log input channels and one analog output channel In this manual analog to digital conversion of data is abbreviated to A D conversion and digital to analog conversion is abbreviated to D A conversion A1S63ADA Analog voltage current input Digital value output to CPU Analog voltage current input Digital value output to CPU Digital value input from CPU Analog voltage current output a A D conversion Analog input values such as voltage and current values are con verted to digital output values so that a PC CPU can process the values Digital values b D A conversion Digital input values are converted to analog output values such as voltage and current values V The various ran
70. tput voltage practical range 4095 Digital input value At 1 4000 digital value resolution Fig 3 6 D A Conversion I O Characteristics 3 SPECIFICATION MELSEC A 3 3 1 Voltage output characteristics Fig 3 7 shows the voltage output characteristics when offset gain settings are changed The chart on the right shows the 1 0 con version characteristics when offset gain settings are made as given below Ne Offset Value Gain Value Digital input value At 1 4000 digital value resolution r Example The analog output voltage when the digital input value is set at 2000 and 500 with the characteristics chart numbers 1 to 3 above is as follows Ne Digital Input Value Analog Output Value 1 2000 2 2000 E I I 3 Fig 3 7 Voltage output characteristics 3 SPECIFICATION MELSEC A 3 8 2 Current output characteristics Fig 3 8 shows the current output characteristics when offset gain settings are changed The chart on the right shows the I O con version characteristics when offset gain settings are made as given below C Ne oreet value Gaim varus Digital input value At 1 4000 digital value resolution r Example The analog output voltage when the digital input value is set at 2000 and 1000 with the characteristics chart numbers 1 to 3 above is as follows Fig 3 8 Current output character
71. urns ON when A D or D A conversion is ready 3 18 3 SPECIFICATIONS MELSEC A 3 X02 Error detection This device turns ON when an error other than a WDT error X00 occurs When this device turns ON an error code is stored to buffer address 16 and the RUN LED on the front side of the module starts flashing This device is turned OFF when the error reset Y12 is turned ON or when 0 is written to buffer address 16 When the error reset Y12 is turned ON buffer address 16 turns to 0 xoz ON OFF 4 Error occurs ON Y12 4 X03 CH3 output upper limit value hold This device turns ON when the digital value addresses 10 and 13 for D A conversion on CH3 exceeds the CH3 output upper limit value set ting address 4 and when the output is actually held when Y10 is ON This device turns OFF when CH3 upper lower limits cancel Y13 is ON Data to be held varies according to the state of the simple loop con trol execution enable Y11 ON simple loop control in execution Calculation value loop control output OFF simple loop control not in execution Address 10 CH3 digital value setting Example When resolution setting is 1 4000 and CH3 output upper limit setting address 4 is 2600 ON OFF N 1 Digital value gt CH3 output upper limit X03 Analog value output 2000 4000 L1 11 L 1 1 I 0 Digital value input
72. veraging setting e Address 2 CH1 averaging time count Address 3 CH2 averaging time count Address 11 CH1 A D conversion digital value e Address 12 CH2 A D conversion digital value Address 15 A D conversion completion flag Address 16 Error code AMMIN Offset gain values and resolution setting et Resolution X0000 X0001 instruction condition Y0018 Resolution condition Resolution Y0019 CH1 condition CH2 condition Yoo ON Current OFF Voltage CH3 condition ON M10 Stored to ATS63ADA when Y1D is turned ON Make an interlock so that this is done only once Initial setting X0000 X0001 CH1 and CH2 A D conversion enable CH1 averaging time A A D conversion completion flag reading CH2 averaging count DO and D1 writing CH1 Time averaging CH2 Count averaging Read X0000 X0001 instruction FROM HOO Kis vs Ki Digital value reading X0000 pani insuuction B0000 m B0001 A D conversion completion flag reading Read data is converted to bit device B When the A D conversion completion flag on CH is ON digital value is read 5 PROGRAMMING MELSEC A Error detection X0000 X0001 X0002 When the error detection X02 is mowe Hoooo k e D6 Ki ON corresponding error code is read Error reset Error reset X0000 X0001 X0002 command HH Yo0124 Error reset CIRCUIT END MELSEC A
73. wo dimensional coordinates a The calculation result is stored to buffer address 13 b CH2 can be used regardless of simple loop control c It is impossible to change the point and coordinate settings during the execution of simple loop control CH3 digital value 4000 Resolution 1 4000 TM 7 Point 3 A Point 2 Point 1 CH1 digital value 4000 4000 Connect Points from O to 4 with straight lines 3 SPECIFICATIONS MELSEC A 3 4 8 Analog output states and function settings The analog output state of CH3 varies according to HLD CLR terminals analog value external output enable disable and D A conversion en able disable settings and the state of PC CPU or 75 Table 3 2 gives the analog output states and function settings Table 3 2 Analog output state combinations Execution State HLD CLR Terminals Open Clear Shorted Hold Analog Value External Output Enable Y10 ON Disable Y10 OFF Enable Disable D A Conversion Disable Disable Disable Enable Disable EOE Enable e Enable m The value The value after D A after D A conversion Offset conversion fnalog ouinut tate when CPU ofthe Jowoma aues ovem OS qy o vioma SET B eU is is output output The analog Offset Offset Analog output state when CPU is value is 0 V OmA value is 0 V O mA value 0 V O mA in the STOP state output output before the put put CPU stops is held Analog output state when CP
74. xing screws as given below 5 To correctly install the module to the base unit insert the module mounting hook provided at the bottom of the module in the module mounting hole in the base unit And then secure the module by tight ening the module mounting screw To remove the module remove the module mounting screw first And then pull out the module so that the module mounting hook is removed from the hole in the base unit Module mounting Base unit screw Module Module connector Module mounting hook Module mounting hole 4 PRE OPERATION SETTING PROCEDURES MELSEC A 4 2 Part Names and Settings Description RUN LED This indicates the state of operation of the A1S63ADA Normal mode Lit Normal operation Flashing Data setting error Unlit 5V power failure or WDT error e Test mode Flashing Flashes at 0 25 sec intervals when the offset gain select switch is in the OFFSET or GAIN position Flashes at 0 1 sec intervals when a CH3 setting value exceeds allowable range when the UP DOWN switch is operated Unlit when the offset gain select switch is in the SET position RUN Channel and resolution This is used to select a channel to adjust offset gain and resolution select switch e Normal mode Invalid Test mode Valid Factory setting 0 Set value offeetaain Adjusting Channel Resolution s we am TT e TT s mT 4 PRE OPERATION SETTING PROCEDURES MELSEC A
75. y to ali channels 3 A D conversion at two channels and D A conversion at one channel are possible By using one A1863ADA module A D conversion at two channels and D A conversion at one channel are possible Selection of voltage and current can be made for each channel 4 Two processing methods are available with A D conversion a Sampling processing Digital values after A D conversion are consecutively stored to the buff er memory b Average processing Data collected in a preset time or number of times are averaged and stored to the buffer memory 5 A D or D A conversion is enabled or disabled A D or D A conversion is enabled or disabled with each channel When resolution setting is 1 4000 the sampling time for A D conver sion is 1 msec with one channel enabled and 2 msec with two channels enabled For D A conversion the sampling time is fixed since only one chan nel is available 6 Analog output value after D A conversion is enabled or disabled Analog output value after D A conversion is enabled or disabled Sequence programs can also be used for enabling or disabling the analog output values after D A conversion 7 D A conversion output can be held or cleared when the PC CPU is in the STOP state Analog output value after D A conversion when the PC CPU is in the STOP state can be held or cleared of set value or 0 V 0 mA by set ting with the HLD CLR terminal 8 Analog output
Download Pdf Manuals
Related Search
Related Contents
Black & Decker MX3500W_seriesIB_12425103 Use & Care Manual 取扱説明書 Copyright © All rights reserved.
Failed to retrieve file