User`s manual
10
CHAPTER 7 PROGRAMMING 191
7.1 Using the Module in a Standard System Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . .191
7.1.1 Program example when the parameters of the intelligent function module are used . . . . . 195
7.1.2 Program example when the parameters of the intelligent function module are not used . . 204
7.2 When Using the QD65PD2 in a MELSECNET/H Remote I/O net . . . . . . . . . . . . . . . . . . . . .213
7.2.1 Program example when the parameters of the intelligent function module are used . . . . . 223
7.2.2 Program example when the parameters of the intelligent function module are not used . . 230
7.3 Program Example with the Coincidence Detection Interrupt Function . . . . . . . . . . . . . . . . . .250
7.3.1 Program example with the coincidence detection interrupt function . . . . . . . . . . . . . . . . . . 251
7.3.2 Program example with the periodic interrupt function . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252
CHAPTER 8 TROUBLESHOOTING 253
8.1 Before Troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .253
8.2 Troubleshooting Procedure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .253
8.3 Checking the LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .255
8.3.1 When both the RUN LED and the ERR. LED turned off . . . . . . . . . . . . . . . . . . . . . . . . . . . 255
8.3.2 When the RUN LED turned on and the ERR. LED turned on . . . . . . . . . . . . . . . . . . . . . . . 255
8.4 Troubleshooting by Symptoms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .256
8.4.1 When counting (measurement) does not start, or when not counted (measured) correctly
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256
8.4.2 When the coincidence output function or the cam switch function does not operate normally
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258
8.4.3 When an coincidence detection interrupt does not occur . . . . . . . . . . . . . . . . . . . . . . . . . . 260
8.4.4 When the count value cannot be replaced with a value preset by the user . . . . . . . . . . . . . 261
8.4.5 When counter function selection cannot be performed . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262
8.4.6 When the waveform is not output properly with the PWM output mode being set . . . . . . . 263
8.4.7 When the input from the general input 1 to 6 terminals (IN1 to IN6) is not done . . . . . . . . 263
8.4.8 When the output from the general output 1 to 8 terminals (OUT1 to OUT8) is not done . . 263
8.4.9 When an error code or warning code cannot be reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 264
8.5 List of Error Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .265
8.6 List of Warning Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .271
APPENDICES 272
Appendix 1 Dedicated Instructions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .272
Appendix 1.1 G(P).PPCVRD. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 272
Appendix 2 When Using GX Developer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .275
Appendix 2.1 Operation of GX Developer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275
Appendix 3 External Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .280
INDEX 281
REVISIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 284
WARRANTY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 285










