Home
Multichannel High-Speed Counter Module User`s Manual
Contents
1. G 15 6 6 Monitoring Testeeeeeeeeee eee ee ee o en en eee eo eee eee G 17 6 6 1 Monitoring Test o oso eee eese eese eese esee eee ee eee eseeeseeeeseee G 17 CHAPTER7 PROGRAMMING 7 1to7 14 7 1 Example when GX Configurator CT is 7 3 7 1 1 GX Configurator CT operation 00000000000000000000000000000000000000000000000000000000000000000000000000000 T 3 7 1 2 Program example 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 7 5 7 2 Example when GX Configurator CT is not Used 00000000000000000000000000000000000000000000000000 T 7 2 1 Program example when dedicated instructions are Used eeeeeeeee ee ee ee ee ee ee ee ee ee eee ee eese ee 7 7 7 2 2 Program example when dedicated instructions not usedeeeseeeeeeee eee ee eee esee eee eese eee eeese 7 10 7 3 Program Example when the Coincidence Detection Interrupt Function is Used eeeeeeeeeeeeseesesee 7 13 CHAPTER8 TROUBLESHOOTING 8 1to8 9 8 1 Error Processing and Recov
2. 2 CHAPTER2 SYSTEM CONFIGURATION 2 1to2 8 2 1 Applicable Systems 2 1 2 2 About Use of the QD63P6 with Redundant CPU 0000000000000000000000000000000000000000000000000000000000000 4 2 3 How to Check the Function Version Serial No Software Version 2 _ 5 CHAPTER3 SPECIFICATIONS 3 1to3 18 3 1 Performance Specifications 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 3 1 3 2 Function List 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009 3 2 3 3 Signals to the Programmable Controller CPU 000000000000000000000000000000000000000000000000000000000099 3 3 3 3 1 signal 5 3 3 3 3 2 Functions of signals 0000000000000000000000000000000000000000000000000000000000000
3. 1 CONDITIONS OF USE FOR THE PRODUCT A 4 REVISIONS _ 5 INTRODUCTION e eeceee ee eee e ee ee eee ee ee oe ee eee oe ee eee esses esos G fefe iz 10 COMPLIANCE WITH EMC AND LOW VOLTAGE DIRECTIVES ee eee ee ee eee ee eee eeseeeeecsccesccscecese A GENERIC TERMS AND ABBREVIATIONS eeeeeee eee ee ee eee eee eee eee ee esee sesso esee seseocsecesecseecescceseceeeeeeeceee _ 1 PACKING LIS T E 10 CHAPTER1 OVERVIEW 1 1 1 2 1 1 Features
4. 3 12 Coincidence signal reset commande e ee eee ee e e 3 7 Common operation 6 65 Connectable Encoders 3 18 Connector e eccccecececececcececccccccccccecceccccecccccccece _ Connectors for external wiring eeeeee eee eee eee e 4 4 Count enable command YO4 eecccccccecccccceccececccee 3 9 Count methods 5 Count range 5 5 Count timing P Counter format 4 14 4 1 5 5 3 Counter value coincidence X02 ee ee eee e e 3 6 Counter value large X01 3_ Counter value small X03 3 6 Counting speed 3 1 Counting speed setting 0000000000000000000000000 4 14 4 15 Crimp tool 000000000000000000000000000000000000000000000000 4 4 CW CQW
5. 2 H HAN LED Information 0000000000000000000000000000000000 8 2 HAN SW Information 8 2 I IMASK instruction 5 15 7 14 Initial Setting 5 Installation and uninstallation seeeee esee eee e e 6 2 Intelligent function module interrupt pointer setting Intelligent function module switch setting 4 14 Interface with External Devices eeeee eee eee e 3 17 Interrupt pointer setting signal liSt 3 3 J Judgment value for updated periodic pulse count value Un G1 8 and 1 9 00000000000000000000000000000000 3 1 5 L LE Decccccccccccccccccccccccccccccccccccccccccccccccccce 4 3 8 3 Linear counter FUNCTION eeececccccccccccccccccccccce 3 2 5 4 Low Voltage Directiveccecccccccccccccccccccccccccccccces Z 7 M Measures against NOISE eeccccccecccceccecccccccccceccececcee _ Module READY X00 3 5 Module s Detailed Information e eeeeee eee eee e 8 2 Monitor Test 1
6. 5 1 D Dedicated Instructions ADPX 1 Details of the buffer memory eeee eee ee eee ee 3 11 E Directive _ 7 Error code Un G20 3 15 Error Codes List 8 98 Error occurrence X1 eroe eoe eoo eoo 3 6 Error Processing and Recovery Methods 8 1 Error reset command UN G21 sesseseseesescceeseses 3 16 ERR LED eee eese eee eoe ee ose eseeececceeecsses 3 O 3 Example of wiring the module and an encoder 4 8 External Dimensions ADPX 5 F Features 1 2 Function List 3 2 Function version 2 3 2 5 Functions of I O signals 3 5 Functions of the utility package eee e 6 1 G G P
7. D 4 multiples of 2 phases DL 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 shall be eighteen 18 months The gratis warranty term of repair parts shall not exceed the gratis warranty term before repairs Gratis Warranty Range 1 The range shall be limited to normal use within the usage state usage methods and usage environment etc which follow the conditions and preca
8. Device Operation Programmable controller Description No timing CPU QD63P6 YO01 CH1 06 CH2 Turn ON to reset the counter value coincidence X02 Note that the ON OFF time must be 2ms or longer 1 YOB CH3 Coincidence signal Turn OFF the coincidence signal reset command Y01 when the Y10 CH4 reset command Jj L counter value coincidence X02 is reset For general operation refer to Counter value large X01 or Y15 CH5 Section 5 3 Y1A CH6 Turn ON to execute the preset function Y02 CH1 Note that the ON OFF time must be 2ms or longer 1 Turn OFF the preset command Y02 when the preset value YO CH2 setting Un G4 and 5 is stored to the present value A Un G10 and 11 present value B Un G200 and 201 YOC CH3 For general operation refer to Section 5 4 Presetcommand 7 s Jv Performed by the QD63P6 f L CH1 Preset value setting Y11 CH4 Un G4 and 5 100 CH1 Preset command oN Y02 Y16 CH5 Dod CH1 Present value A 1 Un G10 and 11 0 X 100 Y1B CH6 TEES Turn ON to perform the subtraction count at 1 phase pulse input CH1 mode lf either phase B pulse is input or the subtraction count command Y08 CH2 Y03 turns ON the subtraction count is performed Check that the phase B pulse is input and the subtraction count command 03 is OFF for addition YOD CH3 This command operates as follows when the pulse input mode is Subtraction c
9. 5 17 5 5 Using the Periodic Pulse Counter Function 00000000000000000000000000000000000000000000000000000000000000000 5 18 5 6 Response Delay Time 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 5 22 CHAPTER6 UTILITY PACKAGE GX Configurator CT 6 1 to 6 20 6 1 Utility Package Functions 00000000000000000000000000000000000000000000000000000000000000000000000000000000000cccccc 1 6 2 Installing and Uninstalling the Utility Package e eeeeeeeeeee eee eee ee ee eene re eere ee ree ee eee eee eee e eee ee 6 2 6 2 1 Handling precautions eeeeeeeeeee e ee eee ee ee eee ee eo eee ee o eee sesso sse eeesosceeeeese ee G 2 6 2 2 Operating environmenteeeeeeeeee e ee ee eee ee ee eee eo eee ee o eee eee oes eee osse sos so cos ososeceeeesscseeeeesee e G 6 3 Utility Package Operation eeeeeeeeeee eee ee ee ee eee ee eee eee e eo eee oo eese e oes esos cocos ee osscoesesossceescee e G G 6 3 1 utility package operations eeeeee ecce eee e eee eee eee eee e ee eee ee oo eo eee oe oe eese oso sseeeeesee ee G 6 3 2 Operation overview 090000000000000000000000000000000000000000000000000000000000000000000000000000000000ccc0ccc j 8 6 3 3 Starting the Intelligent function module utility 0 000000000000000000000000000000000000000000000000000000000 6 gt 10 6 4 Initial 6 5 Auto
10. 2 3 2 5 Starting the Intelligent function module utility 6 10 Subtraction count command Y03 ssessesseseeseeseee 3 7 System Monitor 3 1 T Text file 0 000000000000000000000000000000000000000000000000000 6 7 Tightening torque ange 4 1 TROUBLESHOOTING 000000000000000000000000000000000 8 1 V Version 0000000000000000000000000000000000000000000000 2 3 2 5 IW When Coincidence Detection Interrupt does not occur 0909090000000000000000000000000000000000000000000000000000000000 8 7 When the QD63P6 does not normally count 8 6 When the QD63P6 does not start counting 8 5 When the RUN LED and ERR LED turn ON 8 4 INDEX 2 When the RUN LED turns OFF eeseee eene nee 8 4 Wiring 00000000000000000000000000000000000000000000000000000 4 5 Wiring 4 5 Numerics 1 multiple of 1 phase P 1 multiple of 2 phases 2 multiples of 1 phase 2 multiples of 2 phases
11. xi Input format HEx PLC PLE 1 o 0 0 Intelli QD63P6 0123 2 fon 21022 4 303 5 404 amp ed 8 3 10 11 12 13 14 15 zi care Figure 4 14 Switch setting for I O and intelligent function module screen x POINT Since Error time output mode and H W error time PLC operation mode on the Switch setting for I O and intelligent function module screen are disabled to the QD63P6 the settings are unnecessary 4 16 4 5 Intelligent Function Module Switch Setting FUNCTIONS CHAPTERS FUNCTIONS 5 1 5 1 1 Pulse input method 1 multiple of 1 phase This chapter describes functions of the QD63P6 Pulse Input and Count Methods Types of the pulse input method eG Q series There are six kinds of the pulse input methods 1 phase pulse input 1 or 2 multiples CW CCW pulse input and 2 phases pulse input 1 2 or 4 multiples The pulse input methods and count timing are shown in Table 5 1 This chapter describes I O numbers X Y of channel 1 only For I O numbers of channels 2 to 6 X Y refer to Section 3 3 1 The count method is set in the intelligent function module switch setting of GX Developer Refer to Section 4 5 For addition count Table 5 1 Types of the pulse input method Count timing and subtraction count command Y03 Counts on the rising edge 1 of and t
12. CHAPTER3 SPECIFICATIONS z This chapter describes the performance specifications of the QD63P6 I O signals to the amp programmable controller CPU specifications of the buffer memory 5 For general specifications of the QD63P6 refer to the User s Manual for the CPU module 3 1 Performance Specifications lt The following table shows the performance specifications of the QD63P6 Eu gt Table 3 1 Performance specifications of the QD63P6 ien Model 3 QD63P6 Counting speed switch setting 1 200 k 100 k to 200 kPPS 100 k 10 k to 100 kPPS 10 k 10 kPPS or less 5 Number of occupied I O points 32 points I O assignment Intelligent 32 points lt Number of channels 6 channels m Count input Phase 1 phase input 2 phase input signal Signal level 5VDC 6 4 to 11 5 mA Counting speed 200 kPPS 100 kPPS 10 max 2 Counting range 32 bit signed binary 2147483648 to 2147483647 Model UP DOWN preset counter Ring counter function 5 100 Counter LE 1 Minimum count pulse width Duty ratio 50 2 5 2 5 Unit us Unit us guo Unit us Minimum phase difference for 2 Minimum phase difference for Minimum phase difference for PROCEDURES AND SETTINGS BEFORE OPERATION phase input 1 25 4s 2 phase input 2 5 us 2 phase input 25 4s 2 Comparison range 32 bit signed binary Setting
13. 3 5 Interface with External Devices The following table shows the list of external device interface for the QD63P6 Table 3 8 External device interface list for the QD63P6 6 Operating Input voltage S Terminal RENS Internal circuit Signal name Operation guaranteed z classification number guaranteed value value 5 EE a Phase A pulse input ON 4 5t05 5V 6 4to 11 5 mA E 3 Phase pulse input OFF 2V orless 0 1 mA or less 24001 8W Refer to 2 Input _ Table 3 9 lt ROR Phase B pulse input ON 45to5 5V 6 4to 11 5 mA v E Phase B pulse input OFF 2 V or less 0 1 mA or less 2400 1 8 W au zn BE Table 3 9 Terminal layout of each channel 0 2 lt Terminal Terminal 2 n Terminal layout Signal name Signal name number number B20 Reserved A20 Reserved B19 CH1 Phase A pulse input A19 CH1 Phase A pulse input B18 CH1 Phase B pulse input A18 CH1 Phase B pulse input e B17 Reserved A17 Reserved 5 Ped reed rs B16 CH2 Phase A pulse input A16 CH2 Phase A pulse input Bp ie Ae B15 CH2 Phase B pulse input A15 CH2 Phase B pulse input A pte iu B14 Reserved A14 Reserved B14 0 0 A14 B13 CH3 Phase A pulse input A13 CH3 Phase A pulse input B13 0 A13 B12 12 B12 CH3 Phase B pulse input A12 CH3 Phase B pulse input ihe Ed A B11 Reserved A11 Reserved 3 cud
14. The following setting items are available for parameters of Auto refresh setting Present value A Previous periodic pulse count value Present value B Present periodic pulse count value 5 Overflow detection flag Judgment value for updated periodic pulse count value 9 Periodic counter flag Error code 5 m gt This auto refresh setting eliminates the need for reading by sequence programs Operating procedure Start No Module type gt Module model name __4utoreftesh g Enter the start I O No in hexadecimal 2 lt Setting screen Auto refresh setting E N Module information Module type Counter Module Start 170 No 0000 Module model name zu Xo Qu Module side Module side edes PLC side fe Mz Setting item Buffer size Transfer direction Device 200 word count 5 E z OF gt SER pmmeendes EBS CH1 Periodic counter flag E CH2 Present value Make text file End setup Figure 6 7 Auto refresh setting screen GX Configurator CT 92 FUNCTIONS UTILITY PACKAGE PROGRAMMING TROUBLESHOOTING 6 5 Auto Refresh 6 15 6 UTILITY PACKAGE Configurator CT 6 16 Explanation of items 1 Items Module side Buffer size Module side Transfer word count Transfer direction PLC side Device 2 Command buttons MELSEC 8 Displays the bu
15. 6 6 Monitoring Test er 6 6 1 Monitoring Test z Purpose Start buffer memory monitoring testing and I O signal monitoring testing from this screen Operating procedure z Select monitor test module screen gt Start No Module type Module zo 25 model name _ Monitor Test 25 Enter the start I O No in hexadecimal The screen can also be started from System monitor of GX Developer Version 6 or later 2 Refer to the Developer Operating Manual for details E D zn into EE ene ano ROAST ui 2 FUNCTIONS UTILITY PACKAGE PROGRAMMING TROUBLESHOOTING 6 6 Monitoring Test 6 17 6 6 1 Monitoring Test 6 UTILITY PACKAGE Configurator CT Monitor Test Module information Module type Counter Module Module model Setting screen Start 1 0 0000 Setting tem Curent value Setting value Present value B CHE Overflow detection flag Subtraction count command Y 1C Count enable command Y1D CHE Error code CHE Error reset command XZY Monitor Test XZY Monitor Test Preset function Preset function Coincidence output function Coincidence output function Ring counter function Periodic pulse counter function Ring counter function Periodic pulse counter function Flash ROM setting Current value d
16. Software version Developer Configurator CT Works2 SIS D Q series Multiple CPU system Version 8 or later Veron sR arla Q02 Q02H Q06H Q12H Single CPU system Version 4 or later Q25HCPU Multiple CPU system Version 6 or later Single CPU system Q02PH Q06PHCPU Version 8 68W or later Multiple CPU system ingle CP t Q12PH Q25PHCPU 2096 Version 7 101 or later Cannot be used Multiple CPU system Redundant CPU Q12PRH Q25PRHCPU Version 8 45X or later system ingle CP t CPU system sion 8 76E or later Multiple CPU system Version 1 25AB or later Q02U Q03UD Q04UDH Single CPU system Version 8 48 or later QO6UDHCPU Multiple CPU system ingle CP t Q1oupH azoUDHcPU 879 CPU system Version 8 76E or later Multiple CPU system ingle CPU syst ion 1 Q13UDH Q26UDHCPU 9ingle CPU system Version 8 620 or later MESO only Multiple CPU system QO3UDE Q04UDEH Single CPU system QO6UDEH Q13UDEH Version 8 68W or later Multiple CPU system Q26UDEHCPU ingle CP t Q10UDEH Q20UDEHCPU 21191 CPU system ern 8 76E or later Multiple CPU system Q50UDEH Single CPU system a Use prohibited Use prohibited Version 1 31H or later Q100UDEHCPU Multiple CPU system When mounted to the MELSECNET H remote I O station 4 Connector Version 6 or later Version 1 25AB or later The connector is not included with the QD63P6 Purchase it wit
17. 7 3 Program Example when the Coincidence Detection Interrupt Function is Used i This section describes a program example to start an interrupt program upon amp detecting coincidence of coincidence detection point of channel 1 1 System configuration E 5 20 bz gt nO QD63P6 XIYO to X Y1F Figure 7 4 System configuration when the coincidence detection interrupt function is used SPECIFICATIONS 28 2 Program conditions TH a Interrupt pointer setting e Set the values at PLC parameter PLC system Intelligent function module SEE setting Interrupt pointer setting in the Project data list on GX Developer EZS Set the values for this program example as shown below Intelligent function module interrupt pointer setting PLC side 2 rre 2 UTILITY PACKAGE GX Configurator CT Figure 7 5 Intelligent function module interrupt pointer setting PROGRAMMING b Devices used by users Table 7 7 Devices used by users Description Setting value Interrupt enabled flag storage for the IMASK instruction D20 to D35 TROUBLESHOOTING 7 3 Program Example when the Coincidence Detection Interrupt Function is Used 7 13 PROGRAMMING MELSEC 3 Program example An interrupt must be enabled using the IMASK instruction before using an interrupt pointer Enabling interrupt of 150 gt QD63P
18. 000000 ERR GE VICE ICE bows EN e Fi to g EE bo ey MEE MEME EE El d 21 meum SOEUR 5 V 5 23 0 91 90 3 54 46 1 81 27 4 1 08 136 5 35 Unit mm inch AP PX 5 Appendix 2 External Dimensions INDEX A Applicable Systemeeeeee eee eee e eee eee e eee eee eee oe eoe 2 1 Auto 1 6 15 A6CON1 00000000000000000000000000000000000000000000000000 4 4 6 2 9 4 4 6 3 4 4 9 4 4 Buffer Memory Assignmenteeeseeee 3 0 Checking error description Q 7 Coincidence detection function 3 2 5 12 Coincidence detection interrupt function 3 2 5 14 Coincidence detection point change request Un G8 000000000000000000000000000000000000000000000000000000000000 3 1 2 Coincidence detection point setting Un G6 and 7
19. FUNCTIONS MELSEC 8 Table 5 1 Types of the pulse input method Continued Pulse input Count timing method For addition count i Lf VU When is OFF counts on the rising edge 1 of dA When is ON counts on the falling edge of dA eB 2 multiples of 2 phases For subtraction f f When is ON counts on the rising edge 1 of GA count When is OFF counts on the falling edge of a FF When is OFF counts on the rising edge 1 of Forsdditanednt When is ON counts on the falling edge of i i When is ON counts on the rising edge f of 4 multiples of 2 When is OFF counts on the falling edge of phases iA When is ON counts on the rising edge 1 of For subtraction When is OFF counts on the falling edge of count i When is OFF counts on the rising edge 1 of GB When is ON counts on the falling edge of GB POINT In the case of addition in 1 phase pulse input make sure that phase B pulse input and the subtraction count command 03 are OFF before performing pulse input of phase A If either of phase B pulse input or the subtraction count command 03 is ON subtraction count is performed in pulse input of phase A 5 2 5 1 Pulse Input and Count Methods 5 1 1 Types of the pulse input metho
20. Present value A present value B lt Ring counter lower limit value Un G10 and 11 Un GO and 1 Un G200 and 201 or Ring counter upper limit value lt Present value A present value B Un G2 and 3 Un G10 and 11 Un G200 and 201 a General operation A Present counter value 2147483647 Ring counter upper limit value Un G2 and 3 Ring counter lower limit value Un GO and 1 1 1 1 Subtraction Addition I 1 1 1 1 1 I 2147483648 v Figure 5 5 Ring counter operation image 2 b Setting method Set the ring counter upper limit value Un G2 and 3 ring counter lower limit value Un GO and 1 and preset value setting Un G4 and 5 as shown below and then turn ON the preset command 02 After the preset value setting Un G4 and 5 became effective turn OFF the preset command Y02 and turn ON the count enable command Y04 Preset value setting Ring counter lower limit value Un G4 and 5 Un GO and 1 Or Ring counter upper limit value lt Preset value setting Un G2 and 3 Un G4 and 5 5 8 5 2 Selecting Counter Format 5 2 2 Selecting the ring counter FUNCTIONS MELSEC eries C Count operation Addition count Even if the present value A Un G10 and 11 present value B Un G200 and 201 reaches the ring counter lower limit value Un GO and 1 the ring 2 counter lower limit value Un GO and 1 is held as it is And by the n
21. 1 The functions shown below not available for Windows XP Windows E N Vista and Windows 7 If any of the following functions is attempted this product may not operate m normally Start of application in Windows compatible mode uu Fast user switching ag 2 Remote desktop SE ano Large fonts Details setting of Display Properties Also GX Configurator CT is not supported by 64 bit Windows XP and 64 bit Windows Vista 2 Use a USER authorization or higher in Windows Vista and Windows 7 3 When Windows 7 is used the following functions are not available Windows XP Mode Windows Touch Nodes ui 2 FUNCTIONS UTILITY PACKAGE PROGRAMMING TROUBLESHOOTING 6 2 Installing and Uninstalling the Utility Package 6 5 6 2 2 Operating environment 6 UTILITY PACKAGE Configurator CT M 2156 Q series 6 3 Utility Package Operation 6 3 1 Common utility package operations 1 Control keys Table 6 6 shows the special keys that can be used in operations of the utility package and their applications Table 6 6 Control keys Key Application Cancels the current entry in a cell Esc Closes the window Tab Moves between controls in the window a Used in combination with the mouse operation to select t multiple cells for test execution Deletes
22. Auto refresh Auto refresh setting screen Auto refresh setting Module information Module type Counter Module Start No 0000 Module model 9063 6 Module side Module side PLC side duy 8 Transfer Setting item Buffer size Transfer ditection Device word count CH1 Present value CH1 Present value B CH1 Overflow detection flag CH1 Periodic counter flag CH1 Previous periodic pulse count value CH1 Present periodic pulse count value CH1 Judgment value for updated periodic pulse count value CH2 Present value A Make text file End setup Refer to Section 6 5 Figure 6 4 General operation 6 UTILITY PACKAGE Configurator CT als 26 fel gt 02 gt 2 o i 20 E 26 gt nO 22 2 o LE lt 1 Online Monitor Test Selecting monitor test module screen e Select monitor test module Select monitor test module Start 1 0 Module type 0000 E lodule model name 72 LL QD63P6 fe Pa gt 200 Module implementation status 2 lt Start 170 No Module model name 8 ui 10000 006326 Y m z Monitor Test Select a module to be monitored tested Monitor Test Monitor Test screen Monitor Test Module information Module type Counter Mo
23. Hard disk space Display 800 x 600 dots or more resolution Microsoft Windows 95 Operating System English version Microsoft Windows 98 Operating System English version Microsoft Windows Millennium Edition Operating System English version Microsoft Windows NT Workstation Operating System Version 4 0 English version Microsoft Windows 2000 Professional Operating System English version Microsoft Windows XP Professional Operating System English version SP1 or later Microsoft Windows XP Home Edition Operating System English version SP1 or later Microsoft Windows Vista Home Basic Operating System English version Operating system Microsoft Windows Vista Home Premium Operating System English version Microsoft windows Vista Business Operating System English version Microsoft windows Vista Ultimate Operating System English version Microsoft windows Vista Enterprise Operating System English version Microsoft windows 7 Starter Operating System English version 4 Microsoft Windows 7 Home Premium Operating System English version 4 Microsoft Windows 7 Professional Operating System English version 4 Microsoft windows 7 Ultimate Operating System English version 4 Microsoft Windows 7 Enterprise Operating System English version 4 1 Install GX Configurator CT in GX Developer Version 4 or higher in the same language GX Developer English version and GX Configurat
24. Cannot execute test 6 18 Flash ROM setting Curent value display Make text file Stop monitor Details Cannot execute test Figure 6 8 Monitor Test screen 6 6 Monitoring Test 6 6 1 Monitoring Test Monitoring gt 1 6 UTILITY PACKAGE Configurator CT als 26 fel m gt 02 gt o 2 ED 20 pu 26 gt nO 20 2 LE lt o 1 o n 7 Ring counter function C Lu Ring counter function 2 Module information Q Module ype Counter Module Stat ONo 0000 uj 4062 Module modelname 063 2500 Qoi uz 2 jetting item Current value Setting value Ring counter lower limit value CH1 Ring counter upper imit value CH2 Ring counter lower imi value ano CH2 Ring counter upper limit value CH3 Ring counter lower limit value CH3 Ring counter upper limit value CH4 Ring counter lower limit value CH4 Ring counter upper limit value Ring counter lower limit value CH5 Ring counter upper limit value CH6 Ring counter lower limit value Flash ROM setting Details Current value display Monitoring Decimal input Make text fle Setting range 22147483648 2147483647 Stop monitor Execute test Coincidence detection Periodic pulse counter Coincidence o
25. Confirm project memory size Merge data Check parameters Transfer ROM 4 Delete unused comments Clear all parameters IC memory card Start ladder logic test Set TEL data Utility list FB support function 4 Customize keys Options Create start up settings file Screen for selecting a target intelligent function module Inteligent function module parameter Online Tools Help Select a target intelligent function module Start 1 0 No Module type 0000 Counter Module Module model name 9053 Parameter selling module Intelligent function module parameter Start 1 0 No Module model name Initial setting Available Initial setting Autorefresh Initial setting Refer to Section 6 3 3 Enter Start I O No and select Tools Intelligent function utility Start Module type and Module model name Initial setting Initial setting screen Module information Module type Counter Module Start 1 0 No 0000 Module model name QD63P6 Setting itern Setting value CH1 Initial Setting CH2 Initial Setting CH3 Initial Setting CH4 Initial Setting Initial Setting CHE Initial Setting Details Move to sub window Make text file 6 8 Refer to Section 6 4 6 3 Utility Package Operation 6 3 2 Operation overview gt 1
26. o Ring counter upper Ring counter upper N z mit value A mit value Ring counter lower Ring counter lower 5 limit i ud ei limit kcu o 1998 1999 1998 1999 a 9 2 2000 of ring counter upper limit value Un G2 and 3 2000 of ring counter upper limit value Un G2 and 3 o is not stored in present value A Un G10 and is not stored in present value A Un G10 and 9 11 present value B Un G200 and 201 11 present value B Un G200 and 201 J EST an Figure 5 6 Ring counter operation example 2 a 5 2 Selecting Counter Format 5 9 5 2 2 Selecting the ring counter FUNCTIONS MELSEG series b When using in the entire range a General operation By setting the same value in the ring counter upper limit value Un G2 and 3 and ring counter lower limit value Un GO and 1 the count operation is repeated in the entire range of the QD63P6 from 2147483648 lower limit value to 2147483647 upper limit value Although it operates like the linear counter no overflow error will occur even if the present value A Un G10 and 11 present value B Un G200 and 201 reaches the counting range of the QD63P6 Present counter value 2147483647 Ring counter lower limit value Un GO and 1 Ring counter upper limit value Un G2 and 3 Addition o c 5 o Q E o 2147483648 Figure 5 7 Ring counter operation image 3 b Setting method Set any value in t
27. setting the same switch setting 8 2 When the QD63P6 Does Not Start Counting 8 5 OVERVIEW CONFIGURATION SYSTEM SPECIFICATIONS PROCEDURES AND SETTINGS BEFORE OPERATION FUNCTIONS UTILITY PACKAGE GX Configurator CT S PROGRAMMING 8 TROUBLESHOOTING 8 3 When the QD63P6 Does Not Normally Count Table 8 7 When the QD63P6 does not normally count ELSEG el Check item Action Reference Check the pulse waveform with 2 synchronoscope When the input pulse does Does the input pulse waveform meet the performance MEA h not meet the performance specifications Section 3 1 specifications input the pulse which meets the performance specifications Is the maximum speed of input pulse within the range of Correct the counting speed setting in the the counting speed made on the intelligent function intelligent function module switch setting to Section 4 5 module switch setting meet the maximum speed of the input pulse 1 they differ it is a hardware failure Please When the count value same with another channel is um consult your local Mitsubishi representative input does the count result become the same with that e explaining a detailed description of the of another channel problem Are the shielded twisted pair cables Use the shielded twisted pair cables for used for pulse input wiring pulse input wiring Has the mea
28. 3 14 3 4 Buffer Memory Assignment 3 4 2 Details of the buffer memory 3 SPECIFICATIONS MELSEC TE 7 Periodic counter flag Un G13 Operation status of the function is stored in this area during execution of the fa periodic pulse counter function refer to Section 5 5 amp 0 is stored during stop of the periodic pulse counter function and 1 is stored 5 during execution of the function in the periodic counter flag Un G13 SSS Performed by the QD63P6 Periodic pulse 2 poa f T1 1 x i nO Cake e 3 Previous periodic pulse count value 0 Un G14 and 15 Present periodic pulse i count value 0 X 1 X 2 x 3 Ol Un G16 and 17 Judgment value for updated periodic pulse 0 count value Un G18 and 19 Periodic counter flag Un G13 OFF z lt n N Period setting Un G9 when the periodic pulse counter start n command Y05 changes from OFF to ON becomes effective to Figure 3 7 Timing chart for the periodic counter flag Un1G13 2 280 8 Previous periodic pulse count value Un1G14 and 15 present periodic SET pulse count value Un1G16 and 17 and judgment value for updated HO periodic pulse count value Un G18 and 19 This area is used at the periodic pulse counter fun
29. 32 62 92 122 152 _ L 3 Ring counter upper limit value 2 3 33 63 93 123 153 H 4 34 64 94 124 154 L Preset value setting 2 0 Read write Section 3 4 2 2 5 35 65 95 125 155 E 6 36 66 96 26 156 _ EN D 5 Coincidence detection point setting 2 7 37 67 97 127 157 H m Section 3 4 2 3 Coincidence detection point change 8 38 68 98 128 158 request B 39 69 99 129 159 Period setting Section 3 4 2 4 10 40 70 100 130 160 L 6 Present value 2 0 0 Section 3 4 2 5 Qu 11 41 71 101 131 161 H 12 42 72 102 132 162 Overflow detection flag Section 3 4 2 6 d25 13 48 73 103 133 163 Periodic counter flag Section 3 4 2 7 OF wi 14 44 74 104 134 164 L Previous periodic pulse count value 2 15 45 75 105 135 165 H Read only ERE 26316 Present periodic pulse count value 2 0 Section 3 4 2 8 7 4 1 4 17 47 77 107 137 167 18 48 78 108 138 168 Judgment value for updated periodic L 2 19 49 79 109 139 169 pulse count value 2 H E 20 50 80 110 140 170 Error code Section 3 4 2 9 5 Read write 21 51 81 111 141 171 Error reset command Section 3 4 2 10 are enabled E 22 52 82 112 142 172 to to to to to to Reserved 3 2
30. Initial setting 5 9 completed oS signal o E Count operation start E x X0 X20 ae 40 SET Y4 Module Count CH1 Count 7 READY operation enable start signal command 9 Count operation stop X23 5 88 E RAN L Y4 7 lt Module Count CH1 Count 5 READY operation enable stop signal command x o o N zn a 2 o 2 7 2 Program Example when Configurator CT is not Used 7 7 7 2 1 Program example when dedicated instructions are used PROGRAMMING MELSEC S1 Present value storage X0 X21 U0 70 DMOV G10 00 1 Module Present value CH1 Present READY read signal Present value value A storage Processing at count coincidence XO 84 Module CH1 CH1 Coincidence READY Counter Coincidence confirmation value signal reset LED signal coincidence command X2 X24 1 1 st CH1 Coincidence CH1 Counter LED clear Coincidence value signal signal reset coincidence command X2 Y1 0 4 rst CH1 CH1 CH1 Counter Coincidence Coincidence value signal reset signal reset coincidence command command lt Preset execution X0 X22 109 1 2 gt Module Preset CH1 Preset READY command command Signal 1 i Periodic pulse counter function XO X25 1 120 4 UO D100 M100 1 Module PPCVRD1 PPCVRD1 i READY System area Completion device Set only when the periodic pulse M10
31. QD63P6 Abbreviation for the type QD63P6 multichannel high speed counter module Personal computer Generic term for IBM PC AT compatible personal computer GX Developer GX Works2 Product name of the software package for the MELSEC programmable controllers QCPU Q mode Generic term for QOOJCPU QOOCPU Q01CPU Q02CPU Q02HCPU Q06HCPU Q12HCPU Q25HCPU Q02PHCPU QO6PHCPU Q12PHCPU Q25PHCPU Q12PRHCPU Q25PRHCPU Q00UJCPU QOOUCPU QO1UCPU Q02UCPU QOSUDCPU Q04UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU Q04UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU Q50UDEHCPU and Q100UDEHCPU Redundant CPU Generic term for Q12PRHCPU Q25PRHCPU GX Configurator CT Abbreviation for Configurator CT SWOD5C QCTU E of counter module setting monitor tool Windows Vista Generic term for the following Microsoft Windows Vista Home Basic Operating System Microsoft Windows Vista Home Premium Operating System Microsoft Windows Vista Business Operating System Microsoft Windows Vista Ultimate Operating System Microsoft Windows Vista Enterprise Operating System Windows XP Generic term for the following Microsoft Windows XP Professional Operating System Microsoft Windows XP Home Edition Operating System Windows 7 PACKING LIST Model QD63P6 Generic term for the following Microsoft Windows 7 Starter Operating Sy
32. Read from PLC Write to PLC Intelligent function module zs parameters Alternatively from the intelligent function module selection screen of the utility 50 select Online Read from PLC Write to PLC A 5 4 Text file A text file can be created by clicking the _ button on the initial setting Auto refresh setting or Monitor Test screen The text files be utilized to create user documents E Oo b Text files can be saved in any directory However a path folder where the file is to du be saved cannot be created during operation of Therefore create the folder beforehand using Windows Explorer 2L a VE GX Developer dc EE GX Configurator CT Personal computer gt FUNCTIONS UTILITY PACKAGE A Intelligent function module parameters B Data saved by Make text file z n I z F 8 n brs p Figure 6 3 Correlation chart for data created with the utility package a a si 6 3 Utility Package Operation 6 3 1 Common utility package operations 6 UTILITY PACKAGE Configurator CT Intelligent function module utility C MELSEC GppwicT gt 6 3 2 Operation overview MELSEC series GX Developer screen Window Help
33. Y 1 X z Un G14 and 15 Present periodic pulse count value 0 X 1 X 2 X 3 Un G16 and 17 7 pa lt o n 7 Judgment value for updated periodic pulse 0 X 1 2 nt va cou e Un G18 and 19 Periodic counter flag jo lt 5 Un G13 OFF _ 2 li Period setting UnXG9 when the periodic pulse counter start E command 05 changes from OFF to ON becomes effective 5 2 lt Figure 3 4 Timing chart for the period setting Un G9 8 aw POINT When writing from 32768 to 65535 8000H to FFFFu in the period setting UnXG9 refer to 4 in this section write it in hexadecimal number If O is set to the period setting Un G9Q the period setting error error 2 code 600 is stored to the error code Un G20 and the periodic pulse E counter function is not executed 5 To execute the periodic pulse counter function write a value within the setting range 1 to 65535 to the period setting UnYG9 and turn the periodic pulse counter start command Y05 ON OFF and ON again Note that the OFF time must be 2ms or longer UTILITY PACKAGE GX Configurator CT PROGRAMMING TROUBLESHOOTING 3 4 Buffer Memory Assignment 3 13 3 4 2 Details of the buffer memory 3 SPECIFICATIONS MELSEC 8 5 Present value A Un G10 and 11 and present value B Un1G200 and 201 The present counter value is
34. 1504s from when the QD63P6 detects coincidence until it makes an interrupt request to a programmable controller CPU c Select PLC parameter PLC system Intelligent function module setting Interrupt pointer settings to set the interrupt factors SI of the QD63P6 and interrupt pointers of the programmable controller CPU 1 CPU side Interrupt pointer start No Set the start interrupt pointer number of the programmable controller CPU Setting range 50 to 255 2 CPU side Interrupt pointer No of module Set the number of interrupt factors 51 Setting range 1 to 6 5 14 5 3 Using the Coincidence Detection Function FUNCTIONS 3 Intelli module side Start No Set the start number of the QD63P6 Setting range 0000 to OFEO H i 4 Intelli module side Start SI No Set the start interrupt factor SI No of the QD63P6 Setting range 0 to 5 The following shows a setting example where SI 0 to 5 of the QD63P6 in the slot of start No 20 are assigned to interrupt pointers 150 to 155 z 20 PLE side gt 2 e m i 5 aw zo o 2 Cancel m SEE Figure 5 10 Interrupt pointer setting example GX Developer screen 8 ano d The following two methods are available for using particular 1 numbers only 1 Usin
35. 55 iie CM S PROGRAMMING 8 5 Error Codes List 8 9 APPENDICES MELSEC 8 APPENDICES Appendix 1 Dedicated Instructions Appendix 1 1 Dedicated instructions list The following table shows the dedicated instructions supported by the QD63P6 Table APPX 1 Dedicated instructions supported by the QD63P6 Dedicated instruction No Function Description Reference 1 G P PPCVRD1 Reads the periodic pulse count value of CH1 2 G P PPCVRD2 Reads the periodic pulse count value of CH2 S Periodic pulse G P PPCVRD3 Reads the periodic pulse count value of CH3 Appendix 1 2 4 counter function G P PPCVRD4 Reads the periodic pulse count value of CH4 5 G P PPCVRD5 Reads the periodic pulse count value of CH5 6 G P PPCVRD6 Reads the periodic pulse count value of CH6 POINT When the QD63P6 is mounted to the MELSECNET H remote station Q12PRHCPU or Q25PRHCPU the dedicated instructions cannot be used AP PX 1 Appendix 1 Dedicated Instructions Appendix 1 1 Dedicated instructions list APPENDICES Appendix 1 2 G P PPCVRD Table APPX 2 Available devices 0 Q 2 iu a lt Setti Internal device Link direct device Intelligent etting system user function Index data sy File register XM module register ZO 9
36. MITSUBISHI ELECTRIC Mitsubishi Programmable Controller MELSEG Led cries Multichannel High Speed Counter Module User s Manual QD63P6 GX Configurator CT SWOD5C QCTU E OSAFETY PRECAUTIONS Read these precautions before using this product Before using this product please read this manual and the relevant manuals carefully and pay full attention to safety to handle the product correctly The precautions given in this manual are concerned with this product For the safety precautions of the programmable controller system please read the User s Manual for the CPU module In this manual the safety precautions are classified into two levels N WARNING and N CAUTION WARNING Indicates that incorrect handling may cause hazardous conditions resulting in death or severe injury Indicates that incorrect handling may cause hazardous conditions CAUTION resulting in minor or moderate injury or property damage mom Under some circumstances failure to observe the precautions given under N 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 N WARNING Do not write data to read only area or reserved area in the buffer memory of the intelligent function module Also do not turn
37. O Operating environment eecceccccecccececececccccccccccce 5 4 Operation OVervieWeeeeeeececcecceccccecceccccecccececececece 3 O Overflow _ Overflow detection flag UnYG12 e e 3 14 OVERVIEW eeecccccccccecceceececeececccccecccccecccecccecccee 1 7 P Part Names e eccccccccccccccccccccccccccccccccccccccecece Period setting Un G9 eee ee ee eee eee eere ere ere e eene oee 3 13 Periodic counter flag 13 eee ee e 3 15 Periodic pulse counter function sseeseeseeseeeee9 3 2 5 18 INDEX 1 APPENDICES INDEX Periodic pulse counter start command eeeeeeeeeeeees 3 8 Present periodic pulse count value Un G16 and 17 Present value A UnG10 and 11 99 9993 14 Present value B UN G200 and 201 3 14 Present value selection setting seseesseesseeee 4 14 4 15 Preset command Y02 eee eee ee eee eee ere eoe eoe e eene 3 7 Preset function 3 2 5 1 T Preset value setting UN G4 and 5 3 11 Previous periodic pulse count value Un G14 and 15 000000000000000000000000000000000000000000000000000000000000 3 1 5
38. OVERVIEW CONFIGURATION SYSTEM SPECIFICATIONS SETTINGS BEFORE PROCEDURES AND OPERATION FUNCTIONS UTILITY PACKAGE im Configurator CT PROGRAMMING TROUBLESHOOTING PROGRAMMING MELSEC Aries 7 2 2 Program example when dedicated instructions are not used Initial setting X0 Y4 M10 UOY DMOVP K2500 G4 1 Module CH1 Count Initial setting CH1 Preset READY enable completed value setting command signal 0 UOV 86 Y CH1 Coincidence detection point setting UOY K1 68 7 CH1 Coincidence detection point change request PP pwovP K 5000 60 1 CH1 Ring counter lower limit value Set only when the ring counter UO function is used K5000 62 CH1 Ring counter upper limit value Set only when the periodic pulse counter function is used 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 D 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 Set only when the counter value coincidence X02 is turned OFF at initial setting SET Y1 1 CH1 Coincidence signal reset command Initial setting completed Signal Count operation start X0 X20 40 3 SET Y4 Module Count CH1 Count READY operation enable start signal comman
39. Subtraction Addition 2147483648 Overflow v Figure 5 1 Operation image of the linear counter 2 Overflow error a When the linear counter is selected for the counter format if the present value A Un G10 and 11 present value B Un G200 and 201 falls below 2147483648 lower limit value in subtraction or exceeds 2147483647 upper limit value in addition an overflow error error code 100 will occur b If an overflow error occurs 1 is stored in the overflow detection flag Un G12 and the overflow error error code 100 is stored in the error code UnXG20 in the buffer memory and counting is stopped Even if a pulse is input in that condition the present value does not change from 2147483648 or 2147483647 c An overflow error is cancelled by the preset function Executing preset stores 0 the overflow detection flag UnYG 12 in the buffer memory allowing restart of counting Note that since data in the error code Un G20 are retained until the error is reset set 1 ON in the error reset command Un G21 to reset the error d When system monitoring is performed during overflow error occurrence by clicking Diagnostics System monitor in GX Developer a module error can be identified 5 2 Selecting Counter Format 5 2 1 Selecting the linear counter FUNCTIONS 5 2 2 Selecting the ring counter 1 2 Ring counter operation
40. When the ring counter is selected counting is repeated within the range between the ring counter lower limit value Un GO and 1 and ring counter upper limit value Un G2 and 3 which are arbitrarily set in the buffer memory No overflow error will occur when the ring counter is selected This can be used in combination with the preset function and the coincidence detection function t Present counter value 2147483647 Ring counter upper limit value Un G2 and 3 Subtraction Addition Ring counter lower limit value Un GO and 1 2147483648 Figure 5 2 Operation image of the ring counter Count range of the ring counter The count range varies depending on the present value A Un G10 and 11 present value B Un G200 and 201 and the ring counter lower limit value Un GO and 1 and upper limit value Un G2 and 3 at the time point of any of the following Count enable command 04 changes from OFF to ON Preset is executed 3 POINT Set appropriate ring counter lower limit value Un GO and 1 upper limit value Un G2 and 3 so that the following condition is satisfied Ring counter lower limit value Ring counter upper limit value Un GO and 1 Un G2 and 3 If the count enable command Y04 is turned from OFF to ON with this condition not satisfied a ring counter upper lower limit value setting error error code 500 is stored in the error code Un G20 and counting does not start To
41. X Y and buffer memory addresses of channel 1 only For buffer memory addresses of channel 2 or later and I O numbers X Y of channel 2 or later refer to Section 3 4 1 and Section 3 3 1 respectively 1 Ring counter lower limit value Un GO and 1 Ring counter upper limit value Un G2 and 3 This area is used for setting count range when the counter format is the ring counter Refer to Section 5 2 2 Setting value when the count enable command Y04 changes from OFF to ON becomes effective Setting range is from 2147483648 to 2147483647 32 bit signed binary ON Count enable command Y04 Ring counter lower limit value 0 100 Un GO and 1 2200 2 Ring counter upper limit value X X Un G2 and 3 p 100 200 2 1 Value when the count enable command Y04 changes from OFF to ON becomes effective 2 Does not become effective until the count enable command Y04 changes from OFF to ON Figure 3 1 Timing chart for the ring counter lower limit value Un GO and 1 and ring counter upper limit value Un G2 and 3 2 Preset value setting Un G4 and 5 This area is used for setting the preset value for the counter Refer to Section 5 4 Setting value when the preset command Y02 changes from OFF to ON becomes effective Setting range is from 2147483648 to 2147483647 32 bit signed binary Performed by the QD63P6 Preset value setting Un G4 and 5 100 Preset command
42. Y02 OFF Present value x Un G10 and 11 p 100 tz2ms Figure 3 2 Timing chart for the preset value setting Un G4 and 5 For details of the general operation refer to Section 5 4 3 4 Buffer Memory Assignment 3 11 3 4 2 Details of the buffer memory SYSTEM OVERVIEW CONFIGURATION PROCEDURES AND SETTINGS BEFORE UTILITY PACKAGE GX Configurator CT z lt n N OPERATION FUNCTIONS PROGRAMMING TROUBLESHOOTING 3 SPECIFICATIONS 3 12 MELSEC 8 3 Coincidence detection point setting Un G6 and 7 Coincidence detection point change request Un G8 Write the coincidence detection point setting value to be compared with the present value A UnG10 and 11 counter present value B Un G200 and 201 for counter When 1 Change request is written to the coincidence detection point change request Un G8 the value written to the coincidence detection point setting Un G6 and 7 becomes effective the QD63P6 writes 0 No change request to the coincidence detection point change request Un G8 and then the coincidence detection point setting is started Setting range of the coincidence detection point setting Un G6 and 7 is from 2147483648 to 2147483647 32 bit signed binary If 1 Change request is not written into the coincidence detection point change request Un G8 the coincidence detection point setting value Un G6 an
43. from OFF to a value in the preset value setting Un G4 and 5 is stored in the present value A Un G10 and 11 2 present value B Un G200 and 201 The preset function can be executed regardless of the ON OFF status of the count enable command Y04 UTILITY PACKAGE GX Configurator CT PROGRAMMING TROUBLESHOOTING 5 4 Using the Preset Function 5 17 FUNCTIONS MELSEG series 5 5 Using the Periodic Pulse Counter Function This function allows the present value A Un G10 and 11 present value B Un G200 and 201 and the previous value to be stored in the present periodic pulse count value Un G16 and 17 and previous periodic pulse count value Un G14 and 15 respectively at intervals of the preset period time UnYG9 while the periodic pulse counter start command Y05 is ON 1 Periodic pulse counter operation The following explains the relation between respective I O signals and buffer memory areas used in the periodic pulse counter function The previous periodic pulse count value Un G14 and 15 is compared with the judgment value for updated periodic pulse count value Un G18 and 19 and if these stored values are equal the present value is stored in the present periodic pulse count value Un G16 and 17 Figure 5 12 contains the I O numbers X Y and buffer memory addresses of channel 1 only For channels 2 to 6 refer to Section 3 3 1 and Section 3 4 1 For the period setting Un G9 refer to
44. 1 2 When the RUN LED turns OFF Table 8 4 When the RUN LED turns OFF Check item Action Reference Check if the service voltage of the power supply Is power supplied PE module is within the rated range Calculate the consumption current of the modules Is the capacity of the power supply module mounted to the base unit such as CPU module I O sufficient module and intelligent function module and check that the current capacity is sufficient Reset the programmable controller CPU and check that the RUN LED turns ON If the RUN LED remains OFF even doing so the QD63P6 is a No watchdog timer error I Section 4 3 failure Please consult your local Mitsubishi representative explaining a detailed description of the problem Are the modules correctly mounted to the base it Check the module mounting status Section 4 1 unit 8 1 3 When the RUN LED and ERR LED turn ON Table 8 5 When the RUN LED and ERR LED turn ON Check Action Reference Check the error code of the used channel No error Un G20 and take measures described in Error Section 8 5 Codes List 8 4 8 1 Error Processing and Recovery Methods 8 1 2 When the RUN LED turns OFF 8 TROUBLESHOOTING 8 2 When the QD63P6 Does Not Start Counting Table 8 6 When the QD63P6 does not start counting IS D el series Check item Action Reference If the LED on the programmable controller CPU Doesn t the progra
45. Example of wiring with an encoder 12 24 VDC According to external power supply voltage connect load resistance between each pulse input terminal of the QD63P6 and shielded twisted pair cable The following table shows conditions on load resistance Table 4 5 Conditions on load resistance External voltage V Load resistance Q Capacity W Tolerance 12 820 1 4 5 24 2200 1 2 5 4 10 4 4 Wiring 4 4 2 Example of wiring the module and an encoder 4 PROCEDURES AND SETTINGS BEFORE OPERATION In SETS 3 POINT When wiring the QD63P6 and an encoder separate the power supply cable and signal line The following diagram shows an example of wiring with Phase A Wire Phase B as well Wiring example OVERVIEW Shielded twisted pair cable QD63P6 Pulse MN OUT input Pulse input Phase A CONFIGURATION SYSTEM External 12 24 VDC power supply OV Figure 4 9 Wiring example Incorrect wiring example Shielded twisted pair cable QD63P6 Pulse 1 9 N input A SPECIFICATIONS Since the current through the shielded twisted pair cable flows in the same direction canceling effect does not work which results in susceptibility to electromagnetic induction Phase Pulse input External 12 24 VDC power supply 0VQO 14 LL 29 RO Figure 4 10 Incorrect wiri
46. Instruction symbol Executing condition Command G PPCVRD G PPCVRD Un S D Command GP PPCVRD GP PPCVRD Un S D lt Figure APPX 1 Instruction format Table APPX 3 Setting data Setting data Description Setting range Data type Un Module head I O number 0000H to OOFEH BIN 16 bits Within the specified device Head number of the device storing the control data Device name range Turns ON for one scan on completion of the dedicated instruction 7 m Within the specified device D processing Bit range Also turns ON D 1 at device error completion Table 4 Control data Device Item Description Setting range Data type S System area Stores the status on completion of the instruction S 1 Completion status System 0 Normal completion Other than 0 Error completion S 2 Previous periodic pulse count Stores the previous periodic pulse 2147483648 to 2147483647 System S 3 value count value S 4 Present periodic pulse count Stores the present periodic pulse 2147483648 to 2147483647 System S 5 value count value Appendix 1 Dedicated Instructions AP PX 2 Appendix 1 2 G P PPCVRD APPENDICES MELSEC 1 Function a Reads the periodic pulse count value b When reading the periodic pulse count value wit
47. Online Transfer setup When mounting the QD63P6 to the remote I O station use Read from PLC Write to PLC of GX Developer Checking the required utility While the start I O is displayed on the Intelligent function module utility setting Screen may be displayed for the model name This means that the required utility has not been installed or the utility cannot be started from GX Developer Check the required utility selecting Tools Intelligent function utility Utility list in GX Developer 3 lt 6 12 6 3 Utility Package Operation 6 3 3 Starting the Intelligent function module utility 6 UTILITY PACKAGE Configurator CT 6 4 Initial Setting Purpose Make the initial settings for each channel to operate the QD63P6 The following setting items are available for parameters of Initial setting Preset value setting Ring counter lower limit value Coincidence detection point change request Ring counter upper limit value Coincidence detection point setting Period setting By making the initial settings the sequence program settings become unnecessary Operating procedure Start No gt Module type Module model name gt initial setting Enter the start I O No in hexadecimal Setting screen CH1 Initial Setting Module information Module type Counter Module Module model Initial setti
48. System monitor and click the Product Inf List button in GX Developer Serial Function number version Product Information List ES BESTE EE Mer npe Eg 1 0 No Master PLC LC 0 25 Intelli 0 32 0000 090410000000000 Figure 2 4 System monitor a Production No display Since the QD63P6 does not support the production number display is displayed 3 POINT The serial No on the rating plate may be different from the serial No displayed on the product information screen of GX Developer The serial No on the rating plate indicates the management information of the product The serial No displayed on the product information screen of GX Developer indicates the function information of the product The function information of the product is updated when a new function is added 2 3 How to Check the Function Version Serial No Software Version 2 SYSTEM CONFIGURATION SIS ceries 4 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 gt OVERVIEW Operating procedure GX Developer Help Product information Product information Programming and Maintenance tool GX Developer Version 8 484 Sw 8D5C GPPw E COPYRIGHT C 2002 MITSUBISHI ELECTRIC CORPORATION ALL RIGHTS RESERVED z lt c gt 2 Q
49. This Product is licensed to Name MITSUBISHI e o Company Mitsubishi Electric Corporation b o ProductiD o List of version information on Add in software e GX Configurator CT Version 254B SWOD5C QCTU E Software version COPYRIGHT C 1999 MITSUBISHI ELECTRIC CORPORATION ALL RIGHTS RESERVED 28 GX Configurator D Version2 OBF Sw 2D5C QDAU E o COPYRIGHT C 2004 MITSUBISHI ELECTRIC CORPORATION ALL RIGHTS RESERVED fe mz Warning ag aming n9 This product is protected by copyright law and international treaties ee S ae Unauthorized reproduction or distribution of this program or any portion of it may result in severe civil and criminal penalties and will be ano prosecuted to the maximum extension possible under the law In the case of GX Developer Version 8 Figure 2 5 Product information screen of GX Developer E o o Sooo ooo oor ooo E i The version description for GX Configurator CT has been changed as shown below from SWOD5C QCTU E 40E upgraded product Existing product Products after the version upgrade SWOD5C QCTU E 40E gt Configurator CT Version 1 10L UTILITY PACKAGE GX Configurator CT PROGRAMMING TROUBLESHOOTING 2 3 How to Check the Function Version Serial No Software Version 2 7 2 SYSTEM CONFIGURATION MELSEG e Memo 2 8 2 3 How to Check the Function Version Serial No Software Version 3 SPECIFICATIONS IS D
50. Used 7 1 2 Program example J gt MELSEC 8 Set only when the linear counter function is used PROGRAMMING IS ceries 7 2 Program Example when Configurator CT is not Used r iu 7 2 1 Program example when dedicated instructions are used z gt o Initial setting Y4 M10 UO z 0 DMOVP 2500 G4 Module CH1 Count Initial setting CH1 Preset READY enable completed value setting x command signal 3 ee 2 UOV DMOVP K1000 G6 1 CH1 Coincidence detection point setting 22 2 UO K1 G8 CH1 o Coincidence s detection point change E request o E REC 00 DMOVP K 5000 60 1 1 i CH1 Ring counter 1 n werlimt Set only when the to 1 os now ring counter UOV function is used E no K5000 G2 9 OF CH1 Ring 1 counter I Q m i upper limit 1 gt value ___ E Bae 2 gt ur l WP K500 69 Set ONI When the CHiPerod 1 Periodic pulse setting counter function is used ET E A E E A E E EE EA E E A E A AAA E A T 1 4 2 4 t o Set only when the 481 p counter value 2 Coincidence coincidence X02 signal reset is turned OFF at command initial setting SET M10
51. below and then turn ON the preset command 02 After the preset value setting Un G4 and 5 became effective turn OFF the preset command Y02 and turn ON the count enable command Y04 Ring counter lower limit lt Preset value setting lt Ring counter upper limit value value Un GO and 1 Un G4 and 5 Un G2 and 3 C Count operation Addition count When the present value A Un G10 and 11Y present value Un G200 and 201 reaches the ring counter upper limit value Un G2 and 3 the ring counter lower limit value Un GO and 1 is automatically stored in the present value A Un G10 and 11 present value B Un G200 and 201 Subtraction count Even if the present value A Un G10 and 11 present value B Un G200 and 201 reaches the ring counter lower limit value Un GO and 1 the ring counter lower limit value Un GO and 1 is held as it is And by the next subtraction pulse Ring counter upper limit value Un G2 and 3 1 is stored in the present value A Un G10 and 11 present value B Un G200 and 201 In both cases of addition and subtraction counts the ring counter upper limit value Un G2 and 3 is not stored in the present value A Un G10 and 11 present value B Un G200 and 201 However the operation is the same as for the case of counting from the ring counter lower limit value Un GO and 1 if the addition subtraction count is performed when the count enable command Y04 status changes from OFF to ON or the
52. command Un G21 resets the error code After an error code is reset the QD63P6 writes 0 OFF to the error reset command Un G21 After fixing the error cause make sure to reset the error code with the error reset command Un G21 If a new error error code 100 to 600 occurs while an error code is still stored to the error code in buffer memory Un G20 the error code stored last is retained and the latest error code is not stored Refer to Section 8 5 If the error code is reset with the error reset command Un G21 while the error cause has not yet been fixed the error code is stored again to the error code in buffer memory Un G20 when the error cause is detected again Refer to Section 8 5 value other than 1 ON is written to the error reset command Un G21 the error is not reset Error reset command 2 Un G21 0 1 1 Mew Lush 2 Error code X X Un G20 100 0 100 1 After an error code is reset the QD63P6 writes 0 to the error reset command Un G21 2 f the error reset command Un1G21 is other than 1 the QD63P6 does not reset the error code Figure 3 8 Timing chart for the error reset command Un G21 3 4 Buffer Memory Assignment 3 4 2 Details of the buffer memory 3 SPECIFICATIONS MELSEC TE eries
53. d is B10 CH4PhaseApulseinput A10 Phase A pulse input x E ane B09 CH4 Phase pulse input A09 Phase B pulse input lat B08 Reserved A08 Reserved SE EM As B07 CH5 Phase A pulse input A07 CH5 Phase A pulse input B01 n n A01 B06 CH5 Phase B pulse input A06 CH5Phase B pulse input it B05 Reserved A05 Reserved o Viewed from the front 2 of the module B04 CH6 Phase A pulse input A04 CH6 Phase A pulse input CH6 Phase B pulse input A03 CH6 Phase B pulse input B02 Reserved A02 Reserved B01 Reserved A01 Reserved ae e a 2 ae 3 5 Interface with External Devices 3 17 3 SPECIFICATIONS e 3 6 Connectable Encoders The encoders connectable to the QD63P6 are described below Open collector output type encoders CMOS level voltage output type encoders Confirm that the encoder output voltage meets the specifications for the QD63P6 POINT The following encoder is not applicable for the QD63P6 TTL level voltage output type encoders 3 18 3 6 Connectable Encoders PROCEDURES AND SETTINGS BEFORE OPERATION als 26 fel CHAPTER4 PROCEDURES AND SETTINGS BEFORE OPERATION z amp This chapter describes the operating procedures before operation part names settings and wiring of the QD63P6 2 F 41 Handling Precautions This section describes precautions on handling
54. error occurred counting error of controller CPU or reset it 830 the programmable controller The module READY X00 turns programmable CPU OFF controller CPU Power OFF and then ON the programmable 840 Module error An error occurred in the module controller CPU or reset it If an error occurs again replace the module An error occurred in the 850 Hardware error Replace the module hardware 8 8 8 5 Error Codes List 8 TROUBLESHOOTING MELSEC Sl POINT 1 When another error occurs during error occurrence take the following action if When an error code from 100 to 600 occurs the latest error code is amp ignored and the error code stored before the latest error code is held 5 When an error code from 810 to 850 occurs the error code is overwritten as the latest one 5 When an error code 810 occurs it is stored to the error code Un G20 of a E the relevant channel When an error code from 820 to 850 occurs any of 25 the error code from 820 to 850 is stored to the error codes Un G20 of all channels 2 An error code can be reset with the error reset command Un G21 After g fixing the error cause reset the error If the error cause is not fixed the error code is stored again to the error code the buffer memory Un G20 when 3 the error cause is detected again 9 D zZ Be EE ene ano e 2 2 4o Eg 8
55. monitor QD63P6 Module s Detailed Information H Information H W Information Module Display format Module Name Product information 090210000000000 B LED Information SW Information 0002 PLS 6 5 0000 0000 CNT SPD 0001 LIN PRSNT V L 2 Stop monitor Figure 8 2 H W Information screen H W LED Information The following information is displayed on the H W LED Information screen Table 8 1 H W LED Information Item Signal Value RUN RUN LED on the QD63P6 0 The LED is OFF ERR ERR LED on the QD63P6 1 The LED is ON H W SW Information The setting status of the intelligent function module switches is displayed Table 8 2 H W SW Information Item Signal Corresponding switch Value PLS 4 1 Pulse input mode CH4 to 1 Switch 1 PLS 6 5 Pulse input mod H d5 L 8 bit S 6 5 Pulse input mode CH6 and 5 Switch 2 ower 5 1 Upper 8 bits CNT SPD Counting speed setting Switch 3 For details refer to Section 4 5 RNG Intelligent Function Module Switch LIN Counter format Lower 8 bits Setting Switch 4 PRSNT Present value selection setting Upper 8 bits VAL NOP2 Switch 5 8 1 Error Processing and Recovery Methods 8 1 1 Checking error description using System Monitor of GX Developer 8 TR
56. preset command 02 is executed while Present value A Un G10 and 11 present value B Un G200 and 201 Ring counter upper limit value Un G2 and 3 is satisfied 5 6 5 2 Selecting Counter Format 5 2 2 Selecting the ring counter FUNCTIONS Subtraction Addition aL D Q series d Setting example When the count is enabled with a ring counter lower limit value Un GO and 1 of 0 ring counter upper limit value Un G2 and 3 of 2000 and present value A Un G10 and 11 present value B Un G200 and 201 of 500 Present counter value 4 Ring counter upper limit value x Ring counter lower limit value 2000 7 1998 1999 0 1 2 u 2000 of ring counter upper limit value Un G2 and 3 is not stored in present value A Un G10 and 11 present value B Un G200 and 201 E Figure 5 4 Ring counter operation example 1 5 2 Selecting Counter Format 5 2 2 Selecting the ring counter 2147483647 Ring counter upper limit value 2000 Ring counter lower limit value 0 2147483648 5 7 SYSTEM PROCEDURES AND SETTINGS BEFORE OVERVIEW CONFIGURATION SPECIFICATIONS OPERATION UTILITY PACKAGE GX Configurator CT o 2 O 2 5 PROGRAMMING TROUBLESHOOTING FUNCTIONS series 2 When the following range is applied the operation is as shown in Figure 5 5
57. result in a failure or malfunction of the module Disposal Precautions NCAUTION When disposing of this product treat it as industrial waste G CONDITIONS OF USE FOR THE PRODUCT 1 Mitsubishi programmable controller the PRODUCT shall be used in conditions i where any problem fault or failure occurring in the PRODUCT if any shall not lead to any major or serious accident and ii where the backup and fail safe function are systematically or automatically provided outside of the PRODUCT for the case of any problem fault or failure occurring in the PRODUCT 2 The PRODUCT has been designed and manufactured for the purpose of being used in general industries MITSUBISHI SHALL HAVE NO RESPONSIBILITY OR LIABILITY INCLUDING BUT NOT LIMITED TO ANY AND ALL RESPONSIBILITY OR LIABILITY BASED ON CONTRACT WARRANTY TORT PRODUCT LIABILITY FOR ANY INJURY OR DEATH TO PERSONS OR LOSS OR DAMAGE TO PROPERTY CAUSED BY the PRODUCT THAT ARE OPERATED OR USED IN APPLICATION NOT INTENDED OR EXCLUDED BY INSTRUCTIONS PRECAUTIONS OR WARNING CONTAINED IN MITSUBISHI S USER INSTRUCTION AND OR SAFETY MANUALS TECHNICAL BULLETINS AND GUIDELINES FOR the PRODUCT Prohibited Application Prohibited Applications include but not limited to the use of the PRODUCT in Nuclear Power Plants and any other power plants operated by Power companies and or any other cases in which the public could be affected if any problem or fau
58. start the counting after occurrence of the ring counter upper lower limit value setting error error code 500 set the ring counter lower limit value Un GO and 1 upper limit value Un G2 and 3 so that the following condition is satisfied and turn the counter enable command Y04 ON OFF and ON again Ring counter lower limit value lt Ring counter upper limit value Un GO and 1 Un G2 and 3 Note that the OFF time must be 2ms or longer 5 2 Selecting Counter Format 5 5 5 2 2 Selecting the ring counter SYSTEM PROCEDURES AND SETTINGS BEFORE OVERVIEW CONFIGURATION SPECIFICATIONS OPERATION UTILITY PACKAGE GX Configurator CT o 2 O 2 5 PROGRAMMING TROUBLESHOOTING FUNCTIONS MELSEG series a When using within the specified range 1 Normally the following range is applied Ring counter lower limit lt Present value lt Ring counter upper limit value present value B value Un GO and 1 Un G10 and 11 Un G2 and 3 Un G200 and 201 a General operation A Present counter value 2147483647 Ring counter upper limit value Un G2 and 3 Subtraction Addition Ring counter lower limit value Un GO and 1 2147483648 Figure 5 3 Ring counter operation image 1 b Setting method Set the ring counter upper limit value Un G2 and 3 ring counter lower limit value Un GO and 1 and preset value setting Un G4 and 5 as shown
59. stored in this area Select the present value A UnXG10 and 11 to read such as the present value and overflow detection flag Un G12 for each channel and select the present value B Un G200 and 201 to read the present values of multiple channels at a time Set the storage location present value A present value B with the intelligent function module switch Refer to Section 4 5 The range of a value to be read is from 2147483648 to 2147483647 32 bit signed binary D pue te ON Count enable command Y04 Present value A 0 X 1 X 2 Un G10 and 11 0 X X Figure 3 5 Timing chart for the present value A Un G10 and 11 6 Overflow detection flag Un G12 Overflow occurrence status is stored in this area when the counter format is the linear counter refer to Section 5 2 2 According to the overflow occurrence status 0 No detection or 1 Overflow occurred is stored to the overflow detection flag Un G12 This flag operates as follows when the pulse input mode is 1 multiple of 1 phase Performed by the QD63P6 1 Lf Present value A 2147483646 2147483647 0 Jj 1 Un G10 and 11 X i X A Overflow detection flag Un G12 Preset value setting Un G4 and 5 Preset command Y02 Error code i i Un G20 0 X 100 Figure 3 6 Timing chart for the overflow detection flag Un G12
60. the character where the cursor is positioned Delet eer When a cell is selected clears all of the setting contents in the cell Back Deletes the character where the cursor is positioned Space t Moves the cursor Page Moves the cursor one page up Up Page Moves the cursor one page down Down Enter Completes the entry in the cell 2 Data created with the utility package The following data or files that are created with the utility package can be also handled in GX Developer Figure 6 3 shows respective data or files are handled in which operation 3 Intelligent function module parameter a This represents the data created in Auto refresh setting and they are stored in an intelligent function module parameter file in a project created by GX Developer Project Program Parameter PLC parameter Network parameter Intelligent function module parameter Figure 6 2 Project structure 6 6 6 3 Utility Package Operation 6 3 1 Common utility package operations 6 UTILITY PACKAGE Configurator CT als 26 fel b Steps 1 to 3 shown in Figure 6 3 are performed as follows 1 From GX Developer select Project Open project Save Save as gt 2 On the intelligent function module selection screen of the utility select Intelligent function module parameter Open parameters Save parameters 3 From GX Developer select 6 Online
61. the encoder side relay box Failure to do may cause a malfunction Correctly wire cables to the module after checking the rated voltage and terminal layout of the product Connecting a voltage different from the rated voltage or incorrect wiring may result in a fire or failure Startup and Maintenance Precautions NCAUTION Do not disassemble or remodel each of the modules Doing so may cause failure malfunctions personal injuries and or a fire Be sure to shut off all phases of the external power supply used by the system before mounting or removing the module Not doing so may result in a failure or malfunction of the module Do not install remove the module to from the base unit more than 50 times after the first use of the product IEC 61131 2 compliant Failure to do so may cause malfunction Do not touch the terminal while the power is ON Failure to do may cause a malfunction Switch off all phases of the externally supplied power used in the system when cleaning the module or retightening the terminal or module fixing screws Not doing so may result in a failure or malfunction of the module If the screw is too loose it may cause a drop short circuit or malfunction Excessive tightening may damage the screw and or the module resulting in a drop short circuit or malfunction Before handling the module touch a grounded metal object to discharge the static electricity from the human body Not doing so may
62. to 6 3 3 Section 6 4 to 6 6 May 2008 SH NA 080692ENG C Correction SAFETY PRECAUTIONS Compliance with the EMC and Low Voltage Directives GENERIC TERMS AND ABBREVIATIONS Section 2 1 Section 2 3 Section 4 1 Section 4 4 1 Section 6 2 1 Section 6 3 1 to 6 3 3 Aug 2008 SH NA 080692ENG D Correction Section 2 3 Section 4 3 Appendix 2 Feb 2012 SH NA 080692ENG E Addition CONDITIONS OF USE FOR THE PRODUCT Correction SAFETY PRECAUTIONS COMPLIANCE WITH EMC AND LOW VOLTAGE GENERIC TERMS AND ABBREVIATIONS Section 2 1 to 2 3 Section 3 2 3 5 Section 4 4 1 Section 5 3 5 6 Section 6 2 1 6 2 2 Section 7 3 Japanese Manual Version SH 080693 E This manual confers no industrial property rights or any rights of any other kind nor does it confer any licenses Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual 2007 MITSUBISHI ELECTRIC CORPORATION INTRODUCTION Thank you for purchasing the Mitsubishi programmable controller MELSEC Q series Before using the product please read this manual carefully to develop full familiarity with the functions and performance of the Q series programmable controller to ensure correct use CONTENTS SAFETY PRECAUTIONS
63. uffer memory controller CPU QCPU Q mode Encoder Encoder PROCEDURES AND SETTINGS BEFORE OPERATION Encoder Encoder FUNCTIONS Encoder Encoder 1 Pulses input to the QD63P6 are counted 2 The status of the I O signals and buffer memory of the QD63P6 can be checked with the sequence program Also start stop preset and coincidence detection of the count can be executed 3 An interrupt request can be executed to the programmable controller CPU at counter value coincidence detection UTILITY PACKAGE GX Configurator CT Figure 1 1 General operation of the QD63P6 PROGRAMMING TROUBLESHOOTING 1 OVERVIEW MELSEC 8 1 1 Features This section describes the features of the QD63P6 1 2 3 4 5 6 7 Wide range of expression on counting from 2147483648 to 2147483647 Count values can be stored in 6 channels and 32 bit signed binary Switching of the maximum counting speed Since the QD63P6 can switch between 200 100 and 10 gradual rise fall pulses can be correctly counted Pulse input selection Pulse input can be selected from 1 multiple of 1 phase 2 multiples of 1 phase 1 multiple of 2 phases 2 multiples of 2 phases 4 multiples of 2 phases and CW CCW Counter format selection Either of the following counter formats can be
64. units of one points Figure 5 8 contains I O numbers X Y and buffer memory addresses for channel 1 only For channels 2 to 6 refer to Section 3 3 1 and Section 3 4 1 1 Operation of coincidence detection When Coincidence detection point change request Un G8 status changes from 1 Change request to 0 No change request comparison between the value 100 set in Coincidence detection point setting Un G6 and 7 and Present value A Un G10 and 11 is started 4 POINT Count enable command Y04 Counter input pulse Coincidence detection point change request Un G8 Coincidence detection point setting Un G6 and 7 Counter value small X03 Counter value coincidence Coincidence signal reset command YO1 Counter value large X01 Present value A Un G10 and 11 oN S OFF 10i 112 to 98 99 100 101 102 103 104 105 106 107 1tz2ms Figure 5 8 Operation example of the coincidence detection function The counter value coincidence X02 turns ON immediately after power ON or reset of the programmable controller CPU since the coincidence detection point setting Un G6 and 7 is 0 Therefore perform the following operations 1 Write any other than 0 into the coincidence detection point setting Un G6 and 7 and 1 into the coincidence detection point change re
65. 0 M101 counter function BMOV D102 D2 K4 hi 1 L is used PPCVRD1 PPCVRD1 PPCVRD1 Previous Completion Completion Previous periodic device status periodic pulse pulse count indication count value value storage device 1 1 26 f_ s i Periodic pulse CH1 Periodic count start pulse counter command start command aa je ee ea cc dc a a a er ae a c E Iu Overflow detection processing 1 XO UOV 152 MV G2 08 Set only when the 1 Module CH1 Overflow Mm i READY Overflow status linear counter r detection flag storage function is used 1 1 1 i D8 KI 2 i Overflow Overflow 1 status occurrence i storage confirmation LED signal 1 eR Eee 7 8 7 2 Program Example when Configurator CT is not Used 7 2 1 Program example when dedicated instructions are used PROGRAMMING SIS ceries Error reset processing UOY 172 MOV G20 D120 Error CH1 Error Error code occurrence code o D120 KO MOV D120 D9 Error code Error code Error code storage Y32 Error occurrence confirmation LED signal X27 Y32 U0 Ki 621 Error reset Error CH1 Error command occurrence reset confirmation command LED signal END 7 2 Program Example when GX Configurator CT is not Used 7 9 7 2 1 Program example when dedicated instructions are used
66. 0000000000000000000000000 3 5 3 4 Buffer Memory Assignment 000000000000000000000000000000000000000000000000000000000000000000000000000000000000090 3 9 3 4 1 List of buffer memory 5510 3 9 3 4 2 Details of the buffer memory 00000000000000000000000000000000000000000000000000000000000000000000000000000 3 11 3 5 Interface with External Devices 0000000000000000000000000000000000000000000000000000000000000000000000000000000 3 17 3 6 Connectable Encoders 3 18 CHAPTER4 PROCEDURES AND SETTINGS BEFORE OPERATION 4 1to4 16 4 1 Handling Precautions 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 1 4 2 Procedures before Operation 2 4 3 Part Names 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009 3 4 4 Wiring 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c 5
67. 25G QJ72LP25GE QJ72BR15 Applicable network Up to 64 Applicable x N A 1 Limited within the range of I O points for the network module 2 Can be installed to any I O slot of a base unit 8 The coincidence detection interrupt function is not supported 4 The dedicated instructions are not supported e o 0 0 0 0 0 0 O O O0 O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O O eee The Basic model QCPU or C Controller module cannot create the MELSECNET H remote network 2 2 2 1 Applicable Systems 2 SYSTEM CONFIGURATION 2 Support of the multiple CPU system The function version of the first released QD63P6 is B and it supports multiple CPU 3 Item Q00J Q00 Q01CPU systems When using the QD63P6 in a multiple CPU system refer to the following manual first QCPU User s Manual Multiple CPU System a Intelligent function module parameters Write intelligent function module parameters to only the control CPU of the QD63P6 Supported software packages Relation between the system containing the QD63P6 and software package is shown in the following table GX Developer or GX Works2 are necessary when using the QD63P6 Table 2 3 Software package version Single CPU system Version 7 or later
68. 4 2 7 5 Program example when dedicated instructions are not used 0 000000000000000000000000000000000000000000000000000000 7 1 0 Program example when dedicated instructions are used 0000000000000000000000000000000000000000000000000000000 7 7 Program Example when Configurator CT is not Used 000000000000000000000000000000000000000000000000000000 7 7 Program Example when Configurator CT is Used Program Example when the Coincidence Detection Interrupt Function is Used 0 7 13 PROGRAMMING eeeesese eeeee eee eoeo eoe eeeoecececoessce 7 1 Pulse input method ececcccccccccccccccccccccccccccccccccs 5 1 Pulse input mode ecccccccccccceccccccccccecece 4 14 4 15 R Reading writing buffer memory eeeeee eee ee ee eee 3 0 Response delay 5 22 Ring counter FUNCTION 3 2 5 5 Ring counter lower limit value Un GO and 1 3 11 Ring counter upper limit value Un G2 and 3 3 11 RUN LEDeeeeeeeee eee ee ee eee eo eoe esee 4 3 8 3 S Software package 2 Software version
69. 4 4 1 Wiring precautions 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c0 23 5 A 6 4 4 2 Example of wiring the module and an 1 4 5 Intelligent Function Module Switch Setting 0 00000000000000000000000000000000000000000000000000000000000000000 4 14 CHAPTERS FUNCTIONS 5 1to5 22 5 1 Pulse Input and Count Methods 00000000000000000000000000000000000000000000000000000000000000000000000000000c0c0 1 5 1 1 Types of the pulse input method 00000000000000000000000000000000000000000000000000000000000000000000c0c0ccc 1 5 2 Selecting Counter Format ES 3 5 2 1 Selecting the linear counter 000000000000000000000000000000000000000000000000000000000000000000000000000c0ccc 4 5 2 2 Selecting the ring counter 000000000000000000000000000000000000000000000000000000000000000000000000000000ccc 0 5 5 3 Using the Coincidence Detection Function 00000000000000000000000000000000000000000000000000000000000000000 5 12 5 4 Using the Preset
70. 4 7 1 Program Example when Configurator CT is Used 7 1 1 GX Configurator CT operation PROGRAMMING MELSEC eries 7 1 2 Program example iu gt 02 Initial setting Set only when the 0 n bp e SET counter value Module CH Initia CH coincidence X02 READY ats 4 i is turned OFF at 5 enable complete signal rese I naii command signal command initial setting 5 z SET M10 o 1 Initial setting 2 completed i 5 signal 1 lt Count operation start gt XO X20 Y4 E Module Count CH1 READY operation Count start signal enable m Count operation stop E X23 N 27 RST Y4 1 Module Count CH1 READY operation Count Stop signal enable zu B Processing at count coincidence iu Li x2 Y1 ae 42 4 5 AGE Module CH1 Coincidence uz fe READY Counter Coincidence confirmation E ui value signal reset LED signal 9 coincidence command ano X2 X24 4 1 CH1 Coincidence CH1 Counter LED clear Coincidence value Signal signal reset coincidence command 7 2 x2 Yi o PAS 1 RST Yi 5 CH1 CH1 CH1 Counter Coincidence Coincidence value signal reset signal reset co
71. 6 program 22 Interrupt program POINT When the above described program is executed only 150 interrupt program is execution enabled and other interrupt programs are execution disabled When executing interrupt programs other than 150 set the corresponding bit for interrupt program to be executed to 1 enabled For details of the IMASK instruction refer to MELSEC Q L Programming Manual Common Instruction 7 14 7 3 Program Example when the Coincidence Detection Interrupt Function is Used 8 TROUBLESHOOTING MELSEC TE This chapter describes the description of errors regarding the QD63P6 and amp troubleshooting for it 5 8 1 Error Processing and Recovery Methods 5 8 1 1 Checking error description using System Monitor of Developer E 0 amp c Error codes can be checked by selecting Module s Detailed Information on the System Monitor screen of GX Developer 1 GX Developer operation 2 Select Diagnostics gt System Monitor gt QD63P6 _Module s Detailed Information E n 2 Checking error codes The latest error code is displayed on Present Error field Clicking the button displays the error code displayed on Present Error m field in No 1 field as well FC Qu Module s Detailed Infor
72. 9 59 89 119 149 179 Eg 200 202 204 206 208 210 L 5 Present value B 2 L 0 Read only Section 3 4 2 5 E 201 203 205 207 209 211 H 1 Initial value which is set when the programmable controller CPU is powered ON or reset POINT 2 The reserved areas in the above table and areas not mentioned in the table are for system use not for users If written by a user the functions of the QD63P6 are not ensured g All data in the buffer memory of the QD63P6 are initialized when the programmable controller CPU is powered ON or reset To save necessary data use the FROM DFRO TO DTO instructions in the E sequence program or make setting with the utility package for writing T reading the buffer memory data LE 3 4 Buffer Memory Assignment 3 9 3 4 1 List of buffer memory assignment 3 SPECIFICATIONS MELSEC series POINT Items with 2 in Table 3 7 are stored 32 bit signed binary to the buffer memory therefore make sure to read each value in units of 2 words Since the buffer memory contents are automatically updated by count operation the latest count value can be read from the buffer memory 3 10 3 4 Buffer Memory Assignment 3 4 1 List of buffer memory assignment 3 SPECIFICATIONS IS D 3 4 2 Details of the buffer memory This section describes details of the QD63P6 buffer memory Each item contains the I O numbers
73. BLESHOOTING 5 5 Using the Periodic Pulse Counter Function 5 21 FUNCTIONS MELSEC 8 5 6 Response Delay Time This section described the response delay time of I O signals and buffer memory Maximum delay time ms Time of 1 Maximum time of 2 1 2 Scan time of a sequence program 2 ms Scan time of a sequence program The CPU module processes I O signals by refreshing them all at once before the operation start of a sequence program Therefore the signals are delayed Use direct access input DX or direct access output DY to minimize the delay For details on direct access input DX or direct access output DY refer to the following QnUCPU User s Manual Function Explanation Program Fundamentals Qn H QnPH QnPRHCPU User s Manual Function Explanation Program Fundamentals Control cycle 1ms of the QD63P6 The QD63P6 reads out the output signals and buffer memory data updated by the sequence program and completes processing with up to 2ms 1 control cycle x 2 delay The update timing of the input signals and buffer memory data vary within the range of a control cycle 5 22 5 6 Response Delay Time 6 UTILITY PACKAGE Configurator CT als 26 fel CHAPTER6 UTILITY PACKAGE GX Configurator CT 6 1 Utility Package Functions OVERVIEW Table 6 1 shows the functions of the utility package Table 6 1 Utility package GX Configurator CT functions lis
74. D SETTINGS BEFORE OF M 2156 Q series 1 Connectors for external wiring Purchase the connector for the QD63P6 separately The following tables show the recommended connector types and crimp tool a Connector types Table 4 3 Connector types Soldering type straight out A6CON1 Crimp type straight out A6CON2 Soldering type usable for both straight out and A6CON4 diagonal out connector pressure welding type straight out cannot be used for the QD63P6 b Connector crimp tool Table 4 4 Connector crimp tool Type Model Applicable wire size Contact FUJITSU COMPONENT Crimp tool FCN 363T T005 H 28 to 24AWG LIMITED 4 3 Part Names PROCEDURES AND SETTINGS BEFORE OPERATION M als 26 fel 4 4 Wiring This section describes wiring an encoder and controller to the QD63P6 4 4 1 Wiring precautions One of the conditions to maximize the QD63P6 functions and make the system high 5 reliable the external wiring has to be laid so that the QD63P6 becomes less subject to z noise zo This section describes the precautions on external wiring ps nO 1 Inputting a signal of different voltage may result in a malfunction or mechanical failure 5 2 For 1 phase input always perform pulse input wiring on the phase S side D 3 When pulse status noise is input the QD63P6 may miscount 4 4 Take the following measures against noise for hi
75. Flash ROM setting Current value display Details Monitoring Make test file Decimal input Setting range Stop monitor 1 65535 Executetest Figure 6 8 Monitor Test screen Continued 6 6 Monitoring Test 6 6 1 Monitoring Test UTILITY PACKAGE 0 FUNCTIONS PROGRAMMING TROUBLESHOOTING 6 UTILITY PACKAGE Configurator CT 6 20 Explanation of items 1 Items MELSEC 8 Setting item Displays I O signals and buffer memory names Current value Monitors the I O signal states and present buffer memory values Setting value Enter or select values to be written into the buffer memory for test operation 2 Command buttons Current value display Make text file Start monitor Stop monitor Execute test Close Displays the current value of the item selected This is used to check the text that cannot be displayed in the current value field However in this utility package all items can be displayed in the display fields Creates a file containing the screen data in text file format Selects whether or not to monitor current values Performs a test on the selected items To select more than one item select them while holding down the Ctrl key Closes the screen that is currently open and returns to the previous screen The following describes an example when Execute test settin
76. HO Coincidence detection point setting FUNCTIONS UTILITY PACKAGE CHO Coincidence detection point change request CHLIPeriod setting CHLIError reset command Monitor Test 2 Monitors the following buffer memories of the QD63P6 Section 6 6 X device CHLIPresent value A CHLIPresent value B CHO Overflow detection flag CHLIError code CHLIPeriodic counter flag PROGRAMMING CHLIPrevious periodic pulse count value CHLIPresent periodic pulse count value CHLIJudgment value for updated periodic pulse count value TROUBLESHOOTING 6 1 Utility Package Functions 6 1 6 UTILITY PACKAGE Configurator CT MELSEC 8 6 2 Installing and Uninstalling the Utility Package For how to install or uninstall the utility package refer to Method of installing the MELSOFT Series included in the utility package 6 2 1 Handling precautions The following explains the precautions on using the utility package 1 For safety Since the utility is add in software for GX Developer read Safety Precautions and the basic operating procedures in the GX Developer Operating Manual 2 About installation GX Configurator CT is add in software for GX Developer Version 4 or later Therefore GX Configurator CT must be installed on the personal computer that has already GX Developer Version 4 or later installed 3 Screen error of Intelligent function module utility Insuffici
77. Module model name Initial setting Auto refresh 0000 0063 6 Available Available aa Gee ee Initial setting Auto refresh Delete Figure 6 5 Intelligent function module utility screen Explanation of items 1 Activation of other screens Following screens can be displayed from the intelligent function module utility screen a Initial setting screen Start No 1 gt Module type Module model name gt _ rite b Auto refresh setting screen Start I O No 1 Module type gt Module model name _ c Select monitor test module screen Online Monitor Test 1 Enter the start I O No in hexadecimal 6 10 6 3 Utility Package Operation 6 3 3 Starting the Intelligent function module utility 6 UTILITY PACKAGE Configurator CT 2 Command buttons Deletes the initial setting and auto refresh setting of the selected module Eit Closes this screen OVERVIEW CONFIGURATION SYSTEM SPECIFICATIONS PROCEDURES AND SETTINGS BEFORE OPERATION FUNCTIONS UTILITY PACKAGE PROGRAMMING TROUBLESHOOTING 6 3 Utility Package Operation 6 11 6 3 3 Starting the Intelligent function module utility 6 UTILITY PACKAGE Configurator CT M 2156 Q series 3 Menu bar a File menu Intelligent function module parameters of the project opened by GX Developer are 22 Intelli
78. No 0000 3 Module model name QD63P6 m gt Setting item Setting value Ring counter upper limit value lt Period setting unit 10ms O W Q N Details am Decimal input Oo Qu Setting range u mz 88 LE Gee ou ewe no Make text file End setup Figure 7 2 Initial setting screen Table 7 5 Items on the Initial setting screen E Setting item Description Setting 5 Preset value setting Set the preset value 2500 5 Coincidence detection point Change Set this to enable the coincidence detection point setting change request request e Coincidence detection point EN m Set the value for coincidence detection point 1000 lt setting et Ring counter lower limit value Set this only when using the ring counter function 5000 amp 2 Ring counter upper limit value Set this only when using the ring counter function 5000 8 Period setting unit 10ms Set this only when using the periodic pulse counter function 500 59 zZ lt a Oo a oa 2 o N o 2 7 1 Program Example when Configurator CT is Used 7 3 7 1 1 Configurator CT operation PROGRAMMING MELSEC 8 2 Auto refresh setting refer to Section 6 5 Set the values on the screen as shown in Figure 7 3 Channel 1 is used Auto refresh setting Module information Module type Counter Module Start No Module model name QD53P5 PLC
79. OFF YOF CH3 9 B Periodic pulse counter Previous periodic pulse start command A ge URN C T4 and 15 A X 14 CH4 Present periodic pulse WO udgment value for updated i i i Y19 CH5 peron Siva 19 ue 0 X 1 X 2 did 54 flag ON Y1E CH6 The period setting Un G9 is enabled when the periodic pulse counter start command Y05 turns ON from OFF Sooo ooo occ occa Definitions of the expressions in Operation timing are as follows Enabled while the signal is ON f Enabled when the signal turns from OFF to ON 0 06 0 06 0000000000000000000000000000000000000000000000000 3 8 3 3 I O Signals to the Programmable Controller CPU 3 3 2 Functions of I O signals 3 SPECIFICATIONS 3 4 X Buffer Memory Assignment 3 4 1 List of buffer memory assignment z The following table shows the buffer memory assignment of the QD63P6 Table 3 7 List of buffer memory assignment Address decimal notation tent Initial Read writ Ref E etting contents ead write eference value S 90 120 150 1 uo 1 a le EET Ring counter lower limit value 2 H 0 Section 3 4 2 1 2
80. ON OFF the reserved signal I O signals to the programmable controller CPU Doing any of these operations may cause a malfunction of the programmable controller system NCAUTION Do not install the control lines and or pulse input wiring together with the main circuit or power lines and also do not bring them close to each other Keep a distance of 150 mm 5 91 inch or more between them Failure to do so may cause a malfunction due to noise Installation Precautions NCAUTION Use the programmable controller in the environment conditions given in the general specifications of the User s Manual for the CPU module Failure to do so may cause an electric shock fire malfunction or damage to or deterioration of the product Installation Precautions NCAUTION While pressing the installation lever located at the bottom of the module fully insert the module fixing projection into the fixing hole in the base unit and press the module using the hole as a fulcrum Incorrect module mounting may cause a malfunction failure or drop of the module In an environment of frequent vibrations secure the module with screws The screws must be tightened within the specified torque range If the screw is too loose it may cause a drop short circuit or malfunction Excessive tightening may damage the screw and or the module resulting in a drop short circuit or malfunction Be sure to shut off all phases of th
81. ON or reset of the programmable controller CPU gt Performed by the QD63P6 j gt Performed by the sequence program CH3 Coincidence detection point setting 0 100 Un G6 and 7 Counter value large CP Present value Un G10 and 11 0 x 1 98 99 100 101 102 1 1 X10 CH4 2 AN Counter value large i X01 OFF Counter value X15 CH5 uu OFF ON Counter value small X03 X1A CH6 Coincidence signal OFF reset command Y01 3 3 Signals to the Programmable Controller CPU 3 3 2 Functions of I O signals OVERVIEW CONFIGURATION SYSTEM n pa lt a 7 PROCEDURES AND SETTINGS BEFORE FUNCTIONS OPERATION UTILITY PACKAGE GX Configurator CT PROGRAMMING TROUBLESHOOTING 3 SPECIFICATIONS MELSEC ries Table 3 5 I O signals Continued Signal name QD63P6 Programmable Description controller CPU X02 CH1 Turns ON and is the device is latched when the present value A Un G10 and 11 X07 CH2 present value B Un G200 and 201 Coincidence detection point setting Un G6 and 7 CH3 Turns OFF by the coincidence signal reset command 01 The counter value coincidence X02 turns ON immediately after power ON or Counter value X11 CHA TC coincidence reset of the programmable controller CPU since the present value A Un G10 and 11
82. OUBLESHOOTING IS eG cries The LED display changes according to the operation status of the QD63P6 as follows Table 8 3 LED display Display contents Display point Operation status Action 2 gt s 1 2 d CH If the RUN LED does not turn ON after OA RUN LED is OFF Hardware fault the programmable controller is powered OB ON the module is a failure Replace it 5 ERR E a RUN 123456 CH FILI RUN LED is ON The module is aS r1 ERR LED is OFF normal La EILA ERR e 5 RUN 123456 g mimm Check the error code refer to Section 9 LJLJLJLJLJL ERR LED is ON Error E E 8 5 and fix the error cause LILILILILILI ERR RUN 123456 CH CH1LED is ON 25 Phase A pulse is r4 US LED corresponding being input LI OB tothe CH tums on J 299 ERR M EHO RUN 12345 6 CH 5B_CH1 LED is ON Phase B pulse is ERES LED corresponding beina input tothe CH tums on PY ERR 0 Symbols the Display contents columns indicate the following status OFF ON 4o 2 PROGRAMMING 8 1 Error Processing and Recovery Methods 8 3 8 1 1 Checking error description using System Monitor of GX Developer 8 TROUBLESHOOTING ries 8
83. PLC parameter correct Check the intelligent function module interrupt pointer setting Section 5 3 2 Is the way to use the program execution control instruction correct Does the counter value coincidence X02 remain ON 8 4 When the Coincidence Detection Interrupt Does Not Occur Check the sequence program Turn ON the coincidence reset command Y01 and reset the counter value coincidence X02 Section 5 3 2 CHAPTER 7 Section 3 3 2 8 7 OVERVIEW CONFIGURATION SYSTEM SPECIFICATIONS PROCEDURES AND SETTINGS BEFORE OPERATION FUNCTIONS UTILITY PACKAGE GX Configurator CT S PROGRAMMING 8 TROUBLESHOOTING e 8 5 Error Codes List This section describes the descriptions and corrective actions for the errors detected by the QD63P6 Table 8 9 Error codes list Error 257 Operation at error Description Action Reference code Other channels 0 Normal The present value A Un G10 and 11 present value B The linear Un G200 and 201 exceeds the Section 100 Overflow error counter function Perform preset Y02 following range when the linear 3 3 dU stops counting counter function is selected 2147483648 to 2147483647 Set them so that the The setting which meets the NU dition teni condition ring counter Soui condition ring counter lower lower limi
84. Section 3 4 2 4 5 18 5 5 Using the Periodic Pulse Counter Function FUNCTIONS ON Count enable command 04 OFF 7 th 2 5 200 200 100 Present value Un G10 and 11 lt 5 20 16 2S nO ON Periodic pulse counter start command Y05 OFF i T f 5 Period setting T T T T T s er lt Un G9 2 2 200 200 E N 100 Present periodic pulse count value Un G16 17 o 0 nw 2 ea 888 uz lt oEu i 3 200 200 ano 100 Previous periodic pulse count value Un G14 and 15 0 200 Ex 7 100 5 E Judgment value for updated periodic pulse count value a Un G18 and 19 0 Z 8 E an 1 Periodic counter flag Un G13 0 Figure 5 12 Periodic pulse counter function operation example 2 o o 02 Dn o 2 o o e a 2 o 02 5 5 Using the Periodic Pulse Counter Function 5 19 FUNCTIONS MELSEG series Table 5 5 Details of the periodic pulse counter function operation example No Description 1 The counter s present value A Un G10 and 11 present value B Un G200 and 201 is stored in the present periodic pulse count value Un G16 and 17 The counter s present value A Un G10 and 11 present value B Un G200 and 201 200 is stored in the present periodic pulse c
85. Uninstalling the Utility Package 6 2 1 Handling precautions 6 UTILITY PACKAGE Configurator CT als 26 fel Table 6 2 Maximum number of settable parameters using GX Configurator When intelligent function modules Maximum number of parameter settings Q00J Q00 Q01CPU 512 256 amp Q02 Q02H Q06H Q12H Q25HCPU 512 256 5 Q02PH Q06PH Q12PH Q25PHCPU 512 256 Q12PRH Q25PRHCPU 512 256 Q00UJ Q00U Q01UCPU 512 256 Q02UCPU 2048 1024 5 Q03UD Q04UDH Q06UDH Q10UDH Q13UDH Q20UDH Q26UDH QO3UDE Q04UDEH Q0GUDEH 4096 2048 29 Q10UDEH Q13UDEH Q20UDEH Q26UDEHCPU Q50UDEH Q100UDEHCPU Use prohibited Use prohibited S MELSECNET H remote I O station 512 256 lt U For example if multiple intelligent function modules are installed to the MELSECNET g 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 28 settings separately for the initial setting and for the auto refresh setting du The number of parameters that can be set for one module in GX Configurator CT is age as shown below 9E LOO Table 6 3 Number of settable parameters per module Target module Initial setting Auto refresh setting QD63P6 6 fixed 48 Max Example Counting the number of parameter settings in Auto refresh set
86. X Y1F zu Qu Figure 7 1 System configuration aa 2 Setting conditions of the intelligent function module switch Set the pulse input mode counting speed setting counter format and present value 9 selection setting with the intelligent function module switch on GX Developer Refer to Section 4 5 Table 7 1 Setting conditions of the intelligent function module switch o Counting speed Present value Pulse input mode setting selection setting CH1 1 multiple of 2 phases 200 Present value A i 3 Program conditions This program uses the QD63P6 to perform counting on the conditions listed below 2 Table 7 2 Initial setting lt 2 Item Setting value 8 Preset value setting 2500 ES Coincidence detection point change request Change request 7 Coincidence detection point setting 1000 Ring counter lower limit value 1 5000 Ring counter upper limit value 1 5000 Period setting 2 500 5000ms 5 1 Set this only when using the ring counter function 2 Set this only when using the periodic pulse counter function 2 pes e a PROGRAMMING Table 7 3 Auto refresh setting MELSEC 8 Item Setting value CH1 Present value A DO CH1 Overflow detection flag 1 D8 CH1 Previous periodic pulse count value 2 0114 CH1 Present periodic pulse count value 2 0116 CH1 Judgment value for updated periodi
87. c pulse D118 count value CH1 Error code D120 1 Set this only when using the linear counter function 2 Set this only when using the periodic pulse counter function Table 7 4 Devices used by users Item Device Count operation start signal X20 Present value read signal X21 Preset command signal X22 Count operation stop signal X23 Coincidence LED clear signal X24 Periodic pulse count data read signal X25 Periodic pulse count start signal X26 Error reset command X27 Coincidence confirmation LED signal Y30 Overflow occurrence confirmation LED signal 2 Y31 Error occurrence confirmation LED signal Y32 Present value storage DO to D1 Previous periodic pulse count value storage D2 03 Present periodic pulse count value storage 1 D4 to 05 Overflow status storage 2 D8 Error code storage Eo D9 1 Set this only when using the periodic pulse counter function 2 Set this only when using the linear counter function 8 Stores the last occurred error and retains even after error reset PROGRAMMING 7 1 Program Example when GX Configurator CT is Used i 7 1 1 GX Configurator CT operation z e 1 Initial setting refer to Section 6 4 Figure 7 2 shows settings have to be made 2 CH1 Initial Setting lt Module information 06 Module type Counter Module Start
88. ce detection point setting Un G6 and 7 the counter value large X01 turns ON Turn ON the coincidence signal reset command 01 and reset the counter 5 value coincidence X02 If the counter value coincidence X02 remains ON the next counter value coincidence X02 cannot be output Without the operations given in 1 coincidence detection using the value stored in the coincidence detection point setting Un G6 and 7 is not performed 3 POINT When the sequence program scan time is less than 2ms be sure to make the coincidence signal reset command Y01 turn ON for 2ms using a timer etc or more by When the present value A Un G10 and 11 present valueB Un G200 and 201 matches the coincidence detection point setting Un G6 and 7 if the coincidence signal reset command Y01 is turned ON and OFF the counter value coincidence X02 turns ON again Coincidence detection processing inside the QD63P6 may cause the counter value large X01 or the counter value small X03 to turn ON when the counter value coincidence X02 status changes from OFF to ON 5 3 Using the Coincidence Detection Function 5 13 SYSTEM PROCEDURES AND SETTINGS BEFORE OVERVIEW CONFIGURATION SPECIFICATIONS OPERATION UTILITY PACKAGE GX Configurator CT o 2 O 2 5 PROGRAMMING TROUBLESHOOTING FUNCTIONS MELSEG series 2 Coincidence detection inte
89. counter value coincidence X02 refer to Section 5 3 Figure 5 8 5 16 5 3 Using the Coincidence Detection Function Functions SIS D 5 4 Using the Preset Function The preset function is used to replace the counter s present value Un G10 and 11 present value Un G200 and 201 with any given value preset value from which the E o pulse counting can be started 1 Preset function operation gt The preset function is activated by turning the preset command 02 on the E sequence program Figure 5 11 contains the I O numbers X Y and buffer memory addresses of channel Eu 1 only For channels 2 to 6 refer to Section 3 3 1 and Section 3 4 1 56 Count enable command YO4 E OFF Counter input pulse d o dUEP dod P Pod dod Preset value setting Un G4 and 5 0 6 x 2 HEP I e Preset command Y02 ON i 2 lt OFF Ke boo 8 Qu PE 5 Present value Un G10 and 11 011 2 to 65 66 67 100 101 102 103 1104 1105 Oe Figure 5 11 Preset function operation example Table 5 4 Details of the preset function operation example No Description 1 Writes any value into the preset value setting Un G4 and 5 of the QD63P6 in o 2 Oo 2 5 the 32 bit binary format When the preset command Y02 rises
90. ction refer to Section 5 5 execution For general operation refer to the periodic pulse counter function Section 5 5 2 After the update of the previous periodic pulse count value Un G14 and 15 and present periodic pulse count value Un G16 and 17 the previous periodic pulse 5 count value Un G14 and 15 is stored in the judgment value for updated periodic pulse count value Un G18 and 19 If the previous periodic pulse count value Un G14 and 15 and judgment value for updated periodic pulse count value Un G18 and 19 are not equal inconsistency occurs Reread the previous periodic pulse count value Un G14 and 15 present periodic pulse count value Un G16 and 17 and judgment value for updated periodic pulse count value Un G18 and 19 The range of a value to be read is from 2147483648 to 2147483647 32 bit signed binary UTILITY PACKAGE GX Configurator CT 2 9 Error code Un1G20 Code of the detected error refer to Section 8 5 is stored in this area For operations when multiple errors occur concurrently refer to POINT in Section g 8 5 2 ae m 2 o 3 4 Buffer Memory Assignment 3 15 3 4 2 Details of the buffer memory 3 SPECIFICATIONS 3 16 MELSEC 8 10 Error reset command Un G21 This area is used for resetting the error code stored in the error code of buffer memory Un G20 0 Writing 1 ON to the error reset
91. ction can be executed concurrently e The G P PPCVRDD instruction can be executed while the module READY signal is ON If executed while the signal is OFF the instruction is ignored 2 Error There are no errors regarding the instruction AP PX 3 Appendix 1 Dedicated Instructions Appendix 1 2 G P PPCVRD APPENDICES cries 3 Program example The following example shows the program which reads the periodic pulse count value of CH 1 for the QD63P6 mounted to to the slot where number X Y00 to X Y1F are assigned when the read command MO is turned ON 3 POINT MO 6 PPOVRD1 UO D100 M10 PPCVRD1 PPCVRD1 PPCVRD1 Executive System area Completion instruction device MO PPCVRD1 PPCVRD1 PPCVRD1 Completion Completion Executive device status instruction indication device Performing processing at error completion PRGVRD TIRE gt x c Edu Completion status indication device RST MO PPCVRD1 Executive instruction END When the periodic pulse count value is read with the G P PPCVRDD instruction the determination on consistency in the sequence program is unnecessary Appendix 1 Dedicated Instructions AP PX 4 Appendix 1 2 G P PPCVRD APPENDICES INDEX APPENDICES MELSEC Aries Appendix 2 External Dimensions n 5 QD63P6 RUN123456CH 000000
92. d FUNCTIONS eries 5 2 Selecting Counter Format By selecting a counter format the following counter operations are available gt 1 Linear counter The linear counter generates an overflow error when the count value exceeds the count range of the QD63P6 z 2 Ring counter 2 ie a Counting is repeated within the range between the arbitrarily set ring counter 25 upper limit value Un G2 and 3 and ring counter lower limit value Un GO and 1 b When the same value is set to the ring counter upper limit value Un G2 and 3 and ring counter lower limit value Un GO and 1 counting is repeated in the entire 2 range of the QD63P6 lt m o Select the linear counter or ring counter in the intelligent function module switch setting of Developer For setting details refer to Section 4 5 28 se ene ano o 2 O 2 5 UTILITY PACKAGE GX Configurator CT PROGRAMMING TROUBLESHOOTING 5 2 Selecting Counter Format 5 3 FUNCTIONS MELSEC TA eries 5 2 1 Selecting the linear counter 1 Linear counter operation When the linear counter is selected counting is operated in a range between 2147483648 lower limit value and 2147483647 upper limit value This can be used in combination with the preset function and the coincidence detection function Present counter value Overflow 2147483647 d
93. d lt Overflow detection processing gt X0 UON 1 152 4 MOV 612 08 1 i Module CH1 Overflow READY Overflow status detection flag storage 08 Ki 1 1 J Overflow Overflow status occurrence i storage confirmation LED signal 7 2 Program Example when GX Configurator CT is not Used 7 2 2 Program example when dedicated instructions are not used IS eG Q series Set only when the periodic pulse counter function is used Set only when the linear counter function is used T 11 OVERVIEW CONFIGURATION SYSTEM SPECIFICATIONS PROCEDURES AND SETTINGS BEFORE OPERATION FUNCTIONS UTILITY PACKAGE im GX Configurator CT PROGRAMMING TROUBLESHOOTING PROGRAMMING Error reset processing 172 Error occurrence X27 192 JN toy o D120 KO Error code Y32 Error reset Error command occurrence 198 T 12 confirmation LED signal 7 2 Program Example when GX 15 not Used 7 2 2 Program example when dedicated instructions are not used UO G20 CH1 Error code D120 Error code MELSEC 8 0120 Error code D9 Error code storage Y32 Error occurrence confirmation LED signal UON G21 CH1 Error reset command END PROGRAMMING
94. d Count operation stop XO X23 BBY Pf aa 4 Module Count CH1 Count READY operation enable stop signal command 7 10 7 2 Program Example when GX Configurator CT is not Used 7 2 2 Program example when dedicated instructions are not used PROGRAMMING Present value storage X0 X21 uov 4 610 00 1 Module Present value CH1 Present READY read signal Present value value A storage Processing at count coincidence X0 X2 Y1 84 f 30 X Module CH1 CH1 Coincidence READY Counter Coincidence confirmation value signal reset LED signal coincidence command X2 X24 Hie n 1 CH1 Coincidence CH1 Counter LED clear Coincidence value signal signal reset coincidence command X2 Y1 if RST YI CH1 CH1 CH1 Counter Coincidence Coincidence value signal reset signal reset coincidence command command Preset execution X0 X22 109 7 l Y2 X Module Preset CH1 Preset READY command command signal Periodic pulse counter function X0 X25 i 120 H DFRO K14 D2 K3 1 i Module Periodic Previous READY pulse periodic pulse count i read value command storage D gt D2 D6 HDF RO HO K14 D2 K3 1 Previous Judgment Previous 4 periodic value for periodic pulse count updated pulse count i value periodic value storage pulse count storage X26 value POSH HWY SH 2 Periodic pulse CH1 Periodic count start pulse counter i command start comman
95. d CH6 CH5 Fixed to 0 Counting speed setting Counting speed setting Refer to Section 3 1 Set the following bit pattern with hexadecimal b11 b8 b7 bO 0 4 to Switch 3 00 10 kPPS 0000 01 100 kPPS 10 200 Reserved Fixed to 0 Example CH1 and 2 200 kPPS CH3 100 kPPS and to 6 10 kPPS 00 00 00 01 10 10 001 Counter format present value Counter format Refer to Section 5 2 1 and Section selection setting 5 2 2 Set the following bit pattern with hexadecimal 0000 e i 4 6151413121 0 Linear counter Switch 4 1 Ring counter 0000 Example Linear counter CH1 CH2 and CH5 Ring counter CH3 CH4 and CH6 00101100 2CH Present value selection setting Refer to Section 3 4 2 5 0 Present value A Un G10 and 11 Reserved Fixed to 0 1 Present value B Un G200 and 201 Switch 5 Reserved Fixed to 0 4 14 4 5 Intelligent Function Module Switch Setting PROCEDURES AND SETTINGS BEFORE OPERATION aLS b Q Example Target channel channel 1 pulse input mode setting 1 multiple of 2 phases counting speed setting 200 kPPS counter format ring counter and present value selection setting setting value B Set the switch 1 0003 Set the switch 3 0002 Set the switch 4 0101 3 The reserved bits in Table 4 7 are for system use not for u
96. d 7 does not become effective If 1 Change request is not written the setting is not reflected Performed by the QD63P6 Coincidence detection point change request 0 X 1 X 0 X 1 X 0 1 d 1 Un G8 Coincidence detection X point setting 0 xX 100 X 200 Un G6 and 7 1 When the coincidence detection point setting Un G6 and 7 becomes effective the QD63P6 writes 0 to the coincidence detection point change request Un G8 Figure 3 3 Timing chart for the coincidence detection point setting Un G6 and 7 and coincidence detection point change request Un G8 For details of the general operation refer to Section 5 3 3 4 Buffer Memory Assignment 3 4 2 Details of the buffer memory 3 SPECIFICATIONS IS eG 4 Period setting Un G9 This area is used for writing the cycle at which the periodic pulse counter function refer to Section 5 5 is to be performed amp Setting value when the periodic pulse counter start command Y05 changes 5 from OFF to ON becomes effective Setting range is from 1 to 65535 16 bit binary and unit of the time is 10 ms Example Writing 420 to the period setting Un G9 420 x 10 4200 ms i Performed by the QD63P6 2 Quedan X 26 Periodic pulse ON stari Command 1 1 k OFF 3 TP x Pines o9 X om Se a 0
97. dgment value for updated periodic pulse count value Un G18 and 19 The counter s present value A Un G10 and 11 present value B Un G200 and 201 100 is stored in the present periodic pulse count value Un G16 and 17 The value 100 that was in the present periodic pulse count value Un G16 and 17 until then is now stored in the previous periodic pulse count value Un G14 and 15 After the update of the resent periodic pulse count value Un G16 and 17 and 5 the previous periodic pulse count value Un G14 and 15 100 is stored in the judgment value for updated periodic pulse count value Un G18 and 19 The counter s present value A Un G10 and 11 present value B Un G200 and 201 80 is stored in the present periodic pulse count value Un G16 and 17 The value 100 that was in the present periodic pulse count value Un G16 and 17 until then is now stored in the previous periodic pulse count value Un G14 and 15 After the update of the present periodic pulse count value Un G16 and 17 and 6 the previous periodic pulse count value Un G14 and 15 100 is stored in the judgment value for updated periodic pulse count value Un G18 and 19 The periodic pulse counter function is executed regardless of the ON OFF status of the count enable command Y04 During execution of the periodic pulse counter function 1 Operating is 8 stored in the periodic counter flag Un G13 5 20 5 5 Using t
98. dule Start 1 0 No 0000 Module model QD63P6 Setting item Current value Setting value CHT Present value A Present value B CH1 Overflow detection flag CHT Subtraction count command Y03 CHT Count enable 704 CHT Error code CHT Enor reset command GX Configurator CT 92 FUNCTIONS UTILITY PACKAGE CH2 Present value CH2 Present value B CH2 Overflow detection flag 2 Subtraction count command Y 08 Flash ROM setting Details z Current value Monitoring z Make text file 5 Dn Stop monitor Refer to Section 6 6 ro 2 e H H H o Figure 6 4 General operation Continued E a a 6 3 Utility Package Operation 6 9 6 3 2 Operation overview 6 UTILITY PACKAGE Configurator CT MELSEC 8 6 3 3 Starting the Intelligent function module utility Operating procedure Intelligent function module utility is started from GX Developer Tools gt Intelligent function utility Start Setting screen 2 Intelligent function module utility C WELSECAGppwACT E JBR Intelligent Function module parameter Online Tools Help Select a target intelligent function module Start 1 0 No Module type 0000 Counter Module Module model name QD63P6 Parameter setting module Intelligent function module parameter Start 1 0 No
99. e I O signals of the QD63P6 numbers X Y and buffer memory addresses in Description describe only for channel 1 For I O numbers X Y and buffer memory addresses from channels 2 to 6 refer to Section 3 3 1 and Section 3 4 1 1 signals Signal name QD63P6 Programmable controller CPU Table 3 5 I O signals Description Turns ON at reset or power ON of the programmable controller CPU when counting of the QD63P6 is ready and the count processing is performed Turns OFF when watchdog timer error or an error which affects the system error code 810 to 850 occurs The count processing is not performed when the module READY X00 is OFF This signal is used for an interlock of sequence programs X00 Module READY Performed by the QD63P6 5 Performed by the sequence program A Watchdog timer error or Status of the QD63P6 In preparation Y Ready an error which affects the system 1 4 ON Module READY i W OFF X00 Turns ON when the present value A Un G10 and 11 present value B Un G200 and X01 CH1 201 gt Coincidence detection point setting Un G6 and 7 Turns OFF when the present value A Un G10 and 11 present value Un G200 and 201 Coincidence detection point setting Un G6 and 7 X06 CH2 For details of the general operation refer to Section 5 3 Immediately after power
100. e Version Check the function version and serial No of the QD63P6 and the GX Configurator CT software version by the following methods ed OVERVIEW 1 Checking the rating plate on the module side The rating plate is situated on the side face of the QD63P6 MELSEC Q 2 lt c 2 o 2 e W 5 gt N Serial No Upper 6 digits function version SERIAL 100812 000000000 B 9 f O Relevant regulation lt l standards o aa MITSUBISHI ELECTRIC MADE IN JAPAN z W Figure 2 2 Checking the serial No and function version rating plate e 2 Checking on the front of the module 25 The serial on the rating plate is also indicated on the front of the module lower uu part 8 8 5 m ou QD63P6 amp 9 RUN 123456 CH 0 000000 0 900000 ERR 22 2 o 2 UTILITY PACKAGE GX Configurator CT 1 100812000000000 QD63P6 B4 Function version uec es Serial No Figure 2 3 Display on the front of the module PROGRAMMING TROUBLESHOOTING 2 3 How to Check the Function Version Serial No Software Version 2 5 2 SYSTEM CONFIGURATION 2 6 MELSEC 8 3 Confirming the serial number on the system monitor Product Information List To display the screen for checking the serial number and function version select Diagnostics gt
101. e external power supply used by the system before mounting or removing the module Failure to do so may cause damage to the product Do not directly touch any conductive part or electronic part of the module Doing so may cause a malfunction or failure of the module Wiring Precautions When wiring connecting the connector properly press crimp or solder the connector using the tools specified by the manufacturers and attach the connector to the module securely Be careful to prevent foreign matter such as dust or wire chips from entering the module Failure to do may cause a fire failure or malfunction A protective film is attached to the top of the module to prevent foreign matter such as wire chips from entering the module during wiring Do not remove the film during wiring Remove it for heat dissipation before system operation Be sure to place the cables connected to the module in a duct or clamp them If not dangling cables may swing or inadvertently be pulled resulting in damage to the module and or cables or malfunctions due to poor cable connection When disconnecting the cable do not pull it by holding the cable part Disconnect the cable with connector with holding the connector plugged into the module Pulling the cable part with the cable still connected to the module may cause a malfunction or damage to the module and or cable Wiring precautions NCAUTION Always ground the shielded cable on
102. ent system resource may cause the screen to be displayed inappropriately while using the Intelligent function module utility If this occurs close the Intelligent function module utility GX Developer program comments etc and other applications and then start GX Developer and Intelligent function module utility again 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 series other than QCPU Q mode is selected or if no project is specified the Intelligent function module utility will not start b Multiple Intelligent function module utilities can be started However Open parameters and Save parameters operations under Intelligent function module parameter are allowed for one Intelligent function module utility only Only the Monitor test operation is allowed for the other utilities 5 Switching between two or more Intelligent function module utilities When two or more Intelligent function module utility screens cannot be displayed side by side select a screen to be displayed on the top of others using the task bar s Start i MELSOFT series GX D c Intelligent Function m 22 Intelligent Function m 6 Number of parameters that can be set in GX Configurator CT When multiple intelligent function modules are mounted the number of parameter settings must not exceed the following limit 6 2 6 2 Installing and
103. ery Methods 1 8 1 1 Checking error description using System Monitor of GX Developer eeeeeeeee eee eere eroe eee ee e 1 8 1 2 When the RUN LED turns OF F 8 4 8 1 3 When the RUN LED and ERR LED turn ON 4 A 7 8 2 8 3 8 4 8 5 When the QD63P6 Does Not Start Counting 0000000000000000000000000000000000000000000000000000000000000000cc J 5 When the QD63P6 Does Not Normally Count 00000000000000000000000000000000000000000000000000000000000000cc 6 When the Coincidence Detection Interrupt Does Not Occur eeeeeeeeeeee ee eee esee 8 7 Error Codes List 8 APPENDICES APPX 1 to APPX 5 Appendix 1 Dedicated Instructions 00000000000000000000000000000000000000000000000000000000000000c0cccccccccccccc AX 1 Appendix 1 1 Dedicated ins
104. ext 5 addition pulse Ring counter upper limit value UnXG2 and 3 1 is stored in the present value A Un G10 and 11 present value B Un G200 and 201 Subtraction count 5 When the present value A Un G10 and 11Yy present value Un G200 25 and 201 reaches the ring counter upper limit value Un G2 and 3 the 25 ring counter lower limit value Un GO and 1 is automatically stored in the present value A Un G10 and 11 present value B Un G200 and 201 i In both cases of addition and subtraction counts the ring counter upper limit value 2 and 3 is not stored in the present value A Un G10 and 11 S present value B Un G200 and 201 N d Setting example When the count is enabled with a ring counter lower limit value Un GO and 1 of 0 ring counter upper limit value Un G2 and 3 of 2000 and present 2E value A Un G10 and 11 present value B Un G200 and 201 of 3000 396 Present counter value 4 nid E E a 2147483647 3000 Ring counter upper limit value 2000 o 2 O 2 5 0 Ring counter lower Subtraction Addition limit value 0 2147483648 v 2147483646 2147483648 2147483646 2147483647 2147483647 UTILITY PACKAGE GX Configurator CT
105. ffer memory size of the setting item Displays the number of words to be transferred indicates that data are written from the programmable controller CPU to the buffer memory gt indicates that data are loaded from the buffer memory to the programmable controller CPU Enter a CPU module side device that is to be automatically refreshed Applicable devices are X Y M L B T C ST D W R and ZR When using bit devices X Y M L or B set a number that can be divided by 16 points examples X10 Y120 M16 etc Also buffer memory data are stored in a 16 point area starting from the specified device number For example if X10 is entered data are stored in X10 to X1F Make text file Creates a file containing the screen data in text file format End setup Saves the set data and ends the operation Cancel Cancels the setting and ends the operation POINT The auto refresh settings are stored in an intelligent function module parameter file The auto refresh settings become effective by turning the power OFF and then ON or resetting the CPU module after writing the intelligent function module parameters to the CPU module The auto refresh settings cannot be changed from sequence programs However processing equivalent to auto refresh can be added using the FROM TO instruction in the sequence program 6 5 Auto Refresh 6 UTILITY PACKAGE Configurator CT
106. g the interrupt pointer setting with parameters According to the setting in the Intelligent function module interrupt pointer setting dialog box only the interrupt factors starting from the start SI No and equivalent to the number of the pointers are used For example if the start SI No and No of pointers are set to 1 and 2 respectively only SI 1 and 2 will be used The interrupt function is not used if the interrupt pointer setting with parameters has not been made 0 2 2 Using the IMASK instruction from the sequence program With the IMASK instruction whether to enable or disable interrupt mask the interrupt program execution can be set to each interrupt pointer number For details of the IMASK instruction refer to MELSEC Q L Programming Manual Common Instruction UTILITY PACKAGE GX Configurator CT PROGRAMMING TROUBLESHOOTING 5 3 Using the Coincidence Detection Function 5 15 FUNCTIONS MELSEG series x POINT A coincidence detection interrupt occurs when the counter value coincidence X02 rises from OFF to ON This means that if the coincidence signal is reset and unless the counter value coincidence X02 is turned OFF the next interrupt request will not be issued Immediately after power ON or reset of the programmable controller CPU the counter value coincidence X02 tums ON however no coincidence detection interrupt will occur For how to reset the
107. gent function module utility C een Online To h a nd led Open parameters Ctrl O Close parameters Save parameters Ctrl 5 Delete parameters Open parameters Reads a parameter file Close parameters Closes the parameter file If any data are modified a dialog asking for file saving will Exit Save parameters Saves the parameter file Delete parameters Deletes the parameter file Open FB support parameters Opens a FB support parameter file Save as FB support parameters Saves a FB support parameter Exit Closes this screen b Monitor Test Activates the Select monitor test module Tools Help screen Monitor Test Read from PLC Reads intelligent function module n parameters from the CPU module Write to PLC Writes intelligent function module parameters to the CPU module Online menu 3 POINT 1 Saving intelligent function module parameters in a file Since intelligent function module parameters cannot be saved in a file by the project saving operation of GX Developer save them on the shown module selection screen 2 Reading writing intelligent function module parameters from to a programmable controller using GX Developer Intelligent function module parameters can be read from and written into a programmable controller after having been saved in a file Set a target programmable controller CPU in GX Developer
108. gh speed pulse input a Always use a shielded twisted pair cable and provide grounding rad 0 LL Ww z 29 Ww RO b Wire the shielded twisted pair cables so as not to be in parallel with wires causing much noise such as power lines I O wires while keeping a distance of at least 150 mm 5 91 inch between such wires Also install the shielded twisted pair cables as short as possible FUNCTIONS UTILITY PACKAGE GX Configurator CT PROGRAMMING TROUBLESHOOTING 4 4 Wiring 4 5 4 4 1 Wiring precautions 4 PROCEDURES AND SETTINGS BEFORE RATION M 2156 Q series 5 The following diagram shows an example of wiring for measures against noise Programmable controller QD63P6 Termina block Avoid using a solenoid valve and inductive load together in the same metallic pipe If a sufficient distance cannot be secured with high voltage P cable due to such as duct wiring use CVVS or other shielded cable for the high voltage cable Terminal Install I O wires at least 150 mm 5 91 inch away from the high voltage equipment such as relay and inverter Apply this wiring in a Relay box control panel as well Make the distance between the encoder and relay box as short as possible If the distance is long a voltage drop may occur Therefore check that the voltages while the encoder is in operation stop are within the rated voltage at
109. gs are changed as follows Period setting 3000 ms Periodic pulse counter start command Y05 ON 1 Click Setting value field for CHO Period setting to select it 2 After inputting a period unit 10 ms input 300 in case of the above example press the Enter key At this moment the input value has not yet been written to the QD63P6 3 Select ON in Setting item field of CHO Periodic pulse counter start command 05 4 Select the Setting value fields input in 1 to 3 while pressing the Ctrl key Dragging operation using the mouse can also select multiple items 5 Click the Execute test button for writing After the writing the written value is updated in the Current value field 6 6 Monitoring Test 6 6 1 Monitoring Test PROGRAMMING IS EO EAseries m This chapter describes programs using channel 1 of QD63P6 whose system configuration amp example shown below in the following two cases 6 GX Configurator CT is used GX Configurator CT is not used When applying any of the program examples introduced in this chapter to the actual system verify the applicability and confirm that no problem occurs in the system control z n2 1 System configuration 25 5 QX10 X20 to X2F 22 QY10 Y30 to E 2 o d E Ui o LL dH AHA O a QD63P6 7 aw X YO to
110. h reference to Section 4 3 2 1 Applicable Systems Version 1 405 or later 2 3 Lu on gt 2 PROCEDURES AND SETTINGS BEFORE UTILITY PACKAGE GX ed OVERVIEW pa lt D pa Q SPECIFICATIONS OPERATION FUNCTIONS PROGRAMMING TROUBLESHOOTING 2 SYSTEM CONFIGURATION EISE e series 2 2 About Use of the QD63P6 with Redundant CPU This section explains how to use the QD63P6 with the Redundant CPU 1 GX Configurator CT GX Configurator CT cannot be used when accessing the Redundant CPU via an intelligent function module on an extension base unit from GX Developer Connect a personal computer with a communication path indicated below Main base unit D Direct connection to the CPU Connection through an intelligent function module on the main base unit Through Ethernet module MELSECNET H module or CC Link module Figure 2 1 Communication path which GX Configurator CT can use 2 Restrictions when using the Redundant CPUs The coincidence detection interrupt function is not supported The dedicated instruction cannnot be used 2 4 2 2 About Use of the QD63P6 with Redundant CPU 2 SYSTEM CONFIGURATION MELSEC TE eries 2 3 How to Check the Function Version Serial No Softwar
111. h the G P PPCVRDD instruction consistency between the previous periodic pulse count value and the present periodic pulse count value is retained Refer to Section 5 5 c Completion device D and completion status indication device D 1 are available for the interlock signal of the G P PPCVRDUD instruction 1 Completion device Turns ON at END processing in the scan where the G P PPCVRDO instruction is completed and turns OFF at the next END processing 2 Completion status indication device Turns ON OFF according to the status on completion of the G P PPCVRDO instruction Normal completion Remains OFF Error completion Turns ON at END processing in the scan where the G P PPCVRDU instruction is completed and turns OFF at the next END processing END END END END processing processing processing processing Sequence program _ Completion of the G P PPCVRDI instruction G P PPCVRDI instruction OFF OF ZEN ee EN Completion device D QE Error T Normal Completion status completion y indication device D 1 1 scan Figure APPX 2 Timing chart of the G P PPCVRDLI instruction d If the channels differ the G P PPCVRDDQ instructions can be executed concurrently For example the G P PPCVRD 1 instruction and G P PPCVRD2 instru
112. he Periodic Pulse Counter Function FUNCTIONS POINT When reading a periodic pulse count value with the sequence program use either if of the following methods amp gt o 1 Read a data block of six words from the previous periodic pulse count value Un G14 and 15 using the DFRO instruction and check that the previous periodic pulse count value Un G14 and 15 is equal to the judgment value for updated periodic pulse count value Un G18 and 19 If not equal try reading again 25 The following example program reads the periodic pulse count value of 25 channel 1 of the QD63P6 that is mounted in the slot position of I O number X YOO to X Y1F when MO is turned ON MO 2 DFRO H0 K14 DO K3 E DO 0 04 DFRO K14 DO K3 END Figure 5 13 Periodic pulse counter value reading program example m Oo 2 Use the dedicated instruction G P PPCVRDd Refer to Appendix 1 2 gu When the periodic pulse count value is read with the G P PPCVRDO instruction the determination on consistency in the sequence program is Te unnecessary If either of the above methods is not used the previous and present values may be the same due to the update timing of the module and reading timing of the sequence program and may cause inconsistency in the periodic pulse count values o 2 O 2 5 UTILITY PACKAGE GX Configurator CT PROGRAMMING TROU
113. he following manual AD75CK type Cable Clamping Instruction Manual LLI 14 9 uL Ww az 29 RO FUNCTIONS UTILITY PACKAGE GX Configurator CT PROGRAMMING TROUBLESHOOTING 4 4 Wiring 4 7 4 4 1 Wiring precautions PROCEDURES AND SETTINGS BEFORE OF M 2156 Q series 4 4 2 Example of wiring the module and an encoder 1 Example of wiring with an encoder of open collector output type 5 VDC QD63P6 Encoder Phase A pulse input i cett E I Phase Shielded ey twisted pair cable Y 1 1 i E dour I gt Ene acm f Phase A pulse input L 240 1 8 W 1 Phase pulse input 1 Phase Shielded twisted pair cable 9 1 Lj 1 AA Phase B pulse input r Shield 240 Q 1 8 W E Vd 1 1 1 1 External power supply ov x Figure 4 5 Example of wiring with an encoder 5 VDC 4 4 Wiring 4 4 2 Example of wiring the module and an encoder 4 PROCEDURES AND SETTINGS BEFORE OPERATION WIE SETS 3 POINT When wiring the QD63P6 and an encoder separate the power supply cable and signal line The following diagram shows an example of wiring with Phase A Wire Phase B as well Wiring example OVERVIEW Shielded twisted pair cable QD63P6 Pulse x7 i
114. he preset value setting Un G4 and 5 set the ring counter upper limit value Un G2 and 3 and ring counter lower limit value Un GO and 1 as shown below and then turn ON the preset command Y02 After the preset value setting Un G4 and 5 became effective turn OFF the preset command Y02 and turn ON the count enable command Y04 Ring counter lower limit value Ring counter upper limit value Un GO and 1 Un G2 and 3 c Count operation When the following setting is made regardless of the present value A Un G10 and 11 present value B Un G200 and 201 the count range is the entire range of signed 32 bit binary numbers 2147483648 to 2147483647 Ring counter lower limit value Ring counter upper limit value Un GO and 1 Un G2 and 3 d Setting example When the count is enabled with a ring counter lower limit value Un GO and 1 of 1000 ring counter upper limit value Un G2 and 3 of 1000 and present value A Un G10 and 11 present value B Un G200 and 201 of 3000 the count is operated in the entire range of the QD63P6 2147483648 lower limit value to 2147483647 upper limit value 5 10 5 2 Selecting Counter Format 5 2 2 Selecting the ring counter FUNCTIONS 1 When changing the ring counter upper lower limit value perform the following amp Turn OFF the count enable command 04 for 2ms or longer Change the setting of the ring counter upper li
115. he subtraction count command Y03 are OFF For subtraction count oA or subtraction count J L command Y03 Counts on the falling edge of or the subtraction count command Y03 is ON 2 multiples of 1 For addition count and subtraction count command Y03 Counts on the rising 1 and falling edges of and the subtraction count command Y03 are OFF phase i For subtraction Counts on the rising 1 and falling edges of B count or subtraction m B or the subtraction count command Y03 is ON command 03 Count the risi d f For addition count is OFF CW CCW For subtraction QA is OFF count 6B Counts on the rising edge 1 of B fiL For addition count When is OFF counts on the rising edge 1 of A 1 multiple of 2 phases For subtraction V When is OFF counts on the falling edge of 5 1 Pulse Input Count Methods 5 1 1 Types of the pulse input method 5 1 OVERVIEW CONFIGURATION SYSTEM SPECIFICATIONS PROCEDURES AND SETTINGS BEFORE OPERATION oO 2 2 9 2 gt PROGRAMMING TROUBLESHOOTING
116. heir respective companies SPREAD Copyright C 1996 Farpoint Technologies Inc SH NA 080692ENG E SH NA 080692ENG E 1202 MEE MODEL QD63P6 U SY E MODEL CODE 13JZ03 MITSUBISHI ELECTRIC CORPORATION HEAD OFFICE TOKYO BUILDING 2 7 3 MARUNOUCHI CHIYODA KU TOKYO 100 8310 JAPAN NAGOYA WORKS 1 14 YADA MINAMI 5 CHOME HIGASHI KU NAGOYA JAPAN When exported from Japan this manual does not require application to the Ministry of Economy Trade and Industry for service transaction permission Specifications subject to change without notice
117. icable to the QD63P6 and quantities for each CPU model Depending on the combination with other modules or the number of mounted modules power supply capacity may be insufficient Pay attention to the power supply capacity before mounting modules and if the power supply capacity is insufficient change the combination of the modules Table 2 1 Applicable modules number of mountable modules and applicable base units Applicable CPU module No of Base unit 2 1 Extension base CPU type CPU model modules Main base unit 2 uni QOOJCPU Up to 8 Basic model A QOOCPU QO1CPU pes QO2CPU Q02HCPU QO6HCPU Up to 64 Q12HCPU Q25HCPU Q02PHCPU QO6PHCPU Process CPU Q12PHCPU Up to 64 Q25PHCPU Programmable controller CPU Redundant CPU Up to 534 x Q25PRHCPU QOOUJCPU Up to 8 QOOUCPU Q01UCPU QO2UCPU Up to 36 QO3UDCPU QO4UDHCPU O QO6UDHCPU Q10UDHCPU Up to 64 Q13UDHCPU Q20UDHCPU Q26UDHCPU High Performance model QCPU Up to 24 Universal model QCPU 2 1 Applicable Systems 2 1 Lu on gt 2 PROCEDURES AND SETTINGS BEFORE UTILITY PACKAGE GX ed OVERVIEW z lt a 5 LL pa e O SPECIFICATIONS OPERATION FUNCTIONS PROGRAMMING TROUBLESHOOTING 2 SYSTEM CONFIGURATION MELSEG e Table2 1 Applicable modules numbe
118. incidence command command lt Preset execution E X22 bs 671 1 w2 y OL Module Preset CH1 Preset 5 READY command command S Signal amp c ELE RR gt ES Periodic pulse counter function gt E x lt Xo X25 59 i 76 D114 0118 s A D114 D2 K6 Set only when the Module Periodic Previous Judgment value Previous Previous iodi READY pulse count periodic for updated periodic periodic 1 periodic pulse 7 1 data read pulse count periodic pulse pulse count pulse count counter function i command value count value value value i is used storage X26 2 1 V5 1 2 1 Periodic pulse CH1 Periodic lt i count start pulse counter 1 na j command start command AE See E OEA E E ee eee 4 Q oa o 2 o o N a o 02 7 1 Program Example when Configurator CT is Used 7 5 7 1 2 Program example PROGRAMMING X0 104 D8 K1 1 Module Overflow Overflow READY status occurrence storage confirmation LED signal Error reset processing 120 4 LAS D120 KO HOV 0120 09 Error Error code Errorcode Error code occurrence storage Y32 Error occurrence confirmation LED signal X21 Y32 UO 136 Ht MV 621 Error reset Error CH1 Error command occurrence reset confirmation command LED signal 142 END 7 1 Program Example when GX Configurator CT is
119. isplay Make text file Stop monitor Details Monitoring Cannot execute test X Y Monitor Test Module information Module type Counter Module Module model name QD63P6 Selecting these buttons displays the following screens ELSEG e X Y Monitor Test Start 0000 Preset function Module information Module type Counter Module Module model name QD63P5 Preset function Start 1 0 No 0000 Setting item Curent value Setting value X00 Module READY X01 CH1 Counter value large Setting item Current value CH1 Present value A Setting value CH1 Present value B X02 CH1 Counter value coincidence 03 1 Counter value small lt 06 2 Counter value large X07 CH2 Counter value coincidence 2 Counter value small X0B CH3 Counter value large Counter value coincidence X0D CH3 Counter value small X10 CH4 Counter value large CH1 Preset value setting CH1 Preset command Y02 CH2 Present value A CH2 Present value B CH2 Preset value setting CH2 Preset command Y07 CH3 Present value A CH3 Present value B CH3 Preset value setting Flash ROM setting Curent value ly Make text file Stop monitor Details Monitoring
120. ls from the QD63P6 to the programmable controller CPU Note that that I O numbers X Y and I O addresses mentioned in this and the subsequent chapters are assumed when the QD63P6 is mounted to the null I O slot on the main base unit CONFIGURATION SYSTEM Table 3 4 signal list Input signal Signal direction QD63P6 Programmable Output signal Signal direction Programmable controller 3 controller CPU CPU QD63P6 Signal name Signal name X00 Module READY YOO Reserved X01 Counter value large YO01 Coincidence signal reset command X02 Counter value coincidence Y02 Preset command X03 CH1 Counter value small YO3 CH1 Subtraction count command m1 Reserved Y04 Count enable command E X05 Reserved 05 Periodic pulse counter start command E X06 Counter value large Y06 Coincidence signal reset command ao X07 Counter value coincidence YO7 Preset command 0 2 z X08 CH2 Countevauesmal Y08 CH2 Subtraction count command La X09 Reserved YO9 Count enable command Reserved YOA Periodic pulse counter start command Counter value large YOB Coincidence signal reset command om Counter value coincidence YOC Presetcommand CH3 Counter value small YOD CH3 Subtraction count command 2 XOE Reserved YOE Count enable comma
121. lt occurs in the PRODUCT Railway companies or Public service purposes and or any other cases in which establishment of a special quality assurance system is required by the Purchaser or End User Aircraft or Aerospace Medical applications Train equipment transport equipment such as Elevator and Escalator Incineration and Fuel devices Vehicles Manned transportation Equipment for Recreation and Amusement and Safety devices handling of Nuclear or Hazardous Materials or Chemicals Mining and Drilling and or other applications where there is a significant risk of injury to the public or property Notwithstanding the above restrictions Mitsubishi may in its sole discretion authorize use of the PRODUCT in one or more of the Prohibited Applications provided that the usage of the PRODUCT is limited only for the specific applications agreed to by Mitsubishi and provided further that no special quality assurance or fail safe redundant or other safety features which exceed the general specifications of the PRODUCTS are required For details please contact the Mitsubishi representative in your region REVISIONS The manual number is given on the bottom left of the back cover Print date Manual number Revision Jun 2007 SH NA 080692ENG A First edition Jan 2008 SH NA 080692ENG B Correction CONTENTS GENERIC TERMS AND ABBREVIATIONS Section 2 1 to 2 3 Section 4 1 Section 6 2 1 Section 6 2 2 Section 6 2 3 Section 6 3 1
122. mation 5 Module Module Name UD53P6 Product information 090210000000000 B 2 fe 1 0 Address 0 o Implementation Position Main Base 05101 a e 5 Module Information Module access Possible 1 0 Clear Hold Settings Status of External Power Supply Noise Filter Setting Fuse Status Input Status of 120 Address Verify Agree Remote password setting status Error Display emer 77 Display format Sa Select DEC The error codes Section 8 5 Error Code 5 List are shown in decimal notation Information Stop monitor UTILITY PACKAGE GX Configurator CT Display contents Present Error Designates error code 500 ring counter upper lower limit value setting error Error code of CHn CHn 1 n 6 Figure 8 1 Module s Detailed Information screen N eje S PROGRAMMING 8 1 Error Processing and Recovery Methods 8 1 8 1 1 Checking error description using System Monitor of GX Developer 8 TROUBLESHOOTING MELSEC TA eries 3 Checking Module s Detailed Information Check the status of LEDs and intelligent function module switch setting and module information in H W status on the Module s Detailed Information screen which can be displayed from System Monitor of GX Developer Version 7 17T or later Setting procedure Select Diagnostics System
123. me Input the model of the module Points Select 32points Start XY Input the head number of the QD63P6 Q parameter setting xi PLC name PLE system PLC fie PLC RAS 1 PLC RAs 2 Device Program Bootfie SFC 1 0 assignment 1 0 Assignment Slot Model name Points PLC PLC Switch setting 1 00 intelli gt 606325 32poms 0000 2 fie E Detailed setting 3 2t 2 x E 4 303 5 jr z 6 52 5 z 7 6 8 z Assigning the 1 0 address is not necessary as the CPU does it automatically Leaving this setting blank will not cause an error to occur Base setting Base mode Base model name Power model name Extension cable Slots ac Auto C Detail 8 Slot Defaut 12 Slot Default Ext Base z sesame shor Import Multiple CPU Parameter _Read PLC data Acknowledge XY assignment Multiple CPU settings Defaut Check End Cancel Figure 4 13 Setting example of I O assignment Switch setting for I O and intelligent function module screen Click the Swichsetina on the I O assignment screen to display the screen below and set the switches from 1 to 5 Entering the values in hexadecimal make the setting easier Change Input format to HEX and enter values
124. mit value 2 and 3 and or ring counter lower limit value Un GO and 1 Turn ON the count enable command 04 again While the count enable command Y04 is ON writing a setting value into the ring 35 counter upper lower limit value area UnYGO to 3 only stores it in the buffer 25 memory and is not reflected to the QD63P6 Therefore the QD63P6 operates based on the setting before the writing 2 If a value was written to the ring counter lower limit value Un G2 and 3 or ring counter upper limit value Un GO and 1 with the count enable command Y04 set 5 to ON turn OFF the count enable command 04 for 2ms or longer then 9 back ON again The set value becomes effective in the QD63P6 by this operation oy 2 When changing the count range by preset to prevent a miscount be sure to 210 turn OFF the count enable command Y04 E o 2 O 2 5 UTILITY PACKAGE GX Configurator CT PROGRAMMING TROUBLESHOOTING 5 2 Selecting Counter Format 5 11 5 2 2 Selecting the ring counter FUNCTIONS MELSEC 8 5 3 Using the Coincidence Detection Function When using the coincidence detection function set any count value in advance Then the QD63P6 compares the value with the present A Un G10 and 11 present value B Un G200 and 201 of the counter and outputs the counter value coincidence X02 when they match The coincidence detection can be set for each channel in
125. mmable controller CPU indicates an error correct the error with reference indicate an error to troubleshooting in the programmable controller CPU s manual for normal operation If they turn ON check the external wiring and Do the LEDs of and turn ON by directly encoder side and correct the error applying voltage using such as voltage stabilizer If they remain OFF it is a hardware failure Please Section 4 3 to pulse input terminals of pA and B consult your local Mitsubishi representative Section 4 4 explaining a detailed description of the problem Is the external wiring of pA and B normal Check the external wiring and correct the error Turn the count enable command 04 ON with the Is the count enable command YO4 ON Section 3 3 2 sequence program Are the present value A Un G10 and 11 present Match the present value A Un G10 and 11 value B Un G200 and 201 read by the sequence present value Un G200 and 201 to be read by program the same with the value made the sequence program with the value made on Section 4 5 Present value selection setting of the intelligent Present value selection setting of the intelligent function module switch setting function module switch setting Are the pulse input method and pulse input mode Match the pulse input method with the pulse input set with the intelligent function module switch mode made on the intelligent function module Section 5 1
126. n 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 Microsoft Windows Windows NT and Windows Vista are registered trademarks of Microsoft Corporation in the United States and other countries Pentium is a trademark of Intel Corporation in the United States and other countries Ethernet is a trademark of Xerox Corporation All other company names and product names used in this manual are trademarks or registered trademarks of t
127. nd Reserved YOF Periodic pulse counter start command 2 X10 Counter value large Y10 Coincidence signal reset command X11 Counter value coincidence Y11 Preset command X12 CH4 Counter value small Y12 CH4 Subtraction count command E X13 Reserved Y13 Count enable command 8 Xn Periodic pulse counter start command amp 2 X15 Counter value large Y15 Coincidence signal reset command E 5 X16 Counter value coincidence Y16 Preset command 5O X17 CH5 Counter value small Y17 CH5 Subtraction count command X18 Reserved Y18 Count enable command X19 Reserved Y19 Periodic pulse counter start command 9 X1A Counter value large Y1A Coincidence signal reset command XB Counter value coincidence Y1B Preset command X1C CH6 Counter value small Y1C CH6 Subtraction count command 9 X1D Reserved Y1D Count enable command 1 Reserved Y1E Periodic pulse counter start command X1F Error occurrence Y1F Reserved E E 3 3 I O Signals to the Programmable Controller CPU 3 3 3 3 1 I O signal list 3 SPECIFICATIONS series x POINT The reserved devices above are for system use not for users If used turning ON OFF by a user the functions of the QD63P6 are not ensured 3 4 3 3 I O Signals to the Programmable Controller CPU 3 3 1 signal list 3 SPECIFICATIONS Device No 3 3 2 MELSEC Sl Functions of signals The following table shows th
128. ng Module information Module type Counter Module Start No 0000 Module model name QD63P6 Setting item Setting value CH1 Initial Setting CH1 Initial Setting CH2 Initial Setting CH2 Initial Setting CH3 Initial Setting CH3 Initial Setting CH4 Initial Setting CH4 Initial Setting CHS Initial Setting CHS Initial Setting CHE Initial Setting CHE Initial Setting Details Move to sub window Make text file End setup Channel 1 Channel 6 CH6 Initial Setting Module information Start 1 0 No 0000 Module type Counter Module Start No 0000 Module model 063 Setting item Setting value Setting Setting value Preset value setting Preset value setting Coincidence detection point change request Change request Coincidence detection point change request No change request Coincidence detection point setting Coincidence detection point setting Ring counter lower limit value Ring counter lower limit value Ring counter upper limit value Ring counter upper imit value Period setting unit T0ms Period setting unit TUms Make test file Details Details Decimal input Decimal input Setting range Setting range 1 65535 1 65535 End setup Cancel Make text file End setup Cancel Figure 6 6 Initial set
129. ng example FUNCTIONS UTILITY PACKAGE GX Configurator CT PROGRAMMING TROUBLESHOOTING 4 4 Wiring 4 11 4 4 2 Example of wiring the module and an encoder PROCEDURES AND SETTINGS BEFORE OF 2156 Q series 3 Example of wiring with an encoder of voltage output type 5 VDC QD63P6 Encoder Phase A Phase B 2 Phase pulse input Shielded twisted pair cable Phase A pulse input B19 240 Q 1 8 W Phase B pulse input A18 Shielded twisted pair cable Phase B pulse input C 240 Q 1 8 W 4 12 1 5 VDC 1 External power supply d OV Figure 4 11 Example of wiring with an encoder 5 VDC 4 4 Wiring 4 4 2 Example of wiring the module and an encoder PROCEDURES AND SETTINGS BEFORE 26 e 4 Example of wiring with an encoder of voltage output type 12 24 VDC Load resistance gt QD63P6 12 V 820 Q 1 4 W Encoder Phase A pulse input 24 V 2200 Q 1 2W 5 Shielded twisted pair cable o r E 29 Phase A pulse input Shield 5 xo 240 Q 1 8 W Be Phase B pulse input Load resistance 2 Phase B Shielded twisted pair cable o ul PhaseBpulseinptt 5 240 Q 1 8 W 4 zi m 1 12 24 VDC External power sup
130. nput PhaseA Pulse input CONFIGURATION SYSTEM power supply ov External 5 VDC Figure 4 6 Wiring example Incorrect wiring example Shielded twisted pair cable QD63P6 Pulse input Since the current through the shielded twisted pair cable flows in the same direction canceling effect does not work which results in susceptibility to electromagnetic induction A SPECIFICATIONS Phase Pulse input External 5 VDC power supply OV Q rad LL Ww z 29 RO Figure 4 7 Incorrect wiring example FUNCTIONS UTILITY PACKAGE GX Configurator CT PROGRAMMING TROUBLESHOOTING 4 4 Wiring 4 9 4 4 2 Example of wiring the module and an encoder 4 PROCEDURES AND SETTINGS BEFORE RATION M 2156 Q series 2 Example of wiring with an encoder of open collector output type 12 24 VDC Load resistance QD63P6 12 V 820 Q 1 4 W Encoder 24 V 2200 Q 1 2W G c neces C gt Phase A pulse input Phase A Shielded twisted pair cable Phase A pulse input C 240 Q 1 8 W Phase B pulse input 1 Load resistance 1 Shielded twisted pair cable 12 24 V B 1 1 12 24 VDC pm E 0v 0v 1 External power supply Figure 4 8
131. or CT Japanese version cannot be used in combination and GX Developer Japanese version and GX Configurator CT English version cannot be used in combination 2 GX Configurator CT is not applicable to GX Developer Version or earlier 3 When Windows Vista or Windows 7 is used resolution of 1024 x 768 dots or more is recommended 4 When 32 bit Windows 7 is used add GX Configurator CT Version 1 29AF or later in GX Developer Version 8 91V or later When 64 bit Windows 7 is used add GX Configurator CT Version 1 29AF or later in GX Developer Version 8 98C or later 6 4 6 2 Installing and Uninstalling the Utility Package 6 2 2 Operating environment 6 UTILITY PACKAGE Configurator CT IES 26 fel Table 6 5 Operating system and performance required for personal computer Performance required for personal computer Operating system i gt Windows 95 Pentium 133 MHz or more 32 MB or more E gt Windows 98 Pentium 133 MHz or more 32 MB or more e Windows Me Pentium 150 MHz or more 32 MB or more Windows NT Workstation 4 0 Pentium 133 MHz or more 32 MB or more E Windows 2000 Professional Pentium 133 MHz or more 64 MB or more a Windows XP Pentium 300 MHz or more 128 MB or more o m Windows Vista Pentium 1GHz or more 1GB or more 7 ER 1GB or more 32 bit indows entium z or more 2GB or more 64 bit i 2 lt S
132. ount T 1 multiple of 1 phase command Y12 CH4 f 00 CH1 i i i Y17 CH5 Subtraction count command i i E Y03 99 X 100 X 99 X 98 X 97 1 Set ON OFF time such as the coincidence signal reset command Y01 to 2ms or longer using the following methods Using the timer T device Set the constant scan to 2 ms or longer 3 3 Signals to the Programmable Controller CPU 3 7 3 3 2 Functions of I O signals SYSTEM OVERVIEW CONFIGURATION PROCEDURES AND SETTINGS BEFORE UTILITY PACKAGE GX Configurator CT 2 pa lt o a 7 OPERATION FUNCTIONS PROGRAMMING TROUBLESHOOTING 3 SPECIFICATIONS MELSEC 8 Table 3 6 Output signals Continued Signal name Oo ti Programmable controller ca Description iming CPU QD63P6 Y04 CH1 ON to perform count operation This command operates as follows when the pulse input mode is YO9 CH2 1 multiple of 1 phase A ME ons Count enable i i Y13 CH4 command Count enable command i Y04 Y18 CH5 o _ X Y1D CH6 Turn ON to execute the periodic pulse counter function Y05 CHT Performed by the QD63P6 9 X E X zi X 2 X 4 YOA CH2 ION i 4 i i lore Y05 1 T1 L
133. ount value Un G16 and 17 The value 0 that was in the present periodic pulse count value Un G16 and 2 17 until then is now stored in the previous periodic pulse count value Un G14 and 15 After the update of the present periodic pulse count value Un G16 and 17 and the previous periodic pulse count value Un G14 and 15 0 is stored in the judgment value for updated periodic pulse count value Un G18 and 19 The counter s present value A Un G10 and 11 present value B Un G200 and 201 20 is stored in the present periodic pulse count value Un G16 and 17 The value 200 that was in the present periodic pulse count value Un G16 and 3 17 until then is now stored in the previous periodic pulse count value Un G14 and 15 After the update of the present periodic pulse count value Un G16 and 17 and the previous periodic pulse count value Un G14 and 15 200 is stored in the judgment value for updated periodic pulse count value Un G18 and 19 The counter s present value A Un G10 and 11 present value B Un G200 and 201 100 is stored in the present periodic pulse count value Un G16 and 17 The value 20 that was in the present periodic pulse count value Un G16 and 17 until then is now stored in the previous periodic pulse count value Un G14 and 15 After the update of the present periodic pulse count value Un G16 and 17 and 4 the previous periodic pulse count value Un G14 and 15 20 is stored in the ju
134. ply 1 ov LLI 14 LL Ww z 29 RO According to external power supply voltage connect load resistance between each pulse input terminal of the QD63P6 and shielded twisted pair cable The following table shows conditions on load resistance o Table 4 6 Conditions on load resistance External voltage V Load resistance Capacity W Tolerance 2 12 820 1 4 5 24 2200 1 2 5 ES O 2 55 o z z z g o o a a o 2 o o e a o 4 13 4 4 Wiring 4 4 2 Example of wiring the module and an encoder PROCEDURES AND SETTINGS BEFORE OF M 2156 Q series 4 5 Intelligent Function Module Switch Setting This section describes the intelligent function module switch setting The switch setting is made on the I O assignment screen of GX Developer 1 Intelligent function module switch setting The switch has five switches and is set at 16 bit data When the switch setting is not made the default values of the switches from 1 to 5 are 0 Table 4 7 Intelligent function module switches Setting item Setting value Default value Pulse input mode SM Pulse input mode Refer to Section 5 1 1 i n H 1 multiple of 1 phase H CH4 CH3 CH2 1 1 2 multiples of 1 phase Pulse input mode 2 CW CCW 3H 1 multiple of 2 phases Switch 2 0 0 E H 4u 2 multiples of 2 phases 0000 oe 5H 4 multiples of 2 phases Reserve
135. present value B Un G200 and 201 and coincidence detection point X1B CH6 setting Un G6 and 7 are all 0 general operation refer to Counter value large X01 or Section 5 3 X16 CHS X03 CH1 X08 CH2 Turns ON when the present value A Un G10 and 11 present value B Un G200 XOD CH3 and 201 lt Coincidence detection point setting Un G6 and 7 Counter value small OFF when the present value A Un G10 and 11 present value B Un G200 X12 CH4 and 201 Coincidence detection point setting Un G6 and 7 X17 CH5 general operation refer to Counter value large X01 or Section 5 3 X1C CH6 Turns ON when an error occurs at any of arbitrary channels To identify the channel where an error occurs check the error code of the buffer memory Un G20 Turns OFF when all channels are normal Sess TIPS Performed by the QD63P6 CH1 Rr i 0 X 1 X 0 X1F Error occurrence ir um o X 10 X 0 bicis d 0 X 100 X o CH3 to 6 Error code fo X 100 X 0 ON 7 Error occurrence P X1F OFF Assumed that the errors have been reset with the error reset command of each channel 3 6 3 3 I O Signals to the Programmable Controller CPU 3 3 2 Functions of I O signals 3 SPECIFICATIONS 2 Output signals Signal name EISE M Table 3 6 Output signals
136. quest Un G8 2 Turn the coincidence signal reset command YO1 OFF ON and OFF again Note that the ON time must be 2ms or longer 5 12 5 3 Using the Coincidence Detection Function FUNCTIONS MELS D Q series Table 5 2 Details of the coincidence detection operation example No Description coincidence detection point setting Un G6 and 7 1 Write a coincidence detection value 100 into the coincidence point setting Un G6 and 7 request Un G8 setting Un G6 and 7 Coincidence detection is started by the following steps using the value set in the detection 2 Write 1 Change request into the coincidence detection point change 3 When the coincidence detection point change request Un G8 status changes from 1 Change request to 0 No change request coincidence detection is enabled with the value set in the coincidence detection point As long as the present value A Un G10 and 11 present value B Un G200 and 2 201 is smaller than the coincidence detection point setting Un G6 and 7 the counter value small X03 stays ON 3 matches the coincidence detection point setting Un G6 and 7 the When the present value A Un G10 and 11 present value B Un G200 and 201 counter value small X03 turns OFF and the counter value coincidence X02 turns ON When the present value A Un G10 and 11 present value B Un G200 and 201 4 becomes greater than the coinciden
137. r of mountable modules and applicable base units Continued Applicable CPU module No of Base unit 1 Extension base QO3UDECPU QO4UDEHCPU QO6UDEHCPU Q10UDEHCPU Universal model Programmable QCPU Q13UDEHCPU Up to 64 controller CPU Q20UDEHCPU Q26UDEHCPU Q50UDEHCPU Q100UDEHCPU Safety CPU QS001CPU N A x x QO6CCPU V C Controller module QO6CCPU V B Up to 64 Q12DCCPU V Applicable x 1 Limited within the range of I O points for the CPU module 2 Can be installed to any I O slot of a base unit 8 For the coincidence detection interrupt function use the Basic model QCPU module of function version B or later 4 The coincidence detection interrupt function is not supported b Mounting to a MELSECNET H remote I O station The table below shows the network modules and base units applicable to the QD63P6 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 insufficient change the combination of the modules Table 2 2 Mountable network modules No of mountable modules and mountable base unit Base unit 2 4 No of modules unit of Extension base unit module remote I O station of remote I O station QJ72LP25 25 QJ72LP
138. rrupt function The coincidence detection interrupt function allows making an interrupt request to a programmable controller CPU at the time of coincidence detection to start the interrupt program Depending on the programmable controller CPU used the coincidence detection interrupt function cannot be used For details refer to CHAPTER 2 a Up to 16 point interrupt factors SI are allowed for a single MELSECNET Q series intelligent function module As shown in Table 5 3 the QD63P6 has 6 point interrupt factors 1 for coincidence detection Table 5 3 List of interrupt factors SI No Interrupt factor 0 Channel 1 Coincidence detection of coincidence detection point 1 Channel 2 Coincidence detection of coincidence detection point 2 Channel 3 Coincidence detection of coincidence detection point 3 Channel 4 Coincidence detection of coincidence detection point 4 Channel 5 Coincidence detection of coincidence detection point 5 Channel 6 Coincidence detection of coincidence detection point 6 to 15 Reserved Timing of interrupt signal generation Counter value coincidence X02 signals Coincidence signal reset command 01 Interrupt request Internal processing of programmable controller CPU Interrupt request clear Program processing Interrupt program in programmable controller CPU processing Figure 5 9 Timing of interrupt signal generation b It takes approx
139. selected a Linear counter format From 2147483648 to 2147483647 can be counted and an overflow can be detected when the count range is overrun b Ring counter format Counts are repeatedly executed between the ring counter upper limit value and ring counter lower limit value Coincidence detection By presetting the coincidence detection point of an arbitrary channel the detection point is compared to the present counter value ON OFF signal can be output according to the result and an interrupt program can be started The periodic pulse counter function is supported The periodic pulse counter function stores the present and previous counter values at every preset time while signals are input Simple settings using the utility package The utility package GX Configurator CT is sold separately Although the usage of the utility package is arbitrary it enables to make initial settings and auto refresh setting on the screen which lead to load reduction of the sequence programs and simplicity in checking the setting status and operation status 1 1 Features 2 SYSTEM CONFIGURATION als 26 fel CHAPTER2 SYSTEM CONFIGURATION This chapter explains the system configuration of the QD63P6 2 1 Applicable Systems This section describes the applicable systems 1 Applicable modules and base units and No of modules a When mounted with a CPU module The table below shows the CPU modules and base units appl
140. sers Bo Therefore always fix them to O If used changed from 0 to 1 by a user the 25 operations of the QD63P6 are not ensured lt 2 Details of the intelligent function module switch setting Table 4 8 Details of the intelligent function module switch setting 5 Setting item Description Reference 4 Set the pulse input mode for each channel Pulse input mode When setting 6H to Fx a switch setting error error Section 5 1 1 code 810 occurs Refer to Section 8 5 Set the counting speed for each channel Counting speed setting When setting 11 a switch setting error error Section 3 1 rad LE Ww az 29 RO code 810 occurs Refer to Section 8 5 Section 5 2 1 Counter format Set the counter format for each channel Section 5 2 2 Set the same storage location of the present counter value present value A Un G10 and 11 present Section 3 4 2 5 value B Un G200 and 201 to all channels Present value selection setting FUNCTIONS UTILITY PACKAGE GX Configurator CT PROGRAMMING TROUBLESHOOTING 4 5 Intelligent Function Module Switch Setting 4 15 PROCEDURES AND SETTINGS BEFORE OPERATION MELSEC 8 3 Operating procedure Set b the switches on the I O assignment screen of GX Developer assignment screen Make the following settings to the slot to which the QD63P6 is mounted Type Select Intelli Model na
141. side Device CH1 Previous periodic pulse count value CH1 Present periodic pulse count value CH1 Judgment value for updated periodic pulse count value Make text file End setup Cancel Figure 7 3 Auto refresh setting screen Table 7 6 Items on the Auto refresh setting screen Setting item Description Setting CH1 Present value A Set a device for storing the present value DO CH1 Present value B Not used CH1 Previous periodic pulse Set a device for storing the previous periodic pulse count value when pita count value using the periodic pulse counter function CH1 Present periodic pulse count Set a device for storing the present periodic pulse count value when D116 value using the periodic pulse counter function CH1 Judgment value for updated Set a device for storing the judgment value for updated periodic pulse periodic pulse count value count value when using the periodic pulse counter function UR CH1 Periodic counter flag Not used Set a device for storing the overflow detection result when using the CH1 Overflow detection flag D8 linear counter function CH1 Error code Set a device for storing the error code D120 3 Writing the intelligent function module parameters refer to Section 6 3 3 Write the intelligent function module parameters to the programmable controller CPU Perform this operation on the Intelligent function module parameter setting module select screen 7
142. st of the QD63P6 Description Countable from 2147483648 to 2147483647 and detects an overflow when the count range is overrun Reference Section 5 2 1 Ring counter function Repeats count between the ring counter upper limit value Un G2 and 3 and ring counter lower limit value Un GO and 1 Section 5 2 2 Coincidence detection function Presets the coincidence detection point of an arbitrary channel compares the detection point to the present counter value and outputs the counter value coincidence X02 Coincidence detection interrupt function Inputs the interrupt signal to the programmable controller CPU when a coincidence is detected and starts an interrupt program Section 5 3 Preset function Periodic pulse counter function Rewrites the present counter value to an arbitrary value Executes the preset with the sequence program Stores the present value A Un G10 and 11 present value B Un G200 and 201 in the buffer memory at every preset period while the periodic pulse counter start command 05 is input The functions can be used in combination However when using the linear counter function or ring counter function select either of them 3 2 3 2 Function List Section 5 4 Section 5 5 3 SPECIFICATIONS M SIS eG 3 3 Signals to the Programmable Controller CPU 3 3 1 I O signal list OVERVIEW The following table shows the I O signa
143. stem Microsoft Windows 7 Home Premium Operating System Microsoft Windows 7 Professional Operating System Microsoft Windows 7 Ultimate Operating System Microsoft Windows 7 Enterprise Operating System Note that the 32 bit version is designated as 32 bit Windows 7 and the 64 bit version is designated as 64 bit Windows 7 The product package contains the following Product Quantity Type QD63P6 multichannel high speed counter module 1 SWODSC QCTU E 10 005 Configurator CT Version 1 single license product CD ROM Configurator CT Version 1 volume license product CD ROM 1 OVERVIEW CHAPTER1 OVERVIEW This User s Manual describes the specifications handling and programming methods for the type QD63P6 multichannel high speed counter module used together with the MELSEC Q series CPU module OVERVIEW The QD63P6 can use the following methods in 1 phase 2 phase pulse inputs 1 multiple of 1 phase pulse 2 multiples of 1 phase pulse CW CCW input o 1 multiple of 2 phases pulse 2 multiples of 2 phases pulse 4 multiples of 2 phases pulse gt For details of the input methods refer to Section 5 1 ip 5 Figure 1 1 shows the general operation of the QD63P6 E n a 72 2 Reading writing the I O signals and Programmable buff QD63P6
144. sures against noise been d Take noise reduction measures e g attach a taken to the adjacent devices and ae CR surge suppressor to the magnet switch inside the control panel Bundle the pulse input lines and put them Noise reduction 1 the distance between the high a single tube and keep distance of 150 Section 4 4 measures voltage equipment and pulse input mm 5 91 inch or more with the power line line kept enough n even inside the control panel Separate the ground cable of the QD63P6 Doesn t any noise come from the from the ground part ground part of the QD63P6 When the QD63P6 case touches to the ground part separate it D Correct the sequence program so that the Are the count value data treated in 32 bit binary in the Section 3 4 count value data can be treated in 32 bit sequence program CHAPTER 7 binary 8 6 8 3 When the QD63P6 Does Not Normally Count 8 TROUBLESHOOTING 8 4 Table 8 8 When the coincidence detection interrupt does not occur Check item Does the CPU module support the coincidence detection interrupt function Action Change the CPU module to the one which supports the intelligent function module event interrupt IS D Q series When the Coincidence Detection Interrupt Does Not Occur Reference Section 2 1 1 Is the setting made on Interrupt pointer setting of Intelligent function module setting in
145. t Function Description Reference 1 Make the initial settings for each channel to operate the QD63P6 Set the values of the items where initial settings are required CONFIGURATION SYSTEM CHO Preset value setting CHO Coincidence detection point change request CHO Coincidence detection point setting Initial setting CH Section 6 4 LIRing counter lower limit value CHLIRing counter upper limit value CHLIPeriod setting SPECIFICATIONS 2 Data with initial settings are registered to programmable controller CPU parameters and are automatically written to the QD63P6 when the programmable controller CPU is in RUN 1 Setthe buffer memory of the QD63P6 to which auto refresh is to be performed for each channel CHLIPresent value A CHLIPresent value B CHO Overflow detection flag CHO Periodic counter flag Auto refresh CH PROCEDURES AND SETTINGS BEFORE OPERATION L Previous periodic pulse count value Section 6 5 CHLIPresent periodic pulse count value CHO Judgment value for updated periodic pulse count value CHLIError code 2 The values stored in the QD63P6 buffer memory with auto refresh setting are automatically read when the programmable controller CPU executes the END instruction 1 Monitors tests the following buffer memories and I O signals of the QD63P6 Y device CHLIRing counter lower limit value CHORing counter upper limit value CHLIPreset value setting C
146. t value Un GO ection Ring counter limit value Un GO and 1 gt ring The ring counter 3 3 n and 1 lt ring counter upper lower counter upper limit value Un G2 function does Normally operate En Section 500 i upper limit value 2 limit value and 3 was made when the ring not start if no error occurs 3 4 7 and 3 is satisfied setting error counter function was selected counting Section and the count enable command ae iie piens 5 2 2 Y04 was turned ON PRAEDA ies from to ON Make the period setting The period setting Un G9 was The periodic Un GQ within the range Section 600 Period setting set to 0 and the periodic pulse pulse counter from 1 to 65535 and 3 3 error counter start command Y05 function does change the periodic pulse Section was turned ON not start counter start command 3 4 Y05 from OFF to ON Set the correct value 7 using GX Developer and The value of the intelligent perform Write to PLC Switch setting function module switch setting Section 810 After that power OFF and error made with GX Developer is 4 5 then ON the incorrect programmable controller CPU or reset it An error occurred in the The li ter functi i i controller CPU rogrammable controller CPU Aus pe ji ae ane error prog an ae Power OFF and then ON pulse counter function stop Watchdog timer the programmable A watchdog timer
147. the QD63P6 25 1 Do not drop the module case and or connector or apply strong impact to it 2 lt 2 Do not remove the printed circuit board of the module from the case Doing so will cause failure N 4 3 Be careful to prevent foreign matter such as wire chips from entering the module Failure to do may cause a fire failure or malfunction rad LL Ww z 29 RS 4 A protective film is attached to the module top to prevent foreign matter such as wire chips from entering the module during wiring Do not remove the film during wiring Be sure to remove it for heat dissipation before system operation 5 Tighten the screws such as module fixing screws within the following ranges the screw is too loose it may cause a drop short circuit malfunction Excessive tightening may damage the screw and or the module resulting in a drop short circuit or malfunction FUNCTIONS Table 4 1 Tightening torque range of module fixing screw Screw Tightening torque range Module fixing screw screw 0 36 to 0 48 Connector screw M2 6 screw 0 20 to 0 29 N m UTILITY PACKAGE GX Configurator CT 1 The module can be easily fixed onto the base unit using the hook at the top of the module However it is recommended to secure the module with the module fixing screw if the module is 2 subject to significant vibration 6 To mount the module on the base unit full
148. the terminal block of the relay box using the measure such as a tester If the voltage drop is large take the measures such as Encoder thickening the wire size or using the 5 VDC encoder of less current consumption Ground the shielded twisted pair cable on the encoder side relay box The following connection example is for 5 V sink load Current for encoder To encoder To A To B To the QD63P6 Connect the shielded cable of the encoder and that of the shielded twisted pair cable inside the relay box If the shielded cable of the encoder is not grounded inside the encoder ground it in the relay box as indicated by the dotted line Figure 4 3 Example of wiring for measures against noise 6 When wiring the QD63P6 and an encoder separate the power supply cable and signal line Refer to POINT in Section 4 4 2 4 6 4 4 Wiring 4 4 1 Wiring precautions PROCEDURES AND SETTINGS BEFORE OPERATION eS 26 e 7 To conform the wiring to the EMC and Low Voltage Directives ground the shielded twisted pair cables to a control panel with the AD75CK n cable clamp manufactured by Mitsubishi Electric Corporation amp gt o In a control panel 2 o o 9 lt a 20 20cm 7 87inch Eu to 30cm 11 81inch aS AD7SCK 2 lt 9 E Figure 4 4 AD75CK cable clamp 4 For the AD75CK refer to t
149. ting Auto refresh setting Start 1 0 No Module model name 0063 6 Selling FUNCTIONS CHT Present value A Ww Q vae 3 K This one row is counted as one amp CHT Judgment value for updated periodic pulse setti ng a Blank rows are not counted Present value 2 2 Count up all the setting items on this 5 screen and add the total to the Make tent fle arcel number of settings for other intelligent function modules to get a grand total Figure 6 1 Numeration for the number of parameters set in auto refresh setting 5 2 5 Dn 2 0 EST a 6 2 Installing and Uninstalling the Utility Package 6 3 6 2 1 Handling precautions 6 UTILITY PACKAGE Configurator CT MELSEC TA eries 6 2 2 Operating environment This section explains the operating environment of the personal computer that runs GX Configurator CT Table 6 4 Operating environment of the personal computer Item Description Installation Add in target Add in to GX Developer Version 4 English version or later 2 Computer A personal computer with the operating systems below CPU Required Refer to Table 6 5 Operating system and performance required for personal computer memory For installation 65 MB or more For operation 10 MB or more
150. ting screen 6 4 Initial Setting 6 13 SYSTEM UTILITY PACKAGE PROCEDURES AND SETTINGS BEFORE OVERVIEW CONFIGURATION SPECIFICATIONS OPERATION GX Configurator CT 92 FUNCTIONS PROGRAMMING TROUBLESHOOTING 6 UTILITY PACKAGE Configurator CT 6 14 MELSEC 8 Explanation of items 1 Command buttons Make text file Creates 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 Initial settings are stored to the intelligent function module parameters The initial settings become effective after writing them to the CPU module and executing 1 or 2 1 Change RUN STOP switch on the CPU module STOP RUN STOP and RUN again 2 After changing the switch to RUN power OFF and then ON the CPU module or reset it When the initial setting contents are written with the sequence program the initial settings are executed when the RUN STOP switch is changed to STOP and RUN again and initial setting values are written When the CPU module is switched to STOP and RUN again execute the initial settings with the sequence program again 6 4 Initial Setting UTILITY PACKAGE Configurator CT 6 5 A Auto Refresh Purpose z Set the buffer memory of the QD63P6 to which auto refresh is to be performed for E
151. tructions 1 PPX 1 Appendix 1 2 G P PPX 2 Appendix 2 External Dimensions 0000000000000000000000000000000000000000000000000000000000000000000ccccccccccccc PPX 5 INDEX INDEX 1 to INDEX 2 COMPLIANCE WITH AND LOW VOLTAGE DIRECTIVES 1 Method of ensuring compliance 2 To ensure that Mitsubishi programmable controllers maintain EMC and Low Voltage Directives when incorporated into other machinery or equipment certain measures may be necessary Please refer to one of the following manuals QCPU User s Manual Hardware Design Maintenance and Inspection Safety Guidelines This manual is included with the CPU module or base unit The CE mark on the side of the programmable controller indicates compliance with EMC and Low Voltage Directives Additional measures To ensure that this product maintains EMC and Low Voltage Directives please refer to Section 4 4 1 GENERIC TERMS AND ABBREVIATIONS This manual describes the type QD63P6 multichannel high speed counter module using the following generic terms and abbreviations unless otherwise specified Generic term an Description abbreviation
152. ures before operation 4 2 4 2 Procedures before Operation PROCEDURES AND SETTINGS BEFORE OPERATION en eee 4 3 Part Names The following explains the part names of the QD63P6 gt E QD63P6 RUN 123456CH 1 o ERR 5 20 oz gt 2 Connector terminal number Connector terminal number A20 2 o i lt o ni 1 Q 1 72 i x i 1 1 m 1 11 z i i 2 z A01 Serial number plate Figure 4 2 Appearance of the QD63P6 Table 4 2 Part names FUNCTIONS Name Description Indicates operation status of the QD63P6 RUN ON Normal operation OFF Watchdog timer error Indicates error status of the QD63P6 ERR ON Error at 1 or later CH OFF All channels in normal operation Indicates input status of A phase pulse terminal 1 to CH6 ON Pulse ON UTILITY PACKAGE GX 1 LED display OFF Pulse OFF 9 Indicates input status of B phase pulse terminal CH1toCH6 ON Pulse ON OFF Pulse OFF g Connector for connecting an encoder 2 External device connector 40 pins For terminal layout refer to Section 3 5 e m ae 4 3 Part Names 4 3 4 4 PROCEDURES AN
153. utions 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 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 Discontinuatio
154. utput function Module information Module type Counter Module Module model name QD63P6 function Start 1 0 No Periodic pulse counter function Module information Module type Counter Module Module model name function Start 1 0 No Setting item CH1 Present value Current value Setting value Setting item CH1 Period setting Current value Setting value CH1 Present value B CH1 Coincidence detection point setting CH1 Periodic pulse counter start command YO5 CH1 Periodic counter flag OFF Idling function CH1 Coincidence detection point change request No change request No change request CH1 Previous periodic pulse count value CH1 Coincidence signal reset command Y O1 OFF Release OFF Release CH1 Present periodic pulse count value CH1 Counter value largepxDT OFF Counter value coincidence X02 OFF CHT Judgment value for updated periodic pulse count value CHT Counter value smallX03 OFF CH2 Period setting CH1 Error code CH2 Present value A CH2 Periodic pulse counter start command YQA CH2 Periodic counter flag 2 Present value Flash ROM setting Current value display Make test file Stop monitor Details Cannot execute test Monitoring CH2 Previous periodic pulse count value
155. value lt Count value Coincidence B values m Comparison result Setting value Count value detection Setting value gt Count value Interrupt With coincidence detection interrupt function 5 VDC internal current consumption 0 59 Weight 0 15 kg 1 Make the counting speed switch setting with intelligent function module switch 2 Counting speed is affected by pulse rise and fall time Countable speeds are shown in Table 3 2 Note if a pulse with long rise and or fall time is counted a miscount may occur UTILITY PACKAGE GX Configurator CT Table 3 2 Relation between rise fall time and counting speed o Counting speed switch setting 200 k 100 k 10k Rise fall time Both 1 and 2 phase input t 125 Us or less 200 100 10 2 5 Us or less 100 100 10 g 25 Usorless 10 kPPS 10 kPPS 4 de 500 Us 500 PPS 2 0 ul an E 3 1 Performance Specifications 3 1 3 SPECIFICATIONS 3 2 Function List The following table shows the functions of the QD63P6 numbers X Y and buffer memory addresses in Description describe only for channel 1 MELSEC 8 For buffer memory addresses of channel 2 or later and I O numbers X Y of channel 2 or later refer to Section 3 4 1 and Section 3 3 1 respectively Function Linear counter function Table 3 3 Function li
156. y insert the module fixing g projection into the fixing hole in the base unit and press the module using the hole as a fulcrum 2 Incorrect module mounting cause a malfunction failure or drop of E the module T Er a 2 o 4 1 Handling Precautions 4 1 4 PROCEDURES AND SETTINGS BEFORE OPERATION LSet Q series 4 2 Procedures before Operation The following flowchart shows the procedures for operating the QD63P6 Start y Module mounting Mount the QD63P6 to the specified slot y Wiring Wire external devices to the QD63P6 y Intelligent function module switch setting Set the switches with GX Developer refer to Section 4 5 Yes Use GX Configurator CT Make the initial setting Make the initial setting Initial setting Initial setting Create a sequence program for writing Make initial settings with initial values with the FROM TO GX Configurator CT refer to Section 6 4 instruction Make the auto refresh setting Auto refresh setting Make the auto refresh setting with GX Configurator CT refer to Section 6 5 Programming Programming Create and a program for counter Create and a program for counter processing with the FROM TO instruction processing without the FROM TO and check it instruction and check it Figure 4 1 Proced
Download Pdf Manuals
Related Search
Related Contents
Windmere WCH10-WCH11 Use & Care Manual SIMO - User`s Manual – Appendix B Version 3.2 F1A75-M PRO R2.0 RÉCUPÉRATEUR ENTHALPIQUE WR1500 4-Port Wireless DSL/Cable Router OMNITRONIC DD-4120 User Manual n°361 - Octobre 2010 - Mairie de Gif-sur 長野原町 - 群馬県商工会連合会 "user manual" Copyright © All rights reserved.
Failed to retrieve file