background image

 
 

 

4 - 17                                                                                                                                                       4 - 17 

MELSEC-Q

4   SETUP AND PROCEDURE BEFORE STARTING THE OPERATION 

 

2)  Click the Switch setting button. Consequently, the Switch 

setting for the "I/O and intelligent function module" dialog 
box will be displayed. 

 

Select "HEX".

 

 

 

Item Data 

item 

Description 

Reference 

Pulse input mode 

0: 1-phase multiple of 1 
1: 1-phase multiple of 2 
2: CW/CCW 
3: 2-phase multiple of 1 
4: 2-phase multiple of 2 
5: 2-phase multiple of 4 

Sets the pulse input mode. 

Section 5.1.1

Counting speed setting 

0: 10 k PPS 
1: 100 k PPS 
2: 200 k PPS 
3: 500 k PPS 

(Only for the QD62D) 

Sets the counting speed. 

Section 3.1 

Switch 1 

(for channel 1) 

0

H

 

Counter format 

0: Linear counter 
1: Ring counter 

Sets the counter format. 

Section 5.1.1
Section 5.1.2

Switch 2 

(for channel 2) 

Same data item as the switch 1 (for CH1). 

Switch 3 
Switch 4 
Switch 5 

No settings (blank) 

When any item is set, delete the settings and leave the field blank. 

 

POINT 

 

The counting speed setting of 500kPPS can only be used with the QD62D. Setting 
the counting speed to 500k PPS for the QD62 and QD62E may cause miscounts. 
Thus, do not use this setting for the QD62 and QD62E. 
The reserved switches in the intelligent function module switch setting items are for 
system use, not for users. Therefore, always fix them to 0. If used (changed from 0 
to 1) by a user, the operations of the QD62(E/D) are not ensured. 

 

3)  After the setting, click the End button. 

Summary of Contents for QD62

Page 1: ......

Page 2: ......

Page 3: ...e Under some circumstances failure to observe the precautions given under CAUTION may lead to serious consequences Observe the precautions of both levels because they are important for personal and system safety Make sure that the end users read this manual and then keep the manual in a safe place for future reference Design Precautions DANGER Do not write data into the system area of the buffer m...

Page 4: ...hort circuit or malfunction Shut off the external power supply for the system in all phases before mounting or removing the module Failure to do so may result in damage to the product Do not directly touch any conductive part or electronic component of the module This may cause the module to malfunction or fail Wiring Precautions CAUTION Connectors for external connection must be crimped or presse...

Page 5: ...re cleaning the module or retightening the terminal screws or module fixing screws Failure to do so may result in electric shock After the first use of the product do not mount remove the module to from the base unit more than 50 times IEC 61131 2 compliant respectively Exceeding the limit of 50 times may cause malfunction Do not touch the terminals while the power is on Doing so may cause malfunc...

Page 6: ...ion 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 SAFETY PRECAUTIONS INTRODUCTION CONTENTS About the Generic Terms and Abbreviations Section 2 1 Section 3 5 Section 4 3 Section 5 4 Section 7 2 2 Section 7 3 2 Section 7 3 3 Section 7 4 to Section 7 6 Section 8 1 1 INDEX...

Page 7: ...h the EMC and Low Voltage Directives About the Generic Terms and Abbreviations Section 2 1 Section 2 5 Section 3 5 Section 4 1 Section 4 4 2 Section 7 2 1 Section 7 3 1 Section 7 3 3 Mar 2009 SH NA 080036 N Correction About the Generic Terms and Abbreviations Section 1 1 Section 2 1 Section 4 4 5 Section 6 2 to Section 6 5 Section 7 2 1 Section 7 6 1 Chapter 8 Section numbers changed Section 4 5 S...

Page 8: ...Q25PRHCPU 2 4 2 4 About Use of the QD62 E D on the MELSECNET H Remote I O Station 2 5 2 5 How to Check Software Version 2 5 3 SPECIFICATIONS 3 1 to 3 14 3 1 Performance Specifications 3 1 3 2 Function List 3 4 3 3 I O Signals for the programmable controller CPU 3 5 3 3 1 List of I O signals 3 5 3 3 2 Functions of I O signals 3 6 3 4 Buffer Memory Assignments 3 8 3 5 Interface with External Devices...

Page 9: ...4 Using the Sampling Counter Function 6 6 6 5 Using the Periodic Pulse Counter Function 6 7 7 UTILITY PACKAGE GX Configurator CT 7 1 to 7 18 7 1 Functions of the Utility Package 7 1 7 2 Installing and Uninstalling the Utility Package 7 2 7 2 1 Handling precautions 7 2 7 2 2 Operating environment 7 4 7 3 Explanation of Utility Package Operations 7 6 7 3 1 How to perform common utility package opera...

Page 10: ...OOTING 9 1 to 9 3 9 1 Error Information 9 1 9 2 When the QD62 E D Does Not Start Counting 9 2 9 3 When the QD62 E D Does Not Normally Count 9 3 APPENDIX App 1 to App 2 Appendix 1 External Dimension Diagram App 1 Appendix 2 Difference Between A1SD62 A1SD62E and A1SD62D S1 App 2 INDEX Index 1 to Index 2 ...

Page 11: ... Type QD62D high speed counter module QD62 E D Generic term of QD62 QD62E and QD62D DOS V personal computer DOS V compatible personal computer of IBM PC ATR and its compatible GX Developer Generic product name for SWnD5C GPPW E SWnD5C GPPW EA SWnD5C GPPW EV and SWnD5C GPPW EVA n is 4 or greater A and V denote volume license product and upgraded product respectively QCPU Q mode Generic term for the...

Page 12: ...me Quantity QD62 Type QD62 high speed counter module 1 QD62E Type QD62E high speed counter module 1 QD62D Type QD62D high speed counter module 1 SW0D5C QCTU E GX Configurator CT Version 1 1 license product CD ROM 1 SW0D5C QCTU EA GX Configurator CT Version 1 Multiple license product CD ROM 1 ...

Page 13: ...A 11 A 11 MEMO ...

Page 14: ...iple of 2 Phase 2 pulse input multiple of 4 See Section 5 1 for details on the input methods An overview of QD62 E D operation is shown in the figure below Pulse generator Encoder Controller Pulse External control signal Preset counter function selection 2 1 3 Coincidence signal output 2 points CH1 Pulse generator Encoder Controller Pulse External control signal Preset counter function selection 4...

Page 15: ... 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 outp...

Page 16: ...s using the GX Configurator CT The use of GX Configurator CT sold separately allows you to execute the high speed counter module setting on screen resulting in reducing the number of sequence programs Also the use of GX Configurator CT makes it easy to check the setting status and operating status for modules 9 A blown fuse in the external output section can be detected A blown fuse in the externa...

Page 17: ... capacity before mounting modules and if the power supply capacity is insufficient change the combination of the modules Applicable CPU module Base unit 2 CPU type CPU model No of modules 1 Main base unit Extension base unit Q00JCPU Up to 16 Q00CPU Basic model QCPU 3 Q01CPU Up to 24 Q02CPU Q02HCPU Q06HCPU Q12HCPU High Performance model QCPU Q25HCPU Up to 64 Q02PHCPU Q06PHCPU Q12PHCPU Process CPU Q...

Page 18: ...g to a MELSECNET H remote I O station The table below shows the network modules and base units applicable to the QD62 E D and quantities for each network module model Depending on the combination with other modules or the number of mounted modules power supply capacity may be insufficient Pay attention to the power supply capacity before mounting modules and if the power supply capacity is insuffi...

Page 19: ...or later SW0D5C QCTU E 50F or later Single CPU system Q02PH Q06PHCPU Multiple CPU system Version 8 68W or later Single CPU system Q12PH Q25PHCPU Multiple CPU system Version 7 10L or later Version 1 13P or later cannot be used with the SW0D5C QCTU E 50F or earlier versions Q12PRH Q25PRHCPU Redundant CPU system Version 8 45X or later Version 1 16S or later Single CPU system Q00UJCPU Q00UCPU Q01UCPU ...

Page 20: ... of function version B or later 2 3 About Use of the QD62 E D with the Q12PRH Q25PRHCPU Here use of the QD62 E D with the Q12PRH Q25PRHCPU is explained 1 GX Configurator CT When using GX Developer to access the Q12PRH Q25PRHCPU through the intelligent function module on the extension base unit GX Configurator CT cannot be used Connect a personal computer to the Q12PRH Q25PRHCPU with a communicatio...

Page 21: ...refore fully verify that there will be no problem with controllability in the target system Example When processing is executed using the counter value input by a sequence program variations will occur due to a delay in the link scan time 2 5 How to Check the Function Version Serial No Software Version Check the function version and serial No of the QD62 E D and the GX Configurator CT software ver...

Page 22: ...e serial number is displayed on the front of the module from January 2008 production Products manufactured during switching period may not have the serial number on the front of the module c Confirming the serial number on the system monitor Product Information List To display the system monitor select Diagnostics System monitor Product Inf List of GX Developer Serial No Function version Productio...

Page 23: ...uct The function information of the product is updated when a new function is added 2 Checking the software version of GX Configurator CT The software version of GX Configurator CT can be checked in GX Developer s Product information screen Operating procedure GX Developer Help Product information In the case of GX Developer Version 8 Software version REMARK The version indication for the GX Confi...

Page 24: ... Minimum count pulse width Duty ratio 50 2 5 2 5 5 Unit s Min phase differential for 2 phase input 1 25 μ s 5 5 10 Unit s Min phase differential for 2 phase input 2 5 μ s 50 50 100 Unit s Min phase differential for 2 phase input 25 μ s Comparison range 32 bit signed binary values Coincidence output Comparison result Set value Count value Set value Count value Set value Count value Preset External ...

Page 25: ...nit s Min phase differential for 2 phase input 25 μ s Comparison range 32 bit signed binary values Coincidence output Comparison result Set value Count value Set value Count value Set value Count value Preset External input Function start 5 12 24 V DC 2 to 5 mA External output Coincidence output Transistor sourcing type output 2 points channel 12 24 V DC 0 1 A point 0 4 A common 5V DC internal cur...

Page 26: ... phase input 2 5 μ s 50 50 100 Unit s Min phase differential for 2 phase input 25 μ s Comparison range 32 bit signed binary values Coincidence output Comparison result Set value Count value Set value Count value Set value Count value Preset External input Function start 5 12 24 V DC 2 to 5 mA EIA Standard RS 422 A Differential Line Driver may be connected External output Coincidence output Transis...

Page 27: ... numeric value Performs preset using the sequence program or external preset input Section 5 4 Disable count function Stops the pulse count while the count enable command is being executed Section 6 2 Latch counter function Stores the present counter value at the time the counter function selection start command signal is input in the buffer memory Section 6 3 Sampling counter function Counts the ...

Page 28: ...X03 Counter value small point No 1 Y03 Down count command X04 External preset request detection Y04 Count enable command X05 Counter value large point No 2 Y05 External preset detection reset command X06 Counter value coincidence point No 2 Y06 Counter function selection start command X07 CH1 Counter value small point No 2 Y07 CH1 Coincidence signal No 2 reset command X08 Counter value large point...

Page 29: ...e all 0 X03 X0A Counter value small point No 1 Turns ON when the present value coincidence output point No 1 setting Turns OFF when the present value coincidence output point No 1 setting X04 X0B External preset request detection Turns ON with a preset command signal from the external input terminal and the request is latched Turns OFF with the external preset detection reset signal Y05 Y0D X05 X0...

Page 30: ...t command Y03 Y0B turns ON the subtraction count is performed Check that the phase B pulse is input and the down count command Y03 Y0B is OFF for addition Y04 Y0C Count enable command Turns ON when the count operation is performed Y05 Y0D External preset detection reset command Turns ON when the external preset request detection signal X04 X0B is reset Turns ON when counter function selection is e...

Page 31: ...0 Read only 4H 4 24H 36 L 5H 5 25H 37 Coincidence output point set No 1 H 6H 6 26H 38 L 7H 7 27H 39 Coincidence output point set No 2 H 0 Read write enabled 8H 8 28H 40 Overflow detection flag 0 Read only 9H 9 29H 41 Counter function selection setting AH 10 2AH 42 Sampling periodic setting 0 Read write enabled BH 11 2BH 43 Sampling periodic counter flag CH 12 2CH 44 L DH 13 2DH 45 Latch count valu...

Page 32: ...sent counter value No 1 and No 2 coincidence output points can be set for each channel 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 The following values corresponding to the overflow occurrence status are stored i...

Page 33: ...er memory addresses CH1 CH to DH CH2 2CH to 2DH This area is used to store the latch count values when the latch counter function is executed 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 2FH This area is used to store the sampling count values when the sampling counter functio...

Page 34: ...mA B17 B10 Preset input 24 V When OFF 5 V or less 0 1 mA or less When ON 10 8 to 13 2 V 2 to 5 mA A16 A09 Preset input 12 V When OFF 4 V or less 0 1 mA or less When ON 4 5 to 5 5 V 2 to 5 mA B16 B09 Preset input 5 V When OFF 2 V or less 0 1 mA or less A15 B08 CTRLCOM Response time OFF ON 0 5 ms or less ON OFF 1 ms or less When ON 21 6 to 26 4 V 2 to 5 mA B15 B08 Function start input 24 V When OFF ...

Page 35: ...1 mA or less When ON 10 8 to 13 2 V 2 to 5 mA A16 A09 Preset input 12 V When OFF 4 V or less 0 1 mA or less When ON 4 5 to 5 5 V 2 to 5 mA B16 B09 Preset input 5 V When OFF 2 V or less 0 1 mA or less A15 B08 CTRLCOM Response time OFF ON 0 5 ms or less ON OFF 1 ms or less When ON 21 6 to 26 4 V 2 to 5 mA 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 2 ...

Page 36: ...2 to 5 mA B18 B12 Preset input 12 V When OFF 4 V or less 0 1 mA or less When ON 2 5 to 5 5 V 2 to 5 mA A17 A11 Preset input 5 V When OFF 1 V or less 0 1 mA or less 1 3W 1 10W 1 10W 1 10W 1k 10k 5 6k 680 B17 B11 PRSTCOM Response time OFF ON 0 5 ms or less ON OFF 1 ms or less When ON 21 6 to 26 4 V 2 to 5 mA A16 A10 Function start input 24 V When OFF 5 V or less 0 1 mA or less When ON 10 8 to 13 2 V...

Page 37: ...tor output type encoders 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 Line driver output type encoders Verify that the encoder output voltage meets the specifications for the QD62D POINT The following encoders cannot be used with the QD62 E D TTL level voltage output type...

Page 38: ... is complete Before operating the system be sure to remove the film to provide adequate heat ventilation 5 Tighten the screws such as module fixing screws within the following ranges If the screws are loose it may cause the module to fallout short circuits or malfunction If the screws are tightened too much it may cause damage to the screw and or the module resulting in fallout short circuits or m...

Page 39: ...specified slot Wiring Wire external devices to the QD62 E D Intelligent function module switch setting Use the GX Configurator CT Yes No Initial setting Using the FROM TO commands create a sequence program for writing initial values Initial setting Perform automatic refresh setting No Yes Automatic refresh setting Perform the automatic refresh setting using the GX Configurator CT see Section 7 5 P...

Page 40: ...nal number A20 A01 Serial number plate LED name Description φA Lit Voltage is being applied to the Phase A pulse input terminal φB Lit Voltage is being applied to the Phase B pulse input terminal DEC Lit Counter is in the process of subtraction FUNC Lit Voltage is being applied to the function start input terminal FUSE Lit Voltage is being applied to the external power supply input terminal while ...

Page 41: ...or use with the QD62 E D should be purchased separately by the user The connector types are listed below a Connector types Type Model name Soldering type straight out A6CON1 Solderless type straight out A6CON2 Pressure welding type straight out A6CON3 Soldering type usable for straight out and diagonal out A6CON4 ...

Page 42: ...er Provide a clearance of 150 mm 5 9 inch or more from I O wires to high voltage equipment such as inverters Also exercise caution for wiring inside the panel AC motor Relay box QD62 E D Carrier 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 voltage line use CVVS or other sh...

Page 43: ...Shielded twisted pair cable Shield The number inside the indicates the terminal number for channel 2 POINT When wiring the QD62 QD62E and the encoder separate the power supply cable and signal cable The following diagram shows an example Wiring example 24 V ABCOM Phase A QD62 E OUT 0 V 24 V DC External power supply Encoder 24 V 0 V E Incorrect wiring example OUT Encoder 24 V 0 V E 24 V ABCOM Phase...

Page 44: ...y Shield Shielded twisted pair cable E GND OUT 5 V 5 V DC GND OUT Shield Shielded twisted pair cable The number inside the indicates the terminal number for channel 2 3 Wiring example with a driver equivalent to AM26LS31 encoder A20 A14 A B20 B14 A E QD62D 0 V 0 V VCC VCC A A A19 A13 B B19 B13 B E B B Phase A Phase B External power supply Shield Shielded twisted pair cable Shield Shielded twisted ...

Page 45: ...ler QD62 QD62E OUT E 12 V 12 V DC B15 B08 24 V A14 A07 12 V B14 B07 5 V Function start Shield Shielded twisted pair cable Shield Shielded twisted pair cable A18 A12 24 V B18 B12 12 V A17 A11 5 V B17 B11 PRSTCOM OUT E 12V QD62D OUT E 12 V 12 V DC A16 A10 24 V B16 B10 12 V A15 A09 5 V B15 B09 FUNCCOM Preset Function start Shield Shielded twisted pair cable Shield Shielded twisted pair cable Controll...

Page 46: ... V A14 A07 12 V B14 B07 5 V GND Preset Function start Shield Shielded twisted pair cable Shield Shielded twisted pair cable A18 A12 24 V B18 B12 12 V A17 A11 5 V B17 B11 PRSTCOM OUT E GND Contrller QD62D OUT E 5 V DC GND A16 A10 24 V B16 B10 12 V A15 A09 5 V B15 B09 FUNCCOM Preset Function start Shield Shielded twisted pair cable Shield Shielded twisted pair cable The number inside the indicates t...

Page 47: ...iver A18 A12 24 V B18 B12 12 V A17 A11 5 V B17 B11 PRSTCOM OUT E Controller QD62D A16 A10 24 V B16 B10 12 V A15 A09 5 V B15 B09 FUNCCOM OUT E OUT OUT Preset Function start Shield Shielded twisted pair cable Shield Shielded twisted pair cable The number inside the indicates the terminal number for channel 2 ...

Page 48: ...on of the internal photocopier A wiring example is shown below 1 For QD62 QD62D Sink output type A06 A05 EQU1 B06 B05 EQU2 B02 B01 12 24 V A02 A01 0 V 10 2 to 30 V DC FUSE To fuse broken detection circuitry QD62 QD62D L L 2 For QD62E Source output type A06 A05 EQU1 B06 B05 EQU2 B02 B01 12 24 V A02 A01 0 V 10 2 to 30 V DC FUSE QD62E To fuse broken detection circuitry L L The number inside the indic...

Page 49: ...ow shows the wiring when a connector terminal block converter module and a cable are used in the QD62 E D 0 2 4 6 8 A C E 1 3 5 7 9 B D F 10 12 14 16 18 1A 1C 1E 11 13 15 17 19 1B 1D 1F 0V 24V 24V 0V QD62 DEC FUNC CH1 CH2 FUSE φ A φ B QD62 Cable AC05TB AC10TB AC20TB AC30TB AC50TB AC80TB AC100TB Connector terminal block converter module A6TBXY36 ...

Page 50: ...put 5 V B09 B CTRLCOM A08 1C Function start input 24 V B08 C Function start input 12 V A07 1D Function start input 5 V B07 D EQU1 Coincidence output point No 1 A05 1F CH2 EQU2 Coincidence output point No 2 B05 F 12 24 V B02 B01 24 V 0 V A02 A01 0 V For the QD62D Signal name Connector side terminal number Terminal block side terminal symbol Phase A pulse input A20 10 Phase A pulse input B20 0 Phase...

Page 51: ...hod for the CPU stop error and a programmable controller CPU operation method for the QD62 E D error detection 1 Double click PLC parameter in the project window in GX Developer 2 Click the I O assignment tab 3 Set the following items for the slot where the QD62 E D is mounted and then click Detailed setting Item Description Type Select Intelli Model Enter the model name of the module Points Selec...

Page 52: ...ller CPU stop error occurs Default Hold Holds the same on or off status before the CPU is stopped for the coincidence signal external outputs when a programmable controller CPU stop error occurs H W error time PLC operating mode Sets to either stop or continue the programmable controller CPU operation when an intelligent function module error SP UNIT DOWN is detected Stop Stops the programmable co...

Page 53: ...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 1 Click the I O assignment tab of the PC parameter dialog box in GX Developer Refer to Section 4 5 1 ...

Page 54: ...tch 1 for channel 1 0 H Counter format 0 Linear counter 1 Ring counter Sets the counter format Section 5 1 1 Section 5 1 2 Switch 2 for channel 2 Same data item as the switch 1 for CH1 Switch 3 Switch 4 Switch 5 No settings blank When any item is set delete the settings and leave the field blank POINT The counting speed setting of 500kPPS can only be used with the QD62D Setting the counting speed ...

Page 55: ...4 18 4 18 MELSEC Q 4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION MEMO ...

Page 56: ... 1 phase multiple of 2 For subtraction count φ A or Y03 Y0B φ B Count at φ A rise and fall φ B or Y03 Y0B is ON For addition count φ A φ B Count at φ A rise φ B is OFF CW CCW For subtraction count φ A φ B φ A is OFF Count at φ B rise For addition count φ A φ B Count at φ A rise when φ B is OFF 2 phase multiple of 1 For subtraction count φ A φ B Count at φ A fall when φ B is OFF For addition count ...

Page 57: ...Y0B turns ON Pulse input Encoder A QD62 E D B 2 CW CCW pulse input For CW CCW pulse input the up count is performed when there is a phase A pulse input and the down count is performed when there is a phase B pulse input The relationship between the phase A pulse input and phase B pulse input is shown below Addition pulse input Subtraction pulse input Encoder QD62 E D A B Encoder 3 Phase 2 pulse in...

Page 58: ...nt value Latch count value Sampling count value Periodic pulse count previous value Periodic pulse count present value CH1 2H to 3H CH to DH EH to FH 10H to 11H 12H to 13H Buffer memory address CH2 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 si...

Page 59: ...ion Counter present value 0 2 Overflow error a When the counter format is linear counter an overflow error occurs if the present counter value exceeds 2147483648 minimum value during subtraction or exceeds 2147483647 maximum value during addition b When an overflow error occurs 1 is stored in the buffer memory overflow detection flag addresses CH1 8H CH2 28H and the count stops Even if a pulse is ...

Page 60: ...ange used is ring counter minimum value present value ring counter maximum value For up count When the present value reaches the ring counter maximum value the ring counter minimum value is automatically stored as the present value For down count Even if the present value reaches the ring counter minimum value the ring counter minimum value will be retained as is With the next subtraction pulse ri...

Page 61: ...e will change as shown in the figure below 2147483648 Ring counter minimum value Present value Ring counter maximum value 0 3000 2000 2147483647 Ring counter maximum value Ring counter minimum value 2000 Present value 3000 3001 2001 to 2 1 0 to 2002 2998 2147483647 2147483648 to 2999 Count range Count range The ring counter maximum value 2000 will not be stored in the buffer memory for storing the...

Page 62: ...s 32 bit signed binary values in the coincidence output point No 1 buffer memory addresses 4H to 5H 24H to 25H 2 When the count value becomes the coincidence output point set value the counter value small signal turns OFF and the counter value coincidence signal turns ON 3 When the coincidence signal reset command is turned ON the counter value coincidence signal is reset If the counter value coin...

Page 63: ...tputs shown below SI No Interruption factor 0 Channel 1 Coincidence detection for coincidence output point No 1 1 Channel 1 Coincidence detection for coincidence output point No 2 2 Channel 2 Coincidence detection for coincidence output point No 1 3 Channel 2 Coincidence detection for coincidence output point No 2 4 to 15 Vacant Timing of interrupt signal generation I O signal Internal processing ...

Page 64: ...hich 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 ...

Page 65: ...fer memory used for setting the preset value Addresses 0H to 1H 20H to 21H Input pulse for counting Preset command Y01 Y09 Count enable command Y04 Y0C 1 100 OFF ON 101 66 65 to 2 1 0 103 Buffer memory used for storing the present value Addresses 2H to 3H 22H to 23H 104 105 100 67 102 2 Number Description 1 Any numeric value is written in 32 bit binary format into the preset value setting buffer m...

Page 66: ...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 2 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 c...

Page 67: ...he count enable command Y04 Y0C 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 2DH 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...

Page 68: ...ary values in the buffer memory Also since the contents of the buffer memory are automatically updated by the count operation the latest count values can be read from the buffer memory POINT 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...

Page 69: ...when using an external input 1000 s 1 ms pulse input speed PPS multiple count 2 Count error maximum when the counter function selection is executed by a sequence program 1000 s 1 scan time ms pulse input speed PPS multiple count 3 Count error maximum due to the internal clock when executing the sampling counter function and periodic pulse counter function 1000000 1000 s 1000000 Sampling cycle time...

Page 70: ...umber Description 1 Count operation starts when the count enable command Y04 Y0C turns ON 2 Count operation stops when the counter function selection start command Y06 Y0E turns ON 3 Count operation resumes when the counter function selection start command Y06 Y0E turns OFF 4 Count operation stops when the count function selection start command function start input turns on 5 Count operation resum...

Page 71: ...0 50 100 150 0 50 100 130 Count enable command Y04 Y0C Present value storage buffer memory Addresses 2H to 3H 22H to 23H Counter function selection start command Y06 Y0E Function start input Latch count value storage buffer memory Addresses CH to DH 2CH to 2DH When the counter function selection start command Y06 Y0E function start input rises at points indicated by 1 to 4 in the figure above the ...

Page 72: ...o 2FH Present value storage buffer memory Addresses 2H to 3H 22H to 23H ON OFF ON OFF T T T 200 100 0 200 100 0 100 1 0 1 2 3 4 5 Number Description 1 The pulses entered are counted from 0 at the rise of the counter function selection start command Y06 Y0E function start input 2 When the specified sampling time period elapses the count stops 3 While the sampling counter function is being executed ...

Page 73: ...low 0 100 200 ON OFF ON OFF 0 100 200 Count enable command Y04 Y0C Present value storage buffer memory Addresses 2H to 3H 22H to 23H Counter function selection start command Y06 Y0E Function start input Present periodic pulse count value storage buffer memory Addresses 12H to 13H 32H to 33H 1 0 2 200 3 20 4 100 5 80 6 T T T T T 1 0 2 200 3 20 4 100 5 80 0 100 200 Previous periodic pulse count valu...

Page 74: ...n the previous value buffer memory 5 The present counter value of 80 is stored in the present value buffer memory The value 100 that has been stored in the present value buffer memory will be stored in the previous value buffer memory 6 The periodic pulse counter function is executed regardless of whether the count enable command Y04 Y0C is ON or OFF 7 Value 1 is stored in the sampling periodic co...

Page 75: ... has been completed is registered in the programmable controller CPU parameters and automatically written to the QD62 E D when the programmable controller CPU is placed in the RUN status Section 7 4 Auto refresh 1 The QD62 E D s buffer memory is configured for automatic refresh CH Preset value CH Latch count value CH Sampling count value CH Periodic pulse counter present value CH Periodic pulse co...

Page 76: ...ed inappropriately while using the Intelligent function module utility If this occurs close the Intelligent function module utility GX Developer program comments etc and other applications and then start GX Developer and Intelligent function module utility again 4 To start the Intelligent function module utility a In GX Developer select QCPU Q mode for PLC series and specify a project If any PLC s...

Page 77: ...ltiple intelligent function modules are installed to the MELSECNET H remote I O station configure the settings in GX Configurator so that the number of parameter settings for all the intelligent function modules does not exceed the limit of the MELSECNET H remote I O station Calculate the total number of parameter settings separately for the initial setting and for the auto refresh setting The num...

Page 78: ... System English version MicrosoftR Windows NTR Workstation Operating System Version 4 0 English version MicrosoftR WindowsR 2000 Professional Operating System English version MicrosoftR WindowsR XP Professional Operating System English version MicrosoftR WindowsR XP Home Edition Operating System English version MicrosoftR Windows VistaR Home Basic Operating System English version MicrosoftR Window...

Page 79: ...vice Pack 1 or more PentiumR 300MHz or more 128MB or more Windows VistaR Home Basic PentiumR 1GHz or more 1GB or more Windows VistaR Home Premium PentiumR 1GHz or more 1GB or more Windows VistaR Business PentiumR 1GHz or more 1GB or more Windows VistaR Ultimate PentiumR 1GHz or more 1GB or more Windows VistaR Enterprise PentiumR 1GHz or more 1GB or more POINT The functions shown below are not avai...

Page 80: ... cursor Page Up Moves the cursor one page up Page Down Moves the cursor one page down Enter Completes the entry in the cell 2 Data created with the utility package The following data or files that are created with the utility package can be also handled in GX Developer Figure 6 1 shows respective data or files are handled in which operation Intelligent function module parameter a This represents t...

Page 81: ...tting or Monitor Test screen The text files can be utilized to create user documents b Text files can be saved in any directory However a path folder where the file is to be saved cannot be created during Make text file operation so create a folder in advance for saving the file using WindowsR Explorer QCPU RUN ERR BAT BOOT RS 232 USB Q25HCPU MODE A GX Developer GX Configurator CT Disk Project A A...

Page 82: ...s Intelligent function utility Start Screen for intelligent function module parameter setting module select Enter Start I O No then select Module type and Module model name See Section 7 3 3 Initial setting screen See Section 7 4 Initial setting Auto refresh setting screen See Section 7 5 1 Auto refresh ...

Page 83: ...7 9 7 9 MELSEC Q 7 UTILITY PACKAGE GX Configurator CT Online Monitor test Select monitor test module screen Monitor test screen See Section 7 6 Select a module to be monitored tested 1 Monitor test ...

Page 84: ...her screens Following screens can be displayed from the intelligent function module utility screen a Initial setting screen Start I O No 1 Module type Module model name Initial setting b Auto refresh setting screen Start I O No 1 Module type Module model name Auto refresh c Select monitor test module screen Online Monitor Test 1 Enter the start I O No in hexadecimal 2 Command buttons Delete Delete...

Page 85: ...unction module parameters in a file Since intelligent function module parameters cannot be saved in a file by the project saving operation of GX Developer save them on the shown module selection screen 2 Reading writing intelligent function module parameters from to a programmable controller CPU using GX Developer a Intelligent function module parameters can be read from and written into a program...

Page 86: ...lue Sampling periodic setting Coincidence output point set No 1 Ring counter maximum value Coincidence output point set No 2 Ring counter minimum value Counter function selection setting These initial settings eliminate the need to set sequence programs Startup procedure Start I O No Module type Module model name Initial setting Enter the start I O No in hexadecimal Setting screen CH1 Initial sett...

Page 87: ...arameters After being written to the CPU module the initial setting is made effective by either 1 or 2 1 Cycle the RUN STOP switch of the CPU module STOP RUN STOP RUN 2 With the RUN STOP switch set to RUN turn off and then on the power or reset the CPU module If the initialization settings have been written by a sequence program the initialization settings will be executed during the STOP RUN of t...

Page 88: ...ers Present value Periodic pulse counter previous value Latch count value Sampling periodic counter flag Sampling count value Overflow detection flag Periodic pulse counter present value This auto refresh setting eliminates the need for reading and writing by sequence programs Operating procedure Start I O No Module type Module model name Auto refresh Enter the start I O No in hexadecimal Setting ...

Page 89: ...by 16 points examples X10 Y120 M16 etc Also buffer memory data are stored in a 16 point area starting from the specified device number For example if X10 is entered data are stored in X10 to X1F 2 Command buttons Make text file Creates a file containing the screen data in text file format End setup Saves the set data and ends the operation Cancel Cancels the setting and ends the operation POINT Th...

Page 90: ...creen Operating procedure Select monitor test module screen Start I O No Module type Module model name Monitor test 1 Enter the start I O No in hexadecimal The screen can also be started from System monitor of GX Developer Version 6 or later Refer to the GX Developer Operating Manual for details Setting screen X Y monitor test Preset 1 Selecting these buttons displays the following screens ...

Page 91: ...7 17 7 17 MELSEC Q 7 UTILITY PACKAGE GX Configurator CT Counter selection 1 Coincidence output Ring counter ...

Page 92: ...y Close Closes the screen that is currently open and returns to the previous screen REMARK The following explains an example to change settings for the selected test operation to the following Counter function selection setting Sampling counter function Counter function selection start command Y06 ON Sampling periodic setting unit 10 ms 1000 ms 1 Set Sampling counter function in the setting value ...

Page 93: ... GX Developer See Section 4 5 Channel Pulse input mode Counting speed setting Counter format CH1 2 phase multiple of 1 200 kPPS User setting 3 Program conditions This program uses QD62 to perform counting with the conditions listed below Item Setting value Preset value 2500 Coincidence output point No 1 1000 Ring counter minimum value 1 5000 Ring counter maximum value 1 5000 Sampling time setting ...

Page 94: ...Current value read signal X12 Coincidence output data setting signal X13 Preset command signal X14 Count operation stop signal X15 Coincidence LED clear signal X16 Counter function execution start signal X17 Counter function execution stop signal X18 Latch count data read signal X19 Latch execution signal X1A Sampling count data read signal X1B Sampling count start signal X1C Periodic pulse count ...

Page 95: ...nce output point set No 2 This is not used Counter function selection setting Set the counter function to be used When a counter function is not used sets any function Set according to the function used Set 1000 when the sampling counter function is used 1000 Sampling periodic setting Unit 10 ms Set 500 when the periodic pulse counter function is used 500 Ring counter minimum value Set only when t...

Page 96: ...e for storing the previous periodic pulse count value when the periodic pulse counter function is used D6 CH1 Periodic PLS counter present value Set the device for storing the present periodic pulse count value when the periodic pulse counter function is used D8 CH1 Sampling periodic counter flag This is not used CH1 Overflow detection flag Set the device for storing the overflow detection result ...

Page 97: ...8 5 8 5 MELSEC Q 8 PROGRAMMING 3 Program example a Set only when the linear counter is used ...

Page 98: ...using the functions listed below use the following programs 1 When the disable count function is used 2 When the latch counter function is used 3 When the sampling counter function is used 4 When the periodic pulse counter function is used ...

Page 99: ...n stop signal X15 Coincidence LED clear signal X16 Counter function execution start signal X17 Counter function execution stop signal X18 Latch count data read signal X19 Latch execution signal X1A Sampling count data read signal X1B Sampling count start signal X1C Periodic pulse count data read signal X1D Periodic pulse count start signal QX10 X10 to X1F Y20 Coincidence confirmation LED signal Y2...

Page 100: ...8 8 8 8 MELSEC Q 8 PROGRAMMING 2 Program example a Set only when the ring counter is used ...

Page 101: ...mpling counter function and the periodic pulse counter function use the following programs 1 When the sampling counter function is used 2 When the periodic pulse counter function is used b When using the functions listed below use the following programs 1 When the disable count function is used ...

Page 102: ...8 10 8 10 MELSEC Q 8 PROGRAMMING 2 When the latch counter function is used 3 When the sampling counter function is used 4 When the periodic pulse counter function is used ...

Page 103: ...d setting Counter format CH1 2 phase multiple of 1 200 kPPS User setting 3 Program conditions The CPU module mounted on the remote master station reads the values counted under the following condition by using the QD62 in a program Item Setting value Preset value 2500 Coincidence output point No 1 1000 Ring counter minimum value 1 5000 Ring counter maximum value 1 5000 Sampling time setting 2 1000...

Page 104: ...22 Coincidence output data setting signal X23 Preset command signal X24 Count operation stop signal X25 Coincidence LED clear signal X26 Counter function execution start signal X27 Counter function execution stop signal X28 Latch count data read signal X29 Latch execution signal X2A Sampling count data read signal X2B Sampling count start signal X2C Periodic pulse count data read signal X2D Period...

Page 105: ...SEC Q 8 PROGRAMMING 2 GX Developer operation Network parameter setting Network type MNET H Remote master Starting I O No 0000H Network type 1 Total stations 1 Mode Online Network range assignment Refresh parameters ...

Page 106: ...ence output point set No 2 This is not used Counter function selection setting Set the counter function to be used When a counter function is not used sets any function Set according to the function used Set 1000 when the sampling counter function is used 1000 Sampling periodic setting Unit 10 ms Set 500 when the periodic pulse counter function is used 500 Ring counter minimum value Set only when ...

Page 107: ...ce for storing the previous periodic pulse count value when the periodic pulse counter function is used W6 CH1 Periodic PLS counter present value Set the device for storing the present periodic pulse count value when the periodic pulse counter function is used W8 CH1 Sampling periodic counter flag This is not used CH1 Overflow detection flag Set the device for storing the overflow detection result...

Page 108: ...eset completion of Counter value coincidence Point No 1 X1022 Resets Counter value coincidence Point No 1 X1022 Turns on Coincidence confirmation LED signal Y20 in counter value coincidence Resets Coincidence output enable command Y1022 Resets Y1020 after the counter value coincidence signal is output Sets Coincidence output enable command Y1022 Sets Coincidence signal No 1 reset command Y1020 ...

Page 109: ...the latch counter function is used Turns off Counter function execution start signal X1026 Executes the latch counter function 3 When the sampling counter function is used Turns off Counter function execution start signal X1026 Executes the sampling counter function 4 When the periodic pulse counter function is used Turns off Counter function execution start signal X1026 Executes the periodic puls...

Page 110: ... signal X28 Latch count data read signal X29 Latch execution signal X2A Sampling count data read signal X2B Sampling count start signal X2C Periodic pulse count data read signal X2D Periodic pulse count start signal QX10 X20 to X2F Y30 Coincidence confirmation LED signal Y31 Overflow occurrence confirmation LED signal QY10 Y30 to Y3F X1020 Module ready X1022 Counter value coincidence point No 1 Y1...

Page 111: ...7 Baton pass status of own station SB49 Data link status of own station SW70 Baton pass status of each station SW74 Cyclic transmission status of each station SW78 Parameter communication status of each station T1 to T9 T100 to T104 Interlock for own station and other stations 2 GX Developer operation Network parameter setting Network type MNET H Remote master Starting I O No 0000H Network type 1 ...

Page 112: ...pass status Checks master station data link status Checks remote I O station baton pass status Checks remote I O station data link status Checks remote I O station parameter communication status Set preset values Coincidence output No 1 to 1000 Set only when the ring counter is used ...

Page 113: ...ter the counter value coincidence signal is output Resets Coincidence output enable command Y1022 Turns on Coincidence confirmation LED signal Y30 in counter value coincidence Resets Counter value coincidence Point No 1 X1022 Informs the reset completion of Counter value coincidence Point No 1 X1022 Executes Preset command Y1021 Resets Preset command Y1021 when the preset is completed ...

Page 114: ...pulse counter function is used Periodic pulse time to 5000 ms b When using the functions listed below use the following programs 1 When the disable count function is used Selects the disable count function Starts the disable count function Stops the disable count function 2 When the latch counter function is used Selects the latch counter function Starts the latch counter function Stops the latch ...

Page 115: ...er function Reads the sampling count value 4 When the periodic pulse counter function is used Selects the periodic pulse counter function Starts the periodic pulse counter function Stops the periodic pulse counter function Reads the previous and present periodic pulse count values Reads the previous and present periodic pulse count values again if the values are same ...

Page 116: ...on 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 2 Program example Before using an interrupt pointer an interrupt must be enabled using the IMASK instruction Interrupt program QD62 E D pro...

Page 117: ...ogram is execution enabled and other interrupt programs are execution disabled When executing interrupt programs other than I50 set the corresponding bit for interrupt program to be executed to 1 enabled For details of the IMASK instruction refer to QCPU Q Mode QnACPU Programming Manual Common Instructions ...

Page 118: ...buffer memory address 8H 28H 0 No overflow detected 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 Preset to clear the overflow error Fuse broken detection 1 The fuse for the coincidence signal external output section has blown 1 FUSE LED on the front of ...

Page 119: ...ve explaining a detailed description of the problem Is the external wiring of φ A and φ B normal Check the external wiring and correct the error Is the count enable command Y04 Y0C ON Turn the count enable command Y04 Y0C ON with the sequence program Are the pulse input method and pulse input mode set with the intelligent function module switch setting the same Match the pulse input method with th...

Page 120: ...n 32 bit binary in the sequence program Correct the sequence program so that the count value data can be treated in 32 bit binary Are the shielded twisted pair cables used for pulse input wiring Use the shielded twisted pair cables for pulse input wiring Doesn t any noise come from the ground part of the QD62 E D Separate the ground cable of the QD62 E D from the ground part When the QD62 E D case...

Page 121: ... APPENDIX APPENDIX Appendix 1 External Dimension Diagram QD62 QD62E QD62D Unit mm in 98 3 86 27 4 1 08 90 3 54 23 0 91 4 0 16 46 1 81 A value in parentheses shows the reference measurement when the A6CON1 is installed App ...

Page 122: ...available The ring counter operation only between the preset value and the coincidence output point Setting values cannot be changed during operation Coincidence detection function Function available program interrupt allowed Function available coincidence detection only Counter Overflow detection function Function available No function Maximum and minimum value settings for the ring counter funct...

Page 123: ...Coincidence output function 3 4 5 7 Counter function 6 1 Disable count function 3 4 6 4 Latch counter function 3 4 6 5 Linear counter function 3 4 List 3 4 7 1 Periodic pulse counter function 3 4 6 7 Preset function 3 4 5 10 Sampling counter function 3 4 6 6 Ring counter function 3 4 H Handling precautions 4 1 7 2 I Initial settings 7 12 Installing and uninstalling 7 2 Interface with external devi...

Page 124: ...ng the present values 5 3 Ring counter function 3 4 5 5 S Sampling counter function 3 4 6 6 Setup and procedure before starting the operation 4 1 SI 5 8 Specifications 3 1 Starting the utility 7 10 Startup 7 12 Supported software packages 2 3 Switch setting for the intelligent function module 4 16 Switch 4 14 System configurations 2 1 T Text files 7 7 The details of the I O signals 3 6 Troubleshoo...

Page 125: ...ed 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 O...

Page 126: ...ntries Pentium is a trademark of Intel Corporation in the United States and other countries Ethernet is a trademark of Xerox Corporation All other company names and product names used in this manual are trademarks or registered trademarks of their respective companies SPREAD Copyright c 1996 FarPoint Technologies Inc SH NA 080036 N ...

Page 127: ......

Page 128: ......

Reviews: