Mitsubishi Electronics QD64D2 Drums User Manual


 
5
FUNCTIONS
5.3 Using the Counter Value Comparison Function
5.3.2 Using the continuous comparison function
5 - 15
1
OVERVIEW
2
SYSTEM
CONFIGURATION
3
SPECIFICATIONS
4
PROCEDURES AND
SETTINGS BEFORE
OPERATION
5
FUNCTIONS
6
UTILITY PACKAGE (GX
Configurator-CT)
7
PROGRAMMING
8
TROUBLESHOOTING
(2) Operation of the continuous comparison function
Setting example for comparing between point 1 (1000) and point 2
(21000) repeatedly using the continuous comparison No.1 is indicated
below.
(a) Initial setting
Write the following values beforehand. *1
Continuous comparison No.1 start point setting (Un\G50) = 1
Continuous comparison No.1 repeat point setting (Un\G51) = 2
Continuous comparison No.1 ON time setting (Un\G52) = 1ms
Continuous comparison No.1 point 1 setting (Un\G54 and 55) = 1000
Continuous comparison No.1 point 2 setting (Un\G56 and 57) = 21000
* 1 The continuous comparison point can be set up to 16 points each. Beforehand, set all points to be
used. (Refer to Section 3.4.1)
If the settings of buffer memories for the continuous comparison No.1 start point setting (Un\G50)
and so on are improper, an error (Error code 201 to 222) occurs and the continuous comparison
cannot be started.
(b) Operation diagram
Figure 5.4 Operation example of the continuous comparison function
1)
2)
6)
3)
*1
*1 *1
*1
4)
5)
21001
*2 t1<t2< (t1+1ms)
Count enable command
(Y06)
Continuous comparison
No.1 execution command
(Y09)
During continuous
comparison No.1 execution
(X09)
Continuous comparison No.1
point monitor during comparison
(Un\G86)
Counter value small No.1
(X03)
Coincidence output No.1 terminal
(EQU1)
Counter value coincidence No.1
(X02)
Counter value large No.1
(X01)
*1 t1 = Continuous comparison No.1 ON time setting (Un\G52)
Present value
(Un\G12 and 13)
ON
OFF
ON
OFF
ON
OFF
ON
OFF
ON
OFF
ON
OFF
OFF
0
1
1
021
t1
t1
t2 t2
999
1000 1001
20999 21000