EasyManua.ls Logo

Omron CP - PROGRAMMING MANUAL 05-2007 - Page 222

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...
189
Timer and Counter Instructions Section 3-5
Note S through S+7 must be in the same data area.
Operand Specifications
Description When the execution condition for MTIM(543)/MTIMX(554) is ON and the reset
and timer bits are both OFF, MTIM(543)/MTIMX(554) increments the PV in
D2. If the pause bit is turned ON, the timer will stop incrementing the PV, but
the PV will retain its value. MTIM(543)/MTIMX(554) will resume timing when
the pause bit goes OFF again.
The PV (content of D2) is compared to the eight SVs in S through S+7 each
time that MTIM(543)/MTIMX(554) is executed, and if any of the SVs is less
than or equal to the PV, the corresponding Completion Flag (D1 bits 00
through 07) is turned ON.
When the PV reaches 9999, the PV will be reset to 0000 and all of the Com-
pletion Flags will be turned OFF. If the reset bit is turned ON while the timer is
operating or paused, the PV will be reset to 0000 and all of the Completion
Flags will be turned OFF.
Data Range
BCD One word for each of 8 timer SV:
#0000 to #9999
Binary One word for each of 8 timer SV:
&0 to &65535 (decimal)
#0000 to #FFFF (hex)
Area D1 D2 S
CIO Area CIO 0 to CIO 6143 CIO 0 to
CIO 6136
Work Area W0 to W511 W0 to W504
Holding Bit Area H0 to H511 H0 to H504
Auxiliary Bit Area A448 to A959 A0 to A952
Timer Area T0000 to T4095 T0000 to T4088
Counter Area C0000 to C4095 C0000 to C4088
DM Area D0 to D32767 D0 to D32760
Indirect DM addresses in
binary
@ D0 to @ D32767
Indirect DM addresses in BCD *D0 to *D32767
Constants ---
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
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15

Table of Contents

Related product manuals