Home

High-Speed Counter Module User's Manual

image

Contents

1. QD62 QD62E Controller m 2 5 Twisted shield wire Preset ouT ap L 12V NVE Shield uoe lt a Function Twisted shield wire start v lt Z OUT Ah a L 412V VYA Shield lgt E OD le tT l H 12 VDC QD62D Controller Twisted shield wire A L OUT Preset X X wy Function start SON a WY Shield H 12 VDC 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 i __ Controller i Preset e Twisted shield wire 2 put re Eeee v z5 ee A Shield be lt Function o start aA Twisted shield wire jul WY A E Z Po GND p J 2 Shield Poe YZ j 5VDC QD62D Contrller 24V 7 7 j 7 7 E A18 A12 12V Preset peer pile 5V Twisted shield wire wy z aN X X PRSTCOM B17 B11 Shield Function ie Start Z Twisted shield wire Q WZ x A iE 7 SRE E a GND FUNCCOM J 1 B15 B09 Shield LE Y hate a 5VDC The number inside the indicates th e terminal number for channel 2 4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION MELSEC Q 3 When the controller is a line driver QD62D Controller as
2. Lit Voltage is being applied to the Phase A pulse input terminal h 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 Ideri le f h Soldering type ISaop or 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 pulse generator 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 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 mec
3. 3 SPECIFICATIONS MELSEC Q 3 QD62D Differential input sinking output type VO ane number 1 Input voltage Operating current classification internal circuit Signal name Operation guaranteed value guaranteed value Phase A pulse input Line driver level Am26LS31 manufactured by Texas Instruments or equivalent that conforms to RS 422 A in Phase A pulse input 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 pcioc converter wy HO A19 A13 Phase B pulse input Vi H level enable input voltage 2 V or higher ee ae ews KQ Vi L level enable input voltage 0 8 V or lower al 5 A current type line driver cannot be used 1 109 et be Line il ES Q receiver 47k xno ato B13 Phase B pulse input V 1 16W 10k 13W When ON 21 6 to 26 4 V 2to5mA A18 A12 Preset input 24 V Input When OFF 5 V or less 0 1 mA or less 5 6kKQ 1710W When ON 10 8 to 13 2 V 2 to 5mA 1kQ B18 B12 Preset input 12 V 1 10W When OFF 0 1 mA or less ay When ON 2 5t05 5V 2to5mA 4 A17 A11 Preset input 5 V when OFF OFF 1Vor tvorless e otmAoriess 1 mA or less B17 B11 PRSTCOM Response OFF gt ON ON gt OFF EA EnB 5 ms or less 1 ms or less when On 21 z6wzs4v 2to5mA C A10 Function start input 24 V When OFF 0 1 mA or less 5 6k 10W paui B16 B10 Function start inpu
4. Counter function selection count value Awe Present Periodic pulse Periodic pulse Description Latch count Sampling count p p value count previous count present value value value value 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 Ln DFRO Hoo Ho2 Do Ki H Example of an undesirable program X20 FROM H00 H03 D1 Ki FROM H0O H02 DO 5 BASIC USAGE MELSEC Q 5 2 Selecting the Counter Format Select either linear counter or ring counter with the GX Developer intelligent function module 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 op
5. MELSEC Q 8 PROGRAMMING Using a sample system configuration shown below this chapter explains details of the QD62 E D programs in the following two scenarios when GX Configurator CT is used and when 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 problems will occur in the system control System configuration used in the program explanation 1 System configuration QD62 QX10 QY10 2 gt 3 e E gt a 2 gt n ite o z e ao X Y0 to X YF X10 to X1F Y20 to Y2F 2 Program conditions This program uses QD62 to perform counting with the conditions listed below Set the pulse input mode counting speed setting and ring linear counter selection with the GX Developer intelligent function module switch e Pulse input mode 2 phase multiple of 1 e Counting speed setting 200kPPS e Applicable channel Channel 1 a Contents of initial setting Setting value 2500 5000 5000 Sampling time setting 2 10000 ms Periodic pulse time setting 3 5000 ms x1 Set only when a ring counter is used x2 Set only when the sampling counter function is used amp 3 Set only when the periodic pulse 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
6. Make text file See Section 7 5 End setup Cancel 7 UTILITY PACKAGE GX Configurator CT Online Monitor test Select monitor test module screen Select monitor test module x Select monitor test module Start 1 0 No Package name Joooo Counter Module Module model name Janez bai Module implementation status Start 1 0 No Module model name Monitor test Exit Monitor test Enter Start I O No then select Package name and Module model name Monitor test screen Monitor Test oT x r Module information Module model name QD62 Start 1 0 No 0000 Module type Counter Module Setting item Current value Setting value r CH1 Present value oj CH1 Overflow detection flag No detection CH1 Down count command OFF OFF CH1 Count enable command Disable Disable a CH2 Present value ol CH2 Overflow detection flag No detection CH2 Down count command OFF OFF CH2 Count enable command Disable Disable XZY monitor test X Y monitar test Preset function Preset Coincidence output function Coincidence output Ba Flash ROM setting Details Current value Monitoring display Cannot execute test Make text file Start monitor Stop monitor Execute test Close See Section 7 6 MELSEC Q 7 UTILITY PACKAGE GX Configurator CT MELSEC Q 7 3 3 Starting the intelligent function utility
7. Intelligent function module installation object For example if multiple intelligent function modules are installed in a remote I O station set the GX Configurator so that the number of parameter settings of all the intelligent function modules does not exceed the maximum number of parameter settings The total number of parameter settings is calculated separately for the initial setting and for the automatic refresh setting The number of parameter settings that can be set for one module in the GX Configurator CT is as shown below Object Module Initial setting Automatic refresh setting QD62 QD62E QD62D 8 Fixed 14 Maximum number of settings Example Counting the number of parameter settings in the automatic refresh setting Module model name QD62 Module type Counter Module Start 170 No 0000 Setting item CH1 Present value CH1 Latch count value Module side Module side Buffer size Transfer word count PLC side Device CH1 Sampling count value CH1 Periodic PLS count previous value CH1 Periodic PLS count present value The number of settings in this one line is counted as one setting CH1 Overflow detection flag The number of settings is not counted by columns CH2 Present value Add up all the setting items in this setting screen CH2 Latch count value then add them to the total for the other in
8. Interrupt pointer Start No No of module Start 1 0 No Start SI No 50 4 ttttttTTITIIII 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 Q Q Mode QnA Programming Manual for details on the IMASK command A coincidence detection interrupt occurs when the counter value coincidence signal rises OFF ON Thus the next interrupt request does not occur unless the coincidence signal is reset and the counter value coincidence signal is turned OFF 5 BASIC USAGE 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 co
9. The present counter value of 20 is stored in the present value buffer memory 3 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 5 The value 100 that has been stored in the present value buffer memory will be stored in the previous value buffer memory The 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 address BH 2Bu while the periodic pulse counter function is being executed When reading a previous 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 Fro Hoo mo pe Ke H Read command BMOV U0 G16 D 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
10. E D can be verified Also count start stop preset and counter function can be selected 1 OVERVIEW 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 phase 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
11. Purpose of operation Start the utility from GX Developer and display the intelligent module parameter setting module selection screen The initial setting auto refresh and select monitor test module selecting the module for which monitoring testing is to be performed screens can be started from this screen Startup procedure Tools Intelligent function utility Start Setting screen Intelligent function Module utility C My Documents Of x File Online Tools Help r Intelligent function module parameter setting module ae Start 170 No Package name poco Counter Module 7 Module model name QD62 7 Intelligent function module parameter setting module a 0 Module model name Initial setting Auto refresh Available Available Initial setting Auto refresh Delete Exit Explanation of items 1 How to start each screen a Starting the initial setting Start O No Package name Module model name Initial setting b Starting the auto refresh setting Start I O No Package name Module model name Auto refresh c Select monitor test module screen Online Monitor test x Enter the start I O No in hexadecimal 2 Explanation of the screen command buttons Deletes the initial settings and auto refresh setting for the selected module Ends the intelligent module parameter setting module select
12. QD62 E 24 V The current flows Phase ABCOM through the twisted A L pair cables in the same direction so there is no cancelling effect This makes it External 24 y pc more prone to electrom power v agnetic induction supply 4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION MELSEC Q 2 Wiring example with a voltage output type pulse generator 5 V DC QD62 QD62E Phase B Twisted shield wire Pulse generator Shield Twisted shield wire Xx Xx Shield External 5V DC power supply ve 2 oy The number inside the indicates the terminal number for channel 2 3 Wiring example with a driver equivalent to Am26LS31 pulse generator Twisted shield wire Pulse generator Shield V sy B Twisted shield wire ae A19 A13 Phase B l iB J ale lt b B19 B13 eae Shield External vec 74 A ee power supply ovo D y The number inside the indicates the terminal number for channel 2 4 7 4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION 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
13. Unit 10 ms Set 500 when the periodic pulse counter function is used Ring counter maximum value 8 PROGRAMMING 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 Mm E p Module information Module model name QD62 Start 1 0 No 0000 Module type Counter Modulle Module side Module side Transfer PLC side Setting item Buffer size Transfer p Device word count ae CH1 Present value gt DO D2 D4 D8 DG CH1 Latch count value CHT Sampling count value CH1 Periodic PLS count previous value CH1 Periodic PLS count present value CHT Sampling periodic counter flag CH1 Overflow detection flag D10 CH2 Present value n n n n ol o n n n w n o o CH2 Latch count value Make text file End setup Cancel CH1 Present value Set the device for storing the present value bo 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 sampling counter function is used CH1 Periodic PLS counter previous Set the device for storing the previous periodic pulse count value 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 Ea errr
14. increase the wire size or use a 24 V DC encoder with minimal current consumption e Grounding the twisted pair shielded wire is performed on the encoder side relay box This example shows connection with 24 V sink load Encoder To the encoder TN The shielded wire for the encoder and twisted pair shielded wire are ae connected inside the relay box E 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 Current for the encoder To 6 A To B To QD62 E D 4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION MELSEC Q 4 4 2 Wiring example of a module and a pulse generator 1 Wiring example with an open collector output type pulse generator 24 V DC QD62 QD62E Twisted shield wir i Pulse generator 4V OUT A20 A13 lt X 7 Phase A 24 V Shield 5 WY ABCOM Twisted shield wire Shield External 24VDC D A 24 V power supply oyo or The number inside the indicates the terminal number for channel 2 When wiring the QD62 QD62E and the encoder separate the power supply cable and signal cable The following diagram shows an example Wiring example QD62 E 24 V Phase ABCOM Incorrect wiring example
15. 3 SPECIFICATIONS MELSEC Q 3 QD62D differential input sinking output type performance specifications Model name QD62D 500 k 200 k 100 k 10k Counting speed switch settings 1 200 k to 500 KPPS 100 k to 200 kPPS 10 k to 100 kPPS 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 Count input EIA Standard RS 422 A Signal level A B ar Differential line driver level Am26LS31 manufactured by Texas Instruments or equivalent Counting speed max 2 500 kPPS 200 kPPS 100 kKPPS 10 KPPS 32 bit signed binary values 2147483648 to 2147483647 UP DOWN Preset counter Ring counter function Minimum count pulse width u s Duty ratio 50 Min phase differential for Min phase differential for Min phase differential for 2 phase input 0 5 us 2 phase input 1 25 us 2 phase input 2 5 u s Set value lt Count value Comparison result Set value Count value Set value gt Count value 5 12 24V DC 2to5mA Function start start EIA Standard RS 422 A Differential Line Driver may be connected External Transistor sinking type output 2 points channel Coincidence output output 12 24V DC 0 5A 1 point 2 A 1 common 5 V DC internal current consumption A 0 38 Weight kg 1 The counting speed switching can be set using the intelligent function module switch x2 Counting speed is affec
16. AEE EE edeesec des oedsin 1 2 Function Coincidence output function 3 4 5 7 Counter function 0 0 0 0 ceeeeeteeseeneeeteeeteeeseeees 6 1 Disable count function 20ceeeee 3 4 6 4 Index 1 Latch counter function ceee 3 4 6 5 Linear counter function ccceeeeseeeeeenees 3 4 LIST saz acecacsaacuanicascs atsaaaaaaseaseeataaieadneaaacie 3 4 7 1 Periodic pulse counter function 3 4 6 7 Preset function ceceesseeesseeeeeeees 3 4 5 10 Sampling counter function 000 3 4 6 6 Ring counter function eee 3 4 H Handling precautions eeeeeeeeeeneeeneeeeeeee 4 1 1 VO Signals liS tiiat 3 6 Initial settings eee eee eee eeteeneeeeeeeeeaeeeaeeees 7 11 Installing and uninstalling eeeeeeeeeeeees 7 2 Interface with external devices 00 3 11 We TAGE cae EE A et eat 3 11 Ui C Ya 00 o s aaa crrrerererre errr eree cre err 5 8 L Latch counter function cceeeeees 3 4 6 5 ED eo ice iS Prettiest eee at tse Sea 4 3 Linear counter function ccceeceeseeees 3 4 5 4 M Menu bai niiina aee 7 10 Monitor test 212 sisifisscict E 7 15 Mounting Solasa 2 1 N NOISE 32 fsv ee ei ees eee ee ia 4 5 Number of counter modules that can DE MOUNTED cecceceeesseeeeessseeeeeseeeeesseeeesaes 2 1 O Operating environment ccccsecseseeseeeteeees 7 4 Operation OVErViICW ccceccc
17. Module model name QD62 Start 170 No 0000 Module side Module side Toni PLC side a Buffer size Transfer ach e Device word count etl bo D2 Module type Counter Module Setting item 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 Overflow detection flag n n n n N N gt gt gt gt gt gt gt CH2 Present value gt gt CH2 Latch count value Make text file End setup Cancel 7 UTILITY PACKAGE GX Configurator CT MELSEC Q Explanation of items 1 Contents of the screen display Module side buffer Displays the size of the setting item buffer memory size Module side transfer Displays the number of words to transfer word count Transfer direction lt indicates that data at the PLC CPU side is written to the buffer memory gt indicates that data is read from the buffer memory to the PLC CPU side PLC side device Enter the device at the CPU module to be automatically refreshed The devices that can be used include 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 Also buffer memory data is stored in 16 point portions starting wi
18. 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 WIRING PRECAUTIONS A CAUTION 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 IEC61 131 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 loose
19. 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 x PLC side Intelli module side Interrupt pointer Interrupt pointer Start No No of module ELEELE EEEEEE E 2 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 9 TROUBLESHOOTING 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 Corrective action Overflow error 1 Module status display on the GX Developer system Preset to clear the overflow error 1 When the linear counter monitor screen 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 2 Overflow detection flag 2 When the linear counter The following value is st
20. a twisted pair shielded cable for the pulse input wiring cable Separate the QD62 E D s ground cable Is noise entering from the QD62 E D s grounding section If the QD62 E D case is contacting the grounding section detach it Have noise preventive measures been taken inside the panel Take noise preventative measures such as attaching a CR and for adjacent equipment surge suppressor to a magnet switch Wire the pulse input line independently inside the panel Is there sufficient clearance between high voltage equipment and pulse Inputlines separate the pulse input line from the power line by at least 150 mm 5 9 in When the count values are different this is a hardware error Has the same count been input for both CH1 and CH2 and arete countya sihe same Contact our branch office or distributor for consultation and give details of the problem APPENDIX APPENDIX Appendix 1 External Dimension Diagram QD62 QD62E QD62D a i p 90 45 3 54 1 77 DEC frunc O O Fuse CH1 CH2 J o ol QD62 27 4 1 08 Unit mm in MELSEC Q A value in parentheses shows the reference measurement when the A6CON1 is installed App 1 App 1 App APPENDIX MELSEC Q Appendix 2 Difference Between A1SD62 A1SD62E and A1SD62D S1 Th
21. entry of set data and ends the operation Cancels the set data 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 gt 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 Purpose of operation 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 These auto refresh settings eliminate the need for reading by a sequence program Startup procedure Start I O No Package name Module model name Auto refresh Enter the start I O No in hexadecimal Setting screen Auto refresh setting _ Oy x r Module information
22. 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 No 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 QD62 E D are shown below External wiring connector 40 pin connector ba ahe Connector terminal number A20 Connector terminal number M aot
23. 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 Correction About the Generic Terms and Abbreviation Section 2 1 Section 7 2 1 7 2 2 Feb 2003 SH NA 080036 E Correction SAF
24. latch counter function is executed regardless of whether the count enable command Y04 YOC turns ON OFF 6 CONVENIENT USAGE 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 Count enable command ON Y04 YOC OFF Sampling count value storage buffer memory Addresses En to Fu 2Ex to 2Fu 200 100 i r i i i 1 Present value storage buffer memory i i i i Addresses 24 to 3 224 to 23n i 0 a fe oe a 4 Pa i Counter function selection start command ON Y06 YOE function start OFF i i i i i i Tu ae oe T a e a gt i i 200 i 1 100 Rjg ee 100 Sampling periodic counter flag storage buffer memory Addresses Bu to 2B fe all selection start command Y06 YOE function start input 2 When the When the specified sampling time period elapses the count stops sampling time period elapses the count stops While the sampling counter function is being executed 1 is stored in the sampling periodic counter flag Even if the execution of the sampling counter function ends the value in the sampling count value storage buffer memory is saved The sampling counter function is executed regardless of whether the coun
25. of Utility Package Operations cccceeccecceceeeeeceeeeeeeaeeaeeeeeeeeeaesaeceeseaeeaesaeseeseaeeeseeseateaees 7 5 7 3 1 How to perform common utility package Operations eceeceeceeeeeeeeteeeeeeeseeeseeteeeteeeeeeeteeeteeeteaes 7 5 Toe Operation OV EVO aa Na elas Maree tatu ni a aa ning nage aaa A a A A nad del Mega gees 7 7 7 3 3 Starting the intelligent function Utility 22 cece cece cee eeeeeeeeeceeeeeeeaeceeeeeeeaeeaesaeseaesaesaeseeseaeeeesaeseeseaeeaes 7 9 FA nta SeS ais a che hack a a de she ed cho a Shasta le Saget ede a betcha a aa 7 11 7 0 Auto Refresh isch ot ite tenth at dn een lat enti den ne Ai eh ae 7 13 TO MONON TESE sci saves sek Siete a teeta batheasrt ied a E bahea ni ictus RIA AF aA seis ei seta eee 7 15 7 6 Monitor Test ications ans es hes ie Lae er eee er eee ee ie Per eee ee 7 15 8 PROGRAMMING 8 1to8 9 8 1 Program Example When GX Configurator CT is Used cccceceeceeseeeeceeeeeeeeeeeeeeeeeeesaesaeseeeaetaeseeeeaeeaees 8 2 8 1 1 Operating GX Configurator CT ou ceccececeececceceeeeeeceeeeeeeecaeceeeaeeaecaesaeseaeeaecaesaseaeeaeseeeeaeeaesanseeseaseaes 8 2 8 1 2 Programm example n m ea a a a a i a ea a a a AT A A 8 4 8 2 Program Example when GX Configurator CT is not USC c ceccesceeeecceeeeeeeeeeeeeeeeaeeeseaeeaesaeseeseaeeaees 8 6 8 3 Example of a Program Using the Coincidence Detection Interrupt FUNCTION eeeeeeeeeeeeeeeees 8 9 9 TROUBLESHOOTING 9 1to9 2 9 1 Erro
26. pulse input 5 V Phase A pulse input 12 V Phase B pulse input 12 V When OFF 0 1 mA or less put Wy WhenON 21 6 to 26 4 V 2to5mA c B10 Preset input 24 V When OFF 0 1 mA or less 5 6k 1 10W n A16 A09 Presetinput 12 V When ON 4 5 to 5 5 V 2 to 5 mA when On 21 z6twzs4v 2tosma When ON 10 8 to 13 2 V 2 to 5 mA When OFF 0 1 mA or less B09 Preset input 5 V when OFF OFF 2Vor avoriess e otmAoriess 1 mA or less ais Bos ICTRLCOM Response OFF gt ON ON OFF i TUN E A 5 ms or less 1 E s or less B15 B08 Function start input 24 V When OFF 5 V or less 0 1 mA or less When ON 10 8 to 13 2 V 2to5mA When OFF 0 1 mA or less When ON 4 5to5 5V 2to5mA A14 A07 Function start input 12 V B14 B07 Function start input 5 V when OFF OFF 2Vor avoriess otmAoriess 1 mA or less Response OFF gt ON ON gt OFF time 0 5 ms or less 1 ms or less EQUI Operating voltage 10 2 to 30 V A06 A05 Maximum load current 0 1 A point 0 4 A 1 common Coincidence output point No 1 Maximum voltage drop when ON 1 5 V Response time OFF gt ON 0 3 ms or less ON gt OFF 0 3 ms or less rated load resistive load A To the tuse E B02 B01 12 24 V Input voltage 10 2 to 30 V broken detection Ape AO Current consumption 8 mA TYP 24 V DC circuit 2 1 Terminal numbers A03 A04 B03 and B04 are not used EQU2 Output Coincidence output point No 2
27. switch 2 0123H The counting speed setting of 500kKPPS 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 4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION MELSEC Q 2 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 PLC CPU stop error occurs e Clear Tuns 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 H W error time PLC operating mode Sets to either stop or continue the PLC CPU operation for each module when an intelligent function module error SP UNIT DOWN is detected e Stop PLC CPU stops operation e Continue PLC 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 MELSEC Q 3 Operating procedure Perform settings starting with the GX Developer I O assignment screen aa I a W O assignment screen PLC name PLC sys
28. the present value If this has occurred execute the reading again Refer to Section 8 2 7 UTILITY PACKAGE GX Configurator CT MELSEC Q 7 UTILITY PACKAGE GX Configurator CT 7 1 Utility Package Functions Table 7 1 shows a list of the utility package functions Table 7 1 Utility Package GX Configurator CT Function List Function Description Reference section Performs initial settings for each channel to operate the QD62 E D Sets values for the following items that require initial setting e CHO Preset value setting CHO Coincidence output point set No 1 CHO Coincidence output point set No 2 CHO Saunier function Selection sening Saona CHO Sampling periodic setting unit 10 ms CHO Ring counter maximum value CHO Ring counter minimum value The data for which initial setting has been completed is registered in the PLC CPU parameters and automatically written to the QD62 E D when the PLC CPU is placed in the RUN status Sets for each channel the QD62 E D buffer memory that refreshes automatically CHO Preset value CHO Latch count value CHO Sampling count value CHO pened pulse counter present value Section 7 5 CHO Periodic pulse counter previous value 7 CHO Sampling periodic counter flag CHO Overflow detection flag Auto refresh Values stored in the buffer memory of the QD62 E D where automatic refresh is set are automatically read when the PLC CPU executes the END c
29. value of 2000 and the present value of 500 the count range and present value will change as shown in the figure below Ring counter maximum value 2 Present value ooo 500 Ring counter minimum value 2147483648 2147483647 Ring counter minimum value Ring counter Present value maximum value 2000 500 501 to 1998 1999 0 1 2 to 498 499 The ring counter maximum value 2000 will not be stored in the i buffer memory for storing the i present values Taarna et e Mra a CB aa e aa la aA a Rg Re a aaa te EA at ee SAA AA A eee Ra RR aA ze 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 0 the ring counter maximum value of 2000
30. 1 CIStHOT VO SIGMAlS siiccbicissczacechgesceg epee ade giskeed anaes aug aa chlcnbeg atuancas Shes a aa aa EERE ashes Naan 3 5 3 3 2 Functions ot V O signialSinis whedon eee attire el een iieeda poeta dies 3 6 3 4 Buffer Memory Assignments eeceeeceeeeeeeeeeneeeaeeeaeeeaeeeaeeeaeeeaeeeaeeeaeeeaeeeaeeeaeeeaeseaeeeaeeeaeeeaeeeaeseaeeeaeeeateeas 3 8 3 5 Interface with External Devices 200 eeceeeceeseeeeeeeeeeeeeseeeaeeeaeeeaeeeaeeeaeesaeeeaeesaeeeaeetaeesaeesaeesaeeseeseeeieeeaeees 3 11 3 6 Encoders that can be Connected cceccecceseeeeceeeeeeeeecaeeeeeeaeeaecaeseeeaecaecaeseaeeaesaeseseaesaesaeseeseateeseeeeateats 3 14 At Handling Precaution ienee a clayerne ieee rvuptayasey plies clayenne Nexemectayeey ixerneels 4 1 4 2 Procedure Before Starting the Operation ccceccesceecceececeeeeeceeeeeeeaesaesaeeeeeeaesaeseeseaesaesaeseeeeaeeeseeeeaeeaes 4 2 4 3 Part Identification Nomenclature oo eee eeeeeeeeeeeeeeeeeeeaeeeaeeeaeeeaeeeaeeaeesaeeeaeesaeesaeeeaeesaeesaeeetaeeseeteeeaeees 4 3 AA A TE E EPEE PEET tat anseasoe T A T N EE A AT T TE TAE suushige 4 5 4 4 1 Wiring precautions eani a n a e i i i ni ira 4 5 4 4 2 Wiring example of a module and a pulse generator 0 eee eeeeeeeeeeeeeeeeeeeeeeeaeeeaeeeaeeeaeeaeeeaeeeaeeeatenas 4 6 4 4 3 Wiring example of a controller and an external input terminal eee eeeeeeeeeeeeeeeeeeeeeeeteeaeeees 4 8 4 4 4 Wiring example with an external output oo ccc eeee eee teat eeeeeeeeeeaeeeeeee
31. 12 V When OFF 0 1 mA or less When ON 4 5to5 5V 2to5mA B14 B07 Function start input 5 V Preset input 12 V Preset input 5 V when OFF OFF 2Vor avoriess e otmAoriess 1 mA or less Response OFF gt ON ON gt OFF time 0 5 ms or less 1 ms or less EQUI Operating voltage 10 2 to 30 V A06 A05 Coincidence output point No 1 Maximum load current 0 5 A point 2 A 1 common pu _ Maximum voltage drop when ON 1 5 V To the fuse broken detection circuit Response time OFF gt ON 0 1 ms or less EQU2 ON gt OFF 0 1 ms or less rated load Coincidence output point No 2 SLA resistive load B027 B01 12 24V Input voltage 10 2 to 30 V A02 A01 Current consumption 8 mA TYP 24 V DC x1 Terminal numbers A03 A04 B03 and B04 are not used 3 11 3 SPECIFICATIONS MELSEC Q 2 QD62E DC input sourcing output type sane VO et A Input voltage Operating current ration classification internal circuit Signal name Operati guaranteed value guaranteed value When ON 21 6 to 26 4 V 2 to 5 mA A20 Phase A pulse input 24 V When OFF 0 1 mA or less When ON 10 8 to 13 2 V 2 to 5 mA When OFF 4 V or less 0 1 mA or less ae When ON 4 5 to 5 5 V 2 to 5 mA Wy Phase A pulse input 5 V cain Le When OFF 0 1 mA or less When ON 21 6 to 26 4 V 2to5mA Phase B pulse input 24 V When OFF 0 1 mA or less When ON 10 8 to 13 2 V 2to5mA When OFF 0 1 mA or less Tego When ON 4 5 to 5 5 V 2 to 5 mA Wy A17 Phase B
32. 14 SWRC aE tn dtelicn eit at 4 14 System configurations 2 1 T Text Messt 2 xs see h tors at Aes hia at Ne hho et ee aed 7 6 The details of the I O signals ceeeeee 3 6 Troubleshooting 9 1 U User precautions ceeceeceeeceeeeeeeeeseeeeeeteeees 7 2 Utility package function list eee 7 1 W Wiring precautions cccceceeseeesteeeteeeees 4 5 WINNG 2 cectiee ec eld ie ieee 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 maintenance or testing on site that involves replacement of the failed module Gratis Warranty Term The gratis warranty term of the product shall be for one year after the date of purchase or delivery to a designated place Note that after manufacture and shipment from Mitsubishi the maximum distribution period shall be six 6 months and the longest gratis warranty term after manufacturing sh
33. 5 u s or less 10KPPS 10 KPPS aaa t 500us o 50 PPS 3 SPECIFICATIONS MELSEC Q 2 QD62E DC input sourcing output type performance specifications Model QD62E Counting speed switch settings 1 200 k 100 k to 200 kPPS 100 k 10 k to 100 kPPS 10 k 10 KPPS or less I O occupied points 16 points I O assignment Intelligent 16 points 2 channels Count input 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 32 bit signed binary values 2147483648 to 2147483647 UP DOWN Preset counter Ring counter function Minimum count pulse width u s Duty ratio 50 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 Set value lt Count value Set value Count value Set value gt Count value input Function start start 2to5mA External Transistor Sourcing type output 2 points channel Coincidence output output p 12 24 V DC 0 1 A 1 point 0 4 A 1 common 5V DC internal current consumption A 1 The counting speed switching 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 500us eee eee
34. 5V Twisted shield wire OUT A17 A11 A PRSTCOM wt out eiA saa 9 24V Function start ae CETONA Twisted shield wire 2 OUT FUNCCOM J X X a L out lt b B15 B09 Shisa O fs e J 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 L m EQU2 B06 B05 L e 12 24 V Bo2 B01 4 FUSE OV m 10 2 to 30 V DC detection A02 A01 7 circuitry 2 For QD62E Source output type QD62E B02 B01 ili iL 10 2 to 30 V DC V A02 A01 detection circuitry The number inside the indicates the terminal number for channel 2 4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION MELSEC 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 SST TTT Cable ACO5TB AC10TB AC20TB AC30TB AC50TB AC80TB AC100TB Connector terminal bloc
35. CPUs The QD62 E D modules are available with the following I O types maximum counting speeds and number of channels aD62 QD62E QD62D DC input sinkin I O type p 3 output DC input sourcing Differential input output sinking output Maximum counting speed 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 200 kPPS 500 kPPS 2 channels An overview of QD62 E D operation is shown in the figure below QCPU Q mode 4 I O signal Buffer memory read write QD62 E D Pulse generator Encoder External control signal Controller Preset counter 3 Coincidence signal output 2 points function selection Pulse Pulse generator Encoder External control signal Controller l Preset counter function selection 3 Coincidence signal output 2 points 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
36. E A OOE A A EE E ee ees A 4 INTRODUCTION A at xx cattle ioe a a a aaa a a a ae at aA A 5 GONTENTS e a a ed toe hd oe ak ile Bhd ea ee al fie aa A 5 Conformation to the EMC Directive and Low Voltage Instruction c cecceceeseeeeeeeceeeeeeeeeeeseaeeaetaeeeeseeeaees A 8 About the Generic Terms and Abbreviations cccccccccsscccsssssescccsscececcseeeccceaseseccsueececeaeeeeeceaeeceeaeeseecueeeeea A 8 oo EARED Ae AEE EE oie ceeds Sa eased soca sc a eek sess vn se ees A 8 1 OVERVIEW 1 1to1 3 WET PPO AUUNES ax sic i8s tet seeds Stacks bewnais se tactageceais ss tacts avennis a aa ie seas aa dn east a a a aa aaa 1 2 2 SYSTEM CONFIGURATIONS 2 1to2 4 24 Applicable Systemi aeriana annasa rana aeaea ap aea na AeA dna eatinias aii gh ahaatinaaneie 2 1 2 2 How to Check Software Version cccccccecccccecceesseeeeeseecceceseaaeesseeessseeuauseseessaaaeeseeeeseeessaeeeauessesessnaeess 2 3 2 3 About Use of the QD62 E D with the Q00J Q00 Q010PU 0 eceeccecseceeeeeeeceeeeeeeaesaesaeeeeeeesaeeeeeeaneaes 2 4 2 4 About Use of the QD62 E D on the MELSECNET H Remote I O Station ccceceseeeeeeteees 2 4 3 SPECIFICATIONS 3 1 to 3 14 3 1 Performance Specifications ceccecccecceeeseeeeceeeeeeeaeeaeceeeeaeeaesaeceeseaesaesaeseaeeaecaeseeseassaesaeseeeeaeeaeseseaeeateas 3 1 32 FUNCTION Listenin cdedenscde davis ceed aa a a ia 3 4 3 9 O Signals for the PLO CPW 0 05 ra e ntti niet i vivid wie wie eal ieee 3 5 3 3
37. ETY 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 f Correction Section 2 3 Section 5 3 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 S 080036 H Correction SAFETY PRECAUTIONS Section 2 1 Section 4 1 ul H NA Jul 2005 SH NA 080036 Correction Section 6 5 Section 8 2 This manual confers no industrial property rights or any rights of any other kind nor does it confer any patent Japanese Manual Version SH 080035 L licenses Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property ights 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 PLC Before using the equipment please read this manual carefully to develop full familiarity with the functions and performance of the Q series PLC you have purchased so as to ensure correct use CONTENTS SAFETY PRECAUTIONS e aan arena a a TAA aa TA ea Paa aa A aTa anA aa Aaaa a aTa aaa TIAE A 1 REVISIONS anr E A
38. FF 1 phase multiple of 2 Count at A rise 7 and fall For subtraction count B Y03 YOB are ON Count at A rise 7 For addition count B is OFF CW CCW A is OFF For subtraction count J Count at B rise 7 For addition count g Arise 1 when Bis OFF 2 phase multiple of 1 For subtraction count A fall when B is OFF A tise when B is OFF For addition count A fall when B is ON 2 phase multiple of 2 A rise when B is ON F or subtraction count A fall when 6B is OFF oA tise when B is OFF A fall when B is ON B rise when A is ON B fall when A is OFF oA tise when B is ON A fall when B is OFF B rise when A is OFF B fall when A is ON For addition count 2 phase multiple of 4 For subtraction count 5 BASIC USAGE 1 MELSEC Q 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 Pulse input Encoder oA ee Down count command B Or when YO3 YOB turns ON 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 b
39. High Speed Counter Module MITSUBISHI a SENES QD62 QD62E QD62D GX Configurator CT SWOD5C QCTU E Mitsubishi Programmable Logic 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 ra s 1 N l Indicates that incorrect handling may cause hazardous conditions l a DANGER resulting in death or severe injury i l l A CAUTION Indicates that incorrect handling may cause hazardous conditions K resulting in medium or slight personal injury or physical damage p 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 PLC sys
40. Transfer setup of GX Developer When the QD6 2 E D is mounted to the remote I O station use Read from PLC and Write to PLC of GX Developer Checking for the required utility The head I O is displayed in the Intelligent function module utility setting screen but a x may be displayed for the model name This means that either the required utility is not installed or that the utility cannot be started from the GX Developer Check for the required utility in Tools Intelligent function utility Utility list in GX Developer and set it 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 value 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 Package name Module model name Initial setting x Enter the start I O No in hexadecimal Setting screen Initial setting _ OLX r Module information Module model name QD62 Start 1 0 No 0000 Module type Counter Module Setting item Setting value Channel initial setting Channeli Channel2 initial
41. ad from the buffer memory POINTS 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 orm ro Hoe 0 x Example of an undesirable program X20 FROM HOO HOF D1 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 function 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 fu
42. aeeeaeeeaeseaeeeaeeeaeeeaeeeaeeaeenas 4 11 4 4 5 Using the connector terminal block converter MOCUIE eeeeeeeeeeeeeeeeeeeeeeaeeeaeeeaeeeaeeeaeeeaeeeaeeeas 4 12 4 5 Switch Settings for the Intelligent Function Module cecececeeeeeeeeceeeeeeeaeeaeeeeeeaesaesaeseeeeaeeaeeeeaneaes 4 14 A 5 A 5 5 BASIC USAGE 5 1 to 5 11 5 1 Understanding the Pulse Input and Counting Method cccceceeceeseceeeeeceeeeeeeeeeeeaeeaeeaeseeeeaeeaeeaneaeeaees 5 1 51 1 Types of pulse Input Methods nra aran a na cues EEEE eves ced iveneves seen evi uve bees avatar even intend 5 1 5 1 2 Setting the count method ceeeecececeeseceeceeceseeaeceeeeeeeaeeaecaeseeeeaesaesaeseeeeaesaeseesaesaesaeseaeeaeeaeseeseaeeaees 5 3 5 1 3 Reading the present Values ee eceeceseceseeeeeceseceseneeeeeeeeeseeeeeeeeaeeeesceseaeeeaeseaeeeaeeeaeeeeeeeaeeeeseneteees 5 3 5 2 Selecting the Counter FOormat ccsccccccccecesseseececeeseeaecaeceeeeaeeaecaeseeseaesaecaeseaseaesaesaesasaeceeeaseaeeaesneeeateaees 5 4 5 2 1 Selecting the linear counter 0 2 ee cecceceeeeeeeceeeeeeeeeeeeceeeeaeeaecaeceeeeaesaecaeseaseaeeaeseesaseaesaeseeeataeseeseaetaees 5 4 5 2 2 Selecting the ring COUNTER ceeececceceeeeeeeceeeeseeeeeaeceeeeaecaecaeseeeeaeeaesaeseeesaecaeseeseeesaesaeseesaeseseeseaeeates 5 5 5 3 Using the Coincidence Output FUNCTION cccecceseeeeeeeceeeeeeeeeeeeeeeeeaecaeceeseaeeaesaesaeseaesaesaeseeeeaesaseeseateaees 5 7 5 4 Using
43. all be eighteen 18 months The gratis warranty term of repair parts shall not exceed the gratis warranty term before repairs Gratis Warranty Range 1 The range shall be limited to normal use within the usage state usage methods and usage environment etc which follow the conditions and precautions etc given in the instruction manual user s manual and caution labels on the product 2 Even within the gratis warranty term repairs shall be charged for in the following cases 1 Failure occurring from inappropriate storage or handling carelessness or negligence by the user Failure caused by the user s hardware or software design 2 Failure caused by unapproved modifications etc to the product by the user 3 When the Mitsubishi product is assembled into a user s device Failure that could have been avoided if functions or structures judged as necessary in the legal safety measures the user s device is subject to or as necessary by industry standards had been provided 4 Failure that could have been avoided if consumable parts battery backlight fuse etc designated in the instruction 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
44. an 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 X 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 Contents Latch count Sampling value count previous count present value count value memory address 22H to 23H 2CH to 2DH 2Enx 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 re
45. and the present value of 3000 the count range and present value will change as shown in the figure below Ring counter minimum value Ring counter maximum value 2000 Present value 3000 2147483648 2147483647 TNT YNNNANNN NS Count range XX Count range J N ANANN INN ANANANN Ring counter Ring counter Present value minimum o maximum value S 3000 3001 to 2147483647 2147483648 to 2 1 2001 2002 to 2998 2999 an 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 2147483637 regardless of the present value POINTS 1 When the count enable command Y04 YOC 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 2 When the count range is to be changed using preset always change it after first turning the count enable command Y04 YOC OFF 5 BASIC USAGE 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 coinc
46. ations The following describes the performance specifications of the QD62 E D 1 QD62 DC input sinking output type performance specifications Model Le eee w QD62 Counting speed switch settings 1 200 k 100 k to 200 kPPS 100 k 10 k to 100 kPPS 10 k 10 KPPS or less 16 points I O assignment Intelligent 16 points Number of channels 2 channels Count input 1 phase input 2 phase input signal Signal level A B 5 12 24 VDC 2to5mA Minimum count pulse width u s Duty ratio 50 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 Coincidence Set value lt Count value output Comparison result Set value Count value Set value gt Count value input Function start start 2to5mA Transistor sinking type output output 2 _ SSS ae 12 24 V DC 0 5A 1 point 2 A 1 common 5V DC internal current consumption A Pe es O Weight kg 1 The counting speed switching 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 Counting speed switch settings 200 k 100 k Rise fall time Both 1 and 2 phase input t 1 25 us or less 200 kPPS 100 KPPS 10 KPPS t 2 5usorless 100 kPPS 100 kPPS 10 KPPS J L t 2
47. 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 o Mniiaivaue defautty latchcountertuncton Ee Samplingcountertuncton 2 7 o E Periodic pulse counter function 3 T o S 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 the 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 POINTS 1 Change the counter function while the counter function selection start command is OFF 2 The counter function selection c
48. 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 QO00J Q00 Q01CPU of function version B or later 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 3 SPECIFICATIONS MELSEC Q 3 SPECIFICATIONS The following describes the performance specifications I O signals for the PLC CPU and buffer memory specifications of the QD62 E D For the general specifications of the QD62 E D see the User s Manual hardware for the CPU module used 3 1 Performance Specific
49. 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 Nooverflowdetection 0 O 6 Counter function selection setting Buffer memory addresses CH1 9H CH2 294 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 Ah CH2 2An e This area is used to write the time setting values of the sampling counter function and periodic pulse counter function during counter 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 X 10 4200 ms 8 Sampling periodic counter flag Buffer memory addresses CH1 Bu CH2 2B e This area is used to store the function operating status while the sampling counter function and periodic pulse counter fu
50. differ from those of QD62 E D The conventional dedicated instructions cannot be used 8 PROGRAMMING MELSEC Q b Devices used by the user Description Device Description Device Count operation start signal X10 Periodic pulse count data read signal X1C Current value read signal X11 Periodic pulse count start signal X1D X15 Counter function execution start signal X18 Sampling count data read signal Interrupt enabled flag storage for the IMASK Sampling count start signal X1B D20 to D35 instruction 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 Channel initial setting lolx Module information Module model name QD62 Start 1 0 No 0000 Module type Counter Module Setting item Setting value 4 Preset value setting 2500 Coincidence output point set No 1 7000 Coincidence output point set No 2 0 Counter function selection setting Disable count z Sampling periodic setting unit 10ms 7000 Ring counter minimum value 5000 Ring counter maximum value 50007 Details Decimal input Setting range 2147483648 2147483647 Make text file End setup Cancel f Set the counter function to be used Set according to Counter function selection setting TA f the function used When a counter function is not used sets any function
51. e A and B pulse input terminals does the A and B LED light up If the LED does not light up this is a hardware error so contact our branch office or distributor for consultation and give details of the malfunction Turn the count enable instruction Y04 YOCO ON using a sequence program Is the count enable instruction Y04 YOCO ON f i If the disable count function has been set with the counter Is the counter function selection start instruction Y06 YOE f i selection function turn OFF the counter function selection ON or is voltage being applied to the function start input f terminals start instruction Y06 YOE or the function start input terminal Is an overflow error occurring Preset to clear the overflow error 9 3 The Count Value is not Normal by parameter switch setting by the parameter setting switch counting speed set by parameter switch setting so that it is in line with the maximum input pulse speed Check the pulse waveform by observing it with a synchroscope and input the correct waveform pulse if it does Does the pulse waveform that was input meet the performance specifications oa not conform to the performance specifications Is the count value data processed as binary 32 bit dataina Change the sequence program so that the count value data sequence program is processed as binary 32 bit data Does the pulse input wiring use a twisted pair shielded PEON ble Use
52. e following table lists the difference between A1SD62 A1SD62E and A1SD62D oe Model QD62 D62E D62D A1SD62 A1SD62E_ A1SD62D S1 Counti 32 bit signed binary counter 32 bit unsigned binary counter ntin ore 2147483648 to 2147483647 0 to 16777215 Number of I O occupied points 200 kPPS 500 kPPS 100 kPPS 200 kPPS CW CCW pulse input Function available No function Linear counter i s Function available No function function Function available Function available E i The ring counter operation only between Ring counter Preset and coincidence output function o the preset value and the coincidence output function can be used independently of the ring point PRO values cannot be changed counter setting Coincidence Function available Function available detection function program interrupt allowed a ae detection onl Overflow cetecion Functonavaiatle i runtenavaiive available oom function function Maximum and minimum counter function F Function available Function available Fuse broken detection Both broken fuses and external power Only broken fuses are detected LED display l 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 ABGCONS t
53. e output point No 1 point No 1 setting Turns ON with a preset command signal from the external input terminal X04 XOB External preset request detection jand the request is latched Turns OFF with the external preset detection reset signal Y05 Y0D Turns ON when the present value gt coincidence output point No 2 point No 2 setting CH1 6H to 7H CH2 26H to 27h he Turns ON when the present value coincidence output point No 2 Counter value coincidence i s point No 2 setting and the present value is latched Turns OFF with the coincidence signal No 2 reset command Y07 YOF X07 Counter value small Turns ON when the present value lt coincidence output point No 2 point No 2 setting Fuse broken detection flag XOF turns ON when a fuse in the Fuse broken detection flag coincidence signal output section is blown 3 SPECIFICATIONS MELSEC Q 2 Output signals eration timin escription PLC CPU gt QD62 E D g P yoo Yos Coincidence signal No 1 reset Turns ON when the counter value coincidence point oleae Fae 1 signal X02 X09 is reset yor vos Preset command command L fums ON when the preset function is executed yoo Yoa Coincidence signal enable Turns ON when the counter value coincidence signal command X02 X09 X06 XOD is output to the external terminal Turns ON when a subtraction count is executed in the Down count command 1 phase pulse input mode voa Yoc Count enable comma
54. e signal enatie command _ signal enable command Te na count command External A request detection T oe aa enable command Counter value Counter value large point No 2 point No 2 Counter value coincidence eae A No 2 e Sater meine value small point No 2 External ical preset detection est rina detection reset command cuales ll rane function selection start command Fuse broken detection Fuse broken detection flag Coincidence Coincidence signal No 2 reset command No 2 reset command 3 SPECIFICATIONS MELSEC Q 3 3 2 Functions of I O signals The details of the I O signals for the QD62 E D are listed in the table below 1 Input signals eel Description QD62 E D PLC CPU i Turns ON when the count preparation for QD62 E D is completed at the time of PLC CPU power on or reset operation and count processing is Module ready performed When Module ready X00 is OFF count processing is not performed xo1 x08 Counter value large Turns ON when the present value CH1 2H to 3H CH2 22H to 23H gt point No 1 coincidence output point No 1 setting CH1 4H to 5H CH2 24H to 25n o Turns ON when the present value coincidence output point No 1 Counter value coincidence i X02 X09 point Na setting and the present value is latched oint No p Turns OFF with the coincidence signal No 1 reset command Y00 Y08 X03 XOA Counter value small Turns ON when the present value lt coincidenc
55. ed binary values 3 SPECIFICATIONS MELSEC Q 3 5 Interface with External Devices vO The table below lists the external device interface for the QD62 E D 1 QD62 DC input sinking output type r Ani number Input voltage Operating current ri n classification internal acute Font one mlapal name Operation guaranteed value guaranteed value 4 7kS2 When ON 21 6 to 26 4 V 2to5mA 1 3W A20 i A13 Phase A pulse input 24 V When OFF 5 V or less 0 1 mA or less ook When ON 10 8 to 13 2 V 2to5mA 4 B20 B13 Phase A pulse input 12 V When OFF 0 1 mA or less When ON 4 5to5 5V 2to5mA A19 A12 Phase A pulse input 5 V When OFF 0 1 mA or less 4 7662 When ON 21 6 to 26 4 V 2to5mA n A18 A11 Phase B pulse input 24 V When OFF 0 1 mA or less 3 3k02 ami B18 B11 4702 When OFF 4 V or less 0 1 mA or less Phase B pulse input 12 V E T gt 4709 When ON 4 5t05 5V 2to5mA WV A17 Phase B pulse input 5 V When OFF 0 1 mA or less When ON 21 6 to 26 4 V 2to5mA Preset input 24 V When OFF 0 1 mA or less When ON 10 8 to 13 2 V 2to5mA When OFF 0 1 mA or less When ON 4 5 to 5 5 V 2 to 5 mA When OFF 2 V or less 0 1 mA or less Bos cTRLCOM Response OFF gt ON ON gt OFF eee E a 5 ms or less 1 ms or less when On 21 z6twzs4v 2to5mA B15 B08 Function start input 24 V When OFF 0 1 mA or less When ON 10 8 to 13 2 V 2to5mA A07 Function start input
56. eee when the ee pulse counter function is used CH1 CH1 Sampling periodic counter flag pling periodic counter flag This is not used 0 O O is not used Set the device for storing the overflow detection result when CH1 Overflow detection flag the linear counter function is used 3 Writing the intelligent module parameters see Section 7 3 3 Write the intelligent module parameters to the PLC CPU This operation is performed using the intelligent module parameter setting module selection screen 8 PROGRAMMING MELSEC Q 8 1 2 Program example lt Start count operation gt x0 x10 HR Et v4 lt Stop count operation gt x0 X14 RS Rt v4 lt Setting for externally outputting gt lt Set and reset the Y0 x0 X12 n DELTAP DYO y2 lt Processing at the time of count coincidence gt lt Illuminate the LED x0 Y2 X2 YO K t _3 4t4 ___ 0 lt Reset coincidence signal No 1 2 2 KR RS S Yo X X15 lt Complete No 1 reset X lt Preset execution using the sequence program gt X13 s Rem vv Set only when the linear counter is used 8 PROGRAMMING 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 x0 X16 SET Y6 RST Y6 2 When the latch counter function is used lt Latch counter function gt x0 X19 _ __ _ LAE Y6 3 When the sampl
57. eration is performed between 2147483648 minimum value and 2147483637 maximum value The linear counter can be used in combination with the preset function and the coincidence output function Counter present value t j Overflow Tanar 2147483647 Subtraction Addition 4 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 28 H 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 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
58. et request detection X04 OFF No detection X04 CH1 Ext preset request detection OFF No detection CH1 Ext preset detection reset command 05 OFF Release OFF Release X 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 0 X07 CH1 Counter value lt point No 2 OFF CH2 Preset command Y09 OFF OFF X X08 CH2 Counter value gt point No 1 OFF CH2 Ext preset request detection 0B OFF No detection X09 CH2 Counter value equal point No 1 ON CH2 Ext preset detection reset command Y0D OFF Release OFF Release xl X0A CH2 Counter value lt point No 1 OFF x lt r Flash ROM setting Details r Flash ROM setting Details Witeto Fie save Current value Monitoring 7 PER Current value Monitoring display Cannot execute test m display Cannot execute test Make text file Make text file Stat monitor _ Stop monitor Execute test Close Stat monitor _ Stop monitor Execute test Close 7 15 7 15 7 UTILITY PACKAGE GX Configurator CT Coincidence output function r Module information Counter selection function Module information Counter selection tart o Stop monitor Module model name QD62 Start 1 0 No 0000 Module type Counter Module Setting item Current value Setting value CH1 Counter function selection se
59. etween the phase A pulse input and phase B pulse input is 5 shown below QD62 E D Addition pulse input Encoder l A Subtraction pulse input Encoder oB 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 oA Encoder Phase B pulse input gB 5 BASIC USAGE MELSEC Q 5 1 2 Setting the count method The count method is set using the GX Developer intelligent function module 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
60. fore turning the coincidence signal enable command ON then reset the coincidence signal turning the command OFF to ON to OFF If the coincidence signal enable command is turned ON without performing the above operation the coincidence output will be performed since the coincidence output point and present count value match in the initial state 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 generates an interrupt request for the PLC CPU during coincidence detection The interrupt processing program can be started using this interrupt request When the PLC CPU is a Q00J Q00 Q01CPU use function version B or later a With the MELSEC Q series 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 a 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 4t
61. from PLC Write to PLC lt Text file gt a A text file can be created by performing the initial setting or auto refresh setting or selecting on the monitor test screen Text files can be utilized to create user documents b Text files can be saved to 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 GX Developer GX Configurator CT Personal computer QCPU Q25HCPU A Indicates intelligent module parameters B Indicates the data saved by text file creation 7 UTILITY PACKAGE GX Configurator CT 7 3 2 Operation overview GX Developer screen Window Help Check program Merge data Check parameter Transfer ROM gt Delete unused comments Clear all parameters IC memory card l 18 x Start ladder logic test Set TEL data Intelligent function utility Utility list Customize keys Options Intelligent module parameter setting module selection screen Intelligent function Module utility C My Documents File Ea Eile Online Tools Help r Intelligent function module parameter setting module select Start 1 0 No Package name nooo Counter Module ha Module model name QD62 z Intelligent function module parameter setting module Start 1 0 No Module
62. gh speed counter module Generic Term Abbreviation Description of the abbreviation general terms DOS V personal computer DOS V compatible personal computer of IBM PC AT and its compatible Generic product name of the product types SWnD5C GPPW E SWnD5C GPPW EA GX Developer SWnD5C GPPW EV and SWnD5C GPPW EVA n in the model name is 4 or greater Generic term of QOOJCPU QO0CPU Q01CPU Q02CPU QO2HCPU QO6HCPU Q12HCPU Q25HCPU Q12PHCPU Q25PHCPU Generic term of counter module setting monitor tool GX Configurator CT SWOD5C QCTU E Abbreviation of the Type QD62 high speed counter module Abbreviation of the Type QD62E high speed counter module Abbreviation of the Type QD62D high speed counter module Generic term of QD62 QD62E and QD62D QCPU Qmode GX Configurator CT Product Structure The product structure of this product is given in the table below Model Name Product Name Quantit Type QD62 high speed counter module Type QD62E high speed counter module Type QD62D high speed counter module SWOD5C QCTU E GX Configurator CT Version 1 1 license product CD ROM 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
63. h counter function _ Section 6 3 selection start command signal is input in the buffer memory Counts the pulses that are input during the preset sampling time Sampling counter function period from the time the counter function selection start Section 6 4 command is input and stores the count in the buffer memory ee While the counter function selection start command signal is Periodic pulse counter ie Rican being input stores the present value in the buffer memory at Section 6 5 preset interval x 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 3 SPECIFICATIONS MELSEC Q 3 3 I O Signals for the PLC CPU 3 3 1 List of I O signals The I O signals for the QD62 E D PLC 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 Signal name x02 X03 Counter value small point No 1 Down count command CH1 ii Srtenale iege po No21 YS a cores ver Coincidence Coincidence signal No 2 reset command No 2 reset command Counter value Cameras age potno 1 F No Counter value coincidence Qounter value coincidere point No 1 No 1 Eome command Counter value small point No 1 value small point No 1 Qoineiene
64. hanical failure 2 For 1 phase input always perform pulse input wiring on the Phase A side 3 For the QD62 E D count will be performed if pulse status noise is input and a miscount will result 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 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 i im QD62 E D rveter Terminal block __ ae E 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 Sf 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 The distance between the encoder and relay box high voltage equipment must be short Allowing a long distance between such as ee a9 Relay box the QD62 E D and the encoder may cause a a ie San aa voltage 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
65. how to check the GX Configurator CT software version 1 How to check the GX Configurator CT software version The GX Configurator CT software version can be checked in GX Developer s Product information screen Startup procedure GX Developer Help Product information amp PLC programming software p GX Developer Version 7 018 5W7D5C GPPW E COPYRIGHT C 2001 MITSUBISHI ELECTRIC CORPORATION ALL RIGHTS RESERVED This Product is licensed to Name MITSUBISHI Company MITSUBISHI ELECTRIC CORPORATION List of version information on Add in software GX Configurator CT Version1 10L SWOD5C QCTU E a Software version l COPYRIGHT C 1999 MITSUBISHI ELECTRIC CORPORATION ALL RIGHTS RESERVED Waming This product is protected by copyright law and international treaties Unauthorized reproduction or distribution of this program or any 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 7 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 2 SYSTEM CONFIGURATIONS MELSEC Q 2 3 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
66. idence output 2 points can be set for each channel To use the coincidence signal external output turn ON the coincidence signal enable command Y02 Y0A 1 Coincidence Output Operation Count enable command ON f 2 Y04 YOC OFF f Cc Coincidence signal enable command ON ii D Y02 YOA OFF coro puse TULL I Coincidence output point setting No 1 i Buffer memory 1 100 Addresses 4n to 5n 244 to 25n Counter value small point No 1 ON X03 XOA OFF 1 1 1 1 1 i 1 Counter value coincidence point No 1 ON X02 X09 OFF 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 T 1 1 1 1 1 1 1 L 1 1 1 1 1 1 1 1 1 Coincidence signal No 1 reset command ON Y00 Y08 OFF y b Counter value large point No 1 ON X01 X08 OFF Buffer memory for storing present values Addresses 24 to 3H 224 to 23x 1 2 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 25H When the coincidence signal reset command is turned ON the counter value coincidence signal is reset If the counter value coincidence signal stays ON the next coincidence signal cannot be output 5 BASIC USAGE MELSEC Q With the coincidence output function set the coincidence output point be
67. ied cece nani Seas neni k aie neenaeles 4 4 AB CONE Papei aaan E ccdh etdsesss APERA EAA RAR PEE 4 4 PB CONG eoar an RAER 4 4 AB CONS es scictevns cele Mactvteles cet ovnnderebancetieseceses 4 4 Applicable CPU modules cccceeeee 2 1 AUto refresh aieru aiana naat 7 13 B Buffer memory assignments eeeeeees 3 8 C Clamping torque cecceeeeeeeeeeeeteeteeeeeeeeteaes 4 1 Coincidence detection interrupt function 5 8 Coincidence detection interrupt function 5 8 Coincidence output function 66 3 4 5 7 Common operations ccececeeeeeeteeeeeees 7 5 GONMMOCTON i aeria epini aaa aeai 4 4 Connector terminal block converter MOQUIG E E S 4 12 GOUNTENOR 25 02 Ae veh RUE Ra 6 3 Count method ccccccceccesecesseccsseeesseeeseeeeses 5 3 Count FANE ee ceeeecceeeseeeeceeeeeeeteaeeeeteeeeateaes 5 5 Counter function ccccceseceeseeeeseeeeeeeeseeeeees 6 1 CW CCW pulse input sseseseeeeeeeeeeeeeeeen 5 2 D DifferenCe onenen ads App 2 Disable count fUNCTION eeeeeeeeees 3 4 6 4 E EMC directive c cccccccscecessecesseecseesseeeseeeees A 8 Encoders that can be connected 3 14 Encoders e e ec veesteve et a a e et levees 3 14 Error infOrmation cccccccsssccesssseeeessseeeessaes 9 1 EON a e e a e E Eea 6 3 External dimension diagram 008 App 1 External wiring Connector 4 4 F FOAtUNOS ois te ced A
68. ing counter function is used lt Sampling counter function gt x0 X1B KS Es Y6 4 When the periodic pulse counter function is used lt Periodic pulse counter function gt X0 X1D _____ _____ t MELSEC Q 8 PROGRAMMING 8 2 Program Example when GX Configurator CT is not Used lt Initial setting gt lt Set preset values x0 Y4 M10 DTOP HO HO K2500 K1 lt Coincidence output No 1 to 1000 gt DTOP H0 H4 K1000 K1 YO o lt Set the min for ring comter gt if l DTOP HO H14 K 5000 K1 Set only when the ring counter lt Set the max for ring counter ie is used I DTOP H0 H16 K5000 K1 MEI a et cE A AE aa LO Bee aT SET M10 lt Start count operation gt x0 X10 i re A s E Y4 lt Stop count operation gt x0 X14 i rk s L Y4 lt Store present values in DO amp D1 gt lt Store present values gt H2 DO Ki x0 X11 kK E s O lt Setting for externally outputting gt lt Set and reset the Y0 x0 X12 DELTAP DYO ae lt Illuminate the LED lt Processing at the time of count coincidence gt X0 Y2 X2 Yo H H H a Y20 X2 lt Reset coincidence signal No 1 gt X15 be SET YO 8 PROGRAMMING MELSEC Q lt Complete No 1 reset X2 YO RST Yo lt Preset execution using the sequence program gt X13 DELTAP DY1 Set only when the linear counter is used I 1 1 1 1 1 i 1 1 4 a When using the sampling counter f
69. ion screen 7 9 7 9 7 UTILITY PACKAGE GX Configurator CT MELSEC Q 3 Menu bar a File items File operations are performed for the intelligent module parameters for the project opened by GX Developer Intelligent function moc Open file Opens the parameter file AGS Online Tools Help Close file Closes the parameter file If changes have been made Open file Ctr 0 the dialog box asking whether to save the file appears Close file Save file Saves the parameter file arulta Eis Delete file Deletes the parameter file Exit Ends the intelligent module parameter setting module Exit selection screen b Online items b Intelligent function modu Monitor test Starts the select monitor test module screen ile Mite Tools Help Read from PLC Reads the intelligent module parameters from the CPU Monitor test module Read from PLC Write to PLC Writes the intelligent module parameters to the CPU write to PLC module 0o00 1 Saving the intelligent module parameter files Since these files cannot be saved using the GX Developer s project save operation save the files using the intelligent module parameter setting module selection screen mentioned above Reading and writing the intelligent module parameters to and from a PLC using GX Developer Once the intelligent module parameters are saved in a file they can be read from and written to the PLC Set the target PLC CPU using Online
70. is chapter explains the system configuration of the QD62 E D 2 1 Applicable System This section explains the applicable system 1 Applicable CPU and number of modules that can be mounted The CPU module and network module for remote I O station that can have the QD62 E D and the number of modules that can be mounted are listed below Number of modules that Applicable module Remarks can be installed Qooucpu Maximum 16 QOOCPU Q01CPU Q02CPU Maximum 24 CPU module meer Can be installed in Q mode only QO6HCPU Maximum 64 1 Q12HCPU Q25HCPU Q12PHCPU p ri M 4 GRe Q25PHCPU sale a QJ72LP25 25 QJ72BR15 r MELSECNET H Remote I O QU72LP25G Memes station 2 QJ71LP25GE 1 See User s Manual Function Explanation Program Fundamentals for the CPU module to use 2 See Q Corresponding MELSECNET H Network System Reference Manual Remote I O network 2 Mountable base unit QD62 E D can be mounted on any of the base unit s I O slots 3 However depending on combinations with other mounted modules and the number of mountings there may be cases where the power capacity is insufficient Be sure to consider the power capacity when mounting the module x3 Must be inside the point number range of 1 CPU unit and network module for remote I O station 3 Compatibility with a multiple PLC system First read the QCPU User s Manual Function Explanation Program Fundamentals if the QD62 E D is used with a
71. k converter module A6TBXY36 founNUnEEuE 0000000 000000000 oe 4 12 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 Terminal Connector Terminal terminal terminal terminal terminal number symbol number symbol Preseapuserote o f o Phase A pulse inputi2v_ B o Phase A pulse input TTS o T e Phase Bpulseinput B9 1 oe Presetinput2sv_ oJ e s prstcom Ci s Function startinput24v_ ae 4 ooo eenn aR Se etecon s new genineuay f Aar j e Funccom sore Ew ea Function startinput5v Ba 6 Coincidence output point No 1 EQU1 7 EQU2 ET Coincidence output point No 1 Coincidence Output No 2 EQU2 inser outoon no Coincidence output point No 2 Eoesmsomic j j a a e eet dra Presetinput24v _ m s aacom TT Presetinouti2v_ _ m 8a PresetinputSv_ _ Joan 9 PhaseBpulseinput12v en o pastoom _____ e f o PresetinpstzeV__ _10_ a CH2 Preset input 12V Function start input 5 V Do eR OA a e a eT orrtcom awas c Function statinput5sv_ Bo p Coincidence output point No 1 Coincidence
72. le Setting item Current value Setting value CH1 Present value o CHT Overflow detection flag No detection CH1 Down count command OFF OFF x CH1 Count enable command Disable Disable CH2 Present value a CH2 Overflow detection flag No detection CH2 Down count command OFF OFF x CH2 Count enable command Disable Disable x X Y monitor test XA monitor test Preset function Preset Coincidence output function Coincidence output x r Flash ROM setting p Details File save Current value Monitoring display Cannot execute test File read Make text file Start monitor Stop monitor Execute test Close gt 1 X Y monitor Preset test screen X7Y monitor test op x Preset function _ op x r Module information r Module information Module model name QD62 Start 1 0 No 0000 Module model name QD62 Start 1 0 No 0000 Module type Counter Module Module type Counter Module Setting item Current value Setting value a Setting item Current value Setting value a X00 Module ready ON CH1 Present value q 01 CH1 Counter value gt point No 1 OFF CH1 Preset value setting 0l 0 X02 CH1 Counter value equal point No 1 ON CH1 Preset command Y01 OFF OFF X X03 CH1 Counter value lt point No 1 OFF mall CH1 Ext pres
73. ler the usage conditions shall be that the application will not lead to a major accident even if any problem or fault should occur in the programmable logic controller device and that backup and fail safe functions are systematically provided outside of the device for any problem or fault 2 The Mitsubishi programmable logic controller has been designed and manufactured for applications in general industries etc Thus applications in which the public could be affected such as in nuclear power plants and other power plants operated by respective power companies and applications in which a special quality assurance system is required such as for Railway companies or Public service purposes shall be excluded from the programmable logic controller applications In addition applications in which human life or property that could be greatly affected such as in aircraft medical applications incineration and fuel devices manned transportation equipment for recreation and amusement and safety devices shall also be excluded from the programmable logic controller range of applications However in certain cases some applications may be possible providing the user consults their local Mitsubishi representative outlining the special requirements of the project and providing that all parties concerned agree to the special circumstances solely at the users discretion Microsoft Windows Windows NT are registered trademarks of Microsoft Corporation in
74. 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 terminal 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 CONFIGURATIONS MELSEC Q 2 SYSTEM CONFIGURATIONS Th
75. minal OFF l AES a i External preset request ON detection flag OFF 5 X04 X0B i i ey Pa aT External preset request ON detection reset command OFF Y05 YOD SN Present value storage buffer memory Addresses 24 to 3H 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 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 1 0 1 2 to 65 66 67 100 101 to 123 124 100 101 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 external 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
76. modelname Initial setting Auto refresh Available Available Initial setting Auto refresh See Section 7 3 3 Delete Exit Initial setting Initial setting screen Elx Initial setting r Module information Module model name QD62 Start 1 0 No 0000 Module type Counter Module Setting value Channel Channel2 Setting item Channel initial setting Channel2 initial setting Tools Intelligent function utility Start Auto refresh setting _ of x Module information Module model name QD62 Module type Counter Module MELSEC Q Enter Start I O No then select Package name and Module model name Auto refresh Auto refresh setting screen Start 1 0 No 0000 Setting item Module side Module side Buffer size Transfer word count PLC side Transfer Device direction Make text file Details Move to sub window End setup Cancel See Section 7 4 CH1 Present value 2 2 gt D0 CH1 Latch count value 2 2l gt D2 CH1 Sampling count value E 2 gt D4 CH1 Periodic PLS count previous value 2 2 gt p3 CH1 Periodic PLS count present value 2l 2l gt D6 CH1 Sampling periodic counter flag 1 gt CHT Overflow detection flag 1 1 gt pw CH2 Present value 2 2 gt CH2 Latch count value 2 2 gt
77. multiple PLC system a Compatible QD62 E D In case of using the QD62 E D with the multiple PLC system there is no restriction by the version b Intelligent function module parameters Perform PLC write of the intelligent function module parameters to the control PLC of the QD62 E D only 2 SYSTEM CONFIGURATIONS MELSEC Q 4 Software packages supported Correspondence between systems which use QD62 E D and software packages are as shown below The GX Developer is necessary when using a QD62 E D Software Version GX Developer GX Configurator CT 2 Single PLC Version 1 10L or later f Version 7 or later IWR system cannot be used wi e Q00J Q00 Q01CPU Multiple PLC SW0D5C QCTU E 50F or Version 8 or later system earlier versions Single PLC versonoriatee SWODSC QCTU E 00A or Version 4 or later Q02 Q02H QO06H system later Q12H Q25HCPU Multiple PLC SWOD5C QCTU E 50F or Version 6 or later system later Single PLC Version 1 13P or later system cannot be used with the Version 7 10L or later Multiple PLC SWOD5C QCTU E 50F or system earlier versions If installed ina MELSECNET H f SW0D5C QCTU E 50F or f Version 6 or later remote I O station later 5 Connector For the QD62 D E the connector is sold separately See Section 4 3 and make separate arrangements for the connector Q12PH Q25PHCPU 2 SYSTEM CONFIGURATIONS MELSEC Q 2 2 How to Check Software Version This section describes
78. nction are being executed during counter function selection 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 ae eae 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 FH CH2 2EH to 2Fr 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 count 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 sign
79. nction selection is executed by a sequence program eee s X pulse input speed PPS lt 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 gt 1000000 6 CONVENIENT USAGE 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 Count enable command ON Y04 Y0C OFF i YO6 YOE ON OFF Count function selection start command Function start Present value storage buffer memory Addresses 2H to 3H 22H to 23H in the present value storage buffer memory i 0 Stops Stops l Stops count count count operation operation operation Stops count operation 4 gt i i i 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 2 3 Count operation res
80. nd Lhe ON when the count operation is performed vos YoD External preset detection reset Turns ON when the external preset request detection command signal X04 X0B is reset Turns ON when counter function selection is executed YO6 YOE Counter function selection start Pan ae command Samping counter function E e Periodic pulse counter function vo7 Yor 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 sa aar Enabled while the signal is in ON status j ihaniin Enabled at signal rise from OFF to ON 3 SPECIFICATIONS 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 PLC CPU is reset The contents of the buffer memory can be read written using the FROM TO aes in the sequence program or the automatic refresh function of the PLC a Initial om ck Set data Read write Hexade ae value 1 Gimal Decimal Decimal Po Te Ta a 1H 21H i CERE Fa Coincidence Conciaence output pomtserno 1 point set No 1 Conciaence ouputpomtsetno 1 HH O ae I Rae 2 ooncsene put pontset No 2 Coincidence output point set No 2 Ar APA Overflow detection flag Read er sf of aoe fa
81. nd 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 e When removing the communication cable from the module do not pull the cable When removing the cable with
82. o 15 Vacant Timing of interrupt signal generation Counter value coincidence o X02 X06 X09 X0D signal Coincidence signal reset command x Y00 Y07 Y08 Y0F Interrupt request Internal processing Clear interrupt request PLC CPU program processing b Assignment of the interruption factors SI and the interrupt pointers for PLC CPU are set by selecting PLC parameter PLC system Intelligent function module setting Interrupt pointer settings 1 PLC side Interrupt pointer start No Specify the starting number for the PLC CPU interrupt pointer Setting range 50 to 255 5 BASIC USAGE MELSEC Q 2 PLC side Interrupt pointer No of units Specify the number of units for the interrupt execution conditions set by the Interrupt setting Setting range 1 to 16 units 3 Intelli unit side Start I O No Specify the start I O number for the intelligent function module that performed the interrupt setting Setting range 0000 to OFFO H 4 Intelli unit side Start SI No Specify the number of the intelligent function module interrupt pointer that was set by the interrupt setting Interrupt SI No Setting range 0 to 15 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
83. ommand Monitors and tests the buffer memory and I O signals for the QD62 E D X Y device i CHO Preset function Monitor test ae Section 7 6 CHO Coincidence output function CHO Counter selection function CHO Ring counter function 7 UTILITY PACKAGE GX Configurator CT MELSEC Q 7 2 Installing and Uninstalling the Utility Package See Method of installing the MELSOFT Series attached with the utility package regarding the install and uninstall operation for the utility package 7 2 1 User precautions The following explains the precautions on using the Utility package 1 2 Important safety information Since the utility is add in software for GX Developer make sure to read Safety Precautions and the basic operating procedures in the GX Developer Operating Manual About installation GX Configurator CT is an add in software package for GX Developer Version 4 or later products Therefore install GX Configurator CT in a personal computer in which GX Developer Version 4 or later product has been installed 3 About display screen errors while using the intelligent function module utility There may be cases in which the screen will not properly display while the intelligent function module utility is being used due to a lack of system resources If this occurs close the intelligent function module utility first and then close GX Developer program comments etc and other applications Next res
84. onse Control PLC n z aa ata J e e Peer ike 3 Click on Detailed Setting on the I O mode PLC PLC Of 0 Intelli QDE2 Hold 1 1 2 2 3 3 4 4 5 5 6 6 7 7 9 8 8 10 5 3 11 10 10 12 11 11 13 1212 14 130 13 15 14 14 Jsettings should be set as same when using multiple PLC End Ema assignment screen to display the screen at left and then set the error time output mode and H W error time PLC operation mode Stop Joo Jo fom fen Joo fo Aha a lala lalalalalalalararaiata alalalalalalalatalalalapapaliala Apa alalalaaiaiaialaiararaiara oie EE 4 5 BASIC USAGE MELSEC Q 5 BASIC USAGE This section explains the basic usage of the QD62 E D 5 1 Understanding the 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 Count at A rise 7 For addition count B Y03 YOB are OFF 1 phase multiple of 1 Count at A fall For subtraction count B YO YOB are ON Count at A rise 7 and fall For addition count B YO3 YOB are O
85. ored in buffer memory was used a subtract pulse address 08H 28h was further input from the 0 No overflow detected current value 2147483647 1 Overflow being occurred 3 Module error status bit of the module information read with the UNIRD instruction 00 No overflow detected no module error 10 Overflow being occurred Moderate error Fuse broken detection FUSE LED on the front of the module red The fuse must be replaced by a 1 The fuse for the Off No broken fuse detected technician from the Service coincidence signal external On Broken fuse detected Center Consult with our branch output section has blown 2 Fuse broken detection flag XOF office or distributor with detailed Off No broken fuse detected description On Broken fuse detected 3 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 9 TROUBLESHOOTING MELSEC Q 9 2 The Count Operation is not Working Check item If the PLC CPU is showing an error display correct the Is the PLC CPU showing an error display operation by following the troubleshooting instructions in the manual for the PLC CPU in use If the LED lights up check the external wiring and the pulse generator side and make necessary corrections When voltage is directly applied to th
86. other failure found not to be the responsibility of Mitsubishi or that admitted not to be so by the user 2 Onerous repair term after discontinuation of production 1 Mitsubishi shall accept onerous product repairs for seven 7 years after production of the product is discontinued Discontinuation of production shall be notified with Mitsubishi Technical Bulletins etc 2 Product supply including repair parts is not available after production is discontinued 3 Overseas service Overseas repairs shall be accepted by Mitsubishi s local overseas FA Center Note that the repair conditions at each FA Center may differ 4 Exclusion of loss in opportunity and secondary loss from warranty liability Regardless of the gratis warranty term Mitsubishi shall not be liable for compensation of damages caused by any cause found not to be the responsibility of Mitsubishi loss in opportunity lost profits incurred to the user by Failures of Mitsubishi products special damages and secondary damages whether foreseeable or not compensation for accidents and compensation for damages to products other than Mitsubishi products replacement by the user maintenance of on site equipment start up test run and other tasks 5 Changes in product specifications The specifications given in the catalogs manuals or technical documents are subject to change without prior notice 6 Product application 1 In using the Mitsubishi MELSEC programmable logic control
87. output point No 2 EQU1 A 1F Coincidence output point No 1 ms ar EQU2 B F Coincidence output point No 2 CAEN E E Eeo S 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 pattem 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 10k PPS 1 100k 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 Reserved Switch 4 Reserved Switch 5 Reserved Example Target channel Channel 2 Counter format Ring counter Counting speed setting 200 k PPS Pulse input mode setting 2 phase multiple of 1 Set as
88. qual point No 2 X06 ON a r Flash ROM setting Details wiite to Fie save Current value Monitoring module display Cannot execute test Read from Fie read Make text file module Stat monitor Stop monitor Execute test Close Ring counter MELSEC Q v Ring counter function _ of x Module information Module model name QD62 Stat O No 0000 Module type Counter Module Setting item Current value Setting value CH1 Ring counter minimum value ol q CH1 Ring counter maximum value 0 CH2 Ring counter minimum value ol a CH2 Ring counter maximum value ol a gt Flash ROM setting Details Monitoring 4 F 51 Current value Decimal input mod display Setting range eadfiom Fie read Make text fle 2147483648 2147483647 Stop monitor Execute test Close 7 16 7 16 7 UTILITY PACKAGE GX Configurator CT MELSEC Q Explanation of items 1 Contents of the screen display Setting item Displays the I O signal or buffer memory name Current value Displays the I O signal status or present buffer memory value for monitoring Setting value Select or enter a value to be written to the buffer memory with a test operation 2 Explanation of the command buttons Displays the current value of the selected item This command button is used to check text that cannot be displayed in the current value field However in this utili
89. r Information gabled cut Dienst a covt cute ate hone Rune ab Sout ene at ch dane Oa rate A ee dee ca 9 1 9 2 The Count Operation is not Working c ccecceceeceeteceeceeeeseeeecaeceecaesaecaeeeeeeaesaeseeseaesaesaeseeseaesaesaeseeeeaeeats 9 2 9 3 The Count Value is not Normal ccccecceseeeceeceeeeeeeaeceeeeaeeaecaeceeeeaeeaecaeeseeeaesaeseeseeesaesaeseseaeaesaeseeeeaeeats 9 2 APPENDIX App 1 to App 2 Appendix 1 External Dimension Diagram 0 0 0 ce eeceeeceeseeneeeeeeeeeeeseeeaeeeaeeeaeeeaeeeaeeeaeeeaeeeaeeaeesaeeeaeeeateeatenas App 1 Appendix 2 Difference Between A1SD62 A1SD62E and A1SD62D S1 e ce eeeeeeeeteeteeeeteeeeeeeeaes App 2 INDEX Index 1 to Index 2 Conformation to the EMC Directive and Low Voltage Instruction For details on making Mitsubishi PLC conform to the EMC directive and low voltage instruction when installing it in your product please see Chapter 3 EMC Directive and Low Voltage Instruction of the User s Manual Hardware of the PLC CPU to use The CE logo is printed on the rating plate on the main body of the PLC that conforms to the EMC directive and low voltage instruction By making this product conform to the EMC directive and low voltage instruction it is not necessary to make those steps individually About the Generic Terms and Abbreviations Unless otherwise specified this manual uses the following generic terms and abbreviations to describe the Type QD62 QD62D and QD62E hi
90. rator CT English version cannot be used in configuration x2 GX Configurator CT cannot be used as an add in with GX Developer Version 3 or earlier versions 3 Setting fonts Size of Windows for Large Fonts may cause the text to extend off screen Therefore choose Small Fonts Used operating system and performance required for personal computer Performance Required for Personal Computer Operating system Required memory Windows 95 Pentium 133MHz or more 32MB or more Windows 98 Pentium 133MHz or more 32MB or more Pentium 150MHz or more 32MB or more Windows NT Workstation 4 0 Pentium 133MHz or more 32MB or more Windows 2000 Professional Pentium 133MHz or more 64MB or more Windows XP XP tibili i roma Pentium 300MHz or more 128MB or more Professional mode and Fast User Windows XP Switching are not oe Pentium 300MHz or more 128MB or more Home Edition supported 7 UTILITY PACKAGE GX Configurator CT MELSEC Q 7 3 Explanation of Utility Package Operations 7 3 1 How to perform common utility package operations 1 Available control keys Special keys that can be used during operations of the utility package and their applications are shown in the table below Name of key Application Cancels a newly entered value when entering data in a cell Closes the window Moves between controls in the window Uses together with the mouse when multiple cells are selected in the Test
91. selected Deletes the character where the cursor is positioned When a cell is selected clears all of the setting contents Back space Deletes the character where the cursor is positioned 1 L Moves the cursor Page Up Moves the cursor one page up Page Down Moves the cursor one page down Confirms the value entered in the cell 2 Data to be created with the utility package The data and files shown below that are created with the utility package are also used by GX Developer operations Figure 7 1 shows which operation uses which data or file lt lntelligent module parameters gt a This data is created with the auto refresh setting and stored in the intelligent module parameter file of the project to be created using GX Developer Project Program Parameters PLC Parameters Network Parameters Intelligent Module Parameters b Steps 1 to 3 shown in Figure 7 1 are performed using the following operations 1 Operating using GX Developer Project Open project Save Save as 2 Operating on the intelligent module parameter setting module selection screen of the utility File Open file Save file 7 UTILITY PACKAGE GX Configurator CT MELSEC Q 3 Operating using GX Developer Online Read from PLC Write to PLC Intelligent module parameter Or operate on the intelligent module parameter setting module selection screen of the utility Online Read
92. sesseeseeeteeteeseeees 7 7 OVEHOW ta Mend eel RR dele aiedad 5 4 OVEIVICW EE 1 1 P Part identification nomenclature 4 3 Performance specifications 0 0 eee 3 1 Periodic pulse counter function 3 4 6 7 Index 1 Phase 1 pulse input ee eeeeeeeeseeeeeeneeeneeees 5 2 Phase 2 pulse INput eeeeeeeeeeseeeeeeneeeneeees 5 2 PRECAUTIONS an aenean netun 4 1 4 5 7 2 Preset fUNCTION c ccccccssssssseeeeeeeesseees 3 4 5 10 Procedure before starting the operation 4 2 PFOGOOUIC eoep iessersssseeneaiietaetti ageeteeeseus 4 2 Program conditions ee eeeeeeeeeseeteeeteeeteeeee 8 1 Programming geane aeaaeae aaia Eiana 8 1 Pulse input method 5 1 R Reading COUNTVAIUC yiana ETERN 6 2 Present ValUC cc ccceceeeeseeeseeeeeeeeeeeeeaees 5 3 Reading the present values eee eeeeeeeee 5 3 Ring counter function cceeeeeeeeeee 3 4 5 5 S Sampling counter function ce 3 4 6 6 Setup and procedure before starting The OPEration 2 eeeeeeeeeeceeseeeeeeeseeeeeeeeeeeeeeseetees 4 1 a E ein ihebe ln hatte le etn eats 5 8 Software packages supported cese 2 2 Specifications eececeeceeeeeeeeeeeeeeeeeeeeeeeeeeeees 3 1 Starting the utility 2 0 0 cceeeeeeeeeeeeeeeeeeeeeees 7 9 SLATS 64 rv tits os ft es eA es oe a eve 7 9 Switch setting for the intelligent FUNCTION module eeeceeeeeeeeeeeeteeeeteeeeenees 4
93. setting Channel2 p Details Move to sub window Make text file End setup Cancel Channel 1 Channel 2 Channel2 initial setting Bee Module information Module model name QD62 Module type Counter Module Channel initial setting _ 5 x Module information Module model name QD62 Module type Counter Module Start 1 0 No 0000 Start 1 0 No 0000 Setting item Setting value E Setting item Setting value Lal Preset value setting oe Preset value setting o o ____ 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 lt Counter function selection setting Disable count Sampling periodic setting urit 10ms 1000 Sampling periodic setting unit 10ms 1200 Ring counter minimum value 5000 Ring counter minimum value 6000 Ring counter maximum value 5000 Ring counter maximum value 000 Details Details Decimal input Decimal input Setting range Setting range Make text file g 2147483648 2147483647 End setup Cancel Make text file 2147483648 2147483647 End setup Cancel 7 UTILITY PACKAGE GX Configurator CT MELSEC Q Explanation of items 1 Explanation of the command buttons Make text file Outputs the screen display in a text file format Confirms the
94. t enable command Y04 YOC turns ON OFF 6 CONVENIENT USAGE 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 6 200 100 Present value storage buffer memory Addresses 24 to 3H 22H to 23n 200 Present periodic pulse count value storage buffer memory Addresses 12h to 13x 32h to 33x 200 Parr 100 Previous periodic pulse count value storage buffer memory Addresses 10h to 11H 30H to 314 Counter function selection start command ON Y06 YOE function start OFF 4 l Sampling periodic counter flag storage 1 buffer memory Addresses Bu to 2Bu 6 CONVENIENT USAGE 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 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 1 2
95. t 12 V When OFF 0 1 mA or less 68062 140W When ON 2 5 to 5 5 V 2to5mA Bis Bog FUNCCOM Response OFF gt ON ON OFF time 0 5 ms or less 1 ms or less EQUI Operating voltage 10 2 to 30 V When ON 10 8 to 13 2 V 2 to 5mA A09 Function start input 5 V When CFF OFF 1Vor tVoriess e otmAoriess 1 mA or less A06 Coincidence output point No 1 Maximum load current 0 5 A point 2 A 1 common Maximum voltage drop when ON 1 5 V Response time OFF gt ON 0 1 ms or less ON gt OFF 0 1 ms or less rated load resistive load To the fuse B02 B01 12 24 V Input voltage 10 2 to 30 V broken detecti j roken detection A02 A01 Current consumption 8 mA TYP 24 V DC circuit x1 Terminal numbers A08 A07 A03 A04 B08 B07 B04 and BO3 are not used EQU2 Output Coincidence output point No 2 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 e TTL level voltage outp
96. t Counter function selection setting o Resa eraied sabiei 10 2an 42 Sampingiperiocic setting Preset value setting Read write enabled Read write enabled gt aL m T a llaa kao IC I p w T a 11 284 43 Sampiingiperiodic counter fag 2 ae tt Latch count value PER Sampling count value Radoi rete e Periodic pulse count previous value H Ca Periodic pulse count present value H 34n aja p x1 The initial values are set when the power is turned on or the PLC CPU is reset eE C Lt NJ Ring counter minimum value 2E Read write enabled T s5 Ring counter maximum value x 3 SPECIFICATIONS MELSEC Q 2 Preset value setting Buffer memory addresses CH1 OH tol H 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 e The present values for the counter are stored The 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 No 1 and No 2 coincidence output points
97. tart GX Developer and the intelligent function module utility 4 To start the intelligent function module utility a In GX Developer select QCPU Q mode for the PLC series and specify the project If anything other than QCPU Q mode is selected for the 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 the Open file Save file parameter operations of the intelligent function module can only be performed by a single intelligent function module utility Other intelligent function module utilities can perform the Monitor test operation only How to switch screens when two or more intelligent function module utilities are started When two or more intelligent function module utility screens cannot be displayed side by side use the task bar to display the desired intelligent function module utility screen on top of other screens A Start Ga GX Developer C ME FQ Intelligent function Module E Intelligent function Module 3 7 UTILITY PACKAGE GX Configurator CT Auto refresh setting oO x r Module information MELSEC Q 6 About the 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
98. ted 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 2 5 u s or less 100 KPPS 100 KPPS 10 kKPPS a p t 25usoriess f k s 10kPPS pon a ae ee i M 3 SPECIFICATIONS MELSEC Q 3 2 Function List The QD62 E D functions are listed below Values from 2147483648 to 2147483647 can be counted If the Linear counter function Section 5 2 1 count exceeds the range this function detects an overflow Repeatedly executes counting between the ring counter i Ring counter function os Section 5 2 2 maximum and minimum values ae Compares the coincidence output point of any preset channel Coincidence output function f with the present counter value and outputs the ON OFF signal Section 5 3 ection 5 Coincidence detection Generates an interrupt signal to the PLC CPU when coincidence interrupt function is detected and starts the interrupt program Rewrites the present counter value to any numeric value Preset function Performs preset using the sequence program or external preset Section 5 4 input i Stops the pulse count while the count enable command is being f Disable count function Section 6 2 executed f Stores the present counter value at the time the counter function Latc
99. telligent Make text file function modules to get a grand total End setup Cancel 7 UTILITY PACKAGE GX Configurator CT MELSEC Q 7 2 2 Operating environment The operating environment of the personal computer where the GX Configurator CT is used is explained Peripheral devices Installation Add in destination 1 Add in to GX Developer Version 4 English version or later Computer main unit Personal computer on which Windows operates Refer to the following table Used operating system and performance required for Required memory personal computer Hard disk For installation 65 MB or more free space 10 MB or more Display 800 x 600 dot or more resolution 3 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 1 Install the GX Configurator CT in GX Developer Version 4 or higher in the same language GX Developer English version and GX Configurator CT Japanese version cannot be used in combination and GX Developer Japanese version and GX Configu
100. tem PLC file PLCRAS Device Program Boot file SFC 1 0 assignment Specify the following for the slot where the r 1 0 Assignment A Sikin QD62 E D is mounted Detailed setting Type Select Intelli Model name Enter the module s model name Points Select 16 points If the start X and Y are not input the PLC assigns them automatically Start XY z Enter the start 1 0 signal for the It is not possible to check correctly when there is a slot of the unsetting on the way Standard setting QD62 E D Base mode ae etail Ha ni te set as same when Diversion of multiple PLC parameter Read PLC data Multiple PLC settings Default Check End Cancel oe tegen er I b Switch setting for I O and intelligent function Input format HEX ba modu le 7 i Click on Switch Setting on the I O assignment 1_ O 0 Intelli QDE2 0123 1 1 MES screen to display the screen at left and set 4 3 3 i A sara switches 1 to 5 The setting can easily be done if Lists values are entered in hexadecimal Change the g 8 8 meg input format to hexadecimal and enter values 10 10 TF th 13 412 12 13 13 k rata E End Cancel ee gt c Intelligent function module detailed setting Error time W eror ime 1 0 resp
101. tem malfunction e Depending on 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 PLC in an environment that meets the general specifications contained in the CPU User s Manual Using this PLC 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 screw a
102. th the device number that has been set For example if X10 is set data will be stored to X10 through X1F 2 Explanation of the command buttons Make text file Creates a file containing the displayed screen data in a text file format Confirms the entry of set data and ends the operation Cancels the set data and ends the operation POINTS e The auto refresh settings are stored in the intelligent module parameters Once the intelligent module parameters are written to the CPU module they can be enabled by turning the power OFF and then ON or resetting the CPU module e Auto refresh settings cannot be changed from the sequence program However itis possible to add a process similar to auto refresh by using the FROM TO commands of the sequence program 7 UTILITY PACKAGE GX Configurator CT MELSEC Q 7 6 Monitor Test 7 6 1 Monitor Test Purpose of operation Start the buffer memory monitoring testing and I O signals monitoring testing from this screen Startup procedure Select monitor test module screen gt Start I O No Package name gt Module model name gt Monitor test x1 Enter the start I O No in hexadecimal The screen can also be started from the GX Developer Version 6 or later system monitor Refer to GX Developer Operating Manual for details Setting screen Monitor Test Mm E r Module information Module model name QD62 Start 1 0 No 0000 Module type Counter Modu
103. the Preset FUNCION veiss vcrcc secs sevctensbvestiveceettindbes tive vest ydive T areetivevrentive np ireetindeetiivens 5 10 6 CONVENIENT USAGE 6 1to6 8 6 1 Selecting the Counter Function ccccecceceseeceeceeeeeeeeeeeeceeeeaeeaecaeeseeeaecaecaesaseaesaesaeseaseaesaeseeeeesaesneeeaeeaees 6 1 6 1 1 Reading the counter function selection count value eecceeeceeeeeeeeeeeeeeeeeeeeeeeeaeeeeaeeeeaeeesnneesenees 6 2 0V2 Ore Ip SOrD 6 3 6 2 Using the Disable Count Function ccceccsecceccecesseseeceeeeseeeeeaeceeeaeeaecaeeseseaesaesaeeeaeeaesaesaeseaseaesaeeneseaeeate 6 4 6 3 Using the Latch Counter FUNCTION c ccscceeecceeeeeeeceeeeeeeeecaeceeeeaecaecaeseaeeaecaesaeseaesaesaeseeseaesaesaeeeeeeateaes 6 5 6 4 Using the Sampling Counter FUNCTION cccceceeeeeeeceeeeseeeecaeeeeeeaeeaecaeeeeeaesaesaeseaesaesaesaeeeaeeaeseeeeteaeeate 6 6 6 5 Using the Periodic Pulse Counter FUNCTION c cccccecceceeseeeeeeeeeeeeeeeaeceeeeeeeaecaesaeeeaeeaesaseeeeaeeaeseeeaeeates 6 7 7 UTILITY PACKAGE GX Configurator CT 7 1 to 7 17 TE Unity Package Funciona rie itn nET E ETE EAE EE E 7 1 7 2 Installing and Uninstalling the Utility PACKAGE eee eee eeeeeeeeeeeeeeeeeeeeeaeeeaeeeaeeeaeeeaeeeaeeeaeeeaaeeaeeeaeesas 7 2 7 2 1 User precautions scissile a ed eed 7 2 7 2 2 Operating environ Ment iaiaaeaia tad aces daaa dagaades sapcacgedaheaseadapsueesdaseuseacatiacesdadeassscageetes 7 4 7 3 Explanation
104. 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 ltd 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 High Speed Counter Module MODEL QD62 E D U S E MODEL 13JL95 SH NA 080036 1 0507 MEE a MITSUBISHI ELECTRIC CORPORATION HEAD OFFICE 1 8 12 OFFICE TOWER Z 14F HARUMI CHUO KU 104 6212 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
105. to 37H that were set arbitrarily in the buffer memory When the ring counter is being selected an overflow 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 fF weer Ring counter maximum value Addition l l l l Subtraction l hoses eve 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 23H 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 e 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
106. tting Disable count CH1 Counter function selection start command Y06 OFF CH1 Sampling periodic setting unit 10ms 0 CH1 Sampling periodic counter flag Idling function CH1 Latch count value 0 CH1 Sampling count value 0 CH1 Periodic PLS count previous value 0 CH1 Periodic PLS count present value 0 CH2 Counter function selection setting Disable count Disable count E CH2 Counter function selection start command Y0E OFF OFF zi CH2 Sampling periodic setting unit 10ms 0 ila r Flash ROM setting r Details Current value pyaar Moarn HE si dey elect input Setting range i Disable count ere Make text file Latch esunt Execute test Sampling count Periodic PLS count Close Coincidence output Be Module model name QDB2 Start 1 0 No 0000 Module type Counter Module Setting tem Current value Setting value a CH1 Present value q CH1 Coincidence signal enable command 02 OFF Disable OFF Disable 7 CH1 Coincidence output point set No 1 ii CH1 Coincidence signal No 1 reset command v00 _ OFF Release OFF Release CH1 Counter value gt point No 1 01 OFF CH1 Counter value equal point No 1 02 ON CH1 Counter value lt point No 1 X03 OFF CH1 Coincidence output point set No 2 o CH1 Coincidence signal No 2 reset command V07 _ OFF Release OFF Release CH1 Counter value gt point No 2 X05 OFF CH1 Counter value e
107. ty package all items can be displayed in the display fields Makes a file consisting of the displayed screen contents in a text file format Start monitor Stop monitor Selects whether or not to monitor the current values Execute test Tests the selected item To select more than one item select each additional item while holding down the key Closes the currently displayed screen and returns to the previously displayed 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 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 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 8 PROGRAMMING
108. umes when the counter function selection start command Y06 YOE turns OFF 4 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 6 Count operation stops when the count enable command turns OFF start command since the count enable command is OFF since the counter function selection start command is ON turns OFF function start turns off 6 CONVENIENT USAGE 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 function 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 2u to 3H 22h to 23n 0 0 Counter function selection start command ON Y06 YOE function start OFF fl 150 i 100 50 i Latch count value storage buffer memory Addresses Cu to Du 2Cu to 2Du i i 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 2Du The
109. unction 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 tori HOA K1000 K1 2 When the periodic pulse counter function is used lt Periodic pulse time to 5000 ms gt fron 0 HOA K500 KI 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 8 PROGRAMMING MELSEC Q 2 When the latch counter function is used lt Latch counter function gt lt Read latch count value gt x0 X18 He rr 0 HOC D2 K1 lt Select latch counter function gt X1 9 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 O HOE D4 K1 lt Select sampling counter function gt X1B TOP HO H9 K2 K1 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 X1IC DFRO HO H10 D6 K2 lt When Present value Previous value read again gt D D6 D8 JHF RO HO H10 D6 K2 y lt Select periodic pulse counter gt X1D H ToP HO H9 K3 K1 Y 6 8 PROGRAMMING MELSEC Q 8 3 Example of a Program Using the Coincidence Detection Interrupt Function The following describes an example of
110. unt 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 At Y04 YOC OFF Input pulse for counting E FY il ALA An i i tt Buffer memory used for setting the preset value i 0 100 Addresses 0u to 1H 204 to 21n 67 100 Preset command ON Yo01 Y09 OFF Buffer memory used for storing the present value Addresses 2u to 3H 224 to 23n 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 command Y04 YOC is ON or OFF 5 BASIC USAGE 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 s Y04 YOC OFF Counter input pulse i W i 1 f i Preset value setting buffer memory 01 Addresses On to 1H 20H to 21n Preset command ON Preset input ter
111. ut 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 Do not drop the module casing or connector or do not subject it to strong impact 2 Do not remove the PCB of each module from its case Doing so may cause breakdowns 3 Be careful not to let foreign particles such or wire chips get inside the module These may cause fire breakdowns and malfunctions 4 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 5 Tighten the mounting screws using torque within the following range If the screws are loose it may cause short circuits breakdowns or malfunctions Module mounting screws M3 screws 0 36 to 0 48 N m 6 To mount the module on the base unit 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

Download Pdf Manuals

image

Related Search

Related Contents

Instruction Manual    Emerson MR98 Drawings & Schematics  The Synchro Diagnostic System user manual  Whitehaus Collection WH602BBL-PBRAS Installation Guide  E5AR/ER Digital Controller DeviceNet Communications User's Manual  Série VP51  DOOR OWNERS MANUAL - Bifold Door Solutions  取扱説明書 RC-9010S - 1.34 MB  USER GUIDE TECPRO BELTPACKS  

Copyright © All rights reserved.
Failed to retrieve file