Home

tw

image

Contents

1. T EA vs A pu 2 E 3 SD 4 Li C cou z Co jd P o B Es SLD Z A 9 C cou o a 3 i SLD 2 jm NG C com rm B Ou zs TE N 24 06 s T HNE E FG EN TL ER 0 20mA 90 23 E gt 112 27 4 Unit mm suoisuauuig jeuJe x3 e xipueddy 231 INDEX A CHO Wave pattern output count monitor Un G1124 to UnG1127 lessen 125 Adding a module 00000 eee e eee 135 CHO Wave pattern output repetition setting Analog output HOLD CLEAR function 34 Un G1056 to Un G1059 0 122 Analog output test when CPU module is in STOP status Current output characteristic 27 Laude ile cia eie sstea ex ed 37 Applicable software packages 20 D Auto refiesh s ceo RE ERE nee Th OR Aw IET 138 D A conversion enable disable function 33 C D A conversion enable disable setting Un GO 109 ee D A output enable disable function 33 CH1 Industrial shipment settings offset value Un G202 to CH4 User range settings gain value Un G217 E vuota en sg Glee sete DU de Ee tU elena 117 CH1 Wave output conversion cycle monitor L Error clear function 3 9o a uo ERE RO ees 92 Un G1108 to CH4 Wave output conversion cycle Error clear request YF 0000 100 monitor H UmG1115 2 eee ee eee 125 Erroriflag XE
2. adjustment value Adjusts the analog output value M6 XOA f LSET YOC J Turns on Set value change request YC X0C LRST YOC J Turns off Set value change request YC Registers the Offset gain setting result to the modules M5 hf MOVP K1 D2 Stores the setting data of the dedicated instruction G OFFGAN in D2 G OFFGAN uo D2 Dedicated instruction G OFFGAN ISwitches to the Offset gain setting channel TT i 1 r 4 Sets the offset gain setting mode 1 I LMOV Hi DO Stores the channel number to DO i 1 1 H M2 M3 X0A 7 UO M I 1 M H LMOV DO G22 J Specifies the offset target channel l 1 I i UO J 1 MOV KO G23 Sets the buffer memory address 23 to 0 T si I 1 I i M2 M3 X0A UO I f H H LMOV KO G22 J Sets the buffer memory address 22 to 0 1 1 1 UO l I iwov DO G23 Specifies the gain target channel 1 1 1 I M4 X0A 1 l H LSET YOB J Turns on Channel change request YB l 1 1 X0B i LRST YOB J Turns off Channel change request YB Sets the changed value in one time for the range between 3000 and 3000 when adjusting M8 I i LMOV K100 D1 J Sets the adjustment of offset value to D1 i 1 1 I r uoi 1 Sets the value in D1 as an offset gain I LMOV D1 G24 J 1 I i i I i I 1 l I 1 I I 1 i I i I i i I I
3. Device W1 CH1 Digital value W2 CH2 Digital value W1008 Warning output flag W1010 Error code M20 to M27 Warning output flag X1000 Module READY X1007 External power supply READY flag X100E Warning output signal X100F Error flag D A converter module Y1001 CH1 Output enable disable flag X Y1000 to X Y100F Y1002 CH2 Output enable disable flag Y100E Warning output clear request Y100F Error clear request X21 Batch output enable signal X22 Digital value write command input signal QX10 X20 to X2F X24 Warning output reset signal x25 Error reset signal Y30 to Y3F Error code notation BCD 4 digits QY10 Y30 to Y3F 160 CHAPTER 9 PROGRAMMING 2 Program example Writes a digital value X22 yi ae 1 I MOV K10000 w1 J CH1 Digital value setting MOV K8000 w2 CH2 Digital value setting Configures the setting to enable analog output X21 x1 an 1 I SET Y1001 CH1 Output enable disable flag SET Y1002 CH2 Output enable disable flag x21 M LRST Y1001 4 CH1 Output enable disable flag X1000 2 4 ME RST Y1002 J CH2 Output enable disable flag X1007 WF Reads the warning output flag X1000 a MOV W1008 K2M20 CH2 Check for the warning output M imi CH2 Processing at the warning output Processing at the warning output upper limit S 9 g outp upper limit M23 i 2 Processing at the warning output lower
4. b15 to b8 b7 to bO Un G1810 Error code Un G1811 First two digits of the year Last two digits of the year Un G1812 Month Day Un G1813 Hour Minute Un G1814 Second Day of the week Un G1815 to System area Un G1819 Item Stored data Example First two digits of the year bd 2011 Last two digits of the year Month Day Stored in BCD code 3294 Hour Minute 1035 Second 404 The value that corresponds to the day of the week is stored in BCD code Sunday 0 Monday 1 Day of the week Tuesday 2 Wednesday 3 2H Thursday 4 Friday 5 Saturday 6 1 Those are values when an error occurs at 10 35 40 on Tuesday March 29th 2011 Point The same process for errors is used when an alarm occurs Once the error history storage area becomes full subsequent error information will overwrite the existing data starting from Error history No 1 Un G1810 to Un1G1819 and continues sequentially thereafter The existing data is deleted The stored error history is cleared when power supply is turned off or when the CPU module is reset 88 2 Checking error history The start address of the latest stored error can be checked in Latest address of error history Un G1800 Ex 1 When the third error occurs The third error is stored in error history No 3 and the value 1830 start address of error history No 3 is stored to Latest address of error history Un G1800 L
5. m CEDE nU a n BEEEEEEXEEXXUDEEEUE 2 When using GX Developer open the Device test window X Online 2 Debug lt gt Device test 5 Enterand display the buffer memory address of D A conversion enable disable setting UnYGO l To the next page weJ6olg eouenbes e Buis peun amp ijuo ey sues eniu pue pasn s eBues jueuudius jeujsnpu ue ueuM 90L 179 From the previous page i Modify Value Device Label Buffer Memory Device Label Yi Data Type Bit OEF Snitch ON OFF r Settable Range Execution Result Execution Result Device Label Data Type Setting Value vi Bit ON v9 Bit OFF yo Bit ON Module Start 0000 A Word Signed 10000 D Module Start 0000 A Word Signed E H Reflect to Input Column Delete C 9 Set D A conversion enable disable setting Un GO to Enable 0 for the channel used Enter and display the buffer memory address of CHO Digital value Un G1 to Un G4 of the channel used Set a digital value for CHO Digital value Un G1 to Un G4 Turn on Operating condition setting request Y9 10 Check that Operating condition setting completed flag X9 turns off and turn off Operating condition setting request Y9 11 Turn on CHO Output enable disable flag Y1 to Y4 for the channel used to check that the D A conversion is performed properly Note that the analog output is actually performed
6. 34 Diagnostics gt Online Module Change Module Change Execution HO Address poon 2 Click the Installation Module Name Q64DAH Confirmation EE to resume control Module READY X0 turns on Module Control Change Module Installation Completion Restart button on the appeared window Status Guidance he controls such as 1 0 FROM TO instruction executions and tomatic refresh For the installed module are restarted lease confirm the parameter setting wiring etc and press completed utton Cancel 3 The online module change is completed MELSOFT Application x e W Online module change completed uonounJ uoneunBijuo y Buisn 19S eJy sjejeueJeg pue p sn s ebuey jueuudius jeunsnpu ue ueuA SOL 175 10 6 When an Industrial Shipment Range Is Used and Initial Settings Are Configured Using a Sequence Program 1 Stopping operation Device Buffer Memory Batch Monitor 1 Monitoring C Device Name m eset val Buffer Memory Module Start 0000 Tz HEX Address o bec Display Format vey vee 2 mti 32 27 no oca open swe errem Address F E D C BJA 9 8 7 6 5 4 3 2 10 0 000 000 000 00 of MMO 1 1 00 0 00 0 00 000 000400 o 2 o oloo ololololololololol 0 00 Modify Value DevicejLabel Buffer Memory Device Label Y9 Data Type Bit v ON H Switch ON OFF
7. Description and the error cause Action decimal When using the wave output mode set an output range other than the user range on the intelligent function Both the user range and a wave output mode are set in the AM module switch setting in the parameter setting 220 intelligent function module switch setting Um When using the user range set the normal output mode The channel where the error has occurred fits in O to Switch 4 on the intelligent function module switch setting in the parameter setting Set one of the following to CHO Wave output start stop A value other than 0 to 2 is set to CHO Wave output request Un G1000 to Un G1003 2301 start stop request Un G1000 to Un G1003 Wave output stop request 0 The channel where the error has occurred fits in L1 Wave output start request 1 Wave output pause request 2 Set one of the following to CHO Output setting during A value other than 0 to 2 is set to CHO Output setting wave output stop Un G1008 to Un G1011 sor during wave output stop Un G1008 to Un1G1011 0V OmA 0 The channel where the error has occurred fits in L1 Offset value 1 Output value during wave output stop 2 Set a value within the following range to CHO Output value A value outside the setting range is set to CHO during wave output stop Un G1016 to Un G1019 2 Output value during wave output stop Un G1016 to 3101 according to the
8. setting Un GO D A conversion enable 0 CHO Output enable disable ORE i flag Y1 to Y4 CHO Wave output start stop Wave output stop Wave output stop Wave output start request Un G1000 to Un G1003 request 0 request 0 request 1 CHO Wave output status monitor Wave Un G1100 to Un G1103 Wave output stop 0 output 1 output 1 Wave data Wave output Analog output stops Wave output does not resume Output set in CHO Output setting during wave output stop Un G1008 to Un G1011 Offset value The offset value T d is output 1 Wave output starts when CHO Wave output start stop request Un G1000 to Un G1003 is changed from Wave output stop request 0 to Wave output start request 1 74 CHAPTER 4 FUNCTIONS 3 When the error error code 600 has occurred When the value to be output is out of the output range an error occurs The error code 600 is stored in Latest error code Un G19 Error flag XF turns on and ERR LED turns on When the error error code 600 occurs during the wave output the analog output value becomes as follows If the value to be output is greater than the maximum value of the output range the maximum value of the output range is output in analog If the value to be output is smaller than the minimum value of the output range the minimum value of the output range is output in analog When t
9. ON Channel change completed n P flag XB OFF 1 OFF ON jj H Channel change request YB OFF a OFF 96 CHAPTER 5 I O SIGNALS ASSIGNED TO THE CPU MODULE 6 Set value change completed flag XC When the offset gain setting is adjusted use Set value change completed flag XC as an interlock condition to turn on and off Set value change request YC For the offset gain setting refer to the following e Offset gain Setting gt Page 139 Section 8 5 Controlled by the D A converter module gt Controlled by the sequence program ON Set value change completed flag XC P E OFF T ON i Set value change request E J YC OFF 7 Warning output signal XE In D A conversion enabled channels if any digital value exceeds the warning output upper limit value or is below the warning output lower limit value Warning output signal XE turns on gt Controlled by the D A converter module gt Controlled by the sequence program Latest error code Un G19 0 X Warning XK 0 1 r 1 ON 3 Warning output signal XE E OFF _ HN ON i Warning output clear request y H YE or Operating condition OFF setting request Y9 a Turning off Warning output signal XE Correct the digital value so that the value is within the range between the warning output upper limit value and the warning output lower limit value
10. 6 Wave pattern output count The wave pattern can be output repeatedly according to the setting of CHO Wave pattern output repetition setting Un G1056 to Un G1059 Set the output count within 1 to 32767 The wave pattern also can be output in analog repeatedly and unlimitedly Ex When the wave pattern output count is set to three The wave pattern is Analog output output 3 times repeatedly Wave pattern gt After the wave pattern was output 3 times wave output stops and an analog value is output according to the setting in CHO Output setting during wave output stop Un G1008 to Un G1011 CHAPTER 4 FUNCTIONS The following section describes repeat control in which the same wave pattern is output repeatedly from the D A converter module a When the digital values are same for the start point and the end point An end point of a wave pattern overlaps with the start point of the wave pattern of the next iteration in the D A converter module s processing therefore the end point is not output in analog The analog output of the wave pattern end point varies as follows depending on the setting of CHO Wave pattern output repetition setting Un G1056 to Un G1059 Limited repetition When CHO Wave pattern output repetition setting UnXG1056 to Un G1059 is set to 2 to 32767 the digital value of the end point is not output in analog till the wave pattern of the final iteration output After the digital
11. Subject to be controlled 3 Register the wave data to the wave data registry area in the D A converter module using a function block FB for wave data registration 46 CHAPTER 4 FUNCTIONS 1 Wave output function procedure The following shows how to use the wave output function Initial settings of the wave output function L gt Page 54 Section 4 8 1 Creating wave data lt Page 54 Section 4 8 1 1 Setting parameters of the wave output function lt gt Page 60 Section 4 8 1 2 Writing data to a file register ZR or CSV file Page 62 Section 4 8 1 3 Switch setting and basic setting Page 65 Section 4 8 1 4 Execution of the wave output function lt Page 67 Section 4 8 2 Registering the wave data and parameters of the wave output function lt gt Page 67 Section 4 8 2 1 Starting stopping pausing wave output Page 68 Section 4 8 2 2 uonounJ 1ndino 9 eM gY End The wave data creation and parameter setting of the wave output function can be executed easily with Create Wave Output Data of GX Works2 These setting contents are saved in the file register ZR of the CPU module or in a CSV file and registered to the buffer memory of the D A converter module with the function block FB for the wave data registration For details on the function block FB for the wave data registration and
12. Dummy Connection number Setting range 1 to 16 Start number of the device from which control data are stored Start number of the device which tums on for one scan upon completion of the instruction 8 1 also tums on when failed Descriptions of 2 Control data Device item control data if any Description 0 System area Completion eu Completion status is stored 00001 Completed Other than 0000 Failed Error code Detailed descriptions of the instruction Conditions for the error and error codes For the errors not described in this manual refer to the following LL QCPU User s Manual Hardware Design Maintenance and Inspection Simple program example s and descriptions of the devices used 12 instruction closes a connection specified in amp Disconnection of a connection 38015208 dS uonseuuos v BUNDOUUCOSIT Execution condition of the instruction Structure of the instruction in the ladder mode Setting side User Device value is set by the user System Device value is set by the CPU module The result of the SP SOCCLOSE instruction can be checked with the completion device 0 and 1 Completion device 0 Turns on in the END processing of a scan after completion of the SP SOCCLOSE instruction and tums off in the next END processing Completion device 1 Turns on or off according to the resul
13. GX Works2 GX Developer The Product name of the software package for the MELSEC programmable controllers Buffer memory values for communication with a CPU module The memory of an intelligent function module used to store data such as setting values and monitored Normal D A Converter Processing Mode Offset Gain Setting Mode The setting value of the drive mode setting in the switch setting of an intelligent function module PACKING LIST The product package contains the following Model Product Quantity Q64DAH The Q64DAH high speed digital analog converter module 1 14 Before Using the Product BCN P5979 1 CHAPTER 1 OVERVIEW CHAPTER 1 overview 1 1 Features 1 Improved response by high speed conversion The high speed conversion speed of 20us channel is achieved 2 Detailed control by high resolution In all analog output ranges the high resolution of 1 20000 is achieved 3 Reliability by high accuracy The high accuracy is achieved for the maximum value of analog output value 0 1 ambient temperature 25 5 C and 0 3 ambient temperature 0 to 55 C 4 Scaling function This function converts a digital value to the ratio value 96 in any width to represent the digital value in a numeric value easy to understand 5 Error detection and monitoring When the digital value exceeds the specified range the module detects a warning so tha
14. iim a ES YOA Turns on User range writing request YA X0A T i W RST YOA Turns off User range writing request YA Switches to the normal output mode EEE ET EE M5 i p q Stores the setting data of the dedicated LMOVP KO b2 instruction G DFFGAN in D2 G OFFGAN UO D2 Dedicated instruction G DFFGAN X0A H Processing in normal output mode END Point The sequence program enclosed by the dotted line is the common programs among the following three programs Switching the mode using the dedicated instruction G P OFFGAN Switching the mode by setting Mode switching setting Un G158 Un G159 and using Operating condition setting request Y9 Switching the mode using the intelligent function module switch setting 144 CHAPTER 8 VARIOUS SETTINGS c Switching the mode by setting Mode switching setting Un G158 Un G159 and using Operating condition setting request Y9 Normal output mode initial setting X0 SET M100 M100 M50 M51 Y9 x9 UO Mr ME ME i MOV HO GO D A conversion enable disable setting TO Setting program for other initial setting items SET v9 Turns on Operating condition setting request Y9 RST M100 X0 M50 M51 9 X9 E A H E A RST Y9 Switches to the offset gain setting mode M5 X0 X0A UO ie Pm 9 M iMO
15. 148 CHAPTER 9 PROGRAMMING 9 2 1 Program example when using parameters of intelligent function module 1 Device for users Device Description D1 CH1 Digital value D2 CH2 Digital value D8 Warning output flag D10 Error code M20 to M27 Warning output flag X0 Module READY XT External power supply READY flag XE Warning output signal XF Error flag D A converter module X YO to X YF Y1 CH1 Output enable disable flag Y2 CH2 Output enable disable flag YE Warning output clear request YF Error clear request X11 Batch output enable signal X12 Digital value write command input signal QX10 X10 to X1F X14 Warning output reset signal X15 Error reset signal Y20 to Y2F Error code notation BCD 4 digits QY10 Y20 to Y2F 2 Parameter setting Set the contents of initial settings in the parameters Project window c Intelligent Function Module gt Q64DAH gt Parameter V 0000 064DAH Parameter DERK Display Filter Display all s Item E Basic setting Sets mi D A conversion enable disable setting Warning output function Sets for warnings on D A conversion Warning output setting 1 Disable O Enable 1 Disable 1 Disable Warning output upper limit value o 10000 Warning output lower limit value 10 3000 it Scaling function Sets for scaling on D A conversion Scaling enable disable setting O Enable 1 Disable 1 Disable 1 Disable Scaling
16. 221 NvOddO d O xpueddy uononujsu pejeoipeq xipueddy 3 Errors The instruction has no errors 4 Program example The following shows the sequence program of the D A converter module installed in I O number X Y10 to X Y1F with the following conditions Turning on M10 switches the mode of the D A converter module to the offset gain setting mode Turning off M10 restores the mode of the D A converter module to the normal output mode Switches to the offset gain setting mode ME MOVP Ki D1 Stores the setting data of the dedicated instruction G OFFGAN in D1 G OFFGAN Ui D1 Dedicated instruction G DFFGAN XIA Performs processing required for the offset gain setting Switches to the normal output mode M10 Stores the setting data of the dedicated EMONE RO pi J instruction G OFFGAN in D1 G OFFGAN ui D1 Dedicated instruction G OFFGAN XIA AF Performs processing of the normal output mode END 222 APPENDICES Appendix 1 2 c P ocLoAD Command G OGLOAD JL G OGLOAD Un D E Command GP OGLOAD _f gt GP OGLOAD Un E Setting Internal device JOO R ZR UL Zn Constant Others data Bit Word Bit Word S o O 1 Setting data Device Description Setting range Data type Un Start I O number of the module 0
17. Functions methods and devices for programming 2 Programming manual Manual name lt manual number model code gt Description MELSEC Q L Programming Manual Common Instruction lt SH 080809ENG 13JW10 gt Detailed description and usage of instructions used in programs 3 Operating manual Manual name lt manual number model code gt Description GX Works2 Version 1 Operating Manual Common lt SH 080779ENG 13JU63 gt System configuration parameter settings and online operations of GX Works2 which are common to Simple projects and Structured projects GX Developer Version 8 Operating Manual lt SH 080373E 13JU41 gt Operating methods of GX Developer such as programming printing monitoring and debugging CONTENTS SAEETYGBPRECAUTIONSI E Tr cree LT cT T T AE 1 CONDITIONS ORUWUSE FOR MHE PRODUCTE m 5 INTRODUCTION e A a e TE M UR A I a RAR AA AE DE uc EA A 6 COMPLIANCE WITH EMC AND LOW VOLTAGE DIRECTIVES 0 000 cece ence nee 6 SEBEVANIBSMANUALESSTE ER Euer nen ery re Saye quie ERE 7 MANUAISPAGEIORGANIZATIONBES TRO PP M CT 11 TERMS SORT Sn n tole ev M SU OU MET TII EH TEE Pe ERE d Ie IR UE PE DIU E ET 14 PACKING LIS TEES omo eT Ere ratte eas eee PN PER MEC er rime neem eats raceme rere eee AE 14 CHAPTER 1 OVERVIEW 15 14 Fe atures ioa bv e tee exime he PA ae See e Peas 15 CHAPTER 2 SYSTEM CONFIGURATION 17 2 1 Applicable Systems edet erar eeiam e
18. Un G5001 Un G5002 Un G5003 8 Set Step action wave output request Un G1072 to OFF 0 N Current address 82 Un G14988 Un G14989 Un G14990 Un G14991 Un G14992 Un G14993 Un G14995 Un G14994 1000 I Analog output digital value 5V ov 10V l Analog output value Un G14996 Un G14997 Un G14998 Un G14999 Un G15000 9 The D A converter module accepts the request The wave output status is changed to the wave output stop 9 The value is output according to the setting in CHO Output setting during wave output stop Un G1008 to UnXG1011 2 2 This graph shows the value when CH Output setting during wave output stop Un G1008 to Un G1011 is set to OV OmA 0 CHAPTER 4 FUNCTIONS 1 Operation of the wave output step action function The wave output step action function is executed as follows Step action wave output request Un G1072 OFF 0 ON 1 CHO Wave output status monitor Un G1100 to Un G1103 Wave output step action 3 CHO Wave output step action movement amount No movement 0 Un G1080 to Un1G1083 No movement 0 No movement 0 CH1 Wave output current address monitor L Un G1132 to CH4 Wave output current address monitor H UnG1139 Current addres
19. Analog Output HOLD CLEAR Function lt _ gt Page 34 Section 4 4 136 CHAPTER 8 VARIOUS SETTINGS 8 3 Parameter Setting Set the parameters of each channel By setting the parameters the setting by programming is not required 1 Setting procedure Open the Parameter window 1 Start Parameter Project window c Intelligent Function Module gt module name c Parameter V 0000 Q64DAH Parameter Display Filter Display All x Item CH1 CH2 Basic setting Sets method of D A conversion control Items to be selected from Wis rave O Enable v Disable 1 Disable 1 Disable pull down menus i Talat iei Uo UON 1 Disable 1 Disable Warning output upper limit value 0 0 0 Warning output lower limit value 0 0 0 Scaling function Sets for scaling on D A conversion Scaling enable disable setting i 1 Disable 1 Disable 1 Disable Scaling upper limit value o 0 Scaling lower limit value 0 Items to be entered in the text boxes Sets whether to permit or prohibit D A conversion 2 Double click the item to change the setting and input the setting value tems to input from the pull down list p Double click the item to set to display the pull down list Select the item y Items to input from the text box g Double click the item to set and input the setting value g o 3 For setting CH2 to CH4 follow the operation of step 2 9 Item Setting v
20. W Online module change completed a 1 Open the Online Module Change window again Diagnostics gt Online Module Change 2 Click the to resume control Module READY X0 turns on button on the appeared window 3 Theonline module change is completed CHAPTER 10 ONLINE MODULE CHANGE 10 9 Whena User Range Is Used and Initial Settings Are Configured Using the Configuration Function Without Another System 1 Stopping operation Device Buffer Memory Batch Monitor 1 Monitoring Device Device Name z Buffer Memory Module Start 0000 HEX Address o Display Format x oec x Mody Value 2 Bmi S22 Gd ec l 16 vetais oven save fem od Address 0 0 00 0 0 00 a FE D c 6 A 9 8 7 615 4 ojo o o olo olo olol ol o 08M liio 14 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Modify Value Device Label Buffer Memory Device Label v9 Data Type Bit zl ON Switch ON OFF Settable Range Execution Result Execution Result Device Label Data Type Bit Bit Module Start 0000 A Word Signed Reflect to Input Column Delete C L To the next page Setting Value OFF ON F H Open the Device Buffer Memory Batch Monitor window Online lt gt Monitor lt gt Device Buffer Memory Batch Enter and display the buffer memory address o
21. 1 Wave output starts when CHO Wave output start stop request Un G1000 to Un G1003 is set to Wave output start request 1 2 To execute wave output again change CHO Wave output start stop request Un G1000 to Un G1003 to Wave output stop request 0 then to Wave output start request 1 3 Wave output stops when CHO Wave output start stop request Un G1000 to Un G1003 is set to Wave output stop request 0 during the wave output 68 CHAPTER 4 FUNCTIONS c Pausing the wave output To pause the wave output set CHO Wave output start stop request Un G1000 to Un G1003 to Wave output pause request 2 When Wave output start request 1 is changed to Wave output pause request 2 the wave output is paused Wave output pause 2 is stored to CHO Wave output status monitor Un G1100 to Un G1103 To resume the wave output change CHO Wave output start stop request Un G1000 to Un G1003 from Wave output pause request 2 to Wave output start request 1 The wave output is resumed from the paused point When CHO Wave output start stop request Un G1000 to Un G1003 is set to Wave output pause request 2 during the wave output stop the digital value of the wave pattern start address is output in analog after the D A conversion CPU module status RUN D A conversion enable disable setting Un GO D A conversion enable 0 CHO Output enable di
22. 4 i2 1102 44Eu CH3 Wave output status monitor 0 1103 44Fy CH4 Wave output status monitor 0 1104 4504 to to System area 1107 4534 1108 4544 CH1 Wave output conversion cycle monitor L 1109 4554H CH1 Wave output conversion cycle monitor H i i 1110 4564 CH2 Wave output conversion cycle monitor L 1111 4574H CH2 Wave output conversion cycle monitor H 7 1112 4584 CH3 Wave output conversion cycle monitor L 1113 4594 CH3 Wave output conversion cycle monitor H 1114 45Au CH4 Wave output conversion cycle monitor L 1115 45By CH4 Wave output conversion cycle monitor H 5 1116 45Cy to to System area 1123 4634 1124 4644 CH1 Wave pattern output count monitor 0 R 1125 465 CH2 Wave pattern output count monitor 0 R 1126 466 CH3 Wave pattern output count monitor 0 R 1127 467 CH4 Wave pattern output count monitor 0 R 1128 4684 to to System area 1131 46By 1132 46Cy CH1 Wave output current address monitor L 1133 46D CH1 Wave output current address monitor H 1134 46Ey CH2 Wave output current address monitor L 1135 46F CH2 Wave output current address monitor H i 1136 470 CH3 Wave output current address monitor L 1137 4714 CH3 Wave output current address monitor H i 1138 4724 CH4 Wave output current address monitor L 1139 473y CH4 Wave output current address monitor H 1140 4744 to to System area 1147 47By 1148 47Cy CH1 Wave output current digital value monitor 0 R 1149 47Dy CH
23. Wave pattern data points setting This setting is not required because the data points of the wave pattern to be used are stored automatically Wave pattern output repetition setting Set the repeat count to output the wave pattern repeatedly 1 Unlimitedly repeat output 1 to 32767 default value 1 60 CHAPTER 4 FUNCTIONS Item Description Setting range Set how much to multiply the conversion speed in the wave output mode 50us or 80us The conversion cycle of the wave output is determined from the combination of the conversion speed number of channels for which D A conversion is enabled and this setting 1 to 5000 default value 1 For the calculation method of the wave output conversion cycle refer to the following Constant for wave output conversion cycle Wave output conversion cycle 7 Page 53 Section 4 8 7 3 Click the button The created wave pattern and the parameter setting of the wave output function are saved Save Wave Output Data to File Save in 3 Wave output data J 0am Te My Recent Documents Desktop My Network File name 20120216 hd Save Places E seu Cancel MELSOFT Series GX Works2 Li l1 Data for wave output saved uoljoun nding 9AeM g p uonounij 1ndino snem du jo sumes jepu Lg 61 3 Writing data to a file register ZR or CSV file Write the wave data and the parameter setting of the w
24. output range Section 4 7 This function imports the prepared wave data digital value and outputs the data analog value in the set conversion cycle A faster and smoother control than a sequence program is achieved by the automatic A output of the control wave data registered in the D A converter module for the analog Page 46 Wave output function d oA de F torque control such as pressing machines and injection molding units The control Section 4 8 can be executed only by registering the wave data to the D A converter module Therefore the program less control is available for the repeat control such as the line control and man hours for programming can be reduced This function changes addresses and data values to be output to change the analog Wave output step action output flexibly at any timing in the wave output mode Page 80 function This function is useful for the analog output test in the wave output mode and for Section 4 8 4 debugging the wave output function This signal turns on when the external power supply 24VDC is supplied Page 94 External power supply READY flag X7 When the flag is off OV OmA are output to analog output values regardless of other Section 5 2 1 E settings 2 This function stores up to 16 errors and alarms that occur in the D A converter Page 88 Error log function module to the buffer memory as history Section 4 9 This function collects the errors and alarms that occur in the D A co
25. 1 Stopping operation 9 Device Buffer Memory Batch Monitor 1 Monitoring Device C Device Name z G Buffer Memory Module Start 0000 HEX Address o a foec Display format Modify Value 2m 32 22 E nse E 16 ous open save fE play com zl Address sla 3 o oW 0 I oo 0 0 olo 0 a Modify Value Device Label Buffer Memory Device Label s zi Data Type Bit x ON E Switch ON OFF r Settable Range Execution Result Execution Result Data Type Setting Value Bit OFF Bit ON Module Start 0000 A Word Signed F H Device Label Reflect to Input Column Delete C Open the Device Buffer Memory Batch Monitor window X Online gt Monitor gt Device Buffer Memory Batch When using GX Developer open the Device test window Online gt Debug 2 Device test Enter and display the buffer memory address of D A conversion enable disable setting Un GO Set D A conversion enable disable setting Un GO to Disable 1 for all channels Turn on Operating condition setting request Y9 Check that the D A conversion has stopped and the analog output value is 0V OmA After checking the analog output value check that Operating condition setting completed flag X9 turns off then turn off Operating condition setting request Y9 187 wajsks Jeaujouy ym wes6oig souenbas e B
26. 35 36 Point The following describes the conditions for using the analog output HOLD CLEAR function with a MELSECNET H remote I O station Use the master module and remote I O module of the function version D or later Enable the station based block data assurance of the cyclic data on the send side Configure the setting through Error Time Output Mode of the I O assignment setting to hold the D A conversion output when a link error occurs The HOLD CLEAR setting configured from the Switch Setting of the intelligent function module will be disabled This setting is enabled for each module Setting by each channel is not available Therefore set the HOLD CLEAR function to the same setting for all channels to match the output status when a CPU module causes a stop error or actually stopped and when a link error occurs po Project window gt Parameter gt PLC Parameter gt I O Assignment c i button Intelligent Function Module Detailed Setting me Ee E Peer e ae iClear 5 Stop z 3 s io 9 9 X ii 10 10 12_ 11 11 X 13 12 12 14 r3 13 lt 5 15 14 14 1 Setting should be set as same when using multiple CPU i p HOLD CLEAR setting Operating status Error time output mode p All channels should be the same settings Holds the analog output Hold HOLD Clears the a
27. Multiple CPU system Version 7 10L or later Q12PRH Q25PRHCPU Q00UJ Q00U Q01UCPU Redundant system Single CPU system Multiple CPU system Version 8 45X or later Version 8 76E or later Q02U Q03UD Q04UDH QO6UDHCPU Single CPU system Multiple CPU system Version 8 48A or later Q10UDH Q20UDHCPU Single CPU system Multiple CPU system Version 8 76E or later Q13UDH Q26UDHCPU Single CPU system Multiple CPU system Version 8 62Q or later QOSUDE Q04UDEH Q0GUDEH Single CPU system Version 8 68W or later Q13UDEH Q26UDEHCPU Multiple CPU system Single CPU system Q10UDEH Q20UDEHCPU Version 8 76E or later Multiple CPU system Single CPU system Q50UDEH Q100UDEHCPU Multiple CPU system QO3UDV Q04UDV Q06UDV Q13UDV Q26UDVCPU Single CPU system Multiple CPU system N A If installed ina MELSECNET H remote I O station 4 GX Configurator DA does not support the D A converter module When using GX Developer create a sequence program for initial settings and auto refresh setting 20 Version 6 or later Version 1 98C or later CHAPTER 2 SYSTEM CONFIGURATION 2 2 How to Check the Function Version and Serial Number The function version and serial number of a D A converter module can be checked on the rating plate front part of the module or system monitor of the programming tool 1 Checking on the rating plate The rating plate
28. e Offset gain Setting 7 s Page 139 Section 8 5 b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 bO 0 0 0 0 0 0 0 0 04 0 0 O CH4 CH3 CH2 CH1 Offset gain setting mode Offset specification Un G22 Offset gain setting mode Gain specification g g q oq o01 101 01 010101010 IcuHalcHslcH2lcH1 Un G23 Jj Yt v Data for b4 to b15 are fixed to 0 1 Setting target channel 0 Invalid a Default value All channels are set to Invalid 0 b Enabling the setting Turn on and off Channel change request YB to enable the setting Point Only one channel can be specified at a time When multiple channels are set at a time the offset gain setting mode error occurs The error code 500 is stored in Latest error code Un G19 Error flag XF turns on and ERR LED turns on 8 Offset gain adjustment value specification Un G24 This area is for setting the adjustment value of analog output value in the offset gain setting mode Ex The setting value of 1000 corresponds to the analog adjustment value of approx 0 33V in voltage output or approx 0 69mA in current output a Setting range The setting range is as follows Setting range 3000 to 3000 b Enabling the setting Turn on and off Set value change request YC to enable the setting 111 sesseJppy Aioweyy Jejng Jo seq z 9 9 HOLD CLEAR function setting Un G26 The HOL
29. 1 the wave output is started b Stopping the wave output To stop the wave output during the wave output set CHO Wave output start stop request Un G1000 to Un G1003 to Wave output stop request 0 When Wave output start request 1 or Wave output pause request 2 is changed to Wave output stop request 0 the wave output is completely stopped When the wave output is stopped Wave output stop 0 is stored to CHO Wave output status monitor Un G1100 to Un G1103 The wave output cannot be resumed at the stop point When the wave pattern outputs for the count set in CHO Wave pattern output repetition setting Un G1056 to Un G1059 are finished the wave output is also stopped CPU module status RUN D A conversion enable disable setting Un GO D A conversion enable 0 CHO Output enable disable 2 flag Y1 to Y4 OFF ON CHO Wave output start stop request Wave output stop Wave output start Wave output stop Un G1000 to Un G1003 request 0 request 1 request 0 Wave output stop request 0 fave output start request 1 CHO Wave output status monitor Un G1100 to Un G1103 Wave output stop 0 Wave output 1 Wave output stop 0 Wave output stop 0 Wave data Analog output Wave output ends Output set in CHO Output setting during wave output stop Un G1008 to Un G1011 ium Offset value
30. A m Module Model Name I O Address Mount Position Product Information Production Number Q64DAH pooo Main Base 0 Slot 141010000000000 C f m Module Information Module Access Status of External Power Supply Fuse Blown Status Status of I O Address Verify I O Clear Hold Setting Noise Filter Setting Possible Agree E Input Type Remote Password Setting Status HIW Information m Error Information gt Error and Solution Latest Error Code Update Error History 601 Contents In the normal output mode Glear Error 4 value outside the setting range is set to CH1 Digital value Error Clear UM G1 Display Format In the wave output mode C HEX Solution In the normal output mode Set a value within the Following range to CH1 Digital value Un G1 according to the set output range 0 to 20m 4 to 20m Oto 5V 1 to 5V Oto 20000 10 to 10V user range 20000 to 20000 DEC in old error The latest error is displayed at he bottom line mn error history is sequentially displayed from Stop Monitor 92 CHAPTER 5 I O SIGNALS ASSIGNED TO THE CPU MODULE CHAPTER 5 _sI OSIGNALS ASSIGNED TO THE CPU MODULE This chapter describes the D A converter module I O signals assigned to the CPU module 5 1 1O Signal List The following table lists the I O signals of
31. Do not write any data to the system area and write protect area R of the buffer memory in the intelligent function module Also do not use any use prohibited signals as an output signal from the programmable controller CPU to the intelligent function module Doing so may cause malfunction of the programmable controller system NCAUTION Do not install the control lines or communication cables together with the main circuit lines or power cables Keep a distance of 100mm or more between them Failure to do so may result in malfunction due to noise At power on a voltage may occur or a current may flow between output terminals for a moment In this case start the control after analog outputs become stable Installation Precautions NCAUTION Use the programmable controller in an environment that meets the general specifications in the user s manual for the CPU module used Failure to do so may result in electric shock fire malfunction or damage to or deterioration of the product To mount the module while pressing the module mounting lever located in the lower part of the module fully insert the module fixing projection s into the hole s in the base unit and press the module until it snaps into place Incorrect mounting may cause malfunction failure or drop of the module When using the programmable controller in an environment of frequent vibrations fix the module with a screw Tighten the screws withi
32. Execution Installation Confirmation JI r Status Module Control Change Module Selection Completed Restart i Status Guidance E turn off Y signal of the changed module hen you change the intelligent Function module lease press next button when you are ready Cancel CHAPTER 10 ONLINE MODULE CHANGE Open the System Monitor window XO Diagnostics gt Online Module Change Select Online module change under the Mode field and double click the module name to be changed online Click the change button to enable a module When the following error window appears click the ok button and perform the operation described in gt Page 178 Section 10 6 3 MELSOFT Application The target module didn t respond The task is advanced to the installation confirmation After checking that the RUN LED of the module has turned off remove the terminal block Remove the module Point Always remove the module If mounting confirmation is made without the module being removed the module will not start properly and the RUN LED will not turn on 177 weJ6olg eouenbes e Buis peun amp ijuo ey sues eniu pue pasn s eBues jueuudius jeujsnpu ue uayM 90L 3 Mounting a new module 1 Mount anew module in the same slot and install the Online Module Change x terminal block 2 After mounting the module click the Ec button and check that th
33. Setthe digital value equivalent to the analog value to be output to CHO Digital value Un G1 to Un G4 in buffer memory D A conversion enable disable setting Setting Enable Disable A Un GO combination CHO Output enable disable flag Y1 to Y4 Enable Disable Enable Disable Analog output test Allowed Not allowed Not allowed 1 When performing the analog output test set D A conversion enable disable setting Un GO to enable 0 beforehand SNES dOLS U S BINPOW Nd ueuM 1se 1 1ndjno Bojeuy Gy 37 2 Operation timing By forcibly turning on CHO Output enable disable flag Y1 to Y4 when the CPU module is in STOP status analog output value is changed from offset value to D A converted analog value The following shows the relation between CH1 Output enable disable flag Y1 and analog output value when the CPU module is in STOP status A D A converted value is output even when the CPU module is in STOP status CPU module status RUN STOP RUN 2 CH1 Output ON ON enable disable OFF OFF flag Y1 Analog output Analog output value value status converted from digital value Analog output value converted from digital value Analog output value Offset value converted from digital value Offset value 1 CH1 Output enable disable flag Y1 turns off with CPU STOP 2 By forcibly turning on CH1 Output enable disable flag Y1 a
34. Then select Delete end point from the right click menu When the mouse pointer is on the end point the display of the mouse pointer is changed to uonouny 1ndino snem du jo sBumes jepu L g Delete end point Do not specify Circular arc Straight line Exponential function Logarithmic function Sine function Cosine function Deleted end point 55 Set the wave between end points from the right click menu or in Specify wave of Wave details setting r Wave graph Edit wave graph by mouse operation Drug and drop on the line allow you to change graph shape Digital value Initialize Graph 20000 10000 0 25 50 100 Number of data 75 ki 61y 19412 Wave details setting Please fine tune between each end point that is added by editing wave graph Section No Start point End point Save Wave Pattern Open Wave Pattern Digital value F 180001 Straight line Specify wave 0 Do not specify OK Cancel This setting enables the wave change in the specified interval as follows Item Setting result The interval of the start point and end point is drawn in an arc When the circular arc is selected the arc direction can be set in Direction it can be inverted The arc is drawn in the procedure below The arc to be dr
35. and turn on and off Warning output clear request YE or Operating condition setting request Y9 At the timing of turning Warning output clear request YE or Operating condition setting request Y9 on Warning output signal XE and Latest error code Un G19 are cleared and ALM LED turns off 97 jeu amp is yndu 17 S sjeuBbls O I Jo Sied Z S 98 8 Error flag XF Error flag XF turns on when an error occurs gt Controlled by the D A converter module gt Controlled by the sequence program Latest error code UnG19 0 X b Error AC 0 f 1 I ON i N Error flag XF OFF 774 CTS OFF Vy ON Error clear request YF or p Operating condition setting OFF OFF request Y9 a Turning off Error flag XF Eliminate the error cause and turn on and off Error clear request YF or Operating condition setting request Y9 At the timing of turning Error clear request YF or Operating condition setting request Y9 on Error flag XF and Latest error code Un G19 are cleared and ERR LED turns off CHAPTER 5 I O SIGNALS ASSIGNED TO THE CPU MODULE 5 2 2 Output signal 1 CHO Output enable disable flag Y1 to Y4 This signal is used to set whether to output the D A converted value or the offset value for each channel ON D A converted value OFF offset value a D A conversion speed The D A conversion speed is calculated by 20us x number of conve
36. e e pLeOlesdetbuezeec eue Ug 98 C eve output current address monitor VE Error history No O Un G1810 to Un G1969 128 Un G1132 to CH4 Wave output current address monitor Error log function lisse eese 88 H Un G1139 ZIEL fee ene 125 External power supply READY flag X7 94 CH1 Wave output digital value outside the range Address External wiring sse 134 monitor L UnXG1156 to CH4 Wave output digital value For current output lisse esses sse 134 outside the range Address monitor H Un G1163 427 For voltage output 000000 134 CH1 Wave output warning Address monitor L Un G1172 to CH4 Wave output warning Address G monitor H Un G1179 127 CH1 Wave pattern data points setting L Un G1040 to G P OFFGAN 2 ee ee eee nn n nnn 221 CH4 Wave pattern data points setting H Un G1047 G B OGEOAD wit bok oe lee iie nee ds 223 PME TRA ONS Ngee ae Cee Me Naan dae 121 G P OGSTOR 2 6 eee esse eee ess 226 CH1 Wave pattern start address setting L Un G1024 Gain Vale es tane eiee raa mpi ee dee ala diate 26 to CH4 Wave pattern start address setting H UM G1031 sc et che dtgw bezximweber4e 120 H Channel change completed flag XB 96 Fm Channel change request YB 99 HOLD CLEAR function setting Un G26 112 CHO Constant for wave output conversion cycle Un G1064 to Un G1067 0 122 L CHO Digital value Un G
37. refer to the following e Scaling Function gt Page 39 Section 4 6 b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 bi bO olo olojojojo ololo o o cudcHacH2cH Data for b4 to b15 are fixed to 0 0 Enable 1 Disable The scaling function cannot be used in the wave output mode In the channel where Scaling enable disable setting Un G53 is set to Enable 0 an error occurs The error code 210 is stored in Latest error code Un G19 Error flag XF turns on and ERR LED turns on a Enabling the setting Turn on and off Operating condition setting request Y9 to enable the setting b Default value All channels are set to Disable 1 113 sesseJppy Aioweyy Jejng Jo seq z 9 114 13 CHO Scaling lower limit value Un G54 Un G56 Un G58 Un G60 CHO Scaling upper limit value Un G55 Un G57 Un G59 Un G61 Set the scale conversion range for each channel For details on the scaling function refer to the following e Scaling Function gt Page 39 Section 4 6 a Setting range Setting range 32000 to 32000 n the channel where a value out of the above setting range is set an error occurs The error code 90LI is stored in Latest error code Un1G 19 Error flag XF turns on and ERR LED turns on The value to be set must satisfy the condition of Scaling upper limit value Scaling lower limit value In the channel where a value does n
38. to Wave output stop request 0 2 To resume wave output change CHO Wave output start stop request Un G1000 to Un G1003 to Wave output stop request 0 then to Wave output start request 1 CHAPTER 4 FUNCTIONS 5 When using the wave output function as PWM The wave output function can also be used as PWM with the minimum pulse width of 50us Also the man hours for programming can be reduced because necessary numbers of pulses can be output in analog by creating a wave pattern only for one pulse Ex When creating a wave pattern with pulse width of 50us amplitude of 5V and duty ratio of 50 1 Configure the Switch Setting as shown below Switch Setting 0000 Q64DAH Output Range Setting HOLD CLEAR Function CLEAR CLEAR CLEAR Following operations are required to run the system under Wave output mode 1 Create wave output data 2 Write the created data to buffer memory by means of FB library This dialog setting is linked to the Switch Setting of the PLC parameter Default value will be shown in the dialog if the Switch Setting of the PLC parameter contains an out of range value oa AB Setting item Setting content lt Output range for CH1 0 to 5V 5 Output mode setting Wave output mode conversion speed 50us CH 8 c a c 2 Q 2 uonounij 1ndino SAEM SU 10 S UlOd g Tf 2 Create a wave pattern for one pulse in
39. 0 00 0 o 2 olololololo olo olol ololor ororo o 3 Modify Value Device Label Buffer Memory 4 Device Label vs z 5 182 Data Type Bit zl ON f Switch ON OFF I Settable Range Execution Result lt lt Execution Result Device Label v9 Y9 Module Start 0000 A Data Type Bit Bit Word Signed Setting Value OFF ON F H Reflect to Input Column Delete C Open the Device Buffer Memory Batch Monitor window X Online gt Monitor gt Device Buffer Memory Batch Enter and display the buffer memory address of D A conversion enable disable setting Un GO Set D A conversion enable disable setting Un GO to Disable 1 for all channels Turn on Operating condition setting request Y9 Check that the D A conversion has stopped and the analog output value is 0V OmA After checking the analog output value check that Operating condition setting completed flag X9 turns off then turn off Operating condition setting request Y9 CHAPTER 10 ONLINE MODULE CHANGE 2 Removing a module Open the System Monitor window System Monitor p Monitor Status Connection Channel List Oe remis a X Diagnostics gt Online Module Change LE Select Online module change under the Mode field and double click the module name to be changed online Base Information List Module Information List Main Base Power Base Tetalod Base
40. 0000 A Word Signed E H Reflect to Input Column Delete C Setting Value Set the prerecorded data to the buffer memory Turn on User range writing request YA to restore the offset gain setting value in the user range to the module After checking that Offset gain setting mode flag XA is on turn off User range writing request YA Enter and display the buffer memory address of D A conversion enable disable setting Un GO 10 Set D A conversion enable disable setting Un GO 11 to Enable 0 for the channel used Enter and display the buffer memory address of CHO Digital value Un G1 to Un G4 of the channel used 12 Set a digital value for CHO Digital value Un G1 to Un G4 13 Turn on Operating condition setting request Y9 14 Check that Operating condition setting completed flag X9 turns off and turn off Operating condition setting request Y9 15 Turn on CHO Output enable disable flag Y1 to Y4 for the channel used to check that the D A conversion is performed properly Note that the analog output is actually performed 16 Betore restarting the control check the D A converter module for the following If an error occurs refer to TROUBLESHOOTING gt Page 208 CHAPTER 11 and take a corrective action If the RUN LED is on If the ERR LED is off If Error flag XF is off CHAPTER 10 ONLINE MODULE CHANGE 5 Resuming operation 1 Open the Online Modul
41. 1 and 2 the out of range digital value error occurs if CHO Output enable disable flag Y1 to Y4 is turned on with the digital value 0 The error code 600 is stored in Latest error code Un G19 Error flag XF turns on and ERR LED turns on Therefore set an appropriate digital value within the scaling range before turning on CHO Output enable disable flag Y1 to Y4 The following shows the error codes that occur Fixed L Error channel number When using the user range note that the scaling lower limit value is equal to the offset value 43 4 7 Warning Output Function This function outputs a warning when the digital value enters the preset warning output range The warning target depends on the output mode as shown below In normal output mode CHO Digital value Un G1 to Un G4 In wave output mode Wave data registry area Un G5000 to Un G54999 Digital value Analog output value Digital value Warning output upper limit value 20000 Warning output lower limit value 2000 Warning output flag CH1 Upper limit value Un G48 b0 CFF ONT SEE Warning output flag CH1 Lower limit value Un G48 b1 OFF ON Warning output signal XE OFF A OFF ON Warning output clear request YE OFF ON OFF 1 Warning output notification When the digital value exceeds the warning output upper limit value or becomes less than the warning output lower limit value a warning is output a
42. 13 CH1 User range settings gain value System S14 CH2 User range settings offset value System S 15 CH2 User range settings gain value System 16 CH3 User range settings offset value System 17 CH3 User range settings gain value System 18 CH4 User range settings offset value System S 19 CH4 User range settings gain value System 1 Configure the setting only for Pass data classification setting S 2 When the data is written to the area to be set by system offset gain setting values are not correctly read out 3 Functions This instruction reads out the offset gain setting values in the user range setting of the D A converter module to the CPU module This instruction is disabled in the wave output mode The interlock signal of G P OGLOAD includes a completion device and a completion status indication device D 1 a Completion device The device turns on at the END processing for the scan where the G P OGLOAD instruction is completed and turns off at the next END processing 224 APPENDICES b Completion status indication device This device turns on or off depending on the status of the G P OGLOAD instruction completion Normal completion the device remains off Error completion the device turns on at the END processing for the scan where the G P OGLOAD instruction is completed and turns off at the next END processing END END END END processing X processi
43. Before resuming the control configure an offset gain setting according to the flowchart Page 142 Section 8 5 2 Note that if module control is resumed without offset gain setting being made operation will be performed with the default values Switch the mode by setting Mode switching setting Un G158 Un G159 and turning on Operating condition setting request Y9 CHAPTER 10 ONLINE MODULE CHANGE 2 Removing a module Open the System Monitor window System Monitor f Connection Channel List Step Wane Seri ert REC Nadie Connector RS 220 System mage X Diagnostics gt Online Module Change tor Onine module change Operation to Selected Module LE Select Online module change under the Mode field and double click the module name to be changed online Base Information List Module Information List Main Base Power Base Installed Base Parameter 1 0 Network No Master Base odio Base mode None ES pes site uus PET Series ModelNome Pot P pound ni Extension Basel Click the button to enable a module change Online Module Change r Operation 3 ps Module Module Change an Address 0000 Execution aoe Name Q64DAH Status Installation Confirmation Module Control Restart Em Module Selection Completed Status Guidance e turn off Y
44. CPU module or turn the power supply on 2 Program example a Device Ex I O number of D A converter module is X Y00 to X YOF The following table lists the devices used in the program example Device Function MO Channel selection M2 Offset setting M3 Gain setting M4 Offset gain setting channel change command M5 Mode switching M6 Analog output value adjustment command M7 Command to write offset gain setting values to the module M8 Adjustment amount setting M50 Signal for checking the offset gain setting mode M51 Signal for checking the normal output mode DO Channel specified storage device D1 Adjustment amount setting storage device D2 Storage device for the setting value of the dedicated instruction G P OFFGAN M100 Module READY checking flag 143 ueJ6oJd e wouy Buges z 3 9g Bumes ureb7esyO c g b Switching the mode using the dedicated instruction G P OFFGAN This sequence program executes the following operations Switching the mode from the normal mode to the offset gain setting mode using the dedicated instruction G P OFFGAN Switching the channels for which the offset gain settings are configured Writing the offset gain values to the D A converter module Switching the mode from the offset gain setting mode back to the normal output mode using the dedicated instruction G P OFFGAN Switches to the Offset gain setting mode
45. Current address Once the specified movement amount is registered completely CH1 Wave output step action movement amount Un G1080 Has the wave output step action move changes to No movement 0 been completed Yes Y Turn on CHO Output enable disable flag Y1 to Y4 Turn on CH1 Output enable disable flag Y1 The analog output value changed from the offset value to the wave data value of Address A Y CHBOR tiat the digital valuen AddrESSA IS GMIDUS Check that the analog output value is proper using a tester in a proper analog value Yes Repeat the analog output test uonoun 4 1ndjno 3AeM g p Continue to execute wave output uonoun uore deis jndjno e eM pg Set Step action wave output request Un1G1072 to OFF 0 Y Restore the wave data changed at the execution of Turn off the power the wave output step action The operation continues in the wave output mode End 87 4 9 Error Log Function This function stores a history of errors and alarms that occurred in the D A converter module to the buffer memory Un G1810 to Un G1969 A maximum of 16 errors and alarms can be stored 1 Process of the error log function The error code and the error time are stored in the buffer memory area starting from Error history No 1 start address Un G1810 and sequentially thereafter Error time is stored as follows Ex For error history No 1
46. Ne Master Senes ModelNeme Pont Type Point Address station No PLC Power E ES 5 ceu 16Point 0010 16Point 0020 16Point 0050 16Point 0040 Online Module Change m Operation Module Change Execution Installation Confirmation Module Control Restart Target Module I O Address 0000 Module Name Q64DAH Status mis Module Selection Completed Status Guidance 202 hen you change the intelligent Function module lease turn off signal of the changed module lease press next button when you are ready Cancel Open the System Monitor window Diagnostics gt Online Module Change Select Online module change under the Mode field and double click the module name to be changed online Click the change button to enable a module When the following error window appears click the button and perform the operation described in 7 gt Page 203 Section 10 10 3 MELSOFT Application 4 The target module didn t respond The task is advanced to the installation confirmation 5 After checking that the RUN LED of the module has turned off remove the terminal block 6 Remove the module Point Always remove the module If mounting confirmation is made without the module being removed the module will not start properly and the RUN LED will not turn on CHAPTER 10 ONLINE MODULE CHANGE 3 Moun
47. Qn H QnPH QnPRHCPU User s Manual Function Explanation Program Fundamentals 2 FX and FY can be used for bit data only and FD for word data only 3 In the Constant and Others columns a device s that can be set for each instruction is shown The following data types can be used Data type Description Bit Bit data or the start number of bit data BIN 16 bit 16 bit binary data or the start number of word device BIN 32 bit 32 bit binary data or the start number of double word device BCD 4 digit Four digit binary coded decimal data BCD 8 digit Eight digit binary coded decimal data Real number Floating point data Character string Character string data Device name Device name data 13 TERMS Unless otherwise specified this manual uses the following terms Term Description D A converter module The abbreviation for the Q64DAH high speed digital analog converter module QCPU Another term for the MELSEC Q series CPU module Process CPU A generic term for the QO2PHCPU QO6PHCPU Q12PHCPU and Q25PHCPU Redundant CPU A generic term for the Q12PRHCPU and Q25PRHCPU Programming tool A generic term for GX Works2 and GX Developer Industrial shipment setting A generic term for analog output ranges of 0 to 5V 1 to 5V 10 to 10V 0 to 20mA and 4 to 20mA User range An analog output range where any value can be set Set the user range in the offset gain setting
48. X14 Warning output reset signal le X15 Error reset signal Y20 to Y2F Error code notation BCD 4 digits QY10 Y20 to Y2F 152 CHAPTER 9 PROGRAMMING 2 Program example Initial setting X0 sET M100 M100 Y9 x9 UO d W n MOV H0C GO J D A conversion enable E UO l MOV HOD G47 J Warning output setting E UO E MOV HOE G53 J Scaling setting E UO E LMOV KO G54 J CH1 Scaling lower limit value UO a SI Mov K32000 G55 CH1 Scaling upper limit value UO MOV K10000 G88 J CH1 Warning output upper limit value UO E LMOV K3000 G89 J CH1 Warning output lower limit value SET y9 1 Turns on Operating condition setting request RST M100 X0 y x3 RST Y9 Turns off Operating condition setting i UT request Writes a digital value X12 X7 UOY S MOV K10000 G1 J CH1 Digital value setting UO J MOV K8000 G2 J CH2 Digital value setting Configures the setting to enable analog output X11 X0 X7 E f Y1 CH1 Output enable disable flag v2 CH2 Output enable disable flag ae Reads the warning output flag N XQ UO MOV G48 K2M20 CH2 Check for the warning output 3 3 5 e M22 i mc Processing at the warning output upper limit CH2 Processing A hipouarninig OU puE 3 L upper limit 3 odo M23 imi CH2 Processing at the warning output
49. binary for each channel The value is stored only in the wave output mode In the mode other than the wave output mode 0 is stored a Update of the stored value The stored value is updated when the wave output status is the wave output or the wave output step action b Reset of the stored value When Operating condition setting request Y9 is turned on and off the stored value is reset 125 sesseJppy Joule N Jejng Jo sieq z 9 31 CHO Wave output current digital value monitor Un G1148 to Un G1151 This area stores the currently output digital value for each channel The value is stored only in the wave output mode The stored value depends on the wave output status Wave output 4 status Stored value The digital value of the output set in CHO Output setting during wave output stop Un G1008 to Un G1011 is stored Set value of CHO Output setting during wave output stop Un G1008 to Un G1011 OV OmA 0 Offset value 1 Stored value of CHO Wave output current digital value monitor Un G1148 to Un G1151 Wave output stop Set value of CHO Output value during wave output Setting valu em stop Un G1016 to Un G1019 The digital value stored in the buffer memory address indicated in CH1 Wave output current address Wave output f monitor L Un G1132 to CH4 Wave output current address monitor H Un G1139 The stored value depends on the setting of the analog o
50. button to close the System Open the Device Buffer Memory Batch Monitor window X Online lt gt Monitor gt Device Buffer Memory Batch Enter and display the buffer memory address of D A conversion enable disable setting Un GO Set D A conversion enable disable setting Un GO to Enable 0 for the channel used Enter and display the buffer memory address of CHO Digital value Un G1 to Un G4 of the channel used Set a digital value for CHO Digital value Un G1 to Un G4 Turn on Operating condition setting request Y9 10 Check that Operating condition setting completed flag X9 turns off and turn off Operating condition setting request Y9 11 Turn on CHO Output enable disable flag Y1 to Y4 for the channel used to check that the D A conversion is performed properly Note that the analog output is actually performed When the mode is the wave output mode use the wave output step action function gt Page 80 Section 4 8 4 to check the operation 12 Before starting the control check the D A converter module for the following If an error occurs refer to TROUBLESHOOTING gt Page 208 CHAPTER 11 and take a corrective action If the RUN LED is on If the ERR LED is off If Error flag XF is off CHAPTER 10 ONLINE MODULE CHANGE 5 Resuming operation 1 Open the Online Module Change window again Online Module Change Operation Target Module
51. cycle monitor H Un G1115 This area stores the conversion cycle of the wave output in 32 bit signed binary for each channel The unit of the stored value is us The value is stored only in the wave output mode In the mode other than the wave output mode 0 is stored a Update of the stored value When Operating condition setting request Y9 is turned on and off the stored value is updated 29 CHLI Wave pattern output count monitor Un1G1124 to Un G1127 This area stores the output count of the wave pattern for each channel The value is stored only in the wave output mode In the mode other than the wave output mode 0 is stored a Count of the wave pattern output Outputting the set wave pattern once adds 1 b Count range of the wave pattern output Count range 0 to 32767 When the wave pattern output count is set to the unlimited repeat output the count returns to 0 and starts again from 1 if it exceeds the count range c Reset of the stored value In the following cases the stored value of CHO Wave pattern output count monitor Un G1124 to Un G1127 is reset When Operating condition setting request Y9 is turned on and off When the wave output status becomes to other status from the wave output stop 30 CH1 Wave output current address monitor L Un G1132 to CH4 Wave output current address monitor H Un G1139 This area stores the buffer memory address of the currently output wave data in 32 bit signed
52. enable disable setting Un G53 is set to Enable 0 in the wave output mode an error occurs The error code 210 is stored in Latest error code Un G19 Error flag XF turns on and ERR LED turns on CHAPTER 4 FUNCTIONS 4 Scaling setting example Ex 1 When setting 16000 to CHO Scaling upper limit value UnXG55 Un G57 Un G59 Un G61 and 4000 to CHO Scaling lower limit value Un G54 Un G56 Un G58 Un G60 for a channel with output range of 0 to 5V The following shows the digital values before and after scaling Analog output voltage V zi 2 1 5V Digital value N x 20479 A lower limit A upper limit value 4000 value 16000 ov Digital value Digital value after scaling Analog output voltage V 4000 0 0 6400 4000 1 8800 8000 2 A 11200 12000 3 o 13600 16000 4 d 16000 20000 5 a c 2 Q 2 2 41 Ex 2 When setting 16000 to CHO Scaling upper limit value Un G55 Un G57 Un G59 Un G61 and 4000 to CHO Scaling lower limit value Un G54 Un G56 Un G58 Un G60 for a channel with output range of 10 to 10V The following shows the digital values before and after scaling Analog output voltage V TO eesepsc eee t 1 1 1 1 1 1 1 l 1 1 y 20480 20000 0 20000 20479 Digital value Scaling lower limit 10000 Scaling upper limit value 4000 value 16000 Digital value Digital value a
53. gt Online Module Change Operation 4 Target Module J Mode Change Yo Address OOD 2 Click the button on the appeared window Xecution Module Name Q64DAH to resume control Module READY X0 turns on Installation Confirmation Status Module Control Change Module Installation Completion Restart Status Guidance The controls such as I O FROM TO instruction executions and Pesse cor refresh for the installed module are restarted lease confirm the parameter setting wiring etc and press completed utton 3 The online module change is completed MELSOFT Application e W Online module change completed weJ6olg eouenbes e Buis peun amp ijuo asy sues eniu pue pasn s eBues jueuudius jeujsnpu ue ueuM 90L 181 10 7 Whena User Range Is Used and Initial Settings Are Configured Using the Configuration Function with Another System 1 Stopping operation 1 9 Device Buffer Memory Batch Monitor 1 Monitoring fel Device C Device Name mg ucse Jn E LT Beeren Buffer Memory Module Start 0000 cj ee9 Address o z bec z 2 Display format Modify Value 2 MYMEL ge S2 esc E 16 _Detats open save Dorot display commen z Address F E D C B A 9 8 7 6 5 4 32 1 0 0 00 00 0 00 0 0 0 00 ld 14 1 0 0 0 0 0 0 0 0 0 0 0 0
54. is on the side of the D A converter module MELSEC Q aM MITSUBISHI Serial number first five digits Z Function version SERIAL 1210150090000 r MITSUBISHI MADE IN JAPAN 2 Checking on the front part bottom part of module The function version and serial number on the rating plate are also shown on the front part bottom part of the module JequinN eles pue uois19A uonoun J 94 YOSUD oi MOH Z Z Function version Serial number 21 22 3 Checking on the system monitor The function version and serial number can be checked on the Product Information List window Diagnostics gt gt System Monitor c fF roduct Informatic button Product Information List a Displaying production number For the D A converter module is displayed since the production number display is not supported Point The serial number displayed on the product information list of a programming tool may differ from that on the rating plate and on the front part of the module The serial number on the rating plate and front part of the module indicates the management information of the product The serial number displayed on the product information list of a programming tool indicates the function information of the product The function information of the pro
55. lower limit value A warning is occurring Set a value within the following range to the The channel where the warning has occurred corresponding part of areas used for the channel fits in O in Wave data registry area Un G5000 to 15A0 A value that fits in A indicates that the Un G54999 Then turn on and off Warning warning status is as follows 0 Upper limit of a warning 1 Lower limit of a warning In the wave output mode output clear request YE Warning upper limit value 2 Set value 2Warning lower limit value The error data can be checked in CH1 Wave output warning Address monitor L Un G1172 to CH4 Wave output warning Address monitor H Un G1179 214 11 3 Troubleshooting 11 3 1 1 When flashing Check item CHAPTER 11 TROUBLESHOOTING When the RUN LED flashes or turns off Action Is the Drive Mode Setting in the Offset Gain Setting Mode Switch the Drive Mode Setting in the intelligent function module switch setting to Normal D A Converter Processing Mode Or reconfigure the Switch 4 in the intelligent function module switch setting and set the normal mode Set Un G158 0964 and Un G159 4144 for Mode switching setting Un G158 Un G159 to set the normal output mode 2 When turning off Check item Is the power supplied Action Check that the supply voltage of power supply module is within the rated range Is the capacity of power supply modul
56. mode Un G5000 to Un G54999 The channel where the error has AES The error can be checked in CH1 Wave output digital occurred fits in O j value outside the range Address monitor L Un G1156 to CH4 Wave output digital value outside the range Address monitor H Un G1163 Among CH1 Warning output upper limit value Un G86 to CH4 Warning output lower limit value Un G93 any of the Mni i Correct the value so that the upper limit value may be ear lower limit value is greater than or equal to the aot f au greater than the lower limit value corresponding upper limit value The channel where the error has occurred fits in O In offset gain setting mode a value set to Offset gain m piu Set a value within 3000 to 3000 to Offset gain adjustment 700 adjustment value specification Un G24 is outside the HOD value specification Un G24 range A value outside 32000 to 32000 is set to any of CH1 IM 2 Set a value within the range of 32000 to 32000 in CH1 Scaling lower limit value Un G54 to CH4 Scaling upper ae f oor uU Scaling lower limit value Un G54 to CH4 Scaling upper limit value Un G61 a n limit value Un G61 The channel where the error has occurred fits in O Among CH1 Scaling lower limit value UnXG54 to CH4 Scaling upper limit value Un G61 any of the lower limit mr A Correct the value so that the upper limit value may be 9101 value is greater than or equal to the corresponding upp
57. oloo o o 14 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 a 2 oj0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Modify Value Device Label Buffer Memory Device Label Yi Data Type Bit OFF Switch ON OFF Settable Range Execution Result lt lt Execution Result Device Label Data Type Setting Value v1 va vo Bit Bit Bit ON OFF ON Module Start 0000 A Word Signed 10000 D Module Start 0000 A Word Signed E H Reflect to Input Column Delete C l To the next page CHAPTER 10 ONLINE MODULE CHANGE Click the button to leave the Online module change mode Click the Monitor window button to close the System Open the Device Buffer Memory Batch Monitor window X Online lt gt Monitor gt Device Buffer Memory Batch 5 Enterand display the buffer memory address of D A conversion enable disable setting Un GO 6 Set D A conversion enable disable setting Un1GO to Enable 0 for the channel used 7 Enter and display the buffer memory address of CHO Digital value Un G1 to Un G4 of the channel used 8 Seta digital value for CHO Digital value Un G1 to Un G4 9 Turnon Operating condition setting request Y9 10 Check that Operating condition setting completed flag X9 turns off and turn off Operating condition setting request Y9 11 Turn on CHO Output enable disable flag Y1 to Y4 for the channel used to check that the D A conversion is performed
58. output setting Un G47 is set to Disable 1 the settings for CHO Warning output upper limit value Un G86 Un G88 Un G90 Un G92 and CHLI Warning output lower limit value Un G87 Un G89 Un G91 Un G93 are ignored b Enabling the setting Turn on and off Operating condition setting request Y9 to enable the setting c Default value All channels are set to 0 Point Because 0 is set as the default value change the setting value for the warning output function 115 sesseJppy Aioweyy Jejing Jo seq z 9 15 Mode switching setting Un G158 Un G159 Set the setting value for the mode to be switched to Sm Setting value Mode switching to Un G158 Un G159 Normal output mode 09644 41444 Offset gain setting mode 41444 09644 Even when the setting value is changed in the wave output mode the change is not applied Also the mode cannot be switched to the wave output mode even when the setting value of this area is changed To switch the mode to the wave output mode use the intelligent function module switch setting For the setting procedure of the intelligent function module switch setting refer to the following Switch Setting K gt Page 136 Section 8 2 a Setting procedure Turn on and off Operating condition setting request Y9 to enable the setting b After the mode switching When the mode is switched this area is cleared to zero and Operating condition setting completed
59. refer to the following Error flag XF L gt Page 98 Section 5 2 1 8 CHAPTER 6 BUFFER MEMORY CHAPTER 6 BUFFER MEMORY This chapter describes the buffer memory of the D A converter module 6 1 List of Buffer Memory Addresses The following table lists the buffer memory addresses of the D A converter module For details on the buffer memory refer to the following e Details of Buffer Memory Addresses s Page 109 Section 6 2 Point Do not write data to the system area and the area where the data cannot be written from the sequence program in buffer memory Writing data to these areas may lead the module to malfunction 1 Un GO to Un G1799 Address Address Name Default Read Write decimal hexadecimal 4 2 0 OH D A conversion enable disable setting 000F R W 1 1u CH1 Digital value 0 R W 2 2u CH2 Digital value 0 R W 5 3 3u CH3 Digital value 0 R W Z 4 4H CH4 Digital value 0 R W 2 5 5 p to to System area z 8 8H 2 o 9 94 Output mode 0000 R bd 10 Ay System area a m By CH1 Set value check code 00004 R g 12 Cy CH2 Set value check code 0000 R 13 Dy CH3 Set value check code 0000 R 14 Ey CH4 Set value check code 0000 R 15 Fy to to System area 18 124 19 134 Latest error code 0 20 144 Setting range 0000 21 15y System area 22 16 Offset gain setting mode Offset specification 0000 R W 23 174 Offset gain setting mode Gain s
60. section describes the precautions on external wiring Use separate cables for the AC control circuit and the D A converter module s external I O signals to avoid influence of AC side surges and induction Do not locate external wires near the main circuit line high voltage circuit lines and load circuit lines of devices other than programmable controllers Also do not bunch external wires with these lines Otherwise the external wires are more likely to be affected by noise surges and induction Ground shielded cables at one end A solderless terminal with an insulation sleeve cannot be used on the terminal block It is recommended to put a mark tube or an insulation tube on the wire connection part of a solderless terminal BULUM v suogneoaud BUI py 133 7 4 2 134 External wiring The following describes the external wiring 1 For voltage output DIA I o 2 conversion D A L O A conversion Filter 2 For current output Motor drive module 2 2 or others CH1 V 1kQ to 1MQ COM J GND 5 SLD Motor drive module or others Ci V I 1kQ to 1MQ COM i GND 3 l SLD m Motor drive module or others CH3 V M 1kQ to MQ COM GND ui SLD Motor drive mod
61. sequence program after the control resumed Before configuring the initial settings check that the initial setting program is proper satisfying the following Normal system configuration Create a sequence program that sets the initial settings when Module READY XO of the D A converter module turns on Do not create a sequence program which sets the initial settings for only one scan after RUN In this case the initial settings are not set When used on remote I O network Insert a user device where the initial settings will be set at any timing initial setting request signal into the sequence program Do not create a sequence program which sets the initial settings for only one scan after a data link start of the remote I O network In this case the initial settings are not set 191 ueis g Jeujouy uyim ujeJ804d eouenbes e Bulsp peinByuog ay sBumes eniu pue pesf s eBues sasn e ueuM BOL 192 5 Resuming operation Online Module Change Operation gt r Target Module Module Change I O Address 0000 Execution Installation Module Name Q64DAH Confirmation Status Module Control hange Module Installation Completion Restart Status Guidance controls such as I O FROM TO instruction executions and utomatic refresh For the installed module are restarted lease confirm the parameter setting wiring etc and press completed utton MELSOFT Application x
62. set output range Un G1019 ae 0 to 20mA 4 to 20mA 0 to 5V 1 to 5V 0 to 20000 The channel where the error has occurred fits in O 10 to 10V 20000 to 20000 A value other than 5000 to 54999 is set to CH1 Wave n Set a value within 5000 to 54999 to CH1 Wave pattern pattern start address setting L Un G1024 to CH4 Wave 32011 start address setting L Un G1024 to CH4 Wave pattern pattern start address setting H Un1G1031 M start address setting H Un G1031 The channel where the error has occurred fits in O A value other than 1 to 50000 is set to CH1 Wave pattern T f Set a value within 1 to 50000 to CH1 Wave pattern data d data points setting L Un G1040 to CH4 Wave pattern 330 points setting L Un G1040 to CH4 Wave pattern data data points setting H Un G1047 uis points setting H Un G1047 The channel where the error has occurred fits in O A value outside the setting range is set to CHO Set one of the following to CHO Wave pattern output 340 Wave pattern output repetition setting Un G1056 to repetition setting Un G1056 to Un G1059 Un G1059 Unlimited repetition 1 The channel where the error has occurred fits in O Specified number of times 1 to 32767 A value other than 1 to 5000 is set to CHLI Constant for wave output conversion cycle Un G1064 to Set a value within 1 to 5000 to CHO Constant for wave Po Un G1067 output conversion cycle Un G1064 to Un G1067 The channel
63. setting 1 Disable O Enable 1 Disable 1 Disable Warning output upper limit value 10 T 10000 0 0 Warning output lower limit value 0 3000 o o Scaling function Sets for scaling on D A conversion Scaling enable disable setting D Enable 1 Disable 1 Disable 1 Disable Scaling upper limit value 32000 Zz an n Scaling lower limit value 0 0 E O Enable O Enable 1 Disable 1 Disable Sets method of D A conversion control 5 Display the auto refresh setting window for the Q64DAH and configure the setting as follows When creating a program without using parameters of an intelligent function module skip this procedure Project window gt Intelligent Function Module gt Q64DAH c Auto Refresh 4 0000 Q64DAH Auto Refresh Display Filter Display all z tem 0 8 E Fransfer to PLC Set value check code Warning output Flag Latest error code Latest address of error history z Tronafer to inteligent function Transfers the data of specified device to the buffer memory Digital value wi W2 Transfers buffer memory data to the specified device 6 Write the set parameters to the remote I O module and reset the remote I O module Online gt Write to PLC OMEN O I Goy euj uo ejnpoy eu Buis ueuM 6 Press the switch for a while 159 9 3 1 1 Device for users Program example when using parameters of intelligent function module
64. setting value is changed in the mode other than the wave output mode the change is not applied In the channel where a value out of the above setting range is set an error occurs The error code 300 is stored in Latest error code Un G19 Error flag XF turns on and ERR LED turns on The wave output cannot be executed a Enabling the setting Turn on and off Operating condition setting request Y9 to enable the setting b Default value All channels are set to Offset value 1 118 CHAPTER 6 BUFFER MEMORY 20 CHO Output value during wave output stop Un G1016 to Un G1019 This area is for setting the value to be output during the wave output stop for each channel When CHO Output setting during wave output stop Un G1008 to Un1G1011 is set to Setting value during stop 2 the value set in this area is output after the D A conversion This area can be set only in the wave output mode For details on the wave output function refer to the following Wave Output Function 7 gt Page 46 Section 4 8 a Setting range The setting range depends on the set output range Follow the setting range below Output range Setting range 4 to 20mA 0 to 20mA 0 to 20479 practical range 0 to 20000 1 to 5V 0 to 5V 10 to10V 20480 to 20479 practical range 20000 to 20000 Even when the setting value is changed in the mode other than the wave output mode the change is not applied In the c
65. signal of the changed module hen you change the intelligent Function module lease press next button when you are ready When the following error window appears click the button and perform the operation described in gt Page 196 Section 10 9 3 MELSOFT Application ueis s Jeuyouy oym uonoun 4 uoneun amp yuo y Buis peun ijuo ay sBunjes eniu pue pasn s eBues asn e ueuM BOL i The target module didn t respond The task is advanced to the installation confirmation 5 After checking that the RUN LED of the module has turned off remove the terminal block 6 Remove the module Point Always remove the module If mounting confirmation is made without the module being removed the module will not start properly and the RUN LED will not turn on 195 3 Mounting a new module 1 Mount anew module in the same slot and install the Online Module Change terminal block 2 After mounting the module click the button and check that the RUN LED turns on Module READY X0 remains off 1 To check the operation click the 75537 button to cancel the control restart Online Module Change 2 Click the button to leave the Online module change mode MELSOFT Application d L To the next page 196 CHAPTER 10 ONLINE MODULE CHANGE From the previous page L button to close the System System Monitor Click the OQ ee emma Monitor
66. supply to activate the settings 8 1 Adding a Module Add the model name of the D A converter module to use on the project 1 Addition procedure Open the New Module window Project window c Intelligent Function Module z Right click gt New Module New Module Module Selection Module Type Analog Module Mode Nome TT Mount Position Y Mounted Slot No 0 Acknowledge I O Assignment IV Specify start XY address 0000 H 1 Slot Occupy 16 points Title setting Title ainpow e Bulppy 8 Item Description Module Type Set Analog Module Module Selection Module Name Set the name of the module to be mounted Base No Set the base No where the module is mounted m Mounted Slot No Set the slot No where the module is mounted Mount Position Specify start XY The start I O number hexadecimal of the module is set according to the address mounted slot No The start I O number also can be set by a user Title setting Title Set any title 135 8 2 Switch Setting Set the output range HOLD CLEAR function drive mode and output mode used for each channel 1 Setting procedure Open the Switch Setting window Project window gt Intelligent Function Module gt module name gt Switch Setting Switch Setting 0000 Q64DAH Output Range Setting HOLD CLEAR function 4 to 20mA 4 to Z mA 4 to Z mA Drive Mode Setting N
67. the D A conversion The conversion speed can be selected from 50us CH and 80us CH epow Lv For details on the wave output function refer to the following e Wave Output Function s Page 46 Section 4 8 2 Offset gain setting mode This mode is for the offset gain setting For details on the offset gain setting refer to the following e Offset gain Setting gt Page 139 Section 8 5 31 3 Mode transitions The following shows the transition condition of each mode At the power on or at the reset of the CPU module Offset gain Wave output mode setting mode Normal output mode No Transition condition Set Drive Mode Setting to Normal D A Converter Processing Mode and set Output mode setting to Normal output mode conversion speed 20us CH in Switch Setting of GX Works2 2 Set Drive Mode Setting to Offset Gain Setting Mode in Switch Setting of GX Works2 Execute the G P OFFGAN argument S 0 Switch to the normal output mode Set the following values in Mode switching setting Un G158 Un G159 and turn on and off Operating condition 3 setting request Y9 Un G158 09644 Un G159 4144 Execute the G P OFFGAN argument S 1 Switch to the offset gain setting mode Set the following values in Mode switching setting Un G158 Un G159 and turn on and off Operating condition 4 setting request Y9 Un G158 41444 Un G159 09644 Se
68. the D A converter module The device numbers X Y in the following table show the case that the start I O number of the D A converter module is set to 0 For details on the I O signals refer to the following e Details of I O Signals 7 5 Page 94 Section 5 2 Input signal Output signal Device number Signal name Device number Signal name X0 Module READY YO Use prohibited X1 Y1 CH1 Output enable disable flag X2 Y2 CH2 Output enable disable flag X3 Y3 CH3 Output enable disable flag X4 aii Y4 CH4 Output enable disable flag X5 Y5 X6 Y6 X7 External power supply READY flag Y7 ere X8 Use prohibited Y8 O x9 Operating condition setting completed flag Y9 Operating condition setting request XA Offset gain setting mode flag YA User range writing request XB Channel change completed flag YB Channel change request a XC Set value change completed flag YC Set value change request XD Use prohibited YD Use prohibited XE Warning output signal YE Warning output clear request XF Error flag YF Error clear request Point Do not use the Use prohibited signals shown above because the system uses them If users use turn on the signals the functions of the D A converter module cannot be guaranteed 93 5 2 Details of I O Signals The following describes the details of the D A converter module I O signals assigned to the CPU modules The I O numbers X Y described bel
69. the Set value change request YC when Set value change completed flag XC turns on by the analog output value changes Is the analog output value satisfied Yes Adjust other channels Turn on User range writing request YA Check that Offset gain setting mode flag XA has turned off and then turn off User range writing request YA Yes Is the ERR LED on Switch to the normal output mode 1 End The following shows the procedure for switching the mode normal output mode offset gain setting mode or offset gain setting mode normal output mode Dedicated instruction G P OFFGAN L gt Page 221 Appendix 1 1 Setting to Mode switching setting Un G158 Un G159 and turning on and off Operating condition setting request Y9 L gt Page 116 Section 6 2 15 Intelligent function module switch setting 7 gt Page 136 Section 8 2 1 The wave output mode cannot be switched to the offset gain setting mode Point CHAPTER 8 VARIOUS SETTINGS Configure the offset gain setting in accordance with the actual use situation Offset and gain values are recorded in the flash memory in the D A converter module by turning on and off User range writing request YA Once recorded the values are not deleted even after the power is turned off When the values are written 26 times in succession an error occurs to prevent an improper write to flash memor
70. the check is performed to the scale converted value of CHLI Digital value Un G1 to Un G4 Note that some errors may be observed in the digital value for which a check code is stored due to the calculation error of scale conversion when a scale converted value is out of the setting range a Resetting the set value check codes Rewrite the digital value to the value within the setting range and turn on and off Error clear request YF 5 Latest error code Un G19 The latest error codes or alarm codes detected in the D A converter module are stored For details on the error codes or alarm codes refer to the following Error Code List 7 s Page 208 Section 11 1 Alarm Code List gt Page 214 Section 11 2 6 Setting range Un G20 The setting of the output range can be checked b15 to b12 b11 to b8 b7 to b4 b3 to bO CH4 CH3 CH2 CH1 Output range Setting value 4 to 20mA Oy 0 to 20mA dy 1 to 5V 24 0 to 5V 34 10 to 10V 44 User range setting Fy Point The output range cannot be changed in Setting range Un G20 For changing the setting refer to the following Switch Setting _ 7 Page 136 Section 8 2 110 CHAPTER 6 BUFFER MEMORY 7 Offset gain setting mode Offset specification Un G22 Offset gain setting mode Gain specification Un G23 Specify the channel to perform the offset gain setting adjustment For details on the offset gain setting refer to the following
71. the operation performed prior to that The module starts up and the X Y refresh restarts based on the operation of the intelligent function module switch 3 When there are initial setting parameters the module starts to operate based on the initial setting parameters Thus the analog output is performed at this point when the Y signals are not turned off Never forget to turn off the Y signals using a sequence program 10 4 online Module Change Procedure CHAPTER 10 ONLINE MODULE CHANGE This section and the following sections describe two online module change procedures setting parameters using the configuration function and setting parameters using a sequence program The same procedures are applied to GX Developer When using GX Works2 Range setting Parameter setting Another system Reference Configuration function Page 171 Section 10 5 Industrial shipment range Sequence program Page 176 Section 10 6 Present Page 182 Section 10 7 Configuration function Absent Page 193 Section 10 9 User range Present Page 187 Section 10 8 Sequence program Absent Page 200 Section 10 10 When using GX Developer Range setting Another system Reference Industrial shipment range Page 176 Section 10 6 Present Page 187 Section 10 8 User range Absent Page 200 Section 10 10 1 Another system is a programmable controller system which does not have the D A conve
72. to FEH BIN 16 bits S Start number of the device where control data is stored Aaah d Device name Device which turns on for one scan at the processing completion of the dedicated instruction Within the range of ii In error completion 1 also turns on the specified device avo19O d o Z xipueddy uononujsu pejeoipeq xipueddy 223 2 Control data Device Item Setting data Setting range Set by System area The status on instruction completion is stored 941 Completion status 0 normal completion System Other than 0 error completion error code Specify the type of offset gain setting value to read out 0 voltage 9 2 Pass data classification setting bibi 0000 to 000F User 1 current b15 b8 b7 b6 b5 b4 b3 b2 bl bO 0 7 7 7 7 0 cH4 coe CH1 9 3 System area 7 4 CH1 Industrial shipment settings offset value System S45 CH1 Industrial shipment settings gain value System S46 CH2 Industrial shipment settings offset value System 947 CH2 Industrial shipment settings gain value System 8 CH3 Industrial shipment settings offset value System 9 CH3 Industrial shipment settings gain value System S 10 CHA Industrial shipment settings offset value System 941 CHA Industrial shipment settings gain value System 12 CH1 User range settings offset value System S
73. to b15 are fixed to 0 0 D A conversion enable 1 D A conversion disable a Enabling the setting Turn on and off Operating condition setting request Y9 to enable the setting b Default value All channels are set to D A conversion disable 1 2 CHO Digital value Un G1 to Un G4 The digital value is written to this area in signed 16 bit binary from the CPU module for performing the D A conversion When the value out of the setting range is written the D A conversion is performed with the upper and lower limit value of the setting range In addition a check code is stored in CHO Set value check code Un G11 to Un G14 the error code 600 is stored in Latest error code Un G19 Error flag XF turns on and ERR LED turns on E o aber If the scaling function is N If the scaling function is disabled s enabled D Output range setting amp Setting range A written digital value out of the 2 Setting range 9 practical range setting range is treated as 9 0 4 to 20mA T 1 0 to 20mA 0 to 20479 20480 or more 20479 E 2 1 to 5V practical range 0 to 20000 1 or less 0 Q 32000 to 32000 ps 3 0 to 5V amp 4 10 to10V 20480 to 20479 20480 or more 20479 3 F User range setting practical range 20000 to 20000 20481 or less 20480 8 1 When the scaling function is enabled the setting range and practical range depend on the settings for scaling upper and lo
74. unused channels reduces the conversion cycles Section 4 2 This function sets whether to output the D A converted value or the offset value for D A output enable disable Page 33 each channel function Section 4 3 The conversion speed is constant regardless of the output enable disable status TOM The output range to use can be selected from the industrial shipment range 4 to Page 136 Range switching function 20mA 0 to 20mA 1 to 5V 0 to 5V or 10 to 10V and user range user range setting Section 8 2 Page 139 Offset gain setting function This function compensates for errors in analog output values Section 8 5 This function sets whether to hold the output analog value HOLD or clear the output Analog output HOLD CLEAR Page 34 analog value CLEAR according to the CPU module operating status RUN STOP function Section 4 4 or stop error Analog output test when CPU When the CPU module is in STOP operation status forcibly turning CHO Output Page 37 module is in STOP status enable disable flag Y1 to Y4 ON outputs the D A converted analog value Section 4 5 This function scales a digital value into a value within the range of the set scaling p de Scaling function lower limit value to scaling upper limit value The sequence programming for scale e PE i conversion can be omitted This function outputs a warning when the digital value enters the preset warning Page 44 Warning output function
75. upper limit value 32000 0 0 0 Scaling lower limit value 0 0 0 0 0 Enable 0 Enable 1 Disable 1 Disable uoneunBijuo uejs s puepue js e ui ejnpoyy y Burs 1 ueuM z 6 Sets method of D A conversion control einpouJ uonouny jueBijejur Jo sjejeuuejed Bursn ueuw ejduexe wesbosd L6 149 150 3 Auto refresh setting Project window gt Intelligent Function Module gt Q64DAH c Auto Refresh 8 0000 Q64DAH Auto Refresh TEE Display Filter Display all z E Fransfer to PLC Set value check code Warning output flag Latest error code Latest address of error history tronafet to intelligent function Transfers the data of ified device ta a Digital value Di D2 Transfers buffer memory data to the specified device 4 Writing the parameters of intelligent function module Write the set parameters to the CPU module Then reset the CPU module or turn off and on the power supply of the programmable controller XX Online gt Write to PLC uu or power off and on CHAPTER 9 PROGRAMMING 5 Program example Writes a digital value X12 X0 X7 j T MOV K10000 D1 CH1 Digital value setting MOV K8000 D2 CH2 Digital value setting Configures the setting to enable analog output xi X0 X7 1 CH1 Output enable disable flag utput enable disable flag Y2 CH2 Output ble disable fl Reads t
76. values in the user range using a dedicated instruction in another system Precautions for using other systems are as follows To change a module mounted on the remote I O station online save and restore the offset gain setting values in the user range using a dedicated instruction in another system mounted on the main base unit The offset gain setting values cannot be saved and restored using a dedicated instruction in another system mounted on the remote I O station If no other systems are available restore the values by writing them to the buffer memory CHAPTER 10 ONLINE MODULE CHANGE 10 2 Conditions for Online Module Change To perform an online module change satisfy the following conditions Point The function version of the first released D A converter module is C and the D A converter module supports the online module change 1 CPU module A Process CPU or Redundant CPU is required For the precautions on the multiple CPU system configuration refer to the following QCPU User s Manual Multiple CPU System For the precautions on the redundant system configuration refer to the following QnPRHCPU User s Manual Redundant System 2 Function version of MELSECNET H remote I O module A module of function version D or later is required 3 Compatible version of programming tools Programming tool System configuration Software version Normal system Version 1 87R or later GX Works
77. warning Address monitor L 0 R 1179 49Bu CH4 Wave output warning Address monitor H 1180 49Cy to to System area 1799 707 4 The default value is a value to be set after power on or after resetting the CPU module 2 This shows whether reading the data from or writing the data to the area with sequence programs is possible 106 R Readable W Writable 2 Un G1800 to Un G4999 Error history CHAPTER 6 BUFFER MEMORY Address Address Name Default Read Write decimal hexadecimal 4 2 1800 708y Latest address of error history 0 R 1801 709 to to System area 1809 7114 1810 7124 Error code 0 R m d 1812 7144 Month Day 0 Error time 1813 715g Hour Minute 0 No 1 1814 7164 Second Day okine 0 R week 1815 7174 to to System area 1819 71By 1820 71Cy to to No 2 Same as No 1 1829 7254 1830 7264 to to No 3 Same as No 1 1839 72Fy 1840 7304 to to No 4 Same as No 1 1849 7394 1850 73Ay to to No 5 Same as No 1 1859 7434 1860 7444 to to No 6 Same as No 1 1869 74Dy 1870 74Ey to to No 7 Same as No 1 1879 7574 1880 7584 to to No 8 Same as No 1 1889 7614 1890 7624 to to No 9 Same as No 1 1899 76By 1900 76Cy to to No 10 Same as No 1 1909 7754 107 sesseJppy Jouie N yng Jo SI 4 9 Address Address Nang Default Read Write decimal hexade
78. wave output execution refer to the following manual MELSEC Q High Speed Digital Analog Converter Module FB Library Reference Manual FBM M087 File register ZR The wave data and parameter setting contents remain in the CPU module even after power off or reset of the CPU module CSV file The wave data and parameter setting can be used for the D A converter module of other programmable controller systems only by copying the CSV file 47 2 Parameter settings for the wave output function Set the parameters of the wave output function to the following buffer memory areas to use the wave output function For details on each buffer memory refer to the following Details of Buffer Memory Addresses gt Page 109 Section 6 2 Setting item Buffer memory address Reference Output setting during wave output stop Un G1008 to Un G1011 Page 118 Section 6 2 19 Output value during wave output stop Un G1016 to Un G1019 Page 119 Section 6 2 20 Wave pattern start address setting Un G1024 to Un G1031 Page 120 Section 6 2 21 Wave pattern data points setting UmG1040to UniG1047 Page 121 Section 62 22 Wave pattern output repetition setting Un G1056 to Un G1059 Page 122 Section 6 2 23 Constant for wave output conversion cycle Un G1064 to Un G1067 Page 122 Section 6 2 24 Wave data registry area Un G5000 to Un G54999 Page 128 Section 6 2 36 For details on the parameter setting refer
79. wave output status is not changed even when a value is set for CHL1 Wave output start stop request UnXG1000 to Un G1003 To change the wave output status set Step action wave output request Un G1072 to OFF 0 set the status to the wave output stop uonounJ 1ndjno 9AeM g p uonoun uore deis 1ndjno e eA pg 85 3 Analog output test in the wave output mode The following shows the procedure of the analog output test using the wave output step action function In this section the analog output test only for CH1 is described Start y Switch the output mode to the wave output mode in the switch setting v Enable D A conversion AA Turn on then off Operating condition setting request Y9 Y Change the wave data value of the wave pattern start address Set Step action wave output request Un G1072 to ON 1 Has the step action wave output request been accepted Turn on CHO Output enable disable flag Y1 to Y4 Check that the wave data value of the wave pattern start address is output in a proper analog value 86 Example of testing analog output in CH1 Set Switch 4 to the wave output mode conversion speed 50us CH 0001H or to the wave output mode conversion speed 80us CH 00024 Set D A conversion enable disable setting Un GO to 000EH Turn on then off Operating condition setting request Y9 Even though the D A
80. where the error has occurred fits in L1 A value other than 0 and 1 is set to Step action wave output Set OFF 0 or ON 1 to Step action wave output request 360 request Un G1072 Un G1072 The value obtained from the following formula is greater Set the values in CH1 Wave pattern start address setting than 54999 last buffer memory address in Wave data f registry area L Un G1024 to CH4 Wave pattern start address setting i 2 cee t H Un G1031 and CH1 Wave pattern data points setting E CH1 Wave pattern start address setting L Un G1024 to 37H c L Un G1040 to CH4 Wave pattern data points setting CH4 Wave pattern start address setting H Un G1031 f A 3 H Un G1047 so that they meet the following condition CH1 Wave pattern data points setting L Un G1040 to p Wave pattern start address setting Wave pattern CH4 Wave pattern data points setting H UnXG1047 1 er data points setting 1 is equal to or smaller than 54999 The channel where the error has occurred fits in O When the user range setting is performed or restored the 7 j Correct the value so that the offset value may be smaller 4001 offset value is greater than or equal to the gain value The channel where the error has occurred fits in O than the gain value 212 CHAPTER 11 TROUBLESHOOTING Error code ee i Description and the error cause Action decimal When the
81. 1 0 Qu61BT1IN 00011 BBC2 QJ61BT11N 0020 00010 FDIC 2009 06 24 10 11 QJ71LP21 25 0000 00009 F112 2009 06 24 10 10 46 QU71LP21 25 0000 00008 F112 2009 06 24 10 10 02 QJ71LP21 25 0000 00007 ocic 2009 06 24 10 08 28 QO3UDCPU 00006 0700 2009 06 24 10 04 40 QO3UDCPU Point For details on the module error collection function refer to the following LL QnUCPU User s Manual Function Explanation Program Fundamentals 1 Compatible version The following table lists the versions of CPU modules and GX Works2 compatible with the module error collection uonoun uonoejo2 JOU eiInpoW OLY function Item Version CPU module Universal model QCPU with a serial number first five digits of 11043 or later GX Works2 Version 1 09K or later 91 4 11 Error Clear Function When an error occurs the error can be cleared on the system monitor By clicking the cleared and the ERR LED turns off The operation is the same as Error clear request YF as well as executing error clear from the display unit However the error history cannot be cleared with the button button in the system monitor the latest error code stored in Latest error code Un G19 is For instructions on Error clear request YF refer to the following Error clear request YF gt Page 100 Section 5 2 7 Diagnostics gt System Monitor gt error module Module s Detailed Information Monitoring
82. 1 to Un G4 109 ge CHO Output enable disable flag Y1 to Y4 99 Latest address of error history Un G1800 128 CHO Output setting during wave output stop Latest error code UN G19 05 110 Un G1008 to Un G1011 2 eee ee 118 CHO Output value during wave output stop Un G1016 to Un G1019 000 119 M CHEI Sealing lowerlimit value Mode switching setting Un G158 Un G159 116 pa i SLAC MEI dag Module error collection function 91 Un G55 Un G57 Un G59 Un G61 114 Module READY X0 sss 94 CHO Set value check code Un G11 to UnG14 110 CHLI Warning output lower limit value N Un G87 Un G89 Un G91 UnG93 115 CHO Warning output upper limit value Normal mode itn cea es gt mda 31 Un G86 Un G88 Un G90 UnG92 115 Normal output mode 00005 31 CHLI Wave output current digital value monitor Un G1148 to Un G1151 2 ee ee 126 CHO Wave output start stop request Un G1000 to Un G1003 0 117 CHO Wave output status monitor Un G1100 to Un G1103 2 2 0 000 125 CHO Wave output step action movement amount Un G1080 to Un G1083 0 124 232 Oo Offset value l lille 26 Offset gain adjustment value specification UnXG24 111 Offset gain setting llle 139 Setting from Offset Gain Setting of GX Works2 139 Setting from a program n annasa nanna
83. 2 Remote I O station Version 1 408 or later Normal system Version 7 10L or later GX Developer Remote I O station Version 8 17T or later 1 The D A converter module does not support GX Configurator DA therefore configure parameter settings in a sequence program when using GX Developer 4 Restrictions of base unit When the module is mounted on any of the following base units an online module change cannot be performed Slim type main base unit Q3LISB Extension base unit Q5L1B which does not require the power supply module An online module change cannot be performed for all modules on the base unit 167 eBueu e npoj euijuo 40 SUOMIPUCD Z OL 10 3 Online Module Change Operations The following table describes the operations for an online module change Q Executed x Not executed User operation Operation of the D A converter module Operation of the CPU module X Y FROM TO Dedicated Device Parameter refresh instructions instruction test setting 1 Stop the operation Turn off all of the Y signals A A turned on using the sequence The moue a O O O O x 4 y program Y Y 2 Remove the module The operation of the module Start the online module change Stops using GX Works2 The RUN LED turns off T Conversion dis
84. 2 Wave output current digital value monitor 0 R 1150 47Ey CH3 Wave output current digital value monitor 0 R 1151 47Fy CH4 Wave output current digital value monitor 0 R 1152 4804 to to System area 1155 4834 105 sesseJppy JouiejN yng Jo SI 4 9 Address Address Name Default Read Write decimal hexadecimal 4 2 1156 484 CH1 Wave output digital value outside the range Address monitor L j H 4157 485 CH1 Wave output digital value outside the range Address monitor H 1158 486 CH2 Wave output digital value outside the range Address monitor L F R 1159 487 CH2 Wave Output digital value outside the range Address monitor H 1160 488 CH3 Wave output digital value outside the range Address monitor L B 1161 489 CH3 Wave output digital value outside the range Address monitor H 1162 48Ay CH4 Wave output digital value outside the range Address monitor L F z 1163 48B CH4 Wave output digital value outside the range Address monitor H 1164 48Ch to to System area 1171 4934 1172 4944 CH1 Wave output warning Address monitor L 0 R 1173 495 CH1 Wave output warning Address monitor H 1174 496 CH2 Wave output warning Address monitor L 0 R 1175 497 CH2 Wave output warning Address monitor H 1176 498 CH3 Wave output warning Address monitor L 0 R 1177 499 CH3 Wave output warning Address monitor H 1178 49A CH4 Wave output
85. 2 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0 CH4 Lower CH4 Upper CH3 Lower CH3 Upper CH2 Lower CH2 Upper CH1 Lower CH1 Upper limit value limit value limit value limit value limit value limit value limit value limit value 0 0 0 0 0 0 0 0 Data for b8 to b15 are fixed to O 0 Normal 1 Alarm on a Warning output flag Un1G48 status When a warning is detected on any of the following conditions Alarm on 1 is stored to Warning output flag Un G48 corresponding to the channel When the digital value is out of the range set in CH1 Warning output upper limit value UnXG86 to CH4 Warning output lower limit value Un G93 in the normal output mode When the value of Wave data registry area Un G5000 to Un G54999 to be output is out of the range set in CH1 Warning output upper limit value UnXG86 to CH4 Warning output lower limit value Un G93 in the wave output mode When an error is detected in any D A conversion enabled or Warning output enabled channels Warning output signal XE also turns on b Clearing Warning output flag Un G48 Warning output flag Un G48 can be cleared in the following two methods Turning on and off Operating condition setting request Y9 Turning on and off Warning output clear request YE 12 Scaling enable disable setting Un G53 Sets whether to enable or disable the scaling for each channel For details on the scaling function
86. 3000 Un G14994 14000 Un G14995 15000 3 Un G14996 16000 ILLI DESDE 63 ween eee eee eee eee eee J Un G14997 17000 9MG4999 18000 4 The D A converter module accepts Un G14999 19000 the movement amount Current address Un G15000 20000 The address to be output is moved by the movement amount Change the digital value in the address 14994 to 10000 and set CHO Wave output step action movement amount Un G1080 to Un G1083 to 6 reverse run direction Analog output value Address Digital value 7 The digital value of Analog output Un G5000 0 digital value Un G14994 is output in Un G5001 1000 an analog value Un G5002 2000 10V Un G5003 3000 Un G14988 5V uonoun 4 1ndjno 3AeM g p uonoun uonoe deis nd no e eA pg bi Un G14989 9000 Schena he Goiekzaue uniciisso 0000 Un G14991 11000 Un G14992 12000 ov Un G14993 13000 Current address UnG14994 H600 m 70000 Un G14995 15000 Un G14996 Un G14997 Un G14998 Un G14999 Un G15000 6 Set CHO Wave output step action movement amount Un G1080 to H Un G1083 to 6 reverse 7 run direction 7 The D A converter module accepts ieee x the movement amount incon l The address to be output is moved by the movement amount 81 Set Step action wave output request Un G1072 to OFF 0 Address Un G5000 Digital value
87. 4 FUNCTIONS Point Wave output start request is accepted only when the CPU module is in the RUN status When CHO Wave output start stop request Un G1000 to Un G1003 is changed to Wave output start request 1 with the CPU module status other than in the RUN status the wave output is not started Wave output stop request is accepted when the CPU module is in the RUN or STOP status Wave output pause request is accepted only when the CPU module is in the RUN status When a value other than 0 to 2 is set to CHO Wave output start stop request Un G1000 to Un G1003 an error occurs The error code 230 is stored in Latest error code Un G19 Error flag XF turns on and ERR LED turns on However the process will continue 3 Checking the setting for the wave output function The setting for the wave output function can be checked in the following buffer memory areas Buffer memory Item Description Reference address Un G1100 to Page 125 Wave output status monitor The wave output status is stored in this area Un G1103 Section 6 2 27 Wave output conversion cycle Un G1108 to The conversion cycle of the wave output is stored in 32 bit Page 125 monitor Un G1115 signed binary in units of us in this area Section 6 2 28 Un G1124 to Page 125 Wave pattern output count monitor The output count of the wave pattern is stored in this area Un G1127 Section 6 2 29 Wave output curre
88. 48 CH3 Industrial shipment settings offset value System S9 CH3 Industrial shipment settings gain value System 10 CHA Industrial shipment settings offset value System 1 CH4 Industrial shipment settings gain value System S412 CH1 User range settings offset value System 13 CH1 User range settings gain value System 14 CH2 User range settings offset value System 15 CH2 User range settings gain value System 16 CH3 User range settings offset value System S417 CH3 User range settings gain value System S 18 CH4 User range settings offset value System 19 CH4 User range settings gain value System 3 Functions The offset gain setting values in the user range setting stored in the CPU module is restored to the D A converter module The interlock signal of G P OGSTOR includes a completion device and a completion status indication device 1 The reference accuracy on restoration of offset gain setting value is lowered three times or less of that of before the restoration a Completion device The device turns on at the END processing for the scan where the G P OGSTOR instruction is completed and turns off at the next END processing 221 YOLSDO d D xipueddy uononujsu pejeoipeq xipueddy b Completion status indication device This device turns on or off depending on the status of the G P OGSTOR instruction completion N
89. 8000 17642 17285 16928 16571 16214 15857 10009 End point is added by wave details setting 75 100 kc 20 18152 Number of data Close o o 25 so Wave details setting Please fine tune between each end point that is added by editing wave graph Section No Start point End point Digtal value Specify wave a E 1 E 1 o Digital values of the wave pattern are displayed 2 1 14 18000 Straight line 3 m s2 2000 Straight ine 4 42 66 18000 Straight line T a Open Wave Pattern Save Wave Pattern ok Cancel 58 CHAPTER 4 FUNCTIONS 8 Click the button Save Wave Pattern Save in 3 Wave Pattem x ex 2 Desktop My Documents My Computer My Network Filename 20120215 Places The saved wave pattern can be opened by clicking the button 9 Setthe save destination and the file name then click the button 10 Click the 11 Click the 12 Repeat procedures 2 to 11 to create other wave patterns button in Register Wave Pattern to register the created wave pattern 99 uoljoun 1ndjno 9AeM g p uonounij 1ndino snem du jo sumes jepu Lg 2 Setting parameters of the wave output function Set the parameters of the wave output function in Create Wave Output Data of GX Works2 Before the parameter setting create the wave data 1 Start Create Wave Output Data Tool gt Intelligent Function Mod
90. CH2 Output enable disable flag Y100E Warning output clear request Y100F Error clear request X21 Batch output enable signal X22 Digital value write command input signal X24 Warning output reset signal i a a X25 Error reset signal Y30 to Y3F Error code notation BCD 4 digits QY10 Y30 to Y3F SB20 Module status SB47 Baton pass status of own station SB49 Data link status own station Sw70 Baton pass status of each station SWT74 Cyclic transmission status of each station SW78 Parameter communication status of each station T100 to T104 Interlock for own station and other stations 162 CHAPTER 9 PROGRAMMING 2 Program example Checks remote I O station operation status SB47 H K4 T100 Checks the baton pass status at the master station SB49 H K3 T101 Checks the data link status at the master station SW70 0 H K4 T102 Checks the baton pass status at remote I O stations SW74 0 H K3 T103 Checks the data link status at remote I O stations SW78 0 H K3 104 Checks the parameter communication status at remote I O stations SB20 RST M103 T100 RST M104 T101 T102 T103 T104 SB20 T100 T101 T102 T103 T104 I MF M M MW Ht Ht MC NO M100 Checks the master module status M103 A SET M101 NO M100 X1000 M101 It i PLS M102 RST M101 sET M103 OMEN O I 90W34 eui uo eijnpoyy eui Burst ueuM 6 e npou uonouny 1ueBijeju jo sJe
91. CLEAR function setting Setting value HOLD CLEAR CH1 to CH4 Switch 3 0 CLEAR H CH4 CH3CH2 CH1 1to Fy HOLD H y Ga Output mode setting 00H Normal output mode conversion speed 20us CH 01H Wave output mode conversion speed 50us CH Switch 4 3 02H Wave output mode conversion speed 80us CH 03H to FFH Invalid 2 Fixed to OH Drive mode setting OH Normal D A converter processing mode 1H to FH A value other than OH Offset gain setting mode Switch 5 0 Fixed blank 4 1 The operation is the same when any value within the setting range is set 2 If a value other than 00 to 02 is set an error occurs The error code 114 is stored in Latest error code Un G19 Error flag XF turns on and ERR LED turns on 3 Setting the switch 4 to the wave output mode enables the wave output function To use the wave output function set the wave data and parameters of the wave output function in the sequence program 4 If a value other than 0 is set an error occurs The error code 114 is stored in Latest error code Un G19 Error flag XF 230 turns on and ERR LED flashes APPENDICES Appendix 3 External Dimensions The following shows the external dimensions of the D A converter module an l Br si j 054DAH RUI ALM ERR
92. Create Wave Output Data Register Wave Pattern Digital value range 0 to 20000 Wave pattern information Number of data 2 Digital value for Section No 1 20000 Wave details setting Digital value for Section No 2 0 Specify wave for Section No 2 Straight line 1 The wave pattern to be output in analog differs from the one to be monitored on GX Works2 CHAPTER 4 FUNCTIONS 3 Configure the Wave output data setting as shown below Create Wave Output Data Create wave output data for wave output function Register wave pattern Register wave pattern For creating wave output data Select graph part and press Enter to open registration window Wave pattern No e g Wave pattern name Digital value range Oto 20000 Number of data 2 Comment Wave output data setting Input wave output data CHI CH2 CH3 Wave pattern No 1 Output setting during wave output stop 0 0V mA 0 0VfmA 0 0V mA Output value during wave output stop o Wave pattern start address setting 5000 5000 Wave pattern data points setting Wave pattern output repetition setting Constant for wave output conversion cycle Set the output count of wave pattern 1 to 32767 Count specified output 1 Infinite repeating output TEES
93. D CLEAR function setting status of the D A converter module can be checked For details on the HOLD CLEAR function refer to the following e Analog Output HOLD CLEAR Function 7 5 Page 34 Section 4 4 b15 to b12 b11 to b8 b7 to b4 b3 to bO CH4 CH3 CH2 CH1 HOLD CLEAR function setting Setting value CLEAR 0 HOLD 1 to Fy value other than 0 Point The setting cannot be changed with HOLD CLEAR function setting Un G26 For changing the setting refer to the following Switch Setting gt Page 136 Section 8 2 10 Warning output setting Un1G47 Sets whether to enable or disable the warning output for each channel For details on the warning output function refer to the following e Warning Output Function 7 5 Page 44 Section 4 7 b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 bi bO olo o ol ojojo o o o o o cudcudcu2cH Data for b4 to b15 are fixed to 0 0 Enable 1 Disable a Enabling the setting Turn on and off Operating condition setting request Y9 to enable the setting b Default value All channels are set to Disable 1 112 CHAPTER 6 BUFFER MEMORY 11 Warning output flag Un G48 Whether the warning is upper limit warning or lower limit warning can be checked for each channel For details on the warning output function refer to the following e Warning Output Function 7 5 Page 44 Section 4 7 b15 b14 b13 b1
94. DRM bSENURDPI TAE dens Edere 136 8 2 Parameter Settings esos oon aD ieu cu M ede pet ras a itae ssa s US eh ies 137 84 Auto Refresh heri bey Sd alee pea AUR EE Vim due tart e 138 8 5 Offset gain Setting st rera r ee eh mamma 139 8 5 1 Setting from Offset Gain Setting of GX Works2 liiisllsssss llle 139 8 52 Settirig froma program is ex x ion LENA E IPIE a plebe ete Bd ee 142 CHAPTER 9 PROGRAMMING 146 9 1 Procedure for Programming 0 0 00 e cece s 146 9 2 When Using the Module in a Standard System Configuration 0005 147 9 2 1 Program example when using parameters of intelligent function module 149 9 2 2 Program example when not using the parameters of intelligent function module 152 9 3 When Using the Module on the Remote I O Network liliis else 154 9 3 1 Program example when using parameters of intelligent function module 160 9 3 2 Program example when not using the parameters of intelligent function module 162 CHAPTER 10 ONLINE MODULE CHANGE 166 10 1 Precautions on Online Module Change 0 0 0 166 10 2 Conditions for Online Module Change ssssssssese eh 167 10 3 Online Module Change Operations ilsllssessssll es 168 10 4 Online Module Change Procedure 0 0 0 0 ccc nen en een enna 169 10 5 When an Industrial Shipment Range Is Used and Parameters Are Set Using the Configuration FUNGHON eu Bi ho bie
95. DUCT LIABILITY FOR ANY INJURY OR DEATH TO PERSONS OR LOSS OR DAMAGE TO PROPERTY CAUSED BY the PRODUCT THAT ARE OPERATED OR USED IN APPLICATION NOT INTENDED OR EXCLUDED BY INSTRUCTIONS PRECAUTIONS OR WARNING CONTAINED IN MITSUBISHI S USER INSTRUCTION AND OR SAFETY MANUALS TECHNICAL BULLETINS AND GUIDELINES FOR the PRODUCT Prohibited Application Prohibited Applications include but not limited to the use of the PRODUCT in Nuclear Power Plants and any other power plants operated by Power companies and or any other cases in which the public could be affected if any problem or fault occurs in the PRODUCT Railway companies or Public service purposes and or any other cases in which establishment of a special quality assurance system is required by the Purchaser or End User Aircraft or Aerospace Medical applications Train equipment transport equipment such as Elevator and Escalator Incineration and Fuel devices Vehicles Manned transportation Equipment for Recreation and Amusement and Safety devices handling of Nuclear or Hazardous Materials or Chemicals Mining and Drilling and or other applications where there is a significant risk of injury to the public or property Notwithstanding the above restrictions Mitsubishi may in its sole discretion authorize use of the PRODUCT in one or more of the Prohibited Applications provided that the usage of the PRODUCT is limited only for the specific applications agreed to by Mitsub
96. Do not specify 2 3 4 lt Open Wave Pattern Save Wave Pattern 54 CHAPTER 4 FUNCTIONS 3 Set Wave pattern information Register Wave Pattern Register wave pattern Wave pattern information Input wave pattern information Wave pattern No Wave pattern name Digital value range Oto 20000 Display magnification Number of data 100 Comment Width 100 v Item Description Setting range The wave pattern number selected in the Create Wave Wave pattern No Output Data window is displayed Up to 10 wave patterns can be created Wave pattern name Set the name of the wave pattern 16 characters m Select the setting range of the digital value according to the 0 to 20000 default value Digital value range output range to be used 20000 to 20000 Number of data Set the number of the digital values of the wave pattern 1 to 50000 default value 100 Comment Set the comment of the wave pattern 64 characters 4 Click any position on the wave graph to create an end point The created end point is displayed with E Created end point Wave graph Edit wave graph by mouse operation TES Ga Drug and drop on the line allow you to change graph shape TOI Digital value 20000 r co Y 3 10000 o c gt Ee c TU ol c 2 o 25 50 75 100 o ki 25 y 14202 Number of data o 2 To delete the end point move the mouse pointer to the point
97. G88 Un G90 Un G92 CHO Warning output lower limit value Un G87 Un G89 Un G91 Un G93 Scaling enable disable setting Un G53 CHO Scaling lower limit value Un G54 Un G56 Un G58 Un G60 CHO Scaling upper limit value Un G55 Un G57 Un G59 Un G61 CHO Output setting during wave output stop Un G1008 to Un G1011 D M CHO Output value during wave output stop Un G1016 to Un G1019 2 CH1 Wave pattern start address setting L Un G1024 to CH4 Wave pattern start address setting H g F Un G1031 egaa CH1 Wave pattern data points setting L Un G1040 to CH4 Wave pattern data points setting H z o Un G1047 E CHO Wave pattern output repetition setting Un G1056 to Un G1059 CHO Constant for wave output conversion cycle Un G1064 to UnG1067 In the case of the following status Operating condition setting completed flag X9 turns off When Operating condition setting request Y9 is on gt Controlled by the D A converter module gt Controlled by the sequence program ON Module READY X0 1 a ON ON Operating condition setting completed flag X9 MN OFF H ON Operating condition i i setting request Y9 95 4 Offset gain setting mode flag XA a Offset gain setting mode When the offset or gain value which was adjusted with the offset gain setting is registered Offset gain setting mode flag XA is used as an interlock condit
98. I O slot of a base unit The Basic model QCPU or C Controller module cannot configure the MELSECNET H remote I O network 18 CHAPTER 2 SYSTEM CONFIGURATION 2 For multiple CPU system The function version of the first released D A converter module is C and the D A converter module supports multiple CPU systems When using the D A converter module in a multiple CPU system refer to the following QCPU User s Manual Multiple CPU System a Intelligent function module parameters Write intelligent function module parameters to only the control CPU of the D A converter module 3 For online module change The D A converter module supports online module change For details on the online module change refer to the following ONLINE MODULE CHANGE s Page 166 CHAPTER 10 suieis g ajqeolddy pZ 19 4 Applicable software packages The following table lists systems that use a D A converter module and applicable software packages A programming tool is required to use a D A converter module Item Software version GX Developer GX Works2 Q00J Q00 Q01CPU Single CPU system Version 7 or later Multiple CPU system Version 8 or later Q02 Q02H Q06H Q12H Q25HCPU Single CPU system Version 4 or later Multiple CPU system Version 6 or later Q02PH Q06PHCPU Single CPU system Multiple CPU system Version 8 68W or later Q12PH Q25PHCPU Single CPU system
99. MITSUBISHI Mitsubishi Programmable Controller MIEESEC O serie MELSEC Q High Speed Digital Analog Converter Module User s Manual Q64DAH MODEL SAFETY PRECAUTIONS Read these precautions before using this product Before using this product please read this manual and the relevant manuals carefully and pay full attention to safety to handle the product correctly The precautions given in this manual are concerned with this product only For the safety precautions of the programmable controller system refer to the user s manual for the CPU module used In this manual the safety precautions are classified into two levels A WARNING and AN CAUTION WARNING Indicates that incorrect handling may cause hazardous conditions resulting in death or severe injury Indicates that incorrect handling may cause hazardous conditions NCAUTION resulting in minor or moderate injury or property damage Under some circumstances failure to observe the precautions given under NCAUTION may lead to serious consequences Observe the precautions of both levels because they are important for personal and system safety Make sure that the end users read this manual and then keep the manual in a safe place for future reference Design Precautions NWARNING Analog outputs may remain on due to a failure of the module Configure an external interlock circuit for output signals that could cause a serious accident
100. PEU V E SIN YU eae iens 17 2 2 How to Check the Function Version and Serial Number 0 0000 0 0 sess 21 CHAPTER 3 SPECIFICATIONS 23 3 1 General Specifications s ess eek es vem NIA eon ox RR ee ATO OON 23 3 2 Performance Specifications 0 sasaaa aaaea re 24 3 2 1 Performance specifications list lilii 24 3 2 2 O conversion characteristic of D A conversion 000000 c ccc eee eee ee eee 26 32 8 ACCURACY foc Cut el ede aS ALG OO GL cade daa bd db el S d est unt 28 3 24 Number of parameter settings 2 0 0 ooann ccc cece eect teeta 29 3Q 3 JFUNCHONLISt X es oisi oO he eu ots ae arcs ra Me ud eser had LY di oom 30 CHAPTER 4 FUNCTIONS 31 41 ModE fx n ee mer IAM MATOS D er d v NE ene AP ea Dex p 31 4 2 D A Conversion Enable disable Function n nnana aasan cece eese 33 4 3 D A Output Enable disable Function n aaau 000 ccc ence eee eee 33 4 4 Analog Output HOLD CLEAR Function ssleseleee eee 34 4 5 Analog Output Test When CPU Module Is in STOP Status 00000 eee 37 4 6 Scaling F rictloris oz cyDLosdhs gni EARNED MGE aos PRIUS EURO PRODR OUO eu dE 39 4 7 Warning Output Function isssseeee m n 44 4 8 Wave Output Futictlon oos toe UID de ILI UPE RE O Eie 46 4 8 1 Initial settings of the wave output function 0 00 eee eee 54 4 8 2 Execution of the wave output function llle 67 4 8 3 Points for the wave output fun
101. PU module memory as a module error history The information of errors caused in the D A converter module can be held even after the CPU module is powered off and on or is reset Error history CPU module and error log intelligent function module are displayed on one screen J Errors that are detected in the entire base system can be monitored in chronological order Module A Module B CPU 24 19 29 Error A1 is detected 19 33 Error C1 is detected 4 19 36 Error A2 is detected L 1 19 34 Error B1 is detected I Time Module with error Error code 19 29 ModuleA i ErrorA1 19 33 CPU EmorC1 19 34 ModuleB Error B1 19 36 ModuleA ErrorA2 Error history CPU module Example of screen display A 19 33 Error C1 Error History List Displayed Errors Errors 12 12 Error Code Notation DEC HEX Y ay LI A 1 X i B E LI V Lr m 1 ri 3 1 le g E js 1 e t o O Programming tool N Error history display iS n 1 1 Lu Li Module error log Time Module with error Error code 19 29 Module A i Error A1 19 34 ModuleB Error B1 19 36 ModuleA Error A2 No Error Code Model Name Start
102. Pa not display comments 4 Online 2 Debug 2 Device test i 2 Enter and display the buffer memory address of D A Address tol 14 conversion enable disable setting Un GO 3 Set D A conversion enable disable setting Un GO Modify Value to Disable 1 for all channels Device Label Buffer Memory Device Label E xi 5 Check that the D A conversion has stopped and the Data Type sit x ON F Switch ON OFF 6 Settable Range 4 Tum on Operating condition setting request Y9 analog output value is 0V OmA After checking the analog output value check that Operating condition setting completed flag X9 turns off then turn off Operating condition setting Execution Result requ est Y9 Execution Result Device Label Data Type Setting Value Bit OFF Bit ON Module Start 0000 A Word Signed F H Reflect to Input Column Delete C l To the next page 200 CHAPTER 10 ONLINE MODULE CHANGE From the previous page L T If the buffer memory data are not recorded follow the procedures 8 to 11 8 Set Pass data classification setting Un G200 9 Turnon Operating condition setting request Y9 10 Check that Operating condition setting completed flag X9 turns off and turn off Operating condition setting request Y9 11 Compare the values in CH1 Industrial shipment settings offset value Un G202 to CH4 User range s
103. Parameter TJO Network No Master pes die ase modei nane Sipe Tore ts podales Ss dx etes ModelNome pomt t es Sabon AE Power SEES B Extension Basel E cpu Click the button to enable a module change Online Module Change r Operation _ Target Module Module Change I O Address 0000 Execution Installation weis Name 64D AH Confirmation Module Control Restart r Status poros Module Selection Completed Status Guidance turn off Y signal of the changed module hen you change the intelligent Function module lease press next button when you are ready Cancel When the following error window appears click the button and perform the operation described in gt Page 184 Section 10 7 3 ueijs S 1eujouy YIM uonoun 4 uoneun amp yuo ey Burs peun ijuo ay sBunjes eniu pue pasn s eBues Jes e ueuM Z OL MELSOFT Application The task is advanced to the installation confirmation i The target module didn t respond 5 After checking that the RUN LED of the module has turned off remove the terminal block 6 Remove the module Point Always remove the module If mounting confirmation is made without the module being removed the module will not start properly and the RUN LED will not turn on 183 3 Mounting a new module Online Module Change r Operation Targ
104. RAS 2 Device Program Boot file SFC 1 0 assignment 120 Assignment Switch setting Detailed setting Assigning the 1 0 address is not necessary as the CPU does it automatically Leaving this setting blank will not cause an error to occur Jedoje eq x9 Jo uonesedo z xipueddy Jedoje eq x9 Bulsp ueuM zZ xipueddy Item Description Type Select Intelli Model name Enter the model name of the D A converter module Points Select 16point StartXY Enter a desired start I O number of the D A converter module 229 2 Intelligent function module switch setting Configure the setting on Switch setting in PLC parameter Parameter gt PLC parameter z I O assignment gt Click the _Switch setting button Switch setting for I O and intelligent function module Inputfomat HEX 4 1 Select HEX Type Switch 1 Switch 2 Switch 3 Switch 4 Switch 5 PLC El Intelli 0000 0000 0000 0000 0000 Cancel Item Setting item Analog output range Output range setting 4 to 20mA OH Output range setting CH1 to CH4 0 to 20mA 1H Switch 1 1 to 5V 2u H CHA CH3CH2 CH1 0 to 5V 3H 10 to10V 44 User range setting Fy Switch 2 0 Fixed blank HOLD
105. SE ar ee ERG EV SE EE Ee i Be Bs 171 10 6 When an Industrial Shipment Range Is Used and Initial Settings Are Configured Using a Sequence Program 0 000 cece eee ee 176 10 7 When a User Range Is Used and Initial Settings Are Configured Using the Configuration Func tion with Another System 0 0 0 00 eee eee 182 10 8 When a User Range Is Used and Initial Settings Are Configured Using a Sequence Program with Another System u s ond at alt hee Wl tas x dg x nw n e d E 187 10 9 When a User Range Is Used and Initial Settings Are Configured Using the Configuration Func tion Without Another System llle 193 10 10 When a User Range Is Used and Initial Settings Are Configured Using a Sequence Program Without Another System lees m n 200 10 11 Range Reference Table 0 2 0 cece cece teen eens 207 CHAPTER 11 TROUBLESHOOTING 208 1124 Error Code List 7 65208 Gants Mea s tee RG Aug SIRE Rares Sd daa tts ee a 208 11 2 Alarm Code Eist sz Redes re daha qu UE uci mE ee Sud inna 214 11 3 Tro blesh oting 3 0 ue RC sd Alea tes UR itus socle deme 215 11 3 1 When the RUN LED flashes or turns Off 0 0 0 0 c cece see 215 11 3 2 When the ERR LED turns on or flashes ssssssssss ee 215 11 3 3 When the ALM LED turns on issssssssssssssss ese 216 11 3 4 When analog output value does
106. Set Value Reference Program Reference C Buffer Memory Module Start z HEX Address ec z r Display Format Modify Value 2 Ral isa 22 82 4 asc Oy 16 Details Open Save po not display comments A 9 si7 6 5 4 3l2 Hu Opa op ao odo ooo U0 G20 00000 209 c Checking through the module error collection function The errors occurred in the D A converter module are saved in the CPU module through the module error collection function The error details are held even after the power is turned off or the CPU module is reset How to check the errors through the module error collection function To check the errors of the D A converter module collected by the CPU module open the Error History window button D Diagnostics gt System Monitor gt Click the Error History D Stop Monitor Serial Port PLC Module Connection USB System Image Match all of the criteria below 1 Model Name matching Q64DAH 2 Start I O matching 0000 I Status Channel List Clear Refine Criteria Enter Refine Criteria Error History List Error Details Displayed Errors Errors 2 2 Error Code Notation DEC C HEX Model Name Q64DAH Start 1 0 0000 0000 Mount Position Main Base Slot No 0 1501 Error and Solution Intelligent Module Information Explanation In the normal output mode A value outs
107. Settable Range Execution Result Execution Result Device Label Data Type Setting Value Y9 Bit OFF v9 Bit ON Module Start 0000 A Word Signed F H Reflect to Input Column Delete C 176 Open the Device Buffer Memory Batch Monitor window Online gt Monitor gt Device Buffer Memory Batch When using GX Developer open the Device test window Online gt Debug gt Device test Enter and display the buffer memory address of D A conversion enable disable setting Un GO Set D A conversion enable disable setting Un GO to Disable 1 for all channels Turn on Operating condition setting request Y9 Check that the D A conversion has stopped and the analog output value is 0V OmA After checking the analog output value check that Operating condition setting completed flag X9 turns off then turn off Operating condition setting request Y9 2 Removing a module System Monitor D a itor Online module change Connection Channel List erai Port PLC Mode Connector RS 2320 f Operation to Selected Module Mai Shot GBIDAH _Eror Histon Dersi te RC JJO Network No Master ress Station No Q2SPHCPU Empty Empty Empty Empty Online Module Change r Target Module I O Address 0000 Module Name Q64DAH m Operation Module Change
108. T 2 Empty point 49998 Write wave output data Write wave output data to use in modules to project device memory or the specified place After the operation writing the output data to PLC is required to use it Write to Device Memory Write Data for Memory Card Read wave output data Read wave output data to use in modules from project device memory or the specified place Rese pon De eons Raed Dees for enone Card Read from PLC operation is required in advance Open Save wave output data file Read and save all the information that has been created for wave output data Open Wave Output Data from File Save Wave Output Data to File Close Setting item Setting content Wave pattern No for CH1 Wave pattern created in step 2 Wave pattern start address setting for CH1 5000 default value Wave pattern output repetition setting for CH1 Set the number of repetitions Constant for wave output conversion cycle for CH1 1 default value 4 Register the wave data and parameters of the wave output function to the D A converter module For how to register the wave data and parameters refer to the following e Registering the wave data and parameters of the wave output function s Page 67 Section 4 8 2 1 e Set D A conversion enable disable setting Un1GO to D A conversion enable for CH1 only Ej uonounJ nding 9AeM gY 9 Turn on and off Operating condition setting request Y9 Turn on CH1 Output
109. V H4144 G158 F Sets 4144u to Mode switching setting U01G158 UO MOV H964 G159 Sets 964u to Mode switching setting U01G159 SET Y9 J Turns on Operating condition setting request Y9 SET M50 M5 M50 Y9 X9 a TM RST 9 Common program Switches to the normal output mode M5 X0A XO x UO M ME MOV H964 G158 Sets 964u to Mode switching setting U01G158 UO MOV H4144 G159 Sets 4144H to Mode switching setting co oo U01G159 z a Q SET Yo 9g s ao JQ Q o SET M51 zs o 3 RST M50 og sa M5 M51 Y9 X9 kel H E E A RST Y9 Turns off Operating condition setting o request Y9 3 Mal K10 TO One second timer 0 M51 RST M51 END d Switching the mode using the intelligent function module switch setting The programs other than the common program are not necessary 145 CHAPTER 9 PROGRAMMING This chapter describes the procedure for programming and the basic program of the D A converter module 9 1 Procedure for Programming Create a program to execute the D A conversion according to the following procedure Start 3 Is the configuration NO function used YES Switch setting v Switch setting parameter setting and auto refresh setting aaa ete ta ue 1 Initial setting program es Configure the setting using a program Initial setting D A conversion enable disable program y Scaling function program 1 W
110. V file When writing the data to the CSV file store the CSV file to an ATA card When the CSV file is stored to an SRAM card a Flash card or an SD memory card the wave data and the parameter setting of the wave output function cannot be registered to the D A converter module For the CPU module which can use an ATA card refer to the following Q QCPU User s Manual Hardware Design Maintenance and Inspection 1 Click the button of the Create Wave Output Data window Write Data for Memory Card Savein 3 CSV ex He O My Recent Documents 2 Desktop My Documents My Computer My Network File name 20120215 Places Wave output data was saved to CSV file 20120216 csv Caution The following operation is required to execute wave output based on the saved C5V file data 1 Save CSY file to memory card and attached it to CPU 2 Write CSV File data to buffer memory by means of FB library 4 Click the button in Create Wave Output Data to finish the window 5 Insert an ATA card into the CPU module and store the CSV file to the ATA card with GX Works2 Point Some oscilloscopes or pulse generators can output the input wave or output wave to the CSV file To output the wave with the wave output function by using the CSV file data convert the data format into the one described in the following manual In addition convert the fractional value into the integer becau
111. Wave pattern data points setting L 1045 415 CH3 Wave pattern data points setting H ve 1046 416 CH4 Wave pattern data points setting L 1047 4174 CH4 Wave pattern data points setting H i id 1048 4184 to to System area 1055 41Fy 1056 4204 CH1 Wave pattern output repetition setting 1 R W 1057 4214 CH2 Wave pattern output repetition setting 1 R W 1058 4224 CH3 Wave pattern output repetition setting 1 R W 1059 4234 CH4 Wave pattern output repetition setting 1 R W 1060 4244 to to System area 1063 427 1064 4284 CH1 Constant for wave output conversion cycle 1 R W 1065 4294 CH2 Constant for wave output conversion cycle 1 R W 1066 42Au CH3 Constant for wave output conversion cycle 1 R W 1067 42By CH4 Constant for wave output conversion cycle 1 R W 1068 42Cy to to System area 1071 42Fy 1072 430 Step action wave output request 0 R W 1073 4314 to to System area 1079 4374 1080 4384 CH1 Wave output step action movement amount 0 R W 1081 439 CH2 Wave output step action movement amount 0 R W 1082 43A CH3 Wave output step action movement amount 0 R W 1083 43By CH4 Wave output step action movement amount 0 R W 1084 43Cy to to System area 1099 44By 1100 44Cy CH1 Wave output status monitor 0 1101 44Dy CH2 Wave output status monitor 0 104 CHAPTER 6 BUFFER MEMORY Address Address TES Default Read Write decimal hexadecimal
112. When the mode is the wave output mode use the wave output step action function 7 7 Page 80 Section 4 8 4 to check the operation 12 Before restarting the control check the D A converter module for the following If an error occurs refer to TROUBLESHOOTING gt Page 208 CHAPTER 11 and take a corrective action If the RUN LED is on If the ERR LED is off If Error flag XF is off 13 Since the new module is in the default status initial settings must be configured using a sequence program after the control resumed Before configuring the initial settings check that the initial setting program is proper satisfying the following Normal system configuration Create a sequence program that sets the initial settings when Module READY XO of the D A converter module turns on Do not create a sequence program which sets the initial settings for only one scan after RUN In this case the initial settings are not set When used on remote I O network Insert a user device where the initial settings will be set at any timing initial setting request signal into the sequence program Do not create a sequence program which sets the initial settings for only one scan after a data link start of the remote I O network In this case the initial settings are not set CHAPTER 10 ONLINE MODULE CHANGE 5 Resuming operation 1 Open the Online Module Change window again Online Module Change X Diagnostics
113. a 142 Offset gain setting mode flag XA 96 Offset gain setting mode Gain specification Un G23 VEDONO TEMP TOP he Stal EI 111 Offset gain setting mode Offset specification Un G22 Paparan bt nece C D AVE ear Dora 111 Online module change 0055 166 Operating condition setting completed flag X9 95 Operating condition setting request Y9 99 Output mode UnG9 000 109 P Parameter setting llle sss 137 Pass data classification setting Un G200 116 Performance specifications 24 R Range reference table 207 Restrictions on the wave output function 48 S Scaling enable disable setting Un G53 113 Scaling function l llle 39 Set value change completed flag XC 97 Set value change request YC 100 Setting range Un G20 44 110 Step action wave output request Un G1072 123 Switch setting aoaaa 136 U User range writing request YA 99 V Voltage output characteristic 26 Ww Warning output clear request YE 100 Warning output flag Un G48 113 Warning output function 0 000 44 Warning output setting Un G47 112 Warning output signal XE 97 Wave data etra t anaE ea aie rep Age 49 Wave data registry area Un G5000 to Un G54999 FLUE Dede at
114. able i flag Y1 to Y4 OFF ON CHO Wave output start stop Wave output stop Wave output start Wave output pause Wave output start request Un G1000 to Un G1003 request 0 request 1 request 2 request 1 CHO Wave output status monitor j Wave Wave output Un G1100 to Un G1103 Wave output stop 0 output 1 pause 2 Wave output 1 Wave output stop 0 If the analog output HOLD CLEAR function is set to HOLD the analog Analog output output value is held Output set in CHO Output setting during wave output stop Un G1008 to Un G1011 Offset value For CLEAR setting While the wave output is paused the offset value is output CPU module status RUN D A conversion enable disable setting Un GO D A conversion enable 0 CHO Output enable disable 9 flag Y1 to Y4 OFF ON CHO Wave output start stop Wave output stop Wave output start Wave output pause Wave output start request Un G1000 to Un G1003 request 0 request 1 request 2 request 1 CHO Wave output status monitor Wave Wave output Un G1100 to Un G1103 Wave output stop 0 output 1 pause 2 Wave output 1 Wave output stop 0 Wave data Analog output If the analog output HOLD CLEAR function is set to CLEAR the offset value is output Output set in CHO Output setting during wave output stop Un G1008 to Un G1011 Offset value CHAPTER
115. abled The analog output is Click the Es button on OV OmA x x x i GX Works2 to enable the module to be removed d Remove the module 3 Mount a new module Mount a new module 3 T The X Y refresh restarts and the module starts up The RUN LED turns on Default operation starts After mounting the module click Module READY X0 O x Oo the Cissi button on GX Works2 gt remains off When there are initial setting parameters the module starts to operate based on the initial setting parameters at this point Check the operation before the control starts 4 Check the operation y Click the _ c _ button on GX Works2 to turn off the online mode Y On Device test on GX Works2 test the operation of the replaced module Y O O a The module operates based Restore the user range settings on the test operation by writing of buffer memory addresses at this point Operation check is completed 5 Resume the control i 5 Module READY X0 turns on Restart the online module change 1 mode using GX Works2 The module operates based on O O O O x Y the control Click the c button to resume the initial setting sequence program which runs when Module READY X0 turns on 1 2 4 168 An access to Intelligent function module device ULINGLI is included In the absence of the operation marked 2 the operation of the intelligent function module is
116. address setting address setting points setting 2 TO oo Q 2 S e zi S gt The available range for movement is Un G5000 to Un G14999 If a value out of the setting range of the wave pattern data points is set for CHO Wave output step action movement amount Un G1080 to Un G1083 the data is processed with the value within the setting range 83 2 Execution of the wave output step action function To use the wave output step action function the initial setting for the wave output function must be set in advance For details on the initial setting for the wave output function refer to the following Initial settings of the wave output function 7 gt Page 54 Section 4 8 1 e Registering the wave data and parameters of the wave output function 7 5 Page 67 Section 4 8 2 1 a Switch to the wave output step action status Switch the wave output status to the wave output step action in the following procedure 1 Set Step action wave output request Un G1072 to ON 1 2 Check that CHO Wave output status monitor Un G1100 to Un G1103 is set to Wave output step action 3 in all the channels where the D A conversion is enabled b Execution of the wave output step action After switching the status to the wave output step action status execute the wave output step action in the following procedure Repeating this procedure tests analog output in the wave output mode and debugs the wave output function 1 Change th
117. ag XA gt Page 96 Section 5 2 1 4 b Normal output mode Turn on and off User range writing request YA to restore the user range For the timing of turning on and off the signal refer to the following e Offset gain setting mode flag XA gt Page 96 Section 5 2 1 4 c Wave output mode Even when User range writing request YA is turned on and off in the wave output mode the user range cannot be restored To restore the user range set the normal output mode 4 Channel change request YB Turn on and off Channel change request YB to change a channel to perform the offset gain setting For the timing of turning on and off the signal refer to the following Channel change completed flag XB L gt Page 96 Section 5 2 1 5 99 100 5 6 7 Set value change request YC Turn on and off Set value change request YC to change the analog output value while the offset gain setting is adjusted The analog output is changed according to the value set in Offset gain adjustment value specification Un G24 Warning output clear request YE Turn on and off Warning output clear request YE to clear the warning output For the timing of turning on and off the signal refer to the following e Warning output signal XE s Page 97 Section 5 2 1 7 Error clear request YF Turn on and off Error clear request YF to clear errors For the timing of turning on and off the signal
118. al settings for only one scan after RUN In this case the initial settings are not set l To the next page 205 206 From the previous page l When used on remote I O network Insert a user device where the initial settings will be set at any timing initial setting request signal into the sequence program Do not create a sequence program which sets the initial settings for only one scan after a data link start of the remote I O network In this case the initial settings are not set 5 Resuming operation 1 Open the Online Module Change window again Online Module Change r Operation r Target Module OD Diagnostics gt Online Module Change Module Change I O Address 0000 ERCRPSEC gom 2 Click the button on the appeared window Installation Module Name Q64DAH Confirmation to resume control Module READY X0 turns on Module Control p il Restart ions Module Installation Completion Status Guidance he controls such as I O FROM TO instruction executions and tomatic refresh For the installed module are restarted lease confirm the parameter setting wiring etc and press completed utton Cancel 3 Theonline module change is completed MELSOFT Application e YD Online module change completed CHAPTER 10 ONLINE MODULE CHANGE 10 11 Range Reference Table This section lists range reference used for an online module change 1 CH1 Industrial s
119. alue Reference D A conversion enable disable 0 Enable Page 33 Basic setting setting 1 Disable default value Section 4 2 Warning output settin pau utpu l da J 1 Disable default value Page 44 Warning output function xm Warning output upper limit value 32768 to 32767 default value 0 Section 4 7 Warning output lower limit value 32768 to 32767 default value 0 Scaling enable disable settin openers I 3 2 1 Disable default value Page 39 Scaling function m j f Scaling upper limit value 32000 to 32000 default value 0 Section 4 6 Scaling lower limit value 32000 to 32000 default value 0 137 8 4 Auto Refresh This function transfers data in the buffer memory to specified devices Reading writing data by programming is not required 1 Setting procedure Open the Auto_Refresh window 1 Start Auto Refresh Project window c Intelligent Function Module gt module name zc Auto Refresh 2 Click the item to set and input the destination device for auto refresh t 0000 064DAH Auto Refresh DE Display Filter Display all Item E Fransfer to PLC Transfers buffer ecified perme Set value check code Warning output flag Latest error code Latest address of error history Transfer to intelligent function Transfers the data of specified device to the buffer memory Digital value Transfers buffer memory data to the specified device Poi
120. ance specifications Do not use the value in the dotted line in the graph above 27 suoneoiuioeds eoueuuoLegd ZE UOISJ9AUOO Y Q JO DNSUSJOeIeYO UOISIOAUOD O I ZZ 3 2 3 Accuracy 28 This accuracy is for the maximum value of analog output value Even when the offset gain setting or output range was changed to change output characteristics the accuracy remains the same and is kept within the range described in performance specifications The following graph shows the fluctuation range of accuracy when the range of 10 to 10V is selected The analog output accuracy is within 0 1 10mV when the ambient temperature is 25 5 C and within 0 3 30mV when the ambient temperature is 0 to 55 C Excluding the case under noise effect 10 Voltage fluctuation range Analog output voltage V 10 20000 0 20000 Digital value CHAPTER 3 SPECIFICATIONS 3 2 4 Number of parameter settings Set initial settings and auto refresh settings of the D A converter module so that the number of parameters including those of other intelligent function modules does not exceed the number of parameters that can be set in the CPU module For the maximum number of parameters that can be set in the CPU module refer to the following QCPU User s Manual Hardware Design Maintenance and Inspection 1 Number of the D A converter module parameters For a D A converter module the following number of para
121. ange to 20000 Display magnification Display digital value Wave output data setting Number of data 100 Input wave output data Comment width 100 zl Height 100 z 100 Width and Height Display Digital Value Wave graph Wave pattern No Output setting during wave output stop Q Edit wave graph by mouse operation Iniialze Graph Output value during wave output stop Drug and drop on the line allow you to change graph shape z Wave pattern start address setting Digtal value Wave pattern data points setting Wave pattern output repetition setting Constant for wave output conversion cycle Specify Wave pattern No for wave outputting Pattern specification is limited up to 3 1to 10 Write wave output data Write wave output data to use in modules to project device memory or the specifi After the operation writing the output data to PLC is required to use it Read wave output data iead wave output data to use in modules from project device memory or the sped Read from PLC operation is required in advance OpenjSave wave output data file Read and save all the information that has been created for wave output dats 9j 0 25 100 Number of data Wave details setting Please fine tune between each end point that is added by editing wave graph Section No Start point End paint Digital value Specify wave A 1 1 100 0
122. arning output function program Wave output function program 1 A program that is created according to the function to be used Error reset program 2 A program that is added according tothe control target Create a program if needed 3 When the wave output function is used setting D A conversion enable disable setting to 0 Enable in the parameter setting of the configuration function will cause an error at the start up of the D A converter module The error code 330 is stored in Latest error code Un G19 Error flag XF turns on and ERR LED turns on This error occurs because the wave pattern data points setting is set to 0 default value for the channel where D A conversion enable is set To prevent the error set D A conversion enable by the procedure described in the following section Basic setting 7 gt Page 66 Section 4 8 1 4 b 146 CHAPTER 9 PROGRAMMING 9 2 When Using the Module in a Standard System Configuration This section shows program examples where the following system configuration and conditions apply 1 System configuration QY10 Y20 to Y2F QX10 X10 to X1F D A converter module X YO to X YF 2 Programming condition Set CH1 and CH2 of the D A converter module to D A conversion enable then write the digital values If a digital value write error occurs an error code is displayed in BCD Configure the scaling setting in CH1 only and config
123. art r Status Guidance The module can be exchanged lease press the next button after installing a new module wajsks Jeujouy ym wes6oig souenbas e Bulsp peinByuog ay sBumes euj pue pesf s eBues sasn e ueuM BOL 4 Checking operation 1 To check the operation click the Online Module Change to cancel the control restart r Operation Target Module Module Change YO Address 0000 Execution Installation Module Name Q64DAH Confirmation Status yy Module Control Change Module Installation Completion Restart Status Guidance he controls such as I O FROM TO instruction executions and automatic refresh For the installed module are restarted Please confirm the parameter setting wiring etc and press completed utton Execute L To the next page 189 From the previous page L MELSOFT Application IS ggg lo lo lo eee l To the next page 190 Clickthe button to leave the Online module change mode Click the See button to close the System Monitor window Open the Device Buffer Memory Batch Monitor window X Online gt Monitor gt Device Buffer Memory Batch When using GX Developer open the Device test window D Online gt Debug gt Device test Enter and display the buffer memory address of D A conversion enable disab
124. assification setting 0 R W 201 C94 System area 202 CAy CH1 Industrial shipment settings offset value 0 R W 203 CBy CH1 Industrial shipment settings gain value 0 R W 204 CCy CH2 Industrial shipment settings offset value 0 R W 205 CDy CH2 Industrial shipment settings gain value 0 R W 102 CHAPTER 6 BUFFER MEMORY Address Address ane Default Read Write decimal hexadecimal 4 72 206 CEy CH3 Industrial shipment settings offset value 0 R W 207 CFy CH3 Industrial shipment settings gain value 0 R W 208 DOW CH4 Industrial shipment settings offset value 0 R W 209 Diy CH4 Industrial shipment settings gain value 0 R W 210 D24 CH1 User range settings offset value 0 R W 211 D34 CH1 User range settings gain value 0 R W 212 D44 CH2 User range settings offset value 0 R W 213 D54 CH2 User range settings gain value 0 R W 214 D6 CH3 User range settings offset value 0 R W 215 D74 CH3 User range settings gain value 0 R W 216 D84 CH4 User range settings offset value 0 R W 217 D94 CH4 User range settings gain value 0 R W 218 DA to to System area 999 3E7 1000 3E8y CH1 Wave output start stop request 0 R W 1001 3E94 CH2 Wave output start stop request 0 R W 1002 3EAH CH3 Wave output start stop request 0 R W 1003 3EBy CH4 Wave output start stop request 0 R W 1004 3ECy to to System area 1007 3EFy 1008 3FOy CH1 Output setting durin
125. ated by the following formula Conversion cycle us Conversion speed x Number of channels where Constant for wave output ycie w 50us or 80us D A conversion is enabled conversion cycle In the wave output function the conversion cycle can be set for each channel by setting CHO Constant for wave output conversion cycle Un G1064 to Un G1067 The conversion cycle of the current output wave can be checked in CH1 Wave output conversion cycle monitor L Un G1108 to CH4 Wave output conversion cycle monitor H Un G1115 Ex The conversion cycle and operation timing Setting item Setting value Output mode Wave output mode conversion speed 80us CH D A conversion enable disable setting Un GO All the channels are set to D A conversion enable 0 CH1 1 CHO Constant for wave output conversion cycle CH2 2 Un G1064 to Un G1067 CH3 3 CH4 4 The following figure shows the conversion cycle of each channel with the above settings Wave output start 80us DUE GE WP um EE QU eS CH1 3204s 320us 320us 320us 320us 320us 320us 320us 320us 3204s dt zi gt t gt d gt lt ie 3 I gt ie gt seems XKX X X X oO i 6404s 640us i 640us l 640us Oo a sla ra x o crs om DX X X X H ud N 960us L 960us 9604s RI ME a CH4 1280us m SE A X S aa L 1280us 1280us 53 4 8 1 Initial settings of the wave
126. atest address of error history The start address of the error history Un G1800 where the latest error is stored is stored Address 1810 Error history No 1 ero 1820 Error history No 2 anion gt 1830 Error history No 3 Empty 1960 Error history No 16 Empty CHAPTER 4 FUNCTIONS 7 Details of error history An error history consists of the following data Error code First two digits Last two digits of the year of the year Error Month Day time Hour Minute Second Day of the week M c 89 uogounj 8010043 6 t 2 When the 17th error occurs The 17th error is stored in error history No 1 and the value 1810 start address of error history No 1 is stored to Latest address of error history Un G1800 Latest address of error history Un G1800 Address 1810 Error history No 1 1820 Error history No 2 The 17th error is stored in Error history No 1 and the 1st error history will be erased 2nd error j 1830 Error history No 3 3rd error J 1960 Error history No 16 16th error CHAPTER 4 FUNCTIONS 4 1 0 Module Error Collection Function This function collects the errors and alarms occur in the D A converter module into the CPU module The error information of the D A converter module can be held in a C
127. atest error code Un G19 Error flag XF turns on and ERR LED turns on The wave output cannot be executed b Enabling the setting Turn on and off Operating condition setting request Y9 to enable the setting c Default value All channels are set to 1 24 CHO Constant for wave output conversion cycle Un1G1064 to Un1G1067 This area is for setting how much to multiply the conversion speed in the wave output mode 50us or 80us The conversion cycle can be set with the value set in this area under the following conditions Conversion cycle us Conversion speed x Number of channels where si Constant for wave output yce w 50us or 80us D A conversion is enabled conversion cycle This area can be set only in the wave output mode For details on the wave output function refer to the following e Wave Output Function s Page 46 Section 4 8 a Setting range Setting range 1 to 5000 Even when the setting value is changed in the mode other than the wave output mode the change is not applied In the channel where a value out of the above setting range is set an error occurs The error code 350 is stored in Latest error code Un G19 Error flag XF turns on and ERR LED turns on The wave output cannot be executed b Enabling the setting Turn on and off Operating condition setting request Y9 to enable the setting c Default value All channels are set to 1 122 CHAPTER 6 BUFFER MEMORY 25 S
128. attern start address setting H Un G1031 under the following condition Wave pattern start Wave pattern data address setting points setting d S 54999 In the channel where a value does not satisfy the condition an error occurs The error code 370 is stored in Latest error code Un G19 Error flag XF turns on and ERR LED turns on b Enabling the setting Turn on and off Operating condition setting request Y9 to enable the setting c Default value All channels are set to 0 Point Because 0 is set as the default value change the setting value for the wave output function 121 sesseJppy Aioweyy Jejng Jo sieq z 9 23 CHO Wave pattern output repetition setting Un G1056 to Un1G1059 This area is for setting the repeat count to output the wave pattern repeatedly This area can be set only in the wave output mode For details on the wave output function refer to the following e Wave Output Function gt Page 46 Section 4 8 a Setting range Follow the setting range below Setting value Description 1 The wave pattern is output in analog unlimitedly 1 to 32767 The wave pattern is output in analog for the counts of the setting value Even when the setting value is changed in the mode other than the wave output mode the change is not applied In the channel where a value out of the above setting range is set an error occurs The error code 340 is stored in L
129. ave output function to the file register ZR or the CSV file a Writing data to a file register ZR When writing the data to the file register ZR set the capacity of the file register ZR for the number of required data points The following are the setting precautions Set the target memory to the standard RAM Do not set it to a memory card Check that the file register ZR can be used with the CPU module in use For the setting procedure and the availability of a file register ZR refer to the following QnUCPU User s Manual Function Explanation Program Fundamentals E Qn H QnPH QnPRHCPU User s Manual Function Explanation Program Fundamentals button of the Create Wave Output Data window 1 Click the Write wave output data Write wave output data to use in modules to project device memory or the specified place After the operation writing the output data to PLC is required to use it Write Data for Memory Card Read wave output data Read waye output data to use in modules from project device memory or the specified place Read From Device Memory Read Data for Memory Card j vi ar Read from PLC operation is required in advance OpenjSave wave output data file Read and save all the information that has been created for wave output data Open Wave Output Data from File Save Wave Output Data to File Close button 2 Set Device memory name and Start device then click the Write
130. awn RN de End point l teta Ct 1 Construct an equilateral triangle having the start and uet pa x end points as its vertices we E i i N 2 Construct a circle having the other vertex of the triangle Start point _ i as its center and a side of the triangle as its radius r Sire Ne E inm dc i 3 Draw the minor arc connecting the start and end points on A the wave graph Circular arc i grap i The steps 1 and 2 are processed inside GX Works2 Es ee and not displayed on the wave graph NE In an upward direction In a downward direction Set Direction Specify wave Direction Amplitude Circular arc Upward Do not specify p Downward The interval of the start point and end point is drawn in a straight line Straight line 56 CHAPTER 4 FUNCTIONS Item Setting result The graph is drawn with an adjustment so that the start point and end point are on the edge points of the exponential function of y e x 0 to 10 Exponential function The graph is drawn with an adjustment so that the start point and end point are on the edge points of the logarithmic function of y logeX x 1 to 101 Logarithmic function The interval between the start point and end point is drawn in a sine function wave The amplitude A of the sine function to be drawn is the value set in Amplitude The start position can be changed by 180
131. button and check that the RUN LED turns on Module READY X0 remains off To check the operation click the j button to cancel the control restart From the previous page L MELSOFT Application Even if the stop is executed the online module change mode on the PLC side is not canceled Please execute the online module change and restart the control of the module again i The online module change is stopped System Monitor f Connection Channel List Serisi Pore PLC module Connection RS 232C Operation to Selected Module Man Base Mode Information List Main Base Base series Model Name Point Base Information List Parameter Network No Master PLC Power Base Installed yo Base odio Base modet nane Base sos sted sanus Park Address Station No Supply o Extension Basel Extension Base2 Extension Based Extension Based Extension BaseS Extension Bases Sot Major Enor A Moderate Error Q Assignment Error Assignment Incorrect Device Buffer Memory Batch Monitor 1 Monitoring Device Device Name ues Reference Progra gef Buffer Memory Module Start 0000 Hex Address T bec f Display format Modify Value 2 PAE Se Se Ede l 16 vetais open _ save Benet desley e zl Address F E p c BiA s 8 7 e s 4 3 2 1 o ojo o o olo olo ol
132. by setting Phase Wx le Xed Xst gt Sine function End point e Number of data in a wave pattern Wx amp Digital value range Wy T e Data position of the start point Xst P a G Data position of the end point Xed N 2 2 3 Start point The interval between the start point and end point is drawn in a cosine function wave The amplitude A of the cosine function to be drawn is the value set in Amplitude The start position can be changed by 180 by setting Phase uonounij 1ndino snem du jo sues jepu p gY Wx Cosine Start point p Xed Xst T gt End point function b J Number of data in a wave pattern Wx Digital value range Wy Data position of the start point Xst z Data position of the end point Xed zii 1 When using the sine function and cosine function set the same digital value for the start point and end point 57 6 Drag the created end point to adjust the position Wave graph Edit wave graph by mouse operation Initialize Graph Drug and drop on the line allow you to change graph shape SO Digital value 20000 T C Drag 10000 75 100 bk 10 y 15631 Number of data The end point position also can be adjusted by changing the value of End point and Digital value in Wave details setting Wave details setting Please fine tune between each end point that is added by editing wa
133. ch a warning has occurred so that the value is within the setting range Turning Warning output clear request YE on and off or Operating condition setting request Y9 on and off after correction resets the stored value 127 sesseJppy Aioweyy Jejng Jo seq z 9 34 Latest address of error history Un G1800 The start address of the latest error history is stored 35 Error history No O Un G1810 to Un G1969 Up to 16 errors that occurred in the module are recorded For details on the error log function refer to the following e Error Log Function lt 5 Page 88 Section 4 9 b15 to b8 b7 to bO Un G1810 Error code Un G1811 First two digits of the year Last two digits of the year Un G1812 Month Day Un G1813 Hour Minute Un G1814 Second Day of the week Un G1815 to System area Un G1819 Item Stored data Example First two digits of the year Last two digits of the 20114 year Month Day Stored in BCD code 329 Hour Minute 1035 Second 40g The value that corresponds to the day of the week is stored in BCD code Sunday 0 Monday 1 Day of the week Tuesday 2 Wednesday 3 24 Thursday 4 Friday 5 Saturday 6 1 Those are values when an error occurs at 10 35 40 on Tuesday March 29th 2011 36 Wave data registry area Un G5000 to Un1G54999 This area registers the wave data for analog output in the wave output mode This area can be set only in the wave out
134. cimal 1 2 1910 7764 to to No 11 Same as No 1 1919 77F4 1920 7804 to to No 12 Same as No 1 1929 7894 1930 78Ay to to No 13 Same as No 1 1939 7934 1940 7944 to to No 14 Same as No 1 1949 79Du 1950 79E to to No 15 Same as No 1 1959 TATY 1960 TA8Y to to No 16 Same as No 1 1969 7B1y 1970 7B2y to to System area 4999 13874 4 The default value is a value to be set after power on or after resetting the CPU module 2 This shows whether reading the data from or writing the data to the area with sequence programs is possible 3 Un G5000 to Un1G54999 Wave data registry area R Readable W Writable Address Address ane Default Read Write decimal hexadecimal ex 2 5000 13884 to to Wave data registry area 0 R W 54999 D6D7 4 The default value is a value to be set after power on or after resetting the CPU module 2 This shows whether reading the data from or writing the data to the area with sequence programs is possible 108 R Readable W Writable CHAPTER 6 BUFFER MEMORY 6 2 Details of Buffer Memory Addresses This section describes the details of buffer memory addresses 1 D A conversion enable disable setting Un GO Sets whether to enable or disable D A conversion for each channel b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 bi bO 0 0 0 0 0 0 0 0 0 0 0 O CH4 CH3 CH2 CH1 Data for b4
135. conversion disable 1 and turn on then off Operating condition setting request Y9 RR Analog output i i i i Ng i i i mao i i x lt i i i oo Output set in CHO Output setting j i i 20 during wave output stop s 5 5 Un G1008 to Un G1011 1 E 5 Offset value F3 5 d 25 ov omA H S 5 amp oh c 2 Q 2 Point In the wave output mode only when the wave output is stopped in all the channels CHO Wave output status monitor Un G1100 to Un G1103 is set to Wave output stop 0 in all the channels the parameter setting can be enabled by turning on and off Operating condition setting request Y9 When Operating condition setting request Y9 is turned on and off with a channel set to other than the Wave output stop an error occurs The error code 200 is stored in Latest error code Un G19 Error flag XF turns on and ERR LED turns on The parameter setting cannot be enabled 67 2 Starting stopping pausing wave output a Starting the wave output The wave output can be started by the following procedures after the wave data registration 1 Turn on CHO Output enable disable flag Y1 to Y4 The value is output in analog according to the setting in Output setting during wave output stop 2 Set CHO Wave output start stop request Un G1000 to Un G1003 to Wave output start request 1 When Wave output stop request 0 or Wave output pause request 2 is changed to Wave output start request
136. conversion is enabled the analog output value is the offset value since CH1 Output enable disable flag Y1 is off Check that Wave output step action 3 is stored in CH1 Wave output status monitor Un G1100 Turn on CH1 Output enable disable flag Y1 The analog output value changes from the offset value to the wave data value of the wave pattern start address Check that the analog output value is proper using a tester CHAPTER 4 FUNCTIONS Example of testing analog output in CH1 Turn off CH1 Output enable disable flag Y1 The analog output value is the offset value Turn off CHO Output enable disable flag Y1 to Y4 4 Example 1 When CH1 Wave output current address monitor Un1G1132 Un G1133 is 5100 and Address A is 5110 1 Change the value in Wave data registry area Un G5110 to the digital value for output Change the value in Address A to the digital value 2 SUC ODD Ir CET Wave output stepaction movement for output 1 Example 2 When CH1 Wave output current address monitor UnG1132 Un G1133 is 5100 and Address A is 5095 1 Change the value in Wave data registry area Un G5095 to the digital value for output 12 Set 5 5095 5100 in CH1 Wave output step action movement Decide an address Address A in the wave data registry area that is to be used next v Yy Set a value in CHO Wave output step action movement amount Un G1080 to Un G1083 the value is Address A
137. ction llle 72 4 8 4 Wave output step action fUnCtIONn n s soassa aranera ee 80 49r Eror Log Function cid den rera De ie ANE EE AE a i ea Te AH SS 88 4 10 Module Error Collection Function 0 2 0 0 0 cect eee nee 91 4 11 Eror Clear Function rt e nade vette od UR e Eden abi Bens sexed bae i doe vag Ree 92 CHAPTER 5 I O SIGNALS ASSIGNED TO THE CPU MODULE 93 b 1 W O Signal Lists sisted sence obey eae ee RE pe aia EE E ERN Pa MERGE 93 5 2 Details of O Signals a A a E ha 94 5 241 eInpu amp signialis xot stie n Bib hac WN eee oe edd ae Ais ay 94 52 2 VOUtpUt SIGMAl sacer pce uie Ale aera natn ce atte eta 8 ru esa ie ahah ALS ave 99 CHAPTER 6 BUFFER MEMORY 101 6 1 List of Buffer Memory Addresses 0 nass 101 6 2 Details of Buffer Memory Addresses 000 000 cece eee eee 109 CHAPTER 7 SETTINGS AND PROCEDURES BEFORE OPERATION 129 7 1 Handling Precautions 0 00 0 0 ccc ccc Ea ES 129 7 2 Settings and Procedures Before Operation 2000 000 cece eee eee 130 U3 IPartiNames cc pa Co AL Aan saree An Modis and Topas hs eal sade OB Ne ta de EUER 131 T MEMBER 133 CAA Wiring precautions 4 ioa eee ay Rei Ee etie Rat tefie 133 T42 External wingei coe Ce a HER CP AR ORI qt eet do b Rd 134 CHAPTER 8 VARIOUS SETTINGS 135 8 1 Adding a Module eue im ree eo ee E Peu a ERR 135 8 2 Switch Settiriqu 2c 2 sdb wea ed RA EE
138. cuted Execute the G P OGSTOR instruction once per module 162 For the offset gain setting a setting value has been Write the setting value into the flash memory only once consecutively written to the flash memory more than 25 for each offset gain setting times Execute the G P OGLOAD and G P OGSTOR The G P OGSTOR instruction has been executed on a instnictionsdo E Sme module P instructi ule module different from the one on which the f 163 G P OGLOAD instruction was executed After executing the G P OGLOAD instruction on the module from which data is saved execute the The G P OGSTOR instruction has been executed ahead of the G P OGLOAD instruction G P OGSTOR instruction on the module to which the f data is restored The offset gain setting is configured exceeding the No more offset gain setting is reflected on the operation ne maximum number of times successfully Operating condition setting request Y9 was turned on and 2 Turn on and off Operating condition setting request Y9 2001 off in a status other than wave output stop UP after stopping wave output in all channels The channel where the error has occurred fits in O n Scaling function is enabled in the wave output mode Set Disable 1 to Scaling enable disable setting Un G53 210 The channel where the error has occurred fits in O in the wave output mode 211 jsr 8POD J043 LLL Error code
139. d in gt Page 189 Section 10 8 3 MELSOFT Application i The target module didn t respond The task is advanced to the installation confirmation 5 After checking that the RUN LED of the module has turned off remove the terminal block 6 Remove the module Point Always remove the module If mounting confirmation is made without the module being removed the module will not start properly and the RUN LED will not turn on 188 CHAPTER 10 ONLINE MODULE CHANGE 3 Mounting a new module 1 Mount the removed module and a new module to another system 2 Using the G P OGLOAD instruction save the offset gain setting values in the user range from the removed module to the CPU device For the G P OGLOAD instruction refer to 5 Page 223 Appendix 1 2 3 Using the G P OGSTOR instruction restore the offset gain setting values in the user range to a new module For the G P OGSTOR instruction refer to C gt Page 226 Appendix 1 3 4 Remove the new module from another system mount it to the slot from where the old module was removed in the original system and install the terminal block 5 After mounting the module click the button and check that the RUN LED turns on Module READY X0 remains off Online Module Change r Operation Target Module Module Change VO Address 0000 Execution Installation Module Name Q64DAH Confirmation Status Module Control Changing Module Rest
140. duct Information List System Enor Histon 2 Module s Detailed Information of the Mode D A converter module is displayed Model Name IIO Address Mount Position A Product Information Production Number Module Information Module Access Status of External Power Supply Fuse Blown Status Status of 1 0 Address Verify JO Clear Hold Setting Noise Fiter Setting Input Type HIW Information Remote Password Setting Status Error and Solution Module s Detailed Information Error Information Latest Error Code _ Update Error History Fu Contents In the normal output mode Clear Error History A value outside the setting range is set to CH1 Digital value Error Clear Eus Inthe wave output mode Dorv Foe aT C Hex Inthe normal output mode Set a value within the Following range to CH1 Digital value DEC Un G1 according to the set output range Oto 20mA 4 to 20mA Oto SV 1 to SV Oto 20000 error history is sequentially displayed From 10 to 10V user range 20000 to 20000 error The latest error is displayed at he bottom line 1S1 P09 JOUZ VLL b Checking in Latest error code Un1G19 The following section describes how to check the errors in Latest error code Un G19 X Online gt Monitor lt gt Device Buffer Memory Batch Device Device Name T C
141. duct is updated when a new function is added CHAPTER 3 SPECIFICATIONS CHAPTER 3 SPECIFICATIONS This chapter describes general specifications performance specifications I O conversion characteristics accuracy and functions 3 1 General Specifications For the general specifications of the D A converter module refer to the following LL QCPU User s Manual Hardware Design Maintenance and Inspection suoneoyioeds jeisues p e 23 3 2 Performance Specifications This section describes the performance specifications of the D A converter module 3 2 1 Performance specifications list The following table lists the performance specifications of the D A converter module Item Model Q64DAH Number of analog output points 4 points 4 channels Digital input 20480 to 20479 When using the scaling function 32768 to 32767 Voltage Analog output 10 to 10VDC external load resistance 1kQ to 1MQ Current 0 to 20mADC external load resistance 0Q to 6002 Analog output range Digital value Maximum resolution 0 to 5V 250uV 0 to 20000 1 to 5V 200uV Voltage I O characteristics maximum 10 to10V 500yV A 20000 to 20000 resolution User range setting 333uV 0 to 20mA 1000nA 0 to 20000 Current 4 to 20mA 800nA User range setting 20000 to 20000 700nA Ambient Accuracy A temperature Within 0 1 voltage x10mV cur
142. e sos Base Parameter JO Network No Staus Sjo Senes ModelName Point Type Point Address Station No Power zu os 2 cpu 16Point 0010 16Point 0020 16Point 0050 16Point 0040 Master PLC Online Module Change Module Change Execution Installation Confirmation Module Control Restart gt Operation 3 Target Module I O Address 0000 Module Name Q64DAH Status ros Module Selection Completed Status Guidance hen you change the intelligent Function module lease turn off Y signal of the changed module lease press next button when you are ready Point 3 Open the System Monitor window Diagnostics lt gt Online Module Change Select Online module change under the Mode field and double click the module name to be changed online Click the change button to enable a module When the following error window appears click the button and perform the operation described in 7 gt Page 173 Section 10 5 3 MELSOFT Application i The target module didn t respond The task is advanced to the installation confirmation After checking that the RUN LED of the module has turned off remove the terminal block Remove the module Always remove the module If mounting confirmation is made without the module being removed the module will not start properly and th
143. e Change window again Online Module Change Operation 34 pTarget Module 34 v Diagnostics gt Online Module Change Module Change poo EA I O Address 0000 2 Click the Installation Module Name Q64DAH Confirmation aa to resume control Module READY X0 turns on change Module Installation Completion button on the appeared window Module Control Restart Status Guidance he controls such as I O FROM TO instruction executions and tomatic refresh For the installed module are restarted lease confirm the parameter setting wiring etc and press completed utton Cancel 3 The online module change is completed MELSOFT Application x YD Online module change completed ueis s Jeuyouy oym uonoun 4 uoneun amp yuo y Buis peun ijuo ay sBunjes eniu pue pasn s eBues asn e ueuM BOL 199 10 10 when a User Range Is Used and Initial Settings Are Configured Using a Sequence Program Without Another System 1 Stopping operation 1 Open the Device Buffer Memory Batch Monitor window X Online gt Monitor gt Device Buffer Memory E Device Buffer Memory Batch Monitor 1 Monitoring B atch Comme Sd When using GX Developer open the Device test Buffer Memory Module Start 0000 x HEX Address o oec x yf window Mody Value EEEE 16 Peta en seven
144. e I O conversion characteristics refer to the following l O conversion characteristic of D A conversion 3 Page 26 Section 3 2 2 2 Except when receiving noise influence Warm up power on the module for 30 minutes to satisfy the accuracy shown in the table 1SI SUONEOWIOSds eoueuuopeg L Z suoneoiuioeds soUeWOLIOd ZE 25 3 2 2 I O conversion characteristic of D A conversion I O conversion characteristic of D A conversion means the slope of the line connected between the offset value and gain value when converting the digital value written from the CPU module to analog output value voltage or current output 1 Offset value The offset value is the analog output value voltage or current when the digital value set from the CPU module is 0 2 Gain value The gain value is the analog output value voltage or current when the digital value set from the CPU module is 20000 3 Voltage output characteristic The following graph shows the voltage output characteristic Analog output Practical analog voltage V V output range 2 5 10 v 20480 20000 10000 0 10000 20000 20479 Digital value No Output range setting Offset value Gain value Digital value Maximum resolution 1 1 to 5V 1V 5V 200V 0 to 20000 2 0 to 5V OV 5V 250uV 3 10 to10V Ov 10V 500uV 20000 to 20000 User range setting 1 1 333yV 1 Set t
145. e RUN LED turns on Module READY X0 remains off 1 To check the operation click the button to cancel the control restart Online Module Change 2 Click the button to leave the Online module change mode MELSOFT Application d l To the next page 178 CHAPTER 10 ONLINE MODULE CHANGE From the previous page L 3 Click the button to close the System System Monitor e EUN Q nue e snme Monitor window Mode System monitor Online module change Main Base Operation to Selected Module Main Base Manus LO Adr 0000 0010 0020 0030 0040 Slot 9 ntek p Module Information List Main Bate ee eS a EE Base ectie sasemoceinane Rones Bas sae Toad sanu SS seres dina pone j paenan 0 etre ee Power Jeower o os linee tmi iso 000 Legend Error Major Error Moderate Error A D Assignment Error Assignment Incorrect t o 19 Print Ck Open the Device Buffer Memory Batch Monitor Device Buffer Memory Batch Monitor 1 Monitoring Deve window Device Name v T C Set Value Reference Program Reference Buffer Memory Module Start 0000 HEX Address o Z ec Online 2 Monitor gt Device Buffer Memory Batch Display format 2 i val cles oes om _ so Mody Value
146. e RUN LED will not turn on 172 CHAPTER 10 ONLINE MODULE CHANGE 3 Mounting a new module 1 Mount a new module in the same slot and install the Online Module Change terminal block Operation 4 rj Target Module Module Change 1 0 address 000 2 After mounting the module click the Execution Q Intalation pial olds button and check that the RUN LED turns on onrirmation zum Module READY X0 remains off Changing Module Module Control Restart Status Guidance he module can be exchanged lease press the next button after installing a new module es 4 Checking operation button 1 To check the operation click the Online Module Change to cancel the control restart r Operation _ r Target Module Tine Module Change I O Address 0000 Execution SSS Installation Module Name Q64DAH Confirmation Status Change Module Installation Completion Module Control Restart Status Guidance he controls such as I O FROM TO instruction executions and tomatic refresh For the installed module are restarted lease confirm the parameter setting wiring etc and press completed utton Execute 2 Clickthe button to leave the Online MELSOFT Application module change mode The online module change is stopped D Even if the stop is executed the online module change mode on the PLC side is not canceled Pleas
147. e Universal model QCPU SIRSGEEHSHU Up to 64 O O controller CPU Q03UDVCPU Q04UDVCPU QO6UDVCPU Q13UDVCPU Q26UDVCPU Safety CPU QS001CPU N A x x 3 Q06CCPU V QO6CCPU V B Up to 64 o o Q12DCCPU V C Controller module Q24DHCCPU V Up to 62 o o O Applicable x N A 1 Limited within the range of I O points for the CPU module 2 Can be mounted to any I O slot of a base unit 3 Connection of an extension base unit is not available with any safety CPU To use a C Controller module with the D A converter module refer to the C Controller Module User s Manual b When mounted on MELSECNET H remote I O station The following table lists the network modules and base units applicable to the D A converter module and the number of mountable D A converter modules Depending on the combination with other modules or the number of mounted modules power supply capacity may be insufficient Select the power supply capacity according to the module to be used If the power supply capacity is insufficient change the combination of the modules Applicable network Appi able base s x module Number of modules Main base unit of remote Extension base unit of I O station remote I O station QJ72LP25 25 QJ72LP25G QJ72LP25GE ee O o QJ72BR15 O Applicable x N A 1 Limited within the range of I O points for the network module 2 Can be mounted to any
148. e enough Check that the power capacity is enough by calculating the current consumption of such as the CPU module I O modules and intelligent function modules mounted on the base unit Is there any watchdog timer error Reset the CPU module and check that the RUN LED turns on If the RUN LED remains off the module may be failed Please consult your local Mitsubishi representative Is the module mounted on the base unit properly Check the module connection Is a module change enabled during an online module change Refer to the following and take the corrective action ONLINE MODULE CHANGE 7 s Page 166 CHAPTER 10 11 3 2 When the ERR LED turns on or flashes 1 When turning on Check item Action Does any error occur Check Latest error code Un G19 and take actions described in the error code list Error Code List 7 3 Page 211 Section 11 1 2 2 When flashing Check item Action Is the value other than O0 set for Switch 5 of the intelligent function module switch setting With the parameter setting set O for Switch 5 in the intelligent function module switch setting 215 Bunoouse qnoj 44 HO suum 4o seusej q31 NNY eurueuw LE TL 11 3 3 When the ALM LED turns on Check item Action Is there any warning Check Warning output flag Un G48 11 3 4 When analog output value does not come out Check item Acti
149. e execute the online module change and restart the control of the module again 4 To the next page 173 uonounJ uoneunBijuo y Burs 32S eJy sjejeueJjeg pue p sn s eBues jueuidius jeujsnpu ue ueuM SOL From the previous page l p Connection Channel List SerialPort PLC Mode Connection RS 2520 Operation to Selected Module Man Base Module Information List Main Base J IE Installed Base fodel Name Slots status Series ModelName Point Parameter supply Type E Type Sus TA Moderate Error O Assignment Error Assignment Incorrect JO Network No Master Pont Address Station No Device Buffer Memory Batch Monitor 1 Monitoring Device C Device Name xl nce Pr G Buffer Memory Module Start 0000 z HEX Address o Display format Modify Value 2 Kaua 22 82 rse E 16 pesi _ open sme Po not dplay comment l Address as 1 2 Modify Value Device Label Buffer Memory Device Label 9 X Data Type Bit hs Switch ON OFF Settable Range Execution Result Execution Result Device Label Data Type Setting Value Bit ON Bit OFF Bit ON Module Start 0000 A Word Signed 10000 D Module Start 0000 A Word Signed E H Reflect to Input Column Delete C 174 9 Click the Monitor window
150. e is stopped Please execute the online module change and restart the control of the module again L To the next page 203 From the previous page 204 i To the next page 3 4 Click the Monitor window button to close the System Open the Device Buffer Memory Batch Monitor window X Online gt Monitor gt Device Buffer Memory Batch When using GX Developer open the Device test window D Online gt Debug gt Device test Display the address of the prerecorded buffer memory area and select it Then click the button CHAPTER 10 ONLINE MODULE CHANGE From the previous page L 6 Set the prerecorded data to the buffer memory Modify Value 7 Turn on User range writing request YA to restore Device Label Buffer Memory DevicejLabel the offset gain setting value in the user range to the v module Data Type eit 8 After checking that Offset gain setting mode flag om sehowor XA is on turn off User range writing request YA Settable Range 9 Enter and display the buffer memory address of D A conversion enable disable setting Un GO EE 10 Set D A conversion enable disable setting Un GO Execution Result to Enable 0 for the channel used Device Label Data Type Setting Value he on 11 Enter and display the buffer mem
151. e module to prevent foreign matter such as wire chips from entering the module during wiring Do not remove the film during wiring Remove it for heat dissipation before system operation Tighten the screws such as a module fixing screw within the specified torque range Undertightening the screws can cause short circuit or malfunction Overtightening can damage the screws and or module resulting in short circuit or malfunction X I Screw Tightening torque 2 Module fixing screw M3 screw 0 36 to 0 48Nem a Terminal block terminal screw M3 screw 0 42 to 0 58Nem d Terminal block mounting screw M3 5 screw 0 66 to 0 89Nem 5 a 1 The module can be easily fixed onto the base unit using the hook at the top of the module However it is recommended to secure the module with the module fixing screw if the module is subject to significant vibration To mount the module while pressing the module mounting lever located in the lower part of the module fully insert the module fixing projection into the hole in the base unit and press the module until it snaps into place Incorrect mounting may cause malfunction failure or drop of the module Before handling the module touch a grounded metal object to discharge the static electricity from the human body Failure to do so may cause the module to fail or malfunction 129 7 2 Settings and Procedures Before Operation Start Module mounting Mou
152. e pattern to be output for each channel From the start address of the wave pattern the D A conversion starts for the points of wave data set in this area and the converted values are output This area can be set only in the wave output mode Set this area in 32 bit signed binary double word CH1 Wave pattern data points setting H Un G1041 CH1 Wave pattern data points setting L Un G1040 A A 4 wo b31 b16 b15 bO CITITI REESE ps eats qs pep ee psp SES ESSE pene 590 E Data part Signed bit 0 Positive fixed For details on the wave output function refer to the following e Wave Output Function s Page 46 Section 4 8 a Setting range Setting range 1 to 50000 up to the number of the data points in Wave data registry area Un G5000 to Un G54999 Even when the setting value is changed in the mode other than the wave output mode the change is not applied In the channel where a value out of the above setting range is set an error occurs The error code 330 is stored in Latest error code Un G19 Error flag XF turns on and ERR LED turns on The wave output cannot be executed However when the values of CH1 Wave pattern start address setting L Un G1024 to CH4 Wave pattern start address setting H Un G1031 are out of the setting range the error above does not occur and Error code 330 is not stored Set this area and CH1 Wave pattern start address setting L Un G1024 to CH4 Wave p
153. e value of the target wave data for the wave output step action to any value 2 Seta value for CHO Wave output step action movement amount Un1G1080 to Un1G1083 Set the following value according to the direction to move Movement PAL Setting Description direction value No The buffer memory address of the wave data to be output is not moved 0 movement The buffer memory address of the wave data to be output is moved in the address increasing direction from the buffer memory address of the currently output wave data Forward x When 10000 is set in CHO Wave output step action movement amount Un G1080 to movement Un G1083 with the buffer memory address of the currently output wave data being Un G30000 The buffer memory address of the wave data to be output is changed to Un G40000 1 to 30000 The buffer memory address of the wave data to be output is moved in the address decreasing direction from the buffer memory address of the currently output wave data Reverse x When 10000 is set in CHO Wave output step action movement amount Un G1080 to movement Un G1083 with the buffer memory address of the currently output wave data being Un G30000 The buffer memory address of the wave data to be output is changed to Un G20000 1 to 30000 3 Check that the value stored in CHO Wave output step action movement amount Un G1080 to Un G1083 is No movement 0 4 Check that CH1 Wave output current addres
154. ed Mo Setting Already Set Start I O No Valid Module During Other Station Access 1 X nP Inter ink Transmission Feremeters Please input 16 point unit HEX to start I O No in which module is mounted ries Routing Parameters Assignment Image Group Setting Check End Cancel IOMJON O I BJOWSY euj uo ejnpoy 24 Burst ueuM 6 155 3 Display the network range assignment setting window and configure the setting as follows W Project window lt gt Parameter gt Network Parameter c Ethernet CC IE MELSECNET gt mmm button Network Parameter Assignment the MNET 10 H Remote Station Network Range Module No 1 DO Project window gt Parameter gt Network Parameter z Ethernet CC IE MELSECNET gt meme button gt Switch Screens c XY Setting 4 Network Parameter Assignment the MNET 10 H Remote Station Network Range Module No 1 156 CHAPTER 9 PROGRAMMING 4 Display the refresh parameter setting window and configure the setting as follows X Project window 2 gt Parameter gt Network Parameter 2 gt Ethernet CC IEIMELSECNET gt mm button Network Parameter MNET 10H Refresh Parameter Module No 1 oo oF 000 oirF ooo FFF 0000 FFF 1000 10FF 5 Write the set parameters to the CPU module of the master station Then reset the CPU module or turn off and on the power supply of the programmable con
155. elligent ceo shows useful Function Module in the Project window 2504 9E4uQ9 08 446 V UPPU T 04 STeasieensebosewe ereersdcdenedess information 73 1 The mouse operation example is provided below ME MELSOFT Series GX Works Unset Project IPRG MAIN i Project Edit Compile View Online Debug Diagno Menu bar ZX Online 2 gt Write to PLC Select Online on the menu bar and then select Write to PLC Navigation Project Awindow selected in the view selection area is displayed SAEI Parameter D Project Window e Parameter Intelligent Function Module lt gt PLC Parameter Select Project from the view selection area to open the Project window In the Project window expand Parameter and select PLC Parameter Global Device Comment Program Setting POU 3 Program pe MAIN 3 Local Device Comment Device Memory Device Initial Value View selection area g P ion Destination Unlabeled 11 Pages describing instructions are organized as shown below The following illustration is for explanation purpose only and should not be referred to as an actual documentation Instruction name 6 4 2 Disconnecting a connectio SP SOCCLOSE O shows the devices applicable to the instruction A Descriptions of A setting data and data type Description
156. enable disable flag Y1 Start wave output by setting CH1 Wave output start stop request Un1G1000 to Wave output start request 1 Then the values are output in analog as shown below go N uonounij 1ndino SAEM SU 10 Sjutod g Analog output A 50us 50us Mii 5V OV gt 19 4 8 4 Wave output step action function This function changes addresses and data values to be output to change the analog output flexibly at any timing in the wave output mode This function is useful for the analog output test in the wave output mode and for debugging the wave output function Ex Wave output step action on the following conditions The output range is set to 10 to 10V The wave output status is the wave output The address of when the step action wave output request is accepted is 14990 Set Step action wave output request Un G1072 to ON 1 during the wave output C Settings configured by a user Processing performed by the D A converter module Analog output value Address Digital value Analog output Un G5000 0 digital value Un G5001 1000 2 The digital value of Un G5002 2000 10V Un G14990 is held Un G5003 3000 1 Set Step action wave NANI output request Un G1072 to ON 1 1 Un G14988 BV Un G14989 9000 Current address Un G14990 10000 Un G14991 11000 ov U
157. er supply is turned off during the wave output When the external power supply is turned off during the wave output the wave output status of all the channels becomes the wave output stop the wave output stops The wave output does not resume even when the external power supply is turned on To resume the wave output check the D A converter module and external devices after turning on the external power supply and set CHO Wave output start stop request Un G1000 to Un G1003 to Wave output start request 1 Wave output start stop request cannot be accepted when the external power supply is off CPU module status RUN D A conversion enable disable setting Un GO D A conversion enable 0 CHO Output enable disable i flag Y1 to Y4 UEF ii ON CHO Wave output start stop Wave output stop Wave output start ave output stop Wave output start request Un G1000 to Un G1003 request 0 request 1 request 0 request 1 CHO Wave output status monitor B W tput Un G1100 to Un G1103 Wave output stop 0 Wave output 1 stop 0 ca ON ON External power supply Wave data Analog output Wave output does not resume Output set in CHO Output setting during wave output stop mmm ccc pm Un G1008 to Un G1011 OV OmA OV OmA is output 1 Since the external power supply turned off and wave output stopped change CHO Wave output start stop request Un G1000 to Un G1003
158. er un NE greater than the lower limit value limit value The channel where the error has occurred fits in O 1 This error code can be cleared by setting a value within the setting range and performing either of the following operations Turning on and off Error clear request YF Turning on and off Operating condition setting request Y9 2 If an error occurs D A conversion performed in all channels will stop Therefore after performing the offset gain setting again reconfigure initial settings 3 If an error occurs D A conversion performed in the error channel will stop Therefore after performing the offset gain setting again reconfigure initial settings 4 An error code is not stored in Latest error code Un G19 but in the completion status of the G P OGSTOR instruction S 1 213 SI 9po9 J043 LL 11 2 Alarm Code List This section describes alarm codes that occur in a D A converter module 1 Alarm code checking method Alarms occurred in the D A converter module can be checked by the same methods as those for errors gt Page 208 Section 11 1 1 2 Alarm Code List The following table lists alarm codes Alarm code e d Description and the alarm cause Action decimal Set a value within the following range to CHLI Digital value Un G1 to Un G4 and turn on and In the normal j off Warning output clear request YE output mode n Warning upper limit value 2 Set value 2 Warning
159. erted value or the offset value for each channel The conversion speed is constant regardless of the output enable disable status 1 Setting procedure Configure the setting with CHO Output enable disable flag Y1 to Y4 CHO Output enable disable flag Y1 to Y4 Analog output Enable ON D A converted value is output Disable OFF Offset value is output 33 uonoundJ qes p jqeu4 UOISJSAUOD V qd ZY 4 4 Analog Output HOLD CLEAR Function This function sets whether to hold the output analog value HOLD or clear the output analog value CLEAR according to the CPU module operating status RUN STOP or stop error 1 Combination of analog output status The analog output status depends on the output mode as follows a Normal output mode The analog output status changes as shown in the following table depending on the combination of settings for D A conversion enable disable setting Un GO and CHO Output enable disable flag Y1 to Y4 D A conversion enable disable Enable Disable setting Un GO Execution CHO Output enable disable flag A Enable or Enable Disable status Y1 to Y4 disable Analog output HOLD CLEAR HOLD or HOLD or i HOLD CLEAR function setting CLEAR CLEAR oie Analog value converted from digital Analog output status when CPU module is in RUN status A Offset value OV OmA value with D A conversion is output Analog output status when CPU m
160. et Module Module Change I O Address 0000 Execution Installation Module Name Q64DAH Confirmation Status Module Control eU Changing Module Status Guidance i module can be exchanged lease press the next button after installing a new module cont 4 Checking operation Online Module Change Target Module I O Address Module Name Q64DAH r Operation Module Change Execution pooo Installation Confirmation Status T d Module Control Change Module Installation Completion Restart Status Guidance The controls such as I O FROM TO instruction executions and automatic refresh For the installed module are restarted Please confirm the parameter setting wiring etc and press completed button Execute l To the next page 184 Mount the removed module and a new module to another system Using the G P OGLOAD instruction save the offset gain setting values in the user range from the removed module to the CPU device For the G P OGLOAD instruction refer to gt Page 223 Appendix 1 2 Using the G P OGSTOR instruction restore the offset gain setting values in the user range to a new module For the G P OGSTOR instruction refer to s Page 226 Appendix 1 3 Remove the new module from another system mount it to the slot from where the old module was removed in the original system and install the terminal block After mounting the module click the
161. ettings gain value Un G217 with the values in the range reference tables gt Page 207 Section 10 11 12 If the values are proper save the values in CH1 Industrial shipment settings offset value Un G202 to CH4 User range settings gain value Un G217 Point lf the buffer memory values are improper compared to the reference tables the offset gain setting values cannot be saved and restored Before resuming the control configure an offset gain setting according to the flowchart gt Page 142 Section 8 5 2 Note that if module control is resumed without offset gain setting being made operation will be performed with the default values Switch the mode by setting Mode switching setting Un G158 Un G159 and turning on Operating condition setting request Y9 ueis s Jeuyouy 1n10u1M ueJ604g eouenbes e Bulsp peunBijuo y sBumes jenu pue pasn s eBues sN e ueuM OL OL 201 2 Removing a module System Monitor Monitor Status Connection Channel List Stop Mane ar roma System Image Mode System monitor Online module change p Main Base Main Base Base Information List p Operation to Selected Module Man Base se o ERR Module Information List Main Base Power Base spe Indaled Base m Base Node Name Pomer fae sos Base status Pese Parameter 1o Network
162. f D A conversion enable disable setting UnYGO Set D A conversion enable disable setting Un GO to Disable 1 for all channels Turn on Operating condition setting request Y9 Check that the D A conversion has stopped and the analog output value is 0V OmA After checking the analog output value check that Operating condition setting completed flag X9 turns off then turn off Operating condition setting request Y9 193 ueis s Jeuyouy ynoU A A uonoun y uoneunBiuo eu Buisn peun amp ijuo e1y sBunjes jenu pue pasn s eGuey asn e ueuM 6 OL 194 From the previous page Point i 7 8 9 If the buffer memory data are not recorded follow the procedures 8 to 11 Set Pass data classification setting Un G200 Turn on Operating condition setting request Y9 10 Check that Operating condition setting completed flag X9 turns off and turn off Operating condition setting request Y9 11 Compare the values in CH1 Industrial shipment settings offset value Un1G202 to CH4 User range settings gain value Un1G217 with the values in the range reference tables 5 Page 207 Section 10 11 12 If the values are proper save the values in CH1 Industrial shipment settings offset value Un1G202 to CH4 User range settings gain value Un G217 If the buffer memory values are improper compared to the reference tables the offset gain setting values cannot be saved and restored
163. flag X9 turns off After checking that Operating condition setting completed flag X9 is off turn off Operating condition setting request Y9 Point When the value other than the setting value is written in the normal output mode or offset gain setting mode only the operating condition is changed When the setting value same as the current drive mode is written and Operating condition setting request Y9 is turned on and off no error occurs and only the operating condition is changed 16 Pass data classification setting Un G200 This area is for saving and restoring the offset gain setting value in the user range setting Specify the offset gain setting value to be saved and restored as either voltage or current b15 b14 b13 b12 b11 b10 b9 b8 b7 b6 b5 b4 b3 b2 b1 b0 0 0 0 0 0 0 0 0 0 0 0 0 CH4 CH3 CH2 CH1 A WU NCC Data for b4 to b15 are fixed to 0 0 Voltage Even when the value is set the setting value is ignored 1 Current 116 CHAPTER 6 BUFFER MEMORY 17 CH1 Industrial shipment settings offset value Un G202 to CH4 User range settings gain value Un G217 This area is for restoring the offset gain setting value in the user range setting The data for restoring the offset gain setting value in the user range setting is stored The data is stored when Writing the initial settings by a programming tool Turning on Operating condition setting request Y9 Turning on User range writin
164. flag Y1 to Y4 of the channel to output a signal off Check the status of CHO Output enable disable flag Y1 to Y4 If CHO Output enable disable flag Y1 to Y4 is off review the sequence program Is any digital value written to the channel to output Is Operating condition setting request Y9 being executed Check CHO Digital value Un G1 to Un G4 Check that the analog output is performed properly after turning Operating condition setting request Y9 on and off If the output is performed properly review the sequence program Point If the analog output value does not come out even after the above actions are taken the module may be failed Please consult your local Mitsubishi representative 216 CHAPTER 11 TROUBLESHOOTING 11 3 5 When HOLD of analog output value is not available Check item Action Is the HOLD CLEAR function setting correct Set HOLD for the HOLD CLEAR function in the intelligent function module switch setting Also check the setting value of Switch 3 in the intelligent function module switch setting Is the D A converter module used in the MELSECNET H remote I O station Refer to the points in the following section and check that the setting is made for using the analog output HOLD CLEAR function in the MELSECNET H remote I O station Analog Output HOLD CLEAR Function 3 Page 34 Section 4 4 217 Bunooysejqnol 44 e qe reAe jou s anjen 1ndj
165. following When Using GX Developer lt _ gt Page 229 Appendix 2 COMPLIANCE WITH EMC AND LOW VOLTAGE DIRECTIVES 1 Method of ensuring compliance To ensure that Mitsubishi programmable controllers maintain EMC and Low Voltage Directives when incorporated into other machinery or equipment certain measures may be necessary Please refer to one of the following manuals QCPU User s Manual Hardware Design Maintenance and Inspection Safety Guidelines This manual is included with the CPU module or base unit The CE mark on the side of the programmable controller indicates compliance with EMC and Low Voltage Directives 2 Additional measures No additional measures are necessary for the compliance of this product with EMC and Low Voltage Directives RELEVANT MANUALS 1 CPU module user s manual Manual name lt manual number model code gt Description QCPU User s Manual Hardware Design Maintenance and Inspection lt SH 080483ENG 13JR73 gt Specifications of the CPU modules power supply modules base units extension cables memory cards SD memory cards extended SRAM cassettes and batteries information on how to establish a system maintenance and inspection and troubleshooting QnUCPU User s Manual Function Explanation Program Fundamentals lt SH 080807ENG 13JZ27 gt Qn H QnPH QnPRHCPU User s Manual Function Explanation Program Fundamentals lt SH 080808ENG 13JZ28 gt
166. fter scaling Analog output voltage V 4000 20000 10 7000 10000 5 10000 0 13000 10000 5 16000 20000 10 CHAPTER 4 FUNCTIONS Ex 3 When setting 16000 to CHO Scaling upper limit value Un G55 Un G57 Un G59 Un G61 and 4000 to CHO Scaling lower limit value Un G54 Un G56 Un G58 Un G60 for a channel with output range of 8 to 8V in the user range setting for voltage output The following shows the digital values before and after scaling Analog output voltage V BN pea I 1 1 1 I 1 j l l I 1 1 l y 20480 20000 0 20000 20479 Digital value AN lower m um upper limit value 4000 value 16000 J BR Digital value Digital value after scaling Analog output voltage V s 8000 20000 8 3 2000 10000 4 4000 0 8 10000 10000 4 S 16000 20000 Point When the scaling function is used the digital value before scaling can be set to a value out of the range of scaling upper and lower limit values dotted line area in the I O characteristics However use the scaling function within the range of analog output practical range solid line area in the I O characteristics If the value exceeds the analog output practical range the maximum resolution and accuracy may not fall within the range of performance specifications The default digital value 0 may not be appropriate depending on the scaling function setting In particular in the examples
167. g request YA in offset gain setting mode 1 The data is not saved when the setting value is written to Mode switching setting Un G158 Un G159 When restoring the offset gain setting value in the user range setting set the data saved in this area to the same area in the D A converter module where the data is restored a Procedure for saving offset gain values in the buffer memory area 1 Configure Pass data classification setting Un1G200 2 Turnon Operating condition setting request Y9 3 Compare the values in CH1 Industrial shipment settings offset value Un1G202 to CH4 User range settings gain value Un G217 with the values in the range reference tables 4 When the values are appropriate save the values in Pass data classification setting Un G200 and CH1 Industrial shipment settings offset value Un G202 to CH4 User range settings gain value Un1G217 For details on the offset gain value setting refer to the following Offset gain Setting 7 Page 139 Section 8 5 18 CHO Wave output start stop request Un G1000 to Un G1003 This area is for requesting the start stop and pause of the wave output for each channel This area can be set only in the wave output mode For details on the wave output function refer to the following Wave Output Function 7 gt Page 46 Section 4 8 Wave output start stop request Setting value Wave output stop request 0 Wave output start request 1 Wave output pau
168. g wave output stop 1 R W 1009 3F1y CH2 Output setting during wave output stop 1 R W 1010 3F2y CH3 Output setting during wave output stop 1 R W 1011 3F3y CH4 Output setting during wave output stop 1 R W 1012 3F4y to to System area 1015 3F7y 1016 3F8y CH1 Output value during wave output stop 0 R W 1017 3F94 CH2 Output value during wave output stop 0 R W 1018 3FAy CH3 Output value during wave output stop 0 R W 1019 3FBu CH4 Output value during wave output stop 0 R W 1020 3FCy to to System area 1023 3FFy 1024 4004 CH1 Wave pattern start address setting L 1025 4014 CH1 Wave pattern start address setting H TA ii 1026 4024 CH2 Wave pattern start address setting L 5000 R W 1027 4034 CH2 Wave pattern start address setting H 1028 4044 CH3 Wave pattern start address setting L 5000 R W 1029 4054 CH3 Wave pattern start address setting H 103 sesseJppy Jouie N yng Jo S7 4 9 Address Address Name Default Read Write decimal hexadecimal 4 2 1030 406 CH4 Wave pattern start address setting L 5000 R W 1031 407 CH4 Wave pattern start address setting H 1032 4084 to to System area 1039 40Fy 1040 410 CH1 Wave pattern data points setting L 1041 4114 CH1 Wave pattern data points setting H f bd 1042 412u CH2 Wave pattern data points setting L 1043 413 CH2 Wave pattern data points setting H 303 1044 4144 CH3
169. h setting refer to the procedure described in the following section L gt Page 150 Section 9 2 3 4 Initial setting description a Channel setting D A converter module X Y1000 to X Y100F QJ72LP25 25 Setting item CH1 CH2 CH3 CH4 D A conversion enable disable setting Enable Enable Disable Disable Warning output setting Disable Enable Disable Disable Warning output lower limit value 3000 Warning output upper limit value 10000 Scaling enable disable setting Enable Disable Disable Disable Scaling upper limit value 32000 Scaling lower limit value 0 154 CHAPTER 9 PROGRAMMING 5 Setting on the master station 1 Create a project on GX Works2 Select QCPU Q mode for PLC Series and select a CPU module to be used for PLC Type XD Project gt New New Project Project Type Simple Project Use Label PLC Series ocru Q mode j PLC Type Jo10ubH j Language Ladder j 2 Display the network parameter setting window and configure the setting as follows Project window c Parameter gt Network Parameter gt Ethernet CC IE MELSECNET 4 Network Parameter MELSECNET CC IE Ethernet Module Configuration Set network configuration setting in CC IE Field configuration window m i O M h2 E DOO ee jmemeRemteneen wre L ume 1 Necessary Setting No Setting Already Set Set if itis need
170. hannel where a value out of the above setting range is set an error occurs The error code 310 is stored in Latest error code Un G19 Error flag XF turns on and ERR LED turns on The wave output cannot be executed However when the value of CHO Output setting during wave output stop UnXG 1008 to Un1G1011 is out of the setting range the error above does not occur and Error code 310 is not stored b Enabling the setting Turn on and off Operating condition setting request Y9 to enable the setting c Default value All channels are set to 0 Point Because 0 is set as the default value change the setting value for CHO Output setting during wave output stop Un G1008 to Un G1011 if Setting value during stop 2 is already set 119 sesseJppy Aioweyy Jejng Jo seq z 9 21 CH1 Wave pattern start address setting L Un G1024 to CH4 Wave pattern start address setting H Un G1031 This area is for setting the start address of the wave pattern to be output for each channel The D A conversion starts from the digital value of the buffer memory address set in this area and the converted values are output sequentially This area can be set only in the wave output mode Set this area in 32 bit signed binary double word CH1 Wave pattern start address setting H Un G1025 CH1 Wave pattern start address setting L Un G1024 A Pu 4 wt X b31 b16 b15 bO CERT EL e Se eh spp e op qr pepe n Data pa
171. he error error code 600 has occurred correct the digital value of the wave data so that the value is within the output range Then turn on and off Error clear request YF When the output range is set to 10 to 10V CPU module status RUN D A conversion enable disable setting Un GO D A conversion enable 0 CHO Output enable disable OFF x ON flag Y1 to Y4 CHLI Wave output start stop Wave output stop r request Un G1000 to Un G1003 equest 0 Wave output start request 1 CHO Wave output status monitor Wave output Un G1100 to Un G1103 stop 0 Wave output 1 Wave output stop 0 Wave data Analog output Maximum value of the set output range 10 2395V 0 Perr rer pee emg An ee ee eee Output set in CHO Output setting during wave output stop Un G1008 to Un G1011 Offset value Minimum value of r 5 5 9 9 7 9c u rcs cen eee the set output range 10 24V 1 If the value to be output is smaller than the minimum value of the output range the analog output value is the minimum value of the output range 2 If the value to be output is greater than the maximum value of the output range the analog output value is the maximum value of the output range Error occurrence error code 600 15 uonounj 1ndino SAEM SU 10 S UlOd g uonounJ 1ndjno 9AeM gY 4 When the external pow
172. he offset value and gain value in the user range setting within the range satisfying the following two conditions Setting range 10 to 10V Gain value offset value 2 6 6V Point Use the value within the practical digital input range and practical analog output range of each output range If a value is out of the range the maximum resolution and accuracy may not fall within the range described in performance specifications Do not use the value in the dotted line in the graph above 26 CHAPTER 3 SPECIFICATIONS 4 Current output characteristic The following graph shows the current output characteristic 20 uui 15 1 m Analog output Practical analog current mA output range xJ 5 Abe 0 v 0 10000 20000 20479 Digital value No Output range setting Offset value Gain value Digital value Maximum resolution 1 4 to 20mA 4mA 20mA 800nA 0 to 20000 2 0 to 20mA OmA 20mA 1000nA User range setting 4 T 20000 to 20000 700nA 1 Set the offset value and gain value in the user range setting within the range satisfying the following two conditions Setting range 0 to 20mA Gain value offset value 2 13 8mA Point Use the value within the practical digital input range and practical analog output range of each output range If a value is out of the range the maximum resolution and accuracy may not fall within the range described in perform
173. he warning output flag X0 E A LMOV D8 K2M20 CH2 Check for the warning output maz mi CH2 Processing at the warning output Processing at the warning output upper limit idus 9 9 outp upper limit Mes CH2 Processing at the warning output ij Processing at the warning output lower limit non g group lower limit X14 XOE d SET YOE Turns on Warning output clear request E YE RST YOE 4 Turns off Warning output clear Displays the error code and performs reset processing request BCD D10 K4Y20 Outputs the error code in BCD X15 J i SET YOF Error clear request XOF YOF 2 A RST YOF END uoneunBijuo uiejs As pyepueis e ui ejnpoyy eu Buis ueuM z 6 gjnpow uonouny jueBijejur Jo sjejeuueJed Bursn ueuw ejduexe wesbosd L6 151 9 2 2 1 Device for users Program example when not using the parameters of intelligent function module Device Description M20 to M27 Warning output flag M100 Module READY checking flag X0 Module READY X7 External power supply READY flag x9 Operating condition setting completed flag XE Warning output signal XF Error flag D A converter module X YO to X YF Y1 CH1 Output enable disable flag Y2 CH2 Output enable disable flag Y9 Operating condition setting request YE Warning output clear request YF Error clear request X11 Batch output enable signal X12 Digital value write command input signal
174. hipment settings offset value Un G202 to CH4 Industrial shipment settings gain value Un G209 The reference values differs depending on the setting of Pass data classification setting Un G200 voltage or current Address decimal t Pass data Reference value Description 2 et CH1 CH2 CH3 CH4 classification setting hexadecimal Approx 8000 Industrial shipment settings Voltage offset value Current Approx 80004 202 204 206 208 Industrial shipment settings Voltage Approx F712 gain value Current Approx F166 203 205 207 209 2 CH1 User range settings offset value Un G210 to CH4 User range settings gain value Un G217 Reference value Offset gain value hexadecimal OV Approx 80004 1V Approx 8BE8 Voltage 5V Approx BB894 Z 10V Approx F7124 OmA Approx 80004 Current 4mA Approx 96AE A D 20maA 2 Approx F166 E e oO 4 This is the value that is stored in User range settings offset value by default 2 This is the value that is stored in User range settings gain value by default z 207 CHAPTER 11 TROUBLESHOOTING This chapter describes errors that may occur while the D A converter module is used and those troubleshooting 11 1 Error Code List This section describes error codes that occur in a D A converter module 1 Error code checking method The errors that occur in the D A converter
175. ide the setting range is set to CH1 Digital value Un G1 Solution In the normal output mode Set a value within the Following range to CH1 Digital value Un G1 according to the set output range 0 to 20mA 4 to 20mA Oto 5V 1 to 5V Oto 20000 10 to 10V user range 20000 to 20000 Clear History Refresh Create CSV File Close Errors to be collected The contents under Error code list 7 5 Page 211 Section 11 1 2 are reported to the CPU module 210 2 Error code list When errors occur in the D A converter module while data is written to or read from the CPU module the CHAPTER 11 TROUBLESHOOTING corresponding error codes below are stored in Latest error code Un G19 At the same time the D A converter module reports the errors to the CPU module Error code Sn i Description and the error cause Action decimal The output range is set with a value outside the setting 100 range for Switch 1 of the intelligent function module switch Set a valid value on the intelligent function module switch setting setting in the parameter setting The channel where the error has occurred fits in O Power off and then on the module If the error occurs again a failure might have occurred on 111 A hardware failure occurs in the module t the module Please consult your local Mitsubishi representative 412 A value other than 0 is set to Switch 5 on the intel
176. ing output flag Un G48 is cleared Warning output signal XE turns off ALM LED is turned off Alarm code 15ALI stored in Latest error code Un G19 is cleared 4 If the scaling function is enabled If Scaling enable disable setting Un G53 is set to Enable 1 the digital value converted to the scaling range becomes a subject for warning detection When setting CH1 Warning output upper limit value Un G86 to CH4 Warning output lower limit value Un G93 consider the scaling range and specify values 5 Setting procedure 1 Set D A conversion enable disable setting Un GO to D A conversion enable 0 2 Set Warning output setting Un G47 to Enable 0 3 Set values for CH1 Warning output upper limit value Un G86 to CH4 Warning output lower limit value Un G93 uolyoun 1ndjno Bulwer 7p Item Setting range CHO Warning output upper limit value Un G86 Un G88 Un G90 Un G92 32768 to 32767 CHO Warning output lower limit value Un G87 Un G89 Un G91 Un G93 4 Turn on and off Operating condition setting request Y9 Point The value to be set must satisfy the condition of Warning output upper limit value gt Warning output lower limit value In the channel where a value does not satisfy the condition an error occurs The error code 62L1 is stored in Latest error code Un G19 Error flag XF turns on and ERR LED turns on 45 4 8 Wave Output Function This function imports the
177. ion to turn on and off User range writing request YA For the offset gain setting refer to the following Offset gain Setting 7 5 Page 139 Section 8 5 gt Controlled by the D A converter module Controlled by the sequence program Module READY X0 OFF ON Offset gain setting mode flag XA TtN OFF 4 ON i 1 1 User range writing request YA OFF Padl b Normal output mode In the user range setting restoration use Offset gain setting mode flag XA as an interlock condition to turn on and off User range writing request YA Controlled by the D A converter module Controlled by the sequence program ON Module READY X0 ON Offset gain setting mode flag XA OFF zT a OFF 1 OND NI User range writing request YA OFF if OFF 5 Channel change completed flag XB When a channel to perform the offset gain setting is changed use Channel change completed flag XB as an interlock condition to turn on and off Channel change request YB For the offset gain setting refer to the following e Offset gain Setting 7 5 Page 139 Section 8 5 mee men gt Controlled by the D A converter module Controlled by the sequence program Offset gain setting mode Offset specification Un G22 Offset gain setting mode Gain specification Un G23 enamel where offset or gain is specified X
178. ishi and provided further that no special quality assurance or fail safe redundant or other safety features which exceed the general specifications of the PRODUCTS are required For details please contact the Mitsubishi representative in your region INTRODUCTION Thank you for purchasing the Mitsubishi MELSEC Q series programmable controllers This manual describes the operating procedure system configuration parameter settings functions programming and troubleshooting of the Q64DAH high speed digital analog converter module hereafter abbreviated as D A converter module Before using this product please read this manual and the relevant manuals carefully and develop familiarity with the functions and performance of the MELSEC Q series programmable controller to handle the product correctly When applying the program examples introduced in this manual to an actual system ensure the applicability and confirm that it will not cause system control problems MRelevant module Q64DAH Unless otherwise specified this manual describes the program examples in which the I O numbers of X Y00 to X YOF are assigned for a D A converter module For I O number assignment refer to the following manuals QnUCPU User s Manual Function Explanation Program Fundamentals Qn H QnPH QnPRHCPU User s Manual Function Explanation Program Fundamentals Operating procedures are explained using GX Works2 When using GX Developer refer to the
179. ishi 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 235 Microsoft Windows Windows NT and Windows Vista are registered trademarks of Microsoft Corporation in the United States and other countries Pentium is a trademark of Intel Corporation in the United States and other countries Ethernet is a trademark of Xerox Corporation The SD logo and SDHC logo are trademarks All other company names and product names used in this manual are trademarks or registered trademarks of their respective companies 236 SH NA 081101ENG A MELSEC Q High Speed Digital Analog Converter Module User s Manual MODEL Q64DAH U E DE 13JZ71 SH NA 081101ENG A 1302 MEE s MITSUBISHI ELECTRIC CORPORATION HEAD OFFICE TOKYO BUILDING 2 7 3 MARUNOUCHI CHIYODA KU TOKYO 100 8310 ee NAGOYA WORKS 1 14 YADA MINAMI 5 CHOME HIGASHI KU NAGOYA JAPA 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
180. jeujeJed Sy Bursn jou ueuw ejduiexe weibolg zZ 6 163 Initial setting M102 IN MOV HOC D1000 MOV HOD D1047 MOV HOE D1053 MOV K0 D1054 MOV K32000 D1055 MOV K10000 D1088 MOV 3000 D1089 X1009 Y1009 M102 A Ko M200 M201 M PLS M202 M210 M211 s A FPs M212 M220 M221 a A PLS M222 KO _ ZP REMTO 1 K1 K1 HO KO D1000 K1 M200 M202 L zP REMTO t K1 K1 HO K47 D1047 KI M210 M212 ZP REMTO sq K1 K1 HO K53 D1053 K3 M220 M222 ZP REMTO ur K1 K1 HO K88 D1088 K2 M230 X1009 Y1009 M230 M231 A A SET Y1009 Writes a digital value X1000 Y1009 X1009 AW RST Y1009 RST M102 X22 X1000 X1007 MovP K10000 D11 MOVP K8000 D12 Z REMTO J1 K2 K1 HO K1 D11 K2 M310 164 D A conversion enable Warning output setting Scaling setting CH1 Scaling lower limit value CH1 Scaling upper limit value CH1 Warning output upper limit value CH1 Warning output lower limit value gt Writes data to the buffer memory 2 Turns on Operating condition setting request Turns off Operating condition setting request CH1 Digital value setting CH2 Digital value setting CHAPTER 9 PROGRAMMING Configures the setting to enable analog output x21 X1000 X1007 j E SET Y1001 CH1 Output enable disable flag SET Y1002 CH2 Output enable disable flag
181. l Modify Value Device Label Buffer Memory Device Label v9 Data Type Bit x ON E Switch ON OFF Settable Range Execution Result Execution Result Data Type Setting Value Bit OFF Device Label Bit ON Module Start 0000 A Word Signed F H Delete C Reflect to Input Column Open the Device Buffer Memory Batch Monitor window X Online gt Monitor gt Device Buffer Memory Batch Enter and display the buffer memory address of D A conversion enable disable setting Un GO Set D A conversion enable disable setting Un GO to Disable 1 for all channels Turn on Operating condition setting request Y9 Check that the D A conversion has stopped and the analog output value is 0V OmA After checking the analog output value check that Operating condition setting completed flag X9 turns off then turn off Operating condition setting request Y9 171 uonounJ uoneunBijuo eu Bulsf 19S 21y sjejeuejeg pue pest s eBuey jueudius jeursnpu ue usuM SOL 2 Removing a module System Monitor Monitor Status Connection Channel List Oe reme ee Mode System monitor Online module change p Main Base Main Base Base Information List p Operation to Selected Module Man Base se o ERR Module Information List Main Base Power Base sje Indaled Base m Base Node Name Pomer fa
182. le change function is used Note that there are restrictions on the modules that can be replaced online and each module has its predetermined replacement procedure For details refer to the relevant chapter in this manual After the first use of the product do not mount remove the module to from the base unit and the terminal block to from the module more than 50 times IEC 61131 2 compliant respectively Exceeding the limit of 50 times may cause malfunction Before handling the module touch a grounded metal object to discharge the static electricity from the human body Failure to do so may cause the module to fail or malfunction Disposal Precautions NCAUTION When disposing of this product treat it as industrial waste CONDITIONS OF USE FOR THE PRODUCT 1 Mitsubishi programmable controller the PRODUCT shall be used in conditions i where any problem fault or failure occurring in the PRODUCT if any shall not lead to any major or serious accident and ii where the backup and fail safe function are systematically or automatically provided outside of the PRODUCT for the case of any problem fault or failure occurring in the PRODUCT The PRODUCT has been designed and manufactured for the purpose of being used in general industries MITSUBISHI SHALL HAVE NO RESPONSIBILITY OR LIABILITY INCLUDING BUT NOT LIMITED TO ANY AND ALL RESPONSIBILITY OR LIABILITY BASED ON CONTRACT WARRANTY TORT PRO
183. le setting Un G0 From the previous page L Modify Value Device Label Buffer Memory Device Label n z Data Type Bit v OFF Switch ON OFF Settable Range Execution Result lt lt Close Execution Result Device Label Data Type Setting Value Bit ON Bit OFF Bit ON Module Start 0000 A Word Signed 10000 D Module Start 0000 A Word Signed E H Reflect to Input Column Delete C 9 CHAPTER 10 ONLINE MODULE CHANGE Set D A conversion enable disable setting Un GO to Enable 0 for the channel used Enter and display the buffer memory address of CHO Digital value Un G1 to Un G4 of the channel used Set a digital value for CHO Digital value Un G1 to Un G4 Turn on Operating condition setting request Y9 10 Check that Operating condition setting completed flag X9 turns off and turn off Operating condition setting request Y9 11 Turn on CHO Output enable disable flag Y1 to Y4 for the channel used to check that the D A conversion is performed properly Note that the analog output is actually performed 12 Before restarting the control check the D A converter module for the following If an error occurs refer to TROUBLESHOOTING Page 208 CHAPTER 11 and take a corrective action If the RUN LED is on Ifthe ERR LED is off f Error flag XF is off 13 Since the new module is in the default status initial settings must be configured using a
184. ligent Set 0 to Switch 5 on the intelligent function module switch function module switch setting setting in the parameter setting Check the analog output value 1131 The flash memory data is an error If the error occurs again please consult your local Mitsubishi representative The output mode setting is set with a value outside the Seavia vaut wich Aon he intelle need valid valu wi i i uncti 114 setting range for Switch 4 of the intelligent function module MM M switch setting module switch setting in the parameter setting wi ing Perform offset gain setting again for all channels where the user range setting has been configured 2 An invalid value is set to the offset gain setting 3 3 g 120 oS Hambaretamronthsnehcsnoticidentlad If the error occurs again a failure might have occurred on i the module Please consult your local Mitsubishi representative Start over the offset gain setting of the channel where the error has occurred An invalid value is set to the offset gain setting 120 Th chamnebwhsre the eror has occured FESTER If the error occurs again a failure might have occurred on i the module Please consult your local Mitsubishi representative The G P OGSTOR instruction was executed in the Do not execute the G P OGSTOR instruction in the 161 offset gain setting mode or the wave output mode offset gain setting mode or the wave output mode The G P OGSTOR instruction has been consecutively exe
185. limit loom amie woming ouput n i ua FSET Y100E 1 Turns on Warning output clear j request X100E Y100E i Turns off Warning output clear FEM RST Y100E request Displays the error code and performs reset processing X100F H BCD w1010 K4Y30 Outputs the error code in BCD X25 ht SET Y100F Error clear request X100F Y100F E AF rst I00F j END JONN O I BJOWSY eui uo eijnpoyy eui Burst ueuM 6 gjnpow uonouny jueBijeur Jo sjejeuueued Bursn ueuw ejduexe wesbosd Leb 161 9 3 2 Program example when not using the parameters of intelligent function module 1 Device for users Device Description D1000 to D1089 Device for initial value setting D11 CH1 Digital value D12 CH2 Digital value D8 Warning output flag D10 Error code M20 to M27 Warning output flag M100 Master station status check flag M101 Initial setting start trigger M102 Initial setting start flag M103 During initial setting flag M104 Initial setting completed flag M200 to M202 M210 to M212 M220 to M222 M230 M231 Z P REMTO and Z P REMFR instructions completion result device M310 M320 M321 M330 M331 X1000 Module READY X1007 External power supply READY flag X100E Warning output signal X100F Error flag D A converter module Y1001 CH1 Output enable disable flag X Y1000 to X Y100F Y1002
186. 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 not 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 Mitsub
187. ment value Pressing nables output adjustment Pressing Close registers to the module MELSOFT Series GX Works2 Do you want to register the offset gain setting and exit The mode will be switched over to normal mode from offset gain setting mode after ending Caution The offset gain setting is not active until the registration is executed The registration cannot be executed in case of error occurrence at the target module The mode will not be switched over to normal mode when the offset gain mode is selected in the switch setting To restart the D A conversion set the applicable channel D A conversion enable disable setting Un Go as Enable and turn on the action conditions setting request Yn9 End CHAPTER 8 VARIOUS SETTINGS 5 The adjustment amount of the offset value or gain value can be selected from 1 100 500 1000 2000 and 3000 or it can be set by inputting any value 1 to 3000 6 Clicking the or button fine adjusts the analog output voltage or analog output current value by the set adjustment value 7 The offset status in the specified channel is changed to Changed 8 To perform the gain setting repeat from step 4 button 9 After setting click the button 10 Click the 141 ZSHIOM X9 JO PUNOS ure9esjo Woy BUNOS LGB Bumes ureb7esyO c g 8 5 2 142 Setting from a program 1 Setting procedure The following describes the p
188. meter Default value will be shown in the dialog if the Switch Setting of the PLC parameter contains an out of range value ma uonoun 4 Nnd no 3AeM g p uonounij 1ndino snem du jo sPumes jepu L g 65 66 3 Set Output mode setting to Wave output mode conversion speed 50us CH or Wave output mode conversion speed 80ys CH Switch Setting 0000 Q64DAH Output Range Setting HOLD CLEAR function CLEAR CLEAR CLEAR CLEAR Output mode setting Wave output mode conversion speed SOus CH I Mz Wave output mode conversion speed SOus CH under Wave output mode conversion speed 80us CH 1 Create wave output data 2 Write the created data to buffer memory by means of FB library This dialog setting is linked to the Switch Setting of the PLC parameter Default value will be shown in the dialog if the Switch Setting of the PLC parameter contains an out of range value oa b Basic setting Change D A conversion enable disable setting Un GO using a sequence program or function block FB Register the wave data and parameters for the wave output function first then change D A conversion enable disable setting Un GO For registration of the wave data and parameters for the wave output function refer to the following Registering the wave data and parameters of the wave output function 7 gt Page 67 Section 4 8 2 1 Enable D A conversion only for the channel to be used becau
189. meters can be set Model Initial setting Auto refresh setting Q64DAH 4 11 maximum 2 Checking method The maximum number of parameter settings and the number of parameter settings set for the intelligent function module can be checked with the following operation Project window c Intelligent Function Module gt Right click gt Intelligent Function Module Parameter List Intelligent Function Module Parameter List Intelligent Function Module Parameter Setting Status XY Address Module Name oo00 Q64D4H Auto Refresh Count viSetting Exist 4 Intelligent Function Module Parameter Setting Count Total Initial Auto Refresh Max 2048 1 2 3 4 sBumes 1ejeurejed jo jequinN tZ suoneoiuioeds eoueuuoLeg ZE No Description 1 The total number of parameters in the initial settings checked on the window 2 The maximum number of parameter settings in the initial settings 3 The total number of parameters in the auto refresh setting checked on the window 4 The maximum number of parameter settings in the auto refresh setting 29 3 3 Function List This section lists the functions of the D A converter module Item Description Reference D A conversion enable disable This function sets whether to enable or disable D A conversion for each channel Page 33 function Disabling the D A conversion for
190. module can be checked with the following methods Choose a method depending on the purpose and application e Checking on the Module s Detailed Information window 5 Page 209 Section 11 1 1 a e Checking in Latest error code Un G19 gt Page 209 Section 11 1 1 b Checking through the module error collection function gt Page 210 Section 11 1 1 c 208 CHAPTER 11 TROUBLESHOOTING a Checking on the Module s Detailed Information window The following section describes how to check the errors on the module detailed information Diagnostics gt System Monitor 1 Select the D A converter module in Main System Monitor mooc SSS Base and click the p Main Base r Operation to Selected Module Manta Bias A a 1 0 Adr 0000 0010 0020 0030 0040 Slot CPU a QO6UDHCPU Deleted irfeon Anse Diagnostics ror Hivow Dea Monitoing p Monitor Status v r Channel List r Module Information List Main Base TEF Parameter Pert oes Ped ps sees ModelName Point aT ERE Tean Me 5 Power Power H Q Q64DAH 16Point Intelli 16Point 0000 E t Empty Empty 16Point 0010 Empty a Empty 16Point 0020 Empty Ba Empty 16Point 0030 Empty s Empty 16Point 0040 Legend lO Error Major Error A Moderate Error Minor Error_ Assignment Error_ Assignment Incorrect Stop Monitor i Pro
191. n G14992 12000 Un G14993 13000 Un G14994 14000 Un G14995 1500 x illi UM isese isu edere DERE onc Rmi wie dein de ma Ro RD e cR RU ci Un G14996 16000 2 The D A converter Un G14997 17000 module accepts the Un G14998 18000 request Un G14999 19000 The update of the Un G15000 20000 address to be output stops 1 1 The contents described here is the case when the wave output status is the wave output at the timing of 1 If the wave output status is other than the wave output following operations are performed at the timing of 2 When the wave output status is the wave output stop The digital value that is set as the wave pattern start address is output in an analog value and held When the wave output status is the wave output pause The data of the address during the wave output pause wave output current address is held 80 CHAPTER 4 FUNCTIONS Set CHO Wave output step action movement amount Un G1080 to Un G1083 to 10 forward direction Analog output value Address Digital value Analog output Un G5000 0 digital value Un G5001 1000 Un G5002 2000 10V Fee Un G5003 3000 4 The digital value of Un G15000 is output in an analog value 5V Un G14988 3 Set CHO Wave output step action movement Un G14989 amount Un G1080 to Un G14990 eee Tumeur me forward direction Un G14992 12000 ov Un G14993 1
192. n analog value output a limited number of times the wave pattern is output a number of times specified in Wave pattern output repetition setting and then the value is output according to the setting in Output setting during wave output stop 1 The output cycle of a wave pattern is calculated by the following formula Output cycle of a wave pattern Wave output conversion cycle x Wave pattern data points For details on the wave output conversion cycle refer to the following Wave output conversion cycle gt Page 53 Section 4 8 7 Ex Calculating the output cycle of a wave pattern Setting item Buffer memory address Setting value Output mode intelligent function module switch E Wave output mode setting conversion speed 50us CH D A conversion enable disable setting Un GO D A conversion enable for CH1 only Ey CH1 Wave pattern data points setting Un G1040 Un G1041 101 CH1 Wave pattern output repetition setting Un G1056 3 CH1 Constant for wave output conversion cycle Un G1064 1 With the above setting the output cycle of a wave pattern becomes as follows Number of channels Constant for Output cycle of Conversion x where D Aconversion x wave output x is enabled conversion cycle a wave pattern us speed 50 x 1 x 1 x 101 5050 Wave pattern data points CHAPTER 4 FUNCTIONS 7 Wave output conversion cycle The conversion cycle of the current output wave is calcul
193. n analog value Up to 50000 points can be used The wave data is registered in Wave data registry area Un G5000 to Un G54999 5 Wave pattern To use the wave output function select any points from the registered wave data for each channel and set the wave pattern The following table lists the setting contents for the wave pattern Setting item Buffer memory address Description Wave pattern start address setting Un G1024 to Un G1031 Set the start address of the wave pattern to be output for each channel The D A conversion starts from the digital value of the buffer memory address set in this area and the converted values are output sequentially Wave pattern data points setting This area is for setting the points of the wave pattern to be output for each channel From the start address Un G1040 to Un G1047 of the wave pattern the D A conversion starts for the values are output points of wave data set in this area and the converted If the address value total of the set values for Wave pattern start address setting and Wave pattern data points setting 1 exceeds the last address Un G54999 of the wave data registry area an error occurs The error code 370 is stored in Latest error code Un G19 Error flag XF turns on and ERR LED turns on Set values so that the address value total of the set values 1 becomes equal to or smaller than 54999 Ex 1 Setting example to output separate wave
194. n the specified torque range Undertightening can cause drop of the screw short circuit or malfunction Overtightening can damage the screw and or module resulting in drop short circuit or malfunction Shut off the external power supply all phases used in the system before mounting or removing the module Failure to do so may result in damage to the product A module can be replaced online while power is on on any MELSECNET H remote I O station or in the system where a CPU module supporting the online module change function is used Note that there are restrictions on the modules that can be replaced online and each module has its predetermined replacement procedure For details refer to the relevant chapter in this manual Do not directly touch any conductive parts and electronic components of the module Doing so can cause malfunction or failure of the module Wiring Precautions NWARNING After installation and wiring attach the included terminal cover to the module before turning it on for operation Failure to do so may result in electric shock Wiring Precautions NCAUTION Individually ground the FG terminal of the programmable controller with a ground resistance of 1000 or less Failure to do so may result in electric shock or malfunction Tighten the terminal screws within the specified torque range Undertightening can cause short circuit fire or malfunction Overtightening can damage the scre
195. nalog output Clear CLEAR Outputs offset value For the block guarantee of cyclic data per station refer to the following manual Q Corresponding MELSECNET H Network System Reference Manual Remote I O network CHAPTER 4 FUNCTIONS 4 5 Analog Output Test When CPU Module Is in STOP Status Analog output test can be performed when the CPU module is in STOP status The following functions are enabled during the analog output test e Scaling Function gt Page 39 Section 4 6 Warning Output Function lt gt Page 44 Section 4 7 When a digital value out of the range is written to each channel a check code is stored in CHO Set value check code Um G11 to Un G14 This section describes the analog output test in the normal output mode For the analog output test in the wave output mode refer to the following Wave output step action function 7 5 Page 80 Section 4 8 4 1 Setting procedure For analog output test configure the settings in the following procedure in the device test of GX Works2 1 Set D A conversion enable disable setting Un G0 to enable 0 for the channel where the analog output test is performed 2 Turnon Operating condition setting request Y9 e Check that Operating condition setting completed flag X9 turns off and turn off Operating condition setting request Y9 4 Turn on CHO Output enable disable flag Y1 to Y4 for the channel where the analog output test is performed 5
196. nalog output value is changed from offset value to D A converted analog value Point Analog output tests can be performed if a MELSECNET H remote I O station is connected even when the CPU module is stopped due to an error 38 CHAPTER 4 FUNCTIONS 4 6 Scaling Function This function scales a digital value into a value within the range of the set scaling lower limit value to scaling upper limit value The sequence programming for scale conversion can be omitted However this function cannot be used in the wave output mode 1 Concept of scaling setting The setting for scaling lower and upper limit values differs depending on whether the industrial shipment setting or the user range setting is used for analog output range a When the industrial shipment setting is used for analog output range Set a value corresponding to the upper limit value of the set analog output value for the scaling upper limit value Set a value corresponding to the lower limit value of the set analog output value for the scaling lower limit value b When the user range setting is used for analog output range Set a value corresponding to the gain value for the scaling upper limit value Set a value corresponding to the offset value for the scaling lower limit value 2 Calculating the scaling value Values converted using the following formulas are used for D A conversion Values lower than the decimal point are rounded down in
197. nd notified by Warning output flag UnXG48 Warning output signal XE and the ALM LED turning on In addition alarm code 15ALI is stored in Latest error code Un G19 The following shows the alarm codes that are stored Fixed L Warning channel number 1 Lower limit 0 Upper limit 44 CHAPTER 4 FUNCTIONS 2 Operation of warning output function When the digital value exceeds the warning output upper limit value or becomes less than the warning output lower limit value a warning is output and the analog output value becomes any of the following When the digital value exceeds the warning output upper limit value An analog value converted from the digital value of warning output upper limit value is output When the digital value becomes less than the warning output lower limit value An analog value converted from the digital value of warning output lower limit value is output After a warning has occurred the analog output value returns to the normal value by changing the digital value to a value within the setting range However Warning output flag Un G48 and Warning output signal XE are not cleared ALM LED keeps on 3 Clearing the Warning output The warning output can be cleared in the following two methods Turning on and off Warning output clear request YE Turning on and off Operating condition setting request Y9 Clearing the warning output puts the D A converter module into the following status Warn
198. ng processing processing Sequence Program e Execution completion of ON the G P OGLOAD instruction G P OGLOAD OFF PEN i i instruction ON Completion deviceD OFF zum ON Execution failed Completion status OFF OFF Execution succeeded wy indication device 1 1 scan 4 Errors The instruction has no errors 5 Program example The following shows the sequence program of the D A converter module installed in I O number X Y 10 to X Y1F with the following conditions Turning on M11 reads out the offset gain setting value of the D A converter module Sets a control data M11 MOVP H0 D102 J Specifies voltage SET M12 Reads the offset gain setting value M12 GP OGLOAD Ut D100 M20 Dedicated instruction GP OGLOAD M20 M21 r r a ST M12 J M20 M21 TT 1 l Performs processing for when the instruction execution fails END 225 avO190 d 5 z xpueddy uonongsu peyesipeq xipueddy Appendix 1 3 c P ocsroR Command GocsroR 1 E hoo nv H Command GP OGSTOR f GP OGSTOR Un Settin Internal device JDO Constant 2 R ZR Urn Zn Others data Bit Word Bit Word K H o o 1 Setting data Device Description Setting range Data type Un S
199. ng value to the D A converter module Sets a control data SET M13 u1 D100 M30 J Dedicated instruction GP OGSTOR RST M13 Performs processing for when the instruction execution fails END Point When the dedicated instruction G P OGSTOR is executed the D A conversion stops Turning on and off Operating condition setting request Y9 resumes the D A conversion 228 APPENDICES Appendix 2 When Using GX Developer This section describes the operating procedure when using GX Developer 1 Applicable software version For the applicable software version refer to the following e Applicable software packages 7 Page 20 Section 2 1 4 Appendix 2 1 Operation of GX Developer A Configure the following settings when using GX Developer Window name Application Reference Page 229 Appendix 2 1 I O assignment Set the type of the module to be mounted and the range of I O signal 1 t Page 230 Appendix 2 1 Switch setting Configure the switch setting of an intelligent function module 2 f Configure the setting when using a user range setting for the input Offset gain setting range Page 142 Section 8 5 2 1 I O assignment Configure the setting on I O assignment in PLC parameter W Parameter c PLC Parameter gt I O assignment Q parameter setting PLC name PLC system PLC file PLC RAS 1 PLC
200. no Boyeue Jo GOH U9SUM FELL 11 3 6 When analog value is not output in the wave output mode Check the items in the following procedure No Check item Action Check that Offset gain setting mode flag XA is off Then check Normal D A Converter Processing Mode is set for the Drive Mode Setting Is the Drive Mode Setting correct If Normal D A Converter Processing Mode is not set set Drive Mode Setting of the Switch 4 in the intelligent function module switch setting to Normal D A Converter Processing Checking the intelligent Mode 1 function module switch setting Check that Wave output mode is set for Output mode Un G9 If Wave output mode is not set set Output mode setting of the Is the output mode setting correct Switch 4 in the intelligent function module switch setting to any of the following Wave output mode conversion speed 50ps CH Wave output mode conversion speed 80us CH Is D A conversion enable disable setting Un GO of the channel to Check D A conversion enable disable setting Un GO and set output a wave signal set to D A D A conversion enable conversion disable Is Operating condition setting Turn on and off Operating condition setting request Y9 to request Y9 being executed enable the parameter setting of the wave output function Check the value in Wave data registry area Un G5000 to Un G54999 which is used for the channel to output a wave signal Is any value w
201. not come out 2 2 6 6 eee eee ee 216 11 3 5 When HOLD of analog output value is not available 000 00 eee 217 11 3 6 When analog value is not output in the wave output mode 0 00 0 ee 218 11 4 Checking the D A Converter Module Status on GX Works2 System Monitor 219 APPENDICES S 220 Appendix 1 Dedicated Instruction lliiiissslsslssse rn 220 Appendix T i SG PROFEGANL 2 008 ecminorueduxu x nx ei ud tek ri duri 221 Appendix 1 2 G P OGLOAD 12 ut ic Chas Sabah es Be Mate oe era 223 Appendix 1 3 G P OGSTOR 244 22 chin eevee be E dope e LO Opt e ates 226 Appendix 2 When Using GX Developer ssssssssssssss rn 229 Appendix2 1 Operation of GX Developer llle 229 Appendix 3 External Dimensions lesse 231 INDEX 232 REVISIONS pa bei RO eA a es Sa aa e a elise nein toa edi ete eae se 234 WARRANTY 2 0005 2h cee erg Shae ve oki diac ee eh Pee Dd dex e Us oe eee 235 10 MANUAL PAGE ORGANIZATION In this manual pages are organized and the symbols are used as shown below The following illustration is for explanation purpose only and should not be referred to as an actual documentation is used for window names and items 1 shows operating procedures XC shows mouse lalog box operations eoe ena rame The chapter of i f the current page is shown 2 Select the I O Assignment tab is used for items in the menu ba
202. nt Available devices are X Y M L B T C ST D W R and ZR When a bit device X Y M L or B is used set the number that is divisible by 16 points example X10 Y120 M16 Data in the buffer memory are stored in 16 points of devices starting from the set device No Example When X10 is set the data are stored in X10 to X1F 138 CHAPTER 8 VARIOUS SETTINGS 8 5 Offset gain Setting When using the user range setting configure the offset gain setting with the following operations When using the industrial shipment setting the offset gain setting is not required The offset gain setting can be configured from the following two types of operations Setting from Offset Gain Setting of GX Works2 Setting from a program 8 5 1 Setting from Offset Gain Setting of GX Works2 1 Setting procedure Open the Offset Gain Setting window However this function cannot be used in the wave output mode Set the normal output mode or offset gain setting mode in advance Tool gt Intelligent Function Module gt Analog Module gt Offset Gain Setting 1 Select the module to configure the offset gain setting and click the button Module Selection Offset Gain Setting Module Selection Bumes urebjesyoO sg 2 Click the 7 MELSOFT Series GX Works2 BN Are you sure to switch from normal mode to offset gain setting mode D A conversion will be canceled when switching over to offset gain
203. nt address Un G1132 to The buffer memory address of the currently output wave Page 125 monitor Un G1139 data is stored in 32 bit signed binary in this area Section 6 2 30 Wave output current digital value Un G1148 to The digital value which is currently output is stored in this Page 126 monitor Un G1151 area Section 6 2 31 Wave output digital value outside the range Address monitor Un G1156 to Un G1163 The buffer memory address of the wave data with the digital value out of the setting range is stored in 32 bit signed binary in this area When the multiple wave data with the digital value out of the setting range are detected only the buffer memory address of the wave data detected first is stored Page 127 Section 6 2 32 Wave output warning Address monitor Un G1172 to Un G1179 The buffer memory address of the wave data where a warning has occurred is stored in 32 bit signed binary in this area When a warning has occurred in the multiple wave data only the buffer memory address of the wave data where the warning occurred first is stored Page 127 Section 6 2 33 71 uoloun nding 9AeM g p uonounj nd no 8eAeM y jo uonnoex3 z gv 4 8 3 Points for the wave output function 1 When turning on or off CHO Output enable disable flag Y1 to Y4 during the wave output When CHO Output enable disable flag Y1 to Y4 is turned off during the wave output the analog output value become
204. nt the D A converter module in any desired configuration Wiring Connect external devices to the D A converter 4 Page 133 module Section 7 4 NO Is the user range used Offset gain setting To use user range settings configure the lt gt Page 139 offset gain setting Section 8 5 Programming and debugging Create and check a sequence program 130 CHAPTER 7 SETTINGS AND PROCEDURES BEFORE OPERATION 7 3 Part Names This section describes the part names of a D A converter module Q64DAH 1 gt RUN ALM 1 3 2 r ERR Ve i E cou 2 1 I 3 E 4 m 5 C cou H 2 6 7 F 8 9 C cou H 5 SLD 2 Y 3 c G com 4 7 4 I 5 N 24v0c 6 7 ENTE 10 40V 0 20mA 4 T 1 Part names The following table lists the part names of a D A converter module SOWEN Hed 7 Number Name Description Indicates the operating status of the D A converter module On The module is operating normally 1 RUN LED green Flashing In the offset gain setting mode Off The 5V power is off watchdog timer error has occurred or online module change is available Indicates the errors and status of the D A converter module i 4 2 ERR LED
205. nverter module Page 91 Module error collection function into the CPU module Section 4 10 Page 92 Error clear function When an error occurs the error can be cleared on the system monitor E Section 4 11 Page 166 Online module change This module can be replaced without stopping the system CHAPTER 10 30 CHAPTER 4 FUNCTIONS CHAPTER 4 ruwcrioNs 4 1 Mode This chapter describes the details on functions that can be used in the D A converter module and the setting procedures For details on the I O signals and the buffer memory refer to the following Details of I O Signals gt Page 94 Section 5 2 Details of Buffer Memory Addresses gt Page 109 Section 6 2 The D A converter module has the normal mode and the offset gain setting mode Select the correct mode according to the function to be used The following shows descriptions of each mode 1 Normal mode The normal mode includes the normal output mode and wave output mode In this manual the description of normal mode indicates the normal output mode and wave output mode a Normal output mode This output mode is for the standard D A conversion The value set in CHO Digital value Un G1 to Un G4 is output in analog after the D A conversion The conversion speed is 20us CH b Wave output mode This output mode is for the wave output The value set in Wave data registry area Un G5000 to Un G54999 is output in analog after
206. oF Processing at the warning output lower limit I g g outp 30 lower limit m X14 XOE 2 2 N SET YOE J Turns on Warning output clear request o XOE YOE 1 22 M RST YOE J Turns off Warning output clear request o Displays the error code and performs reset processing c o XOF UO R o8 BCD G19 K4Y20 Outputs the error code in BCD a a m X15 l a SET YOF Error clear request o e B XOF YOF es E 5 3 JE RST YOF o gt 0O 065 oD zh LEND ge 20 GG gt D a c 5 2 o 5 3 o a o 153 9 3 This section describes the system configuration and program examples of when the D A converter module is used on When Using the Module on the Remote I O Network a remote I O network Point For details on the MELSECNET H remote I O network refer to the following 1 Q Corresponding MELSECNET H Network System Reference Manual Remote I O network 1 System configuration Remote I O station Station No 1 QJ71LP21 25 X YO to X Y1F QX10 X20 to X2F QY10 Y30 to Y3F Remote master station Station No 0 Network No 1 2 Programming condition Set CH1 and CH2 of the D A converter module to D A conversion enable then write the digital values If a digital value write error occurs an error code is displayed in BCD Configure the scaling setting in CH1 only and configure the warning output setting in CH2 only 3 Switch setting For the switc
207. odule is in STOP status Hold Offset value Offset value O0V OmA Analog output status when CPU module is in stop error Hold Offset value Offset value OV OmA Analog output status when a watchdog timer error occurs OV OmA OV OmA OV OmA OV OmA 1 2 b Occurs when the sequence program operation is not completed within the estimated time due to such as a hardware trouble in the D A converter module When a watchdog timer error occurs Module READY XO turns off and the RUN LED on the D A converter module turns off The following operation is performed when the CPU module is in STOP status D A conversion enable disable setting UnYGO is set to D A conversion enable 0 for the channel where HOLD is set and Operating condition setting request Y9 is turned on and off Output enable disable flag OFF 0V OmA output Output enable disable flag ON offset value output Wave output mode The analog output status changes as shown in the following table depending on the combination of settings for D A conversion enable disable setting Un GO CHO Output enable disable flag Y1 to Y4 and the wave output status D A conversion enable disable i A Enable Disable setting Un GO CHO Output enable disable flag Enable or Execution Enable Disable puto Y1 to Y4 disable Sans Anal tput HOLD CLEAR HOLD HOLD nalog outpu or or po HOLD CLEAR function setting CLEAR CLEAR Wave output
208. 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 exceed the gratis warranty term before repairs Gratis Warranty Range 1 The range shall be limited to normal use within the usage state usage methods and usage environment etc which follow the conditions and precautions etc given in the instruction manual user s manual and caution labels on the product 2 Even within the gratis warranty term repairs shall be charged for in the following cases 1 Failure occurring from inappropriate storage or handling carelessness or negligence by the user Failure 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
209. offset gain setting is performed several channels have been set PEN i Correct the Offset gain setting mode Offset specification In offset gain setting channel numbers or 0 is set for 500 i RIA Un G22 value and or the Offset gain setting mode Gain both Offset gain setting mode Offset specification in specification Un G23 value Un G22 and Offset gain setting mode Gain specification Un G23 Set a value within the following range to CHO Digital value Un G1 to Un G4 according to the set output range 0 to 20mA 4 to 20mA 0 to 5V 1 to 5V 0 to 20000 A value outside the setting range is set 10 to 10V user range 20000 to 20000 In the normal to CHO Digital value Un G1 to Un G4 output mode The channel where the error has However when Scaling enable disable setting Un G53 is occurred fits in O set to Enable 0 set a value within the following range CHO Scaling lower limit value Un G54 Un G56 Un G58 Un G60 CHO Scaling upper limit value Un G55 Un G57 Un G59 Un G61 eor Set a value within the following range to the corresponding part of areas used for the channel in Wave data registry area Un G5000 to Un G54999 according to the set output A digital value outside the setting range Pinos is set to a part of areas used for channel a 0 to 20mA 4 to 20mA 0 to 5V 1 to 5V 0 to 20000 In the wave wave output in Wave data registry area 10 to 10V 20000 to 20000 output
210. on Is the external power supply 24VDC supplied Check External power supply READY flag X7 and if the flag is turned off provide a 24VDC power supply to the external power supply terminal pin number 16 17 Is there any problem with wiring such as off or disconnection of analog signal lines Check the faulty area by checking the signal line visually or conductively Is the CPU module in the STOP status Change the status of the CPU module to RUN Is the offset gain setting correct After turning on and off Operating condition setting request Y9 compare the values of CH1 User range settings offset value Un G210 to CH4 User range settings gain value Un G217 with the values in the range reference tables If the stored values are not desired offset gain values perform the offset gain setting again For the range reference table refer to the following Range Reference Table _ gt Page 207 Section 10 11 Is the output range setting correct Check Setting range Un G20 When the output range setting is wrong reconfigure the intelligent function module switch setting Is D A conversion enable disable setting Un GO of the channel to output a signal set to D A conversion disable Check D A conversion enable disable setting Un GO Then set D A conversion enable for Un GO with the sequence program or the parameter setting of the intelligent function module Is CHO Output enable disable
211. ormal D A Converter Processing Mode Output mode setting Normal output mode conversion speed 20us CH ba Following operations are required to run the system under Wave output mode 1 Create wave output data 2 Write the created data to buffer memory by means of FB library This dialog setting is linked to the Switch Setting of the PLC parameter Default value will be shown in the dialog if the Switch Setting of the PLC parameter contains an out of range value cea Item Description Setting value 4 to 20mA default value 0 to 20mA 1to5V Output range Set the output range used in each channel 0to5V Output Range 10 to 10V Setting User Range Setting Set whether to hold or clear the output analog HOLD CLEAR value in each channel when the CPU module CLEAR default value function enters to the STOP status or when an error HOLD OCCUIS Normal D A Converter Processing Mode Drive Mode Setting Set the drive mode of the D A converter module default value Offset Gain Setting Mode Normal output mode conversion speed 20us CH default value Output mode setting Set the output mode of the D A converter module Wave output mode conversion speed 50us CH Wave output mode conversion speed 80us CH 1 The operation of the D A converter module in the normal output mode differs from the operation in the wave output mode For details refer to the following
212. ormal completion the device remains off Error completion the device turns on at the END processing for the scan where the G P OGSTOR instruction is completed and turns off at the next END processing END END END END processing processing processing processing Sequence Program n ON Execution completion of the G P OGSTOR instruction i G P OGSTOR OFF i instruction 0 7 0000000000000 H ON Completion device D OFF p 1 ON Execution failed Completion status OFF eee Ari Execution indication device 1 i 1 scan 4 Errors In the following cases an error occurs and an error code is stored in completion status area S 1 Error code Description of operation error 161 The G P OGSTOR instruction is executed in the offset gain setting mode or the wave output mode 162 The G P OGSTOR instruction is continuously executed The G P OGSTOR instruction is executed to the different model from the one to which the G P OGLOAD instruction is executed The G P OGSTOR instruction has been executed before the execution of the G P OGLOAD instruction 163 5 Program example The following shows the sequence program of the D A converter module installed in I O number X Y10 to X Y1F with the following conditions Turning off M11 writes the offset gain setti
213. ory address of Vidal Barton avdbowal Sanoo CHO Digital value Un G1 to Un G4 of the channel Module Start 0000 A Word Signed E H used Reflect to Input Column Delete O 12 Set a digital value for CHO Digital value Un G1 to Un G4 13 Turn on Operating condition setting request Y9 14 Check that Operating condition setting completed flag X9 turns off and turn off Operating condition setting request Y9 15 Turn on CHO Output enable disable flag Y1 to Y4 for the channel used to check that the D A conversion is performed properly Note that the analog output is actually performed 16 Betore restarting the control check the D A converter module for the following If an error occurs refer to TROUBLESHOOTING Page 208 CHAPTER 11 and take a corrective action If the RUN LED is on If the ERR LED is off f Error flag XF is off 17 Since the new module is in the default status initial ueis s Jeuyouy 1n0u1M ueJ604g eouenbes e Bulsp peunBijuo y sBumes jenu pue pasn s eBues sN e ueuM OL OL settings must be configured using a sequence program after the control resumed Before configuring the initial settings check that the initial setting program is proper satisfying the following Normal system configuration Create a sequence program that sets the initial settings when Module READY XO of the D A converter module turns on Do not create a sequence program which sets the initi
214. ot satisfy the condition an error occurs The error code 910 is stored in Latest error code Un G19 Error flag XF turns on and ERR LED turns on When Scaling enable disable setting Un G53 is set to Disable 1 the settings for CHO Scaling lower limit value Un G54 Un G56 Un G58 Un G60 and CHO Scaling upper limit value Un G55 Un G57 Un G59 Un G61 are ignored b Enabling the setting Turn on and off Operating condition setting request Y9 to enable the setting c Default value All channels are set to 0 Point Because 0 is set as the default value change the setting value for the scaling function CHAPTER 6 BUFFER MEMORY 14 CHO Warning output upper limit value Un G86 Un G88 Un G90 Un G92 CHO Warning output lower limit value Un G87 Un G89 Un G91 Un G93 Set the upper and lower limit values of the warning output range For details on the warning output function refer to the following e Warning Output Function gt Page 44 Section 4 7 a Setting range Setting range 32768 to 32767 When using the scaling function consider the scaling range and specify values The value to be set must satisfy the condition of Warning output upper limit value Warning output lower limit value In the channel where a value does not satisfy the condition an error occurs The error code 620 is stored in Latest error code Un G19 Error flag XF turns on and ERR LED turns on When Warning
215. output function 1 Registering the wave data and parameters of the wave output function Register the wave data and parameter settings for the wave output function to the D A converter module Use the function block FB for the wave data registration For how to use the function block FB for the wave data registration refer to the following CJ MELSEC Q High Speed Digital Analog Converter Module FB Library Reference Manual FBM M087 The contents registered by the function block FB for the wave data registration need to be enabled by turning on and off Operating condition setting request Y9 When the setting is enabled the analog output value of the channel where the D A conversion is enabled varies depending on the CHO Output enable disable flag Y1 to Y4 status as shown below CHO Output enable disable flag Y1 to Y4 is OFF The offset value is output CHO Output enable disable flag Y1 to Y4 is ON The contents set in CHO Output setting during wave output stop UnXG1008 to Un G1011 are output CPU module status 9 RUN 2 D A conversion enable disable setting Un GO D A conversion disable 1 X D A conversion enable 0 XD A conversion disable 1 CHLI Output enable disable flag Y1 to Y4 OFF ON 1 Set D A conversion enable disable Un GO to D A conversion enable 0 and turn on then off Operating condition setting request Y9 2 Set D A conversion enable disable Un GO to D A
216. output function For the wave output function set the following items as the initial setting Before using the wave output function complete the procedures described in this section e Creating wave data 7 gt Page 54 Section 4 8 1 1 Setting parameters of the wave output function 7 gt Page 60 Section 4 8 1 2 e Writing data to a file register ZR or CSV file 7 s Page 62 Section 4 8 1 3 Switch setting and basic setting 7 gt Page 65 Section 4 8 1 4 1 Creating wave data Create the wave data in Create Wave Output Data of GX Works2 1 Start Create Wave Output Data lool gt Intelligent Function Module Tool gt Analog Module lt gt Create Wave Output Data 2 Select the graph displayed in Register wave pattern and press the Enter key The Register Wave Pattern window is displayed Create Wave Output Data Create wave output data for wave output function Register wave pattern Register wave pattern for creating wave output data Select graph part and press Enter to open registration window Wave pattern No Graph Register wave pattern Wave pattern pate Wave pattern information Digital value range La inf Number of data Input wave pattern information Register Wave Pattern Press the Enter key Comment Wave pattern No T Wave pattern name Digital value r
217. ow show the case that the start I O number of the D A converter module is set to 0 5 2 1 Input signal 1 Module READY X0 Module READY X0 turns on to indicate that the preparation for the D A conversion is completed after the power on or after the reset operation of the CPU module In the following cases Module READY XO turns off In the offset gain setting mode The D A conversion processing is executed When a watch dog timer error occurs in the D A converter module The D A conversion processing is not executed 2 External power supply READY flag X7 100ms after the external power supply is supplied External power supply READY flag X7 turns on and the D A conversion processing is executed The following figure shows the time chart when the external power supply is turned on after the power on of the CPU module ON CPU module power ON In normal mode Module READY X0 In offset gain setting mode Offset gain setting i mode flag XA ON External power supply OFF MEM 100ms ON MENU rci ipid External power supply READY flag X7 i OFF D A conversionis D A conversionis not performed R performed a Normal mode When the module is started with the external power supply being on External power supply READY flag X7 turns on at the same time as Module READY X0 turns on Also if Module READY XO is on and the external power supply is turned on later External power su
218. pecification 0000 R W 24 18 Offset gain adjustment value specification 0 R W 25 194 System area 101 Address Address Wane Default Read Write decimal hexadecimal e 2 26 1Ay HOLD CLEAR function setting 0000 R 27 1By to to System area 46 2Ey 47 2Fu Warning output setting OOOFy R W 48 304 Warning output flag 00004 R 49 314 to to System area 52 34 53 354 Scaling enable disable setting 000F R W 54 364 CH1 Scaling lower limit value 0 R W 55 37H CH1 Scaling upper limit value 0 R W 56 384 CH2 Scaling lower limit value 0 R W 57 394 CH2 Scaling upper limit value 0 R W 58 3Ay CH3 Scaling lower limit value 0 R W 59 3By CH3 Scaling upper limit value 0 R W 60 3Cy CH4 Scaling lower limit value 0 R W 61 3Du CH4 Scaling upper limit value 0 R W 62 3E to to System area 85 55 86 56H CH1 Warning output upper limit value 0 R W 87 574 CH1 Warning output lower limit value 0 R W 88 58H CH2 Warning output upper limit value 0 R W 89 594 CH2 Warning output lower limit value 0 R W 90 5Ay CH3 Warning output upper limit value 0 R W 91 5B4 CH3 Warning output lower limit value 0 R W 92 5Cy CH4 Warning output upper limit value 0 R W 93 5Dy CH4 Warning output lower limit value 0 R W 94 5Ey to to System area 157 9D 158 9Ey 0 R W Mode switching setting 159 9Fu 0 R W 160 AOp to to System area 199 CT 200 C84 Pass data cl
219. ple wave data with the digital value out of the setting range are detected only the buffer memory address of the wave data detected first is stored The value is stored only in the wave output mode In the mode other than the wave output mode 0 is stored a Update of the stored value When the first digital value out of the range is detected in the wave output status other than the wave output stop the stored value is updated b Reset of the stored value Correct the value of the wave data out of the setting range so that the value is within the range Turning Error clear request YF on and off or Operating condition setting request Y9 on and off after correction resets the stored value 33 CH1 Wave output warning Address monitor L Un G1172 to CH4 Wave output warning Address monitor H Un G1179 This area stores the buffer memory address of the wave data in which a warning has occurred in 32 bit signed binary for each channel When a warning has occurred in the multiple wave data only the buffer memory address of the wave data where the warning occurred first is stored The value is stored only in the wave output mode In the mode other than the wave output mode 0 is stored a Update of the stored value When the first warning has occurred in the wave output status other than the wave output stop the stored value is updated b Reset of the stored value Correct the value of the wave data in the wave output status whi
220. pplicable systems 1 Applicable CPU modules and base units and number of mountable modules a When mounted with a CPU module The following table lists CPU modules and base units applicable to the D A converter module and the number of mountable D A converter modules Depending on the combination with other modules or the number of mounted modules power supply capacity may be insufficient Select the power supply capacity according to the module to be used If the power supply capacity is insufficient change the combination of the modules Applicable CPU module Number of Applicable base unit CPU type CPU model modules Main base unit Extension base unit Q00JCPU Up to 16 Basic model QCPU QOOCPU O O Up to 24 Q01CPU Q02CPU Q02HCPU QO6HCPU Up to 64 O Oo Q12HCPU Q25HCPU Q02PHCPU QO6PHCPU Process CPU BieuceD Up to 64 O O Q25PHCPU Redundant CPU A Up to 53 x sono a G2SPRHGRU il QOOUJCPU Up to 16 QOOUCPU Q01UCPU QO2UCPU Up to 36 QO3UDCPU QO04UDHCPU Universal model QCPU QO6UDHCPU O O Q10UDHCPU Q13UDHCPU Up to 64 Q20UDHCPU Q26UDHCPU QO3UDECPU QO04UDECPU High Performance model QCPU suieis g ejqeouddy pZ Up to 24 17 Applicable CPU module Number of Applicable base unit CPU type CPU model modules Main base unit Extension base unit QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU Q50UDEHCPU Programmabl
221. pply READY flag X7 turns on after 100ms b Offset gain setting mode When the module is started with the external power supply being on External power supply READY flag X7 turns on at the same time as Offset gain setting mode flag XA turns on Also if Offset gain setting mode flag XA is on and the external power supply is turned on later External power supply READY flag X7 turns on after 100ms 94 CHAPTER 5 I O SIGNALS ASSIGNED TO THE CPU MODULE c When the external power supply is not supplied or when the time after the supply is less than 100ms External power supply READY flag X7 turns off and the D A conversion processing is not executed The analog output value becomes OV OmA Out of range digital value error detection and warning output are not executed Point P For the external power supply supply the voltage and current indicated in the performance specifications When D A output is executed Module READY X0 and External power supply READY flag X7 must be on Digital value write command X0 X7 UO E 1 MOVP K4000 G1 3 Operating condition setting completed flag X9 When changing the following settings use Operating condition setting completed flag X9 as an interlock condition to turn on and off Operating condition setting request Y9 D A conversion enable disable setting Un GO Warning output setting Un G47 CHO Warning output upper limit value Un G86 Un
222. prepared wave data digital value into the D A converter module and outputs the data analog value in the set conversion cycle A faster and smoother control than a sequence program is achieved by the automatic output of the control wave data registered in the D A converter module for the analog torque control such as pressing machines and injection molding units The control can be executed only by registering the wave data to the D A converter module Therefore the program less control is available for the repeat control such as the line control and man hours for programming can be reduced The wave output function is only available in the wave output mode Select the suitable wave output mode according to the conversion speed Wave output mode conversion speed 50us CH Wave output mode conversion speed 80us CH For the setting procedure of the wave output mode refer to the following Switch setting 7 5 Page 65 Section 4 8 1 4 a Wave data 1 Create wave data Wave data can be created with easy mouse operation from Create Wave Output Data of GX Works2 2 Save the wave data to a CSV file or file register Wave data registry area Save a CSV file in an ATA card Address D A converter module 4 Digital values are converted to analog values in the set conversion cycle and the converted values are output sequentially
223. properly Note that the analog output is actually performed 185 ueijs S Jeyjouy ym uonoun 4 uoneun amp yuo y Buis peun ijuo ay sBunjes eniu pue pasn s eBues Jes e ueuM Z OL 186 From the previous page l 5 Resuming operation Online Module Change r Operation _ r Target Module Module Change I O Address 0000 Execution Installation Module Name Q64DAH Confirmation Status Module Control Change Module Installation Completion Restart Status Guidance The controls such as I O FROM TO instruction executions and tomatic refresh For the installed module are restarted lease confirm the parameter setting wiring etc and press completed utton Cancel MELSOFT Application e W Online module change completed 12 Before starting the control check the D A converter 3 module for the following If an error occurs refer to TROUBLESHOOTING _ gt Page 208 CHAPTER 11 and take a corrective action If the RUN LED is on If the ERR LED is off If Error flag XF is off Open the Online Module Change window again D Diagnostics gt Online Module Change Click the to resume control Module READY X0 turns on button on the appeared window The online module change is completed CHAPTER 10 ONLINE MODULE CHANGE 10 8 Whena User Range Is Used and Initial Settings Are Configured Using a Sequence Program with Another System
224. put mode a Setting range The setting range depends on the set output range Follow the setting range below Output range Setting range 4 to 20mA 0 to 20mA 0 to 20479 practical range 0 to 20000 1 to 5V 0 to 5V 10 to10V 20480 to 20479 practical range 20000 to 20000 In the channel where the wave data with a value out of the above setting range is output an error occurs The error code 600 is stored in Latest error code Un G19 Error flag XF turns on and ERR LED turns on The wave output continues However while the value out of the setting range is set the maximum or minimum value of the output range is output in analog 128 CHAPTER 7 SETTINGS AND PROCEDURES BEFORE OPERATION CHAPTER 7 SETTINGS AND PROCEDURES BEFORE OPERATION This chapter describes the procedure prior to a D A converter module operation each part name of a D A converter module and wiring method 7 1 Handling Precautions This section describes the handling precautions for a D A converter module Do not drop the module case or do not subject it to strong impact Do not remove the printed circuit board from the case Doing so can cause module failure Do not disassemble the module Doing so can cause module failure Prevent foreign matter such as dust or wire chips from entering the module Such foreign matter can cause a fire failure or malfunction A protective film is attached to the top of th
225. r and the project window PTET a tT Mem Description Tee Seed he ype ofthe connected modile Page 4 Sesion 712 Modai Name Selec te model rame ofthe comecied modu Page 4 Secon 7 13 Pons Sette numberof pots assigned i each t Page 74 Secon 714 anw Specty a tat VO number Tor each siot Page 74 Seaton 7 15 Sate etna CConfgure the switch setting of the buitin I O or intelligent function modules Page 74 Section 7 1 8 nz Set the foliowi fd H ene Ti OU Mode ef The section of Detsie sete Ba Kx isis aiia pir Page 75 Section 7 17 Ed Yo Response e H i the current page is shown Setting Start X Y enables modification on the start O numbers assigned to connected modules ES operating examples range of an input module is changed to X1000 to X100F For details refer to the following shows setting or 1000 is specified in Start X Y to the slot where a 16 point module is connected the assignment LL shows reference Da CPU Module User s Manual Function Explanation Program Fundamentals manuals Point j Set the type of the connected module in Type Setting a different type results in SPUNIT LAY ERR Point Pshows notes that elligent function module the I O points must also be the same in addition to the I O H lt gt shows reference Sapa m FRE require attention pages When an intelligent module is connected I O assignment can be omitted by selecting connected modules from Int
226. r changing the CPU module status to STOP from RUN CPU module status RUN A STOP RUN D A conversion enable disable setting Un GO D A conversion enable 0 CHO Output enable disable flag Y1 to Y4 OFF X ON CHO Wave output start stop Wave output stop Wave output start request Un G1000 to Un G1003 request 0 request 1 CHO Wave output status monitor Un G1100 to Un G1103 Wave output stop 0 Wave output 1 Wave data Wave output resumes Analog output Output set in CHO Output setting during wave output stop Un G1008 to Un G1011 An output value is held Offset value uoloun nding 9AeM gY uonounij 1ndino SAEM SU 10 SJUIOg g r 73 b For CLEAR setting When the CPU module status is changed to STOP from RUN the wave output is finished and the offset value is output When the CPU module status is changed to RUN from STOP the value is output according to the setting in CHO Output setting during wave output stop Un G1008 to Un G1011 The wave output does not resume To execute the wave output again set CHO Wave output start stop request Un G1000 to Un G1003 to Wave output stop request 0 after changing the CPU module status to RUN from STOP Then set CHO Wave output start stop request Un G1000 to Un G1003 to Wave output start request 1 from Wave output stop request 0 CPU module status RUN RUN D A conversion enable disable
227. re Design Maintenance and Inspection 1 Precautions on Online Module Change This section lists precautions on an online module change Point Always perform an online module change in the correct procedure gt Page 169 Section 10 4 A failure to do so can cause a malfunction or failure Perform an online module change after checking that the system outside the programmable controller will not malfunction Provide means such as switches for powering off each of the external power supply and external devices connected to the module to be replaced online Failure to do so may cause an electric shock and malfunction of operating modules After the module has failed the buffer memory data may not be saved properly Prerecord the data to be saved It is recommended to perform an online module change in the actual system in advance to check that it would not affect the other modules For the operational verification check the following Means of cutting off the connection to external devices and its configuration are correct Switching on off does not bring any undesirable effect After the first use of the product do not mount remove the module to from the base unit and the terminal block to from the module more than 50 times IEC 61131 2 compliant respectively Exceeding the limit may cause malfunction Dedicated instructions cannot be executed during an online module change Save and restore the offset gain setting
228. red On An error is occurring except for the error code 112 Flashing The error code 112 is occurring Off The module is operating normally Indicates the warning status of the D A converter module 3 ALM LED red On Warning output is occurring 2 Off The module is operating normally 2 4 Serial number display Displays the serial number printed on the rating plate aa Error Code List 5 Page 208 Section 11 1 2 Alarm Code List 7 5 Page 214 Section 11 2 131 132 2 Signal names of the terminal block The following shows signal names of the terminal block CH1 COM CH1 V SLD CH1 I CH2 COM CH2 V SLD CH2 I CH3 COM CH3 V SLD CH3 I CH4 COM CH4 V 24V CH4 I FG 24G Pin number Signal name 1 V 2 CH1 COM 3 I 4 SLD 5 V 6 CH2 COM 7 I 8 SLD 9 V 10 CH3 COM 11 I 12 SLD 13 V 14 CH4 COM 15 I 16 24V 17 24G 18 FG CHAPTER 7 SETTINGS AND PROCEDURES BEFORE OPERATION 7 4 Wiring This section describes the wiring precautions and module connection examples of a D A converter module 7 4 1 Wiring precautions External wiring that is less likely to be affected by noise is one of the conditions for a highly reliable system that fully utilizes the D A converter module This
229. rent 20yA accuracy for the 25 5 C maximum value of analog output Ambient vale temperature Within 0 3 voltage 30mV current 60UA 0 to 55 C Normal output 20us channel Conversion mode speed Wave output 50us channel mode 80us channel Number of offset gain settings Up to 50000 counts Output short protection Protected Insulation method Between I O terminals and programmable controller power supply photocoupler isolation Between output channels no isolation Between external power supply and analog output transformer isolation Dielectric withstand voltage Insulation resistance Between I O terminals and programmable controller power supply 500VACrms for 1 minute Between external power supply and analog output 500VACrms for 1 minute Between I O terminals and programmable controller power supply 500VDC 10MQ or higher Number of occupied I O points Connected terminal 16 points I O assignment 16 points for intelligent 18 point terminal block Applicable wire size 0 3 to 0 75mm Applicable solderless terminal 24 R1 25 3 solderless terminals with sleeve are not usable CHAPTER 3 SPECIFICATIONS Model Q64DAH Item 24VDC 20 15 Ripple spike 500mVP P or lower External power supply Inrush current 4 3A 1000us or shorter Current consumption 0 18A Internal current consumption 5VDC 0 12A Weight 0 19kg 1 For details on th
230. ritten to Wave data f During a pause of the wave output the monitors of the wave registry area Un G5000 to ES output function can be checked After setting the analog Un G54999 which is used for the output HOLD CLEAR function to HOLD set CHO Wave 2 Checking the program channel to output a wave signal output start stop request Un G1000 to Un G1003 to Wave output pause request 2 to pause the wave output Then check the monitors Check CHO Wave output status monitor Un G1100 to Is CHO Wave output start stop Un G1103 of the channel to output a wave signal request Un G1000 to Un G1003 If CHO Wave output status monitor Un G1100 to Un G1103 of the channel to output a wave f is set to Wave output stop 0 set CHO Wave output start signal set to Wave output stop stop request Un G1000 to Un1G1003 to Wave output start request 0 request 1 Is CHO Output enable disable flag Check the status of CHO Output enable disable flag Y1 to Y1 to Y4 of the channel to output Y4 If CHO Output enable disable flag Y1 to Y4 is off a wave signal on review the sequence program Check External power supply READY flag X7 and if the flag Checking the connection Is the external power supply i 3 is turned off provide a 24VDC power supply to the external method 24VDC supplied power supply terminal pin number 16 17 218 CHAPTER 11 TROUBLESHOOTING 11 4 Checking the D A Converter Module S
231. rocedures when setting the offset gain from a sequence program Start O gt Switch to the Offset gain setting mode Check that the module is in Offset gain setting mode the RUN LED is flashing 1 Specify the offset target channel in Offset gain setting mode Offset specification Un G22 Only one channel can be set at a time Set 0 in Offset gain setting mode Gain specification Un G23 AA Turn on Channel change request YB v Check that Channel change completed flag XB is on v Turn off Channel change request YB v Set a value in Offset gain adjustment value specification Un G24 AA Turn on Set value change request YC Turn off Set value change request YC when Set value change completed flag XC turns on by the analog output value changes Is the analog output value satisfied Specify the offset target channel in Offset gain setting mode Gain specification Un G23 Only one channel can be set at a time Set 0 in Offset gain setting mode Offset specification Un G22 Va EY Turn on Channel change request YB v Check that Channel change completed flag XB is on v Turn off Channel change request YB v Set a value in Offset gain adjustment value specification Un G24 v Turn on Set value change request YC v Turn off
232. rrently output wave data in Wave data registry area Un G5000 to Un G54999 is changed to the data with the buffer memory address which is added or subtracted by the setting value in this area After the change with a value in this area is completed No movement 0 is stored This area can be set only when the following conditions are satisfied In wave output mode When Wave output step action 3 is stored in CHO Wave output status monitor Un G1100 to Un G1103 Even when the setting value is changed when the above conditions are not satisfied the change is not applied For details on the wave output step action function refer to the following e Wave output step action function gt Page 80 Section 4 8 4 a Setting range Setting range 30000 to 30000 Set the following value according to the direction to move Movement oye F Description Setting value direction No movement The buffer memory address of the wave data to be output is not moved 0 The buffer memory address of the wave data to be output is moved in the address increasing direction from the buffer memory address of the currently output wave data Forward x When 10000 is set in CHO Wave output step action movement amount 4 to 30000 movement Un G1080 to Un G1083 with the buffer memory address of the currently output wave data being Un G30000 The buffer memory address of the wave data to be output is changed to Un G40000 The buffer memo
233. rsion enabled channels regardless of the turning of CHO Output enable disable flag Y1 to Y4 on 2 Operating condition setting request Y9 To enable the initial setting of the D A converter module turn on and off Operating condition setting request Y9 For the contents of the initial setting which becomes enabled and the timing of turning on and off the signal refer to the following e Operating condition setting completed flag X9 gt Page 95 Section 5 2 1 3 By eliminating the error cause and turning on and off this signal while an error or a warning is occurring the error and the warning are cleared In the wave output mode turn on and off Operating condition setting request Y9 after checking that CHO Wave output status monitor Un G1100 to Un G1103 in all channels are set to Wave output stop 0 When Operating condition setting request Y9 is turned on and off with a channel set to other than the Wave output stop an error occurs The error code 200 is stored in Latest error code Un G19 Error flag XF turns on and ERR LED turns on The initial settings cannot be enabled an NN og 3 User range writing request YA os So So a Offset gain setting mode gs Turn on and off User range writing request YA to register the adjusted offset gain setting values in the D A B o converter module D n For the timing of turning on and off the signal refer to the following e Offset gain setting mode fl
234. rt Signed bit 0 Positive fixed For details on the wave output function refer to the following e Wave Output Function s Page 46 Section 4 8 a Setting range Setting range 5000 to 54999 Set this area within the range of the buffer memory address in Wave data registry area UnXG5000 to Un G54999 Even when the setting value is changed in the mode other than the wave output mode the change is not applied In the channel where a value out of the above setting range is set an error occurs The error code 320 is stored in Latest error code Un G19 Error flag XF turns on and ERR LED turns on The wave output cannot be executed Set this area and CH1 Wave pattern data points setting L UnXG1040 to CH4 Wave pattern data points setting H Un G1047 under the following condition Mer pattern start Wave pattern data 4 lt 54999 address setting points setting In the channel where a value does not satisfy the condition an error occurs The error code 370 is stored in Latest error code Un G19 Error flag XF turns on and ERR LED turns on b Enabling the setting Turn on and off Operating condition setting request Y9 to enable the setting c Default value All channels are set to 5000 120 CHAPTER 6 BUFFER MEMORY 22 CH1 Wave pattern data points setting L Un G1040 to CH4 Wave pattern data points setting H Un G1047 This area is for setting the points of the wav
235. rter module to be replaced and is composed of modules such as a power supply module and a CPU module Another system has power supply which can be turned on and off and modules which can be removed and mounted 1 System configuration The following system configuration is used to explain the online module change procedure a Without another system CPU module Titi Nd i D A converter module X YO to X YF b With another system Another system CPU module HE y 169 eynpeooJg ebueuyD ejnpojy eujuo OL 170 2 Procedure The following flow shows the online module change procedure Stop the operation Remove the module Mount a new module l Check the operation Resume the control End CHAPTER 10 ONLINE MODULE CHANGE 10 5 When an Industrial Shipment Range Is Used and Parameters Are Set Using the Configuration Function 1 Stopping operation Device Buffer Memory Batch Monitor 1 Monitoring Device C Device Name x F f Buffer Memory Module Start 0000 Hex Address o gt bec Display Format Modify Value 2m 22 22 E asc E 16 _Detais open _ save Poro display com z Address F E b c B A 9 8 7 e 5 4 32 1 10 E 0 0 0 0 0 0 0 0 0 0 0 0 oko 14 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 00 0 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 o
236. ry address of the wave data to be output is moved in the address decreasing direction from the buffer memory address of the currently output wave data Reverse x When 10000 is set in CHO Wave output step action movement amount 1 to 30000 movement Un1G1080 to Un1G1083 with the buffer memory address of the currently output wave data being Un G30000 The buffer memory address of the wave data to be output is changed to Un G20000 The following shows the available movement range with CHO Wave output step action movement amount Un G1080 to Un G1083 eee pattern 2 pattern start Wave pattern data _ 4 address setting address setting points setting Even when the value which is out of the above setting range is set no error occurs When the value smaller than 30000 is set the value is processed as 30000 When the value greater than 30000 is set the value is processed as 30000 b Default value All channels are set to No movement 0 124 CHAPTER 6 BUFFER MEMORY 27 CHO Wave output status monitor Un G1100 to Un G1103 This area stores the wave output status for each channel Wave output status Stored value Wave output stop 0 Wave output 1 Wave output pause 2 Wave output step action 3 The value is stored only in the wave output mode In the mode other than the wave output mode 0 is stored 28 CH1 Wave output conversion cycle monitor L Un G1108 to CH4 Wave output conversion
237. s B Current address C Current address A 5000 Current address B 1000 Value of current EE Value of current address C X Controlled by the D A converter module Current address A Analog output value Set Step action wave output request Un G1072 to ON 1 to set the wave output status to the wave output step action By setting a value in CHO Wave output step action movement amount Un G1080 to Un G1083 during the wave output step action the address moves to the address of the target wave data for the output test Set the amount for movement from the current wave data address in CHO Wave output step action movement amount Un1G1080 to Un G1083 After the movement CHO Wave output step action movement amount Un G1080 to Un G1083 is set to No Setting 5000 for CH1 Wave pattern start address setting L Un G1024 to CH4 Wave pattern start address setting H Un G1031 Setting 10000 for CH1 Wave pattern data points setting L Un G1040 to CH4 Wave pattern data points setting H Un G1047 movement 0 and the wave data of the target address is output in analog RA The available range for movement by using CHO Wave output step action movement amount Un G1080 to js Un G1083 depends on the setting values of the wave pattern start address and wave pattern data points The lt following shows the available range for movement o Be es pattern i bes pattern start Wave pattern data T
238. s Rie hae cides as deh io tis Aa 128 Wave output function 0 2 0 eee eee 46 Wave output mode 0 0c eee ee eee 31 Wave output step action function 80 Wave pattern 0 2 ce eee 49 233 REVISIONS The manual number is given on the bottom left of the back cover Print date February 2013 SH NA 081101ENG A First edition 0 edition Japanese manual version SH 081100 A 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 2013 MITSUBISHI ELECTRIC CORPORATION 234 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
239. s from CH1 to CH3 CH1 Wave pattern CH2 CH3 Wave pattern Wave pattern Wave data registry area Un G5000 to UnG54999 Empty 12000 data gt 50000 data Wave data registry area Wave data registry area Un G5000 Un G54999 Setting item Buffer memory address Setting value CH1 Wave pattern start address setting Un G1024 Un G1025 5000 CH1 Wave pattern data points setting Un G1040 Un G1041 10000 CH2 Wave pattern start address setting Un G1026 Un G1027 15000 CH2 Wave pattern data points setting Un G1042 Un G1043 8000 CH3 Wave pattern start address setting Un G1028 Un G1029 23000 CH3 Wave pattern data points setting Un G1044 Un G1045 20000 49 uonounJ indino 9 eM gY Un G5000 to Un G54999 50 Ex 2 Setting example to output the same wave from CH1 to CH3 CH1 to CH3 Wave pattern IniG5000 to ntGo499 ic c c 50000 data Wave data registry area Wave data registry area Un G5000 Un G54999 Setting item Buffer memory address Setting value CH1 Wave pattern start address setting Un G1024 Un G1025 5000 CH1 Wave pattern data points setting Un G1040 Un G1041 50000 CH2 Wave pattern start address setting Un G1026 Un G1027 5000 CH2 Wave pattern data points setting Un G1042 Un G1043 50000 CH3 Wave pattern start address setting Un G1028 Un G1029 5000 CH3 Wave pattern data points setting Un G1044 Un G1045 50000
240. s monitor L Un G1132 to CH4 Wave output current address monitor H Un G1139 are the buffer memory addresses of the wave data to be output At this time the value of the target wave data is output in analog 5 Check that proper analog values are output 84 CHAPTER 4 FUNCTIONS c End of the wave output step action End the wave output step action in the following procedure 1 Set Step action wave output request Un G1072 to OFF 0 2 Check that CHO Wave output status monitor Un G1100 to Un G1103 is set to Wave output stop 0 in all the channels If CHO Wave output start stop request Un G1000 to Un G1003 has been set to the value other than Wave output stop request 0 the value is changed to Wave output stop request 0 forcibly at this timing Check also the value of this buffer memory area To execute the wave output after the wave output step action set Wave output start request 1 for CHO Wave output start stop request Un G1000 to Un G1003 Point Analog output may be changed suddenly when a value is set for CHO Wave output step action movement amount Un G1080 to Un G1083 To prevent a sudden change use of CHO Wave output step action movement amount Un G1080 to Un G1083 in combination with CHO Output enable disable flag Y1 to Y4 is recommended For the combination refer to the following Analog Output HOLD CLEAR Function gt Page 34 Section 4 4 During the wave output step action the
241. s the offset value though the wave output is continued The wave output continues to be updated while CHO Output enable disable flag Y1 to Y4 is off When CHO Output enable disable flag Y1 to Y4 is turned on the analog output is resumed CPU module status RUN D A conversion enable disable setting Um G0 D A conversion enable 0 CHO Output enable disable oN flag Y1 to Y4 SEP M OMM uf CHO Wave output start stop Wave output m request Un G1000 to Un G1003 request 0 Wave output start request 1 CHO Wave output status monitor i f Un G1100 to Un G1103 Wave output stop 0 Wave output 1 Wave data Analog output Denisa nia eee ee Output set in CHO Output setting during wave output stop Un G1008 to Un G1011 Offset value 72 CHAPTER 4 FUNCTIONS 2 When changing the CPU module status during the wave output When the CPU module status is changed during the wave output the operation of the module varies depending on the setting of the analog output HOLD CLEAR function as shown below a For HOLD setting When the CPU module status is changed to STOP from RUN the analog output value at the change is held and the wave output status pauses When the CPU module status is changed to RUN from STOP the wave output resumes To prevent the wave output resuming set CHO Wave output start stop request UnXG1000 to Un G1003 to Wave output stop request 0 afte
242. sable flag Y1 to Y4 ORF oN CHO Wave output start stop Wave output stop Wave output startN Wave output pause Wave output start request Un G1000 to Un G1003 request 0 request 1 request 2 request 1 CHO Wave output status monitor Wave Wave output Wave Un G1100 to Un G1103 Wave output stop 0 output 1 pause 2 output 1 Wave output stop 0 Wave data Analog output Output set in CHO Output setting during wave output stop Un G1008 to Un G1011 Offset value 1 Wave output pauses when CHO Wave output start stop request Un G1000 to Un G1003 is set to Wave output pause request 2 during the wave output 2 Wave output resumes when CHO Wave output start stop request Un G1000 to Un G1003 is set to Wave output start request 1 during the wave output pause The analog output value while the wave output is paused differs depending on the setting of the analog output HOLD CLEAR function For details refer to the following e Analog output HOLD CLEAR function 5 Page 34 Section 4 4 1 b 69 uonounJ 1ndjno 9AeM g p uonounj nd no onem y jo uonnoex3 z g v 70 Wave data For HOLD setting While the wave output is paused analog output value during the pause is held CPU module status RUN D A conversion enable disable setting Un GO D A conversion enable 0 CHO Output enable dis
243. scale conversion a When the industrial shipment setting is used for output range Voltage 1 to 5V 0 to 5V a Current 4 to 20mA 0 to 20mA o ki 20000 Digital value used for D A conversion x Dx SL B SH SL amp S When the voltage is 10 to 10V Digital value used for D A conversion x Dx SL 20000 H SL b When the user range setting is used for output range Digital value used for D A conversion 20090 e x DX SL SH SL Item Description Dx digital value Su scaling upper limit value S scaling lower limit value Point Even when the input range of digital value is increased the resolution does not become higher than the maximum resolution of when the scaling function is not used 39 40 3 Setting procedure 1 Set D A conversion enable disable setting Un GO to D A conversion enable 0 2 Set Scaling enable disable setting Un G53 to Enable 0 3 Set values for CH1 Scaling lower limit value Un G54 to CH4 Scaling upper limit value Un G61 Item Setting range CHO Scaling lower limit value Un G54 Un G56 Un G58 Un G60 32000 to 32000 CHO Scaling upper limit value Un G55 Un G57 Un G59 Un G61 4 Turn on and off Operating condition setting request Y9 Point The scaling settings must meet the following condition Scaling upper limit value Scaling lower limit value Inthe channel where Scaling
244. se request 2 Even when the setting value is changed in the mode other than the wave output mode the change is not sesseJppy Aioweyy Jejng Jo sieq z 9 applied Even when the setting value is changed with Step action wave output request Un G1072 being ON 1 the change is not applied When Step action wave output request Un1G1072 is set OFF 0 from ON 1 the wave output status becomes the wave output stop and Wave output stop request 0 is set for all channels In the channel where a value out of the above setting range is set an error occurs The error code 230 is stored in Latest error code UnXG19 Error flag XF turns on and ERR LED turns on The operation of the wave output before the change continues a Default value All channels are set to Wave output stop request 0 117 19 CHO Output setting during wave output stop Un G1008 to Un G1011 This area is for setting the analog output during the wave output stop for each channel This area can be set only in the wave output mode For details on the wave output function refer to the following Wave Output Function gt Page 46 Section 4 8 dm Setting Analog output value Description value OV OmA OV or OmA is output 0 Offset value The offset value of the set output range is output 1 The value set in CHO Output value during wave output stop Un G1016 to Setting value during stop 2 Un G1019 is output Even when the
245. se the conversion cycle of the wave output varies depending on the number of channels where D A conversion are enabled Precaution The setting also can be configured through D A conversion enable disable setting in Parameter of GX Works2 1 2 Start Parameter Project window c Intelligent Function Module gt module name c Parameter Set D A conversion enable disable setting to 0 Enable Item CH1 Basic setting Sets method of D A co D A conversion O Enabl enable disable setting m Warning output function Warning output setting i Disabe When the setting is configured by the above procedure an error occurs if the setting content is activated by resetting the CPU module or by turning off and on the power The error code 330 is stored in Latest error code Un G19 Error flag XF turns on and ERR LED turns on This error occurs because the wave pattern data points setting is set to O default value for the channel where D A conversion enable is set To clear this error register wave data and parameters for the wave output function then turn on and off Operating condition setting request Y9 as in the procedure described in Page 67 Section 4 8 2 1 CHAPTER 4 FUNCTIONS 4 8 2 Execution of the wave output function This section describes the execution procedures for the wave output function Execute the contents in this section after the initial setting of the wave
246. se the fractional value is unavailable in the wave output function LL MELSEC Q High Speed Digital Analog Converter Module FB Library Reference Manual FBM M087 64 CHAPTER 4 FUNCTIONS 4 Switch setting and basic setting To use the wave output function the switch setting and basic setting are required in addition to the parameter setting of the wave output function Item Reference Output range Switch setting E H Page 65 Section 4 8 1 4 a Output mode setting Basic setting D A conversion enable disable setting Page 66 Section 4 8 1 4 b For the parameter settings for the wave output function refer to the following Setting parameters of the wave output function s Page 60 Section 4 8 1 2 a Switch setting 1 Start Switch Setting Project window c Intelligent Function Module gt module name zc Switch Setting 2 Set Output range to the value other than User Range Setting Switch Setting 0000 Q64DAH Output Range Setting Drive Mode Setting Normal D A Converter Processing Mode v Output mode setting Normal output mode conversion speed 20us CH Following operations are required to run the system under Wave output mode 1 Create wave output data 2 Write the created data to buffer memory by means of FB library This dialog setting is linked to the Switch Setting of the PLC para
247. setting mode No ZS310M X9 Jo BUES ureoesyo WOI Hues L98 139 3 Specify the channel to use the offset gain setting Offset Gain Setting 4 Use the radio button to specify whether the offset pd setting or gain setting Step 5 and later describes when the offset setting is specified 140 Offset Gain Setting Set offset gain settings Error Code Target Module 0000 Q64DAH Offset Gain Setting Channel No Offset Setting C Gain Setting Adjustment value IT E x Em Range 1 to 300 For the adjustr voltage at out HA current at out can be adjusted Channel No Offset Status Gain Status CH1 CH2 CH3 CH4 Please select a target channel for the offset gain setting Check Offset setting or Gain setting and input an adjustment value Pressing or enables output adjustment Pressing Close registers to the module Offset Gain Setting Set offset gain settings Target Module D000 Q64DAH Error Code Offset Gain Setting Channel No Offset Setting Adjustment Value po Range 1 to 3000 For the adjustment value of 1000 the analog output value with voltage at output of about 0 339 and current at output of about 0 69mA can be adjusted Gain Setting Channel No Offset Status Gain Status CHI Changed Please select a target channel for the offset gain setting Check Off ing or Gain setting and input an adjust
248. status Output Stop Pause Output Stop Pause Stop Stop Analog output status when CPU module is in RUN status wave 4 Hold wave 1 Offset Offset OV OmA data data value value d Offset Analog output status when CPU module is in STOP status Hold Offset value val e OV OmA re Offset Analog output status when CPU module is in stop error Hold Offset value value OV OmA Analog output status when a watchdog timer error occurs OV OmA OV OmA OV OmA OV OmA 1 34 The value is output in analog according to the setting in CHO Output setting during wave output stop Un G1008 to Un G1011 CHAPTER 4 FUNCTIONS 2 Setting procedure Configure the setting from HOLD CLEAR function Project window c Intelligent Function Module gt module name zc Switch Setting Switch Setting 0000 Q64DAH Output Range Setting Output range HOLD CLEAR Function 4 to 20mA Drive Mode Setting Normal D A Converter Processing Mode l Output mode setting Normal output mode conversion speed 20us CH l Following operations are required to run the system under Wave output mode 1 Create wave output data 2 Write the created data to buffer memory by means of FB library This dialog setting is linked to the Switch Setting of the PLC parameter Default value will be shown in the dialog if the Switch Setting of the PLC parameter contains an out of range value ma uogound YY319 070H Indino Bojeuy pp
249. t Drive Mode Setting to Normal D A Converter Processing Mode and set Output mode setting to Wave 5 output mode conversion speed 50us CH or Wave output mode conversion speed 80us CH in Switch Setting of GX Works2 1 The wave output mode is independent from the other modes After the start in the wave output mode the transition to another mode is not available Also after the start in another mode the transition to the wave output mode is not available 4 Checking method The current mode of the module can be checked by referring to the following table Mec RUN LED Stored value in Offset gain setting status Output mode Un G9 mode flag XA Normal output mode conversion speed 20us CH On 0 OFF Wave output mode conversion speed 50us CH On 1 OFF Wave output mode conversion speed 80us CH On 2 OFF Offset gain setting mode Flashing 0 OFF 1 When User range writing request YA is off 32 CHAPTER 4 FUNCTIONS 4 2 D A Conversion Enable disable Function This function sets whether to enable or disable the analog value output for each channel Disabling the D A conversion for unused channels reduces the conversion cycles 1 Setting procedure 1 Set D A conversion enable disable setting Un GO to D A conversion enable 0 2 Turn on and off Operating condition setting request Y9 4 3 D A Output Enable disable Function This function sets whether to output the D A conv
250. t device memory or the specified place Read from PLC operation is required in advance Read from Device Memory Read Datafor Menary card Open Save wave output data file Read and save al the information that has been created For wave output data pen Wave Output Data fron Fie Save Wave Output Datato Fle Close Item Description Setting range Wave pattern No Up to three patterns can be specified at a time from registered wave patterns When specifying multiple wave patterns set the pattern No as follows When No 1 and No 2 are used 1 2 When No 1 No 5 and No 10 are used 1 5 10 When No 1 to No 3 are used 1 3 1 to 10 Output setting during wave output stop Set the analog output during the wave output stop 0 OV mA default value 1 Offset value 2 Setting value during stop Output value during wave output stop Set the value to be output while the wave output is stopped This setting is enabled only when Output setting during wave output stop is set to 2 Setting value during stop Set the value within the output range to be used For 4 to 20mA 0 to 20mA 1 to 5V 0 to 5V 0 to 20479 practical range 0 to 20000 For 10 to 10V 20480 to 20479 practical range 20000 to 20000 Wave pattern start address setting Set the start address of the wave pattern to be output 5000 to 54999 default value 5000
251. t of the SP SOCCLOSE instruction Description Remains of Tums on in the END processing of a scan after completion of the SP SOCCLOSE instruction and tums off in the next END processing detection of an operation error tums on the Error fiag SMO and a corresponding error code is stored in SDO when The connection number specified for is other than 1 to 16 The device numbers specified for amp and exceed the device point range An invalid device is specified Error code 4101 Error code 4101 Error code 4004 When M2000 is tumed or or when the connected device disconnects connection No 1 connection No 1 is disconnected by the following program Device used Device number SD1282 Open completion signal SD1284 Open request signal SP SOCCLOSE instruction control data SP SOCCLOSE instruction completion device n L HK Prceceng ler dacoremcton of ormacton No Tey ne target Comecson Na 1 close Siting SPSOCCLOSE naue fag Nona comdaton Ero completion nacutre tag Instructions can be executed under the following conditions On the risin On the fallin Execution condition Any time During on ae During off HE edge edge Symbol No symbol 1 For details on each device refer to the following T QnUCPU User s Manual Function Explanation Program Fundamentals LL
252. t the digital value error monitoring and the output control are enabled 6 Wave output function This function outputs any points from 50000 points of the wave data digital value in analog by executing the D A conversion sequentially The conversion cycle in the wave output function can be set for each channel A control sejmeej p with the conversion faster than that of a sequence program control is enabled by the registration of the control wave data to the D A converter module and the analog output from the module And this method is useful for an analog torque control of equipments such as pressing machines and injection molding units Because the update of the analog output value of the wave output function is not affected by the scan time of the CPU module a faster and smoother analog control is available 7 Easy setting with GX Works2 Sequence programming is reduced because the initial setting or auto refresh setting can be configured on the screen In addition setting status and operating status of modules can be checked easily With the wave output function wave data can be created easily by using Create Wave Output Data 8 Online module change This module can be replaced without stopping the system 15 Memo 16 CHAPTER 2 SYSTEM CONFIGURATION CHAPTER 2 SYSTEM CONFIGURATION This chapter describes the system configuration of the D A converter module 2 1 Applicable Systems This section describes a
253. tart I O number of the module 0 to FEH BIN 16 bits Start number of the device where control data is stored YU the range of Device name the specified device Device which turns on for one scan at the processing completion of the dedicated instruction Within the range of S Bit In error completion 1 also turns on the specified device 1 Specify the device specified to S on execution of the G P OGLOAD instruction Do not change the data which is read out by the G P OGLOAD instruction If the data is changed the normal operation may not be ensured 226 2 Control data APPENDICES Device Item Setting data Setting range Set by S System area The status on instruction completion is stored C leti tati Syst Gu M du 0 normal completion ysiem Other than 0 error completion error code The value which is set for Pass data classification setting 9 2 by the G P OGLOAD instruction is stored 2 Pass data classification setting 0 voltage 0000 to OOOFY System 1 current b15 b8 b7 b6 b5 b4 b3 b2 b1 bO 0 0 CH CH3CH2 CH1 3 System area S44 CH1 Industrial shipment settings offset value System S45 CH1 Industrial shipment settings gain value System 9 6 CH2 Industrial shipment settings offset value System S CH2 Industrial shipment settings gain value System
254. tatus on GX Works2 System Monitor To check the LED status or the setting status of the intelligent function module switch setting select the HW information of the D A converter module on the system monitor of GX Works2 1 Hardware LED information LED status is displayed No LED name Status 1 RUN LED 0000 Indicates that the LED is off 2 ERR LED 0001 Indicates that the LED is on Alternating indication between 0000 and 0001 Indicates that the LED is flashing 3 ACMLED GX Works2 displays the communication status with the D A converter module The values 00004 and 00014 are not always displayed evenly 2 Hardware switch information The setting status of the intelligent function module switch setting is displayed For details on the setting status refer to the following Intelligent function module switch setting 7 gt Page 136 Section 8 2 Item Intelligent function module switch RANGE Switch 1 Switch 2 HOLD CLEAR Switch 3 MODE Switch 4 Switch 5 HIW Information Monitor Status Module E Mentoring Model Q54DAH Product Information 14707 0000000000 C Display Format HES DEC HAW LED Information H w SW Information Item Value ter Value Item Value Item Value 1 RUN 0001 0000 4 13 RANGE 0000 ERR 0000 0000 IHOLD CLEAR 0000 MODE 0000 0000 Stop Monitor 10juoJA Uu9js S ZSHIOM X9 uo sniejs einpojy 4919Au02
255. tep action wave output request Un G1072 This area is for setting whether to start or end the wave output step action function for all channels in a batch This area can be set only in the wave output mode For details on the wave output step action function refer to the following e Wave output step action function gt Page 80 Section 4 8 4 Step action wave output request Setting value OFF 0 ON 1 When the setting value is changed to ON 1 from OFF 0 the wave output status of all the channels set to D A conversion enable becomes to Wave output step action and the wave output step action function becomes valid When the setting value is changed to OFF 0 from ON 1 the wave output status of all the channels becomes to Wave output stop and the wave output step action function ends Even when the setting value is changed in the mode other than the wave output mode the change is not applied In the channel where a value out of the above setting range is set an error occurs The error code 360 is stored in Latest error code Un G19 Error flag XF turns on and ERR LED turns on The current wave output status continues a Default value OFF 0 is set sesseJppy Aioweyy Jejng Jo seq z 9 123 26 CHO Wave output step action movement amount Un G1080 to Un G1083 This area is for setting the wave output step action movement amount and for checking the movement completion for each channel The cu
256. ting a new module 1 Mount a new module in the same slot and install the Online Module Change terminal block r Operation 3 Target Module Module Change o Address pooo 2 After mounting the module click the Execution Installation Module Name Q64DAH button and check that the RUN LED turns on Confirmation Module Control zan Module READY X0 remains off pee Module Restart Status Guidance The module can be exchanged lease press the next button after installing a new module es _ 4 Checking operation button 1 To check the operation click the Going Module Change to cancel the control restart Operation _ Target Module Module Change I O Address 0000 Execution Module Name Q64DAH Status gee Module Installation Completion Installation Confirmation Module Control Restart Status Guidance fhe controls such as I O FROM TO instruction executions and tomatic refresh For the installed module are restarted lease confirm the parameter setting wiring etc and press completed utton Execute 2 Clickthe button to leave the Online module change mode MELSOFT Application ueis s Jeuyouy oym ueJ604g eouenbes e Bulsp peunBijuo y sBumes eniu pue pasn s eBues sN e ueuM OL OL Even if the stop is executed the online module change mode on the PLC side is not canceled i The online module chang
257. to Device Memory Output wave data to device memory of project Device memory name MAIN Start device ZR 0 Target device to write to ZRO to ZR15199 Item Description Set the device memory to be written to the file register ZR Select the device Device memory name memory to be written from the pull down menu or enter the device memory name to be created Start device Set the start address for the output of the device memory Target device to write to The file register ZR range to write to is displayed 62 CHAPTER 4 FUNCTIONS 3 Click the button MELSOFT Series GX Works2 Same device memory name exists in the project Devices value in the Following range will be overwritten if the operation is proceed ZRO to ZR15199 Are you sure you want to continue 4 Click the button MELSOFT Series GX Works2 i Output the wave output data to device memory in the project Caution The following operation is required to execute wave output based on the written data to device memory 1 Write device memory written wave output data to PLC 2 Write device memory data to buffer memory by means of FB library 5 Click the 6 write the device memory to the CPU module from Write to PLC button in Create Wave Output Data to finish the window XX Online gt Write to PLC uonounJ nding 9AeM g p uonounij 1ndino snem du jo sumes jepu Lg 63 b Writing data to a CS
258. to the following Setting parameters of the wave output function 7 3 Page 60 Section 4 8 1 2 3 Restrictions on the wave output function The wave output function has the following restrictions a Output range setting The user range cannot be used When using the wave output function use the range other than the user range For the setting procedure of the output range refer to the following e Switch setting gt Page 65 Section 4 8 1 4 b Analog output HOLD CLEAR function In the analog output HOLD CLEAR function the operation of the D A converter module in the wave output mode differs from the operation in the normal output mode For details refer to the following e Analog output HOLD CLEAR function gt Page 34 Section 4 4 1 b c Scaling function The scaling function cannot be used in the wave output mode When using the wave output function disable the scaling function d CPU module Some CPU modules cannot use the file register ZR or ATA card Check the following manual whether the CPU module in use can use the file register ZR or ATA card L QCPU User s Manual Hardware Design Maintenance and Inspection e MELSECNET H remote I O module The wave output function cannot be used when the D A converter module is used on a MELSECNET H remote I O station 48 4 Wave data CHAPTER 4 FUNCTIONS The wave data indicates the time series arrangement of the digital value to be output i
259. troller XX Online gt Write to PLC or power off and on 6 Setting on the remote I O station 1 Createa project on GX Works2 Select QCPU Q mode for PLC Series and select QJ72LP25 QJ72BR15 Remotel O for PLC Type XD Project gt New New Project Project Types F Use Label QCPU Q mode OMEN O I BJOWSY 94 uo NPON eu Bursr ueuM 6 QJ72LP25 QJ72BR15 Remotel O d Language ham 7 157 2 Add the Q64DAH to the GX Works2 project Project window c Intelligent Function Module gt Right click gt New Module New Module 3 Display the Switch Setting window for the Q64DAH and configure the setting as follows Project window c Intelligent Function Module gt module name gt Switch Setting Switch Setting 0000 Q64DAH Normal D A Converter Processing Mode Normal output mode conversion speed 20us CH 158 CHAPTER 9 PROGRAMMING 4 Display the initial setting window for the Q64DAH and configure the setting as follows When creating a program without using parameters of an intelligent function module skip this procedure Project window gt Intelligent Function Module gt Q64DAH z Parameter V 0000 Q64DAH Parameter Display Filter Display All z Item E Basic setting DJA conversion enable disable setting Warning output function Sets for warnings on D A conversion Warning output
260. ule or others CH4 ve 1kQ to MQ n COM 24V I 24VDC 24G FG l 1 2 Motor drive module DIA Lo conversion Loa DIA o conversion COM SLD AG 24V Filter 24G 1 For wire use the shielded twisted pair cable 12 If noise or ripple occurs for external wiring connect a capacitor with the value of 0 1 to 0 47pF withstand voltage 25V or higher to the input terminal of an external device or others ES 0 to 6002 GND Motor drive module or others oe 0 to 6002 GND Motor drive module or others Em 0 to 6002 GND Motor drive module or others E 0 to 6002 GND 3 Connect the shielded wire for each channel to one of the three shield terminals Make sure to ground the FG terminal Also ground the FG terminal of the power supply module CHAPTER 8 VARIOUS SETTINGS CHAPTER 8 various SETTINGS This chapter describes the setting procedures of the D A converter module Point 0 After writing the contents of the new module parameter settings and auto refresh settings into the CPU module reset the CPU module and switch its status as STOP gt RUN STOP RUN or turn off and on the power supply to activate the settings After writing the contents of the switch settings reset the CPU module or turn off and on the power
261. ule Tool lt gt Analog Module lt gt Create Wave Output Data 2 Set the parameters of the wave output function in Wave output data setting Set the parameters of the wave output function Create Wave Output Data Create wave output data for wave output function Register wave pattern Register wave pattern for creating wave output data Select graph part and press Enter to open registration window 5 Wave pater us Graph ZK Wave pattern name Digtal value range Number of data Comment 20120215 to 20000 100 20120216 20120217 0 to 20000 0 to 20000 10000 5000 Wave output data setting Input wave output data Wave pattern No Output setting during wave output stop Output value during wave output stop D Wave pattern start address setting 5100 Wave pattern data points setting 10000 Wave pattern output repetition setting Constant for wave output conversion cycle gt Specify Wave pattern No for wave outputting Pattern specification is limited up to 3 ENEE OPO OS or the specified place Write wave output data to use in modules to project device memory After the operation writing the output data to PLC is required to use it NUES o Deets 15100 34900 Write Data for Memory Card Read wave output data Read wave output data to use in modules from projec
262. ulsp peinByuog ay sBumes eniu pue pesf s eBues sasn e ueuM BOL 2 Removing a module ae a 1 Open the System Monitor window Monitor Status Connection Channel List Q ee reme ee Mode System monitor Online module change Diagnostics gt Online Module Change Main Base p Main Base Operaon to Selected Mode 2 Man Bare E Select Online module change under the Mode po field and double click the module name to be changed online Base Information List Module Information List Main Base Power Base sje Indaled Base Parameter JO Network No Master Base Medie Base modei name Boner Base sos ate TE enes Medeeme Pare umet aloes ene Rt Power ce EES 5 5 cpu 16Point 0010 16Point 0020 16Point 0050 16Point 0040 3 Click the change j button to enable a module Online Module Change r Operation rj Target Module Module Change I O Address 0000 Execution Installation Module Name Q64DA4H Confirmation Module Control Restart Status ER Module Selection Completed Status Guidance E turn off Y signal of the changed module hen you change the intelligent Function module lease press next button when you are ready Cancel 4 When the following error window appears click the button and perform the operation describe
263. ure the warning output setting in CH2 only 3 Switch setting Set the output range HOLD CLEAR function drive mode and output mode XX Project window gt Intelligent Function Module gt module name lt gt Switch Setting Switch Setting 0000 Q64DAH Output Range Setting Output range HOLDJCLEAR function 4 to 20mA v CLEAR 4 to 20mA CLEAR 4 to 20mA CLEAR 4 to 20mA CLEAR Drive Mode Setting Normal D A Converter Processing Mode v Output mode setting Normal output mode conversion speed 20us CH Following operations are required to run the system under Wave output mode 1 Create wave output data 2 Write the created data to buffer memory by means of FB library This dialog setting is linked to the Switch Setting of the PLC parameter Default value will be shown in the dialog if the Switch Setting of the PLC parameter contains an out of range value ca uoneunBijuo uiejs s pyepueis e ui ejnpojy eui Buis ueuM z 6 147 4 Initial setting description a Channel setting Setting item CH1 CH2 CH3 CH4 D A conversion enable disable setting Enable Enable Disable Disable Warning output setting Disable Enable Disable Disable Warning output lower limit value 3000 Warning output upper limit value 10000 Scaling enable disable setting Enable Disable Disable Disable Scaling upper limit value 32000 Scaling lower limit value 0
264. ut cycle of a wave pattern Setting item Buffer memory address Setting value Output mode intelligent function module switch _ Wave output mode setting conversion speed 50us CH D A conversion enable disable setting Un GO D A conversion enable for CH1 only Ep CH1 Wave pattern data points setting Un G1040 Un G1041 101 CH1 Wave pattern output repetition setting Un G1056 3 CH1 Constant for wave output conversion cycle Un G1064 1 With the above setting the output cycle of a wave pattern becomes as follows Number of channels Constant for Output cycle of 1 Conversion Wave pattern x where D A conversion x wave output x a wave pattern us speed data points 1 is enabled conversion cycle 50 x 1 x 1 x 100 5000 51 52 b When the digital values are different between the start point and the end point The wave pattern end point is output in analog as it is The end point is output in analog regardless of the setting in CHO Wave pattern output repetition setting Un G1056 to Un G1059 A wave pattern that is repeatedly Analog output output in an analog value 1 cycle 1 cycle The digital values are 1 cycle different between the start point and the end point a T 1 Pd gt Se 2 For the case where the wave pattern is repeatedly The digital values of the end point and the start point of the next iteration are consecutively output in a
265. utput HOLD CLEAR function Analog output HOLD CLEAR Stored value of CHO Wave output current digital function setting value monitor Un G1148 to Un G1151 The digital value stored in the buffer memory address Wave output pause indicated in CH1 Wave output current address HOLD setting monitor L Un G1132 to CH4 Wave output current address monitor H Un G1139 CLEAR setting 0 Wave output step The digital value stored in the buffer memory address indicated in CH1 Wave output current address action monitor L Un G1132 to CH4 Wave output current address monitor H Un G1139 1 The stored value of when D A conversion enable disable setting Un GO is set to D A conversion enable 0 and CHO Output enable disable flag Y1 to Y4 is on is shown For the analog output in other status refer to the following Analog Output HOLD CLEAR Function 3 Page 34 Section 4 4 In the mode other than the wave output mode 0 is stored a Reset of the stored value When Operating condition setting request Y9 is turned on and off the stored value is reset 126 CHAPTER 6 BUFFER MEMORY 32 CH1 Wave output digital value outside the range Address monitor L Un G1156 to CH4 Wave output digital value outside the range Address monitor H Un G1163 This area stores the buffer memory address of the wave data with the digital value out of the setting range in 32 bit signed binary for each channel When the multi
266. v q eui Buppoeuo LL 219 APPENDICES Appendix 1 Dedicated Instruction 1 Dedicated instruction The following table lists the dedicated instructions that can be used in a D A converter module Instruction Description G P OFFGAN The mode S switched from the normal Output mode to the offset gain setting mode The mode is switched from the offset gain setting mode to the normal output mode G P OGLOAD The offset gain setting value in the user range setting is read out to the CPU module G P OGSTOR The offset gain setting value in the user range setting stored in the CPU module is restored to the D A converter module Point P When the module is mounted on a MELSECNET H remote I O station the dedicated instructions cannot be used 220 APPENDICES Appendix 1 1 c P orFGAN Command G OFFGAN Joea un H Command GP OFFGAN f c orea un H Settin Internal device JOO Constant 2 R ZR ULM Zn Others data Bit Word Bit Word K H gt O 1 Setting data Device Description Setting range Data type Un Start I O number of the module 0 to FEH BIN 16 bits Mode change 0 switch to the normal output mode S 1 switch to the offset gain setting mode 0 1 BIN 16 bits When a value other than above is set the mode is switched to the offset gain setting mode The mode cannot be switched to the
267. value of the end point is output in analog at the wave pattern of the final iteration output the value is output according to the setting in CHO Output setting during wave output stop UnYG 1008 to Un G1011 Unlimited repetition The digital value of the wave pattern end point is not output in analog For the case where the wave pattern is repeatedly output a limited number of times the wave pattern is output a number of times specified in Wave pattern output repetition setting and then the value is output according to the setting in Output setting during wave output stop A wave pattern that is repeatedly output in an analog value Analog output The digital values are same for the start point and the end i 1 cycle Normally the end point of a wave pattern digital value is output in an analog value and then the start point of the wave pattern of the next iteration is output in the same way For the D A converter module the start and end points are processed as one point so that wave patterns can be combined seamlessly 1 The output cycle of a wave pattern is calculated by the following formula Output cycle of a wave pattern Wave output conversion cycle x Wave pattern data points 1 uonounJ 1ndino 9 eM gY For details on the wave output conversion cycle refer to the following Wave output conversion cycle 5 Page 53 Section 4 8 7 Ex Calculating the outp
268. ve graph Section No Digital value Specify wave Start point End point D ll 1 2 15631 Straight line 3 0 Do not specify 4 Item Description Start point The end point of the previous interval is displayed To change the start point change the end point of the previous interval End point Set the number of data position forme destination end point Note that the section No 1 cannot be changed because it is the first point of the wave pattern Digital value Set the digital value for the destination end point 7 Repeat procedures 4 to 6 to create the wave to be output Each digital value of the created wave pattern can be checked by clicking the button Click the button to clear the created wave pattern contents The graph and the contents of Wave details setting are cleared Register Wave Pattern Display Digital Value Register wave pattern Wave patter information Input if Data No Digital value Endpoint 1384 formation Wave pattern No T 1 Wave patternname 20120215 ue Digtal value range 0 to 20000 Display magnification Display digtal valve aes Number of data 100 5538 Comment Width 100 z Height 100 Z 100 Width and Height Display Digtal Value 6923 8307 Wave graph 9692 Edt wave graph by mouse operation 11076 Drug and drop on the ine alow you to change graph shape prete d mi Digtal value ned 13846 15230 16615 1
269. w and or module resulting in drop short circuit or malfunction Prevent foreign matter such as dust or wire chips from entering the module Such foreign matter can cause a fire failure or malfunction A protective film is attached to the top of the module to prevent foreign matter such as wire chips from entering the module during wiring Do not remove the film during wiring Remove it for heat dissipation before system operation Startup and Maintenance Precautions NWARNING Do not touch any terminal while power is on Doing so will cause electric shock or malfunction Shut off the external power supply all phases used in the system before cleaning the module or retightening the terminal screws or module fixing screws Failure to do so may result in electric shock or cause the module to fail or malfunction Undertightening can cause drop of the screw short circuit or malfunction Overtightening can damage the screw and or module resulting in drop short circuit or malfunction NCAUTION Do not disassemble or modify the modules Doing so may cause failure malfunction injury or a fire Shut off the external power supply all phases used in the system before mounting or removing the module Failure to do so may cause the module to fail or malfunction A module can be replaced online while power is on on any MELSECNET H remote I O station or in the system where a CPU module supporting the online modu
270. wave output mode Functions This instruction switches the mode of the D A converter module The following table lists the G P OFFGAN execution result of each mode 2 Mode of when G P OFFGAN is executed Setting data S Offset gain setting Normal output mode Wave output mode conversion speed Wave output mode conversion speed mode 50us CH 80ps CH 0 switch to the normal To the normal output x Invalid output mode mode swi Invalid Invalid i is pu To the offset gain setting offset gain setting mode Disable Other than above mode 1 Offset gain setting mode flag XA turns off and the RUN LED turns on 2 Offset gain setting mode flag XA turns on and the RUN LED flashes Point When the mode is switched from the offset gain setting mode to the normal output mode Module READY XO turns on Note that if a sequence program includes the initial settings to be executed at ON of Module READY XO this instruction performs the initial setting process When the mode is switched the D A conversion stops When the mode is switched from the offset gain setting mode to the normal output mode all channel D A conversion disable 000F is stored in D A conversion enable disable setting Un GO To resume the D A conversion set D A conversion enable 0 for the corresponding channels and turn on and off Operating condition setting request Y9
271. wer limit values 3 Output mode Un G9 The setting of the output mode can be checked in the normal output mode or the wave output mode Output mode Conversion speed Stored value Normal output mode 20us CH 0 50us CH 1 Wave output mode 80us CH 2 109 4 CHO Set value check code Un G11 to Un G14 When the set digital value is out of the setting range a check code is stored The checking targets are the digital value stored in CHO Digital value Un G1 to Un G4 in the normal output mode or the wave data of the addresses stored in CH1 Wave output digital value outside the range Address monitor L Un G1156 to CH4 Wave output digital value outside the range Address monitor H Un G1163 in the wave output mode The following table lists the check codes Check code Description OOOFy A digital value exceeding the setting range is written OOFO A digital value falling short of the setting range is written A digital value falling short of the setting range and digital value exceeding the setting range are written OOFFy The check code of OOFFy is stored in the following case for example Write the digital value exceeding the setting range first Then write the digital value falling short of the setting range before resetting the check code Once the check code is stored the code remains even when the digital value is within the setting range While the scaling function is enabled
272. window j Mode System monitor Online module change p Main Base Operation to Selected Module Main Base Mans J VO Adi 0000 0010 0020 0030 0040 T ES No Master wo Base Module Base Model Name Point Address Station No PLC Major Errar Moderate Error D Assignment Error Assignment Incorrect Open the Device Buffer Memory Batch Monitor S Device Buffer Memory Batch Monitor 1 Monitoring window Device Comme T C Set Value Reference Program Refer 2 i Pena are Sis as E Ie X Online gt Monitor gt Device Buffer Memory Depos fora Batch Modfy vae 2 TAHA e E asc Ol 16 oes open save on ts z mes EET e a4 5 Display the address of the prerecorded buffer 1 0 0 0 0 0 0 0 0 0 0 0 0 0 00 0 0 memory area and select it Then click the button l To the next page ueis s Jeuyouy oym uonoun 4 uoneun amp yuo y Burs peunfBijuo ay sbunjes eniu pue pasn s eBues asn e ueuM BOL 197 198 From the previous page i Modify Value Device Label Buffer Memory Device Label vi Data Type Bit Low o r Settable Range Switch ONJOFF Execution Result lt lt Execution Result Device Label Data Type Bit ON Bit OFF Bit ON Module Start 0000 A Word Signed 10000 D Module Start
273. x21 ye RST Y1001 CH1 Output enable disable flag X1000 HW RST v102 CH2 Output enable disable flag X1007 Reads the warning output flag X1000 Z REMFR J1 K3 K1 HO K48 D8 K1 M320 M320 M321 d ME MOV D8 K2M20 CH2 Check for the warning output M22 E CH2 Processing at the warning i Processing at the warning output upper limit output upper limit M23 Processing at the warning output lower limit Ee Processing Al the warning output lower limit X24 X100E SET vioogg q Turns on Warning output clear request X100E Y100E D j l RST vig 3 Turns off Warning output clear 7 request Displays the error code and performs reset processing q X100F ZP REMFR ur K4 Ki HO K19 D10 K1 M330 M330 M331 R A BCD 10 K4Y30 Outputs the error code in BCD X25 X100F A 2 SET Y100F J Error clear request X100F Y100F ME RST Y100F MCR NO END OMEN O I 910uies eui uo eijnpoyy eui Burst ueuM 6 e npou uonounj 1ueBijeju jo sjejeujeJed Sy Bursn jou ueuw ejduiexe uejfoJd zZ 6 165 CHAPTER 10 oNLINE MODULE CHANGE 10 166 This chapter describes the online module change procedure In this manual the online module change procedure is explained using GX Works2 When performing an online module change carefully read the following QCPU User s Manual Hardwa
274. y The error code 162 is stored in Latest error code Un G19 Error flag XF turns on and ERR LED turns on Configure the offset gain setting in the range satisfying the following condition When the setting value out of the range is configured the maximum resolution and accuracy of the module may not fall within the range shown in the following performance specifications O conversion characteristic of D A conversion gt Page 26 Section 3 2 2 Configure the offset gain setting for each channel When the setting for offset and gain channels is configured at the same time an error occurs The error code 500 is stored in Latest error code Un G19 Error flag XF turns on and ERR LED turns on When an error occurs even in one channel the offset gain value is not written to the module Check the value in Latest error code Un G19 and perform the following procedures to reconfigure the offset gain setting from the beginning Error Code List 5 Page 208 Section 11 1 When the mode is switched from the offset gain setting mode to the normal output mode by the dedicated instruction G P OFFGAN or Mode switching setting Un G158 Un G159 Module READY XO turns on Note that initial settings are processed at this timing if any sequence program is set to configure initial settings when Module READY XO turns on To enable the intelligent function module switch setting after writing the setting to the CPU module reset the

Download Pdf Manuals

image

Related Search

tw twitch twitter twin towers twitter charlie kirk twinspires member log in twitter login twitch/tv twisted metal twitchy twinmed log in twilight tweetdeck twisted sister twitch service two player games twinspires twinmotion twinkl twitch login twitch studio twin towers collapse twin peaks twenty one pilots twitch download twic card

Related Contents

RC-610 Remote Control  取扱説明書・SH-07/12/18/36/60(PDF/433KB)  H 71 0200 0332 en - MAP110  HP NN109AA loudspeaker  Belkin CAT5e UTP Assembled Patch Cable: Green, 50 cm (10 Pack)  Schlage FE695 CAM 619 ACC Instructions / Assembly  Lettre fLash n°2 : Mener La CaMPaGne  Descargar Catálogo - Caños y Accesorios Oeste  User Guide - Blackberry Hearing  Nokia Lumia 520 8GB Black  

Copyright © All rights reserved.
Failed to retrieve file