EasyManua.ls Logo

Omron CP - PROGRAMMING MANUAL 05-2007 - Page 1032

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...
999
Block Programming Instructions Section 3-30
Operand Specifications
Description CNTW(814)/CNTWX(818) creates a decrementing counter that delays execu-
tion of the instructions following it in the block program until the counter has
counted out. The set value for CNTW(814) is specified in BCD between 0000
and 9999. The set value for CNTWX(818) is specified in binary between 0000
and FFFF hex.
The first part of the block program is executed the first time the block program
is entered. When CNTW(814)/CNTWX(818) is reached, the Completion Flag
is reset to 0, the counter is preset to SV, and execution of the rest of the block
program will wait until the counter has counted out. The counter counts pulses
(upward differentiation) on I, the counter input.
While the counter is counting down, only CNTW(814)/CNTWX(818) will be
executed to update the counter. When the counter counts out, the Completion
Flag will turn ON and the rest of the block program will be executed. Once the
entire block program has been executed, the process will be repeated.
CNTW(814)/CNTWX(818) can be thought of as a WAIT instruction with a
counter for the execution condition and it can thus be used for timed step pro-
gressions.
Area N SV I
CIO Area --- CIO 0 to CIO 6143 CIO 0.00 to
CIO 6143.15
Work Area --- W0 to W511 W0.00 to
W511.15
Holding Bit Area --- H0 to H511 H0.00 to H511.15
Auxiliary Bit Area --- A0 to A447
A448 to A959
A0.00 to A447.15
A448.00 to
A959.15
Timer Area --- T0000 to T4095 T0000 to T4095
Counter Area 0 to 4095 C0000 to C4095 C0000 to C4095
Task Flags --- TK00 to TK31
Condition Flags --- ER, CY, >, =, <, N,
OF, UF, >=, <>,
<=, ON,OFF, AER
Clock Pulses --- 0.02 s, 0.1 s,
0.2 s, 1 s, 1 min
DM Area --- D0 to D32767 ---
Indirect DM addresses
in binary
--- @ D0 to @ D3276 ---
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
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15

Table of Contents

Related product manuals