
258
Timer and Counter Instructions
Section 3-6
Description
When the timer input is OFF, the timer specified by N is reset, i.e., the timer’s
Completion Flag is turned OFF.
When the timer input goes from OFF to ON, TIMU(541)/TIMUX(556) starts
decrementing the PV. If the set value is reached while the timer input is ON,
the timer’s Completion Flag will be turned ON (the timer times out).
The status of the timer’s Completion Flag will be maintained after the timer
times out. To restart the timer, the timer input must be turned OFF and then
ON again.
Read this timer’s Completion Flag only. The timer’s PV is used by the system,
so it cannot be read.
Flags
Precautions
Timer numbers are shared with other timer instructions. If two timers share
the same timer number, but are not used simultaneously, a duplication error
will be generated when the program is checked, but the timers will operate
normally. Timers which share the same timer number will not operate properly
if they are used simultaneously.
The timer PV cannot be read.
The Completion Flag is updated only when TIMU(541)/TIMUX(556) is exe-
cuted. The Completion Flag can thus be delayed by up to one cycle time from
the actual set value.
The timer will not operate properly when the cycle time exceeds 100 ms.
Timers will be reset or paused in the following cases. (When a timer is reset,
its PV is reset to the SV and its Completion Flag is turned OFF.)
Indirect DM/EM
addresses in BCD
---
*D00000 to *D32767
*E00000 to *E32767
*En_00000 to *En_32767
(n = 0 to C)
Constants
---
BCD:
#0000 to 9999 (BCD)
“&” cannot be used.
Binary:
&0 to &65535 (decimal)
#0000 to #FFFF (hex)
Data Registers
---
DR0 to DR15
Index Registers
---
---
Indirect addressing
using Index Registers
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
Area
N
S
Name
Label
Operation
Error Flag
ER
ON if timer number N is indirectly addressed through an
Index Register but the address in the Index Register is not
the address of a timer’s Completion Flag or PV.
ON if in BCD mode and S does not contain BCD data.
OFF in all other cases.
Equals Flag
=
Unchanged
Negative Flag
N
Unchanged
Condition
Completion Flag
Operating mode changed from RUN or MONITOR mode
to PROGRAM mode or vice versa. (See note 1.)
OFF
Power supply interrupted and reset (See note 2.)
OFF
Summary of Contents for SYSMAC CS Series
Page 2: ......
Page 4: ...iv ...
Page 30: ...xxx ...
Page 186: ...146 List of Instructions by Function Code Section 2 4 ...
Page 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Page 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Page 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Page 1392: ...1352 ASCII Code Table Appendix A ...
Page 1404: ...1364 Revision History ...