Mitsubishi Electronics 0 Universal Remote User Manual


 
82
Read CH Periodic pulse count, previous value (Un\G16, Un\G17, Un\G48, Un\G49) and CH Periodic pulse count,
present value (Un\G18, Un\G19, Un\G50, Un\G51) by two words at a time.
Program example
Depending on the relationship between the update timing of the previous value or present value in the module and its read
timing in the program, the previous value and present value may match.
If the previous value and present value match, read the values again. ( Page 95, Section 10.1 (7) (b))
No. Description
1)
The present counter value, 0, is stored in CH Periodic pulse count, present value (Un\G18, Un\G19, Un\G50,
Un\G51).
2)
The present counter value, 200, is stored in CH Periodic pulse count, present value (Un\G18, Un\G19, Un\G50,
Un\G51).
The value 0, which has been stored in CH Periodic pulse count, present value (Un\G18, Un\G19, Un\G50,
Un\G51), is then stored in CH Periodic pulse count, previous value (Un\G16, Un\G17, Un\G48, Un\G49).
3)
The present counter value, 20, is stored in CH Periodic pulse count, present value (Un\G18, Un\G19, Un\G50,
Un\G51).
The value 200, which has been stored in CH Periodic pulse count, present value (Un\G18, Un\G19, Un\G50,
Un\G51), is then stored in CH Periodic pulse count, previous value (Un\G16, Un\G17, Un\G48, Un\G49).
4)
The present counter value, 100, is stored in CH Periodic pulse count, present value (Un\G18, Un\G19, Un\G50,
Un\G51).
The value 20, which has been stored in CH Periodic pulse count, present value (Un\G18, Un\G19, Un\G50,
Un\G51), is then stored in CH Periodic pulse count, previous value (Un\G16, Un\G17, Un\G48, Un\G49).
5)
The present counter value, 80, is stored in CH Periodic pulse count, present value (Un\G18, Un\G19, Un\G50,
Un\G51).
The value 100, which has been stored in CH Periodic pulse count, present value (Un\G18, Un\G19, Un\G50,
Un\G51), is then stored in CH Periodic pulse count, previous value (Un\G16, Un\G17, Un\G48, Un\G49).
6)
The periodic pulse counter function is performed regardless the on/off status of CH Count enable command (Y4,
YC).
7)
While the periodic pulse counter function is performed, "1" is stored in CH Sampling/periodic counter flag (Un\G11,
Un\G43).
Ex.