Home

High-Speed Counter Module User`s Manual

image

Contents

1. QD62 QD62E QD62D no f3 fe eee a 4 ap62 oA B DEC FUNC FUSE CH1 ese Pe GNA N h Eaa i I __ 1s Po 13 lo 1 1 l I l ol l I l I 1 ol loi eae i SS aA y QD62 D w E of S 23 0 91 B 90 3 54 z 46 1 81 3 27 4 1 08 Unit mm in A value in parentheses shows the reference measurement when the A6CON1 is installed App 1 App 1 APPENDIX MELSEC Q Appendix 2 Difference Between A1SD62 A1SD62E and A1SD62D S1 The following table lists the difference between A1SD62 A1SD62E and A1SD62D QD62 D62E D62D A1SD62 A1SD62E A1SD62D S1 Bane 32 bit signed binary counter 32 bit unsigned binary counter ountin 3 2147483648 to 2147483647 O to 16777215 Number of I O occupied f 16 points 32 points points Maximum counting speed 200 kPPS 500 kPPS 100 kPPS 200 kPPS CW CCW pulse input Function available No function Linear counter j Function available No function function Counter Function available Function available Sa The ring counter operation only between Ring counter Preset and coincidence output function ae i i the preset value and the coincidence output function can be used independently of the ring point Seting yi values cannot be changed counter setting Coincidence Function available Function available detection function program interrupt allowed e
2. MELSEC Q 4 4 3 Wiring example of a controller and an external input terminal 1 When the controller sink loading type is 12 V DC QD62 QD62E Controller 24V ze j 7 7 B17 B10 Preset E an L o o SSE ES my AN a Shield l E a E CTRLCOM O L A15 A08 24V B15 B08 Function start d l a 5V B14 B07 Shield uf 12VDC QD62D Controller 24V j 7 7 A18 A12 Shielded twisted pair cable Preset Function A15 A09 FUNCCOM B15 B09 hd 12V DC The number inside the indicates the terminal number for channel 2 4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION MELSEC Q 2 When the controller source loading type is 5 V DC QD62 QD62E Controller AW 7 T T T B17 B10 12V A16 A09 Preset Shielded twisted pair cable r 7 1 1 ly i GND 7 7 wy CTRLCOM Shield Dg A15 A08 B16 B09 24V B15 B08 12V Function A14 A07 start B14 B07 QD62D Contrller 24V j 7 A18 A12 Preset B17 B11 Shield be Function start The number inside the indicates the terminal number for channel 2 4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION MELSEC Q 3 When the controller is a line driver Q
3. ceeeeeeeeeeteeeees 5 2 D Difference ccceccceeeceeeeeeeeeeeeeeeeeeeeeeeees App 2 Disable count function cceeeeeeees 3 4 6 4 E EMG directives siiec cic ceechiceiethiceied aaa A 9 Encoders that can be connected 3 14 ENCOQE Skieen na i anat ie oh oat 3 14 Error informattion ccccccccccssccscsseeeessseeeeees 9 1 iee EE E E reesscceverstacs 6 3 External dimension diagram 0 0 App 1 External wiring CONNeECtOr seseeeeeeeeeeeeee 4 4 F FO atures sicteon tainted iit eee MS 1 2 Function Coincidence output function 3 4 5 7 Counter function ccccccesseeeeseeeeeeteeeeeees 6 1 Disable count function e 3 4 6 4 Index 1 Latch counter function 0 00 3 4 6 5 Linear counter function cceeceeseeeeeenees 3 4 LIS A EE E EE EAO E E ote 3 4 7 1 Periodic pulse counter function 3 4 6 7 Preset function ceeeeseeeeeeeeeeeeees 3 4 5 10 Sampling counter function 3 4 6 6 Ring counter function ccceceeeeeeeees 3 4 H Handling precautions 0ceeeeees 4 1 7 2 1 Initial settings oo ee eee ee eeeeeeteeeeeeeeeeeeeteees 7 12 Installing and uninstalling eee 7 2 Interface with external devices 3 11 Interface inent wane inhi htea 3 11 Interruptions i Mei ele ee 5 8 L Latch counter function
4. cccceeeseeees 3 4 6 5 LEDunnianmn an an a ees 4 3 Linear counter function cccccees 3 4 5 4 List Of VO SiQnalS arana 3 5 M Menu bali ss chticnintn dala itaialnwintieht 7 11 Monitor test 0 0 cccccccccsseeecesseeeessseeeeesseeeeeees 7 16 Mounting Slot c0 2 cecceideiennenienadeteneceiene 2 1 N NOISE ta t a a aa 4 5 Number of modules cccccccesseceeesseeeeeeaes 2 1 O Operating environment 7 4 Operation OVEIrVieW ccccceeeeeeeteeeeteteeees 7 8 Iai 0 Ae 5 4 OVEIVIOW hanian nnna a aa 1 1 P Part identification nomenclature 008 4 3 Performance specifications 0 ee 3 1 Periodic pulse counter function 3 4 6 7 Index 1 Phase 1 pulse input 0 cceceeeeeeeeeeeees 5 2 Phase 2 pulse input ccceceeeeeeeeseeeeees 5 2 PreCAULIONS Ziana aai 4 1 4 5 7 2 Preset fUNCTION cccccccesessseeeeeeeeeseees 3 4 5 10 Procedure before starting the operation 4 2 Procedure ee 4 2 Program conditions eceeeeeeeeeeeereeteeteees 8 1 Programm sien aaan a RE 8 1 Pulse input methods ccceeeeeeeeeeeeeeeees 5 1 R Reading Count ValUC cccecceeeeeeeeeceeeeeeeteeeeeeeeeeneees 6 2 Present ValUC cccccceeeeseeeeteeeeeeeeeeeeeeees 5 3 Reading the present values eeeeeeeeeees 5 3 Ring counter function ceeeee 3 4 5 5 S Sampling coun
5. QD62 E D Addition pulse input Encoder Subtraction pulse input Encoder 3 Phase 2 pulse input For phase 2 pulse input either a multiple of 1 multiple of 2 or multiple of 4 count method can be selected The phase difference between the phase A pulse and phase B pulse determines whether the up count or down count is performed The relationship between the phase A pulse input and phase B pulse input is shown below QD62 E D Phase A pulse input p p On Encoder Phase B pulse input B 5 BASIC USAGE MELSEC Q 5 1 2 Setting the count method The count method is set using the GX Developer intelligent function module switch setting See Section 4 5 for details on the setting method 5 1 3 Reading the present values This section explains the methods of reading the present values stored in the buffer memory or the count values when counter function selection is executed 1 When any function is used the present value is stored into the buffer memory for storing the present value When the latch counter sampling counter or periodic pulse counter function is executed the count value is stored into the buffer memory for storing the counter function selection count value at the addresses shown in the table below aside from the buffer memory for storing the present value Counter function selection count value Present Description Valle Latch count Sampling Periodic pulse count
6. e TTL level voltage output type encoders 4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION MELSEC Q 4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION The following describes the procedure prior to the QD62 E D operation the name and setting of each part of the QD62 E D and wiring method 4 1 Handling Precautions The following are the precautions for handling the QD62 E D 1 2 3 4 5 Do not drop the module casing or connector or do not subject it to strong impact Do not remove the PCB of each module from its case Doing so may cause breakdowns Be careful not to let foreign particles such or wire chips get inside the module These may cause fire breakdowns and malfunctions The top surface of the module is covered with a protective film to prevent foreign objects such as wire chips from entering the module when wiring Do not remove this film until the wiring is complete Before operating the system be sure to remove the film to provide adequate heat ventilation Tighten the mounting screws using torque within the following range If the screws are loose it may cause the module to fallout short circuits or malfunction If the screws are tightened too much it may cause damage to the screw and or the module resulting in fallout short circuits or malfunction Clamping torque range Module mounting screws M3 screws 0 36 to 0 48 N m 6 To mount the module on the base unit
7. Turns OFF when the present value coincidence output point No 1 setting Turns ON with a preset command signal from the external input terminal and the request is latched Turns OFF with the external preset detection reset signal Y05 YOD Turns ON when the present value gt coincidence output point No 2 setting CH1 6H to 7H CH2 26H to 27H Turns OFF when the present value lt coincidence output point No 2 setting Turns ON when the present value coincidence output point No 2 setting and the present value is latched Turns OFF with the coincidence signal No 2 reset command Y07 YOF The counter value coincidence point No 2 turns ON immediately after power ON or reset of the programmable controller CPU since the present value and coincidence output point No 2 are all 0 Turns ON when the present value lt coincidence output point No 2 setting Turns OFF when the present value 2 coincidence output point No 2 setting Fuse broken detection flag XOF turns ON when a fuse in the coincidence signal output section is blown PECIFICATION cS eA a MELSEC Q 2 Output signals Device No Signal name Operation a programmable controller CPU Fae Description timing vos Coincidence signal No 1 reset Turns ON when the counter value coincidence point command a No 1 signal X02 X09 is reset yor YO9 Preset command Turns ON when the preset function is executed yo2 Yoa Coincidence signal enable Turns ON when the count
8. when OFF OFF otmAorless 1 mA or less M5 Bos CTRLCOM Response OFF gt ON ON gt OFF eee 0 5 ms or less e ms or less when On ON 21 6 to 26 4 V 2tosma to 5 mA B15 B08 Function start input 24 V When OFF 0 1 mA or less When ON 10 8 to 13 2 V 2 to 5mA A07 Function start input 12 V When OFF 0 1 mA or less When ON 4 5 to5 5V 2to5mA B07 Function start input 5 V when OFF OFF avoriess V or less otmAoriess 1 mA or less Response OFF gt ON ON gt OFF time 0 5 ms or less 1 ms or less EQU1 Operating voltage 10 2 to 30 V A06 Coincidence output point No 1 Maximum load current 0 5 A point 2 A common pure Maximum voltage drop when ON 1 5 V Response time OFF ON 0 1 ms or less B06 EQU2 ON gt OFF 0 1 ms or less rated load Output Coincidence output point No 2 resistive load Bo2 B01 12 24 V iibutv ltag 10 2 to 30 V roar Current consumption 8 mA TYP 24 V DC x1 Terminal numbers A03 A04 BO3 and B04 are not used broken detection l circuit 3 11 3 11 PECIFICATION eS A ae MELSEC Q 2 QD62E DC input sourcing output type 19 Internal circuit number 1 Signal name Operation Input voltage Operating current classification guaranteed value guaranteed value 4 7K when on ON 21 6 to 26 4 V 2to5mA 1 3W__ A20 A13 Phase A pulse input 24 V When OFF 0 1 mA or less 3 3K When ON 10 8 to 13 2 V 2to5mA When OFF 0 1 mA or less When ON 4 5 to5 5V 2to5mA P
9. External 3 Coincidence signal output control signal 2 points a ea a Preset counter function selection Pulse generator Encoder Controller Pulse Pulse generator nnmnnn 2 Encoder External 3 Coincidence signal output control signal 2 points LS y Preset counter function selection Controller Counts the pulses to be input to the QD62 E D Preset or counter function can be selected with an external control signal The present count value and the coincidence output point setting value can be compared to output a coincidence signal Using the sequence program the I O signal and buffer memory status of the QD62 E D can be verified Also count start stop preset and counter function can be selected 1 VERVIEW MELSEC Q 1 1 Features The features of the QD62 ED are as follows 1 Counting can be performed in a wide range The count value can be expressed within the range between 2147483648 and 2147483647 The count values are stored as 2 channel 32 bit signed binary codes 2 The maximum counting speed can be changed The maximum speed of the QD62D can be changed by selecting from among 500 k 200 k 100 k and 10 k while that of the QD62 and QD62E can be selected from among 200k 100k and 10k This allows an error free count even with gradual rise fall pulses 3 Pulse input can be selected The pulse input can be selected from 1 phase multiple of 1 1 p
10. Periodic pulse count value A value ETA value E value Buffer Enor to FH noon O to 11H Io to 13H memory address 22H to 23H 2CH to 2DH 2EH to 2FH 30H to 31H 32H to 33H 2 Both the present values and counter function selection count values are stored in the buffer memory as 32 bit signed binary values In addition since the contents of the buffer memory are automatically updated by the count operation the latest count values can be read from the buffer memory When reading the present values or the counter function selection count values use the DFRO command and always read values in two word units When reading the values in one word units if the count values are updated in the middle of read processing a mismatch may occur between the data contents of the lower and higher words possibly causing the system to read incorrect count values Program example x20 DFRO Hoo Ho2 Do K1 Example of an undesirable program X20 BASI AGE Bla late MELSEC Q 5 2 Selecting the Counter Format Select either linear counter or ring counter with the GX Developer intelligent function module switch setting See Section 4 5 for details on the setting method 5 2 1 Selecting the linear counter 1 Linear counter operation When the linear counter is selected the count operation is performed between 2147483648 minimum value and 2147483647 maximum value The line
11. a Starting the initial setting Start I O No gt Module type Module model name Initial setting b Auto refresh setting screen Start I O No Module type Module model name gt Auto refresh c Monitor test module selection screen Online Monitor Test Enter the start I O No in hexadecimal 2 Command buttons Deletes the initial setting and auto refresh setting of the selected module Closes this screen 7 UTILITY PACKAGE GX Configurator CT MELSEC Q 3 Menu bar a File menu Intelligent function module parameters of the project opened by GX Developer are handled Open parameters Reads a parameter file Intelligent function module utility C M Intelligent Function module parameter Online Te Close parameters Closes the parameter file If any data are modified a Open parameters Ctrl 0 dialog asking for file saving will appear Close parameters Save parameters Ctrl s Save parameters Saves the parameter file Delete parameters Delete parameters Deletes the parameter file Open FB support parameter Opens a FB support parameter file Save as FB support parameter Saves a FB support parameter Exit Exits the Intelligent function module utility b Online menu _ m Monitor Test Activates the Select monitor test module screen online Tools Help Read from PLC _ Reads intelligent function module parameters
12. fully insert the module fixing latch into the fixing hole in the base unit and press the module using the hole as a fulcrum Improper installation may result in a malfunction or breakdown of the module or may cause the module to fall off 4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION MELSEC Q 4 2 Procedure Before Starting the Operation The figure below shows the steps that should be followed before starting the QD62 E D operation Start y Module mounting Mount the QD62 E D in the specified slot y Wiring Wire external devices to the QD62 E D Intelligent function module switch setting Perform settings using the GX Developer see Section 4 5 Yes Use the GX Configurator CT Initial setting Initial setting Using the FROM TO commands create Perform the initial setting using the GX a sequence program for writing initial values Configurator CT see Section 7 4 Perform automatic refresh setting Automatic refresh setting Perform the automatic refresh setting using the GX Configurator CT see Section 7 5 Programming Programming Create and check a counter processing Create and check a counter processing program using the FROM TO commands program without using the FROM TO commands 4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION MELSEC Q 4 3 Part Identification Nomenclature The names of the parts used in the
13. 1to1 3 Vol Feature Sinine a a dealin ide Lin addin ee id dele 1 2 2 SYSTEM CONFIGURATION 2 1to2 5 2 1 Applicable System av s teeestenndeie desi i aaa eden 2 1 2 2 About Use of the QD62 E D with the QOOJ QO00 Q01 CPU oe ee eceeceeteeteeteeetieetieetieetieesieetieeeeee 2 3 2 3 About Use of the QD62 E D with the Q12PRH Q25PRHCPU cccccceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeseneeess 2 4 2 4 About Use of the QD62 E D on the MELSECNET H Remote I O Station 2 4 2 5 How to Check Software Version cc cccsecceseceeeeceeeeeeeceneeeeaeecaeeecaceeceneecaeeseaeescaeeesaeeseaeeseaeessueeesaneeseas 2 5 3 SPECIFICATIONS 3 1 to 3 14 3 1 Performance Specifications iia atte cesses aiats lack tobi it ea haute besdaed dobiadta bes deck a heladl adel leek teed wate 3 1 5 Jo AU alet Eo er ere rr er re ere ret cee rire E eer re rr erect eee ere oe Aree err eter pe ere ret err ere verge 3 4 3 3 I O Signals for the programmable controller CPU ceeceeeceeeceeeeeeeeeeeeeeeeeeeeeaeeeaeeeaeesaeeeaeeseeeaeeeaeeneesas 3 5 SiS LIST Of OrSIQMalS o aia aar E E TE REE AAS R A R A R REETA 3 5 3 3 2 Functions Of VO Signal srren a AO AER 3 6 3 4 Buffer Memory Assignments ceceeeceeeeeeeeeeeeeeeeeceeeeaeeeaeeeaeesaeesaeesaeesaeesaeesaeesaeesaeesaeesaeesaeeneeeaeesieeeatesas 3 8 3 5 Interface with External Devices ccccceeeceeeeceeeeceeeeeeeeeaeeeeaeeecaeeesaaecsaeeecaeeeeaeeseeeesaaeeseaeeseaeessieeesineesaas 3 11
14. 3 6 Encoders that can be Connected ecenin en e a A A E 3 14 4 1 Handling Precautions osasin anaidia iii ai ianiai iiaa 4 1 4 2 Procedure Before Starting the Operation 0 2 eecceecceeeeeeeeteeeeeeeeeeeeeeseeesieesieesieesieesieesieesieesieesietieeeieee 4 2 4 3 Part Identification Nomenclature 0 eee eeceeeeeeeeeeeeeeeeeaeeeaeetaeesaeeeaeesaeesaeesaeesaeesaeesaeesieesieesietieesieesieeenee 4 3 za a da AAT alge AEE EEE E A T E AE A A RA ET EA AR TA EA AT 4 5 4 4 1 Niring precautions anea a A A Ne a N A NEAS 4 5 4 4 2 Wiring example of a module and an encoder eeeceeeeeeeeeeeeeeeeeeeeeeeeeeaeeeaeeeaeeeaeesaeeseeseeerenaeens 4 6 4 4 3 Wiring example of a controller and an external input terminal ccceesceeeeeeeeeeeeeseeeeeteeeenees 4 8 4 4 4 Wiring example with an external output cece eeeceeeeeeeeceeeeeeeeeeeeteaeeecaeeeceaeeseaeeecaeeesceeseaeeenreesaees 4 11 4 4 5 Using the connector terminal block converter MOCUIE cccceeceeeeeeeeeeeeeeeeeneeeeeeeeeeeeeeeeeeaeeas 4 12 4 5 Switch Settings for the Intelligent Function Module 00 2 eceecceeeeeeeeeeeeeeeeeneeseeeseetaeesaeeseesieeteetineteeteee 4 14 A 6 A 6 5 1 Pulse Input and Counting Method ce eeeeececeeseeeeeeeeeeeeeeeeeeaeeeaeesaeeeaeesaeeeaeeeaeesaeesaeeeaeesaeeseeseesaeesas 5 1 5 chypes of pulse input methods Siridh tee ti Alte a ict ed ee ty teas 5 1 SrA Setting the COUNT MONO aa as btasaeevesa id A php aeeeeda AN 5 3 5 1 3 Re
15. 4 Section 7 6 Addition Section 2 3 Japanese Manual Version SH 080035 O This manual confers no industrial property rights or any rights of any other kind nor does it confer any patent licenses Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual 1999 MITSUBISHI ELECTRIC CORPORATION INTRODUCTION Thank you for purchasing the MELSEC Q series programmable controller Before using the equipment please read this manual carefully to develop full familiarity with the functions and performance of the Q series programmable controller you have purchased so as to ensure correct use CONTENTS SAFE PRECAUTIONS e a a a a a atest nate teat rane tantat whet antes A 1 REVISIONS Hiei atte at ein ee i BA tate a ote a ett leet fe BAe arate te Sat te Intel tate are Ie A 4 INTRODUCTION a agi leeches cae a a cs ee hse co ohadesa hi a rede panies As Lee A 6 ESNE E ieee nl pened a ne teed ele E eee ee ee let A 6 Conformation to the EMC Directive and Low Voltage Instruction cceeceeceeeceeeeeeeeeeereeneeeeeetesaeeeaeeeatenas A 9 About the Generic Terms and Abbreviations cccccccesceceeeeeeceececeeeneeeaececaeeecaeeeseeeseaeeenaeeeeueeseeeteieeess A 9 PFOGUCK StrUCtunre sci cecta tek iadh Site cen ital EE TE E EE cite EE E E EE bel bectalin dante A E EEES A 9 1 OVERVIEW 1
16. COPYRIGHT C 2002 MITSUBISHI ELECTRIC CORPORATION ALL RIGHTS RESERVED This Product is licensed to Name MITSUBISHI Company Mitsubishi Electric Corporation ProductID J List of version information on Add in software GX Configurator CT Version1 254B S WOD5C QCTU E COPYRIGHT C 1999 MITSUBISHI ELECTRIC CORPORATION ALL RIGHTS RESERVED Software version Warning This product is protected by copyright law and intemational treaties Unauthorized 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 The version indication for the GX Configurator CT has been changed as shown below from the SWOD5C QCTU E 50F upgrade product Previous product Upgrade and subsequent versions SWOD5C QCTU E 50F GX Configurator CT Version 1 10L The serial No on the rating plate may be different from the serial No displayed on the product information screen of GX Developer e The serial No on the rating plate indicates the management information of the product e The serial No displayed on the product information screen of GX Developer indicates the function information of the product The function information of the product is updated when a new function is added PECIFICATION see AC ah MELSEC Q 3 SPECIFICATIONS The following describes the per
17. Connection through an intelligent function module on the main base unit Through Ethernet module MELSECNET H module or CC Link module 2 4 About Use of the QD62 E D on the MELSECNET H Remote I O Station Here use of the QD62 E D on the MELSECNET H remote I O station is explained 1 Number of QD62 E D that can be installed when the remote I O station is used See Section 2 1 concerning the number of QD62 E D that can be installed when the remote I O station is used 2 Limitations when using the remote I O station a The coincidence detection interrupt function cannot be used b When the QD62 E D 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 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 2 4 2 4 2 SYSTEM CONFIGURATION SYS CONFIGU ONS MELSEC Q 2 5 How to Check Software Version This section describes how to check the GX Configurator CT software version 1 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 x amp Programming and Maintenance tool p GX Developer Version 8 484 SW8D5C GPPW E
18. However in certain cases some applications may be possible providing the user consults their local Mitsubishi representative outlining the special requirements of the project and providing that all parties concerned agree to the special circumstances solely at the users discretion Microsoft Windows Windows NT and Windows Vista are registered trademarks of Microsoft Corporation in the United States and other countries Adobe Acrobat is a registered trademark of Adobe systems Incorporated Pentium Celeron is a registered trademark of Intel Corporation in the United States and other countries Ethernet is a registered trademark of Xerox co Itd in the United States Other company and product names herein are either trademarks or registered trademarks of their respective owners SPREAD Copyright c 1996 FarPoint Technologies Inc SH NA 080036 L High Speed Counter Module MODEL QD62 E D U S E MODEL 13JL95 SH NA 080036 L 080 1 MEE sfa 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 service transaction permission Specifications subject to change without notice
19. Input format HEX intelli QDE2 0123 15 14 14 Intelligent function module detailed setting Cancel Slot PLC Type PLC Model name Error time output mode HAW error time PLC operation time mode 1 0 response Control PLC g e o 0 Intelli QD62 Hold Stop if 2 2 33 4 4 55 6 6 Joo fms foo fa J fe fra J fo a7 3 18 8 10 5 3 114 10 10 12 11 11 13 12 12 14 13 13 v X v v v X v v v v v v v v v v MRIRIRIRIRIRIRIRIRIRIRIRIRIKIK 15 1414 JL tests a 4 Jsettings should be set as same when using multiple PLC End Cancel a b I O assignment screen Specify the following for the slot where the QD62 E D is mounted Type Select Intelli Model name Enter the module s model name Points Select 16 points Start XY Enter the start I O signal for the QD62 E D Switch setting for I O and intelligent function module Click on Switch Setting on the I O assignment screen to display the screen at left and set switches 1 to 5 The setting can easily be done if values are entered in hexadecimal Change the input format to hexadecimal and enter values Intelligent function module detailed setting Clic
20. Program example Before using an interrupt pointer an interrupt must be enabled using the IMASK instruction lt Enable I50 interrupt gt lt Interrupt program gt 150 8 PROGRAMMING MELSEC Q 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 QCPU Q Mode QnACPU Programming Manual Common Instructions TROUBLESHOOTIN A eS MELSEC Q 9 TROUBLESHOOTING The following explains the types of errors that may occur when the QD62 E D is used and how to troubleshoot them 9 1 Error Information The error information detected by the QD62 E D is listed in the following chart Description cause Error information display location Overflow error 1 Module status display on the GX Developer system Preset to clear the overflow 1 When the linear counter monitor screen error was used an add pulse No status display No overflow detected no error was further input from the Module error Overflow being occurred current value 2147483647 Overflow detection flag 2 When the linear counter The following value is stored in buffer memory was used a subtract pulse address 8H 28h was further input from the 0 No overflow detected current value 214748
21. Sep wie pene ibis ww ae ae E J SET M10 lt Start count operation gt XO x10 H SET Y4 lt Stop count operation gt x0 x14 H fst y4 lt Store present values gt lt Store present values in DO amp D1 gt x0 X11 a s aO H2 DO K1 lt Setting for externally outputting gt lt Set and reset the YO x0 X12 m DELTAP DYO lt Processing at the time of count coincidence gt lt Illuminate the LED x0 Y2 X2 YO K Y _ 4 a Y20 X2 lt Reset coincidence signal No l gt X15 K tR _ _ gt SET YO PR RAMMIN ee S MELSEC Q lt Complete No 1 reset X2 YO RST Y0 1 _ _ M Set only when the linear counter is used 1 i 1 1 i 1 1 I I i 4 a When using the sampling counter function and the periodic pulse counter function the following programs are inserted 1 When the sampling counter function is used lt Set the sampling time to 10000 ms gt oP HOA K1000 K1 2 When the periodic pulse counter function is used lt Periodic pulse time to 5000 ms gt tr HO HOA K500 K1 b When using the functions listed below the following programs are inserted 1 When the disable count function is used lt Disable count function gt lt Select disable count function gt x0 X16 TOP HO H9 KO K1 PR RAMMIN mS S MELSEC Q 2 When the latch counter function is used lt Latch counter function gt lt Read latch count value gt x
22. 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 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 function module utility GX Developer program comments etc and other applications and then start GX Developer and Intelligent function module utility again 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 utilities can be started However Open file and Save file 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 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 A Start sx Developer C ME Intelligent function Module a Intelligent function Module fl 7 UTILITY PACK
23. When ON 10 8 to 13 2 V 2to5mA When OFF 0 1 mA or less When ON 2 5 to 5 5 V 2to5mA When OFF 0 1 mA or less B17 B11 PRSTCOM B16 Function start input 12 V A15 A09 Function start input 5 V OFF gt ON ON gt OFF Response B15 Bog FUNCCOM i time 0 5 ms or less 1 ms or less EQU1 Operating voltage 10 2 to 30 V A06 A05 Coincidence output point No 1 Maximum load current 0 5 A point 2 A common Maximum voltage drop when ON 1 5 V Response time OFF ON 0 1 ms or less B06 B05 EQU2 ON gt OFF 0 1 ms or less rated load Coincidence output point No 2 Output resistive load Input voltage 10 2 to 30 V Current consumption 8mA TYP 24 V DC A02 A01 OV x1 Terminal numbers A08 A07 A03 A04 B08 B07 B04 and BO3 are not used broken detection circuit To the fuse l B02 B01 12 24 V 3 SPECIFICATIONS MELSEC Q 3 6 Encoders that can be Connected The encoders that can be connected to the QD62 E D are described below 1 Encoders that can be connected to the QD62 and QD62E e Open collector output type encoders e CMOS level voltage output type encoders Verify that the encoder output voltage meets the specifications for the QD62 and QD62E 2 Encoders that can be connected to the QD62D e Line driver output type encoders Verify that the encoder output voltage meets the specifications for the QD62D The following encoders cannot be used with the QD62 E D
24. a 1 1 f 1 T l i T T i ealt elt e 200 i i f 1 i i i I I 100 2 4 100 Sampling periodic counter flag storage buffer memory Address Bx 2Bx 1 The pulses entered are counted from 0 at the rise of the counter function selection start command Y06 YOE function start input 9 When the specif ied sampling time z period clapses the count stops Se sampling period e counter flag Storage buffer memory dae BH 28H a 4 sampling count value storage buffer memory is saved enable command Y04 YOC turns ON OFF NVENIENT USAGE naa MELSEC Q 6 5 Using the Periodic Pulse Counter Function The periodic pulse counter function stores the present and previous counter values for each specified periodic time T as the present and previous values The relationships between the signals buffer memory etc in the periodic pulse counter function are illustrated below Count enable command ON Y04 YOC OFF 200 100 Present value storage buffer memory Addresses 2h to 3x 22h to 23u Counter function selection startcommand ON Y06 YOE function start OFF 200 Present periodic pulse count value storage buffer memory Addresses 12h to 13x 32h to 33x 200 Previous periodic pulse count value storage 199 buffer memory Addresses 10x to 114 30x to 311 Sampling periodic counter flag storage 1 buffer memory 0 Address Bu 2Bx NVENIENT USAGE
25. ah MELSEC Q 3 3 I O Signals for the Programmable Controller CPU 3 3 1 List of I O signals The I O signals for the QD62 E D programmable controller CPU are listed in the table below For the I O numbers X Y and I O addresses indicated in this and succeeding sections it is assumed that the QD62 E D is mounted into I O slot 0 of the standard base module Input signal Signal direction QD62 E D Output signal Signal direction programmable programmable controller CPU controller CPU QD62 E D Module ready Coincidence signal No 1 reset command X01 YO1 Counter value large point No 1 Preset command X02 Counter value coincidence point No 1 Y02 Coincidence signal enable command 03 Counter function selection start command Coincidence signal No 2 reset command 1 1 Count enable command External preset detection reset command Counter value large point No 1 Coincidence signal No 1 reset command Counter value coincidence point No 1 Preset command Counter value small point No 1 CH2 External preset request detection Down count command CH2 X0C Counter value large point No 2 YOC Count enable command Coincidence signal enable command XOD Counter value coincidence point No 2 External preset detection reset command X0E Counter value small point No 2 Counter function selection start command Fuse broken detection flag Coincidence signal No 2 reset command 3 SPECIFIC
26. be automatically refreshed Applicable devices 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 Cancels the setting and ends the operation 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 e 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 7 UTILITY PACKAGE GX Configurator CT 7 6 Monitoring Test 7 6 1 Monitoring Test Purpose MELSEC Q Start buffer memory monitoring testing and I O signal monitoring testing from this screen Operating procedure Select monitor test module screen gt Start I O No Module type gt Module model name Monitor test x1 Enter the start I O No in hexadecimal The screen can also be started fro
27. executes counting between the ring counter maximum and Ring counter function ae Section 5 2 2 minimum values ae Compares the coincidence output point of any preset channel with the Coincidence output function present counter value and outputs the ON OFF signal Section 5 3 Coincidence detection Generates an interrupt to the programmable controller CPU interrupt function when coincidence is detected and starts the program Rewrites the present counter value to any numeric value Preset function A f Section 5 4 Performs preset using the sequence program or external preset input Disable count Stops the pulse count while the count enable command is being p i Section 6 2 function executed Latch counter Stores the present counter value at the time the counter function Seion e3 ection 6 Counter function selection start command signal is input in the buffer memory function Counts the pulses that are input during the preset sampling time Sampling counter selection ee period from the time the counter function selection start command is Section 6 4 unction input and stores the count in the buffer memo counter function _ input stores the present value in the buffer memory at preset interval The functions can be used in combination However only either one of the linear counter function or ring counter function can be used and only one of the four counter functions can be selected PECIFICATION elas
28. from the Monitor Test CPU module Read from PLC AS Write to PLC Writes intelligent function module parameters to the CPU module 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 Reading writing intelligent function module parameters from to a programmable controller CPU using GX Developer a Intelligent function module parameters can be read from and written into a programmable controller after having been saved in a file b Seta target programmable controller CPU in GX Developer Online Transfer setup c When the QD62 E D is mounted to the remote I O station use Read from PLC and Write to PLC of GX Developer Checking the required utility While the start I O is displayed on the Intelligent function module utility setting screen x 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 list in GX Developer 7 UTILITY PACKAGE GX Configurator CT MELSEC Q 7 4 Initial Settings Purpose of operation Perform the initial settings for each channel to operate the QD62 E D Set the following initial setting parameters e Preset va
29. phase differential for 2 phase differential for 2 phase differential for 2 phase differential for 2 phase input 0 5 u s input 1 25 u s input 2 5 u s input 25 u s 32 bit signed binary values Coincidence Set value lt Count value output Comparison result Set value Count value Set value gt Count value External 5 12 24V DC 2 to 5 mA input Function stat i start EIA Standard RS 422 A Differential Line Driver may be connected External Transistor sinking type output 2 points channel Coincidence output output 12 24 V DC 0 5 A point 2 A common 5 V DC internal current consumption 0 38 A Weight 0 12 kg x1 The counting speed switch settings can be set using the intelligent function module switch 2 Counting speed is affected by pulse rise and fall time Possible counting speeds are shown in the following table Note that if a pulse that has a large rise and or fall time is counted a miscount may occur Counting speed switch settings 500 k 200 k 100 k Rise fall time Both 1 and 2 phase input t 0 5 u s or less 500 kPPS 200 kPPS 100 kPPS 10 kPPS t 25usorless tokes 10kPPs ee a ee a ee eee ae eee Oe ee ee PECIFICATION see AC ah MELSEC Q 3 2 Function List The QD62 E D functions are listed below f Values from 2147483648 to 2147483647 can be counted If the count Linear counter function Section 5 2 1 exceeds the range this function detects an overflow i Repeatedly
30. the figure below Ring counter minimum value Ring counter maximum value 2000 Eres value 2147483647 0 ct NN Count rang NAAA x Ring counter maximum value 2147483648 Ring counter Present value minimum value 2000 500 501 to 1998 1999 0 1 2 to 498 499 4 N The ring counter maximum value A i 2000 will not be stored in the i i buffer memory for storing the i present values HEM EAEAP AE EEEE ESEE VA ORE y EE E E T PEPE CETE EEEE A EEE me ENEE E E EST a 5 BASIC USAGE MELSEC Q a The ring counter will operate as follows when the present value lt ring counter minimum value or ring counter maximum value lt present value e For up count Even if the present value reaches the ring counter minimum value the ring counter minimum value will be retained as is With the next addition pulse ring counter maximum value 1 will be stored as the present value e For down count When the present value reaches the ring counter maximum value the ring counter minimum value is automatically stored as the present value Whether during up count or down count the ring counter maximum value will not be stored in the buffer memory for storing the present values For example if the count is enabled with the ring counter minimum value of O the ring counter maximum value of 2000 and the present value of 3000 the count range and present value will change as shown in the fi
31. value coincidence signal rises OFF gt ON Thus the next interrupt request does not occur unless the coincidence signal is reset and the counter value coincidence signal is turned OFF BASI AGE a MELSEC Q 5 4 Using the Preset Function The preset function rewrites the present counter value to any numeric value called the preset value The preset function can be used when starting the pulse count from the preset value The preset function has two preset methods preset using a sequence program and preset using an external control signal 1 Preset using a sequence program Preset is performed by turning the preset command Y01 Y09 ON using the sequence program Count enable command ON A Y04 YOC OFF Input pulse for counting J f Roun Buffer memory used for ae ce r 7 7 7 0 i 100 setting the preset value p Addresses 0n to 14 20x to 211 4 Preset command ON Y01 Y09 OFF Buffer memory used for storing i the present value Addresses 2h to 3H 224 to 23x i 1011021103 104 105 0o 1 2 1 Any numeric value is written in 32 bit binary format into the preset value setting buffer memory Addresses 0H to 1H 20H to 21h for the QD62 E D At the start OFF to ON of the preset command the preset value in the preset value setting buffer memory is preset in the present value storage buffer memory Preset can be executed regardless of whether the count enable comm
32. 0 X18 s a e HOC D2 x1 9 lt Select latch counter function gt XI TOP HO H9 K1 K1 3 When the sampling counter function is used lt Sampling counter function gt lt Read sampling count value gt x0 X1A s a 0 HOE D4 Kl lt Select sampling counter function gt X1B TOP HO HO K2 K1 PLS Y6 4 When the periodic pulse counter function is used lt Periodic pulse counter function gt lt Present previous periodic pulse count value read gt XO X1C 1 1 DFRO HO H10 D K2 lt When Present value Previous value read again gt D D6 D8 HDF RO HO H10 D6 K2 lt Select periodic pulse counter gt X1D R TOP HO H9 K3 K1 J 6 J PR RAMMIN ae MELSEC Q 8 3 Example of a Program Using the Coincidence Detection Interrupt Function The following describes an example of a program that starts an interrupt program upon detection of coincidence with the channel 1 coincidence output point No 1 1 Interrupt point setting Set the interrupt pointer by selecting PLC parameter PLC system Intelligent functional module setting Interrupt point settings in the project data list of GX Developer Intelligent function module interrupt pointer setting PLC side Intelli module side a Interrupt pointer Interrupt pointer Start No No of module Start 1 0 No Start SI No 50 1 EEE E E E E E E E E E E E E a Check Cancel 2
33. 12 24 V DC input Function start 2 to 5 mA External ON Transistor sourcing type output 2 points channel Coincidence output output 12 24 V DC 0 1 A point 0 4 A common 5V DC internal current consumption 0 33 A Weight 0 11 kg x1 The counting speed switch settings can be set using the intelligent function module switch x2 Counting speed is affected by pulse rise and fall time Possible counting speeds are shown in the following table Note that if a pulse that has a large rise and or fall time is counted a miscount may occur tasops CC OT CC d os PECIFICATION eS A ae MELSEC Q 3 QD62D differential input sinking output type performance specifications Model name 500 k 200 k 100 k 10k Counting speed switch settings 1 200 k to 500 kPPS 100 k to 200 kKPPS 10 k to 100 KPPS 10 KPPS or less I O occupied points 16 points I O assignment Intelligent 16 points Number of pees Phase ssid 1 phase input 2 phase input Count input EIA Standard RS 422 A signal Signal level A B Differential line driver level AmM26LS31 manufactured by Texas Instruments or equivalent Counting speed max x2 500 kPPS 200 kPPS 100 kPPS 10 KPPS Counter a range 32 bit signed binary values 2147483648 to 2147483647 Model S UP DOWN Preset counter Ring counter function Minimum count pulse width Duty ratio 50 Unit us Unit us Unit us Min phase Min phase Min phase Min
34. 2 aa MELSEC Q The present counter value of 0 is stored in the present periodic pulse count value storage buffer memory addresses 12H to 13H 32H to 33H hereinafter called the present value buffer memory The present counter value of 200 is stored in the present value buffer memory The value 0 that has been stored in the present value buffer memory will be stored in the previous periodic pulse count value storage buffer memory addresses 10H to 11H 30H to 31H hereinafter called the previous value buffer memory 2 The present counter value of 20 is stored in the present value buffer memory The value 200 that has been stored in the present value buffer memory will be stored in the previous value buffer memory The present counter value of 100 is stored in the present value buffer memory 4 The value 20 that has been stored in the present value buffer memory will be stored in the previous value buffer memory The present counter value of 80 is stored in the present value buffer memory The value 100 that has been stored in the present value buffer memory will be stored in the previous value buffer memory noe te periodic pulse counter function is executed regardless of whether the count enable command Y04 YOC is ON or OFF Value 1 is stored in the sampling periodic counter flag storage buffer memory 1 3 5 7 address BH 2Bu while the periodic pulse counter function is being executed When reading a previou
35. 36 E Correction SAFETY PRECAUTIONS INTRODUCTION CONTENTS About the Generic Terms and Abbreviations Section 2 1 Section 3 5 Section 4 3 Section 5 4 Section 7 2 2 Section 7 3 2 Section 7 3 3 Section 7 4 to Section 7 6 Section 8 1 1 INDEX May 2003 SH NA 080036 F Correction Section 2 3 Section 5 3 Jun 2004 SH NA 080036 G Addition Section 2 4 Correction SAFETY PRECAUTIONS Section 4 1 Section 5 1 3 Section 7 4 Section 7 6 1 Section 8 1 Section 8 2 Oct 2004 SH NA 080036 H Correction eee aia as SAFETY PRECAUTIONS Section 2 1 Section 4 1 Jul 2005 SH NA 080036 I Correction a Section 6 5 Section 8 2 Feb 2006 SH NA 080036 J Correction Conformation to the EMC Directive and Low Voltage Instruction Section 2 2 Section 7 2 2 x The manual number is given on the bottom left of the back cover Print Date _ Manual Number Jun 2007 SH NA 080036 K Correction CONTENTS About the Generic Terms and Abbreviations Section 3 1 Section 3 3 2 Section 4 1 Section 4 3 to 4 5 Section 5 1 1 Section 5 2 Section 5 3 Section 6 4 Section 6 5 Section 7 3 1 to 7 3 3 Section 7 4 to 7 6 Chapter 8 Section 8 1 1 Section 8 3 Section 9 1 to 9 3 INDEX Jan 2008 SH NA 080036 L Correction CONTENTS About the Generic Terms and Abbreviations Section 2 2 Section 2 5 Section 7 2 2 Section 7 3 2 Section 7 3 3 Section 7
36. 3647 1 Overflow being occurred Module error status bit of the module information read with the UNIRD instruction 00 No overflow detected no module error 10 Overflow being Fuse broken detection FUSE LED on the front of the module red The fuse must be replaced 1 The fuse for the Off No broken fuse detected by a technician from the coincidence signal external On Broken fuse detected Service Center Consult with output section has blown Fuse broken detection flag XOF our branch office or Off No broken fuse detected distributor with detailed On Broken fuse detected description Broken fuse occurrence indicating bit of the module information read with the UNIRD instruction Off No broken fuse detected On Broken fuse detected If voltage is not being supplied to the external power supply input terminal a broken fuse will not be detected TROUBLESHOOTIN eee MELSEC Q 9 2 When the QD62 E D Does Not Start Counting Check item E If the LED on the programmable controller CPU indicates an Doesn t the programmable controller CPU indicate an 3 error correct the error with reference to troubleshooting in the error programmable controller CPU s manual for normal operation If they turn ON check the external wiring and encoder side Do the LEDs of A and B turn ON by directly applying __ and correct the error voltage using such as voltage stabilizer to pulse input If they remain OFF it is a hardware failure P
37. 4 while holding down the key Multiple items can also be selected by dragging with the mouse Click Execute test to execute write operation Once write operation is completed the values that were written will be displayed in the current value field 7 UTILITY PACKAGE GX Configurator CT MELSEC Q MEMO 8 PROGRAMMING MELSEC Q 8 PROGRAMMING This chapter describes QD62 E D programs whose system configuration example shown below in the following two cases e GX Configurator CT is used e GX Configurator CT is not used When applying any of the program examples introduced in this chapter to the actual system verify the applicability and confirm that no problem occurs in the system control 1 System configuration QX10 X10 to X1F lt gt QY10 Y20 to Y2F QD62 X YO to X YF 2 Setting conditions of the intelligent function module switch Set the pulse input mode counting speed setting and counter format with the intelligent function module switch on GX Developer See Section 4 5 Pulse input mode Counting speed setting 2 phase multiple of 1 200 kPPS 3 Program conditions This program uses QD62 to perform counting with the conditions listed below Ring counter maximum value 1 5000 Sampling time setting 2 10000 ms Periodic pulse time setting 3 5000 ms 1 Set only when a ring counter function is used x2 Set only when the sampling counter function is used x3 Set only when the periodic pu
38. 62 Enter Start I O No then select Module type and Module model name See Section 7 4 See Section 7 5 MELSEC Q 7 UTILITY PACKAGE GX Configurator CT 1 Online Monitor test Select monitor test module screen Select monitor test module ae Poa Monitor test Select a module to be monitored tested Monitor test screen See Section 7 6 MELSEC Q 7 UTILITY PACKAGE GX Configurator CT MELSEC Q 7 3 3 Starting the Intelligent function module utility Purpose Starting the Intelligent function module utility from GX Developer activate the screen for selecting a module to set parameters From this screen the screen for configuring auto refresh of the QD62 E D and the screen for selecting a module to be monitored tested can be started Operating procedure Tools Intelligent function utility Start Setting screen Intelligent function module utility C MELSEC GPPW C Intelligent Function module parameter Online Tools Help Select a target intelligent function module Start 1 0 No Module type 0000 Counter Module a Module model name ans2 7 Parameter setting module Intelligent function module parameter Start 1 0 No Module model name Initial setting Auto refresh Available Available E Initial setting Auto refresh Delete Exit Explanation of items 1 Activation of other screens
39. AB orale Multiple CPU system if installed in a MELSECNET H remote 1 0 station Version 6 or SWOD5C QCTU E SOF later or later 4 Connector For the QD62 E D the connector is sold separately See Section 4 3 and make separate arrangements for the connector Single CPU system Single CPU system Q12PH Q25PHCPU Multiple CPU system 2 2 About Use of the QD62 E D with the Q00J Q00 Q01CPU Here use of the QD62 E D with the Q00J Q00 Q01CPU is explained 1 Number of QD62 E D that can be installed when the Q00J Q00 Q01CPU is used See Section 2 1 concerning the number of QD62 E D that can be installed when the Q00J Q00 Q01CPU is used 2 Limitations when using the Q00J Q00 Q01CPU To use the coincidence detection interrupt function use the Q00J Q00 Q01CPU of function version B or later 2 SYSTEM CONFIGURATION SYS CONFIGU ONS MELSEC Q 2 3 About Use of the QD62 E D with the Q12PRH Q25PRHCPU Here use of the QD62 E D with the Q12PRH Q25PRHCPU is explained 1 GX Configurator CT When using GX Developer to access the Q12PRH Q25PRHCPU through the intelligent function module on the extension base unit GX Configurator CT cannot be used Connect a personal computer to the Q12PRH Q25PRHCPU with a communication path indicated below pog Main base unit Os lSS lars COANE IE Extension base unit GX Configurator CT cannot be used 1 Direct connection to the CPU B
40. AGE GX Configurator CT MELSEC Q 6 Number of parameters that can be set in GX Configurator CT The number of parameters that can be set by the GX Configurator for an intelligent function module installed in the CPU module and in a remote I O station of the MELSECNET H network system is limited When intelligent function modules are installed to For example if multiple intelligent function modules are installed to a remote I O 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 setting and for the auto refresh setting The number of parameters that can be set for one module in GX Configurator CT is as shown below Target module Initial setting Auto refresh setting QD62 QD62E QD62D 8 Fixed 14 Max Example Counting the number of parameter settings in Auto refresh setting Auto refresh setting 5 xj Module information Module type Counter Module Start 1 0 No 0000 Module model name QD62 Module side Module side Treen PLC side 4 Setting item Buffer size Transfer SES Device count CH1 Presentvaue 4 Present value ne Latch count value CH1 Sampling count value CH1 Periodic PLS count previous value The number of settings in this one line is counted as one setting The num
41. ATIONS 3 3 2 Functions of I O signals Device No MELSEC Q The details of the I O signals for the QD62 E D are listed in the table below 1 Input signals Signal name QD62 E D gt programmable controller CPU Module ready Counter value large point No 1 Counter value coincidence point No 1 Counter value small point No 1 External preset request detection Counter value large point No 2 Counter value coincidence point No 2 Counter value small point No 2 Fuse broken detection flag Description Turns ON when the count preparation for QD62 E D is completed at the time of programmable controller CPU power on or reset operation and count processing is performed When Module ready X00 is OFF count processing is not performed Turns ON when the present value CH1 2H to 3H CH2 22H to 23H gt coincidence output point No 1 setting CH1 4H to 5H CH2 24H to 25H Turns OFF when the present value lt coincidence output point No 1 setting Turns ON when the present value coincidence output point No 1 setting and the present value is latched Turns OFF with the coincidence signal No 1 reset command Y00 Y08 The counter value coincidence point No 1 turns ON immediately after power ON or reset of the programmable controller CPU since the present value and coincidence output point No 1 are all 0 Turns ON when the present value lt coincidence output point No 1 setting
42. D62D 24V A18 A12 Controller Shielded twisted pair cable A17 A11 PRSTC B17 B11 O zZ 24V A16 A10 f I i I I I I i I om Q al I I m d FH 2V Function B16 B10 start FT 5V Shielded twisted pair cable OUT y gt A15 A09 S foie de A Q FUNC ty ici te ee ose B1580 A Sy o Q 0 f I i l I I l l i ovi Ol a l l m d The number inside the indicates the terminal number for channel 2 4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION MELSEC Q 4 4 4 Wiring example with an external output When the coincidence output EQU terminal is used an external power supply of 10 2 to 30 V DC will be required for operation of the internal photocopier A wiring example is shown below 1 For QD62 QD62D Sink output type QD62 QD62D EQU1 A06 A05 EQU2 B06 B05 _ r 12 24 V To fuse lt B02 B01 J Broken FUSE 0v I 10 2 to 30 V DC detection A02 A01 k circuitry 2 For QD62E Source output type QD62E EQU1 A06 A05 y EQU2 B06 B05 7 FUSE 12 24 V P To fuse B02 B01 broken i ov 10 2 to 30 V DC detection A02 A01 circuitry The number inside the indicates the terminal number for channel 2 4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION MELS
43. EC Q 4 4 5 Using the connector terminal block converter module 1 The figure below shows the wiring when a connector terminal block converter module and a cable are used in the QD62 E D pec O Func FUSE CH1 CH2 Cable ACO5TB AC10TB AC20TB AC30TB AC50TB AC80TB AC100TB Connector terminal block converter module A6TBXY36 A RARRRRR 000000000 000000000 opeen a 4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION MELSEC Q 2 The following table lists the signal names and the corresponding connector side terminal numbers and terminal block side terminal symbols when a connector terminal block converter module is used in the QD62 E D For the QD62 and QD62E For the QD62D Connector side Terminal block Connector side Terminal block Signal name terminal side terminal Signal name terminal side terminal number symbol number symbol Coincidence output point No 1 ae 15 EQU2 BOG E EQU y Coincidence output point No 2 Coincidence output point No 1 Phase A sds nnua EQU2 ase A pulse input Coincidence output point No 2 Phase A pulse input Bsa ee A06 Phase A pulse input 24 V Phase A pulse input 12 V x N Phase A pulse input 5 V ABCOM Phase B pulse input 24 V Coincidence output point No 1 Coincidence output point No 2 12 24 V Al W N a a ola gt gt
44. High Speed Counter Module MITSUBISHI User s Manual QD62 QD62E QD62D GX Configurator CT SWOD5C QCTU E Mitsubishi Programmable Controller MELSEG Q e SAFETY PRECAUTIONS e Always read before starting use Before using this product please read this manual introduced in this manual carefully and pay full attention to safety to handle the product correctly The instructions given in this manual are concerned with this product For the safety instructions of the programmable controller system please read the User s Manual for the CPU module to use In this manual the safety instructions are ranked as DANGER and CAUTION N Indicates that incorrect handling may cause hazardous conditions O DANGER resulting in death or severe injury a CAUTION Indicates that incorrect handling may cause hazardous conditions resulting in medium or slight personal injury or physical damage Note that the CAUTION level may lead to a serious consequence according to the circumstances Always follow the instructions of both levels because they are important to personal safety Please store this manual in a safe place and make it accessible when required Always forward it to the end user DESIGN PRECAUTIONS lt DANGER e Do not write data into the system area of the buffer memory of intelligent function modules Writing data into the system area may cause a programmable controller system malfunction e Depending on
45. PU Up to 64 Q12HCPU Programmable Q25HCPU High Performance model QCPU controller CPU Q12PHCPU Process CPU Up to 64 Q25PHCPU QO2UCPU Up to 36 Universal model QO03UDCPU QCPU QO04UDHCPU Up to 64 QO6UDHCPU Q12PRHCPU Redundant CPU 4 Q25PRHCPU 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 detection interrupt function use the CPU module of function version B or later 4 Use the QD62 E D module whose first 5 digits of serial No is 09012 or later 2 SYSTEM CONFIGURATION SYS CONFIGU ONS MELSEC Q b Mounting to a MELSECNET H remote 1 O station The following shows the mountable network modules No of mountable modules and mountable base unit of the QD62 E D module Power shortage may occur depending on the combination with other mounted modules or the number of mounted modules When mounting modules pay attention to the power supply capacity When the power shortage occurs review the combination of modules to be mounted Mountable base unit 2 Mountable network No of mountable x module 3 modules 4 Main base unit of Extension base unit of remote I O station remote I O station QJ72LP25 25 QJ72LP25G Up to 64 QJ72LP25GE QJ72BR15 O Mountable x Not mountable 1 Limited to the range of the number of I O points in the network module 2 Mountable on any I O slot o
46. Purpose Set the QD62 E D buffer memory to be automatically refreshed for each channel Set the following auto refresh setting parameters e Present value e Periodic pulse counter previous value e Latch count value e Sampling periodic counter flag e Sampling count value e Overflow detection flag e Periodic pulse counter present value This auto refresh setting eliminates the need for reading and writing by sequence programs Operating procedure Start I O No Module type Module model name Auto refresh Enter the start I O No in hexadecimal Setting screen ziok Module information Module type Counter Module Start 1 0 No 0000 Module model name QD62 Module side Module side MEE PLC side 2 Setting item Buffer size Transfer acter Device word count SL E E e E E monse o o S E E Make text file End setup Cancel 7 UTILITY PACKAGE GX Configurator CT Explanation of items 1 Items Module side Buffer size Module side Transfer word count Transfer direction PLC side Device 2 Command buttons MELSEC Q Displays the buffer memory size of the setting item Displays the number of words to be transferred 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
47. QD62 E D are shown below oe el ees QD62 oA BO DEC O FuNC O CH1 oO oO 0 O OFuse CH2 External wiring connector 40 pin connector Connector terminal number Connector terminal number B20 B01 QD62 Serial number plate Description Lit Voltage is being applied to the Phase A pulse input terminal Lit Voltage is being applied to the Phase B pulse input terminal Lit Counter is in the process of subtraction FUNC Lit Voltage is being applied to the function start input terminal Lit Voltage is being applied to the external power supply input FUSE terminal while the fuse in the coincidence signal output section is broken 4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION MELSEC Q 1 External wiring Connector The connectors for use with the QD62 E D should be purchased separately by the user The connector types are listed below a Connector types Soldering type straight out A6CON1 Solderless type straight out A6CON2 Pressure welding type straight out A6CON3 Soldering type usable for straight out and A6CON4 diagonal out 4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION MELSEC Q 4 4 Wiring The following explains how to wire the encoder and the controller to the QD62 E D 4 4 1 Wiring precautions In order to fully utilise the functions of the QD62 E D and ensure system reliability external wiring having a minimum of noise
48. TAP DYO xa lt Processing at the time of count coincidence gt lt Illuminate the LED x0 TE X2 YO tt t _4 43d40 _ YY lt Reset coincidence signal No 1 gt x x t f SET Y0 2 X15 lt Complete No 1 reset 2 Y0 R Yo lt Preset execution using the sequence program gt x13 RS RSS fire dv lt Overflow detection processing gt Set only when the linear counter is used PR RAMMIN mS S MELSEC Q a When using the functions listed below the following programs are inserted 1 When the disable count function is used lt Disable count function gt xO X16 SET Y6 RST Y6 2 When the latch counter function is used lt Latch counter function gt x0 X19 _ _ UU i Y6 3 When the sampling counter function is used lt Sampling counter function gt X1B RS KE Y6 4 When the periodic pulse counter function is used lt Periodic pulse counter function gt X1D KK gt I 8 PROGRAMMING MELSEC Q 8 2 Program Example when GX Configurator CT is not Used lt Initial setting gt lt Set preset values gt XO Y4 M10 DTOP HO HO K2500 K1 lt Coincidence output No 1 to 1000 gt DIOP HO H4 K1000 K1 Too o Set the min for ring counter i i DTOP HO H14 K 5000 K1 Set only when i the ring counter lt Set the max for ring counter ja i iis used DTOP HO H16 K5000 K1 We sda s Se lg baie a Sot wie tee ec eg BE e beat gies Oe eb 4 Oe ee ened
49. a 2 W ojlo Sjo EA s bre N R lt B08 A07 B07 A05 B05 B02 02 lt REMARK If a connector terminal block converter module is used in the QD62D the terminals on the terminal block side with symbols C D 1C and 1D are not used 4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION MELSEC Q 4 5 Switch Settings for the Intelligent Function Module This section explains the switch settings for the intelligent function module These switch settings are performed with the GX Developer I O assignments 1 Switch setting for the intelligent function module Five switches switch numbers 1 to 5 are available for the intelligent function module and they are set with 16 bit data If the switches for the intelligent function module are not set the default value of 0 is used for switches 1 to 5 a Pulse input mode 0 1 phase multiple of 1 1 1 phase multiple of 2 2 CW CCW 3 2 phase multiple of 1 Switch 1 for channel 1 4 2 phase multiple of 2 5 2 phase multiple of 4 Counting speed setting 0 10 k PPS 1 100 k PPS 2 200 k PPS 3 500 k PPS Only for the QD62D Counter format Switch 2 for channel 2 0 Linear counter 1 Ring counter Switch 3 Switch 4 Switch 5 Reserved Example Target channel Channel 2 Pulse input mode setting 2 phase multiple of 1 Counting speed setting 200 k PPS Counter format Ring counter Set as switch 2 0123H The counting sp
50. ading the present ValUCS sssini iaiaaeaia 5 3 5 2 Selecting the Counter Format ccccceccseceseeeeeeeeeeeseeeeeeeeeeeeeeseeeeeseesaeesaeesaeesaeesaeesaeeseesaeeseesaeeseeeaeesas 5 4 5 2 1 Selecting the linear COUNTE noiera a a a A 5 4 5 2 2 Selecting the ring COUMEN ren or e AAAA A AANA A AEAEE 5 5 5 3 Using the Coincidence Output Function essesessessesresresnssrernesnsnnesnernstnsensnnetnstnsnnnnaennendnnenaetnnnesnnennennnt 5 7 64 Using the Preset FUNCHON anean Aleka lane la hahah abddahahndadmanaian 5 10 6 CONVENIENT USAGE 6 1to6 8 6 1 Selecting the Counter Function 0 ccccccccccececcceeedeeceeeedeecenseseeeeeseeceaesaesaesecenaedeaesteesacseestecteeeseeties 6 1 6 1 1 Reading the counter function selection count value oe eeeeeeeeeeeneteeeeeeeteeeteeeteeeeeeeteaeeeaeseaeteneeeas 6 2 Gel COUMU CMON a a T ants ntatacetetat O a E eae pid neettee sta nOvpi teeta thy 6 3 6 2 Using the Disable Count Funcion anesore aare A ERATARA RAR ANEA REANA ERARE SEANAR E RERIN 6 4 6 3 Using the Latch Counter FUNCION ennienni a ie A A AE a A E as 6 5 6 4 Using the Sampling Counter Function 0 0 eee eeeeeeeeeeeeeeeeeeeeeeeeaeeeaeseaeeeaeeeaeeeaeeeaeeeaeeeaeesaeeeaeeeateaeeeaeesas 6 6 6 5 Using the Periodic Pulse Counter Function e cc ecceeeceeeeeeneeeeeeeeeeaeeeaeeeaeeeaeeeaeeeaeseaeeeaeeeaeeeaeeeaeeeeeeateeas 6 7 7 UTILITY PACKAGE GX Configurator CT 7 1to 7 19 A Functions of the Utility Package ezc iccficii t
51. ance 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 device Failure that could have been avoided if functions or structures judged as necessary in the legal safety measures the user s device is subject to or as necessary by industry standards had been provided 4 Failure that could have been avoided if consumable parts battery back
52. and Y04 Y0C is ON or OFF BASI AGE ela a MELSEC Q 2 Preset using an external control signal Preset is performed by applying ON voltage to the preset input terminal for external input Count enable command ON S Y04 YOC OFF Counter input pulse i i i i 1 7 Rye Fea R TA i Preset value setting buffer memory 101 Addresses On to 1 20H to 211 Preset command ON Preset input terminal OFF i ie eie i lt External preset request ON detection flag OFF p X04 X0B On External preset request ON detection reset command OFF Y05 YOD SN Present value storage buffer memory Addresses 2h to 3x 22h to 23u 1 Any numeric value is written in 32 bit binary format into the preset value setting buffer memory Addresses 0H to 1H 20H to 21h for the QD62 E D At the start OFF to ON of the preset command voltage applied to the preset 1 0 1121 to 65 66 67 100 101 to 123 124 100 101 input terminal the preset value in the preset value setting buffer memory is preset in the present value storage buffer memory Preset can be executed regardless of whether the count enable command Y04 Y0C is ON or OFF While the external preset request detection flag X04 X0B is ON 3 preset cannot be executed even if voltage is applied to the preset terminal or the preset command Y01 Y09 is turned ON Preset can be performed by turning ON 4 the ex
53. ar counter can be used in combination with the preset function and the coincidence output function A Counter present value p A ia I gy 2147483647 lt 4 gt Subtraction Addition SoS SL a 2147483648 Overflow 2 Overflow error a When the counter format is linear counter an overflow error occurs if the present counter value exceeds 2147483648 minimum value during subtraction or exceeds 2147483647 maximum value during addition b When an overflow error occurs 1 is stored in the buffer memory overflow detection flag addresses CH1 8H CH2 28H and the count stops Even if a pulse is input the present value will not change from 2147483648 or 2147483647 c Performing a preset will cancel the overflow error When a preset is performed 0 is stored in the buffer memory overflow detection flag and the count resumes d When an overflow error occurs a generated module error can be viewed on the system monitor by clicking Diagnosis System monitor menu in the GX Developer 5 BASIC USAGE MELSEC Q 5 2 2 Selecting the ring counter 1 Ring counter operation 2 When the ring counter is selected the count operation is performed repeatedly between the ring counter minimum value addresses CH1 14H to 15H CH2 34H to 35H and maximum value addresses CH1 16H to 17H CH2 36H to 37H that were set arbitrarily in the buffer memory When the ring counter is being selected an ov
54. ber of settings is not counted by columns Add up all the setting items in this setting screen then add them to the total for the other intelligent function modules to get a grand total CH1 Overflow detection flag CH2 Present value CH2 Latch count value Make text file End setup 7 UTILITY PACKAGE GX Configurator CT MELSEC Q 7 2 2 Operating environment This section explains the operating environment of the personal computer that runs GX Configurator CT Installation Add in target i Add in to GX Developer Version 4 English version or later 2 Windows based personal computer CPU Refer to the following table Operating system and performance required for personal computer Hard disk For installation les MB or more space 10 MB or more 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 2000 Professional Operating System English version 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 Win
55. cidence signal stays ON the next coincidence signal cannot be output When the counter value becomes greater than the coincidence output point set value the counter value large signal turns ON Before turning ON the coincidence signal enable command perform the following operations 1 Using any of the following methods make the coincidence output point setting value and present value different e Changing the coincidence output point setting e Changing the present value by preset e Inputting a pulse and changing the present value 2 Turn OFF ON and then OFF again the coincidence signal reset command If turning ON the coincidence signal enable command before count start or while the coincidence output point setting value and present value are the same coincidence output is performed BASI AGE U MELSEC Q 2 Output status setting during a CPU stop error The output status clear hold can be set for the external output signal when a CPU stop error occurs The output status is set using the GX Developer I O assignment See Section 4 5 for details on the I O assignment setting method 3 Coincidence detection interrupt function The coincidence detection interrupt function allows making an interrupt request to a programmable controller CPU at the time of coincidence detection to start the interrupt program When the programmable controller CPU is a Q00J Q00 Q01CPU use function version B or later a With the MELSEC Q se
56. crew and or the module resulting in fallout short circuits or malfunction e Be sure to shut off all phases of the external power supply used by the system before mounting or removing the module Not ding so may cause electric shock or damage to the module e Do not directly touch the conductive area or electronic components of the module Doing so may cause malfunction or failure in the module WIRING PRECAUTIONS A CAUTION e Perform correct pressure displacement crimp contact or soldering for connector wire connections using the tools specified by the manufactures Attach connectors to the module securely e Be careful not to let foreign matters such as sawdust or wire chips get inside the module They may cause fires failure or malfunction e The top surface of the module is covered with protective film to prevent foreign objects such as cable offcuts from entering the module when wiring Do not remove this film until the wiring is complete Before operating the system be sure to remove the film to provide adequate heat ventilation e Be sure to fix communication cables or power supply cables leading from the module by placing them in the duct or clamping them Cables not placed in the duct or without clamping may hang or shift allowing them to be accidentally pulled which may cause a module malfunction and cable damage WIRING PRECAUTIONS A CAUTION e When removing the communication cable from the module do no
57. d on the rating plate on the main body of the programmable controller that conforms to the EMC directive and low voltage instruction By making this product conform to the EMC directive and low voltage instruction it is not necessary to make those steps individually About the Generic Terms and Abbreviations This manual describes the Type QD62 QD62E and QD62D high speed counter module using the following generic terms and abbreviations unless otherwise specified Generic product name for SWnD5C GPPW E SWnD5C GPPW EA SWnD5C GPPW GX Developer EV and SWnD5C GPPW EVA n is 4 or greater A and V denote volume license product and upgraded product respectively Generic term for the QOODJCPU QO0CPU Q01CPU Q02CPU QO2HCPU QO6HCPU QCPU Q mode Q12HCPU Q25HCPU Q12PHCPU Q25PHCPU QO2UCPU QO3UDCPU QO4UDHCPU QO6UDHCPU and QO6CCPU V H01 GX Configurator CT Abbreviation for GX Configurator CT SWOD5C QCTU E of counter module setting monitor tool 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 Generic term for the following Windows XP Microsoft Windows XP Professional Operating System Microsoft Windows XP Home Edition Operating System Win
58. d signal cable The following diagram shows an example Wiring example QD62 E 24 V Phase ABCOM A External 24V DCO power supply ov ncorrect wiring example QD62 E 24 V The current flows Phase ABCOM through the shielded A twisted pair cables in the same direction so there is no cancelling effect This makes it more prone to electromagnetic res 24VDCO induction supply OV 4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION MELSEC Q 2 Wiring example with a voltage output type encoder 5 V DC Encoder QD62 QD62E 24V 2 Phase A pa at eee ete 24V Phase B wat ag Shielded twisted pair cable E sc at To ty ty C N fig an Oe ae EEE v7 Q Shield 3 E External svc 5 power supply ov Q O ey The number inside the indicates the terminal number for channel 2 3 Wiring example with a driver equivalent to Am26LS31 encoder Encoder QD62D g i Phase A l A Shield E I v7 B Shield E Phase B External VCC g Vee power ov O supply ov O The number inside the indicates the terminal number for channel 2 4 7 4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION
59. dows Vista Product Structure The following are included in the package Model Name Product Name Quantity QD62 Type QD62 high speed counter module 1 QD62E Type QD62E high speed counter module QD62D Type QD62D high speed counter module SWOD5C QCTU E GX Configurator CT Version 1 1 license product SWOD5C QCTU EA GX Configurator CT Version 1 Multiple license product CD ROM 1 OVERVIEW 1 OVERVIEW MELSEC Q This User s Manual describes the specifications handling and programming method for the QD62 QD62E and QD62D high speed counter modules QD62 E D used together with the MELSEC Q series CPUs The QD62 E D modules are available with the following I O types maximum counting speeds and number of channels aD62 QD62E QD62D VO type DC input sinking DC input sourcing Differential input yP output output o ea output Maximum Maximum counting speed _ speed 200 kPPS 500KPPS kPPS Number of channels The QD62 E D modules have the following input methods for 1 phase 2 phase pulse input e Phase 1 pulse input multiple of 1 Phase 1 pulse input multiple of 2 CW CCW e Phase 2 pulse input multiple of 1 Phase 2 pulse input multiple of 2 e Phase 2 pulse input multiple of 4 See Section 5 1 for details on the input methods An overview of QD62 E D operation is shown in the figure below a VO signal Programmable controller CPU Buffer memory d writ See QCPU Q mode QD62 E D
60. dows Vista Business Operating System English version Microsoft Windows Vista Ultimate Operating System English version Microsoft Windows Vista Enterprise Operating System English version x1 Install GX Configurator CT in GX Developer Version 4 or higher in the same language 2 GX Configurator CT is not applicable to GX Developer Version 3 or earlier 3 At least 15GB is required for Windows Vista 4 Resolution of 1024 X 768 dots or more is recommended for Windows Vista 7 UTILITY PACKAGE GX Configurator CT MELSEC Q Operating system and performance required for personal computer Performance required for personal computer Operating system o ou OS Memory Windows 95 Pentium 133MHz or more 32MB or more Windows 98 Pentium 133MHz or more 32MB or more Windows Me Pentium 150MHz or more 32MB or more Windows XP Professional Service Pack 1 or more The functions shown below are not available for Windows XP and Windows Vista If any of the following functions is attempted this product may not operate normally Start of application in Windows compatible mode Fast user switching Remote desktop Large fonts Details setting of Display Properties Also 64 bit version Windows XP and Windows Vista are not supported Use a USER authorization or higher in Windows Vista 7 UTILITY PACKAGE GX Configurator CT MELSEC Q 7 3 Explanation of Utility Package Operati
61. e it may cause the module to fallout short circuits or malfunction If the screws are tightened too much it may cause damages to the screws and or the module resulting in the module falling out short circuits or malfunction e Always make sure to touch the grounded metal to discharge the electricity charged in the body etc before touching the module Failure to do so may cause a failure or malfunctions of the module DISPOSAL PRECAUTIONS A CAUTION e When disposing of the product handle it as industrial waste REVISIONS x The manual number is given on the bottom left of the back cover Print Date_ Manual Number Dec 1999 SH NA 080036 A First edition Oct 2000 SH NA 080036 B Correction About the Generic Terms and Abbreviation Section 2 1 Section 7 2 2 7 3 3 7 6 1 Jun 2001 SH NA 080036 C Standardize the name from software package GPP function to Product name GX Developer Standardize the name from utility package QCTU to Product name GX Configurator CT Addition Section 2 2 2 3 Correction SAFETY PRECAUTIONS Conformation to the EMC Directive and Low Voltage Instruction About the Generic Terms and Abbreviations Product Structure Section 2 1 Section 3 2 3 5 Section 6 2 Section 7 2 7 2 1 7 2 2 7 3 3 Feb 2002 SH NA 080036 D About the Generic Terms and Abbreviation Section 2 1 Section 7 2 1 7 2 2 Feb 2003 SH NA 0800
62. e QD62 E D when the programmable controller CPU is placed in the RUN status 1 The QD62 E D s buffer memory is configured for automatic refresh CHO Preset value e CHO Latch count value CHO Sampling count value CHO Periodic pulse counter present value Auto refresh CHO Periodic pulse counter previous value CHO Sampling periodic counter flag CHO Overflow detection flag Values set for auto refresh and stored in the QD62 E D s buffer memory are automatically read out when the END instruction is executed in the programmable controller CPU The buffer memory and I O signals of the QD62 E D are monitored or tested e X Y device CHO Present value CHLO Preset function CHO Coincidence output function Monitoring test CHO Counter selection function CHO Ring counter function Section 7 4 Section 7 5 T Section 7 6 7 UTILITY PACKAGE GX Configurator CT MELSEC Q 7 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 7 2 1 Handling precautions The following explains the precautions on using the utility package 1 2 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 About installation GX Configurator CT is add in software for GX Developer
63. e coincidence signal enable command Y02 YOA 1 Coincidence Output Operation Count enable command ON Y04 YOC OFF i I Coincidence signal enable command ON 4 5 Y02 YOA OFF ne PLLA 1 1 i 1 4 i Coincidence output point setting No 1 i i i lm Buffer memory 1 100 i N i i Addresses 4n to 5u 24H to 251 JI i i i Counter value small point No 1 ON S l X03 X0A OFF j a Counter value coincidence point No 1 ON X02 X09 OFF Coincidence signal No 1 reset command ON Y00 Y08 OFF Addresses 2h to 3H 22h to 23n 1 1 1 1 1 1 1 1 1 1 1 1 1 L 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 T 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 i i I C 4 Counter value large point No 1 ON X01 X08 OFF tC i I i I i l 1 l Buffer memory for storing present values 0 1 2 to 98 99 100 101 102 103 i i i 1 1 Description 1 The coincidence output point set values are written in advance as 32 bit signed binary values in the coincidence output point No 1 buffer memory addresses 4H to 5H 24H to 25n 2 When the count value becomes the coincidence output point set value the counter value small signal turns OFF and the counter value coincidence signal turns ON When the coincidence signal reset command is turned ON the counter value coincidence signal is reset If the counter value coin
64. e equal point No 1 ON CH1 Preset command Y01 OFF OFF X03 CH1 Counter value lt point No 1 OFF CH1 Ext preset request detection X04 OFF No detection X04 CH1 Ext preset request detection OFF No detection CH1 Ext preset detection reset command Y05 OFF Release OFF Release X05 CH1 Counter value gt point No 2 OFF CH2 Present value 0 X06 CH1 Counter value equal point No 2 ON CH2 Preset value setting 0 X07 CH1 Counter value lt point No 2 OFF CH2 Preset command Y09 OFF OFF X08 CH2 Counter value gt point No 1 OFF CH2 Ext preset request detection X0B IOFF No detection 1X09 CH2 Counter value equal point No 1 ON CH2 Ext preset detection reset command YOD OFF Release OFF Release X0A CH2 Counter value lt point No 1 OFF ly 5 r Flash ROM setting Details r Flash ROM setting Details Wie te Current value Monitoring Save fie Current value Monitoring iE display Ja tA ts display Cannot execute test Cannot execute test Make text file Load fle Make text file Evecute test Close Stop monitor Close 7 UTILITY PACKAGE GX Configurator CT MELSEC Q Counter selection Periodic PLS count Coincidence i Ring counter output Y 7 UTILITY PACKAGE GX Configurator CT MELSEC Q Explanation of items 1 Items Setting item Displays I O signals and buffer memory names Current value Monitors the I O signal states and present buffer memory values Setti
65. e preset sampling period since the time the counter function selection start command was entered 4 Periodic pulse counter function This function stores the present value and previous value for each preset periodic time while the counter function selection start command is being entered 1 Change the counter function while the counter function selection start command is OFF 2 The counter function selection can be executed either by turning YO6 YOE ON or applying voltage to the function start input terminal Also the signal that was entered first takes precedence 3 Time settings for the sampling counter function and the periodic pulse counter function are performed by writing data in a range from 1 to 65535 into the sampling periodic setting buffer memory address AH 2AH The time unit is 10 ms Example When 420 is specified in the sampling periodic time setting buffer memory Setting time 420 Xx 10 4200 ms 6 CONVENIENT USAGE MELSEC Q 6 1 1 Reading the counter function selection count value The counter function selection count values are stored when the counter function selection is executed The count values when the latch counter sampling counter and periodic pulse counter functions are executed are stored in the counter function selection count value storage buffer memory at the addresses shown in the table below Counter function selection count value Present Periodic pulse Periodic pulse C
66. e range of the values that are read is from 2147483648 to 2147483647 32 bit signed binary values 4 Coincidence output point set No 1 and No 2 Buffer memory addresses CH1 4H to 7H CH2 24H to 27H e This area is used to write the setting values of the coincidence output points to be compared with the present counter value e No 1 and No 2 coincidence output points can be set for each channel e The setting range is from 2147483648 to 2147483647 32 bit signed binary value 5 Overflow detection flag Buffer memory addresses CH1 8H CH2 28H A counter overflow occurrence status is stored when the counter format is linear counter e The following values corresponding to the overflow occurrence status are stored in this area Buffer memory content No overflow detection as e Overflow occurred 6 Counter function selection setting Buffer memory addresses CH1 9H CH2 29H e This area is used to set the data for which a counter function is selected e The relationships between the selected counter function and set value are shown below Counter function selection Count disable function Latch counter function Sampling counter function Periodic pulse counter function 3 SPECIFICATIONS MELSEC Q 7 Sampling periodic setting Buffer memory addresses CH1 An CH2 2A e This area is used to write the time setting values of the sampling counter function and periodic pulse counter function during count
67. eed setting of 500kPPS can only be used with the QD62D Setting the counting speed to 500k PPS for the QD62 and QD62E may cause miscounts Thus do not use this setting for the QD62 and QD62E The reserved switches in the intelligent function module switch setting items are for system use not for users Therefore always fix them to 0 If used changed from 0 to 1 by a user the operations of the QD62 E D are not ensured 4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION MELSEC Q 2 Details of the intelligent function module switch setting Pulse input mode Set the pulse input mode for each channel Section 5 5 1 Counting speed setting Set the counting speed for each channel Section 3 1 Counter format Set the counter format for each channel Section 5 2 1 Section 5 2 2 3 Detailed settings The error time output mode and H W error time PLC operation mode are set in the detailed settings for the intelligent function module a Error time output mode Sets to either clear or hold the module output status when a programmable controller CPU stop error occurs e Clear Turns OFF all of the coincidence signal external outputs e Hold Holds the same ON OFF status before the CPU is stopped for the coincidence signal external outputs b H W error time PLC operating mode Sets to either stop or continue the programmable controller CPU operation for each module when an intelligent function module error SP UNIT DOWN
68. effect must be provided The precautions regarding external wiring are described below 1 Different terminals have been prepared for connection depending on the voltage of the input signal Connecting a terminal of incorrect voltage may result in malfunction or mechanical failure 2 For 1 phase input always perform pulse input wiring on the Phase A side 3 When pulse status noise is input the QD62 E D may miscount 4 Provide the following measures against noise for high speed pulse input a Always use a shielded twisted pair cable and provide grounding b Avoid placing the shielded twisted pair cables or input output cables Place the cable at least 150 mm 5 9 inch from such wires and perform wiring using the least distance as possible 5 An example of wiring incorporating measures against noise is shown below Programmable controller QD62 E D Terminal block __ Do not enclose solenoids and inductive loads together within the same metal conduit If a sufficient distance cannot be secured to isolate ducts and other wires from a high Pa voltage line use CVVS or other shielded wire for the high voltage line Provide a clearance of 150 mm 5 9 inch or more from I O wires to high voltage equipment such as inverters Also exercise caution for wiring inside the panel The distance between the encoder and relay box must be short Allowing a long distance between the QD62 E D and
69. election setting Disable count Sampling periodic setting unit 10ms 7000 Sampling periodic setting unit 10ms 7200 Ring counter minimum value 5000 Ring counter minimum value 6000 Ring counter maximum value 5000 Ring counter maximum value 6000 gt Details Details Decimal ir ee Decimal 21 47483648 a EA eg et pe EA 2147483647 Make text file _ Endsetup _ Endsetup Cace Make text file __Endsetup __Endsetup Cael 7 UTILITY PACKAGE GX Configurator CT MELSEC Q 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 Cancels the setting and ends the operation Initial settings are stored in the intelligent module parameters After being written to the CPU module the initial setting is made effective by either 1 or 2 1 Cycle the RUN STOP switch of the CPU module STOP RUN STOP RUN 2 With the RUN STOP switch set to RUN turn off and then on the power or reset the CPU module If the initialization settings have been written by a sequence program the initialization settings will be executed during the STOP RUN of the CPU module Arrange so that the initial settings written by the sequence program are re executed during the STOP RUN of the CPU module 7 UTILITY PACKAGE GX Configurator CT MELSEC Q 7 5 Auto Refresh
70. ent function module parameter Open parameters Save parameters 7 UTILITY PACKAGE GX Configurator CT MELSEC Q 3 From GX Developer select Online Read from PLC Write to PLC Intelligent function module parameters Or from the module selection screen of the utility Online Read from PLC Write to PLC lt Text files gt a A text file can be created by clicking the Make text file button on the initial setting Auto refresh setting or Monitor Test screen The text files can be utilized to create user documents b Text files can be saved in any directory However a path folder where the file is to be saved cannot be created during Make text file operation so create a folder in advance for saving the file using Windows Explorer a GX Developer OE Fe EE GX Configurator CT 3 i eas ea gt l ee a A Personal computer B 3 QCPU Q25HCPU MODE OJ RUN cA ERR ZJ user A Indicates intelligent function module parameter B Indicates data saved by text file USB RS 232 Figure 7 1 Correlation chart for data created with the utility package 7 UTILITY PACKAGE GX Configurator CT 7 3 2 Operation overview GX Developer screen Tools Intelligent function utility Start Screen for intelligent function module parameter setting module select ity C MELSEC GPPW fb_sample M E Counter Module QD
71. er function selection e The setting range is from 1 to 65535 16 bit binary values and the time unit is 10 ms Example When 420 is set for the sampling periodic setting in the buffer memory 420 Xx 10 4200 ms 8 Sampling periodic counter flag Buffer memory addresses CH1 Bu CH2 2Bh e This area is used to store the function operating status while the sampling counter function and periodic pulse counter function are being executed during counter function selection e One of the values corresponding to the function operation status shown in the table below is stored in this area Operating status Buffer memory content Idling function Ee ee Executing function 9 Latch count value Buffer memory addresses CH1 CH to Du CH2 2CH to 2Dn This area is used to store the latch count values when the latch counter function is executed e The range of the values to be read is from 2147483648 to 2147483647 32 bit signed binary values 10 Sampling count value Buffer memory addresses CH1 EH to Fu CH2 2EH to 2FH e This area is used to store the sampling count values when the sampling counter function is executed e The range of the values to be read is from 2147483648 to 2147483647 32 bit signed binary values 11 Periodic pulse count previous and present value Buffer memory addresses CH1 10H to 13H CH2 30H to 33H e This area is used to store the present and previous values for the periodic pulse coun
72. er value coincidence signal command X02 X09 X06 X0D is output to the external terminal Turns ON when a subtraction count is executed in the 1 phase pulse input mode If either phase B pulse is input or the down count Down count command command Y03 YOB turns ON the subtraction count is performed Check that the phase B pulse is input and the down count command Y03 YOB is OFF for addition YOC Count enable command Eea Turns ON when the count operation is performed yos Yop External preset detection reset Turns ON when the external preset request detection command signal X04 X0B is reset fd Turns ON when counter function selection is executed e Latch counter function e Sampling counter function e Count disable function e Periodic pulse counter function y YOF Coincidence signal No 2 reset Turns ON when the counter value coincidence point command No 2 signal X06 XOD is reset The symbols used in the operation timing column signify the following aa ee i Enabled while the signal is in ON status j eae Ses Enabled at signal rise from OFF to ON H1 YOO Y0O1 Y03 07 Counter function selection start YO6 YOE command PECIFICATION ses a MELSEC Q 3 4 Buffer Memory Assignments 1 Buffer memory assignment list Buffer memory assignments without battery backup for the QD62 E D are listed in the table below The initial values are set for the buffer memory when the power is turned on or the pro
73. erflow error does not occur The ring counter can be used in combination with the preset function and the coincidence output function A Present counter value Ring counter maximum value Addition l l l l Subtraction l x ees Ring counter minimum value Ring counter count range The count range for the ring counter is determined by the relationship between the present values in the buffer memory addresses CH1 2H to 3H CH2 22H to 23x at the time the count enable command Y04 YOC turns ON or a preset is executed and the ring counter minimum value maximum value Normally the range used is ring counter minimum value lt present value lt ring counter maximum value e For up count When the present value reaches the ring counter maximum value the ring counter minimum value is automatically stored as the present value For down count Even if the present value reaches the ring counter minimum value the ring counter minimum value will be retained as is With the next subtraction pulse ring counter maximum value 1 will be stored as the present value Whether during up count or down count the ring counter maximum value will not be stored in the buffer memory for storing the present values For example if the count is enabled with the ring counter minimum value of 0 the ring counter maximum value of 2000 and the present value of 500 the count range and present value will change as shown in
74. f the mountable base unit 3 The coincidence detection interrupt function is not supported The Basic model QCPU cannot create the MELSECNET H remote I O network 2 Support of the multiple CPU system When using the QD62 E D in a multiple CPU system refer to the following manual first e QCPU User s Manual Function Explanation Program Fundamentals If the QD62 E D is used in a multiple CPU system there are no restrictions depending on the module version Write intelligent function module parameters to only the control CPU of the QD62 E D 2 SYSTEM CONFIGURATION SYS CONFIGU ONS MELSEC Q 3 Supported software packages Relation between the system containing the QD62 E D and software package is shown in the following table GX Developer is necessary when using the QD62 E D eee GX Developer GX Configurator CT Version 7 or Version 1 10L or later later cannot be used with the 00J Q00 Q01CPU 7 Q 2 Version 8 or SWOD5C QCTU E 50F Multiple CPU system later or earlier versions Sinale CPU svstem Version 40r SWOD5C QCTU E 00A Q02 Q02H Q06H Q12H 9 y later or later Q25HCPU Vi 6 SWOD5C QCTU E 50F hiuitinle CpUrsystem one is later or later Version 1 13P or later Version 7 10L cannot be used with the or later SWOD5C QCTU E 50F or earlier versions V 8 45X Q12PRH Q25PRHCPU Redundant CPU system Version 1 16S or later Single CPU system Q02U Q03UD Version 8 48A Q04UDH QO06UDHCPU or later Veron T 2S
75. formance specifications I O signals for the programmable controller CPU and buffer memory specifications of the QD62 E D For the general specifications of the QD62 E D see the User s Manual for the CPU module used 3 1 Performance Specifications The following describes the performance specifications of the QD62 E D 1 QD62 DC input sinking output type performance specifications Model name QD62 Counting speed switch settings 1 200 k 100 k to 200 kKPPS 100 k 10 k to 100 kKPPS 10 k 10 KPPS or less O occupied points 16 points I O assignment Intelligent 16 points Number of channels 2 channels Phase 1 phase input 2 phase input signal Signal level A B 5 12 24 VDC 2to5mA Counting speed max 2 200 kPPS 100 kPPS 10 KPPS Counting range 32 bit signed binary values 2147483648 to 2147483647 Model UP DOWN Preset counter Ring counter function Minimum count pulse width Duty ratio 50 2 5 2 5 Unit us Min phase differential for Min phase differential for Min phase differential for 2 phase input 1 25 u s 2 phase input 2 5 u s 2 phase input 25 u s Comparison range 32 bit signed binary values Coincidence Set value lt Count value output Comparison result Set value Count value Set value gt Count value External Preset 5 12 24 V DC input Function start 2 to 5 mA External ent Transistor sinking type output 2 points channel Coincidence output output 12 24 V DC 0 5 A point 2 A comm
76. grammable controller CPU is reset The contents of the buffer memory can be read written using the FROM TO commands in the sequence program or the automatic refresh function of the programmable controller CPU 7 Initial value o Set data i Read write Hexadecimal Decimal 20H 32 Read write Preset value setting 0 21H 33 KI enabled 4 Hu H Coincidence output point set No 1 Read write H C id tput t set No 2 K PORRAS oincidence output point set No a Overflow detection flag Read only E SRA Counter function selection setting sees Ss Soa a t Sampling periodic setting peed nin S e a TNE i Oom eee Koa Senet HL e Hu HBL ki H 3 3 36 37 2m 28n gt He Periodic pulse count previous value EE E Periodic pulse count present value if fat tS Ring cour minimum vae Ring counter minimum value e Ea Ring counter maximum value pi Read write enabled be System area 1 a x1 The initial values are set when the power is turned on or the programmable controller CPU is reset PECIFICATION eS A ae MELSEC Q 2 Preset value setting Buffer memory addresses CH1 OH to 1H CH2 20H to 21H e This area is used to set the values that are preset in the counter e The setting range is from 2147483648 to 2147483647 32 bit signed binary values 3 Present value Buffer memory addresses CH1 2H to 3H CH2 22H to 23H The present values for the counter are stored e Th
77. gure below Ring counter minimum value Ring counter maximum value 2000 Present value 3000 2147483648 2147483647 Count range N UEAN Count range NANANA Ring counter Ring counter Present value minimum maximum value 2000 3000 3001 to 2147483647 2147483648 to 2 2001 2002 to 2998 2999 The ring counter maximum value 2000 will not be stored in the buffer memory for storing the present values b When the ring counter s minimum value is equal to the ring counter s maximum value the count range will cover any value that can be expressed in 32 bit signed binary values 2147483648 to 2147483647 regardless of the present value POINT 1 When the count enable command Y04 Y0C is ON the set values for the buffer memory will not change even if values are written as the minimum value and maximum value of the ring counter To change the ring counter maximum and minimum value settings first turn the count enable command OFF When the count range is to be changed using preset always change it after first turning the count enable command Y04 Y0C OFF BASI AGE esa na MELSEC Q 5 3 Using the Coincidence Output Function The coincidence output function presets any count value compares it with the present counter value and outputs a signal when they match For the coincidence output 2 points can be set for each channel To use the coincidence signal external output turn ON th
78. hase A pulse input 5 V When OFF 0 1 mA or less B20 B13 Phase A pulse input 12 V ABCOM 4 7K When ON 21 6 to 26 4 V 2 to 5mA 13W Phase B pulse input 24 V When OFF 0 1 mA or less 3 3K When ON 10 8 to 13 2 V 2 to 5 mA 10N B18 B11 Phase B pulse input 12 V When OFF 0 1 MA or less 47002 When ON 4 510 5 5 V 2to5mA 116W Phase B pulse input 5 V When OFF 0 1 mA or less When ON 21 6 to 26 4 V 2to5mA Input B10 Preset input 24 V When OFF 0 1 mA or less When ON 10 8 to 13 2 V 2 to 5mA A16 A09 Preset input 12 V When OFF 0 1 mA or less When ON 4 5 to5 5V 2to5mA B09 Preset input 5 V when OFF OFF otmAoriess 1 mA or less A15 Bos CTRLCOM Response OFF gt ON ON gt OFF Eaa 0 5 ms or less 1 ms or less when On ON 21 6 to 26 4 V 2 to 5mA B15 B08 Function start input 24 V When OFF 0 1 mA or less 5 6kQ When ON 10 8 to 13 2 V 2to5mA 110W A14 A07 Function start input 12 V When OFF 0 1 mA or less When ON 4 5to5 5V 2to5mA B07 Function start input 5 V when OFF OFF avoriess e V or less otmAorless 1 mA or less Response OFF gt ON ON gt OFF time 0 5 ms or less 1 ms or less EQU1 Operating voltage 10 2 to 30 V A06 Coincidence output point No 1 Maximum load current 0 1 A point 0 4 A common HAE Maximum voltage drop when ON 1 5 V Response time OFF ON 0 3 ms or less B06 EQU2 ON gt OFF 0 3 ms or less rated load Output Coincidence output point No 2 resi
79. hase multiple of 2 2 phase multiple of 1 2 phase multiple of 2 2 phase multiple of 4 CW and CCW 4 Counter format can be selected Either one of the following counter formats can be selected a Linear counter format A count from 2147483648 to 2147483647 is possible and if the count exceeds the range an overflow will be detected b Ring counter format Counting is performed repeatedly between the ring counter maximum value and minimum value 5 Coincidence output is possible Any channel coincidence output point can be preset to compare with the present counter value to output the ON OFF signal output or to start an interrupt program 6 Selection can be made from four counter functions One of the following four functions can be selected a Latch counter function This function latches the present value of the counter when the signal was input b Sampling counter function This function counts the pulses that were input within the preset time period from the signal input c Periodic pulse counter function This function stores the present and previous values of the counter at each preset time interval while the signal is being input d Disable count function This function inputs a signal while executing the count enable command to stop pulse counting 1 OVERVIEW MELSEC Q 7 The preset function counter selection function can be executed using an external control signal By applying voltage to the preset termi
80. i tilt ee tales hice ER tl dei emetic dete 7 1 7 2 Installing and Uninstalling the Utility Package ooo ec eeeeee cent tent eeeeeeeeeaeeeaeeeaeeeaeeeaeeeaeesaeeeaeeeaeeaeeeaeeeas 7 2 7 2 1 Handling precautions c ccccscecesecseeeeecsteceteccnecenecdheceneesneceneednecsseesnecsnendnecsnensnecssendhestecesnesesendiecsee 7 2 7 2 2 Operating ENVIFONMENE 0 cece eee eeeeeeeeeeeeeeeeeeeeeeaeeeaeeeaeseaeseaeeeaeeeaeeeaeeeaeeeaeeeaeeeaeeeaeeeaeeeaeeeeeeaeeas 7 4 7 3 Explanation of Utility Package Operations ce eecececeeeeeeeeeeeeeeeeeeeeseeeaeeeaeeeaeeeaeeeaeesaeesaeeeaeeeaeeaeeeaeeeas 7 6 7 3 1 How to perform common utility package Operations cccecceeeeeeeeeeceeeeeeeeeeeseaeeeeaeeeeeeeeseneeseaees 7 6 7 3 2 Operation OVervieW cccccceecceeeceeeeceeceneeeeaeeeeaeeesaneeseaeeecaeeecaaeesaaeeceaeeseaeeeeaceesaeeseaeeseneeseieeesiaeeesaees 7 8 7 3 3 Starting the Intelligent function module Utility 0 ee eee eeee eee eee eeeeeeaeeeaeeeaeeeaeeeaeeeaeeeaeeeeeeaeesas 7 10 PA OESE 1p o EEEE A PETET E PE REETA EEEE ETA OET EEA O E ET A O EE O TEA OA E E 7 12 TD Auto Refresh osacnoreniinin eana ai a a E S EAE ea abide didn ded add REENA 7 14 RO Moptonmmg Test e sen a a a a a aR a T I a Ta EA A EA T A A Ta ENRI aae 7 16 EON MOn T OS En a ae A A A 7 16 8 PROGRAMMING 8 1 to 8 10 8 1 Program Example When GX Configurator CT is Used 0 00 eeceeceeeeeeeeeeeeeeeeeeeeeeeeaeeeaeeeaeeeaeesaeeeaeeeaeenas 8 2 8 1 1 Operati
81. is detected e Stop Programmable controller CPU stops operation Continue Programmable controller CPU continues the execution of the programs for modules other than those in which an error was detected An intelligent function module error in the QD62 E D is detected when the Unit READY flag is not in the READY state due to a module hardware failure 4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION 4 Operating procedure MELSEC Q Perform settings starting with the GX Developer I O assignment screen Q parameter setting 7 PLC name PLE 1 1 0 Assignment ystem PLC file PLC RAS 1 PLC RAS 2 Device Program Boot Slot PLC I Model name Points Stariy a Intelli QD62 16points 0000 0 1 0 0 1t 2 2 4 133 Switch setting Detailed setting 5 4 4 alalalalala KIKIKIKIKIKIKIKI re 6 r Base settinal Assigning the I O address is not necessary as the CPU does it automatically Leaving this setting blank will nat cause an error to occur r Base mode Auto C Detail 8 Slot Default 12 Slot Default Settings should be set as same when using multiple CPU Import Multiple CPU Parameter Read PLC data Acknowledge XY assignment Multiple CPU setting Default Check End Cancel Switch setting for 170 and intelligent function module
82. k on Detailed Setting on the I O assignment screen to display the screen at left and then set the error time output mode and H W error time PLC operation mode BASI AGE U MELSEC Q 5 BASIC USAGE This section explains the basic usage of the QD62 E D 5 1 Pulse Input and Counting Method 5 1 1 Types of pulse input methods Six types of the pulse input methods are available These include 1 phase multiple of 1 1 phase multiple of 2 CW CCW pulse input 2 phase multiple of 1 2 phase multiple of 2 and 2 phase multiple of 4 The following table shows the pulse input methods and count timings Pulse input method Count timing a fLEL For addition count 6B and Y03 YOB Count at dA rise 1 B and Y03 YOB are OFF 1 phase multiple of 1 Count at A fall J For subtraction count B or Y03 YOB is ON oA For addition count 6B and Y03 YOB Count at dA rise 1 and fall J B and Y03 YOB are OFF 1 phase multiple of 2 Count at dA rise 1 and fall J For subtraction count 6B or Y03 Y0B is ON Count at dA rise 7 For addition count B is OFF CW CCW Ais OFF For subtraction count Count at B rise 1 For addition count Count at A rise 1 when B is OFF 2 phase multiple of 1 For subtraction count Count at A fall when B is OFF Count at A rise 1 when B is OFF For additionigount Count at A fall when B is ON 2 pha
83. lease consult terminals of A and B your local Mitsubishi representative explaining a detailed description of the problem Turn the count enable command Y04 YOC ON with the sequence program the intelligent function module switch setting the same on the intelligent function module switch setting Is the counter function selection start instruction Y06 If the disable count function has been set with the counter YOE ON or is voltage being applied to the function start selection function turn OFF the counter function selection start input terminals instruction Y06 YOE or the function start input terminal Is an overflow error occurring Preset to clear the overflow error Is the count enable command Y04 YOC ON TROUBLESHOOTIN es eS MELSEC Q 9 3 When the QD62 E D Does Not Normally Count Check item Check the external wiring and correct the error The module may miscount when ABCOM terminal is connected to Is the external wiring of A and B normal a pulse signal Connect the ABCOM terminal with external power 5V 12V 24V or GND terminal refer to Section 4 4 2 Is the maximum speed of input pulse within the range Correct the counting speed setting in the intelligent function of the counting speed made on the intelligent function module switch setting to meet the maximum speed of the input module switch setting pulse Check the pulse waveform with synchronoscope When the input Does the i
84. li module side Start SI No Set the start interrupt factor SI No of the QD62 E D Setting range 0 to 3 The following example shows SI 0 to 3 of the QD62 E D installed in the slot where the start I O is 20 being assigned to interrupt pointers 150 to 153 Intelligent function module interrupt pointer setting PLC side Intelli module side a Interrupt pointer Interrupt pointer Start No No of module Start 1 0 No Start SI No 50 4 0020 EEEE E E E E E E E E E E E c The following two methods are available for using only specific SI numbers 1 Method using the parameter interrupt pointer setting The interruption factors are used only for the start SI number and the additional number of pointers only which are specified in the dialog box for the Intelligent function module s interrupt point setting For example if the start SI number is set as 1 and the number of pointers is set as 2 only SI 1 and 2 are used Also the interrupt function cannot be used when the parameter interrupt pointer setting has not been set 2 Method using the IMASK command from the sequence program When the IMASK command is used interrupt program execution enable disable interrupt mask can be set for each interrupt pointer number Refer to the QCPU Q Mode QnACPU Programming Manual for details on the IMASK command A coincidence detection interrupt occurs when the counter
85. light 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 compensation of damages caused by any cause found not to be the responsibility of Mitsubishi loss in opportunity lost profits incurred to the user by Failures of Mitsubishi products special damages and secondary damages whether foreseeable or not compensation for accidents and compe
86. lse counter function is used Programs that were used in earlier products such as A1SD62 E D D S1 cannot be used because the I O signals and the buffer memory configuration of these products differ from those of QD62 E D The conventional dedicated instructions cannot be used PR RAMMIN a S MELSEC Q b Devices used by the user Device Description Device Count operation start signal Periodic pulse count data read signal Current value read signal X11 Periodic pulse count start signal X1D X12 Coincidence confirmation LED signal Y20 X13 Overflow occurrence confirmation LED signal Y21 X14 Initial setting complete signal M10 X15 Current value storage DO to D1 X16 Latch count value storage D2 to D3 X17 ___ Sampling count value storage D4 to D5 X18 Periodic pulse count previous value storage D6 to D7 X19 Periodic pulse count present value storage D8 to D9 X1A __ Overflow status storage D10 X1B __ Interrupt enabled flag storage for the IMASK instruction D20 to D35 8 1 Program Example When GX Configurator CT is Used 8 1 1 Operating GX Configurator CT 1 Initial settings see Section 7 4 Set the values on the screen as shown below Pele r Module information Module type Counter Module Start 1 0 No 0000 Module model name QD62 Setting item Setting value Ja Preset value setting 2500 Coincidence output point set No 1 1000 Coincidence output point
87. lue e Coincidence output point set No 1 e Coincidence output point set No 2 e Counter function selection setting These initial settings eliminate the need to set sequence programs e Sampling periodic setting e Ring counter maximum value e Ring counter minimum value Startup procedure Start I O No Module type Module model name Initial setting x Enter the start I O No in hexadecimal Setting screen p Module information Module type Counter Module Module model name QD62 ex Start 1 0 No 0000 Setting item Setting value CH1 Initial setting CH1 Initial setting CH2 Initial setting CH2 Initial setting r Details Move to sub window Make text file End setup Cancel CH1 Initial setting r Module information Module type Counter Module Module model name GD62 CH2 Initial setting r Module information Module type Counter Module Module model name QD62 5 x 5 x Start 1 0 No 0000 Start 1 0 No 0000 Setting item Setting value Setting item Setting value Preset value setting 2500 Preset value setting 3000 Coincidence output point set No 1 0 Coincidence output point set No 1 2000 Coincidence output point set No 2 0 Coincidence output point set No 2 0 Counter function selection setting Disable count aa Counter function s
88. m System monitor of GX Developer Version 6 or later Refer to the GX Developer Operating Manual for details Setting screen r Module information Module type Counter Module iolx Start 1 0 No 0000 Module model name QD62 Setting tem CHT Down count command OFF OFF CH1 Count enable command Disable Disable CH2 Present value CH2 Overflow detection flag CH2 Down count command OFF CH2 Count enable command Disable XZY Monitor Test Preset function Coincidence output function Courter selection function Ring counter function Flash ROM setting Details Curent value Monitoring Wile to Save fh e Save file patdi Cannot execute test Make text file Stop monitor Selecting these buttons displays the following screens gt 1 X Y monitor Preset test screen EiaIx ziii r Module information r Module information Module type Counter Module Start 1 0 No 0000 Module type Counter Module Start 1 0 No 0000 Module model name D62 Module model name QD62 Setting item Current value Setting value Setting item Curent value Setting value a x00 Module ready ON CH1 Present value o X01 CH1 Counter value gt point No 1 OFF CH1 Preset value setting 0 0 X02 CH1 Counter valu
89. mand i 4 5 Pinetons ON E unction sta OFF D Pulse actually entered DAT 1 1 1 1 1 1 i a oa i i i i a oa i i i i _ S O oe cee ee ed i i i I I A ee i oa i i a Present value storage buffer memory iD xt i i see Lei i Addresses 2H to 3H 22H to 23H pd ees i ar ee A i The count value to be stored oa Pe i i in the present value storage o p i i buffer memory Stops Stops Stops count count count i 1 operation operation operation Stops count operation lt lt _ lt l Count operation starts when the count enable command Y04 YOC turns ON Count operation stops when the counter function selection start command Y06 YOE turns ON Count operation resumes when the counter function selection start command Y06 YOE turns OFF Count operation stops when the count function selection start command function start turns on Count operation resumes when the count function selection start command 5 EI o start command since the count enable command is OFF a since the counter function selection start command is ON function start turns off 7 8 9 Count operation resumes when the counter function selection start command turns OFF NVENIENT USAGE ae MELSEC Q 6 3 Using the Latch Counter Function The latch counter function latches the present counter value at the time a signal was entered The relationships between the present counter value for the latch counter fu
90. nal function start terminal of an external terminal preset function counter function selection can be executed 8 Easy settings using the utility package A utility package is sold separately GX Configurator CT The utility package is not a required item However it can be used to set initial settings and automatic refresh settings onscreen reduce sequence programs and check settings and operating status 9 A blown fuse in the external output section can be detected A blown fuse in the external output section can be detected it is notified by the input signal X and the LED display on the module 2 SYSTEM CONFIGURATION SYS CONFIGU ONS MELSEC O 2 SYSTEM CONFIGURATION This section describes the systems to which the QD62 E D can be applied 2 1 Applicable Systems This section explains the applicable system 2 1 Applicable modules and base units and No of modules a When mounting to CPU module The table below shows the CPU modules and base units applicable to the QD62 E D 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 Applicable CPU module ete CPU type CPU model Main base unit Extension base unit Basic model QCPU 3 QO02CPU QO2HCPU QO6HC
91. nction the counter function selection start command and the latch count value storage buffer memory are illustrated below Count enable command ON Y04 YOC OFF 150 100 50 Present value storage buffer memory Addresses 2h to 3x 22h to 23u Counter function selection startcommand ON Y06 YOE function start OFF 150 100 50 Latch count value storage buffer memory Addresses Cu to Dx 2Cx to 2Dx When the counter function selection start command Y06 YOE function start input rises at points indicated by 1 to 4 in the figure above the present counter value is stored in the latch count value storage buffer memory addresses CH to DH 2CH to 2Dn The latch counter function is executed regardless of whether the count enable command Y04 YOC turns ON OFF NVENIENT USAGE a MELSEC Q 6 4 Using the Sampling Counter Function The sampling counter function counts the pulses that are entered during the specified sampling time period The relationships between the signals buffer memory etc in the sampling counter function are illustrated below Sampling count value storage buffer memory Addresses En to Fu 2Enx to 2Fu 5 Count enable command ON Y04 YOC OFF 200 i i 1 i 100 i Present value storage buffer memory i i Addresses 2u to 3H 224 to 23x f i 0 f i f i i Counter function selection start command ON i l Y06 YOE function start OFF
92. ng GX Configurator CT oo ee cecceeeeeeeeeeeceeeeeeeseeeeeeeseeseeseeeseeeseeeseeeseeeseeeseeeseeeseeesenesaeseneeeaes 8 2 851 2 Program example snini hate chi diate alate Aine eid ae ete 8 4 8 2 Program Example when GX Configurator CT is not Used 0 ee eeceeeceeeeeeeeeeeeeeeeeereeeeeaeeeeesaeeeeeeaeeas 8 6 8 3 Example of a Program Using the Coincidence Detection Interrupt Function 20 0 eee eeeeeeeeteeeee 8 9 9 TROUBLESHOOTING 9 1to9 3 9 1 Eror Intonation se ae izs ca sone a a A a a cash easseanen tds aaa n a aaa a T aRar 9 1 9 2 When the QD62 E D Does Not Start Counting sirieni eeeeeeeeeaeeeaeeeaeeeaeeeaeeeaeeeaeeeaeeeaeeeaeeeaeeas 9 2 9 3 When the QD62 E D Does Not Normally Count cece ccceeceeeeeeeeeeeeeeeeeaeeeaeeeaeeeaeeeaeesaeeeaeeeaeeeaeeeateas 9 3 APPENDIX App 1 to App 2 Appendix 1 External Dimension Diagram cc ccccsceeeecceeeeeecceecneeceaeeeeaeeecaeeesaneescaeeteaeeesueeeeieeeeseetans App 1 Appendix 2 Difference Between A1SD62 A1SD62E and A1SD62D S1 cccceeeceeseeeeeeeeeeeeeeeeetes App 2 INDEX Index 1 to Index 2 Conformation to the EMC Directive and Low Voltage Instruction When incorporating the Mitsubishi programmable controller into other machinery or equipment and keeping compliance with the EMC and low voltage directives refer to Chapter 3 EMC and Low Voltage Directives of the User s Manual Hardware included with the CPU module or base unit used The CE logo is printe
93. ng value Enter or select values to be written into the buffer memory for test operation 2 Command buttons Current value displa Displays the current value of the item selected This is used to check the text that cannot be displayed in the current value field However in this utility package all items can be displayed in the display fields Make text file Creates a file containing the screen data in text file format Start monitor Stop monitor Selects whether or not to monitor current values Execute test Performs a test on the selected items To select more than one item select them while holding down the key Closes the screen that is currently open and returns to the previous screen The following explains an example to change settings for the selected test operation to the following e Counter function selection setting Sampling counter function e Counter function selection start command Y06 ON e Sampling periodic setting unit 10 ms 1000 ms 1 Set Sampling counter function in the setting value field for CHO Counter 2 function selection setting Set ON in the setting value field for CHO Counter function selection start command Y06 Click the setting value field for CHO Sampling periodic setting unit 10 ms After entering the sampling time press the key At this point nothing has been written to the QD62 E D Select the setting value fields that were specified in steps 1 to
94. nput pulse waveform meet the performance specifications pulse does not meet the performance specifications input the ifications pulse which meets the performance specifications Are the count value data treated in 32 bit binary in the Correct the sequence program so that the count value data can be sequence program treated in 32 bit binary Are the shielded twisted pair cables used for pulse f Ok S Use the shielded twisted pair cables for pulse input wiring input wiring Doesn t any noise come from the ground part of the Separate the ground cable of the QD62 E D from the ground part QD62 E D When the QD62 E D case touches to the ground part separate it Has the measures against noise been taken to the Take noise reduction measures e g attach a CR surge adjacent devices and inside the control panel suppressor to the magnet switch Bundle the pulse input lines and put them in a single tube and Is the distance between the high voltage equipment i keep a distance of 150 mm 5 91 inch or more with the power line and pulse input line kept enough even inside the control panel When the count values are different this is a hardware error Has the same count been input for both CH1 and Contact our branch office or distributor for consultation and give CH2 and are the count values the same details of the problem APPENDIX APPENDIX Appendix 1 External Dimension Diagram MELSEC Q
95. nsation for damages to products other than Mitsubishi products replacement by the user maintenance of on site equipment start up test run and other tasks 5 Changes in product specifications The specifications given in the catalogs manuals or technical documents are subject to change without prior notice 6 Product application 1 In using the Mitsubishi MELSEC programmable controller the usage conditions shall be that the application will not lead to a major accident even if any problem or fault should occur in the programmable controller device and that backup and fail safe functions are systematically provided outside of the device for any problem or fault 2 The Mitsubishi programmable controller has been designed and manufactured for applications in general industries etc Thus applications in which the public could be affected such as in nuclear power plants and other power plants operated by respective power companies and applications in which a special quality assurance system is required such as for Railway companies or Public service purposes shall be excluded from the programmable controller applications In addition applications in which human life or property that could be greatly affected such as in aircraft medical applications incineration and fuel devices manned transportation equipment for recreation and amusement and safety devices shall also be excluded from the programmable controller range of applications
96. o detection only Overflow seon umctonavaiabie f Feina available o on function function Maximum and minimum value settings for the ring Can be set Cannot be set counter function Function available Fuse broken detection Both broken fuses and external power Only broken fuses are detected LED display Function available off are detected Programs that were used in earlier products such as A1SD62 E D D S1 cannot be used because the I O signals and the buffer memory configuration of these products differ from those of QD62 E D The conventional dedicated instructions cannot be used App 2 App 2 INDEX A ABCONT sachin vin di ne eS 4 4 AGCONZ2 sie aiat aan whi a areas 4 4 AGCONS rnana innuni 4 4 AGCON4 a a a aes 4 4 Applicable CPU modules sceeeee 2 1 Autoiretreshiec arna aA 7 14 B Buffer memory assignments cceeeee 3 8 C Clamping torque ccscceeeeeeeeeeeeeeeeeeeeetens 4 1 Coincidence detection interrupt function 5 8 Coincidence output function 3 4 5 7 Common operatiOns cccccceeeeeeeeeeeeeees 7 6 GONNECOf st teieh ends i et hide lashed diced 4 4 Connector terminal block converter modules caine denier nes 4 12 COUNT CfrOF soo E T EN 6 3 Count methodi 5 3 Count LANGE eeeeeeceseeeeeeeeeeeeeeteeeteeteeeeeeneeenes 5 5 Counter function ccecccceceesteeeesseeeeessseeeeees 6 1 CW CCW pulse input
97. on 5V DC internal current consumption 0 30 A Weight 0 11 kg 1 The counting speed switch settings can be set using the intelligent function module switch x2 Counting speed is affected by pulse rise and fall time Possible counting speeds are shown in the following table Note that if a pulse that has a large rise and or fall time is counted a miscount may occur tesoons CC OT CC srs PECIFICATION eS oe MELSEC Q 2 QD62E DC input sourcing output type performance specifications Model name QD62E Counting speed switch settings 1 200 k 100 k to 200 kKPPS 100 k 10 k to 100 kKPPS 10 k 10 kPPS or less I O occupied points 16 points I O assignment Intelligent 16 points Number of channels 2 channels Count input Phase 1 phase input 2 phase input signal Signal level 4A B 5 12 24 V DC 2 to 5 mA Counting speed max 2 200 kPPS 100 kPPS 10 KPPS Counting range 32 bit signed binary values 2147483648 to 2147483647 Model UP DOWN Preset counter Ring counter function Counter Minimum count pulse width Duty ratio 50 Unit us Unit us Unit us Min phase differential for Min phase differential for Min phase differential for 2 phase input 1 25 u s 2 phase input 2 5 u s 2 phase input 25 u s Comparison range 32 bit signed binary values Coincidence Set value lt Count value output Comparison result Set value Count value Set value gt Count value External Preset 5
98. on selection an error occurs in the count when it is executed using an external input voltage applied to the function start input terminal or by a sequence program counter function selection start command ON The following explains how to calculate the count error 1 Count error maximum due to input response delay when using an external input 1 ms 1000 s X pulse input speed PPS X multiple count 2 Count error maximum when the counter function selection is executed by a sequence program 1 san ms s x pulse input speed PPS X multiple count 3 Count error maximum due to the internal clock when executing the sampling counter function and periodic pulse counter function Sampling cycle time setting value x 10 ms s x Error in parts dimensions 100 ppm 1000 1000000 x Pulse input speed pps x Multiplier factor count ___ Sampling cycle time setting value unit 10ms x Pulse input speed pps Multiplier factor count 1000000 NVENIENT USAGE ae MELSEC Q 6 2 Using the Disable Count Function The disable count function stops the count operation while the count enable command is ON The relationships between the count enable command counter function selection start command and the present counter value are illustrated below 1 6 8 Count enable command ON Y04 Y0C OFF 2 3 ON Y06 YOE OEE Count function selection start com
99. ons 7 3 1 How to perform common utility package operations 1 Control keys Special keys that can be used for operation of the utility package and their applications are shown in the table below Application Cancels the current entry in a cell Closes the window Moves between controls in the window Used in combination with the mouse operation to select multiple cells for test execution Deletes the character where the cursor is positioned When a cell is selected clears all of the setting contents in the cell Back ae Deletes the character where the cursor is positioned L ue Moves the cursor one page up ii Moves the cursor one page 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 1 shows respective data or files are handled in which operation lt Intelligent function module parameter gt 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 Parameters PLC Parameters Network Parameters Intelligent Module Parameters b Steps 1 to 3 shown in Figure 7 1 are performed as follows 1 From GX Developer select Project Open project Save Save as 2 From the module selection screen of the utility select Intellig
100. ontents Latch count Sampling value count previous count present value count value memory address 22H to 23H 2CH to 2DH 2Eu to 2FH 30H to 31H 32H to 33H The present values and counter function selection count values are stored as 32 bit signed binary values in the buffer memory Also since the contents of the buffer memory are automatically updated by the count operation the latest count values can be read from the buffer memory 1 When reading the present and counter function selection count values use the DFRO command and always read values in two word units When reading values in one word units if the count values are updated in the middle of read processing a mismatch may occur between the data contents of the lower and higher words possibly causing the system to read incorrect count values Program example X20 e Fro H00 Hoe bo k1 HH Example of an undesirable program X20 FROM HOO HOF D1 K1 FROM HOO HOE DO K1 2 Although the latch count value and present periodic pulse count value are stored in different addresses the same values are always stored updated at the same time Thus when the latch counter function or periodic pulse counter function is executed the present periodic pulse count value and latch count value do not retain their previous values 6 CONVENIENT USAGE MELSEC Q 6 1 2 Count error With the counter functi
101. ries intelligent function module each module can have up to 16 points of interruption factors Sl The QD62 E D has 4 points of interrupt factors corresponding to the coincidence outputs shown below Interruption factor o O Channel 1 Coincidence detection for coincidence output point No 1 Channel 1 Coincidence detection for coincidence output point No 2 Channel 2 Coincidence detection for coincidence output point No 1 Channel 2 Coincidence detection for coincidence output point No 2 4 to 15 Vacant Timing of interrupt signal generation Counter value coincidence X02 X06 X09 X0D Coincidence signal reset command Y00 Y07 Y08 YOF I O signal Interrupt request Internal processing Clear interrupt request Interrupt program Program controller CPU program processing ates processing b Select PLC parameter PLC system Intelligent function module setting Interrupt pointer settings to set the interrupt factors SI of the QD62 E D and interrupt pointers of the PLC CPU 1 CPU side Interrupt pointer start No Set the start interrupt pointer number of the programmable controller CPU Setting range 50 to 255 2 PLC side Interrupt pointer No of module Set the number of interrupt factors Sl Setting range 1 to 4 5 BASIC USAGE MELSEC Q 3 Intelli module side Start I O No Set the start I O number of the QD62 E D Setting range 0000 to OFFO H 4 Intel
102. s value buffer memory address 10H to 11H 30H to 31H and a present value buffer memory address 12H to 13H 32H to 33H of the periodic pulse count read 4 contiguous words using the DFRO or BMOV instruction Program example Read command r i _ DFRO Hoo H10 De K2 Read command BMOV uo Gie D6 K4 Depending on the relation between the update timings of the previous and present periodic pulse count values inside the module and the read timing in the sequence program the previous value may be the same as the present value If this has occurred execute the reading again See Section 8 2 7 UTILITY PACKAGE GX Configurator CT 7 UTILITY PACKAGE GX Configurator CT 7 1 Functions of the Utility Package Table 7 1 lists the functions of the utility package Table 7 1 Utility package GX Configurator CT function list MELSEC Q Performs initial settings for each channel to operate the QD62 E D Sets values for the following items that require initial setting CHO Preset value setting CHO Coincidence output point set No 1 CHO Coincidence output point set No 2 CHO Counter function selection setting Initial setting CHO Sampling periodic setting unit 10 ms e CHO Ring counter maximum value e CHO Ring counter minimum value The data for which initial setting has been completed is registered in the programmable controller CPU parameters and automatically written to th
103. se multiple of 2 Count at A rise Tt when B is ON For sUbtraction count Count at A fall when B is OFF Count at A rise 1 when B is OFF Count at A fall when B is ON Count at B rise Tt when dA is ON Count at B fall when Ais OFF Count at A rise 1 when B is ON Count at A fall when B is OFF Count at B rise Tt when gA is OFF Count at B fall when gA is ON For addition count 2 phase multiple of 4 For subtraction count BASI AGE lacie MELSEC Q In the case of addition in 1 phase pulse input make sure that phase B pulse input and the subtraction count command Y03 YOB are OFF before performing pulse input of phase A If either of phase B pulse input or the subtraction count command Y03 YOB is ON subtraction count is performed in pulse input of phase A 1 Phase 1 pulse input For phase 1 pulse input either a multiple of 1 or multiple of 2 count method can be selected The relationship between the phase A pulse input and the down count command is shown below QD62 E D Encoder Pulse input n Down count command Or when Y03 YOB turns ON 2 CW CCW pulse input For CW CCW pulse input the up count is performed when there is a phase A pulse input and the down count is performed when there is a phase B pulse input The relationship between the phase A pulse input and phase B pulse input is shown below
104. set No 2 0 Counter function selection setting Disable count x Sampling periodic setting unit 10ms 1000 Ring counter minimum value 5000 Ring counter maximum value s007 r Details Decimal input Setting range 2147483648 2147483647 Make text file End setup Coincidence output pointsetNo 2 Thisisnotusea oo o E Set the counter function to be used Set according to the Counter function selection setting we i When a counter function is not used sets any function function used Sampling periodic setting Set 1000 when the sampling counter function is used 1000 Unit 10 ms Set 500 when the periodic pulse counter function is used Ring counter minimum value Set only when the ring counter function is used 5000 Ring counter maximum value Set only when the ring counter function is used 5000 PR RAMMIN mS MELSEC Q 2 Auto refresh settings see Section 7 5 Set the values as shown in the screen below Use channel 1 Auto refresh setting iol xi Module type Counter Module Start 1 0 No 0000 Module model name QD62 m Module information l Module side Module side Buffer size Transfer word count PLC side Transfer er Setting item direction CH1 Present value CH1 Latch count value CH1 Sampling count value CH1 Periodic PLS count previous value CH1 Periodic PLS count present value CH1 Sampling periodic counter flag CH1 O
105. stive load B925B01 es Input voltage 10 2 to 30 V circuit A02 A01 Current consumption 8 mA TYP 24 V DC x1 Terminal numbers A03 A04 B03 and B04 are not used PECIFICATION eS A ae MELSEC Q 3 QD62D Differential input sinking output type Terminal us Internal circuit number 1 classification CH Input voltage Operating current Signal name Operation guaranteed value guaranteed value 2 a o N bA 5V DC DC converter A14 Phase A pulse input Line driver level Am26LS31 manufactured by Texas Instruments or equivalent that conforms to RS 422 A in EIA Standard EIA standard RS 422 A line driver level Equivalent to Am26LS31 made by Japan Texas Instruments Inc Vhys Hysteresis VT VT 60 mV ViH H level enable input voltage 2 V or higher Vil L level enable input voltage 0 8 V or lower x A current type line driver cannot be used receiver B14 Phase A pulse input DC DC converter A13 Phase B pulse input receiver B13 Phase B pulse input 40kQ When ON 21 6 to 26 4 V 2to5mA 1 3W A18 A12 Preset input 24 V When OFF 0 1 mA or less When ON 10 8 to 13 2 V 2to5mA ee Preset input 12 V Ho z When OFF 0 1 mA or less 1 10W When ON 2 5 to 5 5 V 2to5mA Preset input 5 V PN When OFF 0 1 mA or less Response OFF gt ON ON OFF time 0 5 ms or less 1 ms or less When ON 21 6 to 26 4 V 2to5mA A16 Function start input 24 V When OFF 0 1 mA or less
106. t pull the cable When removing the cable with a connector hold the connector on the side that is connected to the modules Pulling the cable that is still connected to the module may cause malfunction or damage to the module or cable e Always ground the shielded cable on the encoder side relay box Otherwise malfunction may occur e When wiring be sure to verify the rated voltage of the product as well as the terminal layout Fire or failure may result if incorrect voltage is input or incorrect wiring is performed e Connecting terminals with incorrect voltage may result in malfunction or mechanical failure STARTUP MAINTENANCE PRECAUTIONS A CAUTION e Do not disassemble or modify the module Doing so could cause failure malfunction injury or fire e 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 cause failure or malfunction of the module e Do not mount remove the module onto from the base unit more than 50 times IEC61131 2 compliant after the first use of the product Failure to do so may cause the module to malfunction e Do not touch the connector while the power is on Doing so may cause malfunction e Be sure to shut off all phases of the external power supply before cleaning or retightening the terminal screws or module fixing screws Not doing so may cause failure or malfunction of the module If the screws are loos
107. t when the periodic pulse counter function is executed e The range of the values to be read is from 2147483648 to 2147483647 32 bit signed binary values 12 Ring counter minimum and maximum value Buffer memory addresses CH1 14H to 17H CH2 34H to 37h e This area is used to set the count range when the counter format is ring counter e The setting range is from 2147483648 to 2147483647 32 bit signed binary values PECIFICATION eee alee MELSEC Q 3 5 Interface with External Devices The table below lists the external device interface for the QD62 E D 1 QD62 DC input sinking output type ue Internal circuit number 1 Signal name Operation Input voltage Operating current CH1 CH2 classification guaranteed value guaranteed value mmo neony resm When ON 2to5mA A12 Phase A pulse input 5 V When OFF 0 1 mA or less When ON 21 6 to 26 4 V 2 to 5mA A18 A11 Phase B pulse input 24 V T When OFF 0 1 mA or less When ON 10 8 to 13 2 V 2 to 5mA B18 B11 Phase B pulse input 12 V When OFF 0 1 mA or less Phase B pulse input 5 V A13 Phase A pulse input 24 V B20 B13 Phase A pulse input 12 V When ON 4 5to5 5V 2to5mA When OFF 0 1 mA or less When ON 21 6 to 26 4 V 2to5mA Input B17 B10 Preset input 24 V When OFF 0 1 mA or less When ON 10 8 to 13 2 V 2 to 5mA A09 Preset input 12 V When OFF 0 1 mA or less When ON 4 5t05 5V 2 to 5mA B09 Preset input 5 V
108. ter function 06 3 4 6 6 Setup and procedure before starting the operation a a una tes teens a aa 4 1 E AA O ata ieee Rie he 5 8 Specifications ccceecceeeeeeeeeeeeeeeeeeeeeeeeeeees 3 1 Starting the utility eect eene 7 10 Statu D ee are etcetera ete 7 12 Supported software packages 0 0 2 3 Switch setting for the intelligent function module a a E a 4 14 SWIICH alenada aina a esaa 4 14 System configurations eeeeeeeeeeeeeeeeeees 2 1 T Text files nannonnaenneennaenn eeen eennennernnnennsrnner nnee 7 7 The details of the I O signals eee 3 6 TrOUDICSNOOTING ce eeeeeeeeeeeeteeeeeetteeeeeeeees 9 1 U Utility package function list eee 7 1 w Wiring PreCautions ceeeeeeeeeeeeeeeteeenreees 4 5 WARING en e de eedeetacets 4 5 Index 2 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 the sales representative or Mitsubishi Service Company However if repairs are required onsite at domestic or overseas location expenses to send an engineer will be solely at the customer s discretion Mitsubishi shall not be held responsible for any re commissioning mainten
109. ternal preset request detection reset command Y05 YOD and turning OFF the external preset request detection flag 6 CONVENIENT USAGE MELSEC Q 6 CONVENIENT USAGE 6 1 Selecting the Counter Function By selecting the counter function with the counter function selection setting the disable count function latch counter function sampling counter function and periodic pulse counter function can be used The counter function selection can be executed by writing the data shown in the table below into the counter function selection setting buffer memory address 9H 29H and by using the counter function selection start command voltage applied to the function start input terminal or turning YO6 YOE ON using the sequence program Also for the counter function selection only one of the following four functions can be used Disable count function i value defaut Latch counterfunction st o O Sampling counterfunetion 2 Y Ee Periodic pulse counter function 3 O 1 Disable count function This function stops the count while the counter function selection start command is being entered when the count enable command Y04 YOC is ON 2 Latch counter function This function latches the present value at the time the counter function selection start command was entered to the latch count value addresses CH to DH 2CH to 2D 3 Sampling counter function This function counts the input pulses during th
110. the encoder may cause a Relay box yoltage drop problem Using a tester or other measuring device confirm that the voltage at the terminal block of the relay box doesn t exceed the rated voltage when the encoder is in operation or at standstill If a substantial voltage drop occurs increase the wire size or use a 24 V DC encoder with minimal current consumption Encoder Grounding the shielded twisted pair cable is performed on the encoder side relay box This example shows connection with 24 V sink load To A To B To QD62 E D The shielded wire for the encoder and shielded twisted pair cable are connected inside the relay box If the shielded wire for the encoder is not grounded inside the encoder ground it in the relay box as indicated by the dotted line 4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION MELSEC Q 4 4 2 Wiring example of a module and an encoder 1 Wiring example with an open collector output type encoder 24 V DC QD62 QD62E Encoder 24V A20 A13 B20 B13 y A19 A12 COM AB B19 B12 Shielded twisted pair cable A17 A10 Q 1 3 g 7 24 V External 24V DC O power supply OV O E The number inside the indicates the terminal number for channel 2 When wiring the QD62 QD62E and the encoder separate the power supply cable an
111. the malfunction of the external output transistor there may be cases where the output is ON or OFF status Install external monitoring circuitry for output signals that may lead to major accidents A CAUTION e Do not bunch the control wires or communication cables with the main circuit or power wires or install them close to each other They should be installed 150 mm 5 9 inch or more from each other Not doing so could result in noise that may cause malfunction INSTALLATION PRECAUTIONS A CAUTION e Use the programmable controller in an environment that meets the general specifications contained in the CPU User s Manual Using this programmable controller in an environment outside the range of the general specifications may cause electric shock fire malfunction and damage to or deterioration of the product e While pressing the installation lever located at the bottom of module insert the module fixing tab into the fixing hole in the base unit until it stops Then securely mount the module with the fixing hole as a supporting point Improper installation may result in malfunction breakdown or the module coming loose and dropping Securely fix the module with screws if it is subject to vibration during use e Tighten the screws within the range of specified torque If the screws are loose it may cause the module to fallout short circuits or malfunction If the screws are tightened too much it may cause damage to the s
112. verflow detection flag CH2 Present value CH2 Latch count value Make text file End setup Cancel Setting item Setting CH1 Present value Set the device for storing the present value Do O CH1 Latch count value Set the device for storing the latch count value Set the device for storing the sampling count value when the CH1 Sampling count value ane ts D4 sampling counter function is used es Set the device for storing the previous periodic pulse count CH1 Periodic PLS counter previous value a n value when the periodic pulse counter function is used Set the device for storing the present periodic pulse count CH1 Periodic PLS counter present value value when the eee pulse counter function is used CH1 CH1 Sampling periodic counter flag counter flag This is not This is not used ssid Set the device for storing the overflow detection result when CH1 Overflow detection flag E D10 the linear counter function is used 3 Writing the intelligent module parameters see Section 7 3 3 Write the intelligent module parameters to the programmable controller CPU This operation is performed using the intelligent module parameter setting module selection screen PR RAMMIN ae S MELSEC Q 8 1 2 Program example lt Start count operation gt xo x10 KK Ri A Y4 lt Stop count operation gt x0 x14 kK v4 lt Setting for externally outputting gt lt Set and reset the Y0 x0 x12 KH DEL

Download Pdf Manuals

image

Related Search

Related Contents

ZipKord POWERDC2A2 mobile device charger    Sable polymere  取扱説明書 安全上のご注意  Terminator I/O DirectLogic Remote I/0 Base Controller User Manual  Samsung Monitor UHD da 28" U28E590D User Manual  10000127397_VER_00_ES, Instalación e instrucciones de  EP55  Bedienungsanleitungen  

Copyright © All rights reserved.
Failed to retrieve file