EasyManua.ls Logo

Omron SYSMAC CV Series - Page 140

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...
128
In diagram A, below, whenever MOVQ(037) is executed with an ON execution
condition it will move the contents of CIO 1200 to A001. If the execution condition
remains ON, the content of A001 will be changed each cycle that the content of
CIO 1200 changes. Diagram B, however, is an example of how DIFU(013) can
be used to ensure that MOVQ(037) is executed only once each time the desired
execution condition goes ON. Here, the contents of A001 will remain the same
until CIO 022500 goes from OFF to ON.
Diagram A
Diagram B
Address Instruction
00000 LD 000000
00001 MOVQ(037)
1200
A001
0000
00
0000
00
0225
00
(037)
MOVQ 1200 A0001
(037)
MOVQ 1200 A0001
(013)
DIFU 022500
Operands
Address Instruction Operands
00000 LD 000000
00001 DIFU(013) 022500
00002 LD 022500
00003 MOVQ(037)
1200
A001
Note: UP(018) and DOWN(019) can also be used to control differentiated execution of
instructions. Refer to page 123 for details.
Although a differentiated form of MOV(030) is available, the following diagram
would be very complicated to draw using it because only one of the conditions
determining the execution condition for MOV(030) requires differentiated treat-
ment.
Address Instruction
00000 LD 000000
00001 DIFU(013) 022500
00002 LD 022500
00003 LD 000001
00004 AND NOT 000002
00005 AND NOT 000003
00006 OR LD ---
00007 LD 000004
00008 AND NOT 000005
00009 OR LD ---
00010 MOV(030)
1210
D00000
(030)
MOV 1210 D00000
0000
00
(013)
DIFU 022500
0225
00
0000
01
0000
04
0000
02
0000
03
0000
05
Operands
Example 1: Use when
There’s No Differentiated
Instruction
Example 2: Use to Simplify
Programming
Bit Control Instructions Section 5-7

Table of Contents

Related product manuals