Mitsubishi Electronics QD64D2 Drums User Manual


 
5 - 16
5.3 Using the Counter Value Comparison Function
5.3.2 Using the continuous comparison function
5
FUNCTIONS
Table 5.6 Details of operation example of the continuous comparison function
Number Description
1)
[Execution request]
Turn ON the continuous comparison No.1 execution command (Y09).
2)
[Continuous comparison start]
When the continuous comparison is ready, first comparison target will be the
continuous comparison No.1 point 1 setting (Un\G54 and 55) because "1" is set
in the continuous comparison No.1 start point setting (Un\G50).
When "1" is stored in the continuous comparison No.1 point monitor during
comparison (Un\G86), the during continuous comparison No.1 execution (X09)
turns ON and the continuous comparison starts.
3)
[At counter value coincidence]
When the present value (Un\G12 and 13) is equal to the continuous comparison
No.1 point 1 setting, the following are processed.
1) The counter value small No.1 (X03) turns OFF and the counter value
coincidence No.1 (X02) and the coincidence output No.1 terminal (EQU1)
turn ON.
2) A coincidence detection interrupt to the programmable controller CPU is
generated.
4)
[Process after the continuous comparison ON time setting]
After a set time of the continuous comparison No.1 ON time setting (Un\G52)
elapses, the coincidence output No.1 terminal (EQU1) turns OFF.
•Comparison target will be the continuous comparison No.1 point 2 setting
(Un\G56 and 57).
•"2" is stored in the continuous comparison No.1 point monitor during
comparison (Un\G86).
•The counter value coincidence No.1 (X02) turns OFF.
5)
When OFF of the coincidence output No.1 terminal (EQU1) is detected, the
following are processed.
(After that, the comparison is repeated with the continuous comparison No.1
point 2 setting (Un\G56 and 57) and the continuous comparison No.1 point 1
setting (Un\G54 and 55) until the continuous comparison No.1 execution
command (Y09) is turned OFF. )
•Comparison target will be the continuous comparison No.1 point 1 setting
(Un\G54 and 55).
•"1" is stored in the continuous comparison No.1 point monitor during
comparison (Un\G86).
•The counter value coincidence No.1 (X02) turns OFF.
6)
[Complete process]
When the coninuous comparison No.1 execution command (Y09) is turned OFF,
the following are processed and the during continuous comparison No.1
execution (X09) turns OFF.
•The counter value small No.1 (X03) turns OFF.
•The counter value coincidence No.1 (X02) turns OFF.
•The counter value large No.1 (X01) turns OFF.
The continuous comparison No.1 point monitor during comparison (Un\G86) is
held until the during continuous comparison No.1 execution (X09) turns ON.