background image

3

SPECIFICATIONS

3.6 Connectable Encoders

3

 - 18

1

OVE

R

VI

EW

2

SYS

TEM 

CONFIGURA

T

ION

3

SP

ECIFI

C

A

T

IO

N

S

4

PRO

C

EDURES AND 

SETT

ING

S

 BEFO

RE 

O

PERA

T

IO

N

5

FUNCTIONS

6

UTIL

IT

Y P

A

C

K

A

G

(G

X Conf

igu

rat

or-CT)

7

PROGRA

MMING

8

T

R

OUB

L

ES

HO

O

T

ING

3.6

Connectable Encoders

The encoders connectable to the QD63P6 are described below.

 • Open collector output type encoders
 • CMOS level voltage output type encoders

(Confirm that the encoder output voltage meets the specifications for the 
QD63P6.)

POINT

The following encoder is not applicable for the QD63P6.

 • TTL level voltage output type encoders

Summary of Contents for qd63p6

Page 1: ......

Page 2: ......

Page 3: ...d area in the buffer memory of the intelligent function module Also do not turn ON OFF the reserved signal in I O signals to the programmable controller CPU Doing any of these operations may cause a malfunction of the programmable controller system CAUTION Do not install the control lines and or pulse input wiring together with the main circuit or power lines and also do not bring them close to ea...

Page 4: ...e a malfunction or failure of the module CAUTION When wiring connecting the connector properly press crimp or solder the connector using the tools specified by the manufacturers and attach the connector to the module securely Be careful to prevent foreign matter such as dust or wire chips from entering the module Failure to do may cause a fire failure or malfunction A protective film is attached t...

Page 5: ...module Do not mount remove the module onto from the base unit more than 50 times IEC 61131 2 compliant after the first use of the product Doing so may cause malfunctions Do not touch the terminal while the power is ON Failure to do may cause a malfunction Switch off all phases of the externally supplied powerused in the system when cleaning the module or retightening the terminal or module fixing ...

Page 6: ...ction CONTENTS GENERIC TERMS AND ABBREVIATIONS Section 2 1 to 2 3 Section 4 1 Section 6 2 1 Section 6 2 2 Section 6 2 3 Section 6 3 1 to 6 3 3 Section 6 4 to 6 6 This manual confers no industrial property rights or any rights of any other kind nor does it confer any licenses Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property rights which may o...

Page 7: ...plicable Systems 2 1 2 2 About Use of the QD63P6 with the Q12PRH Q25PRHCPU 2 4 2 3 How to Check the Software Version 2 5 CHAPTER3 SPECIFICATIONS 3 1 to 3 18 3 1 Performance Specifications 3 1 3 2 Function List 3 2 3 3 I O Signals to the Programmable Controller CPU 3 3 3 3 1 I O signal list 3 3 3 3 2 Functions of I O signals 3 5 3 4 Buffer Memory Assignment 3 9 3 4 1 List of buffer memory assignmen...

Page 8: ... operations 6 6 6 3 2 Operation overview 6 8 6 3 3 Starting the Intelligent function module utility 6 10 6 4 Initial Setting 6 13 6 5 Auto Refresh 6 15 6 6 Monitoring Test 6 17 6 6 1 Monitoring Test 6 17 CHAPTER7 PROGRAMMING 7 1 to 7 14 7 1 Program Example when GX Configurator CT is Used 7 3 7 1 1 GX Configurator CT operation 7 3 7 1 2 Program example 7 5 7 2 Program Example when GX Configurator C...

Page 9: ...ence Detection Interrupt Does Not Occur 8 7 8 5 Error Codes List 8 8 APPENDICES App 1 to App 5 Appendix 1 Dedicated Instructions App 1 Appendix 1 1 Dedicated instructions list App 1 Appendix 1 2 G P PPCVRD App 2 Appendix 2 External Dimensions App 5 INDEX Index 1 to Index 2 ...

Page 10: ... EMC and Low Voltage Directive in the User s Manual Hardware of the programmable controller CPU included with the CPU module or base unit The CE logo is printed on the rating plate of the programmable controller indicating compliance with the EMC and Low Voltage Directives To conform this product to the EMC and Low Voltage Directives refer to CHAPTER 4 PROCEDURES AND SETTINGS BEFORE OPERATION Sect...

Page 11: ...Q02CPU Q02HCPU Q06HCPU Q12HCPU Q25HCPU Q12PHCPU Q25PHCPU Q02UCPU Q03UDCPU Q04UDHCPU and Q06UDHCPU GX Configurator CT Abbreviation for GX Configurator CT SW0D5C QCTU E of counter module setting monitor tool Windows Vista Generic term for the following Microsoft Windows Vista Home Basic Operating System Microsoft Windows Vista Home Premium Operating System Microsoft Windows Vista Business Operating ...

Page 12: ...phase pulse input CW CCW 1 multiple of 2 phases pulse input 2 multiples of 2 phases pulse input 4 multiples of 2 phases pulse input QD63P6 Programmable controller CPU QCPU Q mode CH1 1 Pulse CH2 1 Pulse CH3 1 Pulse CH4 1 Pulse CH5 1 Pulse CH6 1 Pulse 3 3 3 3 3 3 Encoder Encoder Encoder Encoder Encoder Encoder 1 Pulses input to the QD63P6 are counted 2 The status of the I O signals and buffer memor...

Page 13: ...nter format From 2147483648 to 2147483647 can be counted and an overflow can be detected when the count range is overrun b Ring counter format Counts are repeatedly executed between the ring counter upper limit value and ring counter lower limit value 5 Coincidence detection By presetting the coincidence detection point of an arbitrary channel the detection point is compared to the present counter...

Page 14: ...nd if the power supply capacity is insufficient change the combination of the modules Applicable 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 For the coincidence detection interrupt function use the CPU module of function version B or later Table 2 1 Applicable modules and the number of mountable modules Applicable CPU module N...

Page 15: ...ination with the other mounted modules and the number of mounted modules Be sure to check the power capacity when mounting the modules Applicable 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 3 The coincidence detection interrupt function is not supported 4 The dedicated instructions are not supported Remark The Basic model QC...

Page 16: ...ble GX Developer is necessary when using the QD63P6 4 Connector The connector is not included with the QD63P6 Purchase it with reference to Section 4 3 Table 2 3 Software package version Item Software version GX Developer GX Configurator CT Q00J Q00 Q01CPU Single CPU system Version 7 or later Version 1 25AB or later Multiple CPU system Version 8 or later Q02 Q02H Q06H Q12H Q25HCPU Single CPU syste...

Page 17: ...ruction The dedicated instruction cannnot be used 2 GX Configurator CT GX Configurator CT cannot be used when accessing the Q12PRH Q25PRHCPU via an intelligent function module on an extension base unit from GX Developer Connect a personal computer with a communication path indicated below Figure 2 1 Communication path which GX Configrator CT can use Main base unit Extension base unit 1 2 1 2 Conne...

Page 18: ...e version by the last character of SERIAL Figure 2 2 Checking the serial No and function version rating plate b Checking using GX Developer Check the version by the last character displayed at Production information field on the Module s Detailed Information dialog box of GX Developer GX Developer operation Select Diagnostics System monitor and click the button on the displayed screen Figure 2 3 M...

Page 19: ...emark The version description for GX Configurator CT has been changed as shown below from SW0D5C QCTU E 40E upgraded product POINT The serial No on the rating plate may be different from the serial No displayed on the product information screen of GX Developer The serial No on the rating plate indicates the management information of the product The serial No displayed on the product information sc...

Page 20: ... Intelligent 32 points Number of channels 6 channels Count input signal Phase 1 phase input 2 phase input Signal level A B 5 VDC 6 4 to 11 5 mA Counter Counting speed max 2 200 kPPS 100 kPPS 10 kPPS Counting range 32 bit signed binary 2147483648 to 2147483647 Model UP DOWN preset counter Ring counter function Minimum count pulse width Duty ratio 50 Minimum phase difference for 2 phase input 1 25 s...

Page 21: ...cts an overflow when the count range is overrun Section 5 2 1 Ring counter function Repeats count between the ring counter upper limit value Un G2 and 3 and ring counter lower limit value Un G0 and 1 Section 5 2 2 Coincidence detection function Presets the coincidence detection point of an arbitrary channel compares the detection point to the present counter value and outputs the counter value coi...

Page 22: ...command X08 Counter value small Y08 Subtraction count command X09 Reserved Y09 Count enable command X0A Reserved Y0A Periodic pulse counter start command X0B CH3 Counter value large Y0B CH3 Coincidence signal reset command X0C Counter value coincidence Y0C Preset command X0D Counter value small Y0D Subtraction count command X0E Reserved Y0E Count enable command X0F Reserved Y0F Periodic pulse coun...

Page 23: ...2 SYSTEM CONFIGURATION 3 SPECIFICATIONS 4 PROCEDURES AND SETTINGS BEFORE OPERATION 5 FUNCTIONS 6 UTILITY PACKAGE GX Configurator CT 7 PROGRAMMING 8 TROUBLESHOOTING POINT The reserved devices above are for system use not for users If used turning ON OFF by a user the functions of the QD63P6 are not ensured ...

Page 24: ...is signal is used for an interlock of sequence programs X01 CH1 Counter value large Turns ON when the present value A Un G10 and 11 present value B Un G200 and 201 Coincidence detection point setting Un G6 and 7 Turns OFF when the present value A Un G10 and 11 present value B Un G200 and 201 Coincidence detection point setting Un G6 and 7 For details of the general operation refer to Section 5 3 X...

Page 25: ... detection point setting Un G6 and 7 are all 0 For general operation refer to Counter value large X01 or Section 5 3 X07 CH2 X0C CH3 X11 CH4 X16 CH5 X1B CH6 X03 CH1 Counter value small Turns ON when the present value A Un G10 and 11 present value B Un G200 and 201 Coincidence detection point setting Un G6 and 7 Turns OFF when the present value A Un G10 and 11 present value B Un G200 and 201 Coinci...

Page 26: ...execute the preset function Note that the ON OFF time must be 2ms or longer 1 Turn OFF the preset command Y02 when the preset value setting Un G4 and 5 is stored to the present value A Un G10 and 11 present value B Un G200 and 201 For general operation refer to Section 5 4 Y07 CH2 Y0C CH3 Y11 CH4 Y16 CH5 Y1B CH6 Y03 CH1 Subtraction count command Turn ON to perform the subtraction count at 1 phase ...

Page 27: ...ion This command operates as follows when the pulse input mode is 1 multiple of 1 phase Y09 CH2 Y0E CH3 Y13 CH4 Y18 CH5 Y1D CH6 Y05 CH1 Periodic pulse counter start command Turn ON to execute the periodic pulse counter function Y0A CH2 Y0F CH3 Y14 CH4 Y19 CH5 Y1E CH6 Count enable command Y04 Present value A Un G10 and 11 ON 2 1 0 A B Performed by the QD63P6 Present value A Un G10 and 11 Periodic p...

Page 28: ...3 CH4 CH5 CH6 0 30 60 90 120 150 Ring counter lower limit value 2 L 0 Read write are enabled 1 31 61 91 121 151 H 2 32 62 92 122 152 Ring counter upper limit value 2 L 3 33 63 93 123 153 H 4 34 64 94 124 154 Preset value setting 2 L 5 35 65 95 125 155 H 6 36 66 96 126 156 Coincidence detection point setting 2 L 7 37 67 97 127 157 H 8 38 68 98 128 158 Coincidence detection point change request 9 39...

Page 29: ... OPERATION 5 FUNCTIONS 6 UTILITY PACKAGE GX Configurator CT 7 PROGRAMMING 8 TROUBLESHOOTING POINT Items with 2 in Table 3 7 are stored in 32 bit signed binary to the buffer memory therefore make sure to read each value in units of 2 words Since the buffer memory contents are automatically updated by count operation the latest count value can be read from the buffer memory ...

Page 30: ...inary Figure 3 1 Timing chart for the ring counter lower limit value Un G0 and 1 and ring counter upper limit value Un G2 and 3 2 Preset value setting Un G4 and 5 This area is used for setting the preset value for the counter Refer to Section 5 4 Setting value when the preset command Y02 changes from OFF to ON becomes effective Setting range is from 2147483648 to 2147483647 32 bit signed binary Fi...

Page 31: ...nce detection point change request Un G8 and then the coincidence detection point setting is started Setting range of the coincidence detection point setting Un G6 and 7 is from 2147483648 to 2147483647 32 bit signed binary If 1 Change request is not written into the coincidence detection point change request Un G8 the coincidence detection point setting value Un G6 and 7 does not become effective...

Page 32: ... to the period setting Un G9 the period setting error error code 600 is stored to the error code Un G20 and the periodic pulse counter function is not executed To execute the periodic pulse counter function write a value within the setting range 1 to 65535 to the period setting Un G9 and turn the periodic pulse counter start command Y05 ON OFF and ON again Note that the OFF time must be 2ms or lon...

Page 33: ... function module switch Refer to Section 4 5 The range of a value to be read is from 2147483648 to 2147483647 32 bit signed binary Figure 3 5 Timing chart for the present value A Un G10 and 11 6 Overflow detection flag Un G12 Overflow occurrence status is stored in this area when the counter format is the linear counter refer to Section 5 2 2 According to the overflow occurrence status 0 No detect...

Page 34: ... 15 is stored in the judgment value for updated periodic pulse count value Un G18 and 19 If the previous periodic pulse count value Un G14 and 15 and judgment value for updated periodic pulse count value Un G18 and 19 are not equal inconsistency occurs Reread the previous periodic pulse count value Un G14 and 15 present periodic pulse count value Un G16 and 17 and judgment value for updated period...

Page 35: ...or code 100 to 600 occurs while an error code is still stored to the error code in buffer memory Un G20 the error code stored last is retained and the latest error code is not stored Refer to Section 8 5 If the error code is reset with the error reset command Un G21 while the error cause has not yet been fixed the error code is stored again to the error code in buffer memory Un G20 when the error ...

Page 36: ...B20 A20 Reserved CH1 Phase A pulse input B19 A19 CH1 Phase A pulse input CH1 Phase B pulse input B18 A18 CH1 Phase B pulse input Reserved B17 A17 Reserved CH2 Phase A pulse input B16 A16 CH2 Phase A pulse input CH2 Phase B pulse input B15 A15 CH2 Phase B pulse input Reserved B14 A14 Reserved CH3 Phase A pulse input B13 A13 CH3 Phase A pulse input CH3 Phase B pulse input B12 A12 CH3 Phase B pulse i...

Page 37: ...urator CT 7 PROGRAMMING 8 TROUBLESHOOTING 3 6 Connectable Encoders The encoders connectable to the QD63P6 are described below Open collector output type encoders CMOS level voltage output type encoders Confirm that the encoder output voltage meets the specifications for the QD63P6 POINT The following encoder is not applicable for the QD63P6 TTL level voltage output type encoders ...

Page 38: ...ing Do not remove the film during wiring Be sure to remove it for heat dissipation before system operation 5 Tighten the fixing screws within the following torque ranges If the screw is too loose it may cause a drop short circuit or malfunction Excessive tightening may damage the screw and or the module resulting in a drop short circuit or malfunction 1 The module can be easily mounted to a base u...

Page 39: ...gent function module switch setting Set the switches with GX Developer refer to Section 4 5 Use GX Configurator CT Yes No Make the initial setting Yes Make the initial setting Yes Initial setting Create a sequence program for writing initial values with the FROM TO instruction Initial setting Make initial settings with GX Configurator CT refer to Section 6 4 Make the auto refresh setting No No Yes...

Page 40: ... Watchdog timer error ERR Indicates error status of the QD63P6 ON Error at 1 or later CH OFF All channels in normal operation A_CH1 to CH6 Indicates input status of A phase pulse terminal ON Pulse ON OFF Pulse OFF B_CH1 to CH6 Indicates input status of B phase pulse terminal ON Pulse ON OFF Pulse OFF 2 External device connector 40 pins Connector for connecting an encoder For terminal layout refer ...

Page 41: ...rately The following tables show the recommended connector types and crimp tool a Connector types The A6CON3 connector pressure welding type straight out cannot be used for the QD63P6 b Connector crimp tool Table 4 3 Connector types Type Model Soldering type straight out A6CON1 Crimp type straight out A6CON2 Soldering type usable for both straight out and diagonal out A6CON4 Table 4 4 Connector cr...

Page 42: ...utting a signal of different voltage may result in a malfunction or mechanical failure 2 For 1 phase input always perform pulse input wiring on the phase A side 3 When pulse status noise is input the QD63P6 may miscount 4 Take the following measures against noise for high speed pulse input a Always use a shielded twisted pair cable and provide grounding b Wire the shielded twisted pair cables so a...

Page 43: ...age at the terminal block of the relay box using the measure such as a tester If the voltage drop is large take the measures such as thickening the wire size or using the 5 VDC encoder of less current consumption Install I O wires at least 150 mm 5 91 inch away from the high voltage equipment such as relay and inverter Apply this wiring in a control panel as well Avoid using a solenoid valve and i...

Page 44: ...ble with the AD75CK Figure 4 5 Grounding shielded twisted pair cable with the AD75CK Maximum four shielded twisted pair cables whose external dimension is around 7 mm 0 28 inch can be grounded with the AD75CK For details refer to the AD75CK type Cable Clamping Instruction Manual IB 68682 20cm 7 87inch 20cm 7 87inch to 30cm 11 81inch to 30cm 11 81inch In a control panel QD63P6 20cm 7 87inch to 30cm...

Page 45: ...8 TROUBLESHOOTING 4 4 2 Example of wiring the module and an encoder 1 Example of wiring with an encoder of open collector output type 5 VDC Figure 4 6 Example of wiring with an encoder 5 VDC Shielded twisted pair cable Shield Shield Phase A Phase B QD63P6 Phase A pulse input Phase B pulse input Phase A pulse input Phase B pulse input B19 A18 B18 A19 External power supply 5 VDC 0 V Encoder 5 V OUT ...

Page 46: ... Wiring example Incorrect wiring example Figure 4 8 Incorrect wiring example Pulse input Pulse input Phase A QD63P6 OUT 0 V 5 VDC External power supply Encoder 5 V 0 V E Shielded twisted pair cable Shield Pulse input Pulse input Phase A QD63P6 OUT 0 V 5 VDC External power supply Encoder 5 V 0 V E Shielded twisted pair cable Shield Since the current through the shielded twisted pair cable flows in ...

Page 47: ...ly voltage connect load resistance between each pulse input terminal of the QD63P6 and shielded twisted pair cable The following table shows conditions on load resistance Table 4 5 Conditions on load resistance External voltage V Load resistance Capacity W Tolerance 12 820 1 4 5 24 2200 1 2 5 Shield Shield Phase A Phase B QD63P6 Phase A pulse input Phase B pulse input Phase A pulse input Phase B p...

Page 48: ...example Incorrect wiring example Figure 4 11 Incorrect wiring example Pulse input Pulse input Phase A QD63P6 OUT 0 V 12 24 VDC External power supply Encoder 12 24 V 0 V E Shielded twisted pair cable Shield Pulse input Pulse input Phase A QD63P6 OUT 0 V 12 24 VDC External power supply Encoder 12 24 V 0 V E Shielded twisted pair cable Shield Since the current through the shielded twisted pair cable ...

Page 49: ...nfigurator CT 7 PROGRAMMING 8 TROUBLESHOOTING 3 Example of wiring with an encoder of voltage output type 5 VDC Figure 4 12 Example of wiring with an encoder 5 VDC Shield Shield Phase A Phase B QD63P6 Phase A pulse input Phase B pulse input Phase A pulse input Phase B pulse input GND OUT OUT GND E E 5 V 0 V B19 A18 B18 A19 External power supply 5 VDC 0 V Encoder Shielded twisted pair cable Shielded...

Page 50: ... shielded twisted pair cable The following table shows conditions on load resistance Table 4 6 Conditions on load resistance External voltage V Load resistance Capacity W Tolerance 12 820 1 4 5 24 2200 1 2 5 Shield Shield Phase A Phase B QD63P6 Phase A pulse input Phase B pulse input Phase A pulse input Phase B pulse input GND OUT OUT GND E E 12 24 V 0 V B19 A18 B18 A19 External power supply 12 24...

Page 51: ...f 1 phase 1H 2 multiples of 1 phase 2H CW CCW 3H 1 multiple of 2 phases 4H 2 multiples of 2 phases 5H 4 multiples of 2 phases 0000H Switch 2 Pulse input mode 0000H Switch 3 Counting speed setting Counting speed setting Refer to Section 3 1 Set the following bit pattern with hexadecimal 00 10 kPPS 01 100 kPPS 10 200 kPPS Example CH1 and 2 200 kPPS CH3 100 kPPS and CH4 to 6 10 kPPS 00 00 00 01 10 10...

Page 52: ...tails of the intelligent function module switch setting Table 4 8 Details of the intelligent function module switch setting Setting item Description Reference Pulse input mode Set the pulse input mode for each channel When setting 6H to FH a switch setting error error code 810 occurs Refer to Section 8 5 Section 5 1 1 Counting speed setting Set the counting speed for each channel When setting 11 3...

Page 53: ...put the model of the module Points Select 32points Start XY Input the head I O number of the QD63P6 Figure 4 14 Setting example of I O assignment b Switch setting for I O and intelligent function module screen Click the on the I O assignment screen to display the screen below and set the switches from 1 to 5 Entering the values in hexadecimal make the setting easier Change Input format to HEX and ...

Page 54: ...d Count timing 1 multiple of 1 phase For addition count Counts on the rising edge of A B and the subtraction count command Y03 are OFF For subtraction count Counts on the falling edge of A B or the subtraction count command Y03 is ON 2 multiples of 1 phase For addition count Counts on the rising and falling edges of A B and the subtraction count command Y03 are OFF For subtraction count Counts on ...

Page 55: ...A 2 multiples of 2 phases For addition count When B is OFF counts on the rising edge of A When B is ON counts on the falling edge of A For subtraction count When B is ON counts on the rising edge of A When B is OFF counts on the falling edge of A 4 multiples of 2 phases For addition count When B is OFF counts on the rising edge of A When B is ON counts on the falling edge of A When A is ON counts ...

Page 56: ...r a Counting is repeated within the range between the arbitrarily set ring counter upper limit value Un G2 and 3 and ring counter lower limit value Un G0 and 1 b When the same value is set to the ring counter upper limit value Un G2 and 3 and ring counter lower limit value Un G0 and 1 counting is repeated in the entire range of the QD63P6 Select the linear counter or ring counter in the intelligen...

Page 57: ... value in subtraction or exceeds 2147483647 upper limit value in addition an overflow error error code 100 will occur b If an overflow error occurs 1 is stored in the overflow detection flag Un G12 and the overflow error error code 100 is stored in the error code Un G20 in the buffer memory and counting is stopped Even if a pulse is input in that condition the present value does not change from 21...

Page 58: ...rom OFF to ON Preset is executed POINT Set appropriate ring counter lower limit value Un G0 and 1 upper limit value Un G2 and 3 so that the following condition is satisfied If the count enable command Y04 is turned from OFF to ON with this condition not satisfied a ring counter upper lower limit value setting error error code 500 is stored in the error code Un G20 and counting does not start To st...

Page 59: ...present value B Un G200 and 201 reaches the ring counter lower limit value Un G0 and 1 the ring counter lower limit value Un G0 and 1 is held as it is And by the next subtraction pulse Ring counter upper limit value Un G2 and 3 1 is stored in the present value A Un G10 and 11 present value B Un G200 and 201 In both cases of addition and subtraction counts the ring counter upper limit value Un G2 a...

Page 60: ...lue Un G2 and 3 of 2000 and present value A Un G10 and 11 present value B Un G200 and 201 of 500 Addition Subtraction 0 2147483647 Ring counter upper limit value 2000 Ring counter lower limit value 0 2147483648 Present counter value 1000 1998 1999 0 1 2 2000 2000 of ring counter upper limit value Un G2 and 3 is not stored in present value A Un G10 and 11 present value B Un G200 and 201 Ring counte...

Page 61: ...ting Un G4 and 5 as shown below and then turn ON the preset command Y02 After the preset value setting Un G4 and 5 became effective turn OFF the preset command Y02 and turn ON the count enable command Y04 Present value A present value B Ring counter lower limit value Un G10 and 11 Un G200 and 201 Un G0 and 1 or Ring counter upper limit value Present value A present value B Un G2 and 3 Un G10 and 1...

Page 62: ...ter upper limit value Un G2 and 3 is not stored in the present value A Un G10 and 11 present value B Un G200 and 201 d Setting example Figure 5 6 Ring counter operation example 2 When the count is enabled with a ring counter lower limit value Un G0 and 1 of 0 ring counter upper limit value Un G2 and 3 of 2000 and present value A Un G10 and 11 present value B Un G200 and 201 of 3000 Addition Subtra...

Page 63: ...ng counter lower limit value Un G0 and 1 as shown below and then turn ON the preset command Y02 After the preset value setting Un G4 and 5 became effective turn OFF the preset command Y02 and turn ON the count enable command Y04 c Count operation When the following setting is made regardless of the present value A Un G10 and 11 present value B Un G200 and 201 the count range is the entire range of...

Page 64: ...setting value into the ring counter upper lower limit value area Un G0 to 3 only stores it in the buffer memory and is not reflected to the QD63P6 Therefore the QD63P6 operates based on the setting before the writing If a value was written to the ring counter lower limit value Un G2 and 3 or ring counter upper limit value Un G0 and 1 with the count enable command Y04 set to ON turn OFF the count e...

Page 65: ... turns ON immediately after power ON or reset of the programmable controller CPU since the coincidence detection point setting Un G6 and 7 is 0 Therefore perform the following operations 1 Write any other than 0 into the coincidence detection point setting Un G6 and 7 and 1 into the coincidence detection point change request Un G8 2 Turn the coincidence signal reset command Y01 OFF ON and OFF agai...

Page 66: ...setting Un G6 and 7 1 Write a coincidence detection value 100 into the coincidence detection point setting Un G6 and 7 2 Write 1 Change request into the coincidence detection point change request Un G8 3 When the coincidence detection point change request Un G8 status changes from 1 Change request to 0 No change request coincidence detection is enabled with the value set in the coincidence detecti...

Page 67: ...Select PLC parameter PLC system Intelligent function module setting Interrupt pointer settings to set the interrupt factors SI of the QD63P6 and interrupt pointers of the programmable controller CPU 1 CPU side Interrupt pointer start No Set the start interrupt pointer number of the programmable controller CPU Setting range 50 to 255 2 CPU side Interrupt pointer No of module Set the number of inter...

Page 68: ...he interrupt pointer setting with parameters According to the setting in the Intelligent function module interrupt pointer setting dialog box only the interrupt factors starting from the start SI No and equivalent to the number of the pointers are used For example if the start SI No and No of pointers are set to 1 and 2 respectively only SI 1 and 2 will be used The interrupt function is not used i...

Page 69: ...pt occurs when the counter value coincidence X02 rises from OFF to ON This means that if the coincidence signal is reset and unless the counter value coincidence X02 is turned OFF the next interrupt request will not be issued Immediately after power ON or reset of the programmable controller CPU the counter value coincidence X02 turns ON however no coincidence detection interrupt will occur For ho...

Page 70: ... 1 and Section 3 4 1 Figure 5 11 Preset function operation example Table 5 4 Details of the preset function operation example No Description 1 Writes any value into the preset value setting Un G4 and 5 of the QD63P6 in the 32 bit binary format 2 When the preset command Y02 rises from OFF to ON a value in the preset value setting Un G4 and 5 is stored in the present value A Un G10 and 11 present va...

Page 71: ...intervals of the preset period time Un G9 while the periodic pulse counter start command Y05 is ON 1 Periodic pulse counter operation The following explains the relation between respective I O signals and buffer memory areas used in the periodic pulse counter function The previous periodic pulse count value Un G14 and 15 is compared with the judgment value for updated periodic pulse count value Un...

Page 72: ... command Y05 Present value A Un G10 and 11 0 200 100 0 100 200 Present periodic pulse count value Un G16 and 17 T Period setting Un G9 T T 3 20 6 80 1 0 Periodic counter flag Un G13 0 100 200 Previous periodic pulse count value Un G14 and 15 T T 1 0 2 200 4 100 3 20 5 100 2 0 3 200 5 100 4 20 8 7 0 100 200 Judgment value for updated periodic pulse count value Un G18 and 19 2 0 3 200 5 100 6 100 6 ...

Page 73: ... 11 present value B Un G200 and 201 100 is stored in the present periodic pulse count value Un G16 and 17 The value 20 that was in the present periodic pulse count value Un G16 and 17 until then is now stored in the previous periodic pulse count value Un G14 and 15 After the update of the present periodic pulse count value Un G16 and 17 and the previous periodic pulse count value Un G14 and 15 20 ...

Page 74: ...owing example program reads the periodic pulse count value of channel 1 of the QD63P6 that is mounted in the slot position of I O number X Y00 to X Y1F when M0 is turned ON Figure 5 13 Periodic pulse counter value reading program example 2 Use the dedicated instruction G P PPCVRD Refer to Appendix 1 2 When the periodic pulse count value is read with the G P PPCVRD instruction the determination on ...

Page 75: ...he count enable command Y04 a delay due to the sequence program scan time will occur 2 A delay due to the control cycle 1ms will occur when executing the following a A delay of up to 2ms 1 control cycle 2 will occur from when the count enable command Y04 is turned ON OFF until the present value A Un G10 and 11 present value B Un G200 and 201 is updated in the buffer memory b A similar delay will o...

Page 76: ...refresh is to be performed for each channel CH Present value A CH Present value B CH Overflow detection flag CH Periodic counter flag CH Previous periodic pulse count value CH Present periodic pulse count value CH Judgment value for updated periodic pulse count value CH Error code 2 The values stored in the QD63P6 buffer memory with auto refresh setting are automatically read when the programmable...

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

Page 78: ...ettings in Auto refresh setting Table 6 2 Maximum number of settable parameters using GX Configurator When intelligent function modules are installed to Maximum number of parameter settings Initial setting Auto refresh setting Q00J Q00 Q01CPU 512 256 Q02 Q02H Q06H Q12H Q25HCPU 512 256 Q12PH Q25PHCPU 512 256 Q12PRH Q25PRHCPU 512 256 Q02UCPU 2048 1024 Q03UD Q04UDH Q06UDHCPU 4096 2048 MELSECNET H rem...

Page 79: ...escription Installation Add in target 1 Add in to GX Developer Version 4 English version or later 2 Computer Windows based personal computer CPU Refer to Table 6 5 Operating system and performance required for personal computer Required memory Hard disk space 3 For installation 65 MB or more For operation 10 MB or more Display 800 600 dots or more resolution 4 Basic software Microsoft Windows 95 O...

Page 80: ...mputer Operating system Performance required for personal computer CPU Memory Windows 95 Pentium 133 MHz or more 32 MB or more Windows 98 Pentium 133 MHz or more 32 MB or more Windows Me Pentium 150 MHz or more 32 MB or more Windows NT Workstation 4 0 Pentium 133 MHz or more 32 MB or more Windows 2000 Professional Pentium 133 MHz or more 64 MB or more Windows XP Professional Service Pack1 or later...

Page 81: ...ation 3 Intelligent function module parameter a This represents the data created in Auto refresh setting and they are stored in an intelligent function module parameter file in a project created by GX Developer Table 6 6 Control keys Key Application Cancels the current entry in a cell Closes the window Moves between controls in the window Used in combination with the mouse operation to select mult...

Page 82: ...selection screen of the utility Online Read from PLC Write to PLC 4 Text file a A text file can be created by clicking the button on the initial setting Auto refresh setting or Monitor Test screen The text files can be utilized to create user documents b Text files can be saved in any directory However a path folder where the file is to be saved cannot be created during operation of Therefore crea...

Page 83: ...figurator CT 7 PROGRAMMING 8 TROUBLESHOOTING 6 3 2 Operation overview Figure 6 4 General operation Refer to Section 6 3 3 Initial setting screen Initial setting Auto refresh Auto refresh setting screen Refer to Section 6 4 Refer to Section 6 5 GX Developer screen Tools Intelligent function utility Start Screen for selecting a target intelligent function module Enter Start I O No and select Module ...

Page 84: ...iew 6 UTILITY PACKAGE GX Configurator CT Figure 6 4 General operation Continued Online Monitor Test Selecting monitor test module screen Monitor Test screen Refer to Section 6 6 Enter Start I O No and select Module type and Module model name 1 Monitor Test ...

Page 85: ...module parameter setting module select screen From this screen Initial setting Auto refresh setting and Select monitor test module selection of the module which performs monitor test screens for the QD63P6 can be started Operating procedure Tools Intelligent function utility Start Setting screen Figure 6 5 Intelligent function module utility screen Explanation of items 1 Activation of other screen...

Page 86: ...ckage Operation 6 3 3 Starting the Intelligent function module utility 6 UTILITY PACKAGE GX Configurator CT 2 Command buttons Deletes the initial setting and auto refresh setting of the selected module Closes this screen ...

Page 87: ...er CPU in GX Developer Online Transfer setup When mounting the QD63P6 to the remote I O station use Read from PLC Write to PLC of GX Developer 3 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 ...

Page 88: ...ng By making the initial settings the sequence program settings become unnecessary Operating procedure Start I O No Module type Module model name Enter the start I O No in hexadecimal Setting screen Figure 6 6 Initial setting screen Preset value setting Ring counter lower limit value Coincidence detection point change request Ring counter upper limit value Coincidence detection point setting Perio...

Page 89: ...l settings are stored to the intelligent function module parameters The initial settings become effective after writing them to the CPU module and executing 1 or 2 1 Change RUN STOP switch on the CPU module STOP RUN STOP and RUN again 2 After changing the switch to RUN power OFF and then ON the CPU module or reset it When the initial setting contents are written with the sequence program the initi...

Page 90: ...etting This auto refresh setting eliminates the need for reading by sequence programs Operating procedure Start I O No Module type Module model name Enter the start I O No in hexadecimal Setting screen Figure 6 7 Auto refresh setting screen Present value A Previous periodic pulse count value Present value B Present periodic pulse count value Overflow detection flag Judgment value for updated perio...

Page 91: ...h settings cannot be changed from sequence programs However processing equivalent to auto refresh can be added using the FROM TO instruction in the sequence program Module side Buffer size Displays the buffer memory size of the setting item Module side Transfer word count Displays the number of words to be transferred Transfer direction indicates that data are written from the programmable control...

Page 92: ...mory monitoring testing and I O signal monitoring testing from this screen Operating procedure Select monitor test module screen Start I O No Module type Module model name 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 ...

Page 93: ... SYSTEM CONFIGURATION 3 SPECIFICATIONS 4 PROCEDURES AND SETTINGS BEFORE OPERATION 5 FUNCTIONS 6 UTILITY PACKAGE GX Configurator CT 7 PROGRAMMING 8 TROUBLESHOOTING Setting screen Figure 6 8 Monitor Test screen Selecting these buttons displays the following screens Preset function X Y Monitor Test 1 ...

Page 94: ...6 6 Monitoring Test 6 6 1 Monitoring Test 6 UTILITY PACKAGE GX Configurator CT Figure 6 8 Monitor Test screen Continued Ring counter function Periodic pulse counter function Coincidence detection function 1 ...

Page 95: ...e Setting value fields input in 1 to 3 while pressing the key Dragging operation using the mouse can also select multiple items 5 Click the button for writing After the writing the written value is updated in the Current value field 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 v...

Page 96: ...with the intelligent function module switch on GX Developer Refer to Section 4 5 3 Program conditions This program uses the QD63P6 to perform counting on the conditions listed below 1 Set this only when using the ring counter function 2 Set this only when using the periodic pulse counter function Table 7 1 Setting conditions of the intelligent function module switch Pulse input mode Counting speed...

Page 97: ... Previous periodic pulse count value 2 D114 CH1 Present periodic pulse count value 2 D116 CH1 Judgment value for updated periodic pulse count value 2 D118 CH1 Error code D120 Table 7 4 Devices used by users Item Device Count operation start signal X20 Present value read signal X21 Preset command signal X22 Count operation stop signal X23 Coincidence LED clear signal X24 Periodic pulse count data r...

Page 98: ...een Setting item Description Setting Preset value setting Set the preset value 2500 Coincidence detection point change request Set this to enable the coincidence detection point setting Change request Coincidence detection point setting Set the value for coincidence detection point 1000 Ring counter lower limit value Set this only when using the ring counter function 5000 Ring counter upper limit ...

Page 99: ...7 6 Items on the Auto refresh setting screen Setting item Description Setting CH1 Present value A Set a device for storing the present value D0 CH1 Present value B Not used CH1 Previous periodic pulse count value Set a device for storing the previous periodic pulse count value when using the periodic pulse counter function D114 CH1 Present periodic pulse count value Set a device for storing the pr...

Page 100: ...cessing at count coincidence Module READY CH1 Counter value coincidence CH1 Coincidence signal reset command CH1 Counter value coincidence Periodic pulse count data read command Periodic pulse count start command CH1 Periodic pulse counter start command CH1 Preset command CH1 Coincidence signal reset command CH1 Coincidence signal reset command Coincidence confirmation LED signal CH1 Count enable ...

Page 101: ...GX Configurator CT 7 PROGRAMMING 8 TROUBLESHOOTING Set only when the linear counter function is used Overflow detection processing Module READY Overflow status storage Overflow occurrence confirmation LED signal Error code storage Error occurrence confirmation LED signal CH1 Error reset command Error code Error reset processing Error occurrence Error reset command Error occurrence confirmation LED...

Page 102: ...ue coincidence X02 is turned OFF at initial setting Initial setting Module READY CH1 Count enable command Initial setting completed signal Count operation start Module READY Count operation start signal Count operation stop Module READY Count operation stop signal CH1 Count enable command Initial setting completed signal CH1 Coincidence signal reset command CH1 Period setting CH1 Ring counter uppe...

Page 103: ...tion Module READY Overflow detection processing Module READY PPCVRD1 Completion device PPCVRD1 Completion status indication device Periodic pulse count data read command Periodic pulse count start command Overflow status storage Overflow occurrence confirmation LED signal Overflow status storage CH1 Periodic pulse counter start command Previous periodic pulse count value storage PPCVRD1 Completion...

Page 104: ...when dedicated instructions are used 7 PROGRAMMING Error reset processing Error occurrence Error reset command Error occurrence confirmation LED signal CH1 Error reset command Error occurrence confirmation LED signal Error code storage Error code Error code CH1 Error code Error code ...

Page 105: ...dic pulse counter function is used Set only when the counter value coincidence X02 is turned OFF at initial setting Initial setting Module READY CH1 Count enable command Initial setting completed signal Count operation start Module READY Count operation start signal Count operation stop Module READY Count operation stop signal CH1 Count enable command Initial setting completed signal CH1 Coinciden...

Page 106: ...ic pulse count value storage Judgment value for updated periodic pulse count value Periodic pulse count data read command Periodic pulse count start command Overflow status storage Overflow occurrence confirmation LED signal Overflow status storage CH1 Periodic pulse counter start command CH1 Preset command CH1 Coincidence signal reset command CH1 Coincidence signal reset command Coincidence confi...

Page 107: ...3 SPECIFICATIONS 4 PROCEDURES AND SETTINGS BEFORE OPERATION 5 FUNCTIONS 6 UTILITY PACKAGE GX Configurator CT 7 PROGRAMMING 8 TROUBLESHOOTING Error reset processing Error occurrence Error reset command Error occurrence confirmation LED signal CH1 Error reset command Error occurrence confirmation LED signal Error code storage Error code Error code CH1 Error code Error code ...

Page 108: ... configuration when the coincidence detection interrupt function is used 2 Program conditions a Interrupt pointer setting Set the values at PLC parameter PLC system Intelligent function module setting Interrupt pointer setting in the Project data list on GX Developer Set the values for this program example as shown below Figure 7 5 Intelligent function module interrupt pointer setting b Devices us...

Page 109: ... using the IMASK instruction before using an interrupt pointer POINT When the above described program is executed only I50 interrupt program is execution enabled and other interrupt programs are execution disabled When executing interrupt programs other than I50 set the corresponding bit for interrupt program to be executed to 1 enabled For details of the IMASK instruction refer to QCPU Q Mode QnA...

Page 110: ... Module s Detailed Information on the System Monitor screen of GX Developer 1 GX Developer operation Select Diagnostics System Monitor QD63P6 2 Checking error codes The latest error code is displayed on Present Error field Clicking the button displays the error code displayed on Present Error field in No 1 field as well Figure 8 1 Module s Detailed Information screen Display format Select DEC The ...

Page 111: ... System monitor QD63P6 Module s Detailed Information Figure 8 2 H W Information screen H W LED Information The following information is displayed on the H W LED Information screen H W SW Information The setting status of the intelligent function module switches is displayed Table 8 1 H W LED Information Item Signal Value RUN RUN LED on the QD63P6 0 The LED is OFF 1 The LED is ON ERR ERR LED on the...

Page 112: ... display Display contents Display point Operation status Action RUN LED is OFF Hardware fault If the RUN LED does not turn ON after the programmable controller is powered ON the module is a failure Replace it RUN LED is ON ERR LED is OFF The module is normal ERR LED is ON Error Check the error code refer to Section 8 5 and fix the error cause A_CH1 LED is ON LED corresponding to the CH turns ON Ph...

Page 113: ...ufficient Calculate the consumption current of the modules mounted to the base unit such as CPU module I O module and intelligent function module and check that the current capacity is sufficient No watchdog timer error Reset the programmable controller CPU and check that the RUN LED turns ON If the RUN LED remains OFF even doing so the QD63P6 is a failure Please consult your local Mitsubishi repr...

Page 114: ...iled description of the problem Section 4 3 Section 4 4 Is the external wiring of A and B normal Check the external wiring and correct the error Is the count enable command Y04 ON Turn the count enable command Y04 ON with the sequence program Section 3 3 2 Are the present value A Un G10 and 11 present value B Un G200 and 201 read by the sequence program the same with the value made on Present valu...

Page 115: ...e count result become the same with that of another channel If they differ it is a hardware failure Please consult your local Mitsubishi representative explaining a detailed description of the problem Noise reduction measures Are the shielded twisted pair cables used for pulse input wiring Use the shielded twisted pair cables for pulse input wiring Section 4 4 Has the measures against noise been t...

Page 116: ...one which supports the intelligent function module event interrupt Section 2 1 1 Is the setting made on Interrupt pointer setting of Intelligent function module setting in PLC parameter correct Check the intelligent function module interrupt pointer setting Section 5 3 2 Is the way to use the program execution control instruction correct Check the sequence program Section 5 3 2 CHAPTER 7 Does the ...

Page 117: ...pper limit value Un G2 and 3 is satisfied and change the count enable command Y04 from OFF to ON Section 3 3 Section 3 4 Section 5 2 2 600 Period setting error The period setting Un G9 was set to 0 and the periodic pulse counter start command Y05 was turned ON The periodic pulse counter function does not start Make the period setting Un G9 within the range from 1 to 65535 and change the periodic p...

Page 118: ...code is overwritten as the latest one When an error code 810 occurs it is stored to the error code Un G20 of the relevant channel When an error code from 820 to 850 occurs any of the error code from 820 to 850 is stored to the error codes Un G20 of all channels 2 An error code can be reset with the error reset command Un G21 After fixing the error cause reset the error If the error cause is not fi...

Page 119: ...5PRHCPU the dedicated instructions cannot be used Table App 1 Dedicated instructions supported by the QD63P6 No Function Dedicated instruction Description Reference 1 Periodic pulse counter function G P PPCVRD1 Reads the periodic pulse count value of CH1 Appendix 1 2 2 G P PPCVRD2 Reads the periodic pulse count value of CH2 3 G P PPCVRD3 Reads the periodic pulse count value of CH3 4 G P PPCVRD4 Re...

Page 120: ...e range Device name D Turns ON for one scan on completion of the dedicated instruction processing Also turns ON D 1 at device error completion Within the specified device range Bit Table App 4 Control data Device Item Description Setting range Data type S System area S 1 Completion status Stores the status on completion of the instruction 0 Normal completion Other than 0 Error completion System S ...

Page 121: ...1 instruction and G P PPCVRD2 instruction can be executed concurrently e The G P PPCVRD instruction can be executed while the module READY signal is ON If executed while the signal is OFF the instruction is ignored 2 Error There are no errors regarding the instruction Turns ON at END processing in the scan where the G P PPCVRD instruction is completed and turns OFF at the next END processing Turns...

Page 122: ...e read command M0 is turned ON POINT When the periodic pulse count value is read with the G P PPCVRD instruction the determination on consistency in the sequence program is unnecessary Performing processing at error completion PPCVRD1 Completion device PPCVRD1 Executive instruction PPCVRD1 Executive instruction PPCVRD1 Executive instruction PPCVRD1 Completion status indication device PPCVRD1 Compl...

Page 123: ...APPENDICES Appendix 2 External Dimensions App 5 APPENDIX INDEX Appendix 2 External Dimensions Unit mm inch 90 3 54 136 5 35 46 1 81 98 3 86 27 4 1 08 ...

Page 124: ... occurrence X1F 3 6 Error Processing and Recovery Methods 8 1 Error reset command Un G21 3 16 ERR LED 4 3 8 3 Example of wiring the module and an encoder 4 8 External Dimensions App 5 F Features 1 2 Function List 3 2 Function version 2 5 Functions of I O signals 3 5 Functions of the utility package 6 1 G G P PPCVRD App 2 H H W LED Information 8 2 H W SW Information 8 2 I IMASK instruction 5 15 7 1...

Page 125: ...n is Used 7 13 PROGRAMMING 7 1 Pulse input method 5 1 Pulse input mode 4 14 4 15 R Reading writing buffer memory 3 9 Ring counter function 3 2 5 5 Ring counter lower limit value Un G0 and 1 3 11 Ring counter upper limit value Un G2 and 3 3 11 RUN LED 4 3 8 3 S SI 5 14 Software package 2 3 Software version 2 3 2 5 Starting the Intelligent function module utility 6 10 Subtraction count command Y03 3...

Page 126: ... 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 r...

Page 127: ......

Page 128: ......

Reviews: