Mitsubishi Electronics 0 Universal Remote User Manual


 
104
(7) Program example
The following figure shows a program example. Write the program to the CPU module on the master station.
Timers for interlock between the own and other stations (T1 to T5) are set to 100ms.
This program is set only when
linear counter is used.
CH1 Coincidence signal No.1
reset command (Y1000) is reset.
CH1 Coincidence signal enable
command (Y1002) is reset.
CH1 Coincidence signal No.1
reset command (Y1000) is set.
CH1 Coincidence signal enable
command (Y1002) is set.
The LED indicating a match is
turned on.
CH1 Coincidence signal No.1
reset command (Y1000) is set.
CH1 Coincidence signal No.1
reset command (Y1000) is reset.
CH1 Preset command (Y1001)
is set.
CH1 Preset command (Y1001)
is reset.
<Checking the data link status of station No.1 (head module)>
A
<Start of counting>
<Stop of counting>
<Setting for output of the counter value coincidence signal>
<Processing for count value coincidence>
<Preset execution (by program)>
<Overflow detection>