149
Bit status will remain ON or OFF for only one scan after pressing the key; it
will then return to its original status. When timers or counters are reset in
MONITOR mode, they will start after one scan.
This operation can be used in MONITOR mode to check wiring of outputs
from the PC prior to actual program execution. This operation cannot be
used in RUN mode.
Key Sequence
The following example shows how either bits or timers can be controlled with
the Force Set/Reset operation. The displays shown below are for the follow-
ing program section.
Address Instruction Data
0200 LD 0002
0201 TIM 00
# 0123
0202 LD TIM 00
0203 OR 0501
0204 AND NOT 0003
0205 OUT 0501
0002
TIM 00
TIM
00
0501
0501
0003
The following displays show what happens when TIM 00 is set with 0100
OFF (i.e., 0500 is turned ON) and what happens when TIM 00 is reset with
0100 ON (i.e., timer starts operation, turning OFF 0500, which is turned back
ON when the timer has finished counting down the SV).
Example
Monitoring Operation and Modifying Data Section 7–7