Home
Channel Isolated Pulse Input Module User`s Manual
Contents
1. SH400 H mov WOE k4u40 Read of carry over detection flag M40 X120 H60 q i 1 Vy ove Ki PE 1 Set 1 to the carry over reset request KO gt M206 H207 i 1 r n SET H60 I Turn on the carry over resetting HKO gt 7 RENTO nH K4 KI H2 K15 WOF Kl m206 H60 H KO WE RST H60 J Turn off the carry over resetting lt Sampling pulse number reading gt X26 X120 X128 E J H 1 H Hov Wo D30 J Read of sampling pulse number SH400 E i I Hov W12 kaso J Read of alarm output flag lt Accumulating count value reading gt X27 X120 X128 _ E H a6 DHov W8 D31 J Read of accumulating count value lt Read of input pulse value gt X28 x120 X128 E R i 1 H H DHOV WOA D33 J Read of input pulse value END 7 PROGRAMMING MELSEC Q 7 3 2 Program example without using the utility package 1 Operation of GX Developer Network parameter setting e Network type MNET H remote master Head I O No 00001 Network No 1 e Total number of slave stations 1 Mode Online e Network range assignment M station gt R station M station lt Ri station a StationNo vi id x x Points Start End Points Start End Points Stat End Points Start End i 256 0100 mFF 256 ooo0 oorrF 256 0100 ol 256 0000 off v e Refresh parameters _ Dev namel Points Stat Transfer SB EE Transf
2. SB47 7100 SB49 CTI SH70 0 7102 SW74 0 7103 SH78 0 7104 B20 T100 T101 T104 H H H MC NO PLS NO_ M1000 M1001 SET x20 X120 y121 7 HH 6 SET M1002 _ RST M1003 fMovP KI DMOVP K500000 move KI movP K10 MovP K3 Move K252 MovP KI MOVP K1100 MOVP K1000 MOVP K600 MovP K500 fMOvP KO MovP KO K4 K3 K4 K3 K3 M1000 M1001 M1002 M1003 M1002 D1001 D1002 D1004 D1005 D1006 D1007 D1017 D1019 D1020 D1021 D1022 D1023 D1024 MELSEC Q Master station baton pass status check Master station data link status check Remote I O station baton pass status check Remote I O station data link status check Remote I O station parameter communication status check Master module status check Comparison output selection Comparison output setting value Movement averaging processing selection Number of movement averaging processing Pre scale function selection 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 7 PROGRAMMING L RENTO dy K1 Kl
3. H2 H1 D1001 K24 M200 I Y121 Y138 Y128 M200 M201 7 H dF aa SET vii RST M1003 Y121 K2 TO X X121 TO R H H RST ya J lt Store buffer memory data into D1000 and later every scan gt SM400 12 REMFR J1 K2 Kl H2 KO D1000 K25 M202 lt Counter enable ON gt X2 X120 X121 X22 7 E N I SET Y138 J lt Counter enable OFF gt X22 X21 E E N I RST Y138 I X120 X121 H lt Accumulating counter comparison flag reset gt X23 X120 X130 3 SE Y130 J Y130 X130 B 7 JF RS Y130 I lt Error reset gt X120 X128 I MOVP D1016 D35 X24 X120 X128 gt ii HI SE viz8 Y128 X128 A E JF RS 128 E lt Counter reset request gt SM400 MOV D1012 K4M11 X25 X120 M30 iN e I MOVP Kl D1013 J MI KO gt M204 M205 f SET M30 HKO gt _P RENTO wT K3 K1 H2 K13 D1013 K1 M204 M30 d D103 RST 30 lt Carry over reset request gt SM400 mov D1014 K4M40 M40 X120 M60 I MOVP Kl D1015 MELSEC Q Write to buffer memory Turn ON the operating condition setting request flag Y121 Turn ON the operation condition setting request flag Y121 for 200 ms Turn OFF the operation condition setting request flag Y121 Read of buffer memory Turn ON the count enable Y138 Turn OFF the count enable Y138 Turn ON the comparison signal reset request Y130 Turn OFF the comparison signal reset request Y130 Read of error code Turn ON the error
4. oms 0 tpps tsss i doS oS PP PJ 0 05995 lt Derating Chart gt 100 90 80 30VDC ratio 70 60 50 40 0 10 20 30 40 50 55 o Ambient temparature 3 ON indicates the status where voltage is applied to pulse input terminals PECIFICATION add MELSEC Q 3 2 List of Functions The following table indicates the QD60P8 G functions Name Details This function counts from 0 to 99999999 and detects an overflow Linear counter function Section 5 2 1 when the count range is exceeded Ring counter function This function repeats counting between 0 and 99999990 Section 5 2 2 Accumulating This function turns on Accumulating counter comparison flag XO counter to X17 when Accumulating count value reaches or exceeds Comparison output i j Hinet Comparison output setting value Accumulating counter Section 5 4 unction comparison flag XO to X17 turns off by Comparison signal reset request Y10 to Y17 Count cycle change This function changes the count cycle of Sampling pulse number Sad ection 5 1 function or Accumulating count value i This function performs movement averaging processing by the Movement averaging i az P ae specified number of times if there are variations in Sampling Section 5 7 unction pulse number This function converts the number of pulses by multiplying the Pre scale function s Section 5
5. PECIFICATION vade MELSEC Q 3 5 Interface with External Devices The internal circuit of the QD60P8 G interface for connection of external devices is shown in a schematic diagram Terminal sv Input voltage Operating current Internal circuit nee Signal name Operation guaranteed guaranteed value value CH1 to 8 V Aton 5VDC 1 0V or less 0 5mA or less CH1 to8V At off 12 to 24VDC 2 0V or less 0 5mA or less 17 FG 18 Use the intelligent function module switch to change between 5VDC and 12 to 24VDC For details refer to Section 4 5 2 Switch setting for intelligent function module Signal layout of each channel omw CH1 p EG 3 w CH2 oa ov Ps w CH3 6e v CH4 V CH4 o 8a v o w CH5 CH5 V CH6 V CH6 CH6 V CH7 V CH7 CH7 V CH8 V CH8 CH8 V 4 SETUP AND PROCEDURE BEFORE OPERATION MELSEC Q CHAPTER 4 SETUP AND PROCEDURE BEFORE OPERATION The following describes the procedure prior to the QD60P8 G operation the name and setting of each part of the QD60P8 G and wiring method 4 1 Handling Precautions The following are the precautions for handling the QD60P8 G 1 Do not drop the module casing or do not subject it to strong impact 2 Do not remove the PCB of each module from its case Doing so may cause breakdowns 3 Be careful not to let foreign matters such as sawdust or wire chips get inside the module
6. ernrnnrnrnnrnnnnr 4 1 Terminal block mounting 4 1 Sequence program rernnnvnnnnnnnnvnnnnnnnrnnnnrnnnnn 7 1 Shielded twisted pair cable srrrnrnnrnnnnr 4 4 Signal layout oorrorsrornrorsvrrrnrrsnrrrnrrrnrrnnreener 3 14 Signal level c cccecceeqeeeceeeqereceeeceneneneetenenes 3 1 Software version rrvnrrsrnrrnnnrrvnnernnnnnrn 2 4 2 6 SE EEE OE SEAS Ve 6 8 Starting Utility eee ceeeeeeeeeteeeeeeeeeeeeees 6 10 Switch setting error s es 9 10 T Terminal block rorrrrornvrrrrnnnrrrrnnnnrvennnrnennnnnr 3 1 TOT MEL rea deda 6 7 Troubleshooting manvnnnrnnnvnnvnnnvvnnvnnnrnnnvnnnnenn 9 1 U Utility ceed een 3 3 6 1 V Version Funeton sa EEEE datter 2 6 SOMWAlE Same adn 2 4 2 6 W Watch dog timer error n se 9 10 Weight Ac andieddh ati ae ain 3 1 Wingate cere errr erie 4 4 X X device uininnnisaiidningssm denim 3 4 Y Y deVIC i inca nel edak odden kdnadet 3 4 Index 2 MEMO Index 3 Index 3 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
7. Make text file End setup Cancel 6 UTILITY PACKAGE GX Configurator CT Explanation of items 1 Items 2 Command buttons Make text file Creates a file containing the screen data in text file format Module side Buffer size Module side Transfer word count Transfer direction PLC side Device MELSEC Q Displays the buffer memory size of the setting item Displays the number of words to be transferred indicates that data are written from the programmable controller CPU to the buffer memory 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 Saves the set data and ends the operation Cancels the setting and ends the operation At the time of auto refresh the buffer memory contents are batch read 25 words for each channel The order of storing the data into the CPU module side devices is the same as that of buffer memory assignment refer to Section 3 4 1 The auto refresh settings are stored in an intelligent fun
8. fos 2 eo vil Unit mm in App 1 App 1 APPENDICES MELSEC Q MEMO App 2 App 2 INDEX Numeral TphaS nc ieee naa nd hina 5 1 A Accumulating count value 1 1 3 11 5 3 Accumulating Counter 3 3 Accumulating counter comparison flag ori E AE EE EE 3 6 5 10 Alarm output AF lagaan a a AE 3 12 5 16 FUNCTION nrrvverrornrrnnnrrvvnnrssnrrsnnnrere 3 3 5 16 Setting value rnrnrnrrrnrnrnnrnnnnr 3 13 5 16 Setting range outside error 9 8 Selection rrrrnrrrnrrrnnvrrnnrnrrnnvrvnnnre 3 12 5 16 Applicable solderless terminals 3 1 Applicable wire SiZe cccccesceeeeeeeeees 3 1 Autorefreshasau ytt Bae a 6 14 B Buffer memory eeeeeeeeeeeeeeeeeeeeeeneeenreeeees 3 8 C Carry over Detection flag 1 rrrnrnrrnrrrrnnrennnn 3 12 5 7 Reset request rmmrrarrvrsrrrvrrrrnvrn 3 12 5 7 Comparison output FUNCTION Sa a aaa 3 3 5 10 Selection e a R 3 9 5 10 Setting value mrrrrnrnrnrrrrrrrrnrernnn 3 9 5 10 Setting range outside error eee 9 8 Comparison signal reset request 3 7 Connected terminal ceccceeeeeeseeeees 3 1 Count cycle Change function srmarvnnnvnnnrvnnvrnvnnnvnnnnenn 3 3 Change function selection 3 13 5 4 Setting range outside error 9 8 Setting value mrrrrrrnrnrrrrrrrrnrerrnn 3 13 5 4 Count 6
9. CH7 Monitor Test CH7 Monitor Test the following screens CH8 Monitor T est CH8 Monitor Test XZY Monitor Test X Y Monitor Test r Flash ROM setting Details Write ti EF Current value Monitoring i displ Move to sub window M Load file Make text file Stop monitor Evecute test Close Move to sub window X T Monitor Test CH1 Monitor Test iix sie r Module information r Module information Module type Counter Module Start 1 0 No 0000 Module type Counter Module Start 1 0 No 0000 Module model name QD60P8 G Module model name QD60P8 G Setting item Current value Setting value a Setting item Current value Setting value ES XO0 Module READY Not Prepared WDT Error Sampling pulse number X01 Operating condition setting completed flag Oper cond setting Accumulating count value ol X08 CH1 Error occurrence No error occurrence Input pulse value oJ X09 CH2 Error occurrence No error occurrence Overflow detection flag No overflow detection XOA CH3 Error occurrence No error occurrence Counter reset request No reset request Reset request X XOB CHA Error occurrence No error occurrence Cary over detection flag No carry over detection XOC CH5 Error occurence No error occurrence Carry over reset request No reset request Reset request zi XOD CH6 Error occurrence No error occurrence Alarm output flag lower limit alarm Normal XDE CH Error occurrence No error occurrence Alarm output flag upper limit alarm Normal XDF CHB Eror occurrence No erro
10. Example Click this button after selecting Error reset request in the setting value field of Error reset request on the X Y Monitor Test screen Noeror reset request Details Select input Select Error reset request No error reset request No td signal reset req No compare No compare signal reset reg reset req Error reset request Compare signal reset reg fs Compare signal reset req v Monitoring 4 Place cursor at Error reset request Details Select input No error reset request Error reset request Execute test n Click Execute test Perform similar operation also for the Operating condition setting request flag Nooper cond seter M ANo oner cond set ren Details Oper cond set req er H Select input gt Select Oper cond set req Place cursor at Oper cond set Details req Monitoring J Select input No oper cond set req Oper cond set req Click Execute test Execute test eo Closes the screen that is currently open and returns to the previous screen 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 turns to No request automa
11. 1100 1000 600 500 Module type Counter Module Module model name QD60P8 G Stat ONo 0020 Setting item Comparison output selection Compare o p function valid Setting value Comparison output setting value Movement averaging processing selection Movement avrg processing Number of movement averaging processing Pre scale function selection 0 01 Pre scale setting value Alarm output selection Alarm output function valid Details Select input Setting range Compare o p function invalid Compare o p function valid Make text file End setup 7 PROGRAMMING MELSEC Q b Auto refresh setting Refer to Section 6 5 Set parameters as the following screen Auto refresh setting JE xi r Module information Module type Counter Module Start 1 0 No 0020 Module model name QD60P8 G F a a Module side Module side Transfer PLC side SE Buffer size JOSE direction Device word count CH1 Auto refresh setting Address 0 24 gt wo CH2 Auto refresh setting Address 32 56 gt CH3 Auto refresh setting Address 64 88 25 gt CH4 Auto refresh settinglAddress 96 120 25 25 gt CHS Auto refresh settingl ddress 128 152 25 25 gt CHE Auto refresh settingl ddress 160 184 25 25 gt CH Auto refresh settingl ddress 192 216 25 25 5 CH8 Auto refresh settingl dd
12. NOP 0000 Start monitor Stop monitor Close HW LED Information HM LED information displays the following information RUN LED of the QD60P8 G 0 LED off ERR LED of the QD60P8 G 1 LED on HAW SW Information The setting status of the intelligent function module switches are displayed Corresponding switch INPUT V Input voltage selection Switch 1 PLS EDGE Pulse edge selection Lower 8 bits i A Switch 2 For details refer to Section RNG LIN Linear counter or Ring counter selection Upper 8 bits 4 5 2 Switch setting for FIL 4 1 Input filter setting CH1 to CH4 Switch 3 er intelligent function module FIL 8 5 Input filter setting CH5 to CH8 Switch 4 nor Switch 5 9 TROUBLESHOOTING 9 2 Error Details MELSEC Q 1 Types of errors The following errors are detected by the QD60P8 G a b Overflow error This error occurs if Accumulating count value overflows exceeds 99999999 when the count type of the accumulating counter is the linear counter To clear this error turn on Error reset request Y8 to YF Further to start count operation properly set 1 in the Counter reset request of the buffer memory Buffer memory setting range outside error This error occurs if any setting error is found by a check made on the values set to the buffer memory when Operating condition setting request flag
13. CD ROM MEMO 1 VERVIEW MELSEC Q CHAPTER 1 OVERVIEW 1 1 Overview This User s Manual describes the specifications handling wiring and programming methods of the Channel Isolated Pulse Input Module QD60P8 G used with the MELSEC Q series programmable controller CPU The QD60P8 G counts the input pulse number speed rotation speed instant flux or similar and measures the quantity the length accumulating flux and so forth Input pulse value is updated every 10ms The QD60P8 G updates Accumulating count value and the pulse number after movement averaging processing or similar Sampling pulse number at intervals of Count cycle setting value 1 2 Features 1 Wide range of functions Pulse generator Input voltage selection 1 e Pulse edge selection 2 Input pulse number Updated in Updated count cycle every 10ms Pre scale processing 3 Movement averaging processing 4 A Counter reset 11 L Input pulse value 7 1 Pulse input voltage A single module accepts the pulse inputs of SVDC 12 to 24VDC 2 Pulse edge selection It is allowed to select the rise or fall of the input pulses to be counted 3 Pre scale function The input pulse number is multiplied by any value to convert the pulse number 4 Movement averaging function The values of Sampling pulse number are averaged by the specified number of times to calculate the average valu
14. FETE TA limit Fro value 22 54 118 150 182 214 246 Fro limit 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 occurs Upper upper limit upper lower limit gt lower upper limit lower lower limit To clear the error turn on Error reset request Y8 to YF of the corresponding channel After this set a correct value value that will establish the above relation expression and is within the setting range and then turn on Operating condition setting request flag Y1 The buffer memory addresses related to the alarm output are as follows TERTA o 32 64 96 128 160 192 224 Alarm output flag pitos ower limit alarm 18 50 82 114 146 178 210 242 bit8 Upper limit alarm Bit pattern of alarm output b15 b8 b4 bO L Storage Item Meaning JAL J Not used Not used i ae Lower limit alarm Q OFF Normal Upper limit alarm 1 ON Range over 5 DETAILS AND SETTING OF FUNCTIONS MELSEC Q Outline of alarm output function operation The following gives the outline of the alarm output function operation Example of alarm output operation Upper upper limit value Upper lower limit value 7 7 Count cycle Lower upper limit value
15. Module type Counter Module Start I O No 0000 Module model name QDB0P8 G 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 CH7 Initial setting CH Initial setting Details Move to sub window Refer to Section 6 4 To the next page 1 Auto refresh Auto refresh setting screen MEE Module information Module type Counter Module Start 1 0 No 0000 Module model name QD60P8 G Ti Module side Module side Transfer PLC side Setting item Buffer size Transfer Pesta Device word count CH1 Auto refresh settingf ddress 0 24 25 25 gt CH2 Auto refresh settinglAddress 32 56 25 25 ER CH3 Auto refresh settingl ddress 64 88 25 25 gt CH4 Auto refresh settingl ddress 96 120 25 25 gt CH5 Auto refresh settingl ddress 128 152 25 25 gt CHE Auto refresh settingl ddress 160 184 25 25 gt CH7 Auto refresh settingl ddress 192 216 25 25 gt CHB Auto refresh settingl ddress 224 248 25 25 gt Make textfie End setup Cancel Refer to Section 6 5 6 UTILITY PACKAGE GX Configurator CT MELSEC Q From the previous page 1 Online Monitor Test Selecting monitor test module screen Select monitor
16. Ps er e or 189 nes 167 200 Pre scale function selection 0 Pre scale function invalid 1 X 1 2 xX 0 1 3 X 0 01 Je m effek A bu Pre scale setting value sas Turn on Error reset request Y8 to YF of the corresponding Alarm output selection 0 Alarm output function invalid channel After this set a correct 177 209 241 1 Alarm output function valid value and then turn on Operating condition setting request flag Alarm output setting value upper upper limit Y1 Foe sr es 15 ar r z Alarm output setting value upper lower limit 180 212 244 0 to 32767 and upper upper limit upper lower limit gt lower upper limit Alarm output setting value lower upper limit iower lower limit ar 53 es Jr ue 101 218206 Alarm output setting value lower lower limit 22 s4 s ve 150 182 214 26 0 Count cycle change function selection invalid 183 215 247 1 Count cycle change function selection valid enn TROUBLESHOOTIN ts else MELSEC Q Error code Error name Error Operation status at error occurrence e Count operation cannot be Any of the setting values of setting with performed Switch setting error the intelligent function module set on GX e If an error occurs in any of the Developer is in error channels all channels result in an error Programmable controller An error occurred in the programmable CPU error controller CPU The module continues operation Pr
17. These may cause fires failure and malfunction 4 The top surface of the module is covered with a protective film to prevent foreign objects such as cable offcuts from entering the module when wiring Do not remove this film until the wiring is complete Before operating the system be sure to remove the film to provide adequate heat ventilation 5 Tighten the screws such as module fixing screws within the following ranges Tightening torque range Module fixing screw M3 screw 0 36 to 0 48N m Terminal block screw M3 screw 0 42 to 0 58Nem Terminal block mounting screw M3 5 screw 0 66 to 0 89Nem 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 subject to significant vibration 6 To mount the module on the base unit fully insert the module fixing latch into the fixing hole in the base unit and press the module using the hole as a fulcrum Improper installation may result in a malfunction or breakdown of the module or may cause the module to fall off 4 SETUP AND PROCEDURE BEFORE OPERATION 4 2 Procedure before Operation MELSEC Q The figure below shows the steps that should be followed before starting the QD60P8 G operation Start y Module mounting Mount the QD60P8 G in the specified slot h Wiring Wire the QD60P8 G Intelligent
18. Y1 turns on It occurs if any setting value in 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 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 module set in the PLC parameter when power is switched from off to on or the programmable controller CPU is reset To clear this error set a correct value on GX Developer perform write to PLC and then switch power from off to on or reset the programmable controller CPU Module error This error occurs if a fault occurs in the module for some reason Change the module if the error occurs again after power is switched from off to on or the programmable controller CPU is reset 9 TROUBLESHOOTING 2 MELSEC Q Error storage If any of the settings made in the buffer memory or the setting with the intelligent function module is outside the setting range Error occurrence X8 to XF turns on and Error code corresponding to the error definition is stored into the buffer memory By checking Error code of the buffer memory the error cause can be identified XIV device Buffer memory address Error occurrence Error reset request of Error code Confirmation of error definitions GX Developer or GX Configur
19. stopped When the overflow error has occurred Accumulating count value does not change from 99999999 if pulses are input after Error occurrence Sampling pulse number of the buffer memory is reset The overflow error is cleared by setting 1 in Counter reset request of the buffer memory Count operation is resumed after the error is cleared The error is also cleared by turning on Error reset request Y8 to YF To resume count operation however turn on Operating condition setting request flag Y1 or set 1 in the counter reset request Detection value 0 No overflow detection OFF 1 Overflow detection ON Pre scale setting value Input pulse value Refer to Section 9 3 for details of Error code Initial MELSEC Q Buffer memory address value CHi 104 136 168 200 232 105 137 169 201 233 106 138 170 202 234 107 139 171 203 235 3 SPECIFICATIONS Setting 1 in Counter reset request resets Sampling pulse number Accumulating count value or Input pulse value of the buffer memory When a reset is made the input pulses are invalid for a maximum of 20ms If count operation has been stopped due to the detection of an Counter reset overflow when the accumulating counter is used as the linear request counter the count operation is resumed after completion of a counter reset If the setting value is other than 1 the setting is ignored
20. 4 5 2 for details of the switch settings of intelligent function module Pulse input De Count timing method Pulse input from f f f pulse generator external l 1 I Counted on rise Input pulse value l 1 5 3 4 of pulses Buffer memory addresses 10 11 Pulse input from fil i pulse generator external Counted on fall 4 of pulses Input pulse value le 1 le 2 le 3 Buffer memory addresses 10 11 5 DETAILS AND SETTING OF FUNCTIONS MELSEC Q 5 1 2 Input pulse count operation This section explains the input pulse count operation of the QD60P8 G For CH1 ON v Module READY OFF x0 Operating condition setting completed flag X1 23 OFF Count enable Y18 Input pulse value Buffer memory address 10 11 Sampling pulse number L 5 2 Buffer memory address 0 Count cycle setting value i i 5 2 4 Count indication start 10ms N Count indication start Buffer memory address 24 Count indication start Accumulating count value 5 Buffer memory address 8 9 Count cycle setting value Buffer memory address 24 When Operating condition setting completed flag X1 turns on pulse count operation is enabled If any setting value or similar is in error count operation cannot be performed since Operating condition setting completed flag X1 does not turn on When Count enable Y18 is turned on the count operation
21. CHO Pre scale function selection CHO Alarm output setting value lower lower limit CHO Pre scale setting value e CHO Count cycle change function selection CHO Count cycle setting value 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 Set the buffer memory batch to be automatically refreshed for each channel of the QD60P8 G Auto refresh target buffer memory values Sampling pulse number e Carry over detection flag Comparison output selection e Carry over reset request Comparison output setting value e Error code Movement averaging processing selection Alarm output selection Number of movement averaging processing Alarm output flag Auto refresh i e Pre scale function selection Alarm output setting value upper upper limit Section 6 5 setting Pre scale setting value Alarm output setting value upper lower limit Accumulating count value Alarm output setting value lower upper limit Input pulse value Alarm output setting value lower lower limit Overflow detection flag e Count cycle change function selection e Counter reset request e Count cycle setting value The values stored in the automatically refreshed QD60P8 G buffer memory are read automatically when the END instruction of the programmable controller CPU is execut
22. Display format The value set in the movement averaging Me movement averaging processing of the buffer memo Disposal Turn ON the error reset request Y8 of the CH1 After this set a correct value and then turn ON the operating condition setting request flag V1 Start monitor Hew Information Stop monitor Error display details LIE EE w code of CHn CHn 1 lt n lt 8 Display format Select Decimal The error codes indicated in Section 9 3 List of errors are in decimal Present Error Means error code 300 Movement averaging setting range outside error 9 TROUBLESHOOTING MELSEC Q 3 Confirmation of Module s detailed information Check the module information the LED statuses and the statuses of setting with the intelligent function module from H W Information of Module s detailed information that can be displayed on the system monitor of GX Developer Version 7 17T or later Setting procedure Chose Diagnostics System monitor gt QD60P8 G module and choose Module s Detailed Information H W Information HAW Information x Module r Display format 1 Module Name QD60P8 G Product information 070110000000000 C ce HEX C DEC HAW LED Information m HAW SW Information Iten Value Iten Value Item Value Iten Value RUN 0001 INPUT V 00FO ERR 0000 PLS EDGE O0AA
23. ELECTRIC CORPORATION ALL RIGHTS RESERVED Software version Warning This product is protected by copyright law and international treaties Unauthorized reproduction or distribution of this program or any portion of it may result in severe civil and criminal penalties and will be prosecuted to the maximum extension possible under the law PECIFICATION eS A ae MELSEC Q CHAPTER 3 SPECIFICATIONS This chapter explains the performance specifications of the QD60P8 G the I O signals for the programmable controller CPU and the specifications of the buffer memory For the general specifications of the QD60P8 G refer to the User s Manual of the used CPU module 3 1 Performance Specifications The following table indicates the performance specifications of the QD60P8 G Model name Number of I O occupied points 32 points I O assignment 32 points for intelligent function module Number of channels 8 channels Count input Phase 1 phase input signal Signal level 5VDC 12 to 24VDC Input derating Refer to the derating chart Next page Counting speed Max 2 30kpps 10kpps 1kpps 100pps 50pps 10pps 1pps 0 1pps x Sampling pulse number 16 bit binary 0 to 32767 Counting range Accumulating count value 32 bit binary 0 to 99999999 Input pulse value 32 bit binary 0 to 2147483647 Counter Count type Linear counter method ring counter method 33 448 Minimum count pulse width Duty ratio 50 EE pis
24. OFF Find Find next Re setting v 3 Clear 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 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 confirmed NLINE MODULE CHANGE ieaiai MELSEC Q 2 Dismounting of module a After choosing Diagnosis Online module 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 x r Installed status Base 0 1 2 3 4 5 6 7 Base Module MasterPLC gt Mainbase B o Extension base 1 Powe QD6O Unmo Unmol Unmo Unmo Unmol Unmo Unmo I SU P8 G junti funti Junti funti Junti funti funti E a Extension base 2 l 32pt ni n n ni n n n S Q25PHCPU a i i s j 9 s Oo E Evtension base 3 E E Extension base 4 Oo a Extension base amp im E Extension base 6 Oo o Eptension base 7 m Parameter status m Mode E Jrvoaddess 0 20 30 40 50 60 70 80 T 1 T System monitor b gt Ria Online module change Diagnastics Modules Detailed Informati
25. Online Module Change Procedure The online module change procedure is explained separately 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 Device test Bit device Device Close x i Hide history FORCE ON FORCE OFF Toggle force r Word device buffer memory Device z C Buffer memory Module start 1 0 z Hex Address z HEX x Setting value DEC x 15 bit integer x Set r Program Label reference program MAN 7 Execution history Find Setting conditior Find next YOC Force OFF Re setting YOB Force OFF YA Force OFF Force OFF Foce OFF orce pf Clear NLINE MODULE CHANGE ieaiai MELSEC Q 2 Dismounting of module a After choosing Diagnosis Online module 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 System Monitor xj m Installed status Base 0 1 2 3 4
26. Section 7 2 1 3 program example the used devices to be used are assigned as indicated in the following table The I O numbers for the QD60P8 G indicate those when the QD60P8 G is mounted on the 0 slot of the main base unit If it is mounted in the slot other than the 0 slot of the main base unit change the I O number to that for the position where the QD60P8 G was installed Change the external inputs internal relays and data resisters according to the system to be used Inputs outputs external inputs and internal relays of the QD60P8 G Device name AEG Application Module READY MX Operating condition setting completed flag Error occurrence Input output of the ed E a E X21 Count enable on command x22 x23 External input command x24 X26 x28 Overflow detection flag M30 Internal relay Carry over resetting Alarm output flag 7 PR RAMMIN Sie MELSEC Q Data registers Device whose 5 i value is written Device name Device Data stored in the auto refresh 030 po Sampling pulse number a EE L fe sae e a Data registers C bos po D10 Input pul l nput pulse value O oa Ne ia Ds pie erorcoass SS O 7 PROGRAMMING 2 GX Configurator CT operation a Initial setting Refer to Section 6 4 Use channel 1 e Comparison output selection Comparison output setting value e Movement averaging processing selection MELSEC Q Compare o p function valid 500000 Moveme
27. Setting value 1 Reset request The value automatically turns to 0 after completion of a counter reset If the Accumulating count value of the buffer memory exceeds 99999999 when the accumulating counter is used as the ring counter Carry over detection flag turns on e Unlike Overflow detection flag count operation is continued Carry over detection flag is reset by setting 1 in Carry over reset request of the buffer memory Unlike the overflow detection flag an error does not occur if Carry over detection flag turns on Detection value 0 No carry over detection OFF 1 Carry over detection ON Set Carry over reset request If the setting value is other than 1 the setting is ignored Carry over reset Setting value request 1 Reset request The value automatically turns to 0 after completion of a carry over reset Initial MELSEC Q Buffer memory address l l Error cod pees EIO oe 16 48 80 112 144 176 208 240 ror coce The latest error code is always stored into Error code Set whether an alarm will be output or not for Sampling pulse number of the buffer memory If the setting value is other than 0 or 1 an alarm output setting range outside error Error code 500 occurs Setting value 0 Alarm output function invalid 1 Alarm output function valid When alarm output function valid has been set in Alarm output selection of the buffer memory Alarm outpu
28. counter Refer to Section 5 2 4 SETUP AND PROCEDURE BEFORE OPERATION MELSEC Q at Krad Default Switch No Data item Description Setting detail bit assignment i value Counting speed of input pulses maximum H 0 30kpps 1 10kpps 2 1kpps maximum 3 100pps Refer to Section 3 1 4 50pps 5 6 7 Input filter setting CH1 to CH4 Switch 3 Set the counting speed CH4 CH3 CH2 CH1 of input pulses Input filter setting CH5 to CH8 Switch 4 10pps 1pps 0 1pps H CH8 CH7 CH6 CH5 Switch 5 No settings blank wi When any item is set delete the settings and leave the field blank 1 For pulse edge selection the differences between the rise edge and fall edge and the count timings are shown below Pulse edge ah i Description selection Rise edge Pulse input Count number Fall edge Pulse input Count number k 1 ro 2 ke 3 ke 4 5 6 3 After the setting click the button 5 DETAILS AND SETTING OF FUNCTIONS MELSEC Q CHAPTER 5 DETAILS AND SETTING OF FUNCTIONS This chapter explains the details and settings of the QD60P8 G functions 5 1 Count Operation 5 1 1 Pulse input method The pulse input method of the QD60P8 G is 1 phase input and addition count Subtraction count is not 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
29. cycle x 2 delay occurs from when Count enable Y18 to Y1F is turned on off until 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 time is as indicated below Maximum delay time ms 1 scan time 20 ms 6 UTILITY PACKAGE GX Configurator CT MELSEC Q CHAPTER 6 UTILITY PACKAGE GX Configurator CT The counter module utility package GX Configurator CT is software designed to make initial setting auto refresh setting monitor test of the QD60P8 G using dedicated screens without being conscious of the I O signals and buffer memory Use the utility package with GX Developer SW4D5C GPPW E or later 6 1 Utility Package Functions The following table gives the lists the functions of the utility package Utility package GX Configurator CT function list Make initial setting for operating the QD60P8 G for each channel Set the values of the items which require initial setting Setting items CHO Comparison output selection CHO Alarm output selection CHO Comparison output setting value CHO Alarm output setting value upper upper limit CHO Movement averaging processing selection CHO Alarm output setting value upper lower limit Section 6 4 CHO Number of movement averaging processing CHO Alarm output setting value lower upper limit Initial setting
30. file button on the initial setting Auto refresh setting or Monitor Test screen The text files can be utilized to create user documents GX Developer GX Configurator CT Personal computer QCPU Q25HCPU A Intelligent function module parameters B Data saved by Make text file USB RS 232 Figure 6 1 Correlation chart for data created with the utility package 6 UTILITY PACKAGE GX Configurator CT 6 3 2 Operation overview GX Developer screen oxi Tools Window Help Check program Confirm project memory size Merge data Check parameter Transfer ROM Delete unused comments Clear all parameters IC memory card Start ladder logic test Change display color Options Create start up setting file Screen for selecting a target intelligent function module 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 QD6OP8 G p Parameter setting module TG FE Support Parameter FB parameter Initial setting Auto refresh Delete Exit Refer to Section 6 3 3 MELSEC Q Enter Start I O No and select Module type and Module model name Initial setting Initial setting screen fetilsetng Lo r Module information
31. function refer to Section 5 7 and alarm output function refer to Section 5 8 aseheses gt Executed by QD60P8 G Executed by sequence program Accumulating count value A 99999999 gt Time ON P 1 Count enable OFF 4 i Y18 to Y1F Overflow detection flag Counter reset OFF request The accumulating count value is updated in the cycle set in the count cycle setting value of the buffer memory Refer to Section 5 1 4 5 DETAILS AND SETTING OF FUNCTIONS MELSEC Q e Overflow error An overflow error Error code 100 occurs if Accumulating count value of the buffer memory exceeds 99999999 when the count type is the linear counter If the overflow error occurs count operation is stopped and Accumulating count value of the buffer memory does not change from 99999999 if pulses are input Also Sampling pulse number of the buffer memory is reset The overflow error is cleared by setting 1 in Counter reset request of the buffer memory Count operation is resumed after the error is cleared The error is also cleared by turning on Error reset request Y8 to YF To resume count operation however turn on the operating condition setting request flag Y1 or set 1 in 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 an
32. of CH1 starts Count enable Y18 turns on and pulse count operation is restarted The indications of Sampling pulse number and Accumulating count value of the buffer memory are updated in the cycle set in Count cycle setting value of the buffer memory Refer to Section 5 1 4 The update timing of Input pulse value of the buffer memory is fixed at 10ms Count enable Y18 turns off and pulse count operation stops i In the pulse count operation of the QD60P8 G is delayed due to the control cycle 10ms Refer to Section 5 9 for details 5 DETAILS AND SETTING OF FUNCTIONS MELSEC Q 5 1 3 Count value reading This section explains how to read the count values Sampling pulse number Accumulating count value and Input pulse value stored in the buffer memory Accumulating count value and Input pulse value are stored in the buffer memory as two words 32 bits When reading the count value from the module always read two words together The buffer memory addresses where the count values are stored are as follows Buffer memory address It ii en oe ocna f om oms ome f oz os Samplingpulsenumber 0 32 EE seo 1 tee oaa 104 136 Accumulating count value 105 137 10 106 138 170 Input pulse value 11 43 75 107 139 171 203 235 The buffer memory addresses of Counter reset request for resetting the count values are as follows The update timings of the count values are as follows Update tim
33. r For 1 min at 1500VAC between AC external connecting terminals and general grounding Dielectric withstand voltage For 1 min at 500VAC between DC external connecting terminals and general grounding For 1 min at 1780VAC between channels 5MQ or more at 500VDC between AC external connecting terminals and general grounding 18 points terminal block 0 3 to 0 75mm R1 25 3 A solderless terminals with sleeves cannot be used Internal current consumption 0 58A 5VDC Weight 0 17kg 27 4 1 08 W X 98 3 86 H X 90 3 54 D mm in 1 To change the counting speed use the intelligent function module switch For details refer to Section 4 5 2 Switch setting for intelligent function module 2 The counting speed is affected by the rise fall time of pulses The countable counting speeds are indicated in the table on the next page Note that counting the pulses of long rise fall time may result in miscounting PECIFICATION add MELSEC Q lt Rise Fall time and the corresponding counting speed switch settings gt Rise Fall Time Counting speed switch settings t 8 4us or less 30kpps 10kpps 1kpps 100pps 50pps 10pps 0 1pps ee RE TT t 25msorless 100pps 100pps 50pps 10pps 1pps o 1pps t 5msorless J 50pps 50pps 10pps 1pps 0 tpps t 25msorless 1 t0pps 10pps 1pps O tpps t 250msorless J s ips otpps ts25soress J
34. ssrnanrnnnvnnnvnnnvnnnvnnnrnnn vnr renn rennrnnrnnrrernneerreerrenrreerreerreesvesreennen 6 6 6 3 2 Operation ON LET ALEN cceccccecceeesceeeeceeseneeeeneeceaeecsacecseneesaaeesaeecsaceesaceesaeeceaeeseaeessaneseaeeeeneeseeeseneeess 6 8 6 3 3 Starting the intelligent function module utility onrronrronrronrnonrnonrnnnrrrnrnnnrrrnrrnnrernrnrnrrnnrrrnrernrernreenne 6 10 6 4 Initial Setingsasara sludd knert 6 12 6 5 Auto Refresh Setting c cccecceecceseceeccnseceeccnseceeecnsecneccndeceeecnsecneccnseceeeansecnsacndeceecensecneccnsenseeensecneecedeneenense 6 14 6 6 Monit ringTestiruuarugdn arti il ti ot eee id ti ane eee li di ce eee died 6 16 7 1 Programming Procedure accenu iE cal de aide aie initia lal de E 7 2 7 2 For Use in Normal System Configuration cccecceeceeceeeeeeneeeneeeeeeeeeaeeeaeeeaeseaeecaeeeaeeeaeesaeeeaeeeteaeesarenas 7 3 7 2 1 Program example using the utility PACKAGE eee cere eeeeteee eect teeeceeeseeeseeseeeseeeseeeeeaeseneseneeeateaes 7 4 7 2 2 Program example without using the utility PACKAGE ee eeeeeeeeeeeeeeeeeeeeeteeeteeeeeeeseneteneseneeeneeenetens 7 9 7 3 For Use on Remote I O Network eccceeceeeceeeeeeeeeeeeeseeeseeeseesaeeseeseesieesieesieesieesieesieesieesieesieesieesieeneess 7 12 7 3 1 Program example using the utility package rrnvnnnvnnnvrnn vnr vnr vnr vnr nrnnnrnrnrnnnnnrnrrrnnrrnrernrernrernnesnnenn 7 13 7 3 2 Program example without using the utility package ar
35. test module Monitor Test a module to be monitored tested Monitor Test screen Start monitor Refer to Section 6 6 6 UTILITY PACKAGE GX Configurator CT MELSEC Q 6 3 3 Starting the intelligent function module utility Operating procedure Intelligent function module utility is started from GX Developer Tools Intelligent function utility Start Setting screen Intelligent function module utility C MELSEC GPPW f 5 x 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 QD60P8 G Parameter setting module Wale ae VEE FE Support Parameter Start 1 0 No Module model name Auto refresh 4 0000 QD60P8 G Available Available _ EE Ses asl FB parameter Initial setting Auto refresh Delete Exit 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 I O No Module type Module model name gt Initial setting b Auto refresh setting screen Start I O No Module type Module model name gt Auto refresh c Select monitor test module screen Online Monitor Test 1 Enter the start I O No in hexadecimal 2 Command buttons Deletes the initial setti
36. the pulse is input from the flow meter every 3cm flow In this case set the followings in the buffer memory to convert the value stored in Sampling pulse number to the flow rate in cm unit e Pre scale setting value 3 e Pre scale function selection 1 x 1 e Count cycle setting value 0 1s When the above settings are made and the number of input pulses is 570 per a count cycle 1s the following value will be stored to Sampling pulse number Sampling pulse number Input pulse value in a count cycle x Pre scale setting value x Unit magnification 570 3x1 1710 cm s Values of Sampling pulse number are added to Accumulating count value every set count cycle This leads to the conversion of accumulating count value to cm unit 5 DETAILS AND SETTING OF FUNCTIONS MELSEC Q Note that if Pre scale setting value is set to 0 Sampling pulse number calculated with the above operation formula becomes 0 and it seems as if pulses are not counted although they are actually counted e If the setting value is other than the above values a pre scale setting range outside error Error code 400 occurs To clear the error turn on Error reset request Y8 to YF of the corresponding channel After this set a correct value and then turn on Operating condition setting request flag Y1 e The settings are reflected on the module by turning on the operating condition setting request flag Y1 after setting the values to the buffer memor
37. to redisplay the Online module change screen click the Execution button to resume control The FROM TO instruction for the module resumes Online module change x r Operation r Target module Module change execution 1 0 address 000H 2 er Module name QD60P8 G Installation confirmation m Status Module control restart F d a Change module installation completion r Status Guidance The controls such as 1 0 FROM TO instruction executions and automatic refresh for the installed module are restarted Please confirm the parameter setting and wiring etc and execute Cancel b The Online module change completed screen appears MELSOFT series GX Developer G Online module change completed 8 ONLINE MODULE CHANGE MELSEC Q 8 3 2 Sequence program was used for initial setting 1 Operation stop a Turn off all output signals Y devices from the sequence program or the device test of GX Developer to stop the module operation Device test Bit device Device Close v Hide history FORCE ON FORCE OFF Toggle force r Word device buffer memory Device x c Buffer memory Module start 1 0 z Hex Address z HEX z Setting value DEC x 15 bit integer x Set r Program Label reference program M IN z r Execution history YOC Force OFF YOB Force OFF Y04 Force OFF Force OFF Force
38. will make the cables susceptible to noise surges and induction 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 noise The shield must be grounded on the QD60P8 G side No soldereless terminals with insulation sleeves can be used on the terminal block It is recommended to cover the electric wire connecting section of each solderless terminal with a marking tube or insulating tube The cables connected to the QD60P8 G should be placed in a duct or fixed Not doing so can cause the QD60P8 G or cables to be damaged when the cables swing move or are pulled carelessly for example or to malfunction due to poor cable connection 4 SETUP AND PROCEDURE BEFORE OPERATION MELSEC Q 6 To comply with the EMC Directive and Low Voltage Directive always ground the QD60P8 G to the control box using shielded twisted pair cables and AD75CK cable clamping Mitsubishi Electric make Inside control box 9 8d09A0 20cm 7 88 inch to 30cm 11 82 inch AD I 5CK For details on the AD75CK refer to the following AD75CK type Cable Clamping Instruction Manual 4 SETUP AND PROCEDURE BEFORE OPERATION MELSEC Q 4 4 2 Wiring example This section shows an example of wiring the QD60P8 G and pulse generator In the wiring example of this section only CH1 is wi
39. 33 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 OoOo o mse eT cH7 cH8 Accumulating count value lt Accumulating counter Comparison output setting value xio x41 x42 X13 x14 X15 X16 x17 comparison flag Accumulating count value Comparison output setting value drag red No comparison signal reset i i p 2 request Y10 Y11 Y12 Y13 Y14 Y15 Y16 Y17 reset request s Comparison signal reset request If the value outside the range is set to any of the above buffer memory addresses a comparison output setting range outside error Error code 200 occurs To clear the error turn on Error reset request Y8 to YF of the corresponding channel After this set a value within the setting range and then turn on Operating condition setting request flag Y1 e The settings are reflected on the module by turning on the operating condition setting request flag Y1 after setting the values to the buffer memory 5 DETAILS AND SETTING OF FUNCTIONS MELSEC Q Outline of comparison output function operation The following gives the outline of the comparison output function operation For CH1 1 ON Jer Operating condition setting completed flag OFF X1 Comparison output setting value 1200 5 Buffer memory address 2 3 1200 ON Count enable OFF i Count indication star
40. 5 6 7 Base Module MasterPLC gt O Powe QDEG Unmo Unmo Unmo Unmo Unmo Unmol Unmo m m rsu P8 G Junti unti funti funti funti Junti unti E E 32pt Ing ng ng ng ng ng jng Q25PHCPU Ea m Parameter status Mode 170 Address o 20 30 40 so 80 70 80 T T 1 System monitor 0 1 2 3 4 5 6 7 Online module change Powe Intelli None None None None None None None k rsu Q25PHCPU gent Diagnostics pply 32pt 16pt 16pt 16pt 16pt 16pt 16pt 16pt Modules Detailed Information Base Information roduct Inf Lis Er Product Ini List BB Module system eror Z Module error C Module waming Siati monitor Detailed inf of power supply ga Module change Stop monitor Base b Click the Execution button to enable a module change Online module change xi r Operation r Target module Module change execution 1 0 address 000H BL Module name QD60P8 G Installation confirmation r Status Change module selection completed Module control restart r Status Guidance Please turn off Y signal of the changed module when you change the intelligent function module Cancel If the following error screen appears click the OK button and perform the operation in 2 c and later MELSOFT series GX Developer The target module didn t respond The task is advanced to the installation confirmation c After confirming that the RUN LED of the module has
41. 6 number of input pulses by any setting number This function sets the upper upper limit value upper lower limit i value lower upper limit value and lower lower limit value for i Alarm output function i Section 5 8 Sampling pulse number converted by the pre scale function to output alarms This function resets Sampling pulse number Accumulating count y Counter reset function EE Section 5 5 value or Input pulse value A reset can be made at any timing This function selects whether the rise or fall of an input pulse will Pulse edge selection function be used for counting This setting can be made for each channel Section 4 5 2 using the intelligent function module switch This function starts input pulse count operation when Count Count enable function Section 5 1 2 enable Y18 to Y1F is turned on This function changes the module without stopping the system Online module change function Perform an online module change according to the messages of Chapter 8 GX Developer This function uses the utility package GX Configurator CT to Utility function perform initial setting auto refresh setting monitor test or similar Chapter 6 from within the software without using sequence programs The above functions can be used in combination However the linear counter function and ring counter function cannot be used together Please select either of them PECIFICATION add MELSEC Q 3 3 I O signals for Program
42. 6 UTILITY PACKAGE GX Configurator CT MELSEC Q Operating system and performance required for personal computer i Performance Required for Personal computer Operating system mr OS Memoy O Windows 95 Pentium 133MHz or more 32MB or more Windows 98 Pentium 133MHz or more 32MB or more Windows Me Pentium 150MHz or more 32MB or more Pentium 133MHz or more Pentium 1GHz or more Pentium 1GHz or more The functions shown below are not available for Windows XP and Windows Vista If any of the following functions is attempted this product may not operate normally Start of application in Windows compatible mode Fast user switching Remote desktop Large fonts Details setting of Display Properties Also 64 bit version Windows XP and Windows Vista are not supported Use a User authorization or higher in Windows Vista 6 UTILITY PACKAGE GX Configurator CT MELSEC Q 6 3 Utility Package Operation 6 3 1 Common utility package operations 1 Control keys Special keys that can be used for operation of the utility package and their applications are shown in the table below E ey Cancels the current entry in a cell Closes the window ab Moves between controls in the window Used in combination with the mouse operation to select multiple cells for test execution Deletes the character where the cursor is positioned When a cell is selected clears all of the sett
43. 65 MB or more space 10 MB or more Microsoft Windows 95 Operating System English version Microsoft Windows 98 Operating System English version Microsoft Windows Millennium Edition Operating System English version Microsoft Windows NT Workstation Operating System Version 4 0 English version Microsoft Windows 2000 Professional Operating System English version Microsoft Windows XP Professional Operating System English version Operating system FOPA na i i Microsoft Windows XP Home Edition Operating System English version Microsoft Windows Vista Home Basic Operating System English version Microsoft Windows Vista Home Premium Operating System English version Microsoft Windows Vista Business Operating System English version Microsoft Windows Vista Ultimate Operating System English version Microsoft Windows Vista Enterprise Operating System English version 1 Install GX Configurator CT in GX Developer Version 4 or higher in the same language GX Developer English version and GX Configurator CT Japanese version cannot be used in combination and GX Developer Japanese version and GX Configurator CT English version cannot be used in combination 2 GX Configurator CT is not applicable to GX Developer Version 3 or earlier 3 At least 15GB is required for Windows Vista 4 Resolution of 1024 x 768 dots or more is recommended for Windows Vista
44. 9 MITSUBISHI ELECTRIC Mitsubishi Programmable Controller MELSEG Led cries Channel Isolated Pulse Input Module User s Manual QD60P8 G GX Configurator CT SWOD5C QCTU E e SAFETY PRECAUTIONS e Read these precautions before using this product Before using this product please read this manual and the relevant manuals introduced in this manual carefully and pay full attention to safety to handle the product correctly The precautions given in this manual are concerned with this product only For the safety precautions of the programmable controller system refer to the user s manual for the CPU module used In this manual the safety precautions are classified into two levels A WARNING and A CAUTION age Indicates that incorrect handling may cause hazardous conditions WARNING resulting in death or severe injury I A Indicates that incorrect handling may cause hazardous conditions CAUTION resulting in minor or moderate injury or property damage p j l j j i 3 Under some circumstances failure to observe the precautions given under NGAUTION 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 u
45. Number of movement averaging processing ETER EE O ENER 3 10 5 15 O Online module change rarnrannnnnnnnnrnnrnnnnnennr 8 1 a Conditions a ua eke 8 2 FUNGHON slede be de 3 3 Operations ia aaiae 8 3 Procedure insine 8 4 Operating condition setting complete flag 3 5 Operating condition setting request flag 3 7 Operating environment s 6 4 Operation Overview rrrnnrrrnrnnrnrnnnnnnnnnnnennn 6 8 Output signals rnrnnrnnrnrrrrnrrrrrnrnnrnnn 3 4 3 7 NET 0 ee 9 5 Detection flag 1orrrnrnnrnrrrrnnrennnn 3 11 5 6 re EITOM i costs n aea 5 6 9 8 P Performance specifications 0 3 1 Program example 7 4 7 9 7 13 7 18 Programmable controller CPU error 9 10 Precautions in aloualua dte dene 6 2 Pre scale FUNCTION nrrvverrornrrnnnrrvvnnrssrrrsnnnrere 3 3 5 13 Function selection 0 c06 3 10 5 13 Setting range outside error eee 9 8 Setting value oo eee RAAE 3 11 Pulse edge Selection arrrnnrrnnnrvnrnrnnrnnnnrnnnnnnnnnnennn 4 9 Index 2 Selection function Pulse generator R Read Count value mrnnrrrnnnrrrrnrnnrrnnrnnnrrnnnerrnnennnn 5 3 Ring counter srrnrnrnrrnrnnrnrnnrnrnnrnnnnnnnn 3 3 5 7 Rise Fall time ices eee auge 3 2 S Sampling pulse numbev 1 1 3 9 5 3 Screw Module fixing eenrronvnonvnnnrnenrnnnrnrnrnnnrernreenn 4 1 Terminal block terminal
46. R 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 fault 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 b
47. Section 4 5 1 Q parameter setting xj PLC name PLC system PLC file PLC RAS 1 PLCRAS 2 Device Program Boot fle SFC 1 0 assignment 120 Assignment Lf so Type Modelname Points stay Tal T QD60P8 G v Switch setting Detailed setting 32points lalafa a Assigning the 0 address is not necessary as the CPU does it automatically Leaving this setting blank will not cause an error to occur 2 When clicking on the Switch setting button the Switch setting for I O and intelligent function module dialog box will be displayed For the switch settings refer to the following Switch setting for 1 0 and intelligent function module Select HEX TI IG MENE 11 110610 3 3 4 4 5 8 7 7 8 8 9f 3 Switch ok NE Default Data item Description Setting details bit assignment No value b15 to o bO ee Prose ske a Switch 1 Input voltage selection signals 0 12 to 24VDC 1 SVDC Set the pulse edges to bO 1 Pulse edge selection rise edge or fall edge sferfosfonfondorsforfonfonsofosossfonfosfonfe Switch 2 Set the count type Linear counter or Pulse edge selection Linear counter or Ring linear counter or ring Ring counter selection 0 Rise edge 0 Linear counter 1 Fall edge counter selection counter 1 Ring
48. UDE Q04UDEH Single CPU system Version 8 68W or QO6UDEH Q13UDEH Multiple CPU system later Q26UDEHCPU RA AA CPU system Version 8 78G or Q10UDEH Q20UDEHCPU de ute J CPU system later I Single CPU system CPU system Version 1 31H or Q50UDEH Q100UDEHCPU Not supported Not supported Multiple CPU system later i A Version 1 14Q or If installed in a MELSECNET H remote I O station Version 6 or later ii Not supported ater Depending on the version of GX Configurator CT CPU modules and functions of the QD60P8 G vary 2 SYSTEM CONFIGURATION ae ge MELSEC Q 2 2 Using the QD60P8 G with the Redundant CPU The following describes the use of the QD60P8 G with Redundant CPU 1 GX Configurator CT GX Configurator CT cannot be used when accessing the Redundant CPU via an intelligent function module on the extension base unit from GX Developer Connect a personal computer to the Redundant CPU with a communication path indicated below Tes Main base unit el e e jel ei e 2 5 la el fe are DEST Extension base unit 4 GX Configurator CT cannot be used 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 ATION 2 SYSTEM CONFIGURATIO MELSEC Q 2 3 Checking Function Version Serial Number and Software Version 1 Checking
49. Wr Z N 2 r 9 1 1 i i i i Lower lower limit value byt FG bre ra 1 1 1 1 i Alarm output flag OFF f bitO Lower limit alarm l bit8 Upper limit alarm OFF f I Assuming that the upper upper limit upper lower limit and lower upper limit lower lower limit operation is performed as shown below Upper upper limit value Upper lower limit value 1 1 I 1 1 1 1 1 1 1 1 1 1 i 1 Lower upper limit value Lower lower limit value 1 1 1 L 1 1 1 1 1 1 1 1 1 1 1 1 1 L 1 Alarm output flag OFF bitO Lower limit alarm e Since Sampling pulse number of the buffer memory is updated at intervals of Count cycle setting value refer to Section 5 1 4 the alarm output flag also turns on off at the timing of the count cycle setting value The settings are reflected on the module by turning on Operating condition setting request flag Y1 after setting the values to the buffer memory 5 DETAILS AND SETTING OF FUNCTIONS MELSEC Q 5 9 Count Response Delay Time The count value of the QD60P8 G is delayed for the following reasons Please take this into consideration when using the module as a counter A delay occurs due to the scan time of a sequence program at the time of count start processing using Count enable Y18 to Y1F A delay occurs due to the control cycle 10ms A maximum of 20ms one control
50. above values a movement averaging setting range outside error Error code 300 occurs To clear the error turn on Error reset request Y8 to YF of the corresponding channel After this set a correct value and then turn on Operating condition setting request flag Y1 e The settings are reflected on the module by turning on Operating condition setting request flag Y1 after setting the values to the buffer memory 5 DETAILS AND SETTING OF FUNCTIONS MELSEC Q 5 8 Alarm Output Function With alarm output function valid set in Alarm output selection of the buffer memory the alarm output function outputs an alarm if Sampling pulse number of the buffer memory exceeds the upper upper limit value or lower lower limit value The alarm is turned off if Sampling pulse number is below the upper lower limit value or above the lower upper limit value after the output of the alarm To set the alarm output function set four points upper upper limit value upper lower limit value lower upper limit value and lower lower limit value The buffer memory addresses related to the setting of the alarm output function are as follows Item Setting value Buffer memory address 0 Alarm output function invalid Alarm output selection 17 49 81 113 145 177 209 241 1 Alarm output function valid Alarm output setting value 19 51 83 115 147 179 211 243 kl linit e me EERTE 0 to 32767 AI OOS Nae 21 53 85 117 149 181 213 245
51. ack cover Print Date Manual Number Jun 2002 SH NA 080313E A First edition Feb 2003 SH NA 080313E B Correction SAFETY PRECAUTIONS Section 2 1 Section 2 2 Section 6 2 2 Section 6 4 Section 6 5 Section 9 1 1 Jun 2004 SH NA 080313E C Addition of program example for use on the remote I O network Correction SAFETY PRECAUTIONS Section 2 2 Section 4 1 Section 6 4 Section 6 6 Chapter 7 Section 8 1 Section 8 3 2 Feb 2006 SH NA 080313E D Correction SAFETY PRECAUTIONS Conformation to the EMC Directive and Low Voltage Instruction Section 2 2 Section 4 1 Section 6 2 2 Mar 2006 SH NA 080313E E Correction SAFETY PRECAUTIONS Section 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 Compliance with the EMC and Low Voltage Directives Generic Terms and Abbreviations Section 2 1 2 3 4 1 4 4 1 6 2 1 6 3 1 6 3 3 8 1 Dec 2010 SH NA 080313E J Addition of program example for use the utility package SAFETY PRECAUTIONS Generic Terms and Abbrevia
52. age is input or incorrect wiring is performed Startup Maintenance Precautions A CAUTION e Do not disassemble or modify the module Doing so could cause failure malfunction injury or fire e Shut off the external power supply for the system in all phases before mounting or removing the module Not doing so may cause failure or malfunction of 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 details refer to the chapter of the online module change in this manual e Do not install remove the module to from the base unit or the terminal block to from the module more than 50 times after the first use of the product IEC 61131 2 compliant Failure to do so may cause malfunction e Do not touch the connector while the power is on Doing so may cause malfunction Startup Maintenance Precautions A CAUTION e Shut off the external power supply for the system in all phases before cleaning the module or retightening the module fixing screws terminal block screws and terminal block fixing screws Not doing so may cause failure or malfunction of the module If the screws are loose it may cause the module to fallout short circuits or malfunction If the screws are t
53. alue 0 Alarm output selection Alarm output function invalid Ba Details Select input Setting range Compare o p vald Compare o p Make text fle End setup Cancel 6 UTILITY PACKAGE GX Configurator CT MELSEC Q Explanation of items 1 Command buttons Make text file Creates a file containing the screen data in text file format End setup Saves the set data and ends the operation Cancels the setting and ends the operation Initial settings are stored in the intelligent function module parameter file After being written to the CPU module the initial setting takes effect 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 Arrange so that the initial settings written by the sequence program are re executed while the CPU module changes from STOP to RUN When using a sequence program the initial setting parameters are written at the time the CPU module status changes from STOP to RUN 6 UTILITY PACKAGE GX Configurator CT MELSEC Q 6 5 Auto Refresh Setting Purpose Set the QD60P8 G buffer memory to be automatically refreshed for each channel There are the following buffer memory items to be automatically refreshed for each channel e Sampling pulse number e Carry over detection flag e Comparison output selection e Carry over reset request e Comparison
54. aneeeeeneass A 12 COMPONENE VIST use a e A A 13 1 OVERVIEW 1 1to 1 4 TT OVGIVIEW REE EE EE EE ahdeti diated adikehitaticdiden each heii 1 1 12 FEAUES eee enn ASer 1 1 2 SYSTEM CONFIGURATION 2 1t02 7 2 1 Applicable SystemScnc Aenea a al dad dade a den eal ate ne 2 1 2 2 Using the QD60P8 G with the Redundant CPU msrrenrnenrnenrrenrernrrenrrrnreenrrenreenrernrrenrrenrrenreenrrenreenrernnenne 2 5 2 3 Checking Function Version Serial Number and Software Version rrrnrnrrnrrrrnnvrnnnrnnrnnnnrnrnnrnnnennnn 2 6 3 SPECIFICATIONS 3 1 to 3 14 3 1 Peformance Specification a a e bee dk de haddde md eaae aaa eaaa AA a aae aa ninan bien gd 3 1 3 2 LISKOrMFURGHUONS unik nenen a e a ara r 3 3 3 3 I O Signals for Programmable Controller CPU usrnrnvvnnvnnnvnnnvnnnvrnnvrnnnrnnnrrrnrrrnrrsnrrsnrrsnresnrernreenreenresreennn 3 4 3 3 T List Of ELS li e uns ae E T E A S E A 3 4 3 3 2 Details of 1 O signals S E AEAEE E 3 5 3 4 Butter Memoryiaaarauls adekvate gatenett keg 3 8 3 4 1 List of buffer memory assignmentS ranvnrnvnnnvnnnrnnnvnnnvnnn vnr vnnnrnnrerrenrrnrrrnernnerreernensrersrenrreesessvesnene 3 8 3 4 2 Details of buffer memory 4 ccccescccieeteccteedteeseeestecaeeedtecaeeedhecaneedhecaeeedhecaneedhecdteedhecateceeedhecdieedieesies 3 9 3 5 Interface with External Devices rrranrnnnrnnnrnenvnnnrnrnrnrnrnnnrrrnrnenrnrnreenrennrrenrrensennreenneeneeensesnnnenesnresnreenneenn 3 14 4 1 Handling Preca
55. ating count value reaches or exceeds Comparison output setting value the accumulating counter comparison flag turns on Counter reset Sampling pulse number Accumulating count value and Input pulse value can be reset at any timing 2 Counting speed range of the input pulse can be changed By changing the input filter the input pulse speed is available within the range 0 to 30kpps 3 8 channels of pulse inputs in one module One module has 8 channels of pulse inputs to configure a system at low costs 4 Channel isolated The channels are isolated from each other Dielectric withstand voltage 1780VAC for 1 minute 1 OVERVIEW MELSEC Q 5 Online module change It is possible to change the module without stopping the system 6 Easy settings with GX Configurator CT The number of sequence programs can be reduced since GX Configurator CT sold separately allows the channel isolated pulse input module settings on the dialog box Also GX Configurator CT simplifies the checking of the module settings and operation status 1 OVERVIEW MELSEC Q MEMO 2 SYSTEM CONFIGURATION ae ge MELSEC Q CHAPTER 2 SYSTEM CONFIGURATION This chapter explains the system configuration of the QD60P8 G 2 1 Applicable Systems This section describes the applicable systems 2 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
56. ator CT is required to check the error definition For details of how to check the error definition refer to Section 9 1 1 Confirming the error definitions using system monitor of GX Developer or Chapter 6 Utility Package GX Configurator CT Refer to Section 9 3 for details of Error code 9 TROUBLESHOOTING MELSEC Q MEMO TROUBLESHOOTIN mr MELSEC Q 9 3 List of Errors The following table shows the error details and remedies to be taken when an error occurs Error code Error name Error Operation status at error occurrence 000 Normatstatus o S S o When the linear counter was selected Overflow error Accumulating count value exceeded Count operation is stopped 99999999 The value set in Comparison output selection or Comparison output setting value of the buffer memory is outside the setting range Comparison output setting range outside error The value set in Movement averaging processing selection or Number of movement averaging processing of the buffer memory is outside the setting range Movement averaging setting range outside error The value set in Pre scale function selection or Pre scale setting value of the buffer memory is outside the setting range Pre scale setting range outside error e The value set in Alarm output selection Count operation cannot be started Alarm output setting value upper upper limit Alarm output setting value upper lower limit Alarm out
57. atures and overview of this product Chapter 1 Section 1 1 gives the overview and Section 1 2 the features To know the system configuration Chapter 2 Chapter 2 describes the system configuration usable programmable controller CPUs etc To know the system performance and function list Chapter 3 Sections 3 1 to 3 4 provides the performance specifications list of functions I O signals and list of buffer memory Section 3 5 describes the interface with external devices To know the module installation and setting Chapter 4 Chapter 4 describes the wiring example of the module and the setting method necessary for start of operation To know the functions and their setting methods Chapter 5 Chapter 5 provides the functions and their setting methods To perform initial setting etc from the optional utility package Chapter 6 Chapter 6 gives the method for operating the utility package To know the example of operating the QD60P8 G using a sequence program Chapter 7 Chapter 7 provides a sequence program example To change the module without stopping the system Chapter 8 Chapter 8 provides the method for changing the module without stopping the system online module change To know Error code and corresponding remedy when an error occurs in the module Chapter 9 Chapter 9 provides the troubleshooting and the error code list Il Numeric values used in this manual e The buffer memory addresses and error codes are repre
58. awdust or wire chips get inside the module These may cause fires failure or malfunction e The top surface of the module is covered with protective film to prevent foreign objects such as cable offcuts from entering the module when wiring Do not remove this film until the wiring is complete Before operating the system be sure to remove the film to provide adequate heat ventilation Wiring Precautions WARNING e The cables connected to the module should be placed in a duct or fixed Not doing so can cause the module or cables to be damaged when the cables swing more or are pulled carefully for example or to malfunction due to poor cable connection Wiring Precautions A CAUTION e When removing the cable from the module do not pull the cable When disconnecting a cable without a terminal block unscrew on the part that is connected to the module Pulling the cable that is still connected to the module may cause malfunction or damage to the module or cable e Always ground the shielded cable for the programmable controller There is a risk of electric shock or malfunction e Use applicable solderless terminals and tighten them with the specified torque If any solderless spade terminal is used it may be disconnected when the terminal screw comes loose resulting in failure e When wiring be sure to verify the rated voltage of the product as well as the terminal layout Fire or failure may result if incorrect volt
59. ccurrence Error occurrence X8 to XF Error reset request OFF Y8 to YF Error code is read during this period 1 Initial value set at power on or when the programmable controller CPU is reset PECIFICATION AA MELSEC Q F Initial Device F Signal name Details value No 4 e This signal turns on if Accumulating count value reaches or exceeds Comparison output setting value Accumulating count value is stored into the buffer memory for each channel Set Comparison output setting value to the buffer memory for each channel Refer to Section 3 4 2 for details This signal remains on until Comparison signal reset request Y10 to Y17 turns on Once turned off this signal does not turn on until Accumulating count value reaches Comparison output setting value again after it has been reset Accumulating count value lt Comparison p BL p Executed by QD60P8 G Accumulating output setting Executed by sequence program counter value OFF comparison ON Accumulating Accumulating count value Count cycle flag count value __ Setting value Comparison output setting value Comparison output setting value Accumulating counter comparison flag OFF X10 to X17 Comparison signal OFF reset request Y10 to Y17 1 Initial value set at power on or when the programmable controller CPU is reset PECIFICATION ted MELSEC Q 2 Details of output signals pr
60. ch as switches for powering off each of the external power supply and external devices connected to the module to be replaced online To prevent an electric shock always turn off the input pulse signal from the pulse generator connected to the module to be changed online 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 It is recommended to perform an online module change in the actual system in advance to ensure that it would not affect the other modules by checking the following e Means of cutting off the connection to external devices and its configuration are correct e Switching on off does not bring any undesirable effect Do not install remove the module to from the base unit or the terminal block to from the module more than 50 times after the first use of the product IEC 61131 2 compliant Failure to do so may cause malfunction 8 ONLINE MODULE CHANGE MELSEC Q 8 1 Online Module Change Conditions The programmable controller CPU MELSECNET H remote I O module GX Developer and base unit given below are needed to perform an online module change 1 Programmable controller CPU The Process CPU or Redundant CPU are required For precautions for multiple CPU system configuration refer to the QCPU User s Manual Multiple CPU System For precautions for redundant system con
61. ction 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 Auto refresh settings cannot be changed from the sequence program However it is possible to add a process similar to auto refresh by the sequence program 6 UTILITY PACKAGE GX Configurator CT MELSEC Q 6 6 Monitoring Test Purpose Start buffer memory monitoring testing and I O signal monitoring testing from this screen Operating procedure Select monitor test module screen gt Start I O No Module type gt Module model name Monitor test 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 Psi r Module information Module type Counter Module Start 1 0 No 0000 Module model name QD60P8 G Setting item Current value CH1 Monitor T est CH1 Monitor Test CH2 Monitor Test CH2 Monitor Test CH3 Monitor Test CH3 Monitor Test CH4 Monitor Test CH4 Monitor Test A 5 CHE Montor Test CHE Moritor Test Selecting these buttons displays CHE Monitor Test CHE Monitor Test
62. ction module parameters from to a programmable controller CPU using GX Developer a Intelligent function module parameters can be read from and written into a programmable controller CPU after having been saved in a file b Seta target programmable controller CPU in GX Developer Online Transfer setup c When mounting the QD60P8 G on a remote I O station use Read from PLC and Write to PLC of GX Developer Checking the required utility While the start I O is displayed on the Intelligent function module utility setting screen 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 6 UTILITY PACKAGE GX Configurator CT MELSEC Q 6 4 Initial Setting Purpose Make initial setting for operating the QD60P8 G for each channel There are the following setting items as the initial setting data buffer memory e Comparison output selection e Alarm output setting value upper upper limit e Comparison output setting value e Alarm output setting value upper lower limit e Movement averaging processing selection e Alarm output setting value lower upper limit e Number of movement averaging processing e Alarm output setting value lower lower limit e Pre scale function selection e Count cycle change function selection
63. curred 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 their respective companies SPREAD Copyright c 1996 FarPoint Technologies Inc SH NA 080313E J SH NA 080313E J 1012 MEE MODEL QD60P8 G U S E MODEL CODE 13JR54 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
64. d by 1 turns to 0 eee 10 42 74 106 138 170 202 234 Input pulse value 0 to 2147483647 11 43 75 107 139 171 203 235 The buffer memory addresses for resetting Input pulse value are as follows ka The update timing of Input pulse value is fixed at 10ms Therefore take care when using the module as a counter Refer to Section 5 9 When reading Input pulse value always read two words together If it is read in single word unit a wrong count value may be read due to a data mismatch between the lower word and upper word when the count value is updated halfway during read 5 DETAILS AND SETTING OF FUNCTIONS MELSEC Q 5 4 Comparison Output Function The comparison output function compares any count value set in Comparison output setting value of the buffer memory with Accumulating count value of the buffer memory and if Accumulating count value is equal to or greater than Comparison output setting value turns on Accumulating counter comparison flag X10 to X17 Set one point of Comparison output setting value for each channel The buffer memory addresses related to the setting of the comparison output function are as follows selection 1 Comparison output function valid Comparison output 2 34 66 98 130 162 194 226 0 to 99999999 setting value 3 35 67 99 131 163 195 227 Accumulating count 40 72 104 136 168 200 232 0 to 99999999 value 41 73 105 137 169 201 2
65. d execute Cancel b Click the OK button to leave the Online module change mode MELSOFT series GX Developer fs The online module change mode is stopped Even if the stop is executed the online module change mode on the PLC side is not cancelled Please execute the online module change and restart the control of the module again NLINE MODULE CHANGE D MELSEC Q c Click the Close button to close the System monitor screen x r Installed status gt Base 0 1 2 3 4 5 6 7 Base Module MasterPLC gt L Main base Powe Unmo Unmal Unmo Unmo Unmo Unmo Unmo 0 0 I Euisndon bass I SU unti funti funti funti funti funti funti E o Eptension base 2 ey Q25PHCPU BENENE EEE Oo a Evtension base 3 H E Extension base 4 H E Extension base 5 EH o Extension base 6 Oo a Eptension base 7 m Parameter status m Mode io Address o x 30 40 50 60 70 80 System monitor Online module change Diagnostics Modules Detafed Information 1 Powe rsu Q25PHCPU pply __ Base Information Product Inf List Status E Module system error g Module error Module warning Bremen Detailed inf of power supply B Module change Stop monitor e 5 Resumption of control a After choosing Diagnostics Online module change on GX Developer
66. d monitor the system Item Read value Setting value Buffer memory address valu ing valu mer CH6 CH7 40 72 104 136 168 200 232 Accumulating count value 0 to 99999999 41 73 105 ve 201 0 No overflow detection OFF Overflow detection flag 12 44 76 108 10 1 Overflow detection ON 1 Reset request The value automatically Counter reset request turns to 0 after completion of a counter reset 5 DETAILS AND SETTING OF FUNCTIONS MELSEC Q 5 2 2 Ring counter operation When the ring counter is selected count operation is repeated between 0 and 99999999 If Accumulating count value of the buffer memory exceeds 99999999 the accumulating count value returns to 0 and Carry over detection flag of the buffer memory turns on The 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 Skussann Executed by QD60P8 G Executed by sequence program Accumulating count value A 99999999 n ne nn nnn nnn nnn penne nnn nnn epee nnn n nnn n eens gt Time t NON Count enable OFF i a Y18 to Y1F O Zz Carry over detection flag Carry over reset request The accumulating count value is updated in the cycle set in the count cycle setting value of the buffer memory Refer to S
67. dule Mount a new module QD60P8 G y X Y refresh resumes and the module starts After mounting the module RUN LED turns on click the Execution button Default operation of GX Developer XO remains off When there are initial setting parameters operation is performed according to the initial setting parameters at this point Operation check before control start v 4 Operation check Click the Cancel button of GX Developer to leave the online mode h Conduct an operation test on the new module using Device test of GX Developer Monitor test of GX Configurator CT Module operates according to test operation 2 r Operation check completed v 5 Resumption of control y X0 Module READY turns on Operate GX Developer to 4 resume the online module Start is made when X0 turns change mode and click the from off to on Execution button to resume Operation is performed control according to the initial setting sequence 2 1 Access to the intelligent function module device UL GL is included 2 In the absence of the operation marked 2 the operation of the intelligent function module is the operation performed prior to that 3 The item numbers 1 to 5 correspond to the operation step numbers of Section 8 3 Online module change procedure 8 ONLINE MODULE CHANGE MELSEC Q 8 3
68. e 1 OVERVIEW 6 7 9 10 11 MELSEC Q Sampling pulse number indication The value obtained by performing pre scale conversion on the pulse number entered in Count cycle setting value to the count cycle setting value is displayed If the input pulse number is not uniform movement averaging processing can be performed to average the input pulse number The count range is 0 to 32767 Accumulating count value indication The accumulating value of Sampling pulse number is displayed in the set count cycle The count range is 0 to 99999999 and you can select whether to use the accumulating counter as the linear counter or ring counter Input pulse value indication The pulse number actually input is displayed every 10ms Since the input pulse number is displayed every 10ms the module can be used as a counter Input pulse value is updated every 10ms Note this when using the module as a counter The count range is 0 to 2147483647 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 Sampling pulse number to output alarms Accumulating counter overflow detection If Accumulating count value overflows exceed 99999999 in the linear counter mode the accumulating counter overflow detection flag turns on to indicate that an overflow error has occurred Accumulating counter comparison output If Accumul
69. e Pre scale setting value e Count cycle setting value e Alarm output selection This initial setting makes sequence program setting unnecessary For more information on the setting details refer to Section 3 4 2 Operating procedure Start I O No Module type gt Module model name gt Initial setting Enter the start I O No in hexadecimal Setting screen finial setting ee cir p Module information Module type Counter Module Start 1 0 No 0000 Module model name QD60P8 G Setting item Setting value a CHT Initial setting CH1 Initial setting CH2 Initial setting CH2 Initial setting CH3 Initial setting CH3 Initial setting CHA Initial setting CHA Initial setting CH5 Initial setting CHS Initial setting l CH6 Initial setting CHE Initial setting CH7 Initial setting CH7 Initial setting v Details Move to sub window Make text file End setup Cancel Move to sub window CH1 Initial Setting Ex p Module information Module type Counter Module Stat ONo 0000 Module model name QDS0P8 G Setting item Setting value LA Comparison output selection Compare o p function invalid Comparison output setting value 0 Movement averaging processing selection Sampling processing z Number of movement averaging processing or Pre scale function selection Pre scale function invalid z Pre scale setting v
70. ection 5 1 4 5 DETAILS AND SETTING OF FUNCTIONS MELSEC Q Read value Setting value Buffer memory address ks 40 72 104 136 168 200 232 Accumulating count value O to 99999999 41 73 105 137 169 201 233 0 No carry over detection OFF Carry over detection flag 14 46 78 110 142 174 206 238 1 Carry over detection ON 1 Reset request The value automatically turns Carry over reset request 15 47 79 111 143 175 207 239 to 0 after completion of a over reset Carry over detection flag is not cleared until Carry over reset request is given Once cleared Carry over detection flag does not turn on until Accumulating count value exceeds 99999999 again 5 DETAILS AND SETTING OF FUNCTIONS MELSEC Q 5 3 Input Pulse Value The pulse number entered into the QD60P8 G is stored into Input pulse value of the buffer memory This value is counted when Count enable Y18 to Y1F is on Input pulse value is not converted into the unit pulse number by the pre scale function refer to Section 5 6 unlike Sampling pulse number and Accumulating count value of the buffer memory If an overflow error occurs the value is counted when Count enable Y18 to Y1F is on The count type of Input pulse value is a ring counter of 0 to 2147483647 Input pulse 2147483600 to 2147483646 2147483647 0 1 2 3 page a Input pulse count value of 2147483647 incremente
71. ed Monitors and tests the buffer memory and I O signals for the QD60P8 G Monitor Test X Y Monitor Test Section 6 6 e CHU Monitor Test 6 UTILITY PACKAGE GX Configurator CT MELSEC Q 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 2 4 5 For safety Since utility is add in software for GX Developer read Safety Precautions and the basic operating procedures in the GX Developer Operating Manual About installation GX Configurator CT is add in software for GX Developer Version 4 or later Therefore GX Configurator CT must be installed on the personal computer that has already GX Developer Version 4 or later installed Screen error of Intelligent function module utility Insufficient system resource may cause the screen to be displayed inappropriately while using the Intelligent function module utility If this occurs close the Intelligent function module utility GX Developer program comments etc and other applications and then start GX Developer and Intelligent function module utility again To start the Intelligent function module utility a In GX Developer select QCPU Q mode for PLC series and specify a project If any PLC series other tha
72. eeeeseeeeaeeceneeceaneeseneeseneeseaeecsaneeeeaeeseneeeeaeessaneeeeneeseaeeseneeess 5 5 5 2 2 Ring counter OPOration e ai idet ere dere dd ere ei ee 5 7 5 3 Input PUlSe Value innkast i era D aeaa 5 9 5 4 Comparison Output FUNCTION ccccccceccceececeeeeeeeeeeeceeeeneecaeeseaeeecaeeecacesseaeeseaeescaeeseaeeseeeseeaeeesneeeeseess 5 10 5 5 Counter Reset Function isai aera Aaa A Reia aeria 5 12 5 6 Pre scale Function kre r a e a a a a a ae 5 13 5 7 Movement Averaging Function usrmarvrrvvrrnrnvnnnrnnnrnnnvnnnvnnrrnnnvnnrrnnsrensrensrensressvensvessvessressressressnessnensnnn 5 15 5 S Al rm Output Funetion 2i Acie cove ke anken dene anke keel 5 16 5 9 Count Response Delay Time murnnnnrnnnvnnnvnnnrnnnvnnnrnnnrnnnvnnnvnenrnrsrnnsrnnsrnnsressrnnsvnssvnssrnssvessvnssressressressnessnene 5 17 6 UTILITY PACKAGE GX Configurator CT 6 1 to 6 18 6 1 Utility Package Functions mvmiimeisnitsvetenidiredinddiredenedirednndiinedunidurednnddinedunedurednn dine dnne duredvn dad dine dne dre dad 6 1 6 2 Installing and Uninstalling the Utility Package mrsvvrnvvnnvrnnvonnvrnnvvnnvrnnnrrnvrrnnrrrnrnnnenenrrsnrrsnrrrnresnrenneenneennn 6 2 6 2 1 Handling precautions cc csccccete eset eden eect eden ceed eden eect eden edet rise edie eeet ris eet eden edad lin eatt dan aiet 6 2 6 2 2 Operating environne e eE EA EEE E E EERE 6 4 6 3 Utility Package Operation Susreo e a A A EA EARTE 6 6 6 3 1 Common utility package operations
73. elow Accumulating counter comparison flag X10 to X17 fa ms ME value value heim vom ED value e Accumulating counter comparison flag X10 to X17 is cleared by turning on Comparison signal reset request Y10 to Y17 of the corresponding channel When the accumulating counter is operating as a linear counter Accumulating counter comparison flag X10 to X17 that was turned off once does not turn on until the accumulating count value reaches Comparison output setting value again after it has been reset When the accumulating counter is operating as a ring counter the flag turns on when Accumulating count value reaches Comparison output setting value again in the ring processing Setting range 0 to 99999999 Setting value and Accumulating count value value CH1 CH2 Refer to Section 9 3 for details of the error codes CH3 MELSEC Q CH4 CH5 CH6 CH7 CH8 i l 98 130 162 194 226 9 131 163 195 227 3 SPECIFICATIONS Number of Pre scale function selection When movement averaging processing is set in Movement averaging processing selection movement averaging processing is performed on Sampling pulse number of the buffer memory by the number of times set in Number of movement averaging processing of the buffer memory When the setting value is other than 0 or 1 a movement averaging setting range outside error Error code 300 occurs To clear the error turn on Erro
74. er SW Random cyclic ae ae ee Random cyclic EE eee Seereal Transfert Transfer2 0000 Transfer3 0100 Transter4 Transfer5 Transfer6 7 PR RAMMIN MELSEC Q 2 List of devices to be used In Section 7 3 2 3 program example the devices to be used are assigned as indicated in the following table The I O numbers for the QD60P8 G indicate those when the QD60P8 G is mounted on Slot 2 of the remote I O station If it is mounted on the slot other than Slot 2 of the remote I O station change the I O numbers to those for the position where the QD60P8 G was installed Change the external inputs internal relays and data resisters according to the system to be used Inputs outputs external inputs and internal relays of the QD60P8 G Device name Application X120 Module READY X121 Operating condition setting complete flag X128 Error occurrence Input output of Accumulating counter comparison flag QD60P8 G Operating condition setting request flag Outputs 7 External input command Internal relay z Data registers Device name Device Bufer memory Data stored address DO 0 Sampling pulse number t 8 Aacoumaingcoatvate l 31 Accumulating count value D32 9 H Data registers Input pulse value Errorcode Error code 7 PROGRAMMING 3 Program example lt Remote I O station operating status check gt
75. er limit setting Do you use the count cycle NO change function YES Count cycle change function selection setting Count cycle setting value setting Turn on Operating condition setting request flag Y1 Turn on Count enable Y18 to Y1F Read the sampling pulse number accumulating count value and input pulse value 7 PROGRAMMING MELSEC Q 7 2 For Use in Normal System Configuration System configuration used in the program explanation 1 System configuration 2 1Ql Q a g clID xXx E P e t1 Uulo o 3 P 5 8 l a G LL LL N z Xx 2 e o 2 S 2 Program conditions This program performs the count operation by turning on Count enable Y18 on after the initial setting for CH1 of the QD60P8 G 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 2 for details of setting the intelligent function module switch Input voltage selection 12 to 24VDC e Pulse edge selection Rise edge e Linear counter or Ring counter selection Linear counter e Input filter setting CH1 30kpps 7 PR RAMMIN EE MELSEC Q 7 2 1 Program example using the utility package 1 List of devices to be used In Section 7 2 1 3 program example the used devices are assigned as indicated in the following table In
76. er 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 Discontinuation of production shall be notified with Mitsubishi Technical Bulletins etc 2 Product supply including repair parts is not available after production is discontinued 3 Overseas service Overseas repairs shall be accepted by Mitsubishi s local overseas FA Center Note that the repair conditions at each FA Center may differ 4 Exclusion of loss in opportunity and secondary loss from warranty liability Regardless of the gratis warranty term Mitsubishi shall not be liable for compensation of damages caused by any cause found not to be the responsibility of Mitsubishi loss in opportunity lost profits in
77. erflow detection flag Counter reset request Turn on the counter resetting Turn off the counter resetting Read of carry over detection flag Set 1 to the carry over reset request Turn on the carry over resetting Turn off the carry over resetting Read of sampling pulse number Read of alarm output flag Read of accumulating count value Read of input pulse value 7 PROGRAMMING MELSEC Q 7 3 For Use on Remote I O Network System configuration used in the program explanation 1 System configuration Remote master station Network No 1 Remote I O station Station No 1 Power Q Q Q Q Power S Q a a supply n J X Y supply C 7 1 1 7 1 1 6 module P 1 0 0 module 2 0 0 0 U L L P P P 8 2 2 1 5 G X Y100 X Y110 X Y120 to to to X Y10F X Y11F X Y13F 2 Program conditions This program starts the count operation by turning on Count enable Y138 on after the initial setting for CH1 of the QD60P8 G 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 2 for details of setting the intelligent function module switch Input voltage selection 12 to 24VDC e Pulse edge selection Rise edge e Linear counter or Ring counter selection Linear counter e Input filter setting CH1 30kpps 7 PR RAMMIN MELSEC Q 7 3 1 Program example usi
78. f the QD60P8 G ON Operating normally 1 RUN LED OFF 5V power is off watch dog timer error occurred in the module changeable status during online module change Indicates the error status of the QD60P8 G 2 ERR LED ON Error is occurring OFF Operating normally Displays the voltage application status of the input terminals 3 CH1 to CH8 LED ON Voltage is being applied to the CH1 to CH8 pulse input terminal OFF No voltage applied to pulse input terminals of CH1 to CH8 3 Serial number plate Serial number plate Indicates the serial No of the QD60P8 G 4 3 4 3 4 SETUP AND PROCEDURE BEFORE OPERATION 4 4 Wiring MELSEC Q This section explains how to wire the pulse generator to the QD60P8 G The following are the precautions for wiring the QD60P8 G Read these precautions together with Section 4 1 Handling precautions to ensure work safety 4 4 1 Wiring precautions In order to fully utilise the functions of the QD60P8 G and ensure system reliability external wiring having a minimum of noise effect must be provided The precautions regarding external wiring are described below 1 2 Use separate cables with the AC control circuit and QD60P8 G s external input signals to avoid the influence of AC side surges and induction Do not run the cable close to or bundle them with the main circuit and high voltage cables and the load cables from other than the programmable controller Failure to do so
79. figuration refer to the QNPRHCPU User s Manual Redundant System MELSECNET H remote I O module The module of function version D or later is necessary 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 Base unit 1 When the slim type main base unit Q3 ISB is used an online module change cannot be performed 2 When the power supply module unnecessary type extension base unit Q5__B is used online module change cannot be performed for the modules on all the base units connected NLINE MODULE CHANGE ieaiai MELSEC Q 8 2 Online Module Change Operations The following gives the operations performed for an online module change Programmable controller CPU operation O Executed_X Not executed GX Configurator CT User operation 3 Initial setting Monitor parameter test Intelligent function module operation FROM TO Device instruction 1 test 1 Operation stop turned on by a sequence program Module is operating i Dismounting of module y Turn off all Y signals that were Operate GX Developer to start Module stops operating an online module change RUN LED turns off 4 Click the Execution button of GX Developer to make the module dismountable 4 Dismount the corresponding module QD60P8 G 4 Mounting of new mo
80. function module switch setting Perform settings using the GX Developer Refer to Section 4 5 2 Yes Use the GX Configurator CT Initial setting Create a sequence program for writing initial values Refer to Chapter 7 DEE Gi Program and debugging Create and check the sequence program Refer to Chapter 7 Initial setting Perform the initial setting using the GX Configurator CT Refer to Section 6 4 Perform auto refresh setting No Yes Auto refresh setting Perform the auto refresh setting using the GX Configurator CT Refer to Section 6 5 Monitor Test Perform the monitor or test using the GX Configurator CT Refer to Section 6 6 a E 4 SETUP AND PROCEDURE BEFORE OPERATION MELSEC Q 4 3 Part Identification Nomenclature 1 Part identification nomenclature The following are the part names of the QD60P8 G FG QD60P8 G 1 RUN CH1 CH5 CH2 CH6 CH3 CH7 lt 4 3 2 Pe_ERR CH4 CH8 1 LAL Pale Ne 2 p 3 5 Ve SI 4 c 4 5 9 v SI 6 oc 7 VERT S 8 c V 9 Hve 5 10 c amp 11 be Nm g IS 13 pe Ne V g 15 p Ne 17 FG Al 31 18 5 12 24VDC lt 7 sy 2 LED display The LEDs turn on off as described below depending on the operating status of the module Indicates the operating status o
81. g Turn on Comparison signal reset request Y10 Turn off Comparison J signal reset request Y10 Read of error code Turn on the Error reset request Turn off the Error reset request J Read of overflow detection flag Counter reset request Turn on the Counter resetting Turn off the Counter resetting 1 Read of carry over detection flag Set 1 to the carry over reset request ene Turn on the Carry over resetting brt 1 Turn off the Carry over resetting Read of sampling pulse number Read of alarm output flag Read of accumulating count value J Read of input pulse value 7 PR RAMMIN MELSEC Q 7 2 2 Program example without using the utility package 1 List of devices to be used In Section 7 2 2 2 program example the devices to be used are assigned as indicated in the following table The I O numbers for the QD60P8 G indicate those when the QD60P8 G is mounted on the 0 slot of the main base unit If it is mounted in the slot other than the 0 slot of the main base unit change the I O number to that for the position where the QD60P8 G was installed Change the external inputs internal relays and data resisters according to the system to be used Inputs outputs external inputs and internal relays of the QD60P8 G Device name Application XB Errorocourrence O Input output of the QD60P8 G _____ 1_ Qperetng condition setting request fag Error reset request Outpu
82. g range outside error Error code 600 occurs To clear the error turn on Error reset request Y8 to YF of the corresponding channel After this set a correct value and then turn on Operating condition setting request flag Y1 The settings are reflected on the module by turning on the operating condition setting request flag Y1 after setting the values to the buffer memory When measuring the frequency of the number of input pulse set 1s for Count cycle setting value to treat the value in Sampling pulse number as a frequency This eliminates the need of the program to calculate the counting value per second The timing where the program reads the count value and the updating period of Count cycle setting value may cause errors in Accumulating count value 5 DETAILS AND SETTING OF FUNCTIONS MELSEC Q 5 2 Count Type Selection Select the linear counter or ring counter by setting with the intelligent function module switch Refer to Section 4 5 2 for details of the setting method 5 2 1 Linear counter operation When the linear counter is selected count operation is performed between 0 and 99999999 If Accumulating count value of the buffer memory exceeds 99999999 the Overflow 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
83. hat will execute initialization at any timing initialization request signal into the sequence program After control resumption turn on the initialization request signal to perform initialization If the sequence program performs initialization only for one scan after entering the RUN status initialization is not performed 8 ONLINE MODULE CHANGE 5 Resumption of control MELSEC Q a After choosing Diagnostics 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 Online module change Operation Module change execution Installation confirmation Module control restart r Target module 170 address 000H Module name QD60P8 G r Status Change module installation completion r Status Guidance The controls such as 1 0 FROM TO instruction executions and automatic refresh for the installed module are restarted Please confirm the parameter setting and wiring etc and execute Cancel b The Online module change completed screen appears MELSOFT series GX Developer fe YD Online module change completed NLINE MODULE CHANGE ee rd MELSEC Q 8 4 Precautions for Online Module Change The following are the precautions for online module change 1 Always perform an online module change in the correct procedure failure to do s
84. icable to the QD60P8 G and quantities for each CPU model Depending on the combination with other modules or the number of mounted modules power supply capacity may be insufficient Pay attention to the power supply capacity before mounting modules and if the power supply capacity is insufficient change the combination of the modules Applicable CPU module No of modules x1 CPU model Main base unit Extension base unit Q00JCPU Up to 8 Basic model QCPU Q0OCPU Up to 24 Q01CPU High Performance Up to 64 model QCPU ar Q02PHCPU QO6PHCPU Q12PHCPU Programmable 2 SEHOPL controller CPU Q1ZPRHCPU Up to 53 Q25PRHCPU Q00UJCPU Up to 8 QOOUCPU Up to 24 Q01UCPU QO3UDCPU Universal model QCPU Q04UDHCPU QO6UDHCPU Q10UDHCPU Up to 64 Q13UDHCPU Q20UDHCPU Q26UDHCPU Process CPU O Applicable X N A 2 SYSTEM CONFIGURATION pe pe 2 MELSEC Q Base unit Applicable CPU module No of modules CPU model QO3UDECPU Q04UDEHCPU QO6UDEHCPU Q10UDEHCPU Programmable Universal model QCPU Q13UDEHCPU Up to 64 controller CPU Q20UDEHCPU Q26UDEHCPU Q50UDEHCPU Q100UDEHCPU QO6CCPU V C Controller module QO6CCPU V B Q12DCCPU V O Applicable X N A 1 Limited within the range of I O points for the CPU module 2 Can be installed to any I O slot of a base unit 3 Use the QD60P8 G module whose serial No first five digits is 09012 or later 4 The safety CPU cannot be connected with extension base
85. ightened too much it may cause damages to the screws and or the module resulting in the module falling out short circuits or malfunction e Always make sure to touch the grounded metal to discharge the electricity charged in the body etc before touching the module Failure to do so may cause a failure or malfunctions of the module Disposal Precautions A CAUTION e When disposing of the product handle it as industrial waste e CONDITIONS OF USE FOR THE PRODUCT e 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 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 FO
86. ignal refer to the signal reset item of the input signal X10 to X17 request Count This signal turns on when count operation is started operation When this signal turns on the count operation of Count stop Sampling pulse number Accumulating count value Snable Count or Input pulse value assigned to the buffer memory for operation each channel is started For details on the on off timing of this signal refer to the stari item of the input signal X1 1 Initial value set at power on or when the programmable controller CPU is reset 3 SPECIFICATIONS 3 4 Buffer Memory 3 4 1 List of buffer memory assignments MELSEC Q The following table indicates the assignment of the QD60P8 G buffer memory Refer to Section 3 4 2 for details of the buffer memory areas The initial values are set to the buffer memory at power on or when the programmable controller CPU is reset When power is turned off the setting values in the buffer memory are not retained The sequence program or programmable controller CPU s auto refresh function reads writes the buffer memory contents The settings are reflected on the module by turning on Operating condition setting request flag Y1 after the data have been written to the buffer memory CH3 o 32 e 12 160 192 224 2 sameina pase nba ala3 65 97 205 Comparison output selection EE KS ES ES aati PE a 35 67 99 131 163 195 227 Compari
87. ing Sampling pulse number Count cycle setting value Refer to Section 5 1 4 Accumulating count value Input pulse value When reading Accumulating count value or Input pulse value always read two words together If it is read in single word unit a wrong count value may be read due to a data mismatch between the lower word and upper word when the count value is updated halfway during read Program example X20 c DMOV Incorrect program example X20 MOV MOV 5 DETAILS AND SETTING OF FUNCTIONS MELSEC Q 5 1 4 Count cycle changing This section describes how to change the count cycles of Sampling pulse number and Accumulating count value To change the count cycle set 1 Count cycle change function selection valid in Count cycle change function selection of the buffer memory Whether the function is valid or invalid can be selected on each channel Further set the count cycle in Count cycle setting value of the buffer memory Item Setting value Buffer memory address ing valu cus ce cnz cHe Count cycle change function Count cycle change selection invalid i r 23 55 87 119 151 function selection Count cycle change function selection valid Count cycle setting 24 56 88 120 152 value When Count cycle change function selection invalid is set the count cycle is 1s fixed e If the setting value is other than the above values a count cycle settin
88. ing contents in the cell Back s Deletes the character where the cursor is positioned Page Up Moves the cursor one page up Moves the cursor one page down Completes the entry in the cell 2 Data created with the utility package The following data or files that are created with the utility package can be also handled in GX Developer Figure 6 1 shows respective data or files are handled in which operation lt Intelligent function module parameter gt a This represents the data created in Auto refresh setting and they are stored in an intelligent function module parameter file in a project created by GX Developer Project Program Parameters PLC parameter Network parameter Intelligent function module parameter b Steps 1 to 3 shown in Figure 6 1 are performed as follows 1 From GX Developer select Project Open project Save Save as 2 On the intelligent function module selection screen of the utility select Intelligent function module parameter Open parameters Save parameters 6 UTILITY PACKAGE GX Configurator CT MELSEC Q 3 From GX Developer select Online Read from PLC Write to PLC Intelligent function module parameters Alternatively from the intelligent function module selection screen of the utility select Online Read from PLC Write to PLC lt Text files gt a A text file can be created by clicking the Make text
89. le channels i with a details of the occurring problem Is Count enable Y18 to Y1F on Turn Count enable Y18 to Y1F on using a sequence u program Set 1 in the Counter reset request of the buffer memory to Is Overflow detection flag of the buffer memory 1 reset the counter Set a value other than 0 in Pre scale setting value of the Is Pre scale setting value of the buffer memory 0 buffer memory Refer to Section 3 4 for details of the buffer memory 9 TROUBLESHOOTING MELSEC Q 9 1 1 Confirming the error definitions using system monitor of GX Developer Choosing Module s detailed information in the system monitor of GX Developer allows you to confirm Error code 1 Operation of GX Developer Choose Diagnostics System monitor gt QD60P8 G module and choose Module s Detailed Information 2 Confirmation of Error code Error code appears in the latest error code field By pressing the button the definition shown as the latest error code appears at No 1 Module s Detailed Information r Module Module Name QD60P8 G Product information 101110000000000 C 170 Address 0 Implementation Position Main Base OSlot Module Information Module access Pogg 1 0 Clear Hold Settings Fuse Status Noise Filter Setting Status of 1 0 Address Verify Agree Input Type Remote password setting status m Error Display
90. 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 precautions etc given in the instruction manual user s manual and caution labels on the product 2 Even within the gratis warranty term repairs shall be charged for in the following cases 1 Failure occurring from inappropriate storage or handling carelessness or negligence by the user Failure caused by the user s hardware or software design 2 Failure caused by unapproved modifications etc to the product by the user 3 When the Mitsubishi product is assembled into a user s device Failure that could have been avoided if functions or structures judged as necessary in the legal safety measures the us
91. m Base Base Module fMastePLC gt DI Main base Extension base 1 Unmo Unmoj Unmo i funti funti Q25PHCPU oktett te ite Pita Henson Base 7 CAA A A A A m op ole m Parameter status m Mode Tivo address 0 E 20 30 40 50 60 70 801 T T T System monitor Online module change rsu Q25PHCPU Diagnostics pply Modules Detailed Information hrormaton oduct nt List Status EEE LB Module system error Module eror C Module warning start monitar Detailed inf of power supply B Module change Stop monitor Close d Choose Online Debug Device test on GX Developer and set the buffer memory contents recorded in step 1 b to the buffer memory e Since the new module is in a default status it must be initialized by a sequence program after control resumption Before performing initialization check whether the contents of the initialization program are correct or not 1 Normal system configuration The sequence program should perform initialization on the leading edge of Module READY X0 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 t
92. m Error code and take corrective action described in s an error being generated ie Section 9 3 TROUBLESHOOTIN NE MELSEC Q 3 When count cannot be started or normal count cannot be made Check item sl Refer to Section 3 5 and check and correct the external Is the terminal block external wiring normal lg wiring Does the pulse input wiring use a shielded iwisted pair cabi Use a shielded twisted pair cable for the pulse input wiring isted pair cable i Separate the module s ground cable Is noise entering from the module grounding f If the module s case is contacting the grounding section detach it preventive i aca Have noise preventive measures been taken Take noise preventative measures such as attaching a CR inside the panel and for adjacent equipment surge suppressor to a magnet switch Wire the pulse input line independently inside the panel Noise section Is there sufficient clearance between high j separate the pulse input line from the power line by at least voltage equipment and pulse input lines een 150 mm 5 9 in as a guideline If the LED lights up check the external wiring and the pulse generator side and make necessary corrections Is the CHO LED lit when a voltage is applied to the pulse SA VEN If the LED is not lit the possible cause of a module fault input terminal by a stabilized power supply or similar Contact the neare
93. mable Controller CPU 3 3 1 List of I O signals The following table indicates the I O signals of the QD60P8 G for the programmable controller CPU The I O numbers X Y and I O addresses indicated in this chapter and later assume that the QD60P8 G is installed on the I O slot No 0 of the main base unit Input signal Signal direction Output signal Signal direction QD60P8 G gt progietnmable controller CPU programmable controller CPU gt QD60P8 G Device No Module READY Reserved N A Operating condition setting complete flag Operating condition setting request flag me rate Efe Reserved N A Reserved N A xe c xe c ma I XA Error occurrence Error reset request lt lt lt lt lt D 31317 ojo lt lt m zy N Accumulating counter comparison flag Comparison signal reset request 22 a ee xis c x4 c s c xe c x7 c vr os X13 X15 X17 oe iE vi o N Reserved N A Count enable Write is inhibited to the I O X Y reserved for the system PECIFICATION etat MELSEC Q 3 3 2 Details of I O signals The I O signals of the QD60P8 G are detailed below 1 Details of input signals QD60P8 G gt programmable controller CPU The following table indicates the on off timings and functions of the input signals Device Initial Signal name Details No 4 OFF Not e This signal judges whether the QD60P8 G is normal or Prepared abnormal in the
94. n 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 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 Start Ga GX Developer C ME FQ Intelligent function Module A E Intelligent function Module a 6 UTILITY PACKAGE GX Configurator CT MELSEC Q 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 When intelligent function modules are installed to Q02PH Q06PH Q12PH Q25PHCPU 256 Q12PRH Q25PRHCPU 256 QO0UJ Q00U Q01UCPU 256 Q02UCPU 2048 1024 Q03UD Q04UDH Q06UDH Q10UDH Q13UDH Q20UDH Q26UDH Q03UDE Q04UDEH Q06UDEH Q10UDEH Q13UDEH Q20UDEH Q26UDEHCPU Q50UDEH Q100UDEHCPU Not supported Not supported MELSECNET H remote I O station 256 For example if multiple intelligent function modules are installed to the MELSECNET H remote I O station config
95. nabl wcities 3 3 3 7 Count operation cccccceeseeeeeeeeteeeeeteeees 5 2 Count response delay time eeeeeeeeeee 5 18 Count type orrnenrnrnrnonvnrnnrnrnrnrnrernrernrernrnenreenn 3 1 Count value reading rvennvvnnvrnnrnnnrnnnrnnnnnenn 5 3 Counter Accumulating orrrenrnenrnenrvrnrrrnvrrnrrenrernreener 3 3 near ae a 3 3 5 5 Ring Sieen a ede 3 3 5 7 Index 1 Counter reset FUNCGUON aaen aiaia 3 3 5 12 REQUCSt tise iin 3 12 5 6 5 12 Counting SPEed nssnrrvnnvvvvrvvnrrvervensrersveersen 3 1 D Dielectric withstand voltage 1 2 3 1 Duty Patio aruna 3 1 E EMC Directive n vrrrorrrronnrrrvverrnrrrrnnnren A 12 4 5 Error G de Linate uken 3 12 9 8 Confirming the mmmrnervrvvrvrvrrrnrvrnenrnenreenr 9 3 LEIS COT cic cS eet en eee ne 9 8 w OCCUITONCE nnnnnn renn renn renn nnnnnnrnnnnnnnnnennnn 3 5 Reset request rrrnnnnnvrnnnvrnnnrnrrnvnnnnnnnn 3 7 TYPE OF Sud chen ate ete he 9 5 External dimension diagram 0 005 App 1 F Features 22 4 2 eeadeeii aad i 1 1 FUNCTION ccccccccceecesessnceeeeeeeessesneees 3 3 6 1 Function VEISiON cceeeceeeeeeeeeteeteteeeetetees 2 6 G GIOUNG 24 sa s eather Padi eta nu 4 5 GX Developer system monitor cee 9 3 H Hardware Crror ccccccecesceeeeeceeseeeeeeneesenees 9 10 I VOSIGNA up ee etan 3 4 Initial Setting c00 echt dnl nied 6 12 Input filte
96. nction selection Unit magnification Prescale function invad 0 a eee p Gott se x 0 001 a x 0 0001 If the setting value is other than the above values a pre scale setting range outside error Error code 400 occurs To clear the error turn on Error reset request Y8 to YF of the corresponding channel After this set a correct value and then turn on Operating condition setting request flag Y1 Refer to Section 9 3 for details of Error code MELSEC Q Buffer memory address value CHi l l 3 SPECIFICATIONS Set the pre scale setting value Sampling pulse number of the buffer memory with the following operation formula Sampling pulse number Input pulse value per count cycle x Pre scale setting value x Unit magnification Note that if Pre scale setting value is 0 the displayed sampling pulse number becomes 0 from the above operation formula and therefore it seems as if pulses are not counted although they are actually counted If the setting value is outside the range a pre scale setting range outside error Error code 400 occurs To clear the error turn on Error reset request Y8 to YF of the corresponding channel After this set a correct value and then turn on Operating condition setting request flag Y1 Setting range 0 to 32767 Stores the accumulating value of Sampling pulse number of the buffer memory The accumulating count value can be used when either the linea
97. ng and auto refresh setting of the selected module Closes this screen 6 UTILITY PACKAGE GX Configurator CT MELSEC Q 3 Menu bar a File menu Intelligent function module parameters of the project opened by GX Developer are handled Open parameters Reads a parameter file i i Onli Ti i sip Inteligent function moduls parameter Onine T Close parameters Closes the parameter file If any data are modified a Open parameters Ctrl O Close parameters dialog asking for file saving will appear Save parameters Ctrl 5 i Delete parameters Save parameters Saves the parameter file Open FB support parameters Save as FB Delete parameters Deletes the parameter file support parameters 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 Online menu pp Monitor Test Activates the Select monitor test module screen ine Tools Hel i Read from PLC Reads intelligent function module parameters from the odds CPU module Write to PLC Write to PLC Writes intelligent function module parameters to the CPU module 1 Saving intelligent function module parameters in a file Since intelligent function module parameters cannot be saved in a file by the project saving operation of GX Developer save them on the shown module selection screen Reading writing intelligent fun
98. ng the utility package 1 Operation of GX Developer Network parameter setting e Network type Head I O No MNET H remote master 00004 e Network No 1 e Total number of slave stations 1 Mode Online Network range assignment __M station gt R station M station lt Ri station B B StationNo M station gt R station M station lt R station a wW wW M station gt R station StationNo M station lt R station a x Y Ni Points Stat End Points Start End Points Start End Points Start End il 256 moo off 256 0000 Refresh parameters oorF 256 0100 of 256 0000 _OOFF v Link side Dev name Points Stat End TransferSB 58 512 0000 FF Transfer sw sw 512 0000 DIFF B m Transfer PLC side Dev name Points Transfer2 Transfer3 Transter4 Transfer5 Transfer 7 PR RAMMIN MELSEC Q 2 List of devices to be used In Section 7 3 1 4 program example the devices to be used are assigned as indicated in the following table The I O numbers for the QD60P8 G indicate those when the QD60P8 G is mounted on the 2 slot of the main base unit If it is mounted in the slot other than the 2 slot of the main base unit change the I O number to that for the position where the QD60P8 G was installed Change the external inputs internal relays and data resis
99. nge function is valid or invalid Set the count cycle in Count cycle setting value of the buffer memory By setting Count cycle change function selection valid the update timing of Sampling pulse number or Accumulating count value of the buffer memory becomes the time set in Count cycle setting value of the buffer memory When Count cycle change function selection invalid is set the count cycle is fixed at 1s If the setting value is other than 0 or 1 a count cycle setting range outside error Error code 600 occurs To clear the error turn on Error reset request Y8 to YF of the corresponding channel After this set a correct value and then turn on Operating condition setting request flag Y1 Setting value 0 Count cycle change function selection invalid 1 Count cycle change function selection valid Set the count cycle of Sampling pulse number or Accumulating count value of the buffer memory If the setting value is other than the following values a count cycle setting range outside error Error code 600 occurs To clear the error turn on Error reset request Y8 to YF of the corresponding channel After this set a value within the setting range and then turn on Operating condition setting request flag Y1 Setting value 0 1s 1 100ms 2 200ms 3 500ms Refer to Section 9 3 for details of Error code Initial value 19 51 MELSEC Q Buffer memory address 83 l
100. nt avrg processing Module model name QD60P8 G Number of movement averaging 10 processing e Pre scale function selection X0 01 e Pre scale setting value 252 e Alarm output selection Alarm output function valid Alarm output setting value 1100 upper upper limit Alarm output setting value 1000 upper lower limit Alarm output setting value 600 lower upper limit Alarm output setting value 500 lower lower limit 91 xd Module type Counter Module Start 1 0 No 0000 Setting item Setting value Comparison output selection Compare o p function valid El Comparison output setting value 500000 Movement averaging processing selection Movement avrg processing Number of movement averaging processing Pre scale function selection x0 01 Pre scale setting value Alarm output selection Alarm output function valid Select input Setting range Compare o p function invalid Compare o p function valid Make text fle End setup 7 PROGRAMMING MELSEC Q b Auto refresh setting Refer to Section 6 5 Set parameters as the following screen Auto refresh setting Module information Module type Counter Module Start 1 0 No 0000 Module model name QD60P8 G Setting item CH1 Auto refresh settingl ddress 0 24 CH2 Auto refresh setting Address 32 56 CH3 Auto refresh settinglAddress 64 88 CH4 Auto refre
101. ntrol CPU of the QD60P8 G Support of online module change The function version of the QD60P8 G has been C from the first release supporting online module change For details refer to CHAPTER 8 2 SYSTEM CONFIGURATION sc MELSEC Q 4 Supported software packages Relation between the system containing the QD60P8 G and software package is shown in the following table GX Developer is necessary when using the QD60P8 G GI TI ee 3 GX Developer GX Configurator CT GX Works2 Q00J Q00 Q01CPU Single GPU system Version 7 or later Version 1 10N or Multiple CPU system Version 8 or later later Q02 Q02H Q06H Single CPU system Version 4 or later Version 1 08J or Q12H Q25HCPU Multiple CPU system Version 6 or later Version 1 14Q or later aktet CPU system Version 8 68W or later Q02PH Q06PHCPU Multiple CPU system CPU system later Single CPU system Q12PH Q25PHCPU iute cruyt toon 7 10L or later Not supported Multiple CPU system CPU system Version 8 45X or Version 1 168 or Q12PRH Q25PRHCPU Redundant system later later Q00UJ Q00U hen CPU system Version 8 78G or Q01UCPU Multiple CPU system CPU system later Q02U Q03UD Q04UDH Fr CPU system Version 8 48A or QO6UDHCPU Multiple CPU system CPU system later Heter CPU system Version 8 78G or Q10UDH Q20UDHCPU de en CPU system later Version 1 25AB or Version 1 08J or I Single CPU system CPU system Version 8 62Q or Q13UDH Q26UDHCPU later later Multiple CPU system later QO3
102. o 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 TROUBLESHOOTIN ene MELSEC Q CHAPTER 9 TROUBLESHOOTING 9 1 Troubleshooting This section explains the troubleshooting for the cases where the count of input pulses cannot be started and the input pulse count value is incorrect during use of the QD60P8 G 1 When the RUN LED is turned off Check item Isth bei lied Confirm that the supply voltage for the power supply module is s the power being supplied E JnR within the rated range Calculate the current consumption of the CPU module I O Is the capacity of the power supply module adequate module and intelligent function module mounted on the base unit to see if the power supply capacity is adequate Reset the programmable controller CPU and verify that it is lit If the RUN LED does not light even after doing this the module Has a watch dog timer error occurred os may be malfunctioning Contact the nearest branch office or agency with a details of the occurring problem Is the module correctly mounted on the base unit Check the mounting condition of the module Is a module change enabled during an online module i h gt Refer to Chapter 8 and take corrective action change 2 When the ERR LED is turned on Check item i ae ted Confir
103. ogrammable controller CPU QD60P8 G The following table indicates the on off timings and functions of the output signals Initial PG Signal name Details value 4 This signal turns on to make Comparison output setting value and other setting data of the buffer memory valid When this signal turns on the setting data are reflected on the module When this signal turns on Sampling pulse number Accumulating count value or Input pulse value assigned to the buffer memory for each channel is reset When this signal is turned on in the sequence program it should be kept on for longer than 10ms For details on the on off timing of this signal refer to the item of the input signal X1 OFF No operating condition setting Operating condition request setting request flag Operating condition setting request EE No Error reset f the error occurrence signal X8 to XF has turned on YB CH4 Error reset i De due to the error occurrence turning on this signal clears request Error reset that error a EE For details on the on off timing of this signal refer to the Kr ET q item of the input signal X8 to XF Y11 cH pe FA lati t E Y12 CH3 omparison ccumulating counter comparison flag o Comparison signal reset has turned on turning on this signal clears signal reset request Accumulating counter comparison flag X10 to X17 request Comparison For details on the on off timing of this s
104. ogrammable controller The watch dog timer error of the CPU watch dog timer error programmable controller CPU occurred Module error module power off error occurred Module READY X0 turns off Hardware error Hardware fault 9 TROUBLESHOOTING MELSEC Q Related buffer memory address Seis z 4 etting range emedy 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 Refer to Section 4 5 2 Switch setting for intelligent function module Switch power from off to on or reset the programmable controller CPU Change the module App APPENDICES MELSEC Q APPENDICES Appendix 1 External Dimension Diagram nn 3 I QD60P8 G RUN CH1 CH5 CH3 CH7 RR CH4 CH8 m i lt x lt Ur AR lx lt 98 3 86 MIN IO SIO TIN AIO IO NIO O k _ lt lt F F AR aja H ALAA l lt F lx lt SEES Esl ele SSES3SE3ES3S5 at a ip ag a Ta 24VDC lt lt 4 U lt 2 2e 23 0 91 90 3 54 27 4 1 08
105. on Base Information Product Int List r Status B Module system error g Module error Module warning Siar monitor Detailed inf of power supply o Module change Stop manitor Close b Click the Execution button to enable a module change Online module change x r Operation gt r Target module Module change execution 170 address 000H Sue Module name QD60P8 G Installation confirmation r Status Module control restart Change module selection completed r Status Guidance Please turn off Y signal of the changed module when you change the intelligent function module Cancel If the following error screen appears click the OK button and perform the operation in 2 c and later MELSOFT series GX Developer EP The target module didn t respond The task is advanced to the installation confirmation NLINE MODULE CHANGE D MELSEC Q c After confirming that the RUN LED of the module has turned off disconnect the external wiring and dismount the module Always dismount the module If mounting confirmation is 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 i
106. on List E x Slot ype Series Model name Points I 0 No Master PLC Serial No PLE PLE Q QOS6UDHCPU 090920000000000 B 0 0 Intelli Q QD60P8 G 32pt 0000 7 101110000000000 c 0 1 None 0 2 None 1 Displaying the product number Since the QD60P8 G does not support the display function is displayed in the Product No field The serial number displayed in the Product Information List dialog box of GX Developer may differ from that on the rating plate and on the front of the module e The serial number on the rating plate and front part of the module indicates the management information of the product e The serial number displayed in the Product Information List dialog box 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 by selecting Help Product information of GX Developer x amp Programming and Maintenance tool iy GX Developer Version 8 484 SW8D5C GPPW E COPYRIGHT C 2002 MITSUBISHI ELECTRIC CORPORATION ALL RIGHTS RESERVED This Product is licensed to Name MITSUBISHI Company Mitsubishi Electric Corporation ProductlD List of version information on Add in software GX Configurator C Version 254 2546 SWOD5C OCTU E COPYRIGHT C 1999 TS0BISHI
107. on the I O assignment setting 1 Double click PLC parameter in the project window in GX Developer 2 Click the I O assignment tab 3 Set the following items to the slot on which the QD60P8 G is mounted xi PLE name PLC system PLC file PLC RAS 1 PLC RAS 2 Device Program Bootfile SFC 1 0 assignment r120 Assignment Slot Type Model name Points Stary E PLC PLC Of 0 Intelli IC 2 2 3 A 4 Switch setting QD S0P8 G 2points 0000 Select v il Detailed setting aiaiaiaiaiaiata st fen fon f Joo ro Jo 5 5 6 6 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 Select Intelli Enter the model name of the module Select 32points Start XY Enter the start I O number of the QD60P8 G 4 SETUP AND PROCEDURE BEFORE OPERATION MELSEC Q 4 5 2 Switch setting for the intelligent function module Set the input voltage selection pulse edge selection linear counter or ring counter selection and input filter Five switches switch numbers 1 to 5 are available for the intelligent function module and they are set with 16 bit data If the switches for the intelligent function module are not set the default value of 0 is used for switches 1 to 5 1 Click the I O assignment tab in the PC parameter dialog box of GX Developer Refer to
108. output setting value e Error code e Movement averaging processing selection e Alarm output selection e Number of movement averaging processing e Alarm output flag e Pre scale function selection e Alarm output setting value upper upper limit e Pre scale setting value e Alarm output setting value upper lower limit e Accumulating count value e Alarm output setting value lower upper limit e Input pulse value e Alarm output setting value lower lower limit e Overflow detection flag e Count cycle change function selection e Counter reset request e Count cycle setting value These auto refresh settings eliminate the need for reading by a sequence program Operating procedure Start I O No Module type Module model name Auto refresh Enter the start I O No in hexadecimal Setting screen Auto refresh setting ioj xj Module type Counter Module Start 1 0 No 0000 Module model name QD60P8 G Module side Module side Setting item Buffer size Transfer N one word count PLC side Device D25 Module information CH1 Auto refresh settingl ddress 0 24 2 gt CH2 Auto refresh settingl ddress 32 56 DE i a gt CH3 Auto refresh settingl ddress 64 88 ME NK gt CH4 Auto refresh settingl ddress 96 120 gt CH5 Auto refresh settingl ddress 128 152 gt CHE Auto refresh settingl ddress 160 184 gt CH Auto refresh setting Address 192 216 gt CH8 Auto refresh setting Address 224 248 gt
109. put setting value lower upper limit or Alarm output setting value lower lower limit of the buffer memory is outside the setting range The upper and lower relationships between the alarm output setting values of the buffer memory are illegal Alarm output setting range outside error The value set in Count cycle change Count cycle setting function selection or Count cycle setting range outside error value of the buffer memory is outside the setting range TROUBLESHOOTIN mr MELSEC Q Se cH2 isse ao BASE Se NE EEE Acc milatina count ale Set 1 in the counter reset 9 request of the buffer memory to 40 72 104 136 168 200 232 reset the accumulating count 41 73 105 137 169 201 233 value This error is cleared when Error reset request Y8 to YF Counter reset request TROS turns on but requires the counter The value automatically turns to 0 after lig be reset to perform count 13 45 77 109 141 173 205 237 completion of a counter reset operation Comparison output selection 0 Comparison output function invalid 161 1 Comparison output function valid Comparison output setting value 2 34 66 98 130 162 194 226 0 to 99999999 3 35 67 99 131 163 195 227 Movement averaging processing selection 0 Sampling processing 4 36 68 100 132 164 196 228 1 Movement averaging processing Number of movement averaging processing
110. r counter or ring counter is selected The accumulating count range is 0 to 99999999 for both the linear counter and ring counter If the accumulating count value exceeds 99999999 when the accumulating counter is used as the linear counter Overflow detection flag of the buffer memory turns on When Operating condition setting request flag Y1 is turned on or 1 is set in Counter reset request of the buffer memory the accumulating count value is reset The update timing is the same as the cycle of Sampling pulse number It is the interval set in Count cycle setting value of the buffer memory Stores the actually entered pulse number This value is not converted into the unit pulse number by the pre scale function unlike Sampling pulse number and Accumulating count value of the buffer memory The count indication range is 0 to 2147483647 When Operating condition setting request flag Y1 is turned on or 1 is set in Counter reset request of the buffer memory Input pulse value is reset If an overflow error Error code 100 occurs this value is kept counted when Count enable Y18 to Y1F is on The update timing is fixed at 10ms Therefore take care when using the module as a counter If Accumulating count value of the buffer memory exceeds 99999999 when the accumulating counter is used as the linear counter Overflow detection flag turns on At the same time an overflow error Error code 100 occurs and count operation is
111. r occurrence Error code o X10 CH1 Accumulating counter comparison flag Accum counter lt Setting value zi Comparison output selection Compare o p function invalid Compare o p function invalid Baka r Flash ROM setting Details r Flash ROM setting Details mew R Cunent value Monitoring te 0 SE Curent value Monitoring display ile jaiz il display Cannot execute test Cannot execute test Make text file if Load file Make text file Start monitor Stop monitor Execute test Close Stop monitor Close 6 UTILITY PACKAGE GX Configurator CT Explanation of items 1 Items MELSEC Q 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 displa Make text file Start monitor Stop monitor Execute test 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 key 6 UTILITY PACKAGE GX Configurator CT MELSEC Q
112. r reset request Y8 to YF of the corresponding channel After this set a correct value and then turn on Operating condition setting request flag Y1 Setting value 0 Sampling processing 1 Movement averaging processing Set the number of times to perform movement averaging processing on Sampling pulse number of the buffer memory When movement averaging processing is selected in Movement averaging processing selection of the buffer memory the initial value of this buffer memory is 0 Therefore if you run the programmable controller CPU without setting the 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 Error reset request Y8 to YF of the corresponding channel After this set a correct value and then turn on Operating condition setting request flag Y1 Setting range 2 to 60 The pre scale function converts the input pulse number per count cycle into the unit pulse number when the weight per pulse is a fraction and stores the result of conversion into Sampling pulse number of the buffer memory The following operation formula is used at this time Sampling pulse number Input pulse value per count cycle x Pre scale setting value x Unit magnification The converted sampling pulse number is rounded down to the decimal point Pre scale fu
113. r setting rmrsvrrnnrnnvrnnrnnnrnnnrnrnvenn 4 9 Input pulse number rernnnnnnnrnnnnnnnrnnnnnnnnnnnnn 1 1 Input pulse value rrrrsvrrrrrnnvrrre 3 11 5 3 5 9 Input signals eronrnnrnrnrrrrrrnrnrnnrnnnrnnn 3 4 3 5 Input voltage selection 00 ee eee eeeeeteeteeeteeees 4 9 Installing uninstalling serororonrronrnonrrrnrenr 6 2 Insulation resistance srrrnnrnnnnrnnrrnnnnrnnnnnn 3 1 Intelligent function module switch 0 4 8 Intelligent function module switch setting error ke et an 9 5 Interface with external devices 00 3 14 Internal CirCuit cecceeeeeeeseeeeeeeeeeteeeeteeees 3 14 Index 1 L Linear counter rrrorrrvvrrrranrrrnnrvnnrrrnnnnnn 3 3 5 5 M Menu Dairena ane A 6 11 Module error arnnrnrnnrnnnrnnnvnnnnrnnrnnnnrnnnnnnnnennn 9 10 Module READY nnnrnnnnrnnrnrnnrnnnrnnnnrnnnnnnrnvnnennn 3 5 Module s Detailed Information 0 9 4 Monitoring Test nsnnnnnnnnnrnnnnnnnrnnnrnnnvnrnrenne 6 16 Mountable module rrnnrrnnnrrnrnrrnrrnnrnnnnrnnnnn 2 1 Movement averaging FUNCTION anen annn 3 3 5 15 Processing arrnrnrnnrnrnrrnnrnrnrrrnnenenn 1 1 5 15 Processing selection 0 3 10 5 15 Setting range outside error eee 9 8 Multiple CPU system 2 3 N Network module rrnnrnnnnrnnrnnnnnnnrnnnnnnnrnnnnnnn 2 2 Number of channel mumsrmrnrnnrnrnrrnrrnrnrnnrnnn 3 1
114. red Also in this example the voltage of the external power supply is 24VDC as the electrical specifications of the pulse generator WARNING e When wiring be sure to verify the rated voltage of the product as well as the terminal layout Fire or failure may result if incorrect voltage is input or incorrect wiring is performed e 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 QD60P8 G Encoder Shielded twisted pair cable Encoder Y 24VDC 5 power supply 4 SETUP AND PROCEDURE BEFORE OPERATION MELSEC Q 2 Wiring example with a sink logic type pulse generator a For transistor output QD60P8 G Encoder Shielded twisted pair cable N 24VDC power supply b For contact output QD60P8 G Encoder Shielded twisted pair cable JER EEE ER n BARE 2S SEN power supply 4 SETUP AND PROCEDURE BEFORE OPERATION MELSEC Q 4 5 Setting from GX Developer This section describes the GX Developer settings required to operate the QD60P8 G 4 5 1 I O assignment setting Set the mounting status of the QD60P8 G
115. 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 7 PROGRAMMING rd KO gt M206 M207 E f SET M60 HKO dn 2P REMO J1 K4 K1 H2 K15 D1015 KI M206 M60 E D1014 RST M60 lt Sampling pulse number reading gt X26 X120 X128 T E mov D1000 D30 SM400 mov D1018 4M80 lt Accumulating count value reading gt X27 X120 X128 t DNOY D1008 D31 lt Input pulse value reading gt X28 X120 X128 JE TDMOV D1010 D33 HCR NO FEND MELSEC Q 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 NLINE MODULE CHANGE Kad ta MELSEC Q CHAPTER 8 ONLINE MODULE CHANGE When changing a module online carefully read the QCPU User s Manual Hardware Design Maintenance and Inspection section 12 4 1 Online module change This chapter describes the functions of an online module change Perform an online module change by operating GX Developer 1 Perform an online module change after making sure that the system outside the programmable controller will not malfunction To prevent an electric shock and malfunction of operating modules provide means su
116. ress 224 248 25 25 gt Make text file End setup Cancel In this setting the device of WO to W24 correspond to buffer memory address Un GO to Un G24 c Writing intelligent function module parameters Refer to Section 6 3 3 Write the intelligent function module parameters to the remote I O station This operation is performed on the screen for selecting a parameter setting module 7 PR RAMMIN ao S MELSEC Q 4 Program example lt Count enable ON gt x21 x120 X12 x22 I i VE ser n3 J Rise Count enable lt Count enable OFF gt is ve rest wag Turn off Count enable i Y138 x120 X121 m lt Accumulating counter comparison flag reset gt i TE X130 ser visa q Turn on Comparison i 1 signal reset request Y130 ue ya rest v Turn off Comparison i signal reset request Y 130 lt Error reset gt X120 X128 Ji mov wo D35 Read of error code X24 X120 X128 t 1H SET v128 J Turn on the error reset request Y128 X128 RST vi28 J Turn off the error reset request lt Counter reset request gt SM400 Hov WoC kam Read of overflow detection flag X25 X120 130 _ P I IA HOVP KI HOD J Counter reset request M1 KO gt M204 H205 z 1 H SET 430 1 Turn on the counter resetting HKO gt 7 RENTO I K3 K1 H2 K13 WOD Kl 204 O M30 KO WD RT H30 I Turn off the counter resetting lt Carry over reset request gt
117. rm 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 Operating condition setting request flag Y1 Turn on Operating condition setting request flag Y1 for 200ms Turn off Operating condition setting request flag Y1 Turn on Count enable Y18 Turn off Count enable Y18 Turn on Comparison signal reset request Y 10 Turn off Comparison signal reset request Y 10 7 PROGRAMMING lt Error reset gt X24 XO X8 U0 Itt HI MOVP G16 SET Y8 X8 F RST lt Counter reset request gt SM400 UOY MOV G12 X25 XO M30 N h MOVP KI M11 SET M30 UOY KO G13 RST lt Carry over reset request gt SM400 7 U0 MOV G14 M40 XO M60 7 JA MOVP KI SET M60 UO KO G14 RST lt Sampling pulse number reaching gt X26 XO X8 _ U0 JA MOV GO SM400 B UO MOV G18 lt Accumulating count value reading gt X27 XO X8 UOY DMOV G8 lt Read of input pulse value gt X28 XO X8 M UOY DMOV G10 D35 Y8 Y8 K4M11 UO G13 M30 M30 K4M40 UO G15 M60 M60 D30 K4M80 D31 D33 END MELSEC Q Read of error code Turn on the error reset request Turn off the error reset request Read of ov
118. rronvnonvnonrnnnrnnnrnnnrnrnrnnnrrrnrrnnrnnnrrrnrernreenneenn 7 18 8 1 Online Module Change Conditions rsrnnnvennvennvnnnvnnn vnr venn A E RERE 8 2 8 2 Online Module Change Operations cccecceceeeeeeeeeeeeeeeeeeeeeaeeeaeeeaeeeaeesaeeeaeeeaeesaeeeaeseaeesaeeeateeeeeeeeatenas 8 3 8 3 Online Module Change Procedure rsrnrsvnnnvanvennvennvansvnnnvnnsvennnnnsvensvensnensnnernnrsnnesnnssnneennesnneennsennnsnreeneeenn 8 4 8 3 1 GX Configurator CT was used for initial setting ssasvnnnvrnnvrnnrnnnvnnn venn vrnnvnnn vnr vnnnvnnnrennrenrrenrvenenen 8 4 A 9 A 9 8 3 2 Sequence program was used for initial setting ee eee cece eeee eee teeeeeeeeeeeteeeteaeseeeseeeeeaeeeeeseaeeeneeaes 8 8 8 4 Precautions for Online Module Change cecceeceeeceeeeeteeeeeeeneeeeeseeeaeesaeeeaeeeaeeeaeesaeesaeeeeesieesaeeneeeatesas 8 13 9 TROUBLESHOOTING 9 1t0 9 11 941 Troublesh dtng ora E E eneeier 9 1 9 1 1 Confirming the error definitions using system monitor of GX Developer rsrnrrrnrnvnnnvnnnvenvnnnvennnenr 9 3 9 2 Error D tallSuan ua a aE A A AERAR ae 9 5 9 3 List of EMOS ict ihcnaeivie ieee eae ie ie edie ie iene ees 9 8 APPENDICES App 1 to App 2 Appendix 1 External Dimension Diagram cccccccescceeeceeeeeeeeeaeeeeseeecaeeeeeaeeeeaeescaeeeeaeeeseneeteeeseieeeineees App 1 INDEX Index 1 to Index 3 USING THIS MANUAL W Manual Makeup 1 2 6 7 8 9 To know the fe
119. ry Initial Buffer memory address Item Comparison output selection areas Details Stores the pulse number obtained by converting the input pulses into the unit pulse number using the pre scale function When Count enable Y18 to Y1F turns on count operation starts The count range is 0 to 32767 The update timing is the interval set in Count cycle setting value of the buffer memory The initial value of the count cycle is 18 Set whether the comparison output function is valid or invalid If the setting value is other than 0 or 1 a comparison output setting range outside error Error code 200 occurs To clear the error turn on Error reset request Y8 to YF of the corresponding channel After this set a correct value and then turn on Operating condition setting request flag Y1 Setting value 0 Comparison output function invalid 1 Comparison output function valid Set the value to be compared with Accumulating count value of the buffer memory If the setting value is outside the range a comparison output setting range outside error Error code 200 occurs To clear the error turn on Error reset request Y8 to YF of the corresponding channel After this set a correct value and then turn on Operating condition setting request flag Y1 The relationships between Accumulating count value Comparison output setting value and Accumulating counter comparison flag X10 to X17 on off are as indicated b
120. s lit Module READY X0 remains off Online module change x r Operation Target module Module change execution 1 0 address 000H G A Module name QD60P8 G Installation confirmation Status Module control restart y Changing module r Status Guidance The module can be exchanged Please execute after installing a new module Cancel 4 Operation check a To make an operation check click the Cancel button to cancel control resumption Online module change x r Operation Target module Module change execution 1 0 address 000H ee Module name QD60P8 G Installation confirmation Status Module control restart f E f Change module installation completion r Status Guidance The controls such as 1 0 FROM TO instruction executions and automatic refresh for the installed module are restarted Please confirm the parameter setting and wiring etc and execute NLINE MODULE CHANGE Doo MELSEC Q b Click the OK button to leave the Online module change mode MELSOFT series GX Developer A The online module change mode is stopped Even if the stop is executed the online module change mode on the PLC side is not cancelled Please execute the online module change and restart the control of the module again c Click the Close button to close the System monitor screen System Monitor d x r Installed status
121. sented in decimal e The X Y devices are represented in hexadecimal e The values read written from to the buffer memory and the values set using the intelligent function module switches are represented in either of decimal and hexadecimal A hexadecimal value is ended by H Example 10 10 Decimal 10H 16 Hexadecimal COMPLIANCE WITH THE EMC AND LOW VOLTAGE DIRECTIVES 1 For programmable controller system To configure a system meeting the requirements of the EMC and Low Voltage Directives when incorporating the Mitsubishi programmable controller EMC and Low Voltage Directives compliant into other machinery or equipment refer to Chapter 9 EMC AND LOW VOLTAGE DIRECTIVES of the QCPU User s Manual Hardware Design Maintenance and Inspection The CE mark indicating compliance with the EMC and Low Voltage Directives is printed on the rating plate of the programmable controller 2 For the product For the compliance of this product with the EMC and Low Voltage Directives refer to Section 4 4 1 Wiring precautions GENERIC TERMS AND ABBREVIATIONS Unless specially noted the following generic terms and abbreviations are used in this manual Generic 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 compa
122. sequence program This signal turns on when X0 Module READY Watch dog the module starts normally at power on or reset operation timer error This signal turns off at occurrence of a watch dog timer error Prepared This signal is used as an interlock for turning on off Operating condition setting request flag Y1 when the function such as the comparison output function is selected or the setting value is changed When this signal is off input pulses are not counted After confirming that the operating condition setting is completed this signal has turned on turn on Count enable Operating Y18 to Y1F to start pulse counting condition gt Executed by QD60P8 G Operating setting Executed by sequence program condition setting Operating ON completed flag condition Module READY OFF setting x0 d complete Operating condition setting completed flag X1 Operating condition setting request flag Y1 Count enable Y18 to Y1F e This signal turns on if an error exists in the overflow detection or initial setting data The details of the error can be confirmed from the system monitor screen of GX Developer e This signal turns off when Error reset request Y8 to YF is turned on Error code is stored into the buffer memory of the corresponding channel refer to Section 3 4 2 for details No Error occurrence Executed by QD60P8 G Error Executed by sequence program ON o
123. sers read this manual and then keep the manual in a safe place for future reference Design Precautions WARNING e Do not write data into the read only area in the buffer memory of the intelligent function module In addition do not turn on off the Reserved N A signals among the I O signals transferred to from the programmable controller CPU Doing so can malfunction the programmable controller system A CAUTION e Do not bunch the control wires or pulse input wires with the main circuit or power wires or install them close to each other They should be installed 150 mm 5 9 inch or more from each other Not doing so could result in noise that may cause malfunction Installation Precautions A CAUTION e Use the programmable controller in an environment that meets the general specifications contained in the CPU module User s Manual Using this programmable controller in an environment outside the range of the general specifications may cause electric shock fire malfunction and damage to or deterioration of the product e While pressing the installation lever located at the bottom of module insert the module fixing tab into the fixing hole in the base unit until it stops Then securely mount the module with the fixing hole as a supporting point Improper installation may result in malfunction breakdown or the module coming loose and dropping Securely fix the module with screws if it is subject to vibration d
124. sh settingl ddress 96 120 CH5 Auto refresh settingl ddress 128 152 CHE Auto refresh settingl ddress 160 184 CH Auto refresh setting Address 192 216 CH8 Auto refresh settina Address 224 248 Make text file End setup In this setting the device of DO to D24 correspond to buffer memory address Un GO to Un G24 c Writing intelligent function module parameters Refer to Section 6 3 3 Write the intelligent function module parameters to the CPU module This operation is performed on the screen for selecting a parameter setting module 7 PROGRAMMING 3 Program example lt Count enable ON gt X21 xO X1 X22 i ser lt Count enable OFF gt X22 X21 RST xo XL H lt Accumulating counter comparison flag reset gt X23 XO X10 i 1 sen IG X10 t RST lt Error reset gt X24 xo xe tm Ne MOVE D16 ser YS X8 1 F RST lt Counter reset request gt SM400 4 MOV D12 X25 x0 M30 t MOVP K1 M11 SET M30 Ko D13 RST lt Carry over reset request gt SM400 D14 ov M50 KO D14 I lt Sampling pulse number reading gt X26 xO X8 TH H por SM400 Av lt Accumulating count value reading gt X27 xo xe X28 xo X8 Lt A e A ft D8 D10 Y10 10 Ye K4M11 voy G13 K4M40 voy G15 M60 M60 K4M80 MELSEC Q Turn on Count enable Y18 Turn off Count enable I vi
125. son output setting value 4 36 68 100 132 164 196 228 Movement averaging processing selection 5 37 69 101 133 165 197 229 Number of movement averaging processing 6 38 70 102 134 166 198 230 Pre scale function selection 7 39 71 103 135 167 199 231 Pre scale setting value 104 136 Et AG I Accumulating count value to a2 za 108 138 170 202 234 f put ve 107 Overflow detection flag 13 45 77 109 141 173 205 237 Counter reset request 238_ Cary over detection flag as 80 112 144 176 208 240 Errorcode Alarm output flag 243 Alarm output setting value upper upper limit Alarm output setting value upper lower limit Alarm output setting value lower upper limit 22 54 86 118 150 182 214 246 Alarm output setting value lower lower limit EE ET 247 Count cycle change function selection afs fa nao se tee 21s e Count cycle setting value Setting details pe 7 Reserved N A 191 Initial Read Write value Read only Read Write enabled Read only Read Write enabled Read only Read Write enabled Read only Read Write enabled Read only Read Write enabled 4 Initial value set at power on or when the programmable controller CPU is reset 3 SPECIFICATIONS 3 4 2 Details of buffer memory The following table indicates the functions and setting values of the buffer memo
126. st branch office or agency with a details of the occurring problem Does the input voltage selection in setting with the eee i A Correct the input voltage selection in setting with the intelligent function module switch match the actual input i intelligent function module pulse voltage Check whether pulses are counted on the rise or fall and Is the edge rise fall of the counted pulses correct correct the pulse edge selection in setting with the intelligent function module Is the maximum speed of input pulses within the range of Correct the input filter setting in setting with the intelligent the counting speed set to the input filter setting in setting function module to match the maximum speed of input with the intelligent function module pulses Observe and check the pulse waveform with a synchroscope Does the input pulse waveform satisfy the performance or similar and if the input pulses do not satisfy the specifications performance specifications enter the input pulses that satisfy the performance specifications If Accumulating count value or Input pulse value of the buffer memory read on a two word 32 bit unit when it is Read two words together read in the sequence program If the count values are different the possible cause is a Are the count values on multiple channels the same when a module fault Contact the nearest branch office or agency the same pulse is input to the multip
127. t Y18 1 Sampling pulse number Buffer memory address 0 788 288 4100 288 gt 1200 i 0 788 Accumulating count value Buffer memory address 8 9 0 788 11100 11388 2 ON Accumulating counter comparison flag OFF mi X10 ON Comparison signal reset request OFF Y10 Details Count operation is started when Count enable Y18 is turned on with Operating condition setting completed flag X1 on When Accumulating count value is equal to or greater than Comparison output setting value Accumulating counter comparison flag X10 turns on Since Accumulating count value is updated at intervals of 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 Accumulating counter comparison flag X10 to X17 is reset when Comparison signal reset request Y10 to Y17 is turned on When the accumulating counter is operating as a linear counter Accumulating counter comparison flag X10 to X17 that was turned off once does not turn on until Accumulating count value reaches Comparison output setting value again after it has been reset If the accumulating counter is operating as a ring counter the flag turns on when Accumulating count value reaches Comparison output setting value again in the ring processing 5 DETAILS AND SETTING OF FUNCTIONS MELSEC Q 5 5 Counter Reset Function Setting 1 in Counter reset reques
128. t of the buffer memory resets Sampling pulse number Accumulating count value or Input pulse value of the buffer memory Buffer memory address ED 1 Reset request The value automatically Counter reset request 13 45 77 109 141 173 205 237 turns to 0 after completion of a counter reset 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 completion of a counter reset e Ifa value other than 1 is set the setting is ignored 5 DETAILS AND SETTING OF FUNCTIONS 5 6 Pre scale Function Pre scale function selection Unit magnification MELSEC Q The pre scale function converts the number of pulses by multiplying the number of input pulses by an arbitrary setting number The pre scale function converts Input pulse value per count cycle into the unit pulse number using the following operation formula The result of conversion is stored into Sampling pulse number of the buffer memory Sampling pulse number Input pulse value per count cycle x Pre scale setting value x Unit magnification The converted sampling pulse number is rounded down to the decimal point Pre scale function invalid 1 X 0 1 38 70 102 134 166 198 230 X 0 01 X 0 001 X 0 0001 Number of input 570 600 580 QD60P8 G pulses Example Suppose
129. t flag turns on if Sampling pulse number exceeds the upper upper limit value or lower lower limit value b15 b12 b8 b4 bO Alarm output flag Storage Item Meaning J L J Not used Not used i Lower limit alarm 0 OFF Normal Upper limit alarm 1 ON Range over Refer to Section 9 3 for details of Error codes i 3 SPECIFICATIONS Alarm output setting value upper upper limit Alarm output setting value upper lower limit Alarm output setting value lower upper limit Count cycle change function selection Set the alarm output setting values upper upper limit upper lower limit lower upper limit lower lower limit The following setting values can also be set upper upper limit upper lower limit lower upper limit lower lower limit However an alarm output setting range outside error Error code 500 occurs if the setting value is outside the setting range or the following relation expression is not established Upper upper limit upper lower limit gt lower upper limit lower lower limit To clear the error turn on Error reset request Y8 to YF of the corresponding channel After this set a correct value value that will establish the above relation expression and is within the setting range and then turn on Operating condition setting request flag Y1 Setting range 0 to 32767 Set whether the count cycle cha
130. ters according to the system to be used Inputs outputs external inputs and internal relays of the QD60P8 G Device name Application X120 Module READY Inputs X128 Error occurrence the QD60P8 G X130 Accumulating counter comparison flag Y128 Error reset request Outputs Y130 Comparison signal reset request Y138 Count enable Eagna input comimand X24 Error reset command M30 Counter resetting X121 Operating condition setting completed flag Input output of Internal relay Data registers Device whose i value is written Device name i Data stored in the auto refresh Sampling pulse number Accumulating count value 25 H Data registers L Input pulse value L H Error code 7 PROGRAMMING 3 GX Configurator CT operation a Initial setting Refer to Section 6 4 Use channel 1 e Comparison output selection Comparison output setting value e Movement averaging processing selection e Number of movement averaging processing e Pre scale function selection e Pre scale setting value e 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 CH1 Initial setting r Module information MELSEC Q Compare o p function valid 500000 Movement avrg processing 10 x 0 01 252 Alarm output function valid
131. the function version and serial number of the QD60P8 G The serial number and function version of the QD60P8 G are described on the rating plate on the front of the module or displayed in the System monitor of GX Developer a Checking the rating plate on the side of the QD60P8 G LSEC Q ME MITSUBISHI MODEL Serial No first 5 digits Function version Relevant regulation standards ga MITSUBISHI ELECTRIC MADE IN JAPAN b Checking the front of the module The serial number and function version on the rating plate is shown on the front at the bottom of the module CH2 CHE CH3 CH7 ERR CH4 CH8 IE ls k bilele z k k ACCA BREST FseRE k F ro NEO oIrO GIO STO VIO PIO IO de CAREA CDEN a Function version he T eai No The serial number is displayed on the front of the module from December 2008 production Products manufactured during the switching period may not have the serial number on the front of the module 2 SYSTEM CONFIGURATION MELSEC Q c Checking the System monitor Product Information List To display the System monitor select Diagnostics gt System monitor and click the Product Information List button of GX Developer Function version Serial No Product No Product Informati
132. tible personal computer of IBM PC AT or its compatible GX Developer GX Works Product name for the MELSEC programmable controller software package Generic term for the Q00JCPU QOOCPU Q01CPU Q02CPU Q02HCPU QO6HCPU Q12HCPU Q25HCPU Q02PHCPU QO6PHCPU Q00UJCPU QOOUCPU Q01UCPU QCPU Q mode Q12PHCPU Q25PHCPU Q12PRHCPU Q25PRHCPU Q02UCPU QO3UDCPU Q04UDHCPU QO6UDHCPU Q10UDHCPU Q13UDHCPU Q20UDHCPU Q26UDHCPU QO3UDECPU Q04UDEHCPU QO6UDEHCPU Q10UDEHCPU Q13UDEHCPU Q20UDEHCPU Q26UDEHCPU Q20UDEHCPU and Q100UDEHCPU Process CPU Redundant GPU GX Configurator CT Abbreviation for counter module setting monitoring tool GX Configurator CT SWOD5C QCTU E Generic term for the following Microsoft Windows Vista Home Basic Operating System 2 Microsoft Windows Vista Home Premium Operating System Windows Vista Microsoft Windows Vista Business Operating System Microsoft Windows Vista Ultimate Operating System Microsoft Windows Vista Enterprise Operating System Generic term for the following Windows XP Microsoft Windows XP Professional Operating System Microsoft Windows XP Home Edition Operating System COMPONENT LIST The component list of this product is given below Quantity QD60P8 G Type QD60P8 G Channel Isolated Pulse Input Module SWOD5C QCTU E SWOD5C QCTU EA GX Configurator CT Version 1 1 license product CD ROM GX Configurator CT Version 1 Volume license product
133. tically if Error occurrence X8 to XF Accumulating counter comparison flag X10 to X17 turns off at the time of test execution 7 PR RAMMIN S MELSEC Q CHAPTER 7 PROGRAMMING This chapter describes a sequence program for use of the QD60P8 G 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 PROGRAMMING MELSEC Q 7 1 Programming Procedure This section explains the programming procedure for the QD60P8 G Create the program to start the count operation by turning on Count enable Y18 to Y1F on after the initial setting of the QD60P8 G in the following procedure Do you use the comparison output function YES Comparison output selection setting Comparison output setting value setting NO Do you use the movement averaging processing function YES Movement averaging processing selection setting Number of movement averaging processing setting NO Do you use the pre scale function YES Pre scale function selection setting Pre scal tti tti re scale setting value setting Initial setting NO Do you use the alarm output function YES Alarm output selection setting Alarm output setting value upper upper limit setting Alarm output setting value upper lower limit setting Alarm output setting value lower upper limit setting 7 Alarm output setting value lower low
134. tions Sections 1 2 2 1 to 2 3 3 1 3 2 3 5 4 2 4 3 4 5 5 1 1 5 1 4 5 2 5 6 6 2 1 6 3 3 Chapter 7 Sections 7 1 7 2 7 2 1 7 3 7 3 1 8 1 9 1 1 9 3 Appendix 1 Addition Sections 7 2 2 7 3 2 Japanese Manual Version SH 080312 J This manual confers no industrial property rights or any rights of any other kind nor does it confer any patent licenses Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may occur as a result of using the contents noted in this manual 2002 MITSUBISHI ELECTRIC CORPORATION INTRODUCTION Thank you for purchasing the Mitsubishi programmable controller MELSEC Q Series Always read through this manual and fully comprehend the functions and performance of the Q Series programmable controller before starting use to ensure correct usage of this product CONTENTS SAFETY PREGAUSIONSS irai rende dead edelstener A 1 CONDITIONS OF USE FOR THE PRODUCT cccccccccccccessssseeeeeeecessesaceeeeeeecensesaaeeeeeeesessrsaeeeeeeesenera A 6 REVISIONS safe A 7 INTRODUCTION Heat A 8 GONTENTS nalani nanana A a A aka aka ine A 8 USING THIS MANUAL cit auaa a de hade dte a A 11 COMPLIANCE WITH THE EMC AND LOW VOLTAGE DIRECTIVES muvrvvrrvarrerrrrarrersrrsrverrrsvrerersrvsrresene A 12 GENERIC TERMS AND ABBREVIATIONS cccccccccessececessceeeceeeeecccscesecesaeeececsueeeseesueaeceaeeeeacs
135. ts v18 External input command I Er reset command Counter reset request command EE e a X27 Accumulating count value read command Data setting enable Internal relay 7 Data registers Device name Device Buer mennory Data stored address D30 O Sampling pulse number EG Accumulating count value pe 9 Data registers Input pulse value 16 Error code 7 PROGRAMMING lt Initial setting gt 2 Program example lt Count enable ON gt lt Count enable lt Accumulating Y Y18 X8 JA JE M10 X20 M10 UO MOVP Kl Gl 7 UO DMOVP K500000 G2 UOY L MOV K1 G4 z UO L MOV K10 G5 e UOY MOV K3 G6 E UOY HOV K252 G7 7 UO HOV Kl G17 E UO L MOV K1100 G19 E UOY MOV K1000 G20 z UO MOV K600 G21 UO LMOV K500 G22 7 UO HOV KO G23 a UO HOV KO G24 SET YI YI TO 0 X f RST vi X21 XO X X22 I I SET Y18 OFF gt X22 X2 H RST Y18 XO XI r g counter comparison flag reset gt X23 X0 X10 SET Y10 Y10 X10 JA RST Y10 K2 MELSEC Q Initial setting start Comparison output selection Comparison output setting value Movement averaging processing selection Number of movement averaging processing Pre scale function selection Pre scale setting value Alarm output selection Alarm output setting value upper upper limit Ala
136. turned off disconnect the external wiring and dismount the module Always dismount the module If mounting confirmation is made without the module being dismounted the module will not start properly and the RUN LED will not be lit NLINE MODULE CHANGE ieaiai MELSEC Q 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 Online module change xi r Operation r Target module Module change execution 1 0 address 000H G pe Module name QD60P8 G Installation confirmation r Status Module control restart Changing module r Status Guidance The module can be exchanged Please execute after installing new module Cancel 4 Operation check a When making an operation check click the Cancel button to cancel control resumption Online module change xi r Operation Target module Module change execution 1 0 address 000H i See Module name QD60P8 G Installation confirmation Status Module control restart e E Change module installation completion r Status Guidance The controls such as 1 0 FROM TO instruction executions and automatic refresh for the installed module are restarted Please confirm the parameter setting and wiring etc an
137. units For the use of the C Controller module refer to C Controller Module User s Manual b Mounting to a MELSECNET H remote I O station The table below shows the network modules and base units applicable to the QD60P8 G 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 Base unit Applicable network x1 Mod le No of modules Main base unit of Extension base unit of remote I O station remote I O station QJ72LP25 25 QJ72LP25G Up to 64 QJ72LP25GE QJ72BR15 O 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 The Basic model QCPU or C Controller module cannot create the MELSECNET H remote I O network 2 2 2 2 2 SYSTEM CONFIGURATION MELSEC Q 2 Support of the multiple CPU system When using the QD60P8 G in a multiple CPU system refer to the following manual first e QCPU User s Manual Multiple CPU System a Supported QD60P8 G The function version of the QD60P8 G has been C from the first release supporting the multiple CPU system b Intelligent function module parameters Write intelligent function module parameters only to the co
138. ure 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 of parameters that can be set for one module in GX Configurator CT is as shown below Target Module Initial setting Auto refresh setting QD60P8 G 24 Fixed 8 Max 4096 Example Counting the number of parameter settings in Auto refresh setting HEN Module information Module type Counter Module Start 1 0 No 0000 Module model name QD6OP8 G Module side Module side Buffer size Transfer word count PLC side Device Transfer direction Setting item Enn et ME RE ME RE ME RE ek ME E Gc E E This one row is counted as one setting Blank rows are not counted Count up all the setting items on this screen and add the total to the number of settings for other intelligent function modules to get a grand total Make text file End setup Cancel 6 UTILITY PACKAGE GX Configurator CT MELSEC Q 6 2 2 Operating environment This section explains the operating environment of the personal computer that runs GX Configurator CT CPU Refer to the following table Used operating system and performance required for personal computer
139. uring use e Tighten the screws within the range of specified torque If the screws are loose it may cause the module to fallout short circuits or malfunction If the screws are tightened too much it may cause damage to the screw and or the module resulting in fallout short circuits or malfunction e Be sure to shut off all phases of the external power supply used by the system before mounting or removing the module Not ding so may cause electric shock or damage to the module 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 e Do not install remove the module to from the base unit or the terminal block to from the module more than 50 times after the first use of the product IEC 61131 2 compliant Failure to do so may cause malfunction e Do not directly touch the conductive area or electronic components of the module Doing so may cause malfunction or failure in the module Wiring Precautions WARNING e Switch all phases of the external power supply off when installing or placing wiring Not doing so may cause electric shock or damage to the product e Be careful not to let foreign matters such as s
140. utionsuusaadss kn asdded adding E 4 4 2 Procedure before Operation ccccccccesceeeecceeneeeeeeeeneeeeaeeceaeeseaeeecaeeesaaeeseaeeseaeescaeeseeeeseaeeteaeeseneeseeeess 4 4 3 Part Identification Nomenclature oe ee cece eeeeeee eee e eect tees taeetaeesaeetaeesaeesaeesaeesieesaeeseesaeesieesieenieesieesieesieees 4 ASAIN IMngr 20 SEDAN NS AE 4 44 1 Wiring precautions r iunumvnaarnndnavanaddenuarnddnauanaddnagarnadraukrnddrneatern 4 4 4 2 Wiring exampl ne 4 4 5 Setting from GX Developer urrnanvnnnvnnnvnnnvnnnvnnnvnnnrnnnrennvensvnnvnnsrnnsvnnsvessrennnssressrnesvessressreesveesressreesneennene 4 A 8 A 8 aonmrFBRWD ASTO assignment setting oraina eea a a a aa aa iaaa aaa iaaa aa daea eaa aaia T 4 8 4 5 2 Switch setting for the intelligent function module reanvnenvnnnrnnnrnnnvennvnnnrnnnrnnnrnenrnrnrnrnrernreenrernresresnreenn 4 9 STL CountOperatlon iiu ikka akk ka ae cee eee lel ie lie alla een le 5 1 5 1 1 Pulseiinput method cc cete eee idence eens niacin nae einen lene aN 5 1 5 1 2 Input pulse count Operation ceccccceccecesceceececeseeceeneeseneeseaeeceaeeesaneeseneeseaeessaeesseceeeeneeeeeeeeaeeteneees 5 2 5 1 3 Count valle reading 2 c2ceedeieedeeeeiiivee cet E A AE dead 5 3 5 1 4 Count cycle changing i ce cc cece dee tivee cence dive eelveee dive A vei eder ieee 5 4 5 2 Count Type Sele Gti naa csc cis seve E E E O 5 5 5 2 1 Linear counter operation cccccceeccceeceeec
141. y 5 DETAILS AND SETTING OF FUNCTIONS MELSEC Q 5 7 Movement Averaging Function The movement averaging function averages the values of Sampling pulse number which were imported in the count cycle refer to Section 5 1 4 by the specified number of times to calculate the average value This function is used when variations occur in the values of Sampling pulse number The following shows the outline of movement averaging function operation Movement averaging processing performed when the setting number is four times Sampling pulse Count cycle number p Buffer memory First storage Sampling pulse Second storage lnumber gt Third storage gt Time Data transition in buffer memory First strage Second storage Third storage 1 2 3 4 2 3 4 5 3 4 5 6 4 4 4 From a counter reset or immediately after an operating condition setting request until reaching Number of movement averaging processing averaging processing is performed by that number i Sampling pulse number__ 0to32767 o 32 e4 128 160 192 224 0 Sampling processing Movement averaging 1 Movement averaging 4 36 100 132 164 196 228 processing selection processing Number of movement 2 to 60 5 37 101 133 165 197 229 averaging processing e If the setting value is other than the
Download Pdf Manuals
Related Search
Related Contents
Mini Aspirateur NA125 Samsung Samsung B319 User Manual RI850V4 V2 Real-Time Operating System User`s Manual: Coding Samsung Galaxy Star Duos manual de utilizador Télécharger - Texas Instruments Emos 1909050153 surge protector Installatie handleiding Ficha Técnica AIDA64 – Business Edition Copyright © All rights reserved.
Failed to retrieve file