8 - 1 8 - 1
MELSEC-Q
8 PROGRAMMING
8 PROGRAMMING
This chapter describes programs of the QD72(E/D).
When applying any of the program examples introduced in this chapter to the actual
system, verify the applicability and confirm that no problem occurs in the system
control.
8.1 Using Programs in Normal System Configuration
This section describes program examples based on the following system configuration
and conditions.
(1) System configuration
QX10 (X10 to X1F)
QY10 (Y20 to Y2F)
QD62
(X/Y0 to X/YF)
(2) Setting conditions of the intelligent function module switch
Set the pulse input mode, counting speed setting, and counter format with the
intelligent function module switch on GX Developer. (See Section 4.5.)
Channel
Pulse input mode
Counting speed setting
Counter format
CH1
2-phase multiple of 1
200 kPPS
User setting
(3) Program conditions
This program uses QD62 to perform counting with the conditions listed below.
Item Setting
value
Preset value
2500
Coincidence output point No. 1
1000
Ring counter minimum value 1 –5000
Ring counter maximum value 1 5000
Sampling time setting 2 10000
ms
Periodic pulse time setting 3 5000
ms
1 Set only when a ring counter function is used
2 Set only when the sampling counter function is used
3 Set only when the periodic pulse counter function is used
POINT
Programs that were used in earlier products such as A1SD62(E/D/D-S1) cannot be
used because the I/O signals and the buffer memory configuration of these
products differ from those of QD62(E/D). The conventional dedicated instructions
cannot be used.
8
Summary of Contents for QD62
Page 1: ......
Page 2: ......
Page 13: ...A 11 A 11 MEMO ...
Page 55: ...4 18 4 18 MELSEC Q 4 SETUP AND PROCEDURE BEFORE STARTING THE OPERATION MEMO ...
Page 97: ...8 5 8 5 MELSEC Q 8 PROGRAMMING 3 Program example a Set only when the linear counter is used ...
Page 100: ...8 8 8 8 MELSEC Q 8 PROGRAMMING 2 Program example a Set only when the ring counter is used ...
Page 127: ......
Page 128: ......