EasyManua.ls Logo

Omron CP - PROGRAMMING MANUAL 05-2007 - Page 208

Omron CP - PROGRAMMING MANUAL 05-2007
1175 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
175
Timer and Counter Instructions Section 3-5
Operands N: Timer Number
The timer number must be between 0000 and 4095 (decimal).
S: Set Value
The set value must be between #0000 and 9999 in BCD mode.
Operand Specifications
Description When the timer input is OFF, the timer specified by N is reset, i.e., the timer’s
PV is reset to the SV and its Completion Flag is turned OFF.
When the timer input goes from OFF to ON, TIMH(015)/TIMHX(551) starts
decrementing the PV. The PV will continue timing down as long as the timer
input remains ON and the timers Completion Flag will be turned ON when the
PV reaches 0000.
The status of the timer’s PV and 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 or the timers PV must be changed to a non-zero value (by
MOV(021), for example).
Area N S
CIO Area --- CIO 0 to CIO 6143
Work Area --- W0 to W511
Holding Bit Area --- H0 to H511
Auxiliary Bit Area --- A0 to A959
Timer Area 0000 to 4095 (decimal) T0000 to T4095
Counter Area --- C0000 to C4095
DM Area --- D0 to D32767
Indirect DM addresses
in binary
--- @ D0 to @ D32767
Indirect DM addresses
in BCD
--- *D0 to *D32767
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
SV
Timer input
Timer PV
Completion
Fla
g

Table of Contents

Related product manuals