EasyManua.ls Logo

Omron SYSMAC CV Series - Counter Wait: Cntw014

Omron SYSMAC CV Series
636 pages
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...
448
Example In the following example, B will be executed 20 seconds after A whenever
CIO 000000 is ON, and CIO 002000 will be set 0.2 seconds after
CIO 000001 goes ON.
000000 LD 000000
000001 BPRG(250) 00
A
000200 TIMW<013> 0001
# 0200
B
000300 BEND<001>
000301 LD 000001
000302 BPRG(250) 01
000303 TMHW<015> 0002
# 0020
000304 SET(016) 002000
000305 BEND<001>
TIMW<013>
A
B
BEND<001>
0001
#0200
TMHW<015>
SET(016)
BEND<001>
0002
#0020
002000
Address Instruction Operands
(250)
BPRG 00
0000
00
(250)
BPRG 01
0000
01
Flags ER (A 50003): SV data is not BCD.
Indirectly addressed DM word is non-existent. (Content of *DM
word is not BCD, or the DM area boundary has been exceed-
ed.)
5-38-9 COUNTER WAIT: CNTW<014>
SV: Set value CIO, G, A, T, C, #, DM, DR, IR
I: Count input CIO, G, A, T, C
N: Counter number C
Operand Data AreasLadder Symbol
CNTW<014> N
SV
I
CNTW<014> allows you to create a ‘count’ lag (SV) between execution of the
program part preceding the CNTW<014> (i.e., between BPRG(250) and
CNTW<014> ) and the part following it (i.e., between CNTW<014> and
BEND<001>). The first part will be executed the first time the block program
is entered. When CNTW<014> is reached, the execution of the block pro-
gram will stop until SV has been reached, at which time the second part of
the block program will be executed. Once the entire block program has been
executed, the process is repeated.
Each counter number can be used as the definer in only one timer or counter
instruction, including the normal ladder-diagram timers and counters.
Description
Precautions
(CVM1 V2)
Block Programming Instructions Section 5-38

Table of Contents

Related product manuals