5 I/O Memory
5-14
CP2E CPU Unit Software User’s Manual(W614)
z
Timer PV Refresh Method
Precautions for Correct Use
Precautions for Correct Use
It is not recommended to use the same timers number in two timer instructions because the tim-
ers will not operate correctly if they are operating simultaneously.
Do not use the same timer number for more than one instruction.
If two or more timer instructions use the same timer number, an error will be generated during
the program check.
z
Resetting or Maintaining Timers
•
Timer Completion Flags can be force-set and force-reset.
•
Timer PVs cannot be force-set or force-reset, although the PVs can be refreshed indirectly by
force-setting/resetting the Completion Flag.
•
There are no restrictions in the order of using timer numbers or in the number of N.C. or N.O. con-
ditions that can be programmed.
•
Timer PVs can be read as word data and used in programming.
•
The following table shows when timers will be reset or maintained.
*1
If the IOM Hold Bit (A500.12) is ON, the PV and Completion Flag will be retained when a fatal error occurs
(including execution of FALS instructions) or the operating mode is changed from PROGRAM mode to
RUN or MONITOR mode or vice-versa. (The PV and Completion Flag will be cleared when power is
cycled.)
*2
Since the TIML/TIMLX instructions do not use timer numbers, they are reset under different conditions.
The PV for a TIML/TIMLX instruction is reset to the SV.
Refer to the descriptions of these instructions for details.
Timer num-
bers
Timer PV refresh method
T0 to T255
The timer PV is refreshed when the instruction is executed. This can cause a delay depending
on the cycle time.
•
When the cycle time is longer than 100 ms, delay is generated by the TIM/TIMX instruction.
•
When the cycle time is longer than 10 ms, delay is generated by the TIMH/TIMHX instruction.
•
When the cycle time is longer than 1 ms, delay is generated by the TMHH/TMHHX instruction.
Instruction
TIM/TIMX
TIMH/TIMHX
TMHH/
TMHHX
TTIM/
TTIMX
HUNDRED-MS
TIMER
TEN-MS TIMER
ONE-MS TIMER
ACCUMULA
TIVE TIMER
When the operating mode is
changed between PROGRAM or
MONITOR mode and RUN mode
*1
PV=0
Flag=OFF
When the PLC power is reset
PV=0
Flag=OFF
CNR/CNRX instructions
(timer/counter reset)
*2
PV= 9999/FFFF
Flag=OFF
Jumps (JMP-JME)
Retained
Interlocks (IL-ILC) with OFF inter-
lock conditions
Reset (PV = SV, Timer Completion Flag = OFF)
Retained
Содержание SYSMAC CP Series
Страница 1: ...USER S MANUAL Cat No W614 E1 01 SYSMAC CP Series CP2E E D CP2E S D CP2E N D CP2E CPU Unit Software ...
Страница 3: ......
Страница 32: ...1 Overview 1 4 CP2E CPU Unit Software User s Manual W614 ...
Страница 44: ...3 CPU Unit Operation 3 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 116: ...6 I O Allocation 6 8 CP2E CPU Unit Software User s Manual W614 ...
Страница 144: ...7 PLC Setup 7 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 170: ...10 Interrupts 10 14 CP2E CPU Unit Software User s Manual W614 ...
Страница 200: ...11 High speed Counters 11 30 CP2E CPU Unit Software User s Manual W614 ...
Страница 272: ...12 Pulse Outputs 12 72 CP2E CPU Unit Software User s Manual W614 ...
Страница 278: ...13 PWM Outputs 13 6 CP2E CPU Unit Software User s Manual W614 ...
Страница 460: ...18 Programming Device Operations 18 28 CP2E CPU Unit Software User s Manual W614 ...
Страница 576: ...Revision 2 CP2E CPU Unit Software User s Manual W614 ...
Страница 577: ......