Mitsubishi Electronics C6 Home Safety Product User Manual


 
5. Explanation of Devices
5.3 Detailed Explanation of Devices
- 72 -
(3) Cautions for when using the same counter at two or more positions.
The counter programmed last will be valid even if the counter is set in the subprogram which is
not ladder-processed according to the branch as shown in the following circuit.
M100
CALL P100
M100
CALL P110
FEND
NOPLF
C20 K50
C20
Y10
RET
NOPLF
M1100
M1100
C20 K30
C20
Y10
RET
NOPLF
P100
P110
In the circuit above, when M100 is ON, the subprogram of P110 will not be processed. However,
the value of K30 programmed in the subprogram of P110 will be valid as the C20 counter value.
Therefore, when the circuit above is executed, the counter setting value will be the value of K30,
in other words, Y10 device will be ON after 30 counts although the subprogram of P100
processed.
To make a correct operation, program the circuit as shown in the next page.