background image

 
 

 

7 - 3                                                                                                                                                       7 - 3 

MELSEC-Q

7   PROGRAMMING 

 

7.2 For Use in Normal System Configuration 

System configuration used in the program explanation 

 
(1)   System configuration 

 

X/

Y0

 to

 X/

Y1

F

X

20 t

X

2

F

Q
C

P
U

Q
D

6
0

P

8

 

G

Q

X

1
0

P

ower supp

ly m

od

ule

 

 

(2)   Program conditions 

The program performs the initial setting of the CH1 of the QD60P8-G, then turns 
ON the operating condition setting request flag (Y1), and turns ON the count 
enable (Y18) to start count operation. 
Set the input voltage selection, pulse edge selection, linear counter/ring counter 
selection and input filter setting using the intelligent function module switch of GX 
Developer. (Refer to Section 4.5 for details of setting the intelligent function 
module switch.) 

 

• Input voltage selection 

: 12 to 24VDC 

• Pulse edge selection 

: Rise edge 

• Linear counter or Ring counter selection 

: Linear counter 

• Input filter setting (CH1) 

: 30kpps 

 

Summary of Contents for QD60P8-G

Page 1: ......

Page 2: ......

Page 3: ...edium or slight personal injury or physical damage Note that the CAUTION level may lead to a serious consequence according to the circumstances Always follow the instructions of both levels because they are important to personal safety Please save this manual to make it accessible when required and always forward it to the end user Design Precautions DANGER Do not write data into the read only are...

Page 4: ... when mounting or removing the module Not ding so may cause electric shock or damage to the module In the system where a CPU module supporting the online module change is used and on the MELSECNET H remote I O stations modules can be replaced online during energizing However there are some restrictions on replaceable modules and the replacement procedures are predetermined for each module For deta...

Page 5: ...module In the system where a CPU module supporting the online module change is used and on the MELSECNET H remote I O stations modules can be replaced online during energizing However there are some restrictions on replaceable modules and the replacement procedures are predetermined for each module For details refer to the chapter of the online module change in this manual Do not install remove th...

Page 6: ...A 4 A 4 Disposal Precautions CAUTION When disposing of the product handle it as industrial waste ...

Page 7: ...ion 4 4 2 7 2 7 2 1 7 3 7 3 1 Sep 2006 SH NA 080313E F Correction SAFETY PRECAUTIONS Jun 2007 SH NA 080313E G Correction Generic Terms and Abbreviations Section 2 1 2 2 3 1 4 1 4 4 4 5 5 1 1 5 2 2 6 2 1 6 3 to 6 6 Chapter 8 Section 8 3 INDEX Jan 2008 SH NA 080313E H Correction Generic Terms and Abbreviations Section 2 2 2 3 Section 6 2 2 May 2008 SH NA 080313E I Correction SAFETY PRECAUTIONS Compl...

Page 8: ... 6 2 1 Applicable Systems 2 1 2 2 About Use of the QD60P8 G with the Q12PRH Q25PRHCPU 2 4 2 3 How to Check the Function Version and the Software Version 2 5 3 SPECIFICATIONS 3 1 to 3 14 3 1 Performance Specifications 3 1 3 2 List of Functions 3 3 3 3 I O Signals for Programmable Controller CPU 3 4 3 3 1 List of I O signals 3 4 3 3 2 Details of I O signals 3 5 3 4 Buffer Memory 3 8 3 4 1 List of bu...

Page 9: ...ng the Utility Package 6 2 6 2 1 Handling precautions 6 2 6 2 2 Operating environment 6 4 6 3 Utility Package Operation 6 6 6 3 1 Common utility package operations 6 6 6 3 2 Operation overview 6 8 6 3 3 Starting the intelligent function module utility 6 10 6 4 Initial Setting 6 12 6 5 Auto Refresh Setting 6 14 6 6 Monitoring Test 6 16 7 PROGRAMMING 7 1 to 7 12 7 1 Programming Procedure 7 2 7 2 For...

Page 10: ...bleshooting 9 1 9 1 1 Confirming the error definitions using system monitor of GX Developer 9 3 9 2 Error Details 9 5 9 3 List of Errors 9 8 APPENDIX Appendix 1 to Appendix 2 Appendix 1 External Dimension Diagram Appendix 1 INDEX Index 1 to Index 3 ...

Page 11: ...ribes the wiring example of the module and the setting method necessary for start of operation 5 To know the functions and their setting methods Chapter 5 Chapter 5 provides the functions and their setting methods 6 To perform initial setting etc from the optional utility package Chapter 6 Chapter 6 gives the method for operating the utility package 7 To know the example of operating the QD60P8 G ...

Page 12: ...c term abbreviation Details of generic term abbreviation QD60P8 G Abbreviation for type QD60P8 G Channel Isolated Pulse Input Module Programmable controller CPU Generic term for programmable controller CPU on which QD60P8 G can be mounted Personal computer DOS V compatible personal computer of IBM PC ATR or its compatible GX Developer Generic product name for the SWnD5C GPPW E SWnD5C GPPW EA SWnD5...

Page 13: ...product is given below Type Component Quantity QD60P8 G Type QD60P8 G Channel Isolated Pulse Input Module 1 SW0D5C QCTU E GX Configurator CT Version 1 1 license product CD ROM 1 SW0D5C QCTU EA GX Configurator CT Version 1 Volume license product CD ROM 1 ...

Page 14: ...A 12 A 12 MEMO ...

Page 15: ...le setting value 1 2 Features 1 Wide range of functions Pulse generator Input voltage selection 1 Pulse edge selection 2 Input pulse number Pre scale processing 3 Movement averaging processing 4 Input pulse value 7 Accumulating count value 6 Sampling pulse number 5 Counter reset 11 Alarm output 8 Overflow detection 9 Accumulating counter comparison flag 10 Updated in count cycle Updated every 10ms...

Page 16: ...7 8 Alarm output It is allowed to set four setting values i e upper upper limit value upper lower limit value lower upper limit value and lower lower limit value for the sampling pulse number to output alarms 9 Accumulating counter overflow detection If the accumulating count value overflows exceeds 99999999 in the linear counter mode the accumulating counter overflow detection flag turns ON to in...

Page 17: ... the system 6 Easy setting by utility package Utility package GX Configurator CT is sold separately The utility package enables the initial setting and auto refresh setting to be made on the screen reducing the sequence programs as well as resulting in easy monitoring of the setting and operating status ...

Page 18: ...1 4 1 4 MELSEC Q 1 OVERVIEW MEMO ...

Page 19: ... be insufficient Pay attention to the power supply capacity before mounting modules and if the power supply capacity is insufficient change the combination of the modules Applicable CPU module Base unit 2 CPU type CPU model No of modules 1 Main base unit Extension base unit Q00JCPU Up to 8 Q00CPU Basic model QCPU Q01CPU Up to 24 Q02CPU Q02HCPU Q06HCPU Q12HCPU High Performance model QCPU Q25HCPU Up...

Page 20: ... 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 Base unit 2 Applicable network module No of modules 1 Main base unit of remote I ...

Page 21: ...sary when using the QD60P8 G Software Version GX Developer GX Configurator CT Single CPU system Version 7 or later Q00J Q00 Q01CPU Multiple CPU system Version 8 or later Single CPU system Version 4 or later Q02 Q02H Q06H Q12H Q25HCPU Multiple CPU system Version 6 or later Single CPU system Q02PH Q06PHCPU Multiple CPU system Version 8 68W or later Single CPU system Q12PH Q25PHCPU Multiple CPU syste...

Page 22: ...d when accessing the Q12PRH Q25PRHCPU via an intelligent function module on an extension base unit from GX Developer Connect a personal computer with a communication path indicated below 2 1 Main base unit Extension base unit 1 2 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 GX Confi...

Page 23: ...the rated plate on the module side face Check the alphabet at the end of SERIAL Function version Relevant regulation standards b Method using the GX Developer Check the alphabet at the end of Product information displayed on Module s Detailed Information dialog box of GX Developer Operation of GX Developer Click the Diagnostics System monitor menu and click the Module s Detailed Information button...

Page 24: ...f 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 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 Operation Procedure GX De...

Page 25: ... type Linear counter method ring counter method Counter Minimum count pulse width Duty ratio 50 33 4 s 16 7 s 16 7 s 50 s 50 s 100 s 0 5 ms 0 5 ms 1ms 5 ms 5 ms 10ms 10 ms 10 ms 20ms 50 ms 50 ms 100ms 0 5 s 0 5 s 1s 5s 5s 10s Dielectric withstand voltage For 1 min at 1500VAC between AC external connecting terminals and general grounding For 1 min at 500VAC between DC external connecting terminals ...

Page 26: ...10kpps 1kpps 100pps 50pps 10pps 1pps 0 1pps t 250µs or less 1kpps 1kpps 100pps 50pps 10pps 1pps 0 1pps t 2 5ms or less 100pps 100pps 50pps 10pps 1pps 0 1pps t 5ms or less 50pps 50pps 10pps 1pps 0 1pps t 25ms or less 10pps 10pps 1pps 0 1pps t 250ms or less 1pps 1pps 0 1pps t 2 5s or less 0 1pps 0 1pps t 5s 0 05pps t t Derating Chart 40 0 ON ratio Ambient temparature 30VDC 50 60 70 80 90 100 10 20 3...

Page 27: ...ampling counter Alarm output function This function sets the upper upper limit value upper lower limit value lower upper limit value and lower lower limit value for the sampling pulse number converted by the pre scale function to output alarms Section 5 8 Counter reset function This function resets the sampling pulse number accumulating count value or input pulse value A reset can be made at any t...

Page 28: ...o Signal name Device No Signal name X0 Module READY Y0 Reserved N A X1 Operating condition setting complete flag Y1 Operating condition setting request flag X2 to X7 Reserved N A Y2 to Y7 Reserved N A X8 CH1 Y8 CH1 X9 CH2 Y9 CH2 XA CH3 YA CH3 XB CH4 YB CH4 XC CH5 YC CH5 XD CH6 YD CH6 XE CH7 YE CH7 XF CH8 Error occurrence YF CH8 Error reset request X10 CH1 Y10 CH1 X11 CH2 Y11 CH2 X12 CH3 Y12 CH3 X1...

Page 29: ...his signal is OFF input pulses are not counted After confirming that the operating condition setting is completed this signal has turned ON turn ON the count enable signal Y18 to Y1F to start pulse counting Operating condition setting request flag Operating condition setting complete flag Module READY OFF ON OFF ON OFF OFF ON X0 X1 Y1 Y18 to Y1F ON Executed by QD60P8 G Count enable Executed by seq...

Page 30: ...channel Set the comparison output setting value to the buffer memory for each channel Refer to Section 3 4 2 for details This signal remains ON until the comparison signal reset request Y10 to Y17 turns ON Once turned OFF this signal does not turn ON until the accumulating count value reaches the comparison output setting value again after it has been reset Accumulating count value OFF ON ON Execu...

Page 31: ... ON Error reset request If the error occurrence signal X8 to XF has turned ON due to the error occurrence turning ON this signal clears that error For details on the ON OFF timing of this signal refer to the item of the input signal X8 to XF OFF Y10 CH1 Y11 CH2 Y12 CH3 Y13 CH4 Y14 CH5 Y15 CH6 Y16 CH7 Y17 CH8 Comparison signal reset request OFF No comparison signal reset request ON Comparison signa...

Page 32: ...134 166 198 230 Pre scale function selection 7 39 71 103 135 167 199 231 Pre scale setting value Read Write enabled 8 40 72 104 136 168 200 232 L 9 41 73 105 137 169 201 233 Accumulating count value H 10 42 74 106 138 170 202 234 L 11 43 75 107 139 171 203 235 Input pulse value H 12 44 76 108 140 172 204 236 Overflow detection flag Read only 13 45 77 109 141 173 205 237 Counter reset request Read ...

Page 33: ...f the setting value is outside the range a comparison output setting range outside error error code 200 occurs To clear the error turn ON the error reset request Y8 to YF of the corresponding channel After this set a correct value and then turn ON the operating condition setting request flag Y1 The relationships between the accumulating count value comparison output setting value and accumulating ...

Page 34: ...he value a movement averaging setting range outside error error code 300 will occur If the setting value is outside the range a movement averaging setting range outside error error code 300 occurs To clear the error turn ON the error reset request Y8 to YF of the corresponding channel After this set a correct value and then turn ON the operating condition setting request flag Y1 Setting range 2 to...

Page 35: ...he sampling pulse number It is the interval set in the count cycle setting value of the buffer memory 0 8 9 40 41 72 73 104 105 136 137 168 169 200 201 232 233 Input pulse value Stores the actually entered pulse number This value is not converted into the unit pulse number by the pre scale function unlike the sampling pulse number and accumulating count value of the buffer memory The count indicat...

Page 36: ... detection flag an error does not occur if the carry over flag turns ON Detection value 0 No carry over detection OFF 1 Carry over detection ON 0 14 46 78 110 142 174 206 238 Carry over reset request Set the carry over reset request If the setting value is other than 1 the setting is ignored Setting value 1 Reset request The value automatically turns to 0 after completion of a carry over reset 0 1...

Page 37: ...the count cycle change function is valid or invalid Set the count cycle in the count cycle setting value of the buffer memory By setting count cycle change function selection valid the update timing of the sampling pulse number or accumulating count value of the buffer memory becomes the time set in the count cycle setting value of the buffer memory When count cycle change function selection inval...

Page 38: ... 15 CH1 to 8 V At ON 12 to 24VDC 10 2 to 30V 4mA or more 5VDC 1 0V or less 0 5mA or less Input 2 4 6 8 10 12 14 16 CH1 to 8 V At OFF 12 to 24VDC 2 0V or less 0 5mA or less 17 18 FG Use the intelligent function module switch to change between 5VDC and 12 to 24VDC For details refer to Section 4 5 Switch setting for intelligent function module Signal layout of each channel Terminal number Signal name...

Page 39: ...entering the module when wiring Do not remove this film until the wiring is complete Before operating the system be sure to remove the film to provide adequate heat ventilation 5 Tighten the screws such as module fixing screws within the following ranges Screw location Tightening torque range Module fixing screw M3 screw 1 0 36 to 0 48N m Terminal block screw M3 screw 0 42 to 0 58N m Terminal bloc...

Page 40: ...eate a sequence program for writing initial values Refer to Chapter 7 Initial setting Perform settings using the GX Developer Refer to Section 4 5 Intelligent function module switch setting Module mounting Mount the QD60P8 G in the specified slot Yes No No Yes Wiring Wire the QD60P8 G Start Use the GX Configurator CT Operation Initial setting Perform the initial setting using the GX Configurator C...

Page 41: ...turn ON OFF as described below depending on the operating status of the module Number Name Details 1 RUN LED Indicates the operating status of the QD60P8 G ON Operating normally OFF 5V power is OFF watch dog timer error occurred in the module changeable status during online module change 2 ERR LED Indicates the error status of the QD60P8 G ON Error is occurring OFF Operating normally 3 CH1 to CH8 ...

Page 42: ...em with the main circuit and high voltage cables and the load cables from other than the programmable controller Failure to do so will make the cables susceptible to noise surges and induction 3 If there may be the effect of noise when a cable to be connected to the QD60P8 G and the power line are installed close to each other use a general shielded twisted pair cable as a countermeasure against n...

Page 43: ...Electric make Inside control box QD60P8 G AD75CK 20cm 7 88 inch to 30cm 11 82 inch How to ground shielded twisted pair cable using AD75CK Shield cable Shield Installation screw to control box M4 screw Ground terminal Ground terminal installation screw M4 8 screw Using the AD75CK you can tie four cables of about 7mm outside diameter together for grounding For details refer to the AD75CK type Cable ...

Page 44: ...roduct as well as the terminal layout Fire or failure may result if incorrect voltage is input or incorrect wiring is performed Do not apply the voltage exceeding the value set on the Intelligent function module switch setting dialog box to the terminals Failure to observe this may cause fire or failure 1 Wiring example with a source logic type pulse generator a For transistor output 24VDC power s...

Page 45: ...h a sink logic type pulse generator a For transistor output Pulse generator Shielded twisted pair cable 24VDC power supply CH1 V CH1 V FG OUT QD60P8 G OUT GND b For contact output Pulse generator Shielded twisted pair cable 24VDC power supply CH1 V CH1 V FG OUT QD60P8 G OUT GND ...

Page 46: ...er power on or programmable controller CPU reset You cannot change the settings during operation Switch No Setting items Setting details bit assignment Default value Switch 1 Input voltage selection Not used b15 b0 b4 b8 b12 0 12 to 24VDC 1 5VDC CH5 Input voltage CH1 Input voltage CH2 Input voltage CH3 Input voltage CH4 Input voltage CH6 Input voltage CH7 Input voltage CH8 Input voltage Setting it...

Page 47: ...items Meaning 0000H Switch 5 Vacant 1 Input voltage selection Switch 1 lower 8 bits Set the level of the input signal on each channel 2 Pulse edge selection Switch 2 lower 8 bits Set the pulse edge rise edge fall edge on each channel For pulse edge selection the differences between the rise edge and fall edge and the count timings are shown below 1 Rise edge Count number Pulse input 1 2 3 4 5 6 2 ...

Page 48: ...0P8 G is mounted Type Select Intelli Model name Enter the module s model name Points Select 32 points Start XY Enter the start I O signal for the QD60P8 G b Switch setting for I O and intelligent function module Click on Switch setting on the I O assignment setting screen to display the screen at left and set switches 1 to 4 The setting can easily be done if values are entered in hexadecimal Chang...

Page 49: ... available However it is allowed to set whether pulses will be counted on the rise or fall by using the intelligent function module switches Refer to Section 4 5 for details of the switch settings of intelligent function module Pulse input method Count timing Pulse input from pulse generator external Input pulse value Buffer memory addresses 10 11 1 2 3 Counted on rise of pulses 1 phase Pulse inpu...

Page 50: ... setting complete flag X1 turns ON pulse count operation is enabled If any setting value or similar is in error count operation cannot be performed since the operating condition setting complete flag X1 does not turn ON 2 When the count enable Y18 is turned ON the count operation of CH1 starts 3 The count enable Y18 turns OFF and pulse count operation stops 4 The count enable Y18 turns ON and puls...

Page 51: ...5 136 137 168 169 200 201 232 233 Input pulse value 10 11 42 43 74 75 106 107 138 139 170 171 202 203 234 235 The buffer memory addresses of the counter reset requests for resetting the count values are as follows Buffer memory address Item CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8 Counter reset request 13 45 77 109 141 173 205 237 The update timings of the count values are as follows Item Update timing Sam...

Page 52: ...change function selection 0 Count cycle change function selection invalid 1 Count cycle change function selection valid 23 55 87 119 151 183 215 247 Count cycle setting value 0 1s 1 100ms 2 200ms 3 500ms 24 56 88 120 152 184 216 248 When count cycle change function selection invalid is set the count cycle is 1s fixed POINT If the setting value is other than the above values a count cycle setting r...

Page 53: ...w detection flag of the buffer memory turns ON and an overflow error error code 100 occurs The linear counter can be used with the comparison output function refer to Section 5 4 pre scale function refer to Section 5 6 movement averaging function refer to Section 5 7 and alarm output function refer to Section 5 8 Counter reset request Overflow detection flag Accumulating count value 99999999 Execu...

Page 54: ...e error is also cleared by turning ON the error reset request Y8 to YF To resume count operation however turn ON the operating condition setting request flag Y1 or set 1 in the counter reset request of the buffer memory When checking for the module error at occurrence of an overflow error click the Diagnosis System monitor menu on GX Developer and monitor the system Buffer memory address Item Read...

Page 55: ...he ring counter can be used with the comparison output function refer to Section 5 4 pre scale function refer to Section 5 6 movement averaging function refer to Section 5 7 and alarm output function refer to Section 5 8 Carry over reset request Carry over detection flag Count enable Y18 to Y1F Accumulating count value 99999999 Executed by QD60P8 G 0 Time OFF OFF OFF The accumulating count value i...

Page 56: ...tion flag 0 No carry over detection OFF 1 Carry over detection ON 14 46 78 110 142 174 206 238 Carry over reset request 1 Reset request The value automatically turns to 0 after completion of a carry over reset 15 47 79 111 143 175 207 239 POINT The carry over detection flag is not cleared until a carry over reset request is given Once cleared the carry over detection flag does not turn ON until th...

Page 57: ... 3 2147483646 2147483600 Input pulse count value of 2147483647 incremented by 1 turns to 0 to Buffer memory address Item Read value CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8 Input pulse value 0 to 2147483647 10 11 42 43 74 75 106 107 138 139 170 171 202 203 234 235 The buffer memory addresses for resetting the input pulse values are as follows Buffer memory address Item CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8 Count...

Page 58: ...Accumulating count value 0 to 99999999 8 9 40 41 72 73 104 105 136 137 168 169 200 201 232 233 The I O signals X Y devices related to the setting of the comparison output function are as follows X Y device Item Read value Setting value CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8 Accumulating counter comparison flag OFF Accumulating count value Comparison output setting value ON Accumulating count value Compar...

Page 59: ...umulating count value is equal to or greater than the comparison output setting value the accumulating counter comparison flag X10 turns ON Since the accumulating count value is updated at intervals of the count cycle setting value refer to Section 5 1 2 the accumulating counter comparison flag is also turned ON at the timing of the count cycle setting value POINT The accumulating counter comparis...

Page 60: ... value CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8 Counter reset request 1 Reset request The value automatically turns to 0 after completion of a counter reset 13 45 77 109 141 173 205 237 POINT When the counter is reset input pulses are invalid for a maximum of 20ms When the accumulating counter is the linear counter count operation that was stopped due to the detection of an overflow is started after comple...

Page 61: ...167 199 231 Input pulse value Input pulse value per count cycle 570 600 580 Count cycle Example If the input pulse value per count cycle is 1000 the pre scale setting value is 5832 and the pre scale function selection is 4 Sampling pulse number input pulse value per count cycle pre scale setting value unit magnification 1000 5832 0 001 5832 This value is added to the accumulating count value POINT...

Page 62: ... a counter reset or immediately after an operating condition setting request until reaching the number of movement averaging processing averaging processing is performed by that number Buffer memory address Item Read value Setting value CH1 CH2 CH3 CH4 CH5 CH6 CH7 CH8 Sampling pulse number 0 to 32767 0 32 64 96 128 160 192 224 Movement averaging processing selection 0 Sampling processing 1 Movemen...

Page 63: ...rm output setting value upper lower limit 20 52 84 116 148 180 212 244 Alarm output setting value lower upper limit 21 53 85 117 149 181 213 245 Alarm output setting value lower lower limit 0 to 32767 22 54 86 118 150 182 214 246 If the setting value is other than in the above values or does not establish the following relation expression an alarm output setting range outside error error code 500 ...

Page 64: ...er limit and lower upper limit lower lower limit operation is performed as shown below bit8 Upper limit alarm Alarm output flag bit0 Lower limit alarm Lower upper limit value Lower lower limit value Upper upper limit value Upper lower limit value ON ON OFF OFF POINT Since the sampling pulse number of the buffer memory is updated at intervals of the count cycle setting value refer to Section 5 1 4 ...

Page 65: ... sequence program at the time of count start processing using the count enable Y18 to Y1F A delay occurs due to the control cycle 10ms A maximum of 20ms one control cycle 2 delay occurs from when the count enable Y18 to Y1F is turned ON OFF until the input pulse value of the buffer memory is displayed Similarly a delay also occurs at a counter reset request The calculation expression of the delay ...

Page 66: ...selection CH Count cycle setting value Initial setting The initially set data are registered to the programmable controller CPU parameters and when the programmable controller CPU is set to the RUN status they are written to the QD60P8 G automatically Section 6 4 Set the buffer memory batch to be automatically refreshed for each channel of the QD60P8 G Auto refresh target buffer memory values Samp...

Page 67: ...ropriately 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 ot...

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

Page 69: ...rsion MicrosoftR WindowsR 2000 Professional Operating System English version MicrosoftR WindowsR XP Professional Operating System English version MicrosoftR WindowsR XP Home Edition Operating System English version MicrosoftR Windows VistaR Home Basic Operating System English version MicrosoftR Windows VistaR Home Premium Operating System English version MicrosoftR Windows VistaR Business Operatin...

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

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

Page 72: ...Text files a A text file can be created by clicking the Make text file button on the initial setting Auto refresh setting or Monitor Test screen The text files can be utilized to create user documents QCPU RUN ERR BAT BOOT RS 232 USB Q25HCPU MODE A GX Developer GX Configurator CT Disk Project A A B Personal computer A Intelligent function module parameters B Data saved by Make text file 1 2 3 Proj...

Page 73: ...y Start Screen for selecting a target intelligent function module Enter Start I O No and select Module type and Module model name Refer to Section 6 3 3 Initial setting screen Refer to Section 6 4 Initial setting Auto refresh Auto refresh setting screen Refer to Section 6 5 To the next page 1 GX Developer screen ...

Page 74: ...C Q 6 UTILITY PACKAGE GX Configurator CT Online Monitor Test Selecting monitor test module screen Monitor Test screen Refer to Section 6 6 Select a module to be monitored tested From the previous page 1 Monitor Test ...

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

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

Page 77: ...ion Pre scale setting value Alarm output selection Alarm output setting value upper upper limit Alarm output setting value upper lower limit Alarm output setting value lower upper limit Alarm output setting value lower lower limit Count cycle change function selection Count cycle setting value This initial setting makes sequence program setting unnecessary For more information on the setting detai...

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

Page 79: ... setting value Accumulating count value Input pulse value Overflow detection flag Counter reset request Carry over detection flag Carry over reset request Error code Alarm output selection Alarm output flag Alarm output setting value upper upper limit Alarm output setting value upper lower limit Alarm output setting value lower upper limit Alarm output setting value lower lower limit Count cycle c...

Page 80: ...from the specified device number For example if X10 is entered data are stored in X10 to X1F 2 Command buttons Make text file Creates a file containing the screen data in text file format End setup Saves the set data and ends the operation Cancel Cancels the setting and ends the operation POINT At the time of auto refresh the buffer memory contents are batch read 25 words for each channel The orde...

Page 81: ...e Select monitor test module screen Start I O No Module type Module model name Monitor test Enter the start I O No in hexadecimal The screen can also be started from System monitor of GX Developer Version 6 or later Refer to the GX Developer Operating Manual for details Setting screen Move to sub window X T Monitor Test CH1 Monitor Test Selecting these buttons displays the following screens ...

Page 82: ...and buttons Current value display Displays the current value of the item selected This is used to check the text that cannot be displayed in the current value field However in this utility package all items can be displayed in the display fields Make text file Creates a file containing the screen data in text file format Start monitor Stop monitor Selects whether or not to monitor current values E...

Page 83: ...t flag Click Execute test Select Oper cond set req Place cursor at Oper cond set req Close Closes the screen that is currently open and returns to the previous screen POINT To reflect the new settings values on the module you have to choose Operating condition setting request for the Operating condition setting request flag and click Execute test Error reset request Comparison signal reset request...

Page 84: ...kage GX Configurator CT the QD60P8 G can operate the system without using a sequence program Refer to Chapter 6 for details of how to operate the utility package GX Configurator CT When diverting the program example introduced in this chapter to the actual system fully check that there are no problems in the controllability of the system 7 ...

Page 85: ... setting value lower upper limit setting Alarm output setting value lower lower limit setting YES NO Movement averaging processing selection setting Number of movement averaging processing setting YES NO Initial setting Pre scale function selection setting Pre scale setting value setting Count cycle change function selection setting Count cycle setting value setting NO Start YES YES YES NO NO Do y...

Page 86: ... ON the operating condition setting request flag Y1 and turns ON the count enable Y18 to start count operation Set the input voltage selection pulse edge selection linear counter ring counter selection and input filter setting using the intelligent function module switch of GX Developer Refer to Section 4 5 for details of setting the intelligent function module switch Input voltage selection 12 to...

Page 87: ...e Inputs X10 Accumulating counter comparison flag Y1 Operating condition setting request flag Y8 Error reset request Y10 Comparison signal reset request Input output of QD60P8 G Outputs Y18 Count enable X20 Data setting command X21 Count enable ON command X22 Count enable OFF command X23 Comparison signal reset command X24 Error reset command X25 Counter reset request command X26 Sampling pulse nu...

Page 88: ...it Alarm output setting value upper lower limit Alarm output setting value lower upper limit Alarm output setting value lower lower limit Count cycle change function selection Count cycle setting value Turn ON the operating condition setting request flag Y1 Turn ON the count enable Y18 Turn OFF the operating condition setting request flag Y1 Turn OFF the count enable Y18 Turn ON the comparison sig...

Page 89: ...n ON the counter reseting Turn OFF the counter reseting Turn ON the carry over reseting Turn OFF the carry over reseting Read of sampling pulse number Read of alarm output flag Read of accumulating count value Read of input pulse value Turn OFF the error reset request Read of carry over detection flag Set 1 to the carry over reset request ...

Page 90: ...ion setting request flag Y121 and turns ON the count enable Y138 to start count operation Set the input voltage selection pulse edge selection linear counter ring counter selection and input filter setting using the intelligent function module switch of GX Developer Refer to Section 4 5 for details of setting the intelligent function module switch Input voltage selection 12 to 24VDC Pulse edge sel...

Page 91: ...e Inputs X130 Accumulating counter comparison flag Y121 Operating condition setting request flag Y128 Error reset request Y130 Comparison signal reset request Input output of QD60P8 G Outputs Y138 Count enable X20 Data setting command X21 Count enable ON command X22 Count enable OFF command X23 Comparison signal reset command X24 Error reset command X25 Counter reset request command X26 Sampling p...

Page 92: ...module status check Comparison output selection Comparison output setting value averaging processing Number of movement processing selection Movement averaging Pre scale function selection Pre scale setting value upper upper limit Alarm output setting value Alarm output selection upper lower limit Alarm output setting value lower upper limit Alarm output setting value lower lower limit Alarm outpu...

Page 93: ...ount enable Y138 reset request Y130 Turn ON the comparison signal reset request Y130 Turn OFF the comparison signal Read of error code Turn ON the error reset request Turn OFF the error reset request Read of overflow detection flag Counter reset request Turn ON the counter reseting Turn OFF the counter reseting Read of carry over detection flag Set 1 to the carry over Write to buffer memory settin...

Page 94: ...7 11 MELSEC Q 7 PROGRAMMING Read of accumulating count value Read of input pulse value Turn ON the carry over reseting Turn OFF the carry over reseting Read of alarm output flag Read of sampling pulse number ...

Page 95: ...7 12 7 12 MELSEC Q 7 PROGRAMMING MEMO ...

Page 96: ...replaced online 3 To prevent an electric shock always turn OFF the input pulse signal from the pulse generator connected to the module to be changed online 4 After the module has become faulty the buffer memory contents cannot be confirmed Therefore prerecord the settings The whole buffer memory contents that can be written refer to Section 3 4 1 5 It is recommended to perform an online module cha...

Page 97: ...al Multiple CPU System 2 MELSECNET H remote I O module The module of function version D or later is necessary 3 GX Developer GX Developer of Version 7 10L or later is necessary GX Developer of Version 8 18U or later is required to perform an online module change on the remote I O station 4 Base unit 1 When the slim type main base unit Q3 SB is used an online module change cannot be performed 2 Whe...

Page 98: ...the Execution button of GX Developer Operation check before control start Click the Cancel button of GX Developer to leave the online mode Conduct an operation test on the new module using Device test of GX Developer or Monitor test of GX Configurator CT Operate GX Developer to resume the online module change mode and click the Execution button to resume control 5 Resumption of control Operation c...

Page 99: ...for the case where GX Configurator CT was used for initial setting and for the case where a sequence program was used for initial setting 8 3 1 GX Configurator CT was used for initial setting 1 Operation stop Turn OFF all output signals Y devices from the sequence program or the device test of GX Developer to stop the module operation ...

Page 100: ...creen b Click the Execution button to enable a module change If the following error screen appears click the OK button and perform the operation in 2 c and later c After confirming that the RUN LED of the module has turned OFF disconnect the external wiring and dismount the module POINT Always dismount the module If mounting confirmation is made without the module being dismounted the module will ...

Page 101: ...nnect the external wiring b After mounting the module click the Execution button and make sure that the RUN LED is lit Module READY X0 remains OFF 4 Operation check a When making an operation check click the Cancel button to cancel control resumption b Click the OK button to leave the Online module change mode ...

Page 102: ...nitor screen 5 Resumption of control a After choosing Diagnosis Online module change on GX Developer to redisplay the Online module change screen click the Execution button to resume control The FROM TO instruction for the module resumes b The Online module change completed screen appears ...

Page 103: ...r to stop the module operation b Prerecord the writable buffer memory contents that have been set initially in the sequence program Choose Online Monitor Buffer memory batch on GX Developer monitor the buffer memory and record the values POINT If a CPU continuation error e g SP UNIT DOWN UNIT VERIFY ERR has occurred due to the fault of the module to be changed the buffer memory contents cannot be ...

Page 104: ... change on GX Developer to enter the Online module change mode double click the module to be changed online to display the Online module change screen b Click the Execution button to enable a module change If the following error screen appears click the OK button and perform the operation in 2 c and later ...

Page 105: ... made without the module being dismounted the module will not start properly and the RUN LED will not be lit 3 Mounting of new module a Mount a new module to the same slot and connect the external wiring b After mounting the module click the Execution button and make sure that the RUN LED is lit Module Ready X0 remains OFF 4 Operation check a To make an operation check click the Cancel button to c...

Page 106: ...mal system configuration The sequence program should perform initialization on the leading edge of Module Ready X9 of the QD60P8 G When control resumption is executed Module Ready X0 turns ON and initialization is performed If the sequence program performs initialization only one scan after RUN initialization is not performed 2 When used on remote I O network Insert a user device that will execute...

Page 107: ...control a After choosing Diagnosis Online module change on GX Developer to redisplay the Online module change screen click the Execution button to resume control The FROM TO instruction for the module resumes b The Online module change completed screen appears ...

Page 108: ...cautions for online module change 1 Always perform an online module change in the correct procedure A failure to do so can cause a malfunction or failure 2 When an online module change is made the following buffer memory values are cleared to 0 Sampling pulse number Accumulating count value Input pulse value ...

Page 109: ... module and intelligent function module mounted on the base unit to see if the power supply capacity is adequate Has a watch dog timer error occurred Reset the programmable controller CPU and verify that it is lit If the RUN LED does not light even after doing this the module may be malfunctioning Contact the nearest branch office or agency with a details of the occurring problem Is the module cor...

Page 110: ...voltage selection in setting with the intelligent function module Is the edge rise fall of the counted pulses correct Check whether pulses are counted on the rise or fall and correct the pulse edge selection in setting with the intelligent function module Is the maximum speed of input pulses within the range of the counting speed set to the input filter setting in setting with the intelligent func...

Page 111: ... monitor QD60P8 G module and choose Module s Detailed Information 2 Confirmation of error code The error code appears in the latest error code field By pressing the Error History button the definition shown as the latest error code appears at No 1 Error display details Error code of CHn CHn 1 n 8 Present Error Means error code 300 Movement averaging setting range outside error Display format Selec...

Page 112: ...on H W LED Information H W LED information displays the following information Item Signal name Value RUN RUN LED of QD60P8 G ERR ERR LED of QD60P8 G 0 LED OFF 1 LED ON H W SW Information The setting status of the intelligent function module switches are displayed Item Signal name Corresponding switch Value INPUT V Input voltage selection Switch 1 PLS EDGE Pulse edge selection Lower 8 bits RNG LIN ...

Page 113: ...etting value in the comparison output setting value or similar of the buffer memory is outside the range To clear this error set a correct value and turn ON the operating condition setting request flag Y1 again c Intelligent function module switch setting error This error occurs if any setting error is found by a check made on the setting values of the switch settings for intelligent function modu...

Page 114: ...can identify the error cause X Y device CH Error occurrence Error reset request Buffer memory address of Error code 1 X8 Y8 16 2 X9 Y9 48 3 XA YA 80 4 XB YB 112 5 XC YC 144 6 XD YD 176 7 XE YE 208 8 XF YF 240 3 Confirmation of error definitions GX Developer or GX Configurator CT is required to check the error definition For details of how to check the error definition refer to Section 9 1 1 Confir...

Page 115: ...9 7 9 7 MELSEC Q 9 TROUBLESHOOTING MEMO ...

Page 116: ...aging processing of the buffer memory is outside the setting range 400 Pre scale setting range outside error The value set in the pre scale function selection or pre scale setting value of the buffer memory is outside the setting range 500 Alarm output setting range outside error The value set in the alarm output selection alarm output setting value upper upper limit alarm output setting value upp...

Page 117: ...ng processing 5 37 69 101 133 165 197 229 2 to 60 Pre scale function selection 6 38 70 102 134 166 198 230 0 Pre scale function invalid 2 0 1 4 0 001 1 1 3 0 01 5 0 0001 Pre scale setting value 7 39 71 103 135 167 199 231 0 to 32767 Alarm output selection 17 49 81 113 145 177 209 241 0 Alarm output function invalid 1 Alarm output function valid Alarm output setting value upper upper limit 19 51 83...

Page 118: ...cannot be performed If an error occurs in any of the channels all channels result in an error 820 Programmable controller CPU error An error occurred in the programmable controller CPU The module continues operation 830 Programmable controller CPU watch dog timer error The watch dog timer error of the programmable controller CPU occurred 840 Module error A module power off error occurred 850 Hardw...

Page 119: ...nge Remedy Refer to Section 4 5 Switch setting for intelligent function module Set the correct setting value on GX Developer perform Write to PLC and then switch power from OFF to ON or reset the programmable controller CPU Switch power from OFF to ON or reset the programmable controller CPU Change the module ...

Page 120: ...ternal dimension diagram 98 3 86 90 3 54 ERR RUN CH4 CH3 CH2 CH1 QD60P8 G CH5 CH6 CH7 CH8 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 1 2 27 4 1 08 C H 8 C H 7 C H 6 C H 5 C H 4 C H 3 C H 2 C H 1 V V V V V V V V V V V V V V V V FG 5 12 24VDC Unit mm in App ...

Page 121: ...App 2 App 2 MELSEC Q APPENDIX MEMO App ...

Page 122: ... enable 3 3 3 7 Count operation 5 2 Count response delay time 5 17 Count type 3 1 Count value reading 5 3 Counter Accumulating 3 3 Linear 3 3 5 5 Ring 3 3 5 7 Counter reset Function 3 3 5 12 Request 3 12 5 6 5 12 Counting speed 3 1 D Dielectric withstand voltage 1 2 3 1 Duty ratio 3 1 E EMC Directive A 10 4 5 Error Code 3 12 9 8 Confirming the 9 3 List of 9 8 Occurrence 3 5 Reset request 3 7 Type ...

Page 123: ...1 5 6 Error 5 6 9 8 P Performance specifications 3 1 Program example 7 5 7 9 Programmable controller CPU error 9 10 Precautions 6 2 Pre scale Function 3 3 5 13 Function selection 3 10 5 13 Setting range outside error 9 8 Setting value 3 11 Pulse edge Selection 4 8 Selection function 3 3 Pulse generator 1 1 4 6 4 7 R Read Count value 5 3 Related Manuals A 9 Ring counter 3 3 5 7 Rise Fall time 3 2 S...

Page 124: ...Index 3 Index 3 MEMO ...

Page 125: ...ed not to be so by the user 2 Onerous repair term after discontinuation of production 1 Mitsubishi shall accept onerous product repairs for seven 7 years after production of the product is discontinued Discontinuation of production shall be notified with Mitsubishi Technical Bulletins etc 2 Product supply including repair parts is not available after production is discontinued 3 Overseas service O...

Page 126: ... Celeron are trademarks of Intel Corporation in the United States and other countries Ethernet is a registered trademark of Xerox Corporation in the United States Other company names and product names used in this document are trademarks or registered trademarks of respective companies SPREAD Copyright c 1996 FarPoint Technologies Inc SH NA 080313E I ...

Page 127: ......

Page 128: ......

Reviews: