Home

4Mpps Capable High-Speed Counter Module User`s Manual

image

Contents

1. 60 260 Continuous comparison No 1 point 4 L 61 261 setting 2 H 62 262 Continuous comparison No 1 point 5 L 63 263 setting 2 H 64 264 Continuous comparison No 1 point 6 L 65 265 setting 2 H 66 266 Continuous comparison No 1 point 7 L 67 267 setting 2 H 68 268 Continuous comparison No 1 point 8 L 69 269 setting 2 H 70 270 Continuous comparison No 1 point 9 L 71 271 setting 2 H 72 272 Continuous comparison No 1 point 10 L Read write 73 273 setting H j are enabled Only used for the continuous 74 274 Continuous comparison No 1 point 11 L comparison function 75 275 setting 2 H 76 276 Continuous comparison No 1 point 12 L 77 277 setting 2 H 78 278 Continuous comparison No 1 point 13 L 79 279 setting 2 H 80 280 Continuous comparison No 1 point 14 L 81 281 setting 2 H 82 282 Continuous comparison No 1 point 15 L 83 283 setting H 84 284 Continuous comparison No 1 point 16 L 85 285 setting 2 H Continuous comparison No 1 point monitor 86 286 Read only during comparison 87 287 to to Reserved 99 299 100 300 Continuous companson No 2 start point setting Read write Only used for the continuous 101 301 Continuous comparison No 2 repeat point setting 0 bled ei 102 302 Continuous comparison No 2 ON tim
2. Table 6 2 Maximum number of settable parameters using GX Configurator When intelligent function modules Maximum number of parameter settings Q00J Q00 Q01CPU 512 256 i Q02 Q02H Q06H Q12H Q25HCPU 512 256 Q02PH Q06PH Q12PH Q25PHCPU 512 256 Q12PRH Q25PRHCPU 512 256 QO00UJ Q00U Q01UCPU 512 256 Z QO2UCPU 2048 1024 z Q03UD Q04UDH Q06UDH Q10UDH ze Q13UDH Q20UDH Q26UDH 28 QO03UDE Q04UDEH Q06UDEH 4096 2048 Q10UDEH Q13UDEH Q20UDEH Q26UDEHCPU 7 Q50UDEH Q100UDEHCPU Use prohibited Use prohibited MELSECNET H remote I O station 512 256 5 O For example if multiple intelligent function modules are mounted to the remote I O a station configure the settings in GX Configurator so that the number of parameters set for all the intelligent function modules does not exceed the limit of the remote I O station Calculate the total number of parameter settings separately for the initial A setting and for the auto refresh setting Bui The number of parameters that can be set for one module in GX Configurator CT is aoe as shown below SF i ano Table 6 3 Number of settable parameters per module Target module Initial setting Auto refresh setting QD64D2 6 fixed 16 Max Example Counting the number of parameter settings in Auto refresh setting 3 Auto refresh setting 8 This one row is counted as one setting Blank rows are not counted Count up all the setting items on this screen and ad
3. Stop monitor Execute test 6 19 Monitoring Decimal input Setting range 2147483648 2147483647 Latch counter function Module information Module type Counter Module Module model name QD64D2 Latch counter function Start 1 0 No 0000 Setting item CH1 Latch count value Curent value Setting value CH1 Latch counter execution command VO7 CH2 Latch count value CH2 Latch counter execution command Y17 Flash ROM setting Curent value display Make text fle Stop moritor Figure 6 8 Monitor Test screen continued 6 6 Monitoring Test 6 6 1 Monitoring test Monitoring Cannot execute test 6 UTILITY PACKAGE GX Configurator CT MELSEC IA series Explanation of items 1 Items Setting item Displays I O signals and buffer memory names z gt Current value Monitors the I O signal status and present buffer memory values Setting value Enter or select values to be written into the buffer memory for test operation 6 2 Command buttons 7 ES Displays the current value of the item selected This is ze 5 Zz Ee used to check the text that cannot be displayed in the 58 current value field However in this utility package all items can be displayed in the display fields EE Creates a file containing the screen data in text file format Z a
4. gt Setting screen HO Auto refresh setting r Module information Module type Counter Module Start 170 No 0000 2 Module model name QD64D2 fe E S m 4a Module sid G Setting item Module side Eee word count H CHT Present value CH1 Latch count value CH1 Overtlow detection flag ou CH1 Esternal 1 0 status monitor CH1 Error cod gs ror code o l a z CH1 Waming code o ae ison No 1 point monit 25 Ontinuous Comparison No I point monitor during comparison Ey Q a CH1 Continuous comparison No 2 point monitor oe during comparison 4 Make text file End setup Cancel n 6 Figure 6 7 Auto refresh setting screen 5 vey ez x o Lu 0 xt P 4 2 ja gt Cc 9 5 S p 2 E o PROGRAMMING TROUBLESHOOTING 6 5 Auto Refresh 6 16 6 UTILITY PACKAGE GX Configurator CT 6 17 Explanation of items 1 Items Module side Buffer size Module side Transfer word count Transfer direction PLC side Device 2 Command buttons MELSEC TA cries Displays the buffer memory size of the setting item Displays the number of words to be transferred lt indicates that data are written from the programmable controller CPU to the buffer memory gt indicates that data are loaded from the buffer memory to the programmable controller CPU Enter a CPU module side device that is to be automatically refreshed Applicable devices
5. Intelligent function module parameter Figure 6 2 Project structure 6 7 6 3 Utility Package Operation 6 3 1 Common utility package operations 6 UTILITY PACKAGE GX Configurator CT MELSEC IA series b Steps 1 to 3 shown in Figure 6 3 are performed as follows 1 From GX Developer select Project Open project Save Save as gt 2 From the module selection screen of the utility select 3 Intelligent function module parameter Open parameters Save parameters 3 From GX Developer select Z Online gt Read from PLC Write to PLC Intelligent function module i parameters fa Or from the module selection screen of the utility select 58 Online gt Read from PLC Write to PLC 4 Text file F Zz fe a A text file can be created by clicking the _ Wetetestile_ button on the initial setting Auto 3 refresh setting or Monitor Test screen The text files can be utilized to create user 5 A documents D b Text files can be saved in any directory However a path folder where the file is to be saved cannot be created during operation of _ Meketestile Therefore create the 9 lt O folder beforehand using Windows Explorer Bui ee T GX Developer SE i GX Configurator CT Lao no 6 E 2 R Personal computer 6 NR AE ANANE A PE A A ET RE ag ES 58 A
6. When the present value Un G12 and 13 is equal to the coincidence output No 1 point setting Un G6 and 7 the counter value small No 1 X03 turns OFF and the counter value coincidence No 1 X02 turns ON When the present value Un G12 and 13 is larger than the coincidence output No 1 point setting Un G6 and 7 the counter value large No 1 X01 turns ON The counter value coincidence No 1 X02 remains ON until resetting it 6 Turn ON the coincidence signal No 1 reset command Y01 to reset the counter value coincidence No 1 X02 If the counter value coincidence No 1 X02 remains ON the counter value coincidence No 1 X02 cannot be output next time 1 Ifthe operation in 1 is not executed comparison with the values stored in the coincidence output No 1 point setting Un G6 and 7 and the coincidence output No 2 point setting Un G8 and 9 is not executed 5 3 Using the Counter Value Comparison Function 5 3 1 Using the coincidence output function D Functions M als AG lA orie POINT 1 At immediately after the power on or resetting the programmable controller z CPU the relation of the present value and the coincidence output point setting is the following Present value Coincidence output point setting 0 3 Therefore the counter value coincidence X02 X05 X12 and X15 of channels that use the coincidence output function turns ON For channels that use the coincidence
7. of dA When B is ON counts on the falling edge of dA For subtraction count For addition count For subtraction count E POINT oA fti B oa FF LPL on Tti pA op ft ft When B is ON counts on the rising edge fT of dA When B is OFF counts on the falling edge of dA When B is OFF counts on the rising edge fT of GA When B is ON counts on the falling edge of dA When A is ON counts on the rising edge of dB When A is OFF counts on the falling edge of dB When B is ON counts on the rising edge fT of GA When B is OFF counts on the falling edge of dA When A is OFF counts on the rising edge f of dB When A is ON counts on the falling edge of dB When performing control with phase B pulse input or the subtraction count command Y05 at 1 phase pulse input always turn OFF the unused signals If either of phase B pulse input or the subtraction count command Y05 is ON subtraction count is performed at phase A pulse input 5 1 Pulse Input and Count Methods 5 1 1 Types of the pulse input method 5 FUNCTIONS M eLS AG lA eries 5 2 Selecting a Counter Format The counter format has the following two types a Select a counter format using the intelligent function module switch setting of GX i Developer Refer to Section 4 5 e Linear counter e Ring counter g we iz ae 5 D aw
8. Details Monitoring Cannot execute test Coincidence output function CH1 Continuous comparison No 1 function p Module information Module type Counter Module Module model name QD64D2 MELSEG iQ series Start 1 0 No 0000 Setting tem Present value Current value Setting value Continuous comparison No 1 start point setting Continuous comparison No 1 repeat point setting Continuous comparison No 1 ON time setting Continuous comparison No 1 point setting Continuous comparison No 1 point2 setting Continuous comparison No 1 point3 setting Continuous comparison No 1 point4 setting Continuous comparison No 1 point5 setting Continuous comparison No 1 pointG setting Continuous comparison No 1 point setting Flash ROM setting Curent value display Make text fle Stop monitor p Details Monitoring Cannot execute test Continuous comparison function 1 Ring counter function Module information Module type Counter Module Module model name QD64D2 Ring counter function Start 1 0 No 0000 Setting tem counter lower limit value CH1 Ring counter upper limit value Curent value Setting value CH2 Ring counter lower limit value CH2 Ring counter upper limit value Flash ROM setting Curent value display Make text file
9. ol o Z O O Z Le UTILITY PACKAGE GX Configurator CT PROGRAMMING TROUBLESHOOTING 5 3 Using the Counter Value Comparison Function 5 17 5 3 2 Using the continuous comparison function D FUNCTIONS MELSEG lA series 3 When comparing with 17 points or more of the continuous comparison point setting For the QD64D2 settable continuous comparison No 1 point n setting Un G54 to 85 is up to 16 points each Therefore when comparing with 17 points or more execute the following procedures a Initial setting Set the following and turn from OFF to ON the continuous comparison No 1 execution command Y09 Continuous comparison No 1 start point setting Un G50 1 1 Continuous comparison No 1 repeat point setting Un G51 16 1 e Set the continuous comparison points for point 1 through point 16 in the following buffer memories Continuous comparison No 1 point 1 setting Un G54 and 55 to Continuous comparison No 1 point 16 setting Un G84 and 85 1 When starting from point 2 or later set a value that is Start point setting 1 for the repeat point setting Example When start point 6 repeat point 5 When starting from point 16 set the following Start point 16 Repeat point 1 b Rewriting data during comparison Set the following when the continuous comparison No 1 point monitor during comparison Un G86 becomes 2 e Continuous comparison No 1 point setting Un G54 and 55 Cont
10. 0000 Setting item Current value X00 Module READY Prepared Setting value Setting item Current value Setting value CH1 Present value 1307599 X01 CH1 Counter value large No 1 ON CHT Preset value setting 0j X02Z CH1 Counter value coincidence No 1 ON CH1 Preset command Y04 OFF OFF X03 CH1 Counter value small No 1 OFF CHT External preset request detection X08 OFF No detection X04 CH1 Counter value large No 2 ON CH1 External preset request detection reset command Y08 OFF Release OFF Release X05 CH1 Counter value coincidence No 2 ON CH2 Present value 406 CH1 Counter value small No 2 OFF CH2 Preset value setting X08 CH1 External preset request detection IOFF No detection CH2 Preset command 14 OFF ON X09 CH1 During continuous comparison No 1 execution OFF CH2 Extemal preset request detection 18 OFF No detection XOA CHT During continuous comparison No 2 execution OFF CH2 External preset request detection reset command 18 OFF Release OFF Release X0D CH1 Error occurrence OFF Flash ROM setting Current value display Make text file Stop monitor Details Cannot execute test Monitoring Flash ROM setting Curent value display Make text file Stop
11. UM G10 and 11 secescceeecccscceeeccccseecesssceeesees 3 20 Coincidence output No m point setting Un G6 and 7 and Un G8 and 9 cooooooooooooooo0000000000000000000000 3 7 Coincidence output No m test command YOB and Coincidence output test function eserreeeeeeeeeeeeeee 5 27 Coincidence signal No m reset command Y01 and Y02 0000000000000000 000000000000000000000000000000000000000 3 1 2 Connector COCO OOOOOOO EEO OOOO OO OOO OOOO OOOO OOO OO OOOO OOOO OOCE 4 4 Continuous comparison FUNCTION eeeeeeeeeeeeeeeeeee 5 13 Continuous comparison No m execution command YOO and YOA sereeeeeececcescccccceeceecesccececeeeeees 3 14 Continuous comparison No m ON time setting UM G52 and 102 sseseeeseeecesocsoccececeocoscscecoeoeo 3 23 Continuous comparison No m point monitor during comparison UN G8E and 136 eeeseseeeessseee000 3 23 Continuous comparison No m point n setting Un G54 to 85 and Un G104 to 135 eerceeeesececcceeeeeeeseeee 3 23 Continuous comparison No m repeat point setting UM G51 and 101 sseseeeeeeecesesoeeceecooeoocsseecoeoeo 3 23 Continuous comparison No m start point setting UM G50 and 100 eerereeccecccccccecececcscceceeeeeeees 3 23 Count enable command YOG sesseeseseeseseessesees 3 13 Count Methods eecececccccccccccccccccccccccccccccccscsoce 5 Count TANGE sececccccccccccocccccccocsccccocsccccocssccccs 5 6 Counter format eecececccccccccccccccccccccccccccccccccscs A Counter value coincidence No m X02 and X05 3 9
12. tee o earch i yf i i i i e a Ae a i I 1 I I H i r 1 f lt 50 e0 y ape42 i o a fs 47 1 85 gt l 23 0 92 Appendix 2 Difference with the QD62D 27 4 1 08 unit mm inch Note that I O signals buffer memory assignment and external device interface terminal layout of this module is not compatible with the QD62D The terminal block conversion module A6TBXY36 cannot be used with the QD64D2 Appendix 1 External Dimensions App 1 M als e6 Q APPENDICES INDEX APPENDICES MELSEG TA eres Memo App 2 Appendix 2 Difference with the QD62D INDEX A Applicable SYSTEMS ceeeecccccccccccccccccccccccccccoccoce 2 1 Auto FEFrESN ceccccccccccccccccccccccccccccccccccccccocccce 6 16 A6CON1 0000000000000000 00000000000000000000000000000000000 4 4 AGCON2 ceccccco000000000000000000000000000000000000000000 4 4 AGCON3 ceccccocooco00000000000000000000000000000000000000 4 4 AGCON4 ceccccoocoooo0000000000000000000000000000000000000 4 4 B Blown fuse detection flag X1F sessessesseeeseeseeee 3 12 Buffer memory SCOHOHHSOHOHSOHSHSOHSSSSHSHHSSHSHOHSHSOHSOOOOOOE 3 1 5 C Checking error description coooooooooooooooooooo00000000 3 1 Coincidence detection interrupt function 3 5 5 24 Coincidence output enable command Y03 sess 3 12 coincidence output function cecccccccccccccccccccccceee D Q Coincidence output No m point change request
13. 2000 Professional Operating System English version Basic software Microsoft Windows XP Professional Operating System English version Microsoft Windows XP Home Edition Operating System English version Microsoft Windows Vista Home Basic Operating System English version Microsoft Windows Vista Home Premium Operating System English version Microsoft Windows Vista Business Operating System English version Microsoft Windows Vista Ultimate Operating System English version Microsoft Windows Vista Enterprise Operating System English version 1 Install GX Configurator CT in GX Developer Version 4 or higher in the same language GX Developer English version and GX Configurator CT Japanese version cannot be used in combination and GX Developer Japanese version and GX Configurator CT English version cannot be used in combination 2 GX Configurator CT is not applicable to GX Developer Version 3 or earlier 3 Atleast 15GB is required for Windows Vista 4 Resolution of 1024 X 768 dots or more is recommended for Windows Vista 6 5 6 2 Installing and Uninstalling the Utility Package 6 2 2 Operating environment 6 UTILITY PACKAGE GX Configurator CT M eL 26 A ceries Table 6 5 Operating system and performance required for personal computer Operating system Performance required for personal computer CPU Windows 95 Pentium 133 MHz or
14. 50 to 255 5 24 5 3 Using the Counter Value Comparison Function 5 3 4 Coincidence detection interrupt function 5 FUNCTIONS MELSEG LY series 2 PLC side Interrupt pointer No of module Set the number of interrupt factors Sl Setting range 1 to 4 3 Intelli module side Start I O No f Set the start I O number of the QD64D2 2 Setting range 0000 to OFEO H 4 Intelli module side Start SI No Set the start interrupt factor SI of the QD64D2 Setting range 0 to 3 E oO The following shows a setting example where SI 0 to 3 of the QD64D2 in the slot Ei of start I O No 20 are assigned to interrupt pointers 150 to 153 8 Intelligent function module interrupt pointer setting PLC side inde Inti t pointer Int t point a 50 HE 0020 E o 5 aw seg Eoo ol Figure 5 11 Interrupt pointer setting example GX Developer screen d The following two methods are available for using particular SI numbers only o Z O O Z Le 1 Using the interrupt pointer setting with parameters According to the setting in the Intelligent function module interrupt pointer setting dialog box only the interrupt factors starting from the Start SI No and equivalent to the number set at Interrupt pointer No of module are used For example if the Start SI No and Interrupt pointer No of module are set to 1 and 2 respectively only SI 1 and 2 will be used The interrupt function
15. Counter Value Comparison Function eeeeeeeeeeeeeeee 5 8 Counter value comparison function selection 4 11 Counter value large No m X01 and X04 sesseseees 3 9 Counter value small No m X03 and X06 eseseseee 3 9 Crimp tool COCO OOOOO OOOO OO OOOO OOO OOOO OOOO OO OOO OOOOOOOOOOOCE 4 4 CW CCW ecccccccccccccccccccccccccccccccccccccccvcccscocce 5 1 D Delay response time CO 5 31 During continuous comparison No m execution X09 and X0A COCCOCOOOOOO OOOO OOOO OOOO OOO OOOOOOOOO OOOO OOOOOCE 3 1 1 E Error code Un G18 ccoooooooooooooo0000000000000000000 3 23 Error occurrence XOD ecccccccccccccccccccccccccocceee 3 1 1 Error reset command YOD ocooooooooooooo00000000000 3 14 ERR LED cccccccccccccccccccccccccocccccccoccoccoscosccsees 4 3 External I O status monitor UN G17 esseseeseeseeee 3 22 External preset request detection reset command QA0 REC cee 3 14 External preset request detection X08 ssesseseese 3 11 External wiring Cccccccccccccccccccccccccccccccccccccoccocs 44 F Featu ES eocccccccccccccccccccccccccccccccccccocccoccoooocle 1 2 Function Version C0000000 OOOO EOO OOOO OOO OO OOOO OOOOOCE 2 4 2 7 H H W LED information 0000000000000000 0000000000000000000 8 2 I IMASK instruction eeecccccccccccccccccccccccccccccccccee D 25 Initial Setting coooooooooooooooooo00000000000000000000000000 G14 Installing and uninstalling cooooooooooooooo00000000000000 6 3 Intelligent function module interrupt po
16. PULSE B Inputs minus side of phase B pulse PULSE Common for pulse input Pulse input common B15 A15 COM lt is common between channels PRST Common for preset input Preset input common B13 A13 COM lt is separated between channels Turn ON to execute the preset by the external signal x When the preset input terminal PRST is turned ON the present Preset input 24V B12 A12 PRST value Un G12 and 13 is changed to the preset value setting Un G4 and 5 Latch counter input B09 A09 LATCH Common for latch counter input common COM lt is separated between channels Turn ON to latch the present value Un G12 and 13 by the external signal Latch counter input YN B08 A08 LATCH When the latch counter input terminal LATCH is turned ON the present value Un G12 and 13 is latched and stored in the latch count value Un G14 and 15 Coincidence output ae a No 4 B05 A05 EQU1 Executes the coincidence output when a coincidence of the count O value is detected while using the coincidence output function or the Coincidence output No 2 B04 A04 EQU2 continuous comparison function External coincidence i KON Supplies 12V or 24V when executing the external coincidence output output power supply B03 A03 12V 24V lt is common between channels 12 24V External coincidence Inputs OV when executing the external coincidence output output power supply B02 A02 OV elt is also used as a commo
17. Warning channel Other channels 0 Normal Coincidence output No m test output not possible Description code The coincidence output No m test command YOB and YOC is turned ON while one of the following is ON The coincidence Count enable command Y06 output test cannot Continuous comparison No 1 execution command Turn OFF the all signals listed be started The warning 3m Y09 onthe tet The warning does does not affect During continuous comparison No 1 execution X09 not affect the other other channels Continuous comparison No 2 execution command coincidence output YOA number During continuous comparison No 2 execution XO0A m indicates the continuous comparison number where the warning occurred 4 POINT e When another warning occurs during warning occurrence the warning code is overwritten as the latest one After fixing the cause of the warning reset the warning by the error reset command YOD If the cause of the warning is not fixed the warning is detected again 8 13 8 11 Action and Handling of Errors 8 11 2 Warning code list APPENDICES APPENDICES Appendix 1 External Dimensions ee SSI 90 3 54 137 5 39 A QD64D2 CH1 CH2 RUN QA ERR B FUSE DEC AREE A N i i Li 1 i aya oo a H 1 il 1 i 1 tO a o ior oi 1 m 1 4 tt i foe
18. e Even if the coincidence output No 1 test command YOB and the coincidence output No 2 test command YOC are turned ON the counter g value coincidence No 1 X02 and the counter value coincidence No 2 Be X05 do not turn ON OFF Coincidence detection interrupt also does not as occur e The coincidence output test function cannot be used when selecting the coincidence output function Zz S 5 gt aw 25 ou TE W z Z SE ano ol o Z O O Z Le UTILITY PACKAGE GX Configurator CT PROGRAMMING TROUBLESHOOTING 5 3 Using the Counter Value Comparison Function 5 23 5 3 3 Using the coincidence output test function D FUNCTIONS MELSEG LY series 5 3 4 Coincidence detection interrupt function Use the coincidence detection interrupt function to request an interrupt to the programmable controller CPU when a coincidence is detected and start up the interrupt program a Up to 16 point interrupt factors SI are allowed for a single MELSEC Q series intelligent function module As shown in Table 5 9 the QD64D2 has 4 point interrupt factors SI for coincidence detection Table 5 9 List of interrupt factors SI No Interrupt factor Channel 1 Coincidence detection of coincidence output No 1 point setting or continuous comparison No 1 point m setting 4 Channel 1 Coincidence detection of coincidence output No 2 point setting or continuous comparison No 2 point m sett
19. gt lt Latch counter B08 A08 5 i H l i iE WN ty a 1 10W Sassen s A a ne f Shield l B09 A09 LATCH COM oi I l F H 24VDC l ss Figure 4 6 Example of wiring with a controller sink loading type 2 Example of wiring with a controller source loading type QD64D2 Controller Shielded 10K2 PRST twisted pair cable OUT 1 3W jusscesouccecccseececeseess ae B12 A12 H H Preset e ee i lt lt A SIA GND 2 ls T Shield za B13 A13 l PRST COM F 4 Shielded a LATCH twisted pair cable OUT Latch counter B08 A08 A f Sey e ji a IH Aono f Shield BO9 A09 l LATCH COM co l l I F l 24VDC l e a a Coe Figure 4 7 Example of wiring with a controller source loading type 4 8 4 4 Wiring 4 4 3 Example of wiring a controller and an external input terminal PROCEDURES AND SETTINGS BEFORE OPERATION M eL 26 A ceries 4 4 4 Example of wiring with an external output terminal When using coincidence output No 1 terminal EQU1 and coincidence output No 2 ii terminal EQU2 external power supply of 10 2 to 30VDC is required gt Figure 4 8 shows wiring example 2 Alphanumeric characters in parentheses of QD64D2 terminal parts indicate CH2 terminal numbers 6 1 Example of wiring with an extern
20. i an a a SS SS aS EE Intell 0D6402 a Sia 7 2 For Use in Normal System Configuration 7 2 1 Before creating a program PROGRAMMING 7 3 MELS AG el series Programming Example when GX Configurator CT is Used Device Function 1 List of devices Table 7 2 List of devices D0 D1 CH1 present value storage D2 D3 CH1 latch count value storage D42 CH1 overflow status storage D53 CH1 error code storage p64 CH1 warning code storage D8 D9 CH2 present value storage D103 CH2 error code storage D114 CH2 warning code storage D118 CH1 error code D119 CH1 warning code D120 CH2 error code D121 CH2 warning code M10 Initial setting complete signal X00 Module READY X02 CH1 counter value coincidence No 1 XOD CH1 error occurrence X0E CH1 warning occurrence yo1 CH1 coincidence signal No 1 reset command Y03 CH1 coincidence output enable command Y04 CH1 preset command Y0O6 CH1 count enable command Y07 CH1 latch counter execution command QD64D2 X Y00 to X Y1F YOD CH1 error reset command X12 CH2 counter value coincidence No 1 X1D CH2 error occurrence X1E CH2 warning occurrence Y14 CH2 preset command Y16 CH2 count enable command y19 6 CH2 continuous comparison No 1 execution command Y1D CH2 error reset command X20 CH1 count operation start signal X21 CH1 count operation stop signal X23 CH1 preset command signa
21. 1 Section 2 2 Section 4 4 1 Section 5 3 4 Section 6 2 1 CONDITIONS OF USE FOR THE PRODUCT Compliance with the EMC and Low Voltage Directives Section 2 3 Japanese Manual Version SH 080725 D This manual confers no industrial property rights or any rights of any other kind nor does it confer any 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 2008 MITSUBISHI ELECTRIC CORPORATION INTRODUCTION Thank you for purchasing the Mitsubishi programmable controller MELSEC Q series Before using the product please read this manual carefully to develop full familiarity with the functions and performance of the Q series programmable controller to ensure correct use CONTENTS SAFETY PRECAUTIONS COCO OOO OOOO OOOO OOOOH OOOO OOO OOOOH OOOO OOOO OOOO OOS OOOOO OOOO OOOOH OOO OO OOOO SOO OO OOO OOOOOOOOOOOO OO OOOO OOS A 1 CONDITIONS OF USE FOR THE PRODUCT cccccccoc000000000000000000000000000000000000000000000000000000000000000000 A 4 REVISIONS eeeeseeseesoecooscesoccoseeccecoosoosoecooccosceseecoecoosoescecoesoosoesoesoesossoesocsoesossoesocsocsossessossoseoe A _ 5 INTRODUCTION eeeeseeseesoesoosoesoccoccosscesocsoccocsoesocsocsoscecsocsoseoscecsocsoseoscecoecsoseessecoosooseessessossose G CONTENTS eeseeceseeseecoecsosceccecoecsosceccecoosooseesoesossecsocsoseosceco
22. 1 point 1 setting 110 Continuous comparison No 1 point 2 setting 3 120 Continuous comparison No 1 point 3 setting 4 130 Continuous comparison No 1 point 4 setting 5 140 Continuous comparison No 1 point 5 setting 6 150 Continuous comparison No 1 point 6 setting 7 160 Continuous comparison No 1 point 7 setting 8 170 Continuous comparison No 1 point 8 setting 9 180 Continuous comparison No 1 point 9 setting 10 190 Continuous comparison No 1 point 10 setting 11 200 Continuous comparison No 1 point 11 setting 12 210 Continuous comparison No 1 point 12 setting 13 220 Continuous comparison No 1 point 13 setting 14 230 Continuous comparison No 1 point 14 setting 15 240 Continuous comparison No 1 point 15 setting 16 250 Continuous comparison No 1 point 16 setting 17 260 Continuous comparison No 1 point 1 setting 18 270 Continuous comparison No 1 point 2 setting 19 280 Continuous comparison No 1 point 3 setting Continuous comparison No 1 point 4 setting 1 Set 1 so that the coincidence output is not performed when the continuous comparison function is stopped 5 20 5 3 Using the Counter Value Comparison Function 5 3 2 Using the continuous comparison function D Functions M als AG lA eries 4 Continuous comparison No m point n setting interval For the interval of the continuous comparison No m point n setting set the values to satisfy the following conditions 1 and 2 a Condition 1 Interval of Continuous co
23. 5 3 3 17 Error reset command YOD e Turn ON to reset the error and warning After fixing the cause of the error reset the error code so that the newly detected errors can be checked 3 14 3 3 I O Signals to the Programmable Controller CPU 3 3 2 Functions of I O signals 3 SPECIFICATIONS M als AG lA cries 3 4 Buffer Memory Assignment 3 4 1 List of buffer memory assignment a The following table shows the buffer memory assignment of the QD64D2 For details of each buffer memory refer to Section 3 4 2 Table 3 5 List of buffer memory assignment Address 6 decimal Initial 5 Setting contents value Remarks o notation E m 8 0 200 _ 5 L 3 7 201 Ring counter lower limit value H 5 702 Only used for the ring counter function a E 3 203 Ring counter upper limit value H 2 4 204 A 0 z ing 2 Lo Read write ae f 5 705 Preset value setting A oe E 6 206 incid icc oC 3 7 707 oincidence output No 1 point setting EGJ enabled 8 208 Goindid No 2 boi gt w L Only used for the coincidence output 9 209 oincidence output No 2 point setting A incon JE 10 210 Coincidence output No 1 point change request 0 25 11 211 Coincidence output No 2 point change request g z 12 212 2 L T g z 73 1213 1 Present value EGE 9 E ti ano 14 214 9 L 4
24. Action and Handling of Errors 8 11 1 Error code list This section describes the descriptions and corrective actions for the errors detected by the QD64D2 Table 8 19 Error code list Operation at error Description Action 0 Normal Overflow error The present value Un G12 and 13 exceeded the The linear counter 100 following range Pertorm the preset function stops Refer to Section 5 4 2147483648 to 2147483647 counting Only for the linear counter function Continuous comparison No m start point setting error The continuous comparison No m start point setting 20m Un G50 and 100 is set to other than 1 to 16 Set a value from 1 to 16 m indicates the continuous comparison number where the error occurred The continuous Continuous comparison No m repeat point setting comparison cannot error be started The gt The error does 21m The continuous comparison No m repeat point setting Bey vata Here itoi error does not notast other Un G51 and 101 is set to other than 1 to 16 affect the other Channels m indicates the continuous comparison number continuous where the error occurred comparison Continuous comparison No m ON time setting error number The continuous comparison No m ON time setting 22m Un G52 and 102 is set to other than 1 to 10 Set a value from 1 to 10 m indicates the continuous comparison number where the error occurred Count enab
25. CPU Doing any of these operations may cause a malfunction of the programmable controller system When atransistor for external output fails the output may be ON or OFF status Create a circuit for monitoring output signal that may lead to serious accident N CAUTION Do not install the control lines and or pulse input wiring together with the main circuit or power lines and also do not bring them close to each other Keep a distance of 150mm 5 91 inch or more between them Failure to do so may cause a malfunction due to noise INSTALLATION PRECAUTIONS CAUTION Use the programmable controller in the environment conditions given in the general specifications of the User s Manual for the CPU module Failure to do so may cause an electric shock fire malfunction or damage to or deterioration of the product INSTALLATION PRECAUTIONS CAUTION While pressing the installation lever located at the bottom of the module fully insert the module fixing projection into the fixing hole in the base unit and press the module using the hole as a fulcrum Incorrect module mounting may cause a malfunction failure or drop of the module In an environment of frequent vibrations secure the module with screws The screws must be tightened within the specified torque range If the screw is too loose it may cause a drop short circuit or malfunction Excessive tightening may damage the screw and or the module re
26. Configurator CT M ELSEG Q series 6 3 Utility Package Operation 6 3 1 Common utility package operations 1 Control keys Table 6 6 shows the special keys that can be used in operations of the utility package and their applications Table 6 6 Control keys Key Application Cancels the current entry in a cell 3E Closes the window Tab Moves between controls in the window on Used in combination with the mouse operation to select t s multiple cells for test execution Deletes the character where the cursor is positioned Delet cete When a cell is selected clears all of the setting contents in the cell Back Deletes the character where the cursor is positioned Space t J Moves the cursor ho Moves the cursor one page up p Page Moves the cursor one page down Down Enter Completes the entry in the cell 2 Data created with the utility package The following data or files that are created with the utility package can be also handled in GX Developer Figure 6 3 shows respective data or files are handled in which operation 3 Intelligent function module parameter a This represents the data created in Auto refresh setting and they are stored in an intelligent function module parameter file in a project created by GX Developer Project Program m Parameter m PLC parameter m Network parameter
27. Counts on the falling edge of dA B or the subtraction count command Y05 is ON 2 multiples of 1 For addition count pA B and subtraction count command Y05 Counts on the rising f and falling edges of A B and the subtraction count command Y05 are OFF phase oA For subtraction Counts on the rising and falling edges of PA B count or subtraction ete B or the subtraction count command Y05 is ON command Y05 oA Count the risi d f pA For addition count ounts on the rising edge f of 6 B is OFF B CW CCW For subtraction pA A is OFF count bB AN Counts on the rising edge of B R oA fli For addition count When B is OFF counts on the rising edge fT of dA 1 multiple of 2 phases For subtraction count pA B 5 1 Pulse Input and Count Methods When B is OFF counts on the falling edge of dA 5 4 5 1 1 Types of the pulse input method OVERVIEW CONFIGURATION SYSTEM SPECIFICATIONS SETTINGS BEFORE PROCEDURES AND OPERATION ol FUNCTIONS UTILITY PACKAGE GX Configurator CT PROGRAMMING TROUBLESHOOTING D FUNCTIONS Pulse input method 2 multiples of 2 phases 4 multiples of 2 phases MELSEC TA cries Table 5 1 Types of the pulse input method continued For addition count pA B Count timing When B is OFF counts on the rising edge
28. Example when the Coincidence Detection Interrupt Function is Used 7 18 8 TROUBLESHOOTING MELSEG TA eres CHAPTER8 TROUBLESHOOTING This chapter describes the troubleshooting error code and warning code of the QD64D2 Before performing a troubleshooting for the QD64D2 check that the CPU module does not have any errors For error details of the CPU module refer to the following manual K7 QCPU User s Manual Hardware Design Maintenance and Inspection 8 1 Error Processing and Recovery Methods 8 1 1 Checking error description using System Monitor of GX Developer Error codes can be checked by selecting Module s Detailed Information on the System Monitor screen of GX Developer 1 GX Developer operation Select Diagnostics gt System Monitor gt QD64D2 _ Module s Detailed Information 2 Checking error codes Error code that is stored in the error code Un G18 is displayed in the Present Error field Either one of channels 1 and 2 By clicking the __ EworHistoy button error code of the present error on each channel is displayed in order of channel 1 to 2 Note that this is not a history Module s Detailed Information Module Module Name QDE4D2 Product information 091010000000000 B 1 0 Address 0 Implementation Position Main Base OSlot Module Information Module access Possible 1 0 Clear Hold Settings Fuse Status Noise Filter Setting Status of 1 0 Address Verify Agree Input Type Remot
29. External preset request id im nO detection reset command qb detection reset command ae z a Continuous comparison No 1 ae Continuous comparison No 1 ean a execution command 2 execution command 2 A Continuous comparison No 2 L L VA Continuous comparison No 2 execution command 2 execution command va Coincidence output No 1 test VIB Coincidence output No 1 test 5 command 2 command 2 a Coincidence output No 2 test WE ve Coincidence output No 2 test 2 command command 2 YOD Error reset command f Y1D Error reset command f x Ww YOE Y1E SE Reserved Reserved E YOF Y1F ES 58 1 The signal is only used for the coincidence output function 2 The signal is only used for the continuous comparison function POINT 9 1 The reserved signals above are for system use not for users If used turning 2 ON OFF by a user the functions of the QD64D2 are not guaranteed 2 Definitions of the expression in Operation timing are as follows F g Enabled while the signal is ON ON time should be 2ms or longer S zZ f Enabled when the signal is turned from OFF to ON 9 ON time and OFF time should be 2ms or longer z E O E 3 7 3 3 I O Signals to the Programmable Controller CPU 3 3 1 List of I O signals 3 SPECIFICATIONS 3 3 2 MELSEC TA eries Functions of I O signals The following indicates the details of I O signals of the QD64D2 In this section I O numbers X Y and buffer memory addresses are l
30. FUNCTIONS MELSEG A series 2 Count range of the ring counter a Count range is the following three types shown in Table 5 2 e Count range is determined by the ring counter lower limit value Un GO and 1 the ring counter upper limit value Un G2 and 3 and the present value Un G12 and 13 e Range 1 and 2 in Table 5 2 are examples with the following setting Ring counter lower limit value Un GO and 1 50000 Ring counter upper limit value Un G2 and 3 100000 Table 5 2 Count range of the ring counter Count range Setting condition Range 1 Ri t Un G12 and 13 f Miran nS imt vaus Un GO and 1 Un G2 and 3 Subtraction and Ring counter lower pegmon imit value Ring counter lower Ring counter upper limit value limit value 2147483648 Un GO and 1 Un G2 and 3 Count range 50000 to 99999 Range 2 Ri j oe c s ey Present value Ring counter lower Ing counter upper eal timit value ae Un G12 and 13 Unie valle l po Un GO and 1 Subtraction l l aT t or l l Addition Ring counter lower _ l limit value Present value gt oi otto i 2147483648 Count range Omate and 13 Un G2 and 3 2147483648 to 50000 100001 to 2147483647 Range 3 2147483647 mamama Ring counter upper limit value E Ring counter lower limit val i i mivaue Sulla Ring counter lower Ring counter upper limit value X limit value Un GO and 1 Un G2 and 3 2147483648 Th
31. GAL p sse wT AB l Line Shield H receiver mi H v E l i i l l LJ l l B ave vec External power supply ov i pany a L l Figure 4 5 Example of wiring with a line driver AM26LS31 equivalent encoder 4 4 Wiring 4 7 4 4 2 Example of wiring the module and an encoder OVERVIEW CONFIGURATION SYSTEM SPECIFICATIONS A w x O re ui m a 0 4 w N Q FA Ed N raz 220 Ww lt lt 5 a e lu a Q ano FUNCTIONS UTILITY PACKAGE GX Configurator CT PROGRAMMING TROUBLESHOOTING PROCEDURES AND SETTINGS BEFORE Sli RATION M ELSEG Q series 4 4 3 Example of wiring a controller and an external input terminal Alphanumeric characters in parentheses of QD64D2 terminal parts indicate CH2 terminal numbers 1 Example of wiring with a controller sink loading type QD64D2 Controller OS l l Shielded 10k2 PRST twisted pair cable OUT l 1 3W P ne B12 A12 fA T Preset S kQ i i i iy 24V l 1710W Seccecneeacsencsssesasess 2 J Shield F B13 A13 PRST COM e Shielded l 10kQ LATCH twisted pair cable OUT 1 3W jeewscsecosccessuscecessecs
32. I O on the remote I O modules station station QJ72LP25 25 QJ72LP25G QJ72LP25GE QJ72BR15 O Applicable x N A 1 Limited within the range of I O points for the network module 2 Can be installed to any I O slot of a base unit 3 The coincidence detection interrupt function is not supported Remark eeeseeeeeseeneeeeneeeceeeeseeeseeeeeeeeeeeeeeeeeeeeeeened The Basic model QCPU or C Controller module cannot create the MELSECNET H remote I O network eeeeeseec oa eeoeaevseeeec eee eseseeaeeeaeveeeceaoeceecee ee eee eee e eee ee 2 3 2 1 Applicable Systems 2 SYSTEM CONFIGURATION Item 2 Support of the multiple CPU system The QD64D2 of first released version to function version B supports multiple CPU system MELSEC A eres When using the QD64D2 in a multiple CPU system refer to the following manual first C QCPU User s Manual Multiple CPU System a Intelligent function module parameters Write intelligent function module parameters to only the control CPU of the QD64D2 3 Supported software packages Relation between the system using the QD64D2 and software package is shown in the following table GX Developer is necessary when using the QD64D2 Table 2 3 Software package version Single CPU system Version 7 or later 1CP a oie Multiple CPU system Version 8 or later Q02 Q02H Q06H Single CPU system Version 4 or later Q12H Q25
33. Module Name QD64D2 Product information 091010000000000 B nO H W LED Information HAW SW Information Item Value Item Value no Zz fe 5 5 aw Ze lt O o enn ano Stop monitor Figure 8 2 H W Information screen 2 H W LED Information 5 The following information is displayed on the H W LED Information screen Table 8 1 H W LED Information Item Signal Value gt RUN LED on the QD64D2 g es 0 The LED is OFF rm ERR ERR LED on the QD64D2 4 The LED is ON SE e S L FUSE FUSE LED on the QD64D2 l E Es 58 H W SW Information The setting status of the intelligent function module switches is displayed Table 8 2 H W SW Information Correspondin Item Signal P g Value 2 switch z CH1 CH1 setting Switch 1 CH2 CH2 setting Switch 2 For details refer to Section 4 5 g NOP1 Switch 3 Intelligent Function Module Switch 8 NOP2 Switch 4 Setting NOP3 Switch 5 A o if a O fe 8 1 Error Processing and Recovery Methods 8 2 8 1 1 Checking error description using System Monitor of GX Developer 8 TROUBLESHOOTING MELSEG TA eres 8 1 2 When the RUN LED turns OFF Table 8 3 When the RUN LED turns OFF Check item Action Reference Check if the service voltage of the power supply Is the power supplied ceo aa module is within the rated range Calculate the consumption current of the modules Is the capacity of the power supply module mounted to the base unit such as CPU module I O sufficient modu
34. Module model name _ tritatsettina b Auto refresh setting screen Start I O No gt Module type gt Module model name gt aitoretiesh c Monitor test module selection screen Online gt Monitor Test Enter the Start I O No in hexadecimal 6 11 6 3 Utility Package Operation 6 3 3 Starting the Intelligent function module utility 6 UTILITY PACKAGE GX Configurator CT MELSEC Q series 2 Command buttons ae Deletes the Initial setting and Auto refresh setting of the selected module z a Closes this screen 3 Menu bar Zz O a File menu 7 EA Intelligent function module parameters of the project opened by GX Developer are 23 ice ne eee eas Online To handled 26 en parameters r X 2 pie uli mo Open parameters Reads a parameter file Daae wane ae ki Close parameters Closes the parameter file If any data are hi modified a dialog asking for file saving will F Zz on appear e Save parameters Saves the parameter file z O Lu A Delete parameters Deletes the parameter file Open FB support parameter Opens a FB support parameter file QO W Ze Save as FB support parameter Saves a FB support parameter at EHO ga Exit Exits the Intelligent function module utility B26 Too b Online menu Monitor Test Activates the Select monitor test module Tools Help screen q r n lap Read from PLC Reads intelligent function module 6 Leo parame
35. No on the rating plate is also indicated on the front of the module lower part f ama number Figure 2 3 Display on the front of the module CD Sooo ooo ooo ore The serial number is displayed on the front of the module from August 2008 production Products manufactured during switching period may not have the serial number on the front of the module eeeeeeeeveeeceaeeceoeeoeneeaoescesceeceeaeeeceaoeesceeae eee eseeeeeeeae eee ee 2 7 2 4 How to Check the Function Version Serial No Software Version 2 SYSTEM CONFIGURATION MELSEG lA caries 3 Confirming the serial number on the system monitor Product Information List To display the screen for checking the serial number and function version select OVERVIEW Diagnostics gt System monitor and click the Product Inf List button in GX Developer N Serial Function number version Product Information List Sy slor Tye series Model name Points 1 0 wo waster PLC ae ae a Q C PLC PLC Q Q25PHCPU 061020000000000 z O T gt o Le Z Q SYSTEM 0 0 Intelli Q QD64D2 32pt 0000 091010000000000 B a 1 None 0 2 None 0 3 None a 0 4 None no Figure 2 4 System monitor q a Production number display E Since the QD64D2 does not support the production number display
36. SYSTEM SPECIFICATIONS PROCEDURES AND SETTINGS BEFORE FUNCTIONS OPERATION UTILITY PACKAGE GX Configurator CT PROGRAMMING TROUBLESHOOTING 2 SYSTEM CONFIGURATION MELSEG Ll cries 2 2 About Use of the QD64D2 with Redundant CPU This section explains how to use the QD64D2 with the Redundant CPU 1 GX Configurator CT GX Configurator CT cannot be used when accessing the Redundant CPU via an intelligent function module on an extension base unit from GX Developer Connect a personal computer with a communication path indicated below Main base unit Extension base unit GX Configurator CT cannot be used Connecting directly to a programmable controller CPU Connecting to a programmable controller CPU via an intelligent function module Ethernet module MELSECNET H module or CC Link module on the main base unit Figure 2 1 Communication path which GX Configrator CT can use 2 Restrictions when using the Redundant CPUs The coincidence detection interrupt function is not available 2 5 2 2 About Use of the QD64D2 with Redundant CPU 2 SYSTEM CONFIGURATION M aL EC Q ceries 2 3 About Use of the QD64D2 on the MELSECNET H Remote I O Station OVERVIEW This section explains how to use the QD64D2 on the MELSECNET H remote I O station N 1 Number of QD64D2 that c
37. change oO aK Turn ON or OFF the coincidence output enable command Y03 Note that in the case where the coincidence output No 1 point setting Un G6 and 7 is equal to the coincidence output No 2 point setting Un G8 and 9 when the coincidence output enable command Y03 is turned ON or OFF the coincidence output No 2 terminal EQU2 also turns ON 5 12 5 3 Using the Counter Value Comparison Function 5 3 1 Using the coincidence output function D Functions M als AG lA cries 5 3 2 Using the continuous comparison function Each channel has No 1 and No 2 comparison points Each point individually compares to F the present value Un G12 and 13 and outputs the comparison result refer to Table 5 5 16 comparison points can be set for each No 1 and No 2 3 Without rewriting the comparison point in the middle of the control multiple coincidence detections can be executed easily Table 5 5 Continuous comparison function Signal and external output terminal used to output the g Comparison point comparison result Be 28 Continuous comparison No 1 point 1 setting Un G54 and 55 Counter value large Ng X01 E No 1 io Counter value coincidence Coincidence output No 1 Continuous comparison No 1 point 16 setting No 1 x02 terminal EQUI 2 Counter value small No 1 X03 O Un G84 and 85 E Continuous comparison No 2 point 1 setting Counter value large No 2 X04 E Un G104 and 105 RI E mi No 2 io Counte
38. confirmation LED signal ON T 15 7 4 Programming Example when GX Configurator CT is not Used PROGRAMMING M als e6 Q 3 Auxiliary program 3 a Error warning reset program Error warning reset processing x1D uo G218 D120 Stores CH2 error code to D120 z im Stores a value of D120 to D10 z D120 D10 when error code is stored in w D120 5 X1E uo E rov ezi piei Stores CH2 warning code to D121 Stores a value of D121 to D11 lt gt D121 K0 a LA D121 D11 when warning code is stored in D121 X2F X1D I vip CH2 error reset command l Y1D ON 5 X1E o ne Se HZ O S S END nO 2 Zz O z Q u O w a H ow Ze lt 2 oi vaz age WZ z OF i wQ ano FUNCTIONS UTILITY PACKAGE GX Configurator CT j PROGRAMMING TROUBLESHOOTING 7 4 Programming Example when GX Configurator CT is not Used 7 16 PROGRAMMING MELSEG TA eres 7 5 Program Example when the Coincidence Detection Interrupt Function is Used This section describes a program example to start an interrupt program upon detecting coincidence of comparison point of channel 1 1 System configuration QD64D2 X Y00 to X Y1F Figure 7 6 System configuration when the coincidence detection interrupt function is used 2 Program conditions a Interrupt pointer setting Set the values at PLC parameter PLC system Intelligent function module setting Interrupt po
39. detection interrupt function D FuNcTIons M al AG lA eries 5 4 Using the Preset Function Use the preset function to rewrite the present value Un G12 and 13 to any value preset a value and start counting pulses from the value i e The following two methods are available for presetting e Turn ON the preset command Y04 by the sequence program e Turn ON the preset input terminal PRST of external input In 1 and 2 below I O numbers X Y and buffer memory addresses are listed for o channel 1 For I O numbers and buffer memory addresses used for channel 2 refer to DZ Section 3 3 1 and Section 3 4 1 oe 1 Operation when turning ON the preset command Y04 by the sequence program A Turn ON the preset command Y04 by the sequence program to execute preset 3 5 Count enable command ON SE a Y06 OFF f Counter input pulse Wi ow g ee oe bob EEG ZS Preset value settin ul A id m z Un G4 and 5 OX _1000 A 2000 a woo batt H Preset command ON 2 H i 2 l ano Y04 OFF ol Present value Un G12 and 13 0 l 1000 1001 1002 to 1065 1066 1067 000 2001 2002 2003 2004 ms t 2ms Figure 5 12 Operation example of the preset function by the sequence program Table 5 10 Details of operation example of the preset function by the sequence program Number Description 2
40. external 236 control signal F Since the QD64D2 is independent of scan time of the programmable controller CPU disparity in a span before executing the preset function latch counter function can be lessen 10 Fuse blown at external output part is detectable 2 O The QD64D2 can detect fuse blown at external output part and notify it with the blown 5 fuse detection flag X1F and LED display on it m 11 Easy setting using GX Configurator CT x The QD64D2 setting can be performed on screen by using GX Configurator CT sold M separately Thus the number of sequence programs results in decreasing and 5 lt 9 checking a setting status or operation status of modules easily gt E 2 10 g g 3 2 1 1 Features 1 3 2 SYSTEM CONFIGURATION MELSEG Fl caries CHAPTER2 SYSTEM CONFIGURATION This chapter describes system configurations for the QD64D2 2 1 Applicable Systems This section describes the applicable systems 1 Applicable modules and base units and No of modules a When mounted with a CPU module The table below shows the CPU modules and base units applicable to the QD64D2 and quantities for each CPU model Depending on the combination with other modules or the number of mounted modules power supply capacity may be insufficient Pay attention to the power supply capacity before mounting modules and if the power supply capacity is insufficient change the combination of the modules Table 2
41. i f 0 Un G4 and 5 H H ON Preset command F Y04 Error code 0 100 Un G18 X Figure 3 23 Timing chart for the overflow detection flag Un G16 when the pulse input mode is 1 multiple of 1 phase 7 External I O status monitor Un G17 e The I O status of the external device connector is stored in this area e Storage contents is as follows b15 b8 b7 bO Reserved Fixed to 0 Coincidence Coincidence output No 2 output status 1 No 2 output status 1 0 During addition Addition subtraction status j1 During _ subtraction Figure 3 24 Storage contents of the external I O status monitor Un G17 Storage item marked with 1 turns to 1 ON regardless of applying a voltage to the external coincidence output power supply terminal e It takes up to 2ms until actual I O status is reflected to the external I O status monitor Un G17 3 22 3 4 Buffer Memory Assignment 3 4 2 Details of the buffer memory 3 SPECIFICATIONS M als AG lA eries 8 Error code Un G18 Error code of the detected error is stored in this area e For operations when multiple errors occur concurrently refer to POINT in Section 8 11 1 OVERVIEW 9 Warning code Un G19 e Warning code of the detected error is stored in this area e For operations when multiple warnings occur concurrently refer to POINT in Section 8 11 2 CONFIGURATION SYSTEM 10 Continuous comparison No 1 start point
42. more 32 MB or more E Windows 98 Pentium 133 MHz or more 32 MB or more Windows Me Pentium 150 MHz or more 32 MB or more Windows NT Workstation 4 0 Pentium 133 MHz or more 32 MB or more Windows 2000 Professional Pentium 133 MHz or more 64 MB or more Windows XP Professional Service Pack1 or later Pentium 300 MHz or more 128 MB or more be Windows XP Home Edition Service Pack1 or later Pentium 300 MHz or more 128 MB or more Windows Vista Home Basic Pentium 1GHz or more 1GB or more Windows Vista Home Premium Pentium 1GHz or more 1GB or more P Windows Vista Business Pentium 1GHz or more 1GB or more Windows Vista Ultimate Pentium 1GHz or more 1GB or more Windows Vista Enterprise Pentium 1GHz or more 1GB or more c5 POINT 1 The functions shown below are not available for Windows XP and Windows zs Vista 236 If any of the following functions is attempted this product may not operate gee normally 90 Start of application in Windows compatible mode e Fast user switching e Remote desktop e Large fonts Details setting of Display Properties 9 Also 64 bit version Windows XP and Windows Vista are not supported 2 Use a USER authorization or higher in Windows Vista UTILITY PACKAGE GX c 9 fe S p d 2 E o PROGRAMMING TROUBLESHOOTING 6 2 Installing and Uninstalling the Utility Package 6 6 6 2 2 Operating environment 6 UTILITY PACKAGE GX
43. o Z O lt Q u 6 w a oO 13 is stored in the latch count value Un G14 and 15 1 When turning from OFF to ON the latch counter execution command Y07 A o 2 When turning from OFF to ON the latch counter input terminal LATCH go z e Setting range 2147483648 to 2147483647 nzi ans sgeun gt Operation by the QD64D2 Ewe Present value 0 4 2 3 4 Un G12 and 13 Latch counter execution command 07 it tt iit i gt 1 x Zz J J Latch t val 9 UniGi4 and 15 9 X i X 2 5 t22ms Figure 3 22 Timing chart for the latch count value Un G14 and 15 X lt 2 Ww Ze Sa E gt 5 58 ES aS o rA 5 10 O a A O z E Q O ae if a O E 3 4 Buffer Memory Assignment 3 21 3 4 2 Details of the buffer memory 3 SPECIFICATIONS MELSEG TA eres 6 Overflow detection flag Un G16 e Overflow occurrence status of the counter is stored in this area Refer to Section 5 2 1 0 No detection 1 Overflow occurred e Overflow occurs when the count value exceeds the range of 2147483648 to 2147483647 e The overflow detection flag Un G16 can be cleared by the preset command Y04 or the preset input terminal PRST SSSeeSss Operation by the QD64D2 on PL Lu B Present value X 7 X X X Un G12 and 13 2147483646 2147483647 0 1 2 Overflow detection flag i X X gt N Un G16 o SI A 0 i i i Preset value setting
44. setting Un G50 Continuous comparison No 2 start point setting Un G100 e This area is used for setting a start point number of comparison for the continuous comparison function Setting range 1 to 16 e For details of setting and operation refer to Section 5 3 2 25 o Z O lt Q u 6 w a ao 11 Continuous comparison No 1 repeat point setting Un G51 Continuous comparison No 2 repeat point setting Un G101 e This area is used for setting a repeat point number of comparison for the continuous comparison function Setting range 1 to 16 e For details of setting and operation refer to Section 5 3 2 PROCEDURES AND SETTINGS BEFORE OPERATION 12 Continuous comparison No 1 ON time setting Un G52 Continuous comparison No 2 ON time setting Un G102 e This area is used for setting ON time of the coincidence output terminal and the counter value coincidence e Setting range 1 to 10 Unit ms e For determination of ON time refer to Section 5 3 2 4 e For details of setting and operation refer to Section 5 3 2 FUNCTIONS 13 Continuous comparison No 1 point n setting Un G54 to 85 Continuous comparison No 2 point n setting Un G104 to 135 e This area is used for setting a continuous comparison point for the continuous comparison function Setting range 2147483648 to 2147483647 e For details of setting and operation refer to Section 5 3 2 UTILITY PACKAGE GX Configurator CT 14 Contin
45. the present value used for the coincidence output function e Setting procedure 1 Write any comparison point to the coincidence output No 1 point setting Un G 6 and 7 Setting range 2147483648 to 2147483647 2 Write 1 Change request to the coincidence output No 1 point change request Un G10 3 The comparison point written to the coincidence output No 1 point setting Un G6 and 7 becomes effective and the coincidence output No 1 point change request Un G10 changes from 1 to 0 No change request 4 The comparison between the set comparison point and the present value is executed Note If a value other than 1 is written to the coincidence output No 1 point change request the comparison point written to the coincidence output No 1 point setting does not become effective For the comparison point a value previously set in the coincidence output No 1 point setting is used For example the default value of the coincidence output No 1 point setting is 0 If 10000 is written to the coincidence output No 1 point setting the default value of 0 is used for the comparison point unless 1 is written to the coincidence output No 1 point change request The above procedure is described as an example of the coincidence output No 1 To set the coincidence output No 2 replace the coincidence output No 1 setting Un G6 and 7 and the coincidence output No 1 point change request Un G10 with the coincidence output
46. x Even if the coincidence signal No 1 reset command Y01 is turned from ON to OFF while the present value is equal to the coincidence output point setting the counter value coincidence X02 and the coincidence output No 1 terminal EQU1 turn ON again PROGRAMMING 3 When the counter value coincidence No 1 X02 is turned from OFF to ON by the coincidence detection process of the QD64D2 there may be cases where the counter value large No 1 X01 or the counter value small No 1 X03 turns ON TROUBLESHOOTING 5 3 Using the Counter Value Comparison Function 5 11 5 3 1 Using the coincidence output function D FUNCTIONS MELSEG LY series 2 Wiring check for the coincidence output No 1 terminal EQU1 and the coincidence output No 2 terminal EQU2 For the coincidence output function the wiring cannot be checked with the coincidence output test function refer to Section 5 3 3 Check the wiring referring to the following procedures Wiring check for the coincidence output No 1 terminal EQU1 of channel 1 is indicated below 1 Set the same value for the coincidence output No 1 point setting Un G6 and 7 and the present value Un G12 and 13 2 Write 1 Change request for the coincidence output No 1 point change request Un G10 If the setting is other than 1 the value after changing the coincidence output No 1 point setting Un G6 and 7 is not reflected and the comparison is performed with the value before
47. 000000000000000000000000000000000000000000000 App 1 INDEX Index 1 to Index 2 Compliance with the EMC and Low Voltage Directives 1 2 For programmable controller system To configure a system meeting the requirements of the EMC and Low Voltage Directives when incorporating the Mitsubishi programmable controller EMC and Low Voltage Directives compliant into other machinery or equipment refer to Chapter 9 EMC AND LOW VOLTAGE DIRECTIVES of the QCPU User s Manual Hardware Design Maintenance and Inspection The CE mark indicating compliance with the EMC and Low Voltage Directives is printed on the rating plate of the programmable controller For the product For the compliance of this product with the EMC and Low Voltage Directives refer to Section 4 4 1 Wiring precautions GENERIC TERMS AND ABBREVIATIONS This manual describes the type QD64D2 4Mpps capable high speed counter module using the following generic terms and abbreviations unless otherwise specified Generic term and abbreviation QD64D2 Description Abbreviation for the type QD64D2 4Mpps capable high speed counter module CHO Generic term for CH1 and CH2 Coincidence signal No m Generic term for the coincidence signal No 1 and the coincidence signal No 2 Coincidence output No m Generic term for the coincidence output No 1 and the coincidence output No 2 Continuous comparison No m Generic term for the continuous com
48. 0000000000000000000000000000000000000000000000000000 3 3 3 2 Function List 0ooooooooooooooo00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 3 5 3 3 I O Signals to the Programmable Controller CPU cooooooooooooooo00000000000000000000000000000000000000000000 3 6 3 3 1 3 3 2 List of I O signals ccoooooooooooooooo0000000000000000000000000000000000000000000000000000000000000000000000000000 3 6 Functions of O signals 0ooooooooooooo000000000000000000000000000000000000000000000000000000000000000000000000 3 e 8 3 4 Buffer Memory Assignment COO OOOO OOOO 000000000000000000000000000000000000000000000000000000000000000000000000 3 15 3 4 1 3 4 2 List of buffer memory ASSIGNME Nteceeeeeccccccccccccccscccsccscccsccscccsoccsccccccscccvocscccsooscoccos 3 m 15 Details of the buffer memory 0000000000000000 00000000000000000000000000000000000000000000000000000000000000 3 19 3 5 Specifications of I O Interfaces with External Device 000000000000000 OOOO OOOOH OOOOH OOOO OOOO OOOOH OOO OOOO OOOO 3 24 3 5 1 3 5 2 3 5 3 3 5 4 Electrical specifications of I O signals SOOOOOH OH OHHSSHSHHH SSH OHH OHHHSHHHSHHSSHHHHOHOSHHHSHHHSHHHHHHOHHHHOHOOOOOOE 3 24 Signal layout for external device connector eecececccccccccccccccccccccccvcccccccccccccccccccocococovocs 3 25 List of I O signal details 000000000000000 00000000000000000000000000000000000000000000000000000000000000000000 3 26 Interface for external
49. 03 are explained For the counter value large No 2 X04 the counter value coincidence No 2 X05 and the counter value small No 2 X06 operations are the same except that I O numbers X Y and buffer memory addresses of the point used for comparison are OVERVIEW CONFIGURATION SYSTEM 3 different a Operation when used for the coincidence output function Refer to Section 5 3 1 9 fe i Counter value Counter value Counter value large coincidence small 5 No 1 X01 No 1 X02 No 1 X03 a Coincidence output No 1 point Present value Un G12 and 13 lt setting OFF OFF ON Un G6 and 7 Present valie Coincidence output No 1 point 9 n Un G12and 13 7 sening ue ad OFF PE Un G6 and 7 Wins 300 Coincidence output No 1 point Q0F Present value tti ON OFF OFF Bes Un G12 and 13 Seng OF u Un G6 and 7 ano The counter value coincidence No 1 X02 remains ON until the coincidence signal No 1 reset command Y01 is turned ON Hee tees Operation by the QD64D2 _ Operation by the sequence program Immediately after power on or reset of the programmable controller CPU FUNCTIONS Coincidence output No 1 point setting Un G6 and 7 Present value Un G12 and 13 Counter value large No 1 X01 i 4 OFF Counter value coincidence No 1 X02 a UTILITY PACKAGE GX Configurator CT Counter value small No 1 X03 Coinci
50. 0UDEHCPU and Q100UDEHCPU Redundant CPU Generic term for the Q12PRHCPU and Q25PRHCPU Windows Vista Generic term for the following Microsoft Windows Vista Home Basic Operating System Microsoft Windows Vista Home Premium Operating System Microsoft Windows Vista Business Operating System Microsoft Windows Vista Ultimate Operating System Microsoft Windows Vista Enterprise Operating System Windows XP PACKING LIST Generic term for the following Microsoft Windows XP Professional Operating System Microsoft Windows XP Home Edition Operating System The following are included in the package Model QD64D2 Product name Quantity Type QD64D2 4Mpps capable high speed counter module 1 SWOD5C QCTU E SWOD5C QCTU EA A 10 GX Configurator CT Version 1 single license product CD ROM GX Configurator CT Version 1 volume license product CD ROM 1 OVERVIEW MELSEC TA eries CHAPTER1 OVERVIEW This User s Manual describes the specifications handling and programming methods for the type QD64D2 4Mpps capable high speed counter module used together with the MELSEC Q series CPU module OVERVIEW The QD64D2 has the following input methods rA fej 1 multiple of 1 phase pulse e2 multiples of 1 phase pulse CW CCW lt input in
51. 1 Applicable modules and the number of mountable modules Applicable CPU module No of Base unit 2 4 i Extension base CPU type CPU model modules Main base unit it uni QOO0JCPU Up to 8 Basic model F QOOCPU O O acru QO1CPU ee Q02CPU QO02HCPU QO6HCPU Up to 64 O O Q12HCPUti idK Q25HCPU QO02PHCPU QO6PHCPU Process CPU Q12PHCPU Up to 64 O O Q25PHCPU Programmable 4 Q12PRHCPU controller CPU Redundant CPU O25PRHCPU Up to 53 x Oo QOOUJCPU Up to 8 QOOUCPU Q01UCPU Q02UCPU Up to 36 QO3UDCPU Q04UDHCPU O O QO6UDHCPU Q10UDHCPU Up to 64 Q13UDHCPU Q20UDHCPU Q26UDHCPU High Performance model QCPU Up to 24 Universal model QCPU 2 1 2 1 Applicable Systems 2 SYSTEM CONFIGURATION M aL 26 Fel ceries Table 2 1 Applicable modules and the number of mountable modules Continued Applicable CPU module CPU type CPU model Q03UDECPU Q04UDEHCPU QO6UDEHCPU i Q10UDEHCPU Universal model Programmable QCPU Q13UDEHCPU Up to 64 oO O controller CPU Q20UDEHCPU Q26UDEHCPU Q50UDEHCPU Q100UDEHCPU Safety CPU QS001CPU N A x x 5 QO6CCPU V C Controller module QO6CCPU V B Up to 64 O O Q12DCCPU V No of modules O Applicable x N A 1 Limited within the range of I O points for the CPU module 2 Can be installed to any I O slot of a base unit 3 For the coincidence detecti
52. 2H CW CCW 0 0 O0 0 0 0 0 0 a J K 0 fixed 0 fixed J Use prohibited 0 fixed Counter format CH1 0 Linear counter 2 Switch 2 CH2 setting b15 b14 b13b12 b11 b10 b9 b8 lt Switch 2 gt 1 1110 2 1 1 1 1 Counter value comparison function selection CH1 0 Coincidence output function Pulse input mode CH2 2H CW CCW 0 0 0 1 o 0 0 1 k J i I Use prohibited 0 fixed 0 fixed 0 fixed Counter format CH2 1 Ring counter Counter value comparison function selection CH2 1 Continuous comparison function 3 Switch 3 switch 4 switch 5 Use prohibited 0 fixed lt Switch 3 to 5 gt 0 loj jol Jo Fixed at 0 If any other than 0 is set to the switches from 1 to 5 where 0 is fixed the functions of the QD64D2 are not guaranteed b Write the settings in a to the QD64D2 On GX Developer s Parameter setting screen select the I O assignment tab click Switch setting and make settings of Switch 1 to 5 on the screen shown below Switch setting for I O and intelligent function module Input format HEX slot Tye Modelname Switch 1 Switch 2 Switch 3 Switch 4 Switch 5
53. 3 No 1 repeat point setting me rove _ ane 7 CH2 continuous comparison a j T No 1 ON time setting D u0 x x pmove K20000 G254 ees pase a ae 0 1 point 1 setting move 40000 ate y CH2 continuous comparison K No 1 point 2 setting ow lt 2 ser M10 7 a Wi z es ag e rogram ee cee 1 Count control program O E a 1 a Count operation program z m O Starts count operation x0 x20 a s J CH1 count enable command Y06 ON Stops count operation x0 X21 rsr 8 CH1 count enable command J Y06 OFF ai Present value storage N x0 X22 U0 n A a G12 D0 J Stores CH1 present value to DO O z 1 b Preset execution program sets the present value as preset value xO X23 Qa gt CH1 preset command Y04 ON 1 c Latch counter function program x Latches the present value 9 x x i wW i i Gr y CH1 latch counter execution a command Y07 ON 5 OL X25 UO ts omov aia D2 7 Stores CH1 latch count value E w to D2 Ea Jg ES EAS j PROGRAMMING TROUBLESHOOTING 7 4 Programming Example when GX Configurator CT is not Used 7 14 PROGRAMMING 2 Counter value comparison program 2 a Coincidence output function program Setting for outputting the counter value coincidence signal outside Processing at count value coincidence x0 Y3 x2 Y1 t HK 30 x2 X27 HK SET Y1 x2 Y1 RST Y1 3 Auxiliary program 3 a Overflow detection processing pr
54. 5 1215 1 Latch count value MA Read onl Only used for the linear counter 16 216 Overflow detection flag SATRI E i function 17 217 External I O status monitor 2 18 218 Error code 2 19 219 Warning code 2 20 220 to to Reserved 49 249 J 50 250 Continuous comparison No 1 start point setting Read write l oe Continuous comparison No 1 repeat point Only used for the continuous 5 51 251 0 are S setting bled comparison function ZE 52 252 Continuous comparison No 1 ON time setting STARRE Es 2 53 253 Reserved 54 254 Continuous comparison No 1 point 1 L 55 255 setting 2 H saudi 56 256 Continuous comparison No 1 point 2 L peer Only used for the continuous 0 are a 57 257 setting H ST comparison function enabled 58 258 Continuous comparison No 1 point 3 L 5 59 259 setting 2 H a 1 Initial value which is set when the module is powered on or the programmable controller CPU is reset 2 Read and write a value in 32 bit signed binary format Make sure to use a value in units of 2 z words 8 ae if a O 3 4 Buffer Memory Assignment 3 15 3 4 1 List of buffer memory assignment 3 SPECIFICATIONS MELSEG TA eres Table 3 5 List of buffer memory assignment Continued Address decimal Setting contents Read write Remarks notation
55. 7 3 Programming Example when GX Configurator CT is Used PROGRAMMING Table 7 4 Auto refresh setting MELSEC TA cries Description Setting value CH1 Present value DO CH1 Latch count value D2 CH1 Overflow detection flag D4 CH2 Present value D8 CH1 Error code D118 CH1 Warning code D119 CH2 Error code D120 CH2 Warning code D121 1 Set this only when using the latch counter function 2 Set this only when using the linear counter function c Writing the intelligent function module parameters Write the intelligent function module parameters to the CPU module This operation is performed using the parameter setting module selection screen For writing of intelligent function module parameters with GX Configurator CT refer to Section 6 3 3 7 3 Programming Example when GX Configurator CT is Used PROGRAMMING MELSEG series 3 Programming example Initial setting program Ww Resets the coincidence signal at power ON 2 x0 Y6 M10 PEA S 14 1 ser y1 Y CH1 coincidence signal No 1 6 reset command Y01 ON SET M10 7 CH1 program rA 1 Count control program O 1 a Count operation program E Starts count operation o zo X20 2 P_ 4 P_ Y6 J CH1 count enable ai command Y06 ON bz Stops count operation aS xO X21 rst Y6 y CH1 count enable command Y06 OFF 1 b Preset execution program sets the present value as preset value x0 X23 Qa y CH1
56. 8 6 6 1 Monitoring test COC COCOOO OOOO OOO OOOO OOOO OOOO OOO OOOO OOO OOOO OOOOH OOOOH OO OOO OOOO OOOO OOOOH OOOO OOOO OO OOOO OOO OO OOS 6 18 CHAPTER7 PROGRAMMING 7 1to7 18 7 1 Programming Procedure ocoooooooooooooooo0o0000000000000000000000000000000000000000000000000000000000000000000000 1 A 7 7 2 For Use in Normal System Configuration 0coooooooooooooooooo00000000000000000000000000000000000000000000000000 3 7 2 1 Before creating a pPrograme eeeeccccccccccccccccococccccococccococccccccccccocccccccccccccocccocccccccoccoeee 7 4 7 3 Programming Example when GX Configurator CT is Used Cecccccccccccccccccccccccccccccccccococccoooocce 6 7 4 Programming Example when GX Configurator CT is not Usederesesecccesescscscccccccccssccsecccococes 7 12 7 5 Program Example when the Coincidence Detection Interrupt Function is Used seeeseseeeeeeeeeeee 7 17 CHAPTER8 TROUBLESHOOTING 8 1to 8 13 8 1 Error Processing and Recovery Methods coooooooooooooooo00000000000000000000000000000000000000000000000000000 3 1 8 1 1 Checking error description using System Monitor of GX Developer eeeeseeseeseseeseseooeceeceecee 8 1 8 1 2 When the RUN LED turns OFF seessseesseesseccocesseesoooccocecsocsococsooccoocssocsseccsoccooessoesssee 8 3 8 1 3 When the RUN LED and ERR LED turn ON eccceececccccccccccccccccccccccccccccccccoccccsoccoscesoesees 8 3 8 1 4 When the RUN LED and FUSE LED turn ON s sesssseseesssooocsosococosooooocsoocoo
57. 9 MITSUBISHI ELECTRIC Mitsubishi Programmable Controller MELSEG Led cries 4Mpps Capable High Speed Counter Module User s Manual QD64D2 GX Configurator CT SWOD5C QCTU E SAFETY PRECAUTIONS Read these precautions before use Before using this product please read this manual carefully and pay full attention to safety to handle the product correctly The precautions given in this manual are concerned with this product For the safety precautions of the programmable controller system please read the User s Manual for the CPU module In this manual the safety precautions are classified into two levels N WARNING and A CAUTION A WARNING Indicates that incorrect handling may cause hazardous conditions resulting in death or severe injury A Indicates that incorrect handling may cause hazardous conditions CAUTION resulting in minor or moderate injury or property damage eS e Note that the CAUTION level may lead to a serious consequence according to the circumstances Always follow the precautions of both levels because they are important to personal safety Please save this manual to make it accessible when required and always forward it to the end user DESIGN PRECAUTIONS WARNING Do not write data to read only area or reserved area in the buffer memory of the intelligent function module Also do not turn ON OFF the reserved signal in I O signals to the programmable controller
58. A 2 to 5mA 0 1mA or less 10kQ ON OFF 1 0ms or less External coincidence 12 or 24VDC Approx output power supply 8mA 10 2 to 30VDC 3 9k 12 24V TYP 24VDC ae Signal name Coincidence output No 1 2 Output specifications Table 3 7 Output specifications of the QD64D2 Maximum load Maximum Coincidence output No 2 3 24 Rated load voltage 12 24VDC Operating load voltage range 10 2 to 30VDC current rush current 0 5A point 2A common 3 5 Specifications of I O Interfaces with External Device 3 5 1 Electrical specifications of I O signals voltage drop at ON 1 5VDC Leakage current at OFF 0 1mA or less Response time rated load resistance load OFF ON 0 05ms or less ON OFF 0 1ms or less 3 SPECIFICATIONS M als AG lA orie 3 5 2 Signal layout for external device connector The specifications of the connector section which is the I O interface for the QD64D2 and ii external device are shown below gt z0 BE a 25 o Z O lt Q m 6 w a ao QD6402 aw Ze lt 0 Figure 3 25 Appearance of the QD64D2 id Fr aoe 3 r WZ 3 Table 3 8 Signal layout for external device connector SE wA CH1 CH2 Be Terminal layout Terminal 3 Terminal R Signal
59. CH1 counter value coincidence No 1 X0D CH1 error occurrence XOE CH1 warning occurrence yo1 CH1 coincidence signal No 1 reset command Y03 CH1 coincidence output enable command Y04 CH1 preset command Y0O6 CH1 count enable command Y07 CH1 latch counter execution command QD64D2 X Y00 to X Y1F YOD CH1 error reset command X12 CH2 counter value coincidence No 1 X1D CH2 error occurrence X1E CH2 warning occurrence Y14 CH2 preset command Y16 CH2 count enable command y19 6 CH2 continuous comparison No 1 execution command Y1D CH2 error reset command 7 4 Programming Example when GX Configurator CT is not Used T 12 OVERVIEW CONFIGURATION SYSTEM SPECIFICATIONS PROCEDURES AND SETTINGS BEFORE OPERATION FUNCTIONS UTILITY PACKAGE GX Configurator CT j PROGRAMMING TROUBLESHOOTING PROGRAMMING T 13 MELSEC TA eries Table 7 5 List of devices continued Device Function X20 CH1 count operation start signal X21 CH1 count operation stop signal X22 CH1 present value read signal X23 CH1 preset command signal x241 CH1 latch execution command signal X251 CH1 latch count data read signal x26 CH1 coincidence output enable signal X275 CH1 coincidence LED clear signal QX40 X20 to X2F X28 CH1 error warning reset command signal X2A CH2 count operation start signal X2B CH2 count operation stop signal X2C CH2 present
60. CTIONS Table 4 1 Tightening torque range of module fixing screw Screw Tightening torque range Module fixing screw M3 0 36 to 0 48 Nem Connector screw of module M2 6 0 20 to 0 29 Nem 5 1 The module can be easily fixed onto the base unit using the hook at the top of the module f However it is recommended to secure the module with the module fixing screw if the module is 2 3 subject to significant vibration 5 8 6 When mounting the module to the base unit insert the module fixing projection into the fixing hole in the base unit and mount the module with using the hole as a supporting point z Incorrect module mounting may cause a malfunction failure or drop of Z the module 2 TROUBLESHOOTING 4 1 Handling Precautions 4 1 PROCEDURES AND SETTINGS BEFORE OPERATION MELSEC TA cries 4 2 Procedures before Operation The following flowchart shows the procedures for operating the QD64D2 Start y Module mounting Mount the QD64D2 to the specified slot y Wiring Wire external devices to the QD64D2 y Intelligent function module switch setting Set the switches with GX Developer refer to Section 4 5 Use GX Configurator CT Yes Make the initial setting Make the initial setting Initial setting Initial setting Create a sequence program for writing Make initial settings with initial values with the FROM TO GX Configurator C
61. Configurator CT functions list Function Description Reference 1 Make the initial settings for each channel to operate the QD64D2 Set the values of the items where initial settings are required e CHO Ring counter lower limit e CHO Ring counter upper limit CHO Preset value setting e CHO Coincidence output No 1 point setting CHO Coincidence output No 2 point setting e CHO Coincidence output No 1 point change request e CHO Coincidence output No 2 point change request Initial setting e CHO Continuous comparison No 1 start point setting Section 6 4 e CHO Continuous comparison No 1 repeat point setting e CHO Continuous comparison No 1 ON time setting e CHO Continuous comparison No 1 point n setting n 1 to 16 e CHO Continuous comparison No 2 start point setting e CHO Continuous comparison No 2 repeat point setting e CHO Continuous comparison No 2 ON time setting e CHO Continuous comparison No 2 point n setting n 1 to 16 2 Data with initial settings are registered to programmable controller CPU parameters and are automatically written to the QD64D2 when the programmable controller CPU is in RUN 1 Set the buffer memory of the QD64D2 to which auto refresh is to be performed for each channel e CHO Present value e CHO Latch count value e CHO Overflow detection flag e CHO External I O status monitor AWO rieh CHO Error code e CHO Warning code Section 6 5 CHO Continuous comparison No 1 point monitor during
62. HCPU Multiple CPU system Version 6 or later Single CPU system 2H HCP V 8 68W or lat Q02H Q06HCPU Multiple CPU system ersion or later Single CPU system Q12PH Q25PHCPU Version 7 10L or later Multiple CPU system Q12PRH Redundant system Version 8 45X or later Q25PRHCPU 00UJ ingle CP t e See SNe ca al Version 8 76E or later Q01UCPU Multiple CPU system Q02U Q03UD Single CPU system Q04UDH Version 8 48A or later Multiple CPU system QO6UDHCPU Q10UDH Single CPU system c j Version 8 76E or later Q20UDHCPU Multiple CPU system Q13UDH Single CPU system Version 8 62Q or later Q26UDHCPU Multiple CPU system QO03UDE Q04UDEH Single CPU system QO6UDEH Q13UDEH Version 8 68W or later Q26UDEHCPU Multiple CPU system Q10UDEH Single CPU system Version 8 76E or later Q20UDEHCPU Multiple CPU system Q50UDEH Single CPU system oF Use prohibited Q100UDEHCPU Multiple CPU system Software version Version 1 28AE or later Use prohibited GX Developer GX Configurator CT GX Works2 Version 1 10N or later Version 1 08J or later Use prohibited Version 1 08J or later Version 1 31H or later When mounted to the MELSECNET H remote O station 4 Connector Version 6 or later Version 1 28AE or later The connector is not included with the QD64D2 Purchase it with reference to Section 4 3 2 1 Applicable Systems Use prohibited OVERVIEW N Zz O fo Le Zz fe
63. Intelligent function module parameters B Data saved by Make text file g 9 Z I 7 E e E E S Figure 6 3 Correlation chart for data created with the utility package z 3 Ps 6 3 Utility Package Operation 6 8 6 3 1 Common utility package operations 6 UTILITY PACKAGE GX Configurator CT 6 3 2 E Operation overview MELSEG Q series GX Developer screen Window Help Confirm project memory size Merge data Check parameters Transfer ROM Delete unused comments Clear all parameters IC memory card Start ladder logic test Set TEL data tion utility Utility list EB support Function gt Ea Customize keys Options Create start up settings file Tools Intelligent function utility Start Screen for selecting a target intelligent function module Intelligent function module utility C MELSEC Gppwioo E BR Intelligent function module parameter Online Tools Help Select a target intelligent function module Start 1 0 No 0000 Module type Counter Module Module model name QD64D2 Parameter setting module Intelligent function module parameter Start 1 0 No Module model name Initial setting Auto refresh lt Available v Initial setting Autoreftesh Refer to Section 6 3 3 Enter Start I O No and select Module type and Module model nam
64. Is the ON and OFF time of the latch counter execution command Y07 longer than 2ms Set the ON and OFF time 2ms or longer Section 3 3 F r Turn OFF the latch counter input terminal Is the latch counter input terminal LATCH ON LATCH Section 5 5 8 9 2 When the latch counter function cannot be executed by the latch counter input terminal LATCH Table 8 17 When the latch counter function cannot be executed by the latch counter input terminal LATCH Check item Action Reference Is the external wiring of the latch counter input Check the external wiring and correct the error Section 3 5 terminal LATCH correct Is the latch counter execution command Y07 Turn OFF the latch counter execution command ON Y07 Section 5 5 8 10 When the Error Code Un G18 Warning Code Un G19 Cannot be Reset Table 8 18 When the error code Un G18 warning code Un G19 cannot be reset Check item Action Reference Refer to the description and action columns in error F Is the cause of the error warning fixed Section 8 11 code and warning code list and fix the cause Is the ON and OFF time of the error reset y 7 Set the ON and OFF time 2ms or longer Section 3 3 command YOD 2ms or longer 8 9 8 9 When the Latch Counter Function Cannot be Executed 8 9 1 When the latch counter function cannot be executed by the latch counter execution command Y07 8 TROUBLESHOOTING M als 2G a ceries 8 11
65. No 1 point 2 setting 40000 2 This program example does not use the continuous comparison No 2 d CH2 uses the ring counter function refer to Section 5 2 2 e Ring counter lower limit value 50000 e Ring counter upper limit value 50000 7 3 7 2 For Use in Normal System Configuration PROGRAMMING MELSEG TA eres 7 2 1 Before creating a program Perform the following steps before creating a program ii S ia 1 Wiring of external devices 5 Mount the QD64D2 on the base unit and connect the external devices e Wire encoders to all CH1 and CH2 refer to Section 4 4 2 Wiring diagram QD64D2 Be gt O nO no CH1 6 Encoder 9 D aw ago 538 ue CH2 CH2 PULSE A Eoo Encod ncoder BO i ry CH2 PULSE B __ ee i e CH2 PULSE B no 6 2 CH1 external device 3 c a CH2 external device gt 5 7 24VDC PROGRAMMING Connect external power supply Figure 7 3 Wiring example of the program example TROUBLESHOOTING 7 2 For Use in Normal System Configuration 7 4 7 2 1 Before creating a program PROGRAMMING MELSEG TA eres 2 Intelligent function module switch setting Based on the setting conditions given in Section 7 2 2 make the intelligent function module switch settings a Each switch setting 1 Switch 1 CH1 setting lt Switch 1 gt 0 0 O 2 Pulse input mode b15 b14b13b12 b11b10 b9 b8 CH1
66. No 2 point setting Un G8 and 9 and the coincidence output No 2 point change request Un G11 Soares gt Operation by the QD64D2 Coincidence output No 1 point change request o X 1 X 0 X 1 X 0 Un G10 1 v 1 es ae Dias gle 4 Coincidence output No 1 point 1 setting a X Te 4 a Un G6 and 7 1 When the coincidence output No 1 point setting Un G6 and 7 becomes effective the QD64D2 writes 0 to the coincidence output No 1 point change request Un G10 Figure 3 20 Timing chart for the coincidence output No 1 point setting Un G6 and 7 and the coincidence output No 1 point change request Un G10 e For details of the operation refer to Section 5 3 1 3 20 3 4 Buffer Memory Assignment 3 4 2 Details of the buffer memory 3 SPECIFICATIONS MELSEC IA series 4 Present value Un G12 and 13 Present value of the counter is stored in this area e Setting range 2147483648 to 2147483647 z An example when the pulse input mode is CW CCW is shown below 3 oA f f OB E ON Count enable command i a Y06 Present value Un G12 and 13 25 Figure 3 21 Timing chart of the present value Un G12 and 13 5 Latch count value Un G14 and 15 e The latched value of the present value Un G12 and 13 is stored in this area Refer to Section 5 5 e When one of the following conditions is satisfied the present value Un G12 and
67. O OO OOOO OOOO OOOO OOOE 5 5 Ring counter lower limit value Un GO and 1 3 19 Ring counter upper limit value Un G2 and 3 3 19 RUN COCOCOOOO OOO OOOO OOOOH OOOO OOO OOOOH OOOO OOO OOOOH OOOOOOOOOOE 4 3 S Sl COCO OOOOO OOOO OOOOH OOOO OOOO OOOO OOOOH OOOO OOO OOOO OOO OOOOOOOS 5 24 Subtraction count command Y05 sssssesseseeseeses 3 13 T Text file COCO OCOOOOOO OOO OOOOOO OOO OOOO OOOOO OOO OOOO OOOO OOOO EOOE 6 8 TROUBLESHOOTING POS CoCeoececcecoooooooeooeooooeee 8 1 U Utility Package 000000000000 OOOC OOOO OOOO OOOO COOOL OOOSOOOCE 6 1 W Warning code Un G1 9 PCOS eeccccccccccoocoosococeoeece 3 23 Warning occurrence XOE Cccccccccccccccccccccococes 3 1 Wiring precautions SOOSCOOHHOH OHHH HOH OHHH HHOHOHHOHOHOOOEOS 4 5 Numerics 1 multiple of 1 phase ccoooooooooooooooooo0000000000000000 5 1 multiple of 2 phases ccoooooooooooooooooo00000000000000 5 2 multiples of 1 phase ccoooooooooooooooooo00000000000000 5 2 multiples of 2 phases coooooooooooooooo0000000000000000 57 4 multiples of 2 phases oooooooooooooo0o00000000000000000 57 Index 2 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 th
68. OF m wQ ano FUNCTIONS UTILITY PACKAGE GX Configurator CT PROGRAMMING TROUBLESHOOTING 4 5 Intelligent Function Module Switch Setting 4 11 PROCEDURES AND SETTINGS BEFORE Sli RATION M ELSEG Q series 3 Operating procedure Set the switches on the I O assignment screen of GX Developer a I O assignment screen Make the following settings to the slot to which the QD64D2 is mounted Type Select Intelli Model name Input the model of the module Points Select 32points Start XY Input the start I O number of the QD64D2 Q parameter setting FLC name PLC system PLC fle PLC RAS 1 PLC RAS 2 Device Program Boot fle SFC 1 0 assignment 1 0 Assignment k Switch setting QD64D2 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 Base setting Base model name Power model name 8 Slot Default 12 Slot Defaut Da aep ee Pe import Muliple CPU Parameter _ Read PLC data Acknowledge XY assignment Multiple CPU settings Defaut Check Cancel Figure 4 9 Setting example of I O assignment b Switch setting for I O and intelligent function module screen Click the Switch setting on the I O assignment screen to display the screen below and set the sw
69. P external preset request detection reset command Y08 2ms or longer 8 8 2 When the preset cannot be executed by the preset input terminal PRST aw Zo lt O 8 m Table 8 15 When the preset cannot be executed by the preset input terminal PRST 5 h E Check item Action Reference a Is the external wiring of the preset input terminal a a6 Check the external wiring and correct the error Section 3 5 PRST correct Is the interval after changing the preset value setting Un G4 and 5 until turning ON the preset Set the interval 2ms or longer Section 3 4 input terminal PRST 2ms or longer D Turn ON the external preset request detection reset command Y08 and reset OFF the 2 Is the external preset request detection X08 external preset request detection X08 Secon ee ection 3 ON At the time set the ON and OFF time of the external preset request detection reset command WwW Y08 longer than 2ms SE ES 58 g 0 O z E G 4 if a gt fe 8 8 When the Preset Cannot be Executed 8 8 8 8 1 When the preset cannot be executed by the preset command Y04 8 TROUBLESHOOTING MELSEG TA eres 8 9 When the Latch Counter Function Cannot be Executed 8 9 1 When the latch counter function cannot be executed by the latch counter execution command Y07 Table 8 16 When the latch counter function cannot be executed by the latch counter execution command Y07 Check item Action Reference
70. Read write l 122 322 Continuous comparison No 2 point 10 L 0 are enabled Only used for the continuous 123 323 setting 2 H comparison function 124 324 Continuous comparison No 2 point 11 L ae 125 325 setting 2 H ga z 126 326 Continuous comparison No 2 point 12 L a2 amp 127 327 setting 2 H ean a 128 328 Continuous comparison No 2 point 13 L 129 329 setting 2 H 130 330 Continuous comparison No 2 point 14 L 131 331 setting 2 H 132 332 Continuous comparison No 2 point 15 L 2 133 333 setting 2 H 134 334 Continuous comparison No 2 point 16 L 135 335 setting 2 H 136 336 Continuous comparison No 2 point monitor Read only during comparison E eer on 6 to to Reserved Sa 199 399 gt 1 Initial value which is set when the module is powered on or the programmable controller CPU is E 5 reset 2 Read and write a value in 32 bit signed binary format Make sure to use a value in units of 2 words Z 10 O z E Q 2 if a O E 3 4 Buffer Memory Assignment 3 17 3 4 1 List of buffer memory assignment 3 SPECIFICATIONS 3 18 MELSEC TA eries 4 POINT The reserved areas in the above table and areas not mentioned in the table are for system use not for users If written by a user the functions of the QD64D2 are not guaranteed All data in the buffer memory of the QD64D2 are initialize
71. S PROCEDURES AND SETTINGS BEFORE OPERATION FUNCTIONS UTILITY PACKAGE GX Configurator CT PROGRAMMING e e O zZ G O T o m l D gt E 8 TROUBLESHOOTING MELSEG TA eres 8 7 When the Coincidence Output Test Function Cannot be Executed Table 8 13 When the coincidence output function cannot be executed Check item Action Reference While selecting the coincidence output function Has the counter value comparison function the coincidence output test function cannot be selection been set to the coincidence output used To perform wiring check while selecting a Section 5 3 1 2 function coincidence output function refer to procedure in Section 5 3 1 2 8 7 8 7 When the Coincidence Output Test Function Cannot be Executed 8 TROUBLESHOOTING M als 2G a ceries 8 8 When the Preset Cannot be Executed z 8 8 1 When the preset cannot be executed by the preset command 2 ia Y04 3 Table 8 14 When the preset cannot be executed by the preset command Y04 Check item Action Reference Is the ON and OFF time of the preset command 5 Set the ON and OFF time 2ms or longer se Y04 2ms or longer Hip Turn ON the external preset request detection 58 reset command Y08 and reset OFF the ET ection 3 Is the external preset request detection X08 external preset request detection X08 ON At the time set the ON and OFF time of the
72. T refer to Section 6 4 instruction No Make the auto refresh setting Auto refresh setting Make the auto refresh setting with GX Configurator CT refer to Section 6 5 J Programming Programming Create and a program for counter Create and a program for counter processing with the FROM TO instruction processing without the FROM TO and check it instruction and check it Figure 4 1 Procedures before operation 4 2 4 2 Procedures before Operation PROCEDURES AND SETTINGS BEFORE ela SUT M eL 2G Q ceries 4 3 Part Names The following explains the part names of the QD64D2 OVERVIEW QD64D2 2 gt Connector terminal number ee aaa CONFIGURATION SYSTEM Connector terminal number SPECIFICATIONS A QD64D2 w x O re ui m a 0 4 w N ja Zz a N raz 326 2 wae SE wi eCwao ano 3 Figure 4 2 Appearance of the QD64D2 Table 4 2 Part names Name Description Indicates operating status of the QD64D2 RUN ON Normal operation FUNCTIONS OFF Watchdog timer error Indicates error status of the QD64D2 ERR ON Error at 1 CH or more OFF All channels in normal operation Indicates fuse status of external coincidence output part FUSE ON Blown fuse detected OFF Blown fuse not detected Indicates in
73. TION SYSTEM SPECIFICATIONS PROCEDURES AND SETTINGS BEFORE FUNCTIONS OPERATION UTILITY PACKAGE GX Configurator CT fo PROGRAMMING O zZ G O T o m l D gt E 8 TROUBLESHOOTING 8 4 M ELSEC Eseries When the Counter Value Coincidence No 1 X02 or Counter Value Coincidence No 2 X05 does not Turn ON OFF 8 4 1 When selecting the coincidence output function 1 When the counter value coincidence does not turn ON Table 8 8 When the counter value coincidence does not turn ON when selecting the coincidence output function Check item Action Reference A After changing the coincidence output No m point Has the coincidence output No m point change setting Un G6 and 7 and Un G8 and 9 set the i request Un G10 and 11 been set to 1 Change BD Section 3 4 coincidence output No m point change request to request 4 Is the coincidence signal No m reset command Turn OFF the coincidence signal No m reset ET ection 3 Y01 and Y02 ON command Has the coincidence output No m point setting Un G6 and 7 and Un G8 and 9 been set to out Set the coincidence output No m point setting Section 3 4 of the count range of the ring counter Only for the ring counter m indicates the coincidence output number 2 When the counter value coincidence does not turn OFF value to within the count range of the ring counter Table 8 9 When the counter va
74. W z Z SEM ano ol o Z O O Z Le UTILITY PACKAGE GX Configurator CT PROGRAMMING TROUBLESHOOTING 5 2 Selecting a Counter Format 5 3 5 1 1 Types of the pulse input method D FUNCTIONS MELSEG LY series 5 2 1 Selecting the linear counter 1 Linear counter operation a For the linear counter the counting is executed within the range of 2147483648 to 2147483647 A Present value Overflow 2147483647 4 gt Subtraction Addition 2147483648 Overflow v Figure 5 1 Operation image of the linear counter b The following functions can be used in combination e Counter value comparison function Coincidence output function continuous comparison function e Coincidence detection interrupt function e Preset function e Latch counter function 2 Overflow error a If the present value Un G12 and 13 exceeds the range of 2147483648 to 2147483647 an overflow error occurs b The following are processed at the overflow error e The counting stops Even if a pulse is input at this status the present value Un G12 and 13 remains at 2147483648 or 2147483647 e 1 is stored in the overflow detection flag Un G16 e The error occurrence XOD turns ON and the error code 100 is stored in the error code Un G18 c The overflow error can be cleared by setting the present value Un 12 and 13 within the range of 2147483648 to 2147483647 using the pres
75. X0D Error occurrence X1D Error occurrence XOE Warning occurrence X1E Warning occurrence XOF Reserved X1F Blown fuse detection flag 41 The signals are used only for the continuous comparison function EJPOINT The reserved signals above are for system use not for users If used turning ON OFF by a user the functions of the QD64D2 are not guaranteed 3 6 3 3 I O Signals to the Programmable Controller CPU 3 3 1 List of I O signals 3 SPECIFICATIONS M als AG lA orie 2 List of output signals Signal direction Programmable controller CPU QD64D2 Table 3 4 List of output signals z W Te 3 Operation I O f Operation 3 Signal name eee Signal name San number timing number timing YOO Reserved Y10 Reserved vol Coincidence signal No 1 reset vA Coincidence signal No 1 reset command command E ap Coincidence signal No 2 reset T L ye Coincidence signal No 2 reset be O command 1 command 1 3 w Coincidence output enable T Coincidence output enable command 1 A L command 1 no Y04 Preset command f Y14 Preset command 6 xt 9 Yo05 Subtraction count command Y15 Subtraction count command 5 oO no Y0O6 Count enable command Y16 Count enable command Latch counter execution Latch counter execution Y0O7 Y17 CH1 command J L CH2 command 2 08 External preset request 18
76. Z O O Z Le 1 Write any value in the preset value setting Un G4 and 5 of the QD64D2 in 32 x bit binary format z At the rising edge OFF ON of the preset command Y04 the preset value 35 2 setting Un G4 and 5 is stored in the present value Un G12 and 13 E The preset can be executed regardless of the ON OFF status of the count J enable command Y06 29 Z 1 O z E Q 4 if a O E 5 4 Using the Preset Function 5 27 D FUNCTIONS 2 Count enable command Y06 Counter input pulse Preset value setting Un G4 and 5 Preset command Y04 Preset input terminal PRST External preset request detection X08 External preset request detection reset command Y08 Present value Un G12 and 13 M ELSEG Eseries Operation when presetting by the external control signal Apply ON voltage to the preset input terminal PRST for external input to execute preset Operation example is indicated in Figure 5 13 oN 5 1 1000 0 2 ON OFF Ka i 2000 2001 to 12023 2024 2025 2000 2001 NIAEEG 1000 11001 1002 to 1065 1066 1067 22ms Figure 5 13 Operation example of the preset function by external control signal Table 5 11 Details of operation example of the preset function by external control signal Numbe
77. a A O z E Q O ae i gt a O a 3 2 Function List 3 5 3 SPECIFICATIONS MELSEG TA eres 3 3 I O Signals to the Programmable Controller CPU 3 3 1 List of I O signals The following table shows the I O signals from the QD64D2 to the programmable controller CPU Note that I O numbers X Y mentioned in this and the subsequent chapters are assumed when the QD64D2 is mounted to the null I O slot on the main base unit 1 List of input signals Signal direction QD64D2 gt Programmable controller CPU Table 3 3 List of input signals v0 Ife Signal name Signal name number number X00 Module READY X10 Reserved X01 Counter value large No 1 X11 Counter value large No 1 X02 Counter value coincidence No 1 X12 Counter value coincidence No 1 X03 Counter value small No 1 X13 Counter value small No 1 X04 Counter value large No 2 X14 Counter value large No 2 X05 Counter value coincidence No 2 X15 Counter value coincidence No 2 X06 Counter value small No 2 X16 Counter value small No 2 X07 Reserved X17 Reserved X08 CH1 External preset request detection X18 CH2 External preset request detection During continuous comparison No 1 During continuous comparison No 1 X09 4 X19 4 execution execution During continuous comparison No 2 During continuous comparison No 2 X0A 4 X1A execution 1 execution 1 X0B Reserved X1B Reserved X0C Reserved X1C Reserved
78. against noise FUNCTIONS Programmable controller QD64D2 ooo g 900 Inverter Ground the shielded twisted pair cable on the QD64D2 side and install the cable as short as possible Terminal Avoid using a solenoid valve and inductive load together in the same block metallic pipe If a sufficient distance cannot be secured with high voltage cable due to such as duct wiring use CVVS or other shielded cable for the high voltage cable Terminal block UTILITY PACKAGE GX Configurator CT Install I O wires at least 150 mm 5 91 inch away from the high voltage equipment such as relay and inverter Apply this wiring in a Relay box control panel as well Make the distance between the encoder and relay box as short as possible If the distance is long a voltage drop may occur Therefore check that the voltages while the encoder is in operation stop are within the rated voltage at the terminal COG Cart block of the relay box using the measure such as a synchronoscope Encoder PROGRAMMING Figure 4 3 Example of wiring for measures against noise TROUBLESHOOTING 4 4 Wiring 4 5 4 4 1 Wiring precautions PROCEDURES AND SETTINGS BEFORE OPERATION MELSEC TA eries 6 Take the following measures to conform the wiring to the EMC and Low Voltage Directives a Ground the shielded twisted pair cables to a control panel with the AD75CK cable clam
79. al i i unie12 and 43 0 X 1 X 2 S f f i N Figure 3 16 Operation of the count enable command Y06 when the pulse input mode is 1 multiple of 1 phase O a 3 3 I O Signals to the Programmable Controller CPU 3 13 3 3 2 Functions of I O signals 3 SPECIFICATIONS MELSEG TA eres 13 Latch counter execution command Y07 e When the latch counter execution command Y07 is turned from OFF to ON the present value Un G12 and 13 is stored in the latch count value Un G14 and 15 e Turn OFF the latch counter execution command Y07 after the present value Un G12 and 13 is stored in the latch count value Un G14 and 15 aeSSosee Operation by the QD64D2 Present value Un G12 and 13 1 2 3 4 ON ON Latch counter execution command OFF OFF Y07 I t I t l l 1 1 Latch count value Un G14 and 15 0 x 1 X 3 t22ms Figure 3 17 Operation of the latch counter execution command Y07 14 External preset request detection reset command Y08 e Turn ON to turn OFF the external preset request detection X08 15 Continuous comparison No 1 execution command Y09 continuous comparison No 2 execution command YO0A e Turn ON to execute the continuous comparison function Refer to Section 5 3 2 16 Coincidence output No 1 test command Y0B coincidence output No 2 test command YOC e Turn ON to execute the coincidence output test function Refer to Section
80. al output terminal sink output type lt a QD64D2 28 EQU1 aan T o BO5 A05 m4 a A BI A 6 Pe Load 3 J o B04 A04 C Cc A g y sa 4 m Tobi o 12 24V ow o blown fuse B03 A03 TO detection circuit ov L n eae z z FUSE mi z ofr Zua ano Figure 4 8 Example of wiring with an external output terminal sink output type FUNCTIONS UTILITY PACKAGE GX Configurator CT PROGRAMMING TROUBLESHOOTING 4 4 Wiring 4 9 4 4 4 Example of wiring with an external output terminal PROCEDURES AND SETTINGS BEFORE oe RATION M ELSEG Q series 4 5 Intelligent Function Module Switch Setting This section describes the intelligent function module switch setting The switch setting is made on the I O assignment screen of GX Developer 1 Intelligent function module switch setting The switch has five switches and is set at 16 bit data When the switch setting is not made the default values of the switches from 1 to 5 are 0 Table 4 5 Intelligent function module switches Setting item Setting value Default 1 Pulse input mode 0 E On 1 multiple of 1 phase H 1H 2 multiples of 1 phase 2H CW CCW Reserved 3H 1 multiple of 2 phases ee 4u 2 multiples of 2 phases 5H 4 multiples of 2 phases b11 b8 OWE ra __ 2 Counter format 0000 Fixed to 0 OH Linear counter 1H Ring counter b15 b12 ol og 3 Counter value comparison Fixed t
81. alue Monitoring display Cannot execute test Make text file PROGRAMMING Stop monitor Refer to Section 6 6 Figure 6 4 General operation continued TROUBLESHOOTING 6 3 Utility Package Operation 6 10 6 3 2 Operation overview 6 UTILITY PACKAGE GX Configurator CT MELSEC TA cries Starting the Intelligent function module utility Purpose Start the utility from GX Developer to display the Intelligent function module utility screen From this screen Initial setting Auto refresh setting and Select monitor test module selection of the module which performs monitor test screens for the QD64D2 can be started Operating procedure Tools Intelligent function utility Start Setting screen Intelligent function module utility C MELSEC Gppw ob a 6 X Intelligent function module parameter Online Tools Help Select a target intelligent function module Start 1 0 No Module type a000 Counter Module z Module model name QD64D2 X Parameter setting module Intelligent function module parameter Start 1 0 No Module model name Initial setting Auto refresh lt OO000 GD64D2 Available Available cm ae Sa Initial setting Auto refresh Delete Exit Figure 6 5 Intelligent function module utility screen Explanation of items 1 Activation of other screens a Initial setting screen Start I O No Module type gt
82. an be installed when the remote I O station is used Refer to Section 2 1 concerning the number of the QD64D2 that can be installed when the remote I O station is used z O T gt o Le Z Q SYSTEM 2 Limitations when using the remote I O station a The coincidence detection interrupt function cannot be used b When the QD64D2 is used on the MELSECNET H remote I O station a delay will occur due to the link scan time Therefore fully verify that there will be no problem with controllability in the target system SPECIFICATIONS Example When processing is executed using the counter value input by a sequence program variations will occur due to a delay in the link scan time PROCEDURES AND SETTINGS BEFORE FUNCTIONS OPERATION UTILITY PACKAGE GX Configurator CT PROGRAMMING TROUBLESHOOTING 2 3 About Use of the QD64D2 on the MELSECNET H Remote I O Station 2 6 2 SYSTEM CONFIGURATION MELSEG Fl aries 2 4 How to Check the Function Version Serial No Software Version 1 Checking the rating plate on the module side The rating plate is situated on the side face of the QD64D2 MITSUBISHI MODEL Serial No Upper 6 digits function version SERIAL 000000000 B t Relevant regulation I standards ga MITSUBISHI ELECTRIC MADE IN JAPAN Figure 2 2 Checking the serial No and function version rating plate 2 Checking on the front of the module The serial
83. and or cable WIRING PRECAUTIONS CAUTION Always ground the shielded cable on the module side Failure to do may cause a malfunction Correctly wire cables to the module after checking the rated voltage and terminal layout of the product Connecting a voltage different from the rated voltage or incorrect wiring may result in a fire or failure STARTUP MAINTENANCE PRECAUTIONS CAUTION Do not disassemble or remodel each of the modules Doing so may cause failure malfunctions personal injuries and or a fire Be sure to shut off all phases of the external power supply used by the system before mounting or removing the module Not doing so may result in a failure or malfunction of the module Do not mount remove the module onto from the base unit more than 50 times IEC 61131 2 compliant after the first use of the product Doing so may cause malfunctions Do not touch the terminal while the power is ON Failure to do may cause a malfunction Be sure to shut off all phases of the external power supply used by the system when cleaning the module or retightening the terminal or module fixing screws Not doing so may result in a failure or malfunction of the module If the screw is too loose it may cause a drop short circuit or malfunction Excessive tightening may damage the screw and or the module resulting in a drop short circuit or malfunction Before handling the module touch a grounded metal o
84. are X Y M L B T C ST D W R and ZR When using bit devices X Y M L or B set a number that can be divided by 16 points examples X10 Y120 M16 etc Also buffer memory data are stored in a 16 point area starting from the specified device number For example if X10 is entered data are stored in X10 to X1F Make text file Creates a file containing the screen data in text file format End setup Saves the set data and ends the operation Cancel Cancels the setting and ends the operation EIPOINT e The auto refresh settings are stored in an intelligent function module parameter file The auto refresh settings become effective by turning the power OFF and then ON or resetting the CPU module after writing the intelligent function module parameters to the CPU module The auto refresh settings cannot be changed from sequence programs However processing equivalent to auto refresh can be added using the FROM TO instruction in the sequence program 6 5 Auto Refresh 6 UTILITY PACKAGE GX Configurator CT 6 6 6 6 1 Monitoring Test Monitoring test MELS ECE Monitor Test Module information Counter Module Module type Module model name QD64D2 Purpose Start buffer memory monitor test and I O signal monitor test from this screen Operating procedure Select monitor test module screen Start I O No Module type Module model name Monitor Tes
85. arison result g Input signal X External output fa o Counter value large No 1 X01 A fe No 1 Coincidence output No 1 point setting Un G6 sCounter value coincidence Coincidence output No 1 to 7 No 1 X02 terminal EQU1 Counter value small X03 Counter value large No 2 X04 2 No 2 Coincidence output No 1 point setting Un G8 Counter value coincidence Coincidence output No 2 to 9 No 2 X05 terminal EQU2 9 Counter value small No 2 X06 a N In this section I O numbers X Y and buffer memory addresses are listed for channel 1 and coincidence output No 1 For I O numbers and buffer memory addresses used for channel 2 and coincidence output No 2 refer to Section 3 3 1 and Section 3 4 1 ow Zz a 1 Operation of coincidence output function 396 ad AR Count enable command ON ano Y06 OFF 5 Coincidence output ON 3 enable command OFF Y03 1 A At the point where the coincidence Coincidence output No 1 1 aupa o ponicrengereges pomcragermoed 0 h 5 n request to 0 No change request Ume K 9 the comparison between the value set in the coincidence output No 1 point Coincidence output setting Un G6 and 7 1000 and the present value Un G12 and 13 starts No 1 point setting o Xj 1000 Un G6 and 7 X lt Counter value small No 1 ON 2 4 z x03 OFF___ aN ro 5 OL inci 4 ae Counter value coincidenc
86. ation of damages caused by any cause found not to be the responsibility of Mitsubishi loss in opportunity lost profits incurred to the user by Failures of Mitsubishi products special damages and secondary damages whether foreseeable or not compensation for accidents and compensation for damages to products other than Mitsubishi products replacement by the user maintenance of on site equipment start up test run and other tasks 5 Changes in product specifications The specifications given in the catalogs manuals or technical documents are subject to change without prior notice 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 All other company names and product names used in this manual are trademarks or registered trademarks of their respective companies SPREAD Copyright C 1996 Farpoint Technologies Inc SH NA 080726ENG B SH NA 080726ENG B 1004 MEE MODEL QD64D2 U SY E MODEL CODE 13JZ07 MITSUBISHI ELECTRIC CORPORATION HEAD OFFICE TOKYO BUILDING 2 7 3 MARUNOUCHI CHIYODA KU TOKYO 100 8310 JAPAN NAGOYA WORKS 1 14 YADA MINAMI 5 CHOME HIGASHI KU NAGOYA JAPAN When exported from Japan this manual does not require application to the Ministry of Economy Trade and Industry for
87. bject to discharge the static electricity from the human body Not doing so may result in a failure or malfunction of the module DISPOSAL PRECAUTIONS CAUTION 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 2 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 PRODUCT 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
88. ce output signal or change the coincidence detection point with the sequence program Controlling equipment according to the operating status such as change of the coincidence detection point according to condition is possible 1 1 Features 1 OVERVIEW MELSEC IA series b Continuous comparison function Set from 1 to 16 as the coincidence detection point for each point to compare it with the present value Only 1 point can be compared simultaneously Whenever a coincidence is detected the coincidence output signal is reset or the coincidence detection point is changed automatically If this function is used when the coincidence detection point is predetermined the OVERVIEW sequence program can be reduced which brings improvement in takt time 6 Mounting the coincidence output test function when using the continuous comparison function Be By using the coincidence output test function wiring of the coincidence output 58 terminals EQU1 EQU2 and operations can be checked without count operation 7 Preset function T The present value when the preset command Y04 is input or the preset input terminal PRST is turned ON can be overwritten to preset value z O D 8 Latch counter function The present value when the latch counter execution command Y07 is input or the latch counter input terminal LATCH is turned ON can be latched ow lt O 9 Executing the preset function latch counter function with
89. comparison e CHO Continuous comparison No 2 point monitor during comparison 2 The values stored in the QD64D2 buffer memory with auto refresh setting are automatically read when the programmable controller CPU executes the END instruction 6 1 6 1 Utility Package Functions 6 UTILITY PACKAGE GX Configurator CT Function Monitor Test Table 6 1 Utility package GX Configurator CT functions list Description 1 Monitors tests the following buffer memories and I O signals of the QD64D2 e Y device CHO Ring counter lower limit e CHO Ring counter upper limit CHO Preset value setting CHO Coincidence output No 1 point setting CHO Coincidence output No 2 point setting e CHO Coincidence output No 1 point change request CHO Coincidence output No 2 point change request CHO Continuous comparison No 1 start point setting e CHO Continuous comparison No 1 repeat point setting CHO Continuous comparison No 1 ON time setting e CHO Continuous comparison No 1 point n setting n 1 to 16 CHO Continuous comparison No 2 start point setting e CHO Continuous comparison No 2 repeat point setting CHO Continuous comparison No 2 ON time setting e CHO Continuous comparison No 2 point n setting n 1 to 16 2 Monitors the following buffer memories of the QD64D2 e X device CHO Present value e CHO Latch count value CHO Overflow detection flag CHO External I O status monitor CHO Error code CHO Wa
90. consult channel is input does the count result become your local Mitsubishi representative explaining a the same with that of another channel detailed description of the problem Are the shielded twisted pair cables Use the shielded twisted pair cables for pulse input used for pulse input wiring wiring Has the measures against noise been A f i Take noise reduction measures such as attaching taken to the adjacent devices and i A a CR surge suppressor to the magnet switch inside the control panel Noise Bundle the pulse input lines and put them ina p Is the distance between the high reduction i i single tube and keep a distance of 150mm 5 91 Section 4 4 voltage equipment and pulse input measures inch or more with the power line even inside the line kept enough control panel Separate the ground cable of the QD64D2 from the Does any noise come from the ground ground part part of the QD64D2 If the QD64D2 case touches to the ground part separate it Are the count value data treated in 32 bit binary in Correct the sequence program so that the count Section 3 4 the sequence program value data can be treated in 32 bit binary CHAPTER 7 Is the preset performed out of the count range of ey Perform the preset within the count range of the the ring counter Section 3 4 Only for the ring counter function ring counter 8 2 When the QD64D2 does not Start Counting 8 4 OVERVIEW CONFIGURA
91. csooeee 8 8 8 2 When the preset cannot be executed by the preset input terminal PRST ssssseeseeseseesceseeeee 8 8 9 When the Latch Counter Function Cannot be Executed coscscsceccccccccccccccccccccccccccccccccosscoseeses 8 Q 8 9 1 When the latch counter function cannot be executed by the latch counter execution command Y07 coooooooooooooooo00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 J i 9 8 9 2 When the latch counter function cannot be executed by the latch counter input terminal LATCH COCO OOOO OOOO OOO OOOO OOO OOOO OOO OOOO OOO OOOOH OOOOH OOOO OOS OO OOOO OOOOH OOO OOOO OOO OOOO OOO OS OOO OOOO OOO OS OOOO OOO OOO OOOO OOOOOOS 8 9 8 10 When the Error Code Un G18 Warning Code Un G19 Cannot be Reset eeeesessesseseoeooeoecceeee 8 Q 8 11 Action and Handling of Errors COC OOOO OOOO OOO OOOO OOO OOOO OOO OO OOOO OOOO OOO OOOO OOO OOOO O OOOO OO OOS OOO OO OOOO OO OOOOOOE 8 10 8 1 1 1 Error code list COC OCOOOO OOOO OOO OOOO OOO OOOO OOO OOOO OOS OO OOO OOOO OOO OOOO OOOO OOOO OOO OOOOH OOOO OOO OOOOO OOO OOO OO OOOOOOE 8 10 8 1 1 2 Warning code list eeoceccococooooooo00000000000000000000000000000000000000000000000000000000000000000000000000 8 13 APPENDICES App 1 to App 2 Appendix 1 External Dimensions 0000000000000000 000000000000000000000000000000000000000000000000000000000000000000 App 1 Appendix 2 Difference with the QDG2D cccecc0000000000000000000000
92. d the total to the jatison No 1 point monitor UTILITY PACKAGE GX c 9 fe S p d 2 E o jarison No 2 point monitor number of settings for other intelligent function modules to get a grand total Figure 6 1 Numeration for the number of parameters set in Auto refresh setting 2 g 9 a A o Z E Q e ae i a a 6 2 Installing and Uninstalling the Utility Package 6 4 6 2 1 Handling precautions 6 UTILITY PACKAGE GX Configurator CT MELSEC TA eries 6 2 2 Operating environment This section explains the operating environment of the personal computer that runs GX Configurator CT Table 6 4 Operating environment of the personal computer Item Description Installation Add in target Add in to GX Developer Version 4 English version or later 2 Computer Windows based personal computer sere Refer to Table 6 5 Operating system and performance required for personal merce computer Hard disk For installation 65 MB or more space For operation 10 MB or more Display 800 x 600 dots or more resolution Microsoft Windows 95 Operating System English version Microsoft Windows 98 Operating System English version Microsoft Windows Millennium Edition Operating System English version Microsoft Windows NT Workstation Operating System Version 4 0 English version Microsoft Windows
93. d when the module is powered on or the programmable controller CPU is reset To save the necessary data use the FROM DFRO TO DTO instructions in the sequence program or make setting with the utility package for writing reading of the buffer memory data e Since the buffer memory contents are automatically updated by count operation the latest count value can be read from the buffer memory 3 4 Buffer Memory Assignment 3 4 1 List of buffer memory assignment 3 SPECIFICATIONS MELSEC Aeres 3 4 2 Details of the buffer memory This section describes details of the QD64D2 buffer memory In this section I O numbers X Y and buffer memory addresses are listed for channel 1 and coincidence output No 1 For I O numbers and buffer memory addresses used for channel 2 and coincidence output No 2 refer to Section 3 3 1 and Section 3 4 1 OVERVIEW 1 Ring counter lower limit value Un GO and 1 Ring counter upper limit value Un G2 and 3 e This area is used for setting a count range for the ring counter Refer to Section 5 2 2 e Setting range 2147483648 to 2147483647 CONFIGURATION SYSTEM 3 Sane gt Operation by the QD64D2 ON Count enable command j 2 f ti 4 Ri nter lower limit value R u i P Unco and 1 9 x ee X 200 34 5 La o Ring counter upper limit value Fa Un G2 and 3 o 100 200 2 1 Setting value of the ring counter upper limit value Un G2 and 3 and
94. dEV CE ecccccccocoooooooooooo000000000000000000000000000000000000000000000000000000 3 27 3 6 Connectable Encoders ecccccccccoooooo000000000000000000000000000000000000000000000000000000000000000000000000 3 e 28 A 6 CHAPTER4 PROCEDURES AND SETTINGS BEFORE OPERATION 4 1to4 12 4 1 Handling Precautions ccooooooooooocoooooooooooooooo0000000000000000000000000000000000000000000000000000000000000000 4 1 4 2 Procedures before Operation coooooooooooooooooooooooooooo00000000000000000000000000000000000000000000000000000000 2 4 3 Part Names cooooooooooooooooooooooo0000000000000000000000000000000000000000000000000000000000000000000000000000000000 3 44 Wiring cooooooooooooooooooooooo00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 i 5 4 4 1 4 4 2 4 4 3 4 44 Wiring precautions cooooooooooooooooooooooooooooo000o0000000000000000000000000000000000000000000000000000000000 5 Example of wiring the module and an CNICOCIES eeececccccccccccccccccccccccccccccccccccccccoccccccccoocce A 7 Example of wiring a controller and an external input terminal srersersessessesccccccccccccccesccscoseed 8 Example of wiring with an external output LEP MiNal eeececccccccccccccccccccccccccccccvccccccccccvccccccce A 9 4 5 Intelligent Function Module Switch Setting COO OOO COE OOL OOOO OOOO OOOOH OOOOH OOOO OOO OOOOH OOO OOOOH OOOO OOOOOOOOS 4 10 CHAPTERS FUNCTIONS 5 1 to 5 31 5 1 Pulse Input and Co
95. dence signal No 1 reset command Y01 t22ms Figure 3 7 Operation of the counter value large No 1 X01 the counter value coincidence No 1 X02 and the counter value small No 1 X03 when using the coincidence output function PROGRAMMING TROUBLESHOOTING 3 9 3 3 I O Signals to the Programmable Controller CPU 3 3 2 Functions of I O signals 3 SPECIFICATIONS MELSEC TA cries b Operation when used for the continuous comparison function Refer to Section 5 3 2 Counter value Counter value Counter value large coincidence small No 1 X01 No 1 X02 No 1 X03 Presentvalie Continuous comparison No 1 point Un G12 and 13 lt n setting OFF OFF ON Un G54 to 85 Brosantvalde Continuous comparison No 1 point Un G12 and 13 n setting OFF ON OFF Un G54 to 85 Continuous comparison No 1 point Present value n setting ON OFF OFF Un G12 and 13 Un G54 to 85 The counter value coincidence No 1 X02 remains ON for the preset time of the continuous comparison No 1 ON time setting Un G52 Usage condition of the following operation diagram Continuous comparison No 1 start point setting Un G50 1 point 1 Continuous comparison No 1 repeat point setting Un G51 3 point 3 Continuous comparison No 1 point 1 setting Un G54 and 55 100 Continuous comparison No 1 point 2 setting Un G56 and 57 10000 Continuous comparison No 1 point 3 setting Un G58 and 59 20000 Jahaa
96. detection X08 turn ON the external preset request detection reset command Y08 e The preset cannot be executed while the external preset request detection X08 is ON OVERVIEW See ie Operation by the QD64D2 Operation by the sequence program Preset value setting 100 Un G4 and 5 CONFIGURATION SYSTEM Preset input terminal PRST 25 External preset request detection X08 External preset request detection reset command Present value 0 Un G12 and 13 t22ms o Z O lt Q u 6 w a ao Figure 3 9 Operation of the external preset request detection X08 4 During continuous comparison No 1 execution X09 during continuous e comparison No 2 execution X0A 25 3 n r s W e Turns ON during execution of the continuous comparison function Refer to omg OOE Section 5 3 2 nz OF wi wA ano 5 Error occurrence X0D e Turns ON when an error occurs To turn OFF the error occurrence X0D fix the cause of the error and then turn ON the error reset command YOD P O gt Operation by the QD64D2 5 _ Operation by the sequence program Z ON i E t d rror gaa Me A E d UniG18 5 Ww Error occurrence Z E X0D lt 9 t22ms 4 2 Figure 3 10 Operation of the error occurrence X0D 58 6 Warning occurrence X0E e Turns ON when a warning occurs e To turn OFF th
97. e Initial setting Initial setting screen Initial setting Module information Auto refresh setting Module information Auto refresh Auto refresh setting screen gt 1 Module type Counter Module Module model name QD64D2 Start 1 0 No 0000 Module type Counter Module Module model name QD64D2 Setting item Setting value CH1 Initial setting Start 1 0 No 0000 CH1 Initial setting CH1 Continuous comparison No 1 setting CH1 Initial setting Continuous comparison No 1 setting Setting item CH1 Initial setting Continuous comparison No 2 setting CH1 Continuous comparison No 2 setting Module side Buffer size Module side Transfer word count Transfer direction PLC side Device CH2 Initial setting CH2 Initial setting CH1 Present value CH2 Initial setting Continuous comparison No 1 setting CH2 Initial setting Continuous comparison No 2 setting CH1 Latch count value CH1 Overflow detection flag CH1 External I O status monitor CH1 Error code CH1 Warning code CH1 Continuous comparison No 1 point monitor during comparison CH1 Continuous comparison No 2 point monitor during comparison CH2 Continuous comparison No 1 setting CH2 Continuous comparison No 2 setting Details Move to sub window 2l 2l 1 1 1 i i 2 21 1 1 i 1 1 CH2 Present value Make text fi
98. e Failure that could have been avoided if functions or structures judged as necessary in the legal safety measures the user s device is subject to or as necessary by industry standards had been provided 4 Failure that could have been avoided if consumable parts battery backlight fuse etc designated in the instruction manual had been correctly serviced or replaced 5 Failure caused by external irresistible forces such as fires or abnormal voltages and Failure caused by force majeure such as earthquakes lightning wind and water damage 6 Failure caused by reasons unpredictable by scientific technology standards at time of shipment from Mitsubishi 7 Any other failure found not to be the responsibility of Mitsubishi or that admitted 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 compens
99. e No 1 ON X02 OFF N 23 z ES aS Coincidence output ON 4 No 1 terminal OFF EQU1 Coincidence signal ON 6 No 1 reset command Y01 OFF f ri ZH He 9 Counter value large No 1 ON 5 X01 OFF z 0 O Present value Un G12 and 13 0 1 999 1000 1001 1 t22ms Figure 5 3 Operation example of the coincidence output function o zZ E Q O an aa w al aa 5 O a 5 3 Using the Counter Value Comparison Function 5 9 5 3 1 Using the coincidence output function D FUNCTIONS 5 10 MELSEC TA cries Table 5 4 Details of operation example of the coincidence output function Number Description ie With the following procedures start the coincidence detection using the value set in the coincidence output No 1 point setting Un G6 and 7 1 Write 1000 for the coincidence output No 1 point setting Un G6 and 7 2 Write 1 Change request for the coincidence output No 1 point change request Un G10 3 The setting value becomes valid when 1 Change requet turns to 0 No change request 2 When the present value Un G12 and 13 is smaller than the coincidence output No 1 point setting Un G6 and 7 the counter value small No 1 X03 turns ON 3 When outputting from the coincidence output No 1 terminal EQU1 of external device connector turn ON the coincidence output enable command Y03 At the time the coincidence output No 2 terminal EQU2 is also enabled 4 5
100. e comparison function selection 1 When all channels are the coincidence output function Take care so that the ratio of the number of points that external coincidence output ON is executed to the number of external coincidence output points of the module 4 points does not exceed the ON ratio in Figure 3 4 o Z O lt Q u 6 w a ao The number of points that external coincidence output Sr Sei ON is executed T at Lu ratio 2 4 point Za z AVE wZs 5 enn 2 When all channels are the continuous comparison function Bsa Take care so that the ratio of continuous comparison No m ON time setting Un G52 Un G102 t1 to the time from start of coincidence output to the next coincidence output t2 in Figure 3 5 may not exceed the ON ratio in Figure 3 4 For interval of the continuous comparison No m point n setting that decides t2 refer 9 to Section 5 3 2 Z t1 m ON ratio Ml x 100 t2 ms X lt 2 Lu oO ae ON 5 Coincidence output No m terminal Ow OFF a 2 t1 t1 E _ H ES t2 Figure 3 5 Relationship between ON time setting in the case of the continuous comparison function t1 and the time from start of coincidence output to the next coincidence output t2 o 0 Oo O Z E D O pa if a O a 3 1 Performance Specifications 3 3 3 1 2 Derating chart 3 SPECIFICATIONS MELSEG TA eres 3 When CH1 or CH2 is the coincid
101. e password setting status Error Display Display format No Present Error T G BEA Di l f t Error History splay Toma The error codes in Section 8 11 1 Error code The display s quence of the error history is from the oldest error oy A g e The latest err r is displayed in the line as under list are shown in decimal notation Select DEC because the initial value is set to HEX HAW Informatipn Stop moritor Display contents Present Error Indicates error code 500 ring counter upper lower sy limit value setting error Error code of the channel Channel number that has an error 2500 indicates that the error code 500 is occurring on CH2 Figure 8 1 Module s Detailed Information screen 8 1 8 1 Error Processing and Recovery Methods 8 1 1 Checking error description using System Monitor of GX Developer 8 TROUBLESHOOTING M als 26 Fel ceries 3 Checking Module s Detailed Information Check the status of LEDs and intelligent function module switch setting and module z Lu information in H W status on the Module s Detailed Information screen which can Z Lu be displayed from System Monitor of GX Developer 3 Setting procedure Select Diagnostics gt System monitor gt QD64D2 Module s Detailed Information gt HAW Information H W Information 2 d Module 7 4
102. e present value Un G12 and 13 is not included in the setting condition Count range 2147483648 to 2147483647 5 6 5 2 Selecting a Counter Format 5 2 2 Selecting the ring counter 5 FUNCTIONS MELSEC IA series b Setting method of the count range 1 Select a count range from range 1 to 3 2 2 Preset the present value Un G12 and 13 in accordance with the setting gt condition Only when using a range 1 or 2 3 e Set the preset value setting Un G4 and 5 Turn from OFF to ON the preset command Y04 or turn ON the preset input terminal PRST for external input S 3 Set a count range for the ring counter 5 Set the ring counter lower limit value Un GO and 1 and the ring counter o upper limit value Un G2 and 3 T Turn from OFF to ON the count enable command Y06 c When the ring counter lower limit value Un GO and 1 and the ring counter upper limit value Un G2 and 3 are set as shown below and turn from OFF to ON the 9 count enable command Y06 a ring counter upper lower limit value setting error Error code 500 occurs E Ring counter Ring counter lower limit value upper limit value Un GO and 1 Un G2 and 3 aw 25 POINT TE e The present value Un G12 and 13 can be preset during counting nzi However the changes for the ring counter lower limit value Un GO and 1 af and the ring counter upper limit value Un G2 and 3 become valid only after turning from OFF to ON
103. e sales representative or Mitsubishi Service Company However if repairs are required onsite at domestic or overseas location expenses to send an engineer will be solely at the customer s discretion Mitsubishi shall not be held responsible for any re commissioning maintenance or testing on site that involves replacement of the failed module Gratis Warranty Term The gratis warranty term of the product shall be for one year after the date of purchase or delivery to a designated place Note that after manufacture and shipment from Mitsubishi the maximum distribution period shall be six 6 months and the longest gratis warranty term after manufacturing shall be eighteen 18 months The gratis warranty term of repair parts shall not 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 devic
104. e setting aca a a a 103 303 Reserved 104 304 Continuous comparison No 2 point 1 L 105 305 setting 2 H Read write Only used for the continuous 106 306 Continuous comparison No 2 point 2 L are enabled comparison function 107 307 setting 2 H 1 Initial value which is set when the module is powered on or the programmable controller CPU is reset 2 Read and write a value in 32 bit signed binary format Make sure to use a value in units of 2 words 3 16 3 4 Buffer Memory Assignment 3 4 1 List of buffer memory assignment 3 SPECIFICATIONS MELSEC A eres Table 3 5 List of buffer memory assignment Continued Address decimal 3 R f Setting contents Read write Remarks notation z W 108 308 Continuous comparison No 2 point 3 L 109 309 setting 2 H 110 310 Continuous comparison No 2 point 4 L rA 111 311 setting 2 H 112 312 Continuous comparison No 2 point 5 L 33 113 313 setting 2 A be 114 314 Continuous comparison No 2 point 6 L 22 115 315 setting 2 H 3 116 316 Continuous comparison No 2 point 7 L 117 317 setting 2 H 2 Zz 118 318 Continuous comparison No 2 point 8 L 2 119 319 setting 2 H S 120 320 Continuous comparison No 2 point 9 L g 121 321 setting 2 H
105. e setting error The count enable command Y06 is turned ON Set a value as follows Thetingicounter 500 under the following condition ine Z aks anctin doesnot Ring counter lower limit value Un GO and 1 gt Lower limit value S Upper limit value start counting Ring counter upper limit value Un G2 and 3 Only for the ring counter function Set a correct value in GX Switch setting error Developer and perform Write to 810 An invalid value is set in the switch setting for PLC After that power OFF intelligent function module in GX Developer then ON the programmable controller CPU or reset it Refer to Section 4 5 Programmable controller CPU error 820 An error occurred in the programmable controller CPU Power OFF then ON the Watchdog timer error of programmable controller programmable controller CPU or 830 CPU reset it A watchdog timer error occurred in the programmable controller CPU f All functions and counting are Power OFF then ON the Modul bl troller CPU stoppe e erro Module error programma REE i al Updating the external I O status 840 An error occurred in the module reset it eon lf j monitor is stopped an error occurs again replace the module READY X00 turns the module OFF Hardware error 850 Replace the module A hardware error occurred For replacement of fuse please consult your local Mitsubishi representative Blown fuse error When temporarily using the The fuse of the ext
106. e warning occurrence XOE fix the cause of the warning and then o turn ON the error reset command YOD Z SSseS Soe Operation by the QD64D2 _ Operation by the sequence program Q ON at Error reset command YOD t oE Warning code 0 X 31 Y 0 Un G19 o Wami ZON r z arning occurrence XOE OFF 8 t22ms 7 w Figure 3 11 Operation of the warning occurrence X0E E O a 3 3 I O Signals to the Programmable Controller CPU 3 11 3 3 2 Functions of I O signals 3 SPECIFICATIONS MELSEG TA eres 7 Blown fuse detection flag X1F e Turns ON when a fuse blown of the external coincidence output part is detected e Even if the fuse is blown the signal does not turn ON unless a voltage is applied to the external coincidence output power supply terminal For actions when a fuse is blown refer to Section 8 1 4 gt Operation by the QD64D2 ON External coincidence output power supply terminal OFF 1 External coincidence output Fs part fuse status Normal Fuse blown f rs ON i Blown fuse detection flag Wy X1F J OFF I Error code N Un G18 0 X 860 7 ON Error occurrence a X0D Figure 3 12 Operation of the blown fuse detection flag X1F 8 Coincidence signal No 1 reset command Y01 coincidence signal No 2 reset command Y02 e Use the signals for the coincidence output function Refer to Section 5 3 1 e Turn ON the coinc
107. eaeeaeeeeeaeee eee ee 3 O a A 0 z E Q O ae i a Oo a E 6 6 Monitoring Test 6 20 6 6 1 Monitoring test PROGRAMMING MELSEG TA eres CHAPTER7 PROGRAMMING This chapter describes the programs of the QD64D2 When applying any of the program examples introduced in this chapter to the actual system verify the applicability and confirm that no problems will occur in the system control 7 1 Programming Procedure Create a program activating a count by the QD64D2 by the following procedures Program creation start sO RE SFIS Pips RSIS S Sine are a Si nnie SSG Saisie nine ein sin Seeiecaiceccine sions Initial setting programr Set buffer memory with sequence program with GX Configurator CT Ring counter setting program Preset value setting program Coincidence output z function setting program Continuous comparison function setting program 1 Created according to the functions used Turn OFF the ounter value coincidence No m when using the coincidence output function 2 Turn OFF the coincidence signal No m reset command with coincidence output function program Coincidence signal No m reset command ON Turn ON the initial setting complete signal any given device 3 If unnecessary on a program the signal needs not to be created To the next page Figure 7 1 Program creation
108. ecsoseoscecoecsoseessesooseoseesoecsoscsoseesoosse G Compliance with the EMC and Low Voltage Directives eeeeseseeeseseseseecececececececoeooseososooososossoeoesooooe A 9 GENERIC TERMS AND ABBREVIATIONS cooooooooooooooooooooooooooooo0000000000000000000000000000000000000000000000000 10 PACKING LIS T e eococcccocoooooooooooo0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 1 0 CHAPTER1 OVERVIEW 1 1to1 3 1 1 CHAPTER2 SYSTEM CONFIGURATION 2 1 2 2 2 3 2 4 CHAPTER3 SPECIFICATIONS Features ccooooooooooooooooooooooooooo000000000000000000000000000000000000000000000000000000000000000000000000000000000 2 2 1to2 9 Applicable SyStEeMS eeeeeccecceccccccccccccoccocoocccccecccccccoccocococcocecccccccccceccoccococooooceocccceceseeee 2 1 About Use of the QD64D2 with Redundant CPU Ceccccccccccccccccccccccccccccccccccccccccccccocccccccocoocce 5 About Use of the QD64D2 on the MELSECNET H Remote 1 O Station ceccccecscccccccccccccccccccccceeD G How to Check the Function Version Serial No Software Version eeccsesscssecccccccccccccccccccccccccccee 7 3 1 to 3 28 3 1 Performance Specifications 0cooooooooooooooooo00000000000000000000000000000000000000000000000000000000000000000000 3 1 3 1 1 3 1 2 Relation of phase difference between phase A and phase Beeeeeeeeeseesesssssseoecoeocccoccoseseeoe3 2 Derating chart oooooooooooooooo000000000000000000000000000000
109. en EESE Selects whether or not to monitor current values 3 rae Performs a test on the selected items To select more G than one item select them while holding down the 5 Ctrl key E Closes the screen that is currently open and returns to the previous screen A ga EEEE ZEEZESEEEEEEEEFEEESEEFSEESESEFESEEEEFSESEEEEE E W zZ The following describes a method for using Execute test by an example when aze setting 3000 at CH1 Preset value setting and writing it to the QD64D2 1 Click the Preset function button in Setting value field to display the Preset function screen 2 Click Setting value field on CH1 Preset value setting enter 3000 and 9 O press the Enter key 5 At this point the value has not been written to the QD64D2 yet r ez 3 Click Setting value field on CH1 Preset command Y04 and select ON At this point the value has not been written to the QD64D2 yet 4 Select Setting value fields entered by operations 2 and 3 while pressing the key Multiple items can be selected by dragging operation Selected Setting value fields are inverted 5 Click the Execute test button and write setting values of the items selected at 4 to the QD64D2 x 2 Lu 0 g EA z a gt c 9 fe S p 5 d 2 E o After writing the values entered at 2 and 3 are displayed at Current value fields S e eeeeeeseveeoeeaeoeoeoceaeeeeseeeeaeaeeceoeeec eee eceea
110. ence output function and CH2 or CH1 is the continuous comparison function Take care so that the addition of the ratio of above 1 When all channels are the coincidence output function in the CH where the coincidence output function is set and a value when the ratio of above 2 When all channels are the continuous comparison function in the CH where the continuous comparison function is set is divided by 2 may not exceed the ON ratio in Figure 3 4 Ratio of above 2 When all channels are the vee Ratio of above 1 When all channels are the R continuous comparison function ON ratio coincidence output function 2 The number of points that external ccm x 100 coincidence output ON is executed t2 ms gt comerrence opu s execute y 100 4 point 2 3 4 3 1 Performance Specifications 3 1 2 Derating chart 3 SPECIFICATIONS MELSEC A eres 3 2 Function List The following table shows the functions of the QD64D2 a I O numbers X Y and buffer memory addresses in Description describe only for channel i 1 2 For I O numbers X Y of channel 2 and buffer memory addresses refer to Section 3 3 1 Table 3 2 Function list of the QD64D2 Z Function 1 Description Reference 7 N i Counts within the range from 2147483648 to 2147483647 Z2 Linear counter function Section 5 2 1 PZ An overflow occurs when a count exceeds the count range BS T Repeats a count between the ring counter upper lim
111. ernal coincidence output part is module with a blown fuse do 860 blown not apply a voltage to the external coincidence output power supply terminal and power OFF then ON or reset the programmable controller CPU 8 11 8 11 Action and Handling of Errors 8 11 1 Error code list 8 TROUBLESHOOTING M eLS 2G a series POINT 1 When another error occurs during error occurrence take the following action z When an error code from 100 to 500 occurs the latest error code is z ignored and the error code stored before the latest error code is held 3 e When an error code from 810 to 860 occurs the error code is overwritten as the latest one 2 The error code 810 is stored for each channel and the error code from 820 to 3 860 is stored for all channels 5 3 After fixing the cause of the error reset the error by the error reset command o YOD If the cause of the error is not fixed the error is detected again T N n 5 o 5 5 aw 26 ou TE DES no 6 E 2 ra 3 O Z a Ag E 58 Z 9 e e O zZ G O T o m l D gt aa E 8 11 Action and Handling of Errors 8 12 8 11 1 Error code list 8 TROUBLESHOOTING MELSEG TA eres 8 11 2 Warning code list This section describes the descriptions and corrective actions for the warnings detected by the QD64D2 Table 8 20 Warning code list Warning Operation at warning
112. et function When the overflow error is cleared 0 is stored in the overflow detection flag Un G16 and the counting can be restarted However the error occurrence XOD remains ON and the stored value of the error code Un G18 is held even after presetting Turn ON the error reset command YOD to reset the error 5 4 5 2 Selecting a Counter Format 5 2 1 Selecting the linear counter 5 FUNCTIONS M eLS AG lA eries 5 2 2 Selecting the ring counter 1 Ring counter operation is gt ia a For the ring counter the counting is executed repeatedly within the range set by z the ring counter lower limit value Un GO and 1 and the ring counter upper limit value Un G2 and 3 Overflow error does not occur rA a E Present value g 2147483647 fa Z Ring counter upper limit value Un G2 and 3 A 6 Subtraction Addition Ring counter lower limit value Un GO and 1 no 2147483648 Z z Y g Figure 5 2 Operation image of the ring counter 5 A b The following functions can be used in combination e Counter value comparison function Coincidence output function continuous comparison function ie e Coincidence detection interrupt function 25 e Preset function E o z e Latch counter function nzi OF wi wA ano ol o Z O O Z Le UTILITY PACKAGE GX Configurator CT PROGRAMMING TROUBLESHOOTING 5 2 Selecting a Counter Format 5 5 5 2 2 Selecting the ring counter D
113. et preset value 50000 2 Continuous comparison i No 1 start point setting E Continuous comparison Set these only when a No 1 repeat point the counter value 2 settin comparison function CH2 continuous ig n i p Continuous comparison selection refer to ow comparison No 1 setting i j f 10 45 No 1 ON time setting Section 4 5 is the ot Continuous comparison continuous comparison 5 2 6 i 20000 Uz3 No 1 point 1 setting function SEG wA Continuous comparison Bare 40000 No 1 point 2 setting b Auto refresh setting Set devices storing the present values latch count values overflow detection 2 flags error codes and warning codes of CH1 and CH2 5 For Auto refresh setting in GX Configurator CT refer to Section 6 5 S Auto refresh setting X lt Module information o Module type Counter Module Start 1 0 No 0000 o Module model name QD64D2 S Q ze Module sid 3 eer Module side MOCUE side Transfer PLC side JE Setting item Buffer size nde direction Device 5 8 CH1 Present value CH1 Latch count value CH1 Overflow detection flag CH1 External 1 0 status monitor CH1 Error code j CH1 Waring code CH1 Continuous comparison No 1 point monitor during comparison CH1 Continuous comparison No 2 point monitor during comparison CH2 Present value PROGRAMMING Make text file End setup Figure 7 5 Auto refresh setting screen Cancel TROUBLESHOOTING 7 8
114. etting K CH2 Initial setting Module information Module information Module type Counter Module Start 1 0 No 0000 Module type Counter Module Start 1 0 No 0000 Module model name QD64D2 Module model name QD64D2 FUNCTIONS Setting item Setting value Setting item Setting value ing counter lower imit value Ring counter upper limit value Preset value setting Coincidence output No 1 point setting Coincidence output No 2 point setting Coincidence output No 1 point change request Change request Coincidence output No 2 point change request No change request Details Decimal input Setting range 2147483648 2147483647 Make text file End setup Cancel Ring counter lower limit value 50000 Ring counter upper limit value 50000 Preset value setting 50000 Coincidence output No 1 point setting 0 Coincidence output No 2 point setting Coincidence output No 1 point change request No change request Coincidence output No 2 point change request No change request 0 Details Decimal input Setting range 2147483648 2147483647 Make text file End setup Figure 6 6 Initial setting screen 6 4 Initial Setting 6 14 e gt x lt 9 Lu ge x 25 ag as ES ae eQ DO PROGRAMMING TROUBLESHOOTING 6 UTILITY PACKAGE GX Configurator CT 6 15 MELSEC TA c
115. he following are executed 2 The coincidence output No 1 terminal EQU1 turns OFF Bit 4 Coincidence output No 1 output status of the external I O status monitor Un G17 turns OFF 2 Execution condition of the coincidence output test function a Before executing the coincidence output test function check that the following signals are all OFF e Count enable command Y06 e Continuous comparison No 1 execution command Y09 e During continuous comparison No 1 execution X09 e Continuous comparison No 2 execution command YOA e During continuous comparison No 2 execution X0A If the coincidence output test is attempted while any of the above signal is ON the coincidence output No m test output not possible warning Warning code 31 and 32 occurs b Counting cannot be started while the coincidence output test command is ON Do not turn ON the count enable command Y06 If it is turned ON a count enable execution not possible error Error code 300 occurs 5 22 5 3 Using the Counter Value Comparison Function 5 3 3 Using the coincidence output test function D Functions M als AG lA eries c Do not turn ON the continuous comparison execution command while the coincidence output test command is ON If the continuous comparison execution command is turned ON while the test a command is ON a continuous comparison No m execution not possible error i Error code 311 and 312 occurs POINT
116. idence signal No 1 reset command Y01 to reset the counter value coincidence No 1 X02 e Turn ON the coincidence signal No 2 reset command Y02 to reset the counter value coincidence No 2 X05 e Turn OFF the signal after the resetting is completed 9 Coincidence output enable command Y03 e Use the signal for the coincidence output function Refer to Section 5 3 1 e Turn ON the coincidence output enable command Y03 to enable output from the coincidence output No 1 terminal EQU1 and the coincidence output No 2 terminal EQU2 of the external device connector when the count value coincides with the comparison point gt Operation by the QD64D2 ON Counter value coincidence No 1 X02 Counter value coincidence No 2 en X05 a ON i Coincidence output enable command 7 Y03 i Fi OFF rj a CON fo Coincidence output No 1 terminal tal H EQU1 I AOEE 7 ON Coincidence output No 2 terminal al OFF EQU2 Figure 3 13 Operation of the coincidence output enable command Y03 3 12 3 3 I O Signals to the Programmable Controller CPU 3 3 2 Functions of I O signals 3 SPECIFICATIONS M als AG lA oris 10 Preset command Y04 e Turn ON the preset command Y04 to execute the preset function Refer to Section 5 4 e Check that the present value Un G12 and 13 has been changed then turn OFF the preset command Y04 OVERVIEW e While the exte
117. ing 2 Channel 2 Coincidence detection of coincidence output No 1 point setting or continuous comparison No 1 point m setting 3 Channel 2 Coincidence detection of coincidence output No 2 point setting or continuous comparison No 2 point m setting 4to 15 Reserved Timing of interrupt signal generation Counter value coincidence No 1 aa X02 eo yo I O signals Coincidence signal No 1 reset command Y01 Internal processing Interrupt request of the programmable controller CPU i Interrupt request clear Program processing in the Int t programmable controller CPU M OMUR Program ProcESSINg 1 The coincidence signal No 1 reset command Y01 is only used for the coincidence output function For the continuous comparison function the counter value coincidence No 1 X02 automatically turns OFF after elapsing the set time of the continuous comparison No 1 ON time setting Un G52 Figure 5 10 Timing of interrupt signal generation b It takes approximately 150us from when the QD64D2 detects a coincidence until it requests an interrupt to the programmable controller CPU c Select PLC parameter PLC system Intelligent function module setting Interrupt pointer settings to set the interrupt factors SI of the QD64D2 and interrupt pointers of the programmable controller CPU 1 PLC side Interrupt pointer start No Set the start interrupt pointer number of the programmable controller CPU Setting range
118. inter setting 5 25 Intelligent function module switch setting s sesse 9 4 10 Interfaces with external device sserserseseeccsceceoees 3 24 L Latch count value UN G14 and 15 sssesessesseseeee 3 21 Latch counter execution command Y07 sessesee9 3 14 Latch Counter FUNCTION cecccccccccccccccccccccccccceee 5 29 Linear counter eeececccccccccccccccccccccccccccccccccsceces 5A List of I O signals ccocooooooooooooo00000000000000000000000 3 6 M Module READY X00 POSS OSCE OOOO OOOO OOOO OO OOOOOOOOOE 3 8 Module s Detailed Information eessccccsccccscccceceees 8 2 Monitoring test SOCHOOHSHSHSSHSSHSHSHSHHSHHSHSSHSOHHSHSHHSHHHHOEOOEEE 6 18 O Operating environment ecececccccccccccccccccccccscccses G 5 Overflow COCCCOOOOOOO OOOOH OOOO OOOO OOO OOOOH OOOO OOO OOOOOOO 5 4 Overflow detection flag UN G16 ssseeseeseeeeeeesees 3 22 P Part NaMeSecececccccccccccccccccccccccccccccccccccccococes 4 3 Present value UN G12 and 13 eseeceseescesecseceees 3 21 Preset command YO4 cccccccccccccccccccccccccccccocs 3 13 Preset FUNCTION eccccccccccccccccccccccccccccccccccccccee 5 27 Preset value setting Un G4 and 5 eeseseeseeseeeeee 3 19 Index 1 n w Q O Z iu a a lt Programming COCCOOOOOOOOOEO OOOO OOO OOOO OOOOH OOO OO OOOO OOOOE 7 1 Pulse input method COCOOCE OOOO OOOO OOO OO OOOO OOOO OOOOOOCE 5 1 Pulse input mode Ccccccccccccccccccccccccccccccccccoccoe 4 1 R Ring counter COCO OOO OOOO OOO OOOOOOO OOO
119. inter setting in the Project data list on GX Developer Set the values for this program example as shown below Intelligent function module interrupt pointer setting PLC side Intelli module side a Start No No of module Start 1 0 No 50 Cancel Figure 7 7 Intelligent function module interrupt pointer setting b Devices used by users Table 7 6 Devices used by users Description Setting value Interrupt enabled flag storage for the IMASK instruction D20 to D35 7 17 7 5 Program Example when the Coincidence Detection Interrupt Function is Used PROGRAMMING MELSEC IA series 3 Program example An interrupt must be enabled using the IMASK instruction before using an interrupt pointer OVERVIEW Enabling interrupt of I50 gt CONFIGURATION SYSTEM SPECIFICATIONS 150 PROCEDURES AND SETTINGS BEFORE OPERATION POINT e When the above described program is executed only 150 interrupt program is execution enabled and other interrupt programs are execution disabled When executing interrupt programs other than 150 set the corresponding bit for interrupt program to be executed to 1 enabled e For details of the IMASK instruction refer to the following manual L gt MELSEC Q L Programming Manual Common Instruction FUNCTIONS UTILITY PACKAGE GX Configurator CT j PROGRAMMING TROUBLESHOOTING 7 5 Program
120. inuous comparison point setting for the 17th point After that rewrite the data at every point change Continuous comparison E No 1 point monitor After that repeat during comparison setting until the end point UM G8B RK KK a A a OO aaa Rewrite the Rewrite the Rewrite the continuous continuous continuous comparison comparison comparison No 1 point 1 setting No 1 point 2 setting No 1 point 3 setting Un G54 and 55 to Un G56 and 57 to Un G58 and 59 to the setting for the setting for the the setting for the 17th point 18th point the 19th point Figure 5 5 Rewriting data during comparison When the point monitor is 1 rewrite the point 16 setting Continuous comparison m No 1 point monitor during comparison Un G86 _ _ SY NO Sf N SY S 2 Y NLL LL LL LLL Rewrite the Rewrite the Rewrite the Rewrite the continuous continuous continuous continuous comparison comparison comparison comparison No 1 point 14 setting No 1 point 15 setting No 1 point 16 setting No 1 point 1 setting Un G80 and 81 Un G82 and 83 Un G84 and 85 Un G54 and 55 Figure 5 6 When the point monitor is 1 5 18 5 3 Using the Counter Value Comparison Function 5 3 2 Using the continuous comparison function 5 FUNCTIONS MELSEC LAY series c Process after completion of comparison at end point 1 When repeatedly comparing from the 1st point Set the following after setting all continuo
121. is a displayed KIPOINT 4 The serial No displayed in the Product Information List of GX Developer may be gm ao different from the one on the rating plate and the front of the module age e The serial No on the rating plate and the front of the module indicates the F management information of the product The serial No in the Product Information List of GX Developer indicates the functional information on the product which is updated when a new function is added 2 5 Z P 3 O T Ag Es 58 g 9 z E i ao 2 4 How to Check the Function Version Serial No Software Version 2 8 SYSTEM CONFIGURATION MELSEC Af ceries 4 Checking the software version of GX Configurator CT The software version of GX Configurator CT can be checked GX Developer s Product information screen Operating procedure GX Developer Help Product information Product information E Programming and Maintenance tool GX Developer Version 8 63R SW8D5C GPPW E COPYRIGHT C 2002 MITSUBISHI ELECTRIC CORPORATION ALL RIGHTS RESERVED This Product is licensed to Name MITSUBISHI Company Mitsubishi Electric Corporation ProductID a Software version List of version information on 4Ad in software GX Configurator CT ersion1 27ADSWOD5C OCTU E COPYRIGHT C 1999 M BISHI ELECTRIC CORPORATION ALL RIGHTS RESERVED Warming This product is protected by copyright law and international treaties Unauthori
122. is not used if the interrupt pointer setting with parameters has not been made UTILITY PACKAGE GX Configurator CT B Using the IMASK instruction from the sequence program With the IMASK instruction whether to enable or disable interrupt mask the interrupt program execution can be set to each interrupt pointer number For details of the IMASK instruction refer to the following manual L MELSEC Q L Programming Manual Common Instruction PROGRAMMING TROUBLESHOOTING 5 3 Using the Counter Value Comparison Function 5 25 5 3 4 Coincidence detection interrupt function D FUNCTIONS 5 26 EIPOINT MELSEC TA eries e Coincidence detection interrupt occurs at the rising edge OFF gt ON of the counter value coincidence No 1 X02 or the counter value coincidence No 2 X05 Therefore next interrupt request does not occur unless the counter value coincidence No 1 X02 and the counter value coincidence No 2 X05 are reset and turned OFF When using the coincidence output function the counter value coincidence No 1 X02 and the counter value coincidence No 2 X05 turns ON immediately after the power on or resetting the programmable controller CPU however a coincidence detection interrupt does not occur For resetting method of the counter value coincidence No 1 X02 and the counter value coincidence No 2 X05 refer to Section 5 3 1 5 3 Using the Counter Value Comparison Function 5 3 4 Coincidence
123. ist in GX Developer 6 3 Utility Package Operation 6 3 3 Starting the Intelligent function module utility UTILITY PACKAGE GX Configurator CT MELSEC Q series 6 4 Initial Setting Purpose Make Initial setting for each channel to operate the QD64D2 i St 0 For parameter types of Initial setting refer to Section 6 1 This setting allows skipping sequence program setting By making the initial settings the sequence program settings become unnecessary Operating procedure Start I O No Module type Module model name gt __ Initial setting E o Enter the Start I O No in hexadecimal Ei Setting screen bS Initial setting Module information Module type Counter Module Start 1 0 No 0000 Module model name 0D64D2 2 Setting item Setting value bea fe CHT Trial setting _____Chitnitalsetting O z CH1 Initial setting Continuous comparison No 1 setting CH1 Continuous comparison No 1 setting Q CH1 Initial setting Continuous comparison No 2 setting CH1 Continuous comparison No 2 setting 5 CH2 Initial setting CH2 Initial setting WW CH2 Initial setting Continuous comparison No 1 setting CH2 Continuous comparison No 1 setting an CH2 Initial setting Continuous comparison No 2 setting CH2 Continuous comparison No 2 setting aw Details Zo Mave to sub window Q i Ww zk O Make text file End setup 9 E T ano Channel 1 Channel 2 CH1 Initial s
124. isted only for channel For I O numbers and buffer memory addresses used for channel 2 refer to Section 3 3 1 and Section 3 4 1 1 Module READY X00 e Turns ON at reset or power on of the programmable controller CPU when the QD64D2 is ready for counting and the counting process is executed e Turns OFF when a watchdog timer error or an error which affects the system Error code 810 to 860 occurs e When the module READY X00 is OFF the counting is not executed e Use this signal for an interlock of a sequence program gt Operation by the QD64D2 Operation by the sequence program In Watchdog timer error or an error QD64D2 status preparation i Ready that affects the system l 1 ON A Module READY A x00 OFF Figure 3 6 Operation of the module READY X00 3 3 I O Signals to the Programmable Controller CPU 3 3 2 Functions of I O signals 3 SPECIFICATIONS 2G Fel ceries aS 2 Counter value large No 1 X01 counter value coincidence No 1 X02 counter value small No 1 X03 counter value large No 2 X04 counter value coincidence No 2 X05 counter value small No 2 X06 The signals notify a comparison result in the counter value comparison function coincidence output function continuous comparison function In a and b below operations of the counter value large No 1 X01 the counter value coincidence No 1 X02 and the counter value small No 1 X
125. it value Ring counter function an Section 5 2 2 and the lower limit value 3 Compares preset coincidence detection point of an arbitrary Coincidence output a her channel with the present counter value and outputs the Section 5 3 1 5 unction counter value coincidence We Compares any of preset coincidence detection points of an 5 A Continuous comparison arbitrary channel with the present counter value and i Counter hae f Section 5 3 2 i function outputs the counter value coincidence during the set time value p after the coincidence comparison oad S ee Checks wiring of coincidence output 25 function Coincidence output i ot j This function can be used only when the continuous Section 5 3 3 Yaz test function i at 229 comparison function is selected WZ z ae Generates an interrupt signal to the programmable a E a Coincidence detection oe f Ewe controller CPU when a coincidence is detected and starts Section 5 3 4 interrupt function an interrupt program Preset function Overwrites present value to an arbitrary value Section 5 4 Latch counter function Latches the present value Section 5 5 1 The functions can be used in combination Z However as for the following functions select either of them F e Linear counter function ring counter function e Coincidence output function continuous comparison function x 2 Ww Ze oid ag ES E5 DG o rA 10 O
126. itches from 1 to 5 Entering the values in hexadecimal make the setting easier Change Input format to HEX and enter values Switch setting for I O and intelligent function module Input format Figure 4 10 Switch setting for I O and intelligent function module screen POINT Since Error time output mode and H W error time PLC operation mode on the Switch setting for I O and intelligent function module screen are disabled to the QD64D2 the settings are unnecessary 4 12 4 5 Intelligent Function Module Switch Setting 5 FUNCTIONS CHAPTERS FUNCTIONS 5 1 5 1 1 Pulse input method 1 multiple of 1 phase SLSEC seres This chapter describes functions of the QD64D2 Pulse Input and Count Methods Types of the pulse input method The pulse input method has six types as shown on Table 5 1 This chapter describes I O numbers X Y of channel 1 only For I O numbers X Y of channel 2 refer to Section 3 3 1 Set the count method with the intelligent function module switch setting of GX Developer refer to Section 4 5 For addition count For subtraction count Table 5 1 Types of the pulse input method Count timing oA B and subtraction count command Y05 pA oB or subtraction count le command Y05 Counts on the rising edge T of dA B and the subtraction count command Y05 are OFF
127. l x24 1 CH1 latch execution command signal x26 CH1 coincidence output enable signal 5 cae X27 CH1 coincidence LED clear signal QX40 X20 to X2F X28 CH1 error warning reset command signal X2A CH2 count operation start signal X2B CH2 count operation stop signal X2D CH2 preset command signal X2E6 CH2 continuous comparison execution signal X2F CH2 error warning reset command signal 7 3 Programming Example when GX Configurator CT is Used 7 6 OVERVIEW CONFIGURATION SYSTEM SPECIFICATIONS PROCEDURES AND SETTINGS BEFORE OPERATION FUNCTIONS UTILITY PACKAGE GX Configurator CT j PROGRAMMING TROUBLESHOOTING PROGRAMMING Table 7 2 List of devices continued Device Function Y30 CH1 coincidence confirmation LED signal Y31 2 CH1 overflow occu rrence confirmation LED signal Y32 CH2 coincidence confirmation LED signal 1 Set this only when using the latch counter function 2 Set this only when using the linear counter function 3 Stores last occurred error and holds it even after error reset 4 Stores last occurred warning and holds it even after error reset 5 Set this only when using the coincidence output function 6 Set this only when using the continuous comparison function 2 Operating the GX Configurator CT a Initial setting Set the initial settings of CH1 and 2 Refer to Section 7 2 for the settings For Initial setting in GX Configurator CT refe
128. le Make text file Refer to Section 6 4 Figure 6 4 General operation Refer to Section 6 5 6 9 6 3 Utility Package Operation 6 3 2 Operation overview 6 UTILITY PACKAGE GX Configurator CT MELSEC Q series w S z O o ne j 26 HO n Zz O E lt q 1 S Online Monitor Test fa my a Select monitor test module screen Z Select monitor test module Select monitor test module Start 1 0 No Module type pooo Sr lt O odule model name a ite 0D64D2 m ae DnO AGE Module implementation status ray Zz Start 170 No Module model name 9 E m O0OOQD6402 ano Monitor Test Select a module to be monitored tested Monitor Test Monitor Test screen FUNCTIONS Oo Monitor Test Module information Module type Counter Module Start 1 0 No 0000 Module model name QD64D2 Setting item Current value Setting value CHT Present value CH1 Overflow detection flag CHT Subtraction count command Y05 OFF CHT Count enable commandty05 i ON Enable CHT Extemal 1 0 status monitor Preset input status CHT Extemal 1 0 status monitor Latch counter input status CHT Extemal 1 0 status monitor Phase A input status CHT Extemal 1 0 status monitor x o Lu 0 xt P 4 2 ja gt a Cc 9 S g 2 E o Flash ROM setting Details Cunent v
129. le and intelligent function module and check that the current capacity is sufficient Reset the programmable controller CPU and check that the RUN LED turns ON If the RUN LED remains OFF even doing so the QD64D2 is at f Is there a watchdog timer error o Section 4 3 fault Please consult your local Mitsubishi representative explaining a detailed description of the problem Are the modules correctly mounted to the base S ae Check the module mounting status Section 4 1 8 1 3 When the RUN LED and ERR LED turn ON Table 8 4 When the RUN LED and ERR LED turn ON Check item Action Reference Check the error code Un G18 of channels in use Is there any errors Section 8 11 1 and take action described in Error Code List 8 1 4 When the RUN LED and FUSE LED turn ON Table 8 5 When the RUN LED and FUSE LED turn ON Check item Action Reference AEN Please consult your local Mitsubishi Is the fuse of the external coincidence output part blown representative explaining a detailed description of Section 4 3 the problem EJPOINT Even if the fuse of the external coincidence output part is blown the FUSE LED does not turn ON unless a voltage is applied to the external coincidence output power supply terminal 8 3 8 1 Error Processing and Recovery Methods 8 1 2 When the RUN LED turns OFF 8 TROUBLESHOOTING 8 2 When the QD64D2 does not Start Counting Table 8 6 When the QD64D2 does not star
130. le execution not possible error The linear counter The count enable command Y06 is turned ON while Turn OFF the coincidence function and ring 300 one of the following is ON output test command which is counter function Coincidence output No 1 test command YOB ON does not start Coincidence output No 2 test command YOC counting 8 11 Action and Handling of Errors 8 10 8 11 1 Error code list OVERVIEW CONFIGURATION SYSTEM SPECIFICATIONS PROCEDURES AND SETTINGS BEFORE OPERATION FUNCTIONS UTILITY PACKAGE GX Configurator CT PROGRAMMING e e O zZ G O T o m l D gt aa E TROUBLESHOOTING Table 8 19 Error code list continued Description Operation at error MELSEC TA cries Continuous comparison No m execution not possible The continuous error The continuous comparison No m execution comparnisoncanino p i Turn OFF the coincidence be started The command Y09 and YOA is turned ON while one of ain Febna ON output test command then turn error does not E 9 Omg S i ON the continuous comparison affect the other Coincidence output No 1 test command YOB ae execution command continuous Coincidence output No 2 test command YOC The error does ae comparison m indicates the continuous comparison number number not affect other where the error occurred i channels Ring counter upper lower limit valu
131. lue coincidence No m X02 and Seins aa ection 5 3 condition X05 within the time set by the continuous CHAPTER 7 Scan time gt continuous comparison No m ON time setting Un G52 and 102 m indicates the continuous comparison number 8 5 Turn ON OFF comparison No m ON time setting Un G52 and 102 8 4 When the Counter Value Coincidence No 1 X02 or Counter Value Coincidence No 2 X05 does not 8 TROUBLESHOOTING 8 5 SLSEC LEY series When the Counter Value Coincidence No 1 X02 or Counter Value Coincidence No 2 X05 are Turned ON but the Coincidence Output No 1 Terminal EQU1 and Coincidence Output No 2 Terminal EQU2 do not Turn ON Table 8 11 When the counter value coincidence No 1 X02 or counter value coincidence No 2 X05 are turned ON but the coincidence output No 1 terminal EQU1 and coincidence output No 2 terminal EQU2 do not turn ON Check item Action Reference Is the coincidence output enable command Y03 o N Turn ON the coincidence output enable command Section 3 3 turned ON ee Y03 CHAPTER 7 Only for the coincidence output function Is a voltage applied to the external coincidence Apply a voltage to the external coincidence output output power supply terminal power supply terminal If the FUSE LED is ON the fuse is blown Please consult your local Mitsubishi Is the fuse blown S fae Section 3 5 representative explaining a detailed description of f Secti
132. lue coincidence does not turn OFF when selecting the coincidence output function Check item Is the ON time of the coincidence signal No m reset command Y01 and Y02 2ms or longer Action Set the ON time of the coincidence signal No m reset command to 2ms or longer Reference Section 3 3 m indicates the coincidence output number 8 4 2 When selecting the continuous comparison function Table 8 10 When the counter value coincidence does not turn ON OFF when selecting the continuous comparison function Check item Action Reference Does the present value Un G12 and 13 coincide i i i Change the setting so that the present value with the continuous comparison No m point n f coincides with the continuous comparison No m setting Un G54 to 85 and 104 to 135 after an i Section 5 3 2 f 3 point n setting after an elapse of continuous elapse of continuous comparison No m ON time f comparison No m ON time setting 1ms setting Un G52 and 102 1ms Has the continuous comparison No m point n Set the continuous comparison No m point n f setting been set to out of the count range of the E Section 5 2 1 x setting value to within the count range of the ring ring counter Section 5 3 2 counter Only for the ring counter function Does the relation of the scan time in the Use the direct access input DX and so on to read sequence program fall under the following out the counter va
133. monitor Figure 6 8 Monitor Test screen Executelea 6 6 Details Select input Monitoring Setting range OFF ON Monitoring Test 6 6 1 Monitoring test 6 18 SYSTEM PROCEDURES AND SETTINGS BEFORE OVERVIEW SPECIFICATIONS CONFIGURATION OPERATION FUNCTIONS Oo x 9 Lu ge x 25 ag as ES ae eQ DO PROGRAMMING TROUBLESHOOTING 6 UTILITY PACKAGE GX Configurator CT Coincidence output function Module information Module type Counter Module Module model name QD64D2 Start 1 0 No 0000 Setting tem Current value Setting value CH1 Present value CH1 Coincidence output enable command y 03 OFF Disable OFF Disable CH1 Coincidence output No 1 point setting CH1 Coincidence output No 1 point change request No change request No change request CH1 Coincidence signal No 1 reset command y01 OFF Release OFF Release CH1 Counter value large No 1X01 ON CH1 Counter value coincidence No 1002 ON CH1 Counter value small No 1 lt 03 OFF CH1 Coincidence output No 2 point setting CHT Coincidence output No 2 point change request CH1 Coincidence signal No 2 reset command V02 No change request No change request OFF Release OFF Release Flash ROM setting Current value display Make text file Stop monitor
134. mparison gt No m point n setting T Z0 Continuous comparison No m 1 ms x Input pulse speed pps 0 ON time setting ms 1000 29 b Condition 2 Applies only when the derating of external coincidence output is less than 100 Refer to Section 3 1 2 2 Interval of Continuous comparison gt lt No m point n setting a Continuous comparison No m 100 x Pe oils pulse speed PPS ON time setting ms ON ratio 1000 For example when Continuous comparison No 1 ON time setting 10 ms ON 236 ratio 50 Input pulse speed 4 Mpps 4000000 pps interval of the SEs wQ continuous comparison No 1 point n setting Un G54 to 85 is the following EONA ol Condition 1 Interval of Continuous comparison 4000000 pps No 1 point n setting Un G54 to 85 10 ms 1 ms eS 1000 44000 Condition 2 o Z O O Z Le Interval of Continuous comparison 100 4000000 pps No 1 point n setting Un G54 to 85 Z 10 ms x K ee 50 1000 80000 5 To satisfy the conditions 1 and 2 set the value of condition 2 8 Interval of the continuous comparison No 1 point n setting Un G54 to 85 80000 Es Eo DO POINT 1ms in the above condition 1 is a time for the comparison target change in the o QD64D2 Always set the sequence program to satisfy the condition 1 2 When the count value is coincided within the time the QD64D2 may not detect the coincidence depending
135. n gt Operation by the QD64D2 __ Operation by the sequence program Continuous comparison ON Y09 No 1 execution command OFF During continuous comparison No 1 OFF execution X09 7 f Continuous comparison k No 1 point monitor 0 Y 1 x 2 X during comparison iN iN 7 Un G86 i f A 8 fa A 2 G amp a 8 S S 3 e 3 1 i Present value I Cineizandiay OE Meek I Li ON y 4 y Ni EQU1 X02 ON Counter value q 7 small No 1 X03 OFF OFF Counter value large No 1 X01 i 1 i f oo 1 Coincidence output A AON i AON i A ON No 1 terminal l i 41 i OFE i 1 lOFF 1 OFF e a tf ae ry Oy Counter value He ON de it im ON if i ON coincidence No 1 122 OFF i OFF iy OFF i 7 ON OFF 1 t1 Continuous comparison No 1 ON time setting Un G52 2 t1 lt 2 lt t1 1ms Figure 3 8 Operation of the counter value large No 1 X01 the counter value coincidence No 1 X02 and the counter value small No 1 X03 when using the continuous comparison function 3 10 3 3 I O Signals to the Programmable Controller CPU 3 3 2 Functions of I O signals 3 SPECIFICATIONS MELSEC IA series 3 External preset request detection X08 e Turns ON when the preset input terminal PRST is turned ON e To turn OFF the external preset request
136. n No 1 point monitor during comparison Un G86 The counter value coincidence No 1 X02 turns OFF Complete process When the coninuous comparison No 1 execution command Y09 is turned OFF the following are processed and the during continuous comparison No 1 execution X09 turns OFF 6 The counter value small No 1 X03 turns OFF The counter value coincidence No 1 X02 turns OFF The counter value large No 1 X01 turns OFF The continuous comparison No 1 point monitor during comparison Un G86 is held until the during continuous comparison No 1 execution X09 turns ON 5 16 5 3 Using the Counter Value Comparison Function 5 3 2 Using the continuous comparison function 5 FUNCTIONS MELSEC IA series POINT 1 When the count value coincides with the comparison point an external output z is performed Therefore do not connect anything to the unused coincidence z output terminal EQU 3 2 When the counter value coincidence No 1 X02 is turned from OFF to ON by the coincidence detection process of the QD64D2 there may be cases where the counter value large No 1 X01 or the counter value small No 1 X03 turns ON 3 If the continuous comparison No 1 execution command Y09 is turned OFF o while outputting from the coincidence output No 1 terminal EQU1 the output T stops regardless of the set time of the continuous comparison No 1 ON time setting Un G52 o D aw maz SE ano
137. n for external coincidence output GND OV elt is common between channels 3 26 3 5 Specifications of I O Interfaces with External Device 3 5 3 List of I O signal details 3 SPECIFICATIONS M als AG lA cries 3 5 4 Interface for external device The following table shows the list of external device interface of the QD64D2 S ia Table 3 10 List of external device interface of the QD64D2 z 0 Terminal NECE Internal circuit number Signal name classification Zz fe 27kQ B19 A19 Phase A pulse input Fa yo z 110W Isolator ae semen 3 Nino mow B18 A18 Phase A pulse input 2 fe y 5VO g fa 27kQ B17 A17 Phase B pulse input a M ag T a 110W Isolator Isolating element i Line 9 W receiver PN ano w B16 A16 Phase B pulse input lt 5 az Input age m fa B15 A15 Pulse input common eae 10kQ 1 3W B12 A12 Preset input 24V B13 A13 Preset input common F 2 10kQ 1 3W B08 A08 Latch counter input 24V x O mi om B09 A09 Latch counter input common ae ES 58 B05 A05 Coincidence output No 1 Z 2 Output B04 A04 Coincidence output No 2 9 oO oO External coincidence output power suppl B03 A03 EEE ERa To blown fuse 12 24V o detection circuit a External coincidence output power supply Q FUSE B02 A02 2 GND 0V o a O 3 5 Specifications of I O In
138. name Signal name number No B20 NC A20 NC B19 PULSE A A19 PULSE A B18 PULSE A A18 PULSE A Z E za on B17 PULSE B A17 PULSE B 2 B19 A19 B16 PULSE B A16 PULSE B re B18 A18 B17 A17 B15 PULSE COM A15 PULSE COM B16 A16 B14 NC A14 NC B15 A15 5 B14 A14 B13 PRST COM A13 PRST COM S B13 A13 B12 PRST A12 PRST Ze B12 A12 59 B11 A11 B11 NC A11 NC lt S Bilt AIO B10 NC A10 NC Se B09 A09 a B08 A08 B09 LATCH COM A09 LATCH COM 5S B07 A07 m ona T arru O aa T ar BOG A06 B08 LATCH A08 LATCH B05 A05 B07 NC A07 NC B04 A04 B03 A03 B06 NC A06 NC B02 A02 B05 EQU1 A05 EQU1 o B01 A01 Z B04 EQU2 A04 EQU2 B03 12V 24V A03 12V 24V Front view of the module B02 ov A02 Ov g B01 NC A01 NC o zZ E Q e pa if a a E 3 5 Specifications of I O Interfaces with External Device 3 25 3 5 2 Signal layout for external device connector 3 5 3 SPECIFICATIONS MELSEC TA eries List of I O signal details Signal name The details of each signal for the QD64D2 external device connector are shown below Table 3 9 Details of each signal for external device connector Terminal number Signal details Phase A pulse input B19 A19 PULSE A lInputs plus side of phase A pulse Phase A pulse input B18 A18 PULSE A lInputs minus side of phase A pulse Phase B pulse input B17 A17 PULSE B elnputs plus side of phase B pulse Phase B pulse input B16 A16
139. nction module utility GX Developer program comments etc and other applications and then start GX Developer and Intelligent function module utility again 4 To start the Intelligent function module utility a In GX Developer select QCPU Q mode for PLC series and specify a project If any other than QCPU Q mode is selected for PLC series or if no project is specified the Intelligent function module utility will not start b Multiple Intelligent function module utility can be started However Open parameters and Save parameters operations under Intelligent function module parameter are allowed for one Intelligent function module utility only Only the Monitor test operation is allowed for the other utilities 5 Switching between two or more Intelligent function module utilities When two or more Intelligent function module utility screens cannot be displayed side by side select a screen to be displayed on the top of others using the task bar MELSOFT series GX D Intelligent Function m Intelligent function m 6 Number of parameters that can be set in GX Configurator CT When multiple intelligent function modules are mounted set the parameters within the maximum number of settable parameters shown on the next page 6 3 6 2 Installing and Uninstalling the Utility Package 6 2 1 Handling precautions 6 UTILITY PACKAGE GX Configurator CT M eL 26 A ceries
140. ng Procedure 7 2 PROGRAMMING MELSEG TA eres 7 2 For Use in Normal System Configuration This section describes a program example under the following system configuration and use conditions 1 System configuration QCPU QD64D2 X Y00 to X Y1F CH1 encoder CH2 encoder QY40P Y30 to Y3F QX40 X20 to X2F Figure 7 2 System configuration 2 Conditions for the intelligent function module switch setting Table 7 1 Conditions for the intelligent function module switch setting Channel Pulse input mode Counter format Counter value comparison function selection CH1 CW CCW Linear counter Coincidence output function CH2 CW CCW Ring counter Continuous comparison function 3 Program conditions intial setting a Preset the following values to each channel e CH1 0 e CH2 50000 b CH1 uses the coincidence output function refer to Section 5 3 1 1 e Coincidence output No 1 point setting 10000 Coincidence output No 1 point change request Change request 1 This program example does not use the coincidence output No 2 CH1 counter value coincidence No 2 X05 turns ON at default c CH2 uses the continuous comparison function refer to Section 5 3 2 2 e Continuous comparison No 1 start point setting 1 e Continuous comparison No 1 repeat point setting 2 e Continuous comparison No 1 ON time setting 10ms e Continuous comparison No 1 point 1 setting 20000 e Continuous comparison
141. nnel 1 For o I O numbers and buffer memory addresses used for channel 2 refer to Section 3 3 1 and DZ O Section 3 4 1 2 1 Operation of the latch counter function Count enable command ON z Y06 OFF 4 z 150 130 2g 100 i 100 i Uns l 225 Present value A z z Un G12 and 13 50 QF u 50 i ano 0 7 1 1 3 1 z Latch counter ON l 2 execution command OFF z Y07 ia 5 ie hoo i Latch counter ON 2 3 F input terminal OFF SE LATCH i Qs Es 5 150 130 100 100 9 Latch count value 2 Un G14 and 15 50 50 3 a 0 0 t22ms a Q Figure 5 14 Operation example of the latch counter function F W 3 S 5 5 Using the Latch Counter Function 5 29 D FUNCTIONS 5 30 MELSEC TA cries Table 5 12 Details of operation example of the latch counter function Number Description 1 When the latch counter execution command Y07 is turned from OFF to ON the present value Un G12 and 13 is stored in the latch count value Un G14 and 15 When the latch counter input terminal LATCH is turned from OFF to ON the 2 present value Un G12 and 13 is stored in the latch count value Un G14 and 15 3 While the latch counter execution command Y07 or the latch counter input terminal LATCH is ON the latch counter function cannot be executed 4 The latch counter function can be execu
142. nput mode at the maximum counting speed Pulse input waveform that does not reach to the maximum counting speed is also applicable a At 1 phase input Pulse input waveform at 1 phase input input needs to satisfy the following conditions duty ratio of 50 t tH tL 1 0 us tH tl 0 5 us 0 5 x t Differential t voltage ha al H level L level Figure 3 1 Pulse input waveform at 1 phase input b Dusa At 2 phase input Pulse input waveform at 2 phase input needs to satisfy both the condition at 1 phase input and the condition below t1 t2 t3 t4 0 25 us 0 25 x t Differential voltage H level A Yo i 0 0 1V L level ty Differential k k voltage i i H level B L level Figure 3 2 Pulse input waveform at 2 phase input 1 Differential voltage H level 6A t3 Differential i voltage H i H level L B L level Figure 3 3 Pulse input waveform at 2 phase input 2 3 2 3 1 Performance Specifications 3 1 1 Relation of phase difference between phase A and phase B 3 SPECIFICATIONS M als AG lA eries 3 1 2 Derating chart 100 OVERVIEW 90 80 70 ON ratio 60 50 40 0 10 20 30 40 50 55 Ambient temperature C Figure 3 4 Derating chart CONFIGURATION SYSTEM 25 This section explains conditions for each counter valu
143. nt monitor during comparison Un G86 the during continuous comparison No 1 execution X09 turns ON and the continuous comparison starts At counter value coincidence When the present value Un G12 and 13 is equal to the continuous comparison No 1 point 1 setting the following are processed 3 1 The counter value small No 1 X03 turns OFF and the counter value coincidence No 1 X02 and the coincidence output No 1 terminal EQU1 turn ON 2 A coincidence detection interrupt to the programmable controller CPU is generated Process after the continuous comparison ON time setting After a set time of the continuous comparison No 1 ON time setting Un G52 elapses the coincidence output No 1 terminal EQU1 turns OFF 4 Comparison target will be the continuous comparison No 1 point 2 setting Un G56 and 57 2 is stored in the continuous comparison No 1 point monitor during comparison Un G86 The counter value coincidence No 1 X02 turns OFF When OFF of the coincidence output No 1 terminal EQU1 is detected the following are processed After that the comparison is repeated with the continuous comparison No 1 point 2 setting Un G56 and 57 and the continuous comparison No 1 point 1 setting Un G54 and 55 until the continuous comparison No 1 execution 5 command Y09 is turned OFF Comparison target will be the continuous comparison No 1 point 1 setting Un G54 and 55 1 is stored in the continuous compariso
144. o 0 function election OH Coincidence output function 1H Continuous comparison function Switch 2 Same as for the switch 1 0000 CH2 Switch 3 Reserved Fixed to 0 Switch 4 Reserved Fixed to 0 Switch 5 Reserved Fixed to 0 4 10 4 5 Intelligent Function Module Switch Setting PROCEDURES AND SETTINGS BEFORE OPERATION 1 M E 26 Kel ceries Example Target channel channel 1 pulse input mode setting 1 multiple of 2 phases counter format ring counter and counter value comparison function selection continuous comparison function Set the switch 1 1103H 3 POINT The reserved bits in Table 4 5 are for system use not for users Therefore always fix them to 0 If used changed from 0 to 1 by a user the functions of the QD64D2 are not guaranteed o Fave cas 2 Details of the intelligent function module switch setting Table 4 6 Details of the intelligent function module switch setting o zZ Setting item Description Reference Set the pulse input mode for each channel O Pulse input mode When setting 6H to Fu a switch setting error error code Section 5 1 1 a 810 occurs A Section 5 2 1 Counter format Set the counter format for each channel Section 5 2 2 Counter value comparison Set the counter value comparison function for each Section 5 3 1 function selection channel Section 5 3 2 w x O U ui m a oO zZ w N a A Ed ie Oz aoe wZzact
145. ogram Overflow detection processing x0 uo K4 MOV G16 D4 E 3 b Error warning reset program Error warning reset processing xOD u0 mov 618 D118 lt gt D118 KO mov D118 D5 X0E uO mov G19 D119 lt gt D119 KO R rv D119 D6 X28 X0D YOD XOE CH2 program 1 Count control program 1 a Count operation program Starts count operation xO X2A ser Y16 Stops count operation x0 X2B m n EA Y16 Present value storage xO x20 UoN pmov 6212 D8 1 b Preset execution program Sets the present value as preset value xO X2D He ea 2 Counter value comparison program 2 b Continuous comparison function program Executes continuous comparison Y19 X12 132 MELSEC TA cries CH1 coincidence output enable command Y03 ON CH1 coincidence confirmation LED signal ON CH1 counter value coincidence No 1 X02 OFF Stores CH1 overflow status to D4 CH1 overflow occurrence confirmation LED signal ON Stores CH1 error code to D118 Stores a value of D118 to D5 when error code is stored in D118 Stores CH1 warning code to D119 Stores a value of D119 to D6 when warning code is stored in D119 CH1 error reset command YDO ON CH2 count enable command Y16 ON CH2 count enable command Y16 OFF Stores CH2 present value to D8 CH2 preset command Y14 ON CH2 continuous comparison No 1 execution command Y19 ON CH2 coincidence
146. on 4 4 Is the external wiring of the coincidence output No 1 terminal EQU1 and coincidence output No 2 terminal EQU2 correct 8 6 the problem Check the external wiring and correct the error Table 8 12 When the coincidence detection interrupt does not occur Check item Does the CPU module support the coincidence detection interrupt function If the setting made on Interrupt pointer setting of Action Change the CPU module to the one which supports the intelligent function module event interrupt Check the intelligent function module interrupt When the Coincidence Detection Interrupt does not Occur Reference Section 2 1 1 Intelligent function module setting in PLC Section 5 3 pointer setting parameter correct Is the way to use the program execution control Section 5 3 i x Check the sequence program instruction such as IMASK correct CHAPTER 7 Four Reset OFF the counter value coincidence No m Is the counter value coincidence X02 and X05 need X02 and X05 by the coincidence signal No m still ON Section 3 3 2 Only for the coincidence output function 8 5 When the Counter Value Coincidence No 1 X02 or Counter Value Coincidence No 2 X05 are Turned ON but the Coincidence Output No 1 Terminal EQU1 and Coincidence Output No 2 Terminal EQU2 do reset command Y01 and Y02 for the corresponding number 8 6 OVERVIEW CONFIGURATION SYSTEM SPECIFICATION
147. on interrupt function use the Basic model QCPU of function version B or later 4 The coincidence detection interrupt function is not supported 5 Connection of extension base units is not available with any safety CPU eeeeeeseeoeoeeeaoeeoceeoeeceeaceseeoeeaee eee eceaeeesceeaeeseeaeaeaoe ee eed For the use of the C Controller module refer to C Controller Module User s Manual eeeeeseeveneneeeeeeeoeneseeneseeeeeeeeeeeeeseeeseeeeeeneeeeee se 8 N N 2 1 Applicable Systems OVERVIEW N Zz O fo Le Zz fe SYSTEM SPECIFICATIONS PROCEDURES AND SETTINGS BEFORE FUNCTIONS OPERATION UTILITY PACKAGE GX Configurator CT PROGRAMMING TROUBLESHOOTING 2 SYSTEM CONFIGURATION MELSEG Fl cries b Mounting to a MELSECNET H remote O station The following table shows network modules that can be mounted to the QD64D2 the number of mountable network modules and applicable base units The QD64D2 module can be mounted into any I O slots on the applicable base unit However the power capacity may be insufficient depending on the combination with the other mounted modules and the number of mounted modules Be sure to check the power capacity when mounting the modules Table 2 2 Mountable network modules No of mountable modules and mountable base unit Number of Applicable base unit 2 Mountable network Main base unit on Extension base unit mountable module ieee the remote
148. on the timing of the count value coincidence and the g comparison target change g 5 2 3 5 3 Using the Counter Value Comparison Function 5 21 5 3 2 Using the continuous comparison function D FUNCTIONS MELSEG LA series 5 3 3 Using the coincidence output test function Use the coincidence output test function to check the wiring of the coincidence output No 1 terminal EQU1 and the coincidence output No 2 terminal EQU2 when selecting the continuous comparison function When using the continuous comparison function the coincidence output No 1 terminal EQU1 and the coincidence output No 2 terminal EQU2 automatically turn OFF Therefore check the wiring using the coincidence output test function 1 Operation of coincidence output test function 1 Coincidence output No 1 test command ON 4 ine OFF 2 7 Coincidence output No 1 terminal ON EQU1 OFF External I O status monitor b4 ON y Un G17 OFF Figure 5 9 Operation example of the coincidence output test function Table 5 8 Details of operation example of coincidence output test function Number Description When the coincidence output No 1 test command YOB is turned ON the following are executed 1 The coincidence output No 1 terminal EQU1 turns ON Bit 4 Coincidence output No 1 output status of the external I O status monitor Un G17 turns ON When the coincidence output No 1 test command YOB is turned OFF t
149. ops count operation x0 X2B RR st Y16 CH2 count enable command Y16 OFF 7 1 b Preset execution program Sets the present value as preset value xO X2D Gua CH2 preset command Y14 ON 2 Counter value comparison program 2 b Continuous comparison function program Executes continuous comparison x0 X2E CH2 continuous comparison m Y19 No 1 execution command Y19 ON xo 19 x12 a 1 x32 CH2 coincidence f confirmation LED signal ON 3 Auxiliary program 3 a Error warning reset program Error warning reset processing Bist i ov miso nao eg CH2 error code to pizi KO 7 mov pizi pti Stores CH2 warning code to D11 An CH2 error reset command Y1D ON eno 7 11 7 3 Programming Example when GX Configurator CT is Used PROGRAMMING 7 4 M aS AG el series Programming Example when GX Configurator CT is not Used Device Function 1 List of devices Table 7 5 List of devices D0 D1 CH1 present value storage D2 D3 CH1 latch count value storage D42 CH1 overflow status storage D53 CH1 error code storage p64 CH1 warning code storage D118 CH1 error code D119 CH1 warning code D8 D9 CH2 present value storage D103 CH2 error code storage D114 CH2 warning code storage D120 CH2 error code D121 CH2 warning code M10 Initial setting complete signal X00 Module READY X02
150. ossooooossooooose 8 3 8 2 When the QD64D2 does not Start COUNTING seeeeeeececccccccccocccccsocsccccoccccccccccccccocccccoooscccsooses 8 4 8 3 When the QD64D2 does not Normally Count oooooooooooooooo0000000000000000000000000000000000000000000000000 3 4 8 4 When the Counter Value Coincidence No 1 X02 or Counter Value Coincidence No 2 X05 does not Turn ON OFF coooooooooooooo00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 J 5 8 4 1 When selecting the coincidence output function cecccccccccccccccccccccccvccccccccccccccccccccsocooooces 5 8 4 2 When selecting the continuous comparison functione esesccccccccocoo000000000000000000000000000000003 D 8 5 When the Counter Value Coincidence No 1 X02 or Counter Value Coincidence No 2 X05 are Turned ON but the Coincidence Output No 1 Terminal EQU1 and Coincidence Output No 2 Terminal EQU2 do not Turn ON 0oooooooooooooo000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 J 6 8 6 When the Coincidence Detection Interrupt does NOt OCCU eeeesseeeeesseeeeessececccoooccccoooocosooeoeoe 3 G 8 7 When the Coincidence Output Test Function Cannot be Executede eeeeeeeeeeeeeeeesesseesoccooooeceeee 8 7 8 8 When the Preset Cannot be Executed seesseeesseesseeseeccseesecocsooccooccocesocsssecsoeccooccooessoesssee 3 8 8 8 1 When the preset cannot be executed by the preset command Y04 cccecececcccccccccccccsc
151. 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 Mitsubishi 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 REVISIONS The manual number is given on the bottom left of the back cover Print date Manual number Revision Dec 2008 SH NA 080726ENG A First edition Apr 2010 SH NA 080726ENG B Gorrection SAFETY PRECAUTIONS GENERIC TERMS AND ABBREVIATIONS Chapter 1 Section 2
152. output function always execute the following procedures from 1 to 3 For the programming method of the following procedures refer to Section 7 3 o and Section 7 4 DZ nO Procedure 1 Set the following buffer memories and make sure that the coincidence output point settings are other than 0 Z E CH1 coincidence output No 1 point setting Un G6 and 7 g CH1 coincidence output No 2 point setting Un G8 and 9 CH2 coincidence satu No 1 vat sting ae oa 207 Aher nant CH2 coincidence output No 2 point setting Un G208 and 209 CH1 coincidence output No 1 point change request Un G10 z g CH1 coincidence output No 2 point change request Un G11 1 id i CH2 coincidence output No 1 point change request Un G210 a 8 CH2 coincidence output No 2 point change request Un G211 9 E m ano Procedure 2 Turn from OFF to ON then OFF the following signals to turn OFF the counter value coincidence X02 X05 X12 and X15 Signals to be turned OFF gt ON gt OFF CH1 coincidence signal No 1 reset command Y01 CH1 coincidence signal No 2 reset command Y02 ol FUNCTIONS CH2 coincidence signal No 1 reset command Y 11 CH2 coincidence signal No 2 reset command Y12 1 Make sure that ON time is longer than 2ms Procedure 3 Only for external output After checking that the counter value coincidence X02 X05 X12 and X15 is OFF turn ON the coincidence output enable Y03 and Y13 UTILITY PACKAGE GX Configurator CT 2
153. p manufactured by Mitsubishi Electric Corporation In a control panel cavgdd 20cm 7 87inch to 30cm 11 81inch gt 5 a H Figure 4 4 AD75CK cable clamp For the AD75CK refer to the following manual L gt AD75CK type Cable Clamping Instruction Manual b The power supply line connecting to the external coincidence output power supply module should be 10m or less long c Keep the length of the cable connected to the external devices of the QD64D2 to 30m or less 4 6 4 4 Wiring 4 4 1 Wiring precautions PROCEDURES AND SETTINGS BEFORE ela Sere M eL 26 lA ceries 4 4 2 Example of wiring the module and an encoder Alphanumeric characters in parentheses of QD64D2 terminal parts indicate CH2 terminal numbers 1 Example of wiring with a line driver AM26LS31 equivalent encoder QD64D2 Encoder a l I ra H A 27kQ H 110W 7kg PULSE Shielded A t wow A twisted pair cable l i s i 7x Digital i iy Phase A isolator n i ls l i SS ee 7 Ks A fi Line 47K PULSE Shield H 5 4 10W receiver 27kQ A I I mi v 1710W E i L H T I oO H A 27kQ H 110W 7kg PULSE Shielded t iow B twisted pair cable B 5 a Pe l Digital Ls a4 Phase B isolator i i i B oOo LO N Pee
154. parison turn OFF the count enable command Y06 and so on so that the present value Un G12 and 13 does not change E POINT When restarting the continuous comparison function after stopping the function the comparison starts from the point set by the continuous comparison No 1 start point setting Un G50 5 14 5 3 Using the Counter Value Comparison Function 5 3 2 Using the continuous comparison function D Functions M als AG lA eries 2 Operation of the continuous comparison function Setting example for comparing between point 1 1000 and point 2 z 21000 repeatedly using the continuous comparison No 1 is indicated z below 3 a Initial setting Write the following values beforehand 1 Continuous comparison No 1 start point setting Un G50 1 Continuous comparison No 1 repeat point setting Un G51 2 E Continuous comparison No 1 ON time setting Un G52 1ms Ei O Continuous comparison No 1 point 1 setting Un G54 and 55 1000 we Continuous comparison No 1 point 2 setting Un G56 and 57 21000 1 The continuous comparison point can be set up to 16 points each Beforehand set all points to be used Refer to Section 3 4 1 a If the settings of buffer memories for the continuous comparison No 1 start point setting Un G50 and so on are improper an error Error code 201 to 222 occurs and the continuous comparison z cannot be started Ww b Operation diag
155. parison No 1 and the continuous comparison No 2 Continuous comparison No 1 point n Generic term for the continuous comparison No 1 point 1 to the continuous comparison No 1 point 16 Continuous comparison No 2 point n Generic term for the continuous comparison No 2 point 1 to the continuous comparison No 2 point 16 Continuous comparison No m point n setting Generic term for the continuous comparison No 1 point n setting and the continuous comparison No 2 point n setting Comparison point External coincidence output power supply terminal Personal computer Generic term for the coincidence output No m point setting and the continuous comparison No m point n setting Generic term for external coincidence output power supply 12 24V terminal and external coincidence output power supply GND OV terminal Generic term for IBM PC AT compatible personal computer GX Developer GX Works2 Product name for MELSEC software packerge GX Configurator CT Abbreviation for GX Configurator CT SWOD5C QCTU E of counter module setting monitor tool QCPU Q mode Generic term for the QO0JCPU QOOCPU Q01CPU Q02CPU QO2HCPU QO6HCPU Q12HCPU Q25HCPU QO2PHCPU QO6PHCPU Q12PHCPU Q25PHCPU Q12PRHCPU Q25PRHCPU QOOUJCPU QOOUCPU Q01UCPU Q02UCPU QO03UDCPU Q04UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU Q04UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU Q5
156. pe Model Applicable wire size Crimp tool FCN 363T T005 H AWG28 to 24 4 3 Part Names Contact FUJITSU COMPONENT LIMITED PROCEDURES AND SETTINGS BEFORE Seaman M eL 2G Q ceries 4 4 Wiring This section describes wiring an encoder and controller to the QD64D2 OVERVIEW 4 4 1 Wiring precautions One of the conditions to maximize the QD64D2 functions and make the system high reliable the external wiring has to be laid so that the QD64D2 becomes less subject to noise This section describes the precautions on external wiring CONFIGURATION SYSTEM 1 Inputting a signal of different voltage may result in a malfunction or mechanical failure 2 For 1 phase input always perform pulse input wiring on the phase A side SPECIFICATIONS A 3 When pulse status noise is input the QD64D2 may miscount 4 Take the following measures against noise for high speed pulse input a Always use a shielded twisted pair cable and ground it on the QD64D2 side w x O re ui m a 0 4 w N Q FA Ed N raz 220 WW lt 5 a W a Q ano b Wire the shielded twisted pair cables so as not to be in parallel with wires causing much noise such as power lines or I O wires while keeping a distance of at least 150 mm 5 91 inch between such wires Also install the shielded twisted pair cables as short as possible 5 The following diagram shows an example of wiring for measures
157. preset n command Y04 ON 1 c Latch counter function program z Latches the present value O xO x24 L x7 y CH1 latch counter execution 9 command Y07 ON ps 2 Counter value comparison program 2 a Coincidence output function program Setting for outputting the counter value coincidence signal outside xO X26 gt CH1 coincidence output ow enable command Y03 ON A g Processing at count value coincidence N mi y uD W xO Y3 X2 Y1 PON oz 14 x30 y CH1 coincidence Z nO confirmation LED signal ON ALE X2 X27 iS E m cr ya CH1 counter value Ome coincidence No 1 X02 OFF ano Hi fer onoo 3 Auxiliary program 3 a Overflow detection processing program Overflow detection processing x0 t HK D4 K1 a D CH1 overflow occurrence confirmation LED signal ON 2 3 b Error warning reset program O Error warning reset processing 5 xOD Z He D118 KO Mov D118 D5 rm I L J Stores CH1 error code to D5 X0E i t e D119 KO H O D119 D6 Stores CH1 warning code to D6 2 X28 XOD 1 H OD y CH1 error reset i command YD0 ON om 5 OL lt o a T Pant 52 a ES 20 j PROGRAMMING TROUBLESHOOTING 7 3 Programming Example when GX Configurator CT is Used 7 10 PROGRAMMING MELSEG TA eres CH2 program 1 Count control program 1 a Count operation program Starts count operation x0 X2A ser sie CH2 count enable command Y16 ON St
158. procedures 7 1 7 1 Programming Procedure PROGRAMMING MELSEG TA eres From the previous page E E 1 Count control program z w 3 a Count operation program l z b Preset execution program O z 5 20 i w r WL oO a ao NO i se the latch counter function f o H Zz O d i c Latch counter function 2 program i 5 i Ww 1 T A i 2 mennnnnunnnunnnnnununnnnnnnunnnannnnnnnnnnnnnnnnnnnnnnnnn 2 Counter value comparison program 4 rns aw 4 Required to use the counter value 45 comparison function o Ti raz i i 200 Setting of the counter value Continuous comparison function ALE comparison function selection is Oe S OF wi u Q TO Coincidence output function a Coincidence output function program b Continuous comparison function program o Z O E EAE T E E E A E N A E A E A O Z z E O n eee eae n neem enanan nance eneeeeenenenennaaaaaenanes 3 Auxiliary program 5 a i x Ring counter 5 Added according to contents of the Counter format setting is control created when necessary 5 m g S i One g lt 9 Linear counter i S w 3 a Overflow detection processing i 5 2 program ES i b Error warning reset program PROGRAMMING Program creation end Figure 7 1 Program creation procedures continued TROUBLESHOOTING 7 1 Programmi
159. put fa 3 1 multiple of 2 phases pulse 2 multiples of 2 phases pulse 4 multiples of 2 phases pulse 28 input input input For details of the input methods refer to Section 5 1 no Figure 1 1 shows the general operation of the QD64D2 i O Programmable a controller CPU 2 3 Reading writing QCPU Q mode I O signal and buffer memory A aw QD64D2 25 2 i S a B25 Encoder i OF aa External BBS control signal gt Coincidence signal Controller gt gt output 2 points Preset Latch counter Pulse 2 Encoder m 2 External Controller Cone signal Coincidence signal J output 2 points Preset 5 Latch counter T om T 1 Pulses to be input to the QD64D2 are counted i f 2 Preset value and count value can be latched with external control signal 3 Status of the I O signal and buffer memory of the QD64D2 can be checked with the sequence 5 8 program Also start stop of a count preset and coincidence output can be performed 4 When a counter value matches with the set value an interrupt request can be issued to the programmable controller CPU 5 The present value is compared with comparison point setting value and the coincidence signal can v be output z Z Figure 1 1 General operation of the QD64D2 9 A o Z E Q e ae if a a 1 OVERVIEW MELSEC TA cries 1 1 Features This section describes the features of the QD64D2 1 2 3 4 5 Counting at the maximum coun
160. put status of A phase pulse terminal A_CH1 to CH2 ON Pulse ON OFF Pulse OFF Indicates input status of B phase pulse terminal B_CH1 to CH2 ON Pulse ON OFF Pulse OFF Indicates subtraction status of a count DEC _CH1 to CH2 ON During subtraction OFF During addition A connector for connecting an encoder and controller UTILITY PACKAGE GX Configurator CT 1 LED indicator PROGRAMMING 2 External device connector 40 pins i For terminal layout refer to Section 3 5 3 Serial number plate Indicates the serial No of the QD64D2 TROUBLESHOOTING 4 3 Part Names 4 3 4 4 PROCEDURES AND SETTINGS BEFORE OPERATION MELSEC TA cries 4 POINT Even if the fuse of the external coincidence output part is blown the FUSE LED does not turn ON unless a voltage is applied to the external coincidence output power supply terminal 1 Connectors for external wiring Purchase the connector for the QD64D2 separately The following tables show the recommended connector types and crimp tool a Connector types Table 4 3 Connector types Type Model Soldering type straight out A6CON1 Crimp type straight out A6CON2 Soldering type usable for both straight out and A6CON4 diagonal out The A6CONS connector pressure welding type straight out cannot be used for the QD64D2 b Connector crimp tool Table 4 4 Connector crimp tool Ty
161. r Description 1 Write any value in the preset value setting Un G4 and 5 of the QD64D2 in 32 bit binary format 2 When the preset input terminal PRST is turned from OFF to ON the preset value setting Un G4 and 5 is stored in the present value Un G12 and 13 The preset can be executed regardless of ON OFF status of the count enable command Y06 While the external preset request detection X08 is ON the preset cannot be 3 executed by turning ON the preset command Y04 or the preset input terminal PRST 4 EJPOINT When the external preset request detection reset command Y08 is turned ON and the external preset request detection X08 turns OFF the preset can be executed When the external preset request detection X08 is OFF both the preset command Y04 and the preset input terminal PRST are valid 5 28 5 4 Using the Preset Function 5 FUNCTIONS MELSEC IA series 5 5 Using the Latch Counter Function The latch counter function latches the present value Un G12 and 13 to the latch count a value Un G14 and 15 i e The following two methods are available for latch operation e Turn ON the latch counter execution command Y07 by the sequence program e Turn ON the latch counter input terminal LATCH of external input In 1 below I O numbers X Y and buffer memory addresses are listed for cha
162. r to Section 6 4 CH1 Initial setting r Module information Module type Counter Module Module model name QD64D2 Start 1 0 No 0000 Setting item Ring counter lower limit value Ring counter upper limit value Preset value setting Coincidence output No 1 point setting Coincidence output No 2 point setting Coincidence output No 1 point change request Coincidence output No 2 point change request Make text file Setting value Change request No change request Details Decimal input Setting range 2147483648 2147483647 End setup Figure 7 4 Initial setting screen 7 3 Programming Example when GX Configurator CT is Used MELSEC TA cries QY40P Y30 to Y3F PROGRAMMING MELSEC IA series Table 7 3 Item on the Initial setting screen Setting item Description Setting Preset value setting Set preset value 0 Ww Coincidence output Set these only when z 10000 m No 1 point setting the counter value 3 an comparison function CH1 Initial setting ae Coincidence output selection refer to No 1 point change Section 4 5 is the Change request request coincidence output function o z a HE Ring counter lower limit DZ l Set these only when 50000 as value te using the ring counter CH2 Initial setting Ring counter upper limit function 50000 value Preset value setting S
163. r value coincidence Coincidence output No 2 Oo l No 2 X05 terminal EQU2 Continuous comparison No 2 point 16 setting Counter value small No 2 X06 Un G134 and 135 Q W In this section I O numbers X Y and buffer memory addresses are listed for channel 1 lt 6 and continuous comparison No 1 For I O numbers and buffer memory addresses used for TE channel 2 and continuous comparison No 2 refer to Section 3 3 1 and Section 3 4 1 SEs wQ ano ol 1 Usage sequence of the continuous comparison No 1 point n setting Un G54 to 85 and the continuous comparison No 2 point n setting Un G104 to 135 By the magnitude correlation of the following buffer memories an order and range of the continuous comparison points as comparison targets can be specified A Continuous comparison No 1 start point setting Un G50 B Continuous comparison No 1 repeat point setting Un G51 FUNCTIONS a WhenA lt B 5 Example A 5 B 10 3 SHEREHE b When A gt B Example A 10 B 3 Z Tha eee g 5 3 Using the Counter Value Comparison Function 5 13 5 3 2 Using the continuous comparison function D FUNCTIONS MELSEG lA series c When A B Example A 5 B 5 After coincidence detection with the continuous comparison No 1 point 16 setting Un G84 and 85 is completed the comparison target returns to the continuous comparison No 1 point 1 setting Un G54 and 55 again When temporarily stopping the continuous com
164. ram Count rag ae Continuous comparison ON 1 6 No 1 execution command 2 T Y09 OFF j2 Ego During continuous ON 2 comparison No 1 execution vaz X09 OFF age Continuous comparison No 1 E zZ S point monitor during comparison 0 1 x 2 x 1 Q E m Un G86 Loo ON 5 Counter value small No 1 X03 OFF Coincidence output No 1 terminal ON 11 EQU1 OFF 4 Counter value coincidence No 1 2a o X02 OFF Counter value large No 1 ON 5 X01 Fd OFF L_ 5 Present value Un G12 and 13 1 t1 Continuous comparison No 1 ON time setting Un G52 5 2 t1 lt t2 lt t1 1ms m Figure 5 4 Operation example of the continuous comparison function G E Eg EGS 20 o z z 0 fe oc oa o zZ E Q fe ae N Lu a a 5 3 Using the Counter Value Comparison Function 5 15 5 3 2 Using the continuous comparison function D FUNCTIONS MELSEC TA cries Table 5 6 Details of operation example of the continuous comparison function Number Description Execution request 1 Turn ON the continuous comparison No 1 execution command Y09 Continuous comparison start When the continuous comparison is ready first comparison target will be the continuous comparison No 1 point 1 setting Un G54 and 55 because 1 is set 2 in the continuous comparison No 1 start point setting Un G50 When 1 is stored in the continuous comparison No 1 poi
165. ries Explanation of items 1 Command buttons Make text file Creates a file containing the screen data in text file format End setup Saves the set data and ends the operation Cancel Cancels the setting and ends the operation EJPOINT Initial settings are stored to the intelligent function module parameters The initial settings become effective after writing them to the CPU module and executing 1 or 2 1 Change RUN STOP switch on the CPU module STOP RUN STOP and RUN again 2 After changing the switch to RUN power OFF and then ON the CPU module or reset it When the initial setting contents are written with the sequence program the initial settings are executed when the RUN STOP switch is changed to STOP and RUN again and initial setting values are written When the CPU module is switched to STOP and RUN again execute the initial settings with the sequence program again 6 4 Initial Setting UTILITY PACKAGE GX Configurator CT MELSEC Q series 6 5 Auto Refresh z Purpose 4 Set the buffer memory of the QD64D2 to which auto refresh is to be performed for i each channel For parameter types of Auto refresh setting refer to Section 6 1 This auto refresh setting eliminates the need for reading by sequence programs Operating procedure Start I O No gt Module type gt Module model name gt __Autoretesh_ lt 5 Enter the Start I O No in hexadecimal
166. rnal preset request detection X08 is ON the preset cannot be executed by the preset command Y04 alae Patines gt Operation by the QD64D2 Preset value setting 100 Un G4 and 5 CONFIGURATION SYSTEM 2 oo Preset command Y04 Present value xX Un G12 and 13 t22ms Figure 3 14 Operation of the preset command Y04 o Z O lt Q m 6 w a ao 11 Subtraction count command Y05 e Turn ON to execute the subtraction count at 1 phase input mode Q W In the 1 phase pulse input mode the subtraction count is executed when the Z5 N phase B pulse or the subtraction count command Y05 is turned ON go z A OOE e When the pulse input mode is 1 multiple of 1 phase counting is executed as S R shown below LOO e For the addition count check that the phase B pulse and the subtraction count command Y05 are turned OFF oA f f f f 9 oN E 2 oB OFF 2 i ON Subtraction count command i Present value 5 Un G12 and 13 T oS 5 Figure 3 15 Operation of the subtraction count command Y05 when the pulse input mode is 1 multiple of 1 phase lt 5 12 Count enable command Y06 58 e Turn ON the count enable command Y06 to start the count operation e When the pulse input mode is 1 multiple of 1 phase counting is executed as shown below f 5 j EE l B H x ON Count enable command Y06 i i i 9 P t v
167. rning code e CHO Continuous comparison No 1 point monitor during comparison e CHO Continuous comparison No 2 point monitor during comparison 6 1 Utility Package Functions AG el series Reference Section 6 6 6 2 SYSTEM PROCEDURES AND SETTINGS BEFORE UTILITY PACKAGE GX ez FUNCTIONS OVERVIEW CONFIGURATION SPECIFICATIONS OPERATION c 9 fe S p d 2 E o PROGRAMMING TROUBLESHOOTING 6 UTILITY PACKAGE GX Configurator CT M ELSEG Q series 6 2 Installing and Uninstalling the Utility Package For how to install or uninstall the utility package refer to Method of installing the MELSOFT Series included in the utility package 6 2 1 Handling precautions The following explains the precautions on using the utility package 1 For safety Since the utility is add in software for GX Developer read SAFETY PRECAUTIONS and the basic operating procedures in the GX Developer Operating Manual 2 About installation GX Configurator CT is add in software for GX Developer Version 4 or later Therefore GX Configurator CT must be installed on the personal computer that has already GX Developer Version 4 or later installed 3 Screen error of Intelligent function module utility Insufficient system resource may cause the screen to be displayed inappropriately while using the Intelligent function module utility If this occurs close the Intelligent fu
168. se Delay Time COCOOO OOOO OOO OOOO OOOOH OOO OOOO OOO OOOO OOO OOOO OOOOH OOOO OOOOH SOOOO OOO OO OOOO OOOO OOOO OOOO OOOOOOE 5 31 CHAPTER6 UTILITY PACKAGE GX Configurator CT 6 1 to 6 20 6 1 Utility Package Functions oooooooooooooooooo00000000000000000000000000000000000000000000000000000000000000000000000 1 6 2 Installing and Uninstalling the Utility Package ereereececcccccccccccccccccccccccocsccccocsccccoccoccsoccoccsoooee 3 6 2 1 Handling precautions ooooooooooooooooooo0000000000000000000000000000000000000000000000000000000000000000000000 3 6 2 2 Operating environMent ssssccceccocoooo000000000000000000000000000000000000000000000000000000000000000000 5 6 3 Utility Package Operation coooooooooooooooooooooooooo0o000000000000000000000000000000000000000000000000000000000000 7 6 3 1 6 3 2 6 3 3 Common utility package operations Oe ee 7 Operation overview Oe oes s 9 Starting the Intelligent function module utility 00000000000000 00000000000000000000000000000000000000000000 6 11 6 4 Initial Setting COCO OOO OOOO OOO OOOO OOO OOO OOOO OOO OO OOOO OOO OOOOH OOOO OOO OO OOOH OOOO OOS OOOOH OOOO OOO OOOO OOOOO OOOO OOOO OOOOOOOS 6 14 6 5 Auto Refresh COCCOOOO COO OOOO OOO OOOO OOOOH OOOOH OOOO OOO OOOOH OOOO OOO OOOO OOO OOOO OOO OO OOOO OOOOH OOO OOOOH OOOO OOO OOOOOOOOOO 6 16 6 6 Monitoring Teste eeeeeeeeeeceececccccococoococecccccccccccccoccocococcccecccccccccccccooccoceccccccccccocceccecooo 6 1
169. service transaction permission Specifications subject to change without notice
170. sulting in a drop short circuit or malfunction Be sure to shut off all phases of the external power supply used by the system before mounting or removing the module Failure to do so may cause damage to the product Do not directly touch any conductive part or electronic part of the module Doing so may cause a malfunction or failure of the module WIRING PRECAUTIONS CAUTION For wiring and connection properly crimp or solder the connector with the tools specified by the manufactures and attach the connector to the module securely Be careful to prevent foreign matter such as dust or wire chips from entering the module Failure to do may cause a fire failure or malfunction A protective film is attached to the module top to prevent foreign matter such as wire chips from entering the module during wiring Do not remove the film during wiring Be sure to remove it for heat dissipation before system operation Be sure to place the cables connected to the module in a duct or clamp them If not dangling cables may swing or inadvertently be pulled resulting in damage to the module and or cables or malfunctions due to poor cable connection When disconnecting the cable do not pull it by holding the cable part Disconnect the cable with connector with holding the connector plugged into the module Pulling the cable part with the cable still connected to the module may cause a malfunction or damage to the module
171. t Enter the Start I O No in hexadecimal The screen can also be started from System monitor of GX Developer Version 6 or later Refer to the GX Developer Operating Manual for details Setting screen Start 1 0 No 0000 Setting item Current value CH2 Warning code Setting value CH2 Eror reset commandi 10 XAY Monitor Test OFF Release XZY Monitor Test Preset function Preset function Coincidence output function Coincidence output function CHT Continuous comparison No 7 function CH1 Continuous comparison No 1 functio CH1 Continuous comparison No 2 function CH1 Continuous comparison No 2 functior CH2 Continuous comparison No 1 function CH2 Continuous comparison No 1 functio CH2 Continuous comparison No 2 function CH2 Continuous comparison No 2 function Ring counter function Ring counter function Latch counter function Flash ROM setting Current value display Make text file Stop monitor Details Cannot execute test X Y Monitor Test Module information Module type Counter Module Module model name QD64D2 Start 1 0 No 0000 X Y Monitor Test Latch counter function Monitoring Preset function Module information Module type Counter Module Module model name QD64D2 Selecting these buttons displays the following screens Preset function Start 1 0 No
172. t counting SLSEC KEY series Check item Action Reference If they turn ON check the external wiring encoder Do the LEDs of A and B turn ON by directly side and so on and correct the error applying a voltage to the pulse input terminals of If they remain OFF it is a hardware failure Please Section 4 3 A and B using such as a voltage stabilizer consult your local Mitsubishi representative Section 4 4 explaining a detailed description of the problem Is the external wiring of 6A and B correct Check the external wiring and correct the error Turn ON the count enable command Y06 by the Is the count enable command Y06 turned ON Section 3 3 2 sequence program Are the pulse input method and pulse input mode Match the pulse input method with the pulse input Section 4 5 ection 4 set with the intelligent function module switch mode made on the intelligent function module a ection 5 setting the same switch setting 8 3 When the QD64D2 does not Normally Count Table 8 7 When the QD64D2 does not normally count Check item Action Reference Check the pulse waveform with a synchronoscope Does the input pulse waveform meet the When the input pulse does not meet the Seen ection 3 performance specifications performance specifications input the pulse which meets the performance specifications When the count value that is same with another If they differ it is a hardware failure Please
173. t monitor 2 3 4 during comparison 2 Un G86 ae oa e j E Zz Le Rewrite the Rewrite the continuous continuous Turn from OFF to ON comparison comparison the continuous 5 No 1 point 2 setting No 1 point 3 setting comparison No 1 i Un G56 and 57 to Un G58 and 59 to execution command the setting for the the setting for the Y09 1 5 18th point 19th point 2 5 7 r 7 awa 1 When the present value may coincide with the comparison point of the gt comparison end point 1 before stopping the continuous comparison store 2 a value which does not perform a coincidence output for example 1 to the 5S comparison end point 1 before completing the coincidence detection at the comparison end point 2 In the case of the comparison end point is 16 turn from ON to OFF the execution command when the point monitor changes to 1 Figure 5 8 When stopping the continuous comparison o rA o 9 a A 0 Z E Q fe ae i WwW al a a 5 3 Using the Counter Value Comparison Function 5 19 5 3 2 Using the continuous comparison function D FUNCTIONS MELSEG LY series Table 5 7 shows the example of continuous comparison point setting for 19 points Table 5 7 Example of continuous comparison point setting Continuous Continuous comparison comparison Target continuous comparison No 1 point n setting order point setting 1 100 Continuous comparison No
174. ted regardless of ON OFF status of the count enable command Y06 5 5 Using the Latch Counter Function 5 FUNCTIONS MELSEC IA series 5 6 Response Delay Time In the QD64D2 a response delays due to the cause indicated in a and b below a Scan time of the sequence program 3 It affects the delay of I O signal Use the direct access input DX or the direct access output DY to minimize the delay 3 fe b Control cycle 1ms of the QD64D2 i Up to 2ms 1 control cycle x 2 of delay occurs until the QD64D2 reads out the Be output signal and buffer memory updated by the sequence program and 08 completes processing Update timing of the I O signal and buffer memory varies within the range of a control cycle 9 2 For example the following is the maximum delay time until the QD64D2 executes the latch S counter function and updates the latch count value after the latch counter execution g command Y07 is turned ON by the sequence program Maximum delay time ms Time of a Maximum time of b Pai Sequence program scan time 2 ms Ae ol o Z O O Z Le UTILITY PACKAGE GX Configurator CT PROGRAMMING TROUBLESHOOTING 5 6 Response Delay Time 5 31 6 UTILITY PACKAGE GX Configurator CT M ELSEG Q series CHAPTER6 UTILITY PACKAGE GX Configurator CT 6 1 Utility Package Functions Table 6 1 shows the functions of the utility package Table 6 1 Utility package GX
175. terfaces with External Device 3 27 3 5 4 Interface for external device 3 SPECIFICATIONS MELSEG TA eres 3 6 Connectable Encoders The encoders connectable to the QD64D2 are described below e Line driver output type encoders Check that the encoder output voltage meets the specifications of the QD64D2 3 28 3 6 Connectable Encoders PROCEDURES AND SETTINGS BEFORE OPERATION MELSEC A eres CHAPTER4 PROCEDURES AND SETTINGS BEFORE OPERATION OVERVIEW This chapter describes the operating procedures before operation part names settings and wiring of the QD64D2 4 1 Handling Precautions CONFIGURATION SYSTEM This section describes precautions on handling the QD64D2 1 Do not drop the module case and or connector or apply a strong impact to it 2 Do not remove the printed circuit board of the module from the case Doing so will cause a failure SPECIFICATIONS A 3 Be careful to prevent foreign matter such as dust or wire chips from entering the module Failure to do may cause a fire failure or malfunction aw Za Je pam a Do aoe WZ E fe rat aw 4 A protective film is attached to the module top to prevent foreign matter such as wire chips from entering the module during wiring Do not remove the film during wiring Be sure to remove it for heat dissipation before system operation 5 Tighten the screws such as module fixing screws within the following ranges FUN
176. ters from the CPU module Z Write to PLC Writes intelligent function module parameters to the CPU module ez x o Lu 0 xt P 4 2 ja gt 9 fe S p 5 2 g fo PROGRAMMING TROUBLESHOOTING 6 3 Utility Package Operation 6 12 6 3 3 Starting the Intelligent function module utility 6 UTILITY PACKAGE GX Configurator CT 6 13 MELSEC TA cries 4 POINT 1 Saving intelligent function module parameters in a file Since intelligent function module parameters cannot be saved in a file by the project saving operation of GX Developer save them on the shown module selection screen 2 Reading writing intelligent function module parameters from to a programmable controller using GX Developer e Intelligent function module parameters can be read from and written into a programmable controller after having been saved in a file e Set a target programmable controller CPU in GX Developer Online Transfer setup e When mounting the QD64D2 to the remote I O station use Read from PLC Write to PLC of GX Developer 3 Checking the required utility While the start I O is displayed on the Intelligent function module utility setting screen may be displayed for the model name This means that the required utility has not been installed or the utility cannot be started from GX Developer Check the required utility selecting Tools Intelligent function utility Utility l
177. the count enable command Y06 e When changing the count range by the preset to avoid miss counting always turn OFF the count enable command Y06 before changing it ol 7 Z O O Z Le UTILITY PACKAGE GX Configurator CT PROGRAMMING TROUBLESHOOTING 5 2 Selecting a Counter Format 5 7 5 2 2 Selecting the ring counter D FUNCTIONS MELSEC TA cries 5 3 Using the Counter Value Comparison Function The counter value comparison function compares the present value Un G12 and 13 toa comparison point and outputs the comparison result by the input signal X01 to X06 or the external output EQU1 and EQU2 The counter value comparison function has the following two types Select a counter value comparison function using the intelligent function module switch setting Refer to Section 4 5 e Coincidence output function e Continuous comparison function 5 3 Using the Counter Value Comparison Function FUNCTIONS MELSEC A eres 5 3 1 Using the coincidence output function Each channel has No 1 and No 2 comparison points Each point individually compares to F the present value Un G12 and 13 and outputs the comparison result Refer to Table gt 5 3 5 One comparison point can be set for each No 1 and No 2 Table 5 3 Coincidence output function Signal and external output terminal used to output the Comparison point comp
178. the ring counter lower limit value Un GO and 1 becomes effective when the count enable command Y06 is turned aw from OFF to ON Z g 2 It does not become effective until the count enable command Y06 is turned from OFF to ON 9 a Figure 3 18 Timing chart for the ring counter lower limit value Un GO and 1 and ring counter upper limit value Un G2 and 3 gt 2 si ae Q 2 Preset value setting Un G4 and 5 206 e This area is used for setting a preset value for the counter Refer to Section 5 4 e Setting range 2147483648 to 2147483647 e The setting value becomes effective when the preset command Y04 or the preset input terminal PRST is turned from OFF to ON T 6 SC Sn ae gt Operation by the QD64D2 8 Preset value setting i Un G4 and 5 100 ON Preset command x lt Y04 A on OFF Vg gt Lu oO som Present value S G Un G12 and 13 o X 100 g t22ms E 3 ae Figure 3 19 Timing chart for the preset value setting Un G4 and 5 58 o 5 0 fe oc oa o zZ E Q fe ae N a a 3 4 Buffer Memory Assignment 3 19 3 4 2 Details of the buffer memory 3 SPECIFICATIONS MELSEG TA eres 3 Coincidence output No 1 point setting Un G6 and 7 Coincidence output No 1 point change request Un G10 Coincidence output No 2 point setting Un G8 and 9 Coincidence output No 2 point change request Un G11 e This area is used for setting the comparison point the value used to compare with
179. ting speed of 4Mpps is possible In 4 multiples of 2 phases Since the QD64D2 can be used for high resolution encoder e g linear scale the equipment can improve position detection accuracy and a workpiece can be moved at high speed Wide range of expression on counting from 2147483648 to 2147483647 Count values can be stored in 32 bit signed binary Pulse input selection Pulse input can be selected from 1 multiple of 1 phase 2 multiples of 1 phase 1 multiple of 2 phases 2 multiples of 2 phases 4 multiples of 2 phases and CW CCW Counter format selection Either of the following counter formats can be selected a Linear counter format From 2147483648 to 2147483647 can be counted and an overflow can be detected when the count range is overrun b Ring counter format Counts are repeatedly executed between the ring counter upper limit value and ring counter lower limit value Coincidence detection The QD64D2 can compare the present value and comparison point notify the comparison result with input signal and start an interrupt program when they match It also mounts 2 point external coincidence output for each channel which permits controlling external devices at high speed According to application select the coincidence output function or continuous comparison function a Coincidence output function Set 1 as the coincidence detection point for each point to compare it with the present value Reset the coinciden
180. tion method subtraction method aw Type linear counter format ring counter format S preset counter function latch counter function Y a Z Boe 1 J BFS o O Counter Minimum count pulse 0 5 0 5 width o Duty ratio 50 gt 0 25 Unit us Minimum phase difference for 2 phase input 0 25 us fo For details refer to Section 3 1 1 ER Comparison range 32 bit signed binary 5 Coincide Setting value lt Count value a E nce Comparison result Setting value Count value z 2 detection Setting value gt Count value ae Interrupt With coincidence detection interrupt function External Preset 24VDC 2 to 5mA input Count value latch TO Transistor sinking type output 2 points channel S ae Goineidance outpul 42 24VDC 0 5 A point 2 A common z Derating Applied refer to Section 3 1 2 g Number of occupied I O points 32 points I O assignment Intelligent 32 points x 5VDC internal current consumption 0 53 A Weight 0 16 kg 1 Note that counting a pulse whose phase difference between phase A and phase B is small may 2 result in a count error 5 For the relation of phase difference between phase A and phase B refer to Section 3 3 1 F 2 The maximum counting speed is determined in the pulse input mode a Counting speed cannot be changed 3 5 3 1 Performance Specifications 3 1 3 SPECIFICATIONS MELSEG TA eres 3 1 1 Relation of phase difference between phase A and phase B The relation indicated below is for each pulse i
181. unt Methods ccooooooooooooooooooooooo00o00000000000000000000000000000000000000000000000000000 F 1 5 1 1 Types of the pulse input method ccooooooooooooooooooooooooooo0000000000000000000000000000000000000000000000 D 1 5 2 Selecting a Counter Format eececccccccoooooo00000000000000000000000000000000000000000000000000000000000000000000 F 3 5 2 1 5 2 2 Selecting the linear counter 0ooooooooooooooooo000000000000000000000000000000000000000000000000000000000000000 D 4 Selecting the ring counter ccoooooooooooooooooooooooooo0000000000000000000000000000000000000000000000000000000 D 5 5 3 Using the Counter Value Comparison Function ccoooooooooooooooooooooooooo0000000000000000000000000000000000 D 8 5 3 1 5 3 2 5 3 3 5 3 4 Using the coincidence output FUNCTION sseeeeeeeeseeeseseseeeeseesesesosososococeososesecesecocosesesesee 5 9 Using the continuous Comparison FUNCTION eeeeeeeeseeseeesesesesesecesescsococococeosesecececesesesesee 5 13 Using the coincidence output test FUNCtION eeeeeeeeeeeeeeeeeeeeesesesssosesocooocoosoecoocececesesesee 5 22 Coincidence detection interrupt fUNCtIOneeeeeesesseseeesesssesesecesessesccecosoossssccoecossssscceesese 5 24 5 4 Using the Preset Functione ececcccccccooooo00000000000000000000000000000000000000000000000000000000000000000000000 5 27 5 5 Using the Latch Counter Function COCCOO OOOO OOOO OOOOH OOOO OOO OOOOH OOOO OOO OOOOH OOOO OOO OOOO OOO OO OOOO OOO OOOO COOOOE 5 29 5 6 Respon
182. uous comparison No 1 point monitor during comparison Un G86 Continuous comparison No 2 point monitor during comparison Un G136 e Point number 1 to 16 which is currently in comparison with the present value is stored in this area e For details of setting and operation refer to Section 5 3 2 PROGRAMMING TROUBLESHOOTING 3 4 Buffer Memory Assignment 3 23 3 4 2 Details of the buffer memory 3 SPECIFICATIONS 3 5 3 5 1 Specifications of I O Interfaces with External Device Electrical specifications of I O signals MELSEC TA eries Signal name Phase A pulse input Phase B pulse input 1 Input specifications Table 3 6 Input specifications of the QD64D2 Rated input Operating ON voltage OFF voltage Input voltage current voltage range current resistance current RS 422 A compliant differential receiver AM26C32 manufactured by Texas Instruments Incorporated or equivalent Vit differential input ON voltage H level threshold voltage 0 1V Vit differential input OFF voltage L level threshold voltage 0 1V Vhys Hysteresis voltage VIT ViT 60mV A current type line driver cannot be used Response time OFF ON 0 5ms or 24VDC 21 6 to 26 4VDC 5VDC or less Approx less Preset input 21 6 to 26 4VDC c 5mA 2 to 5mA 0 1mA or less 10kQ ON OFF 1 0ms or less OFF ON 0 5ms or 24VDC 21 6 to 26 4VDC 5VDC or less Approx less Latch counter input 21 6 to 26 4VDC l 5m
183. us comparison point settings for the ia 17th point and later z e Continuous comparison No 1 point n setting Un G54 to 85 of Continuous comparison No 1 point monitor during comparison Un G86 1 Continuous comparison point setting of the 1st point and later Figure 5 7 is the example when comparing with 19 points Continuous comparison ZN NRG rg No 1 point monitor 3 4 5 After that repeat 9g during comparison setting until the end point Be Un G86 L N_ No S ONY ONL Rewrite the Rewrite the Rewrite the Rewrite the 2 continuous continuous continuous continuous O comparison comparison comparison comparison z No 1 point 2 setting No 1 point 3 setting No 1 point 4 setting No 1 point 5 setting 1S Un G56 and 57 to Un G58 and 59 to Un G60 and 61 to Un G62 and 63 to the setting for the the setting for the the setting for the the setting for the T 18th point 19th point 1st point 2nd point a Figure 5 7 When repeatedly comparing from the 1st point 2 When stopping the continuous comparison gu Turn from ON to OFF the continuous comparison No 1 execution command at sigs az Y09 under the following condition 236 WZ e Continuous comparison No 1 point monitor during comparison Un G86 gee Lu ano 1 Comparison end point Figure 5 8 is the example when comparing with 19 points Comparison end point Comparison end point 1 5 Continuous comparison D No 1 poin
184. value read signal X2D CH2 preset command signal X2E 6 CH2 continuous comparison execution signal X2F CH2 error warning reset command signal Y30 CH1 coincidence confirmation LED signal Y31 2 CH1 overflow occurrence confirmation LED signal QY40P Y30 to Y3F Y32 CH2 coincidence confirmation LED signal 1 Set this only when using the latch counter function 2 Set this only when using the linear counter function 3 Stores last occurred error and holds it even after error reset 4 Stores last occurred warning and holds it even after error reset 5 Set this only when using the coincidence output function 6 Set this only when using the continuous comparison function 7 4 Programming Example when GX Configurator CT is not Used PROGRAMMING MELSEG ores 2 Program example z Initial setting program x0 Y6 Y16 M10 ud ia E oan DMove K0 G4 cH1 preset value setting z UON i pmove x10000 G6 F a Ei output 0 1 point setting nove ki a J CH1 coincidence output No 1 point change request z oe ae J CH1 coincidence signal O Ls No 1 reset command Y01 ON lt vo CH2 ring counter lower limit S D PP fomove E y value setting ir Nz vo c J z 2 bmove K50000 G202 fi i i he sore upper lower imit value setting vo Move x 50000 6204 J CH2 preset value setting rove ki ae F CH2 continuous comparison D No 1 start point setting a uo c r move k 6251 7 H2 continuous comparison
185. zed reproduction or distribution of this program or any portion of it may result in severe civil and criminal penalties and will be prosecuted to the maximum extension possible under the law In the case of GX Developer Version 8 Figure 2 5 Product information screen of GX Developer 2 4 How to Check the Function Version Serial No Software Version 3 SPECIFICATIONS M al AG lA cries CHAPTER3 SPECIFICATIONS This chapter describes the performance specifications of the QD64D2 I O signals to the programmable controller CPU specifications of the buffer memory For general specifications of the QD64D2 refer to the User s Manual for the CPU module OVERVIEW 3 1 Performance Specifications The following table shows the performance specifications of the QD64D2 CONFIGURATION SYSTEM Table 3 1 Performance specifications of the QD64D2 Item Specifications 3 Number of channels 2 channels Count Phase 1 phase input 2 phase input D input EIA Standard RS 422 A Differential line driver level signal SHEEN EVEI CA E AM26LS31 manufactured by Texas Instruments Incorporated or equivalent 5 ar 7 4 multiples of 2 phases 4Mpps 5 a ing speed tax 2 multiples of 1 phase 2 multiples of 2 phases 2Mpps S 1 multiple of 1 phase 1 multiple of 2 phases CW CCW 1Mpps Counting range 32 bit signed binary 2147483648 to 2147483647 Addi

Download Pdf Manuals

image

Related Search

Related Contents

1,3 MB - ebm  Notevole - Università degli Studi di Firenze  Table à induction Induction cooker TI2005  住宅用火災警報器の維持管理について  Makita HR4501C User's Manual  Westinghouse 56-Inch Instruction Manual  indice - Aplicateca  ICC IC107LF3AL  User Manual Mobile Navigator 5 Symbian Edition  

Copyright © All rights reserved.
Failed to retrieve file