Omron SYSMAC CP Series Instruction & Reference Manual page 101

Cpu unit
Hide thumbs Also See for SYSMAC CP Series:
Table of Contents

Advertisement

2) Clock Pulse
The desired execution condition can be combined with a clock pulse to mimic the clock pulse (0.1 s, 0.2
s, or 1.0 s).
0.00
P. 1s (1-s clock pulse)
0.00
1s
A
B
100.06
A,B=0.5s
Timer reset method
There are two methods for resetting a timer instruction.
1. Turn OFF the execution condition for the timer instruction.
The timer will be reset when its execution condition turns OFF.
The timer will start timing again when its execution condition turns ON.
With this method, a timer cannot be reset and then restarted within the same cycle.
0.01
ON
Timer input
CIO 0.01
OFF
Timer PV
T0010
ON
Completion
Flag
OFF
T0010
2. Use the RESET TIMER/COUNTER instruction.
The specified instruction will be reset when the RESET TIMER/COUNTER instruction (CNR/CNRX) is
executed.
CP1E CPU Unit Instructions Reference Manual(W483)
100.06
TIM
When CIO 0.01 turns ON, the timer starts timing.
When CIO 0.01 turns OFF, the timer is reset.
0010
#100
Instruction
Operands
LD
0.00
AND
1s
OUT
100.06
• The internal clock pulse (0.1 s, 0.2 s, 1 s) can be
used to easily program a flicker circuit.
The timer cannot be reset and then
restarted within the same cycle.
2 Instructions
2
2-65

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents