Data Collect: Coll(045) - Omron CVM1D Operation Manual

Hide thumbs Also See for CVM1D:
Table of Contents

Advertisement

Data Movement Instructions

5-15-15 DATA COLLECT: COLL(045)

Ladder Symbol
(045)
COLL SBs
Variations
j COLL(045)
Description
Precautions
Flags
Example
0000
05
CIO 0002
CIO 0030
D00410
Of
D
When the execution condition is OFF, COLL(045) is not executed. When the ex-
ecution condition is ON, COLL(045) copies the content of SBs + Of to D, i.e., Of
is added to SBs to determine the source word.
Of must be BCD.
Note Refer to page 101 for general precautions on operand data areas.
ER (A50003):
Of is not BCD.
Content of *DM word is not BCD when set for BCD.
EQ (A50006):
Content of S is 0.
N (A50008):
Same status as bit 15 of D after execution.
When CIO 000005 is ON in the following example, the source word (CIO 0007) is
calculated by adding 5 (the content of CIO 0020) to the source base word
(CIO 0002). The content of CIO 0007 is then copied to the destination word
(D00200).
(045)
COLL
0002
0020
CIO 0020
CIO 007
D00200
Before
execution
4
5
6
7
0
0
1
0
0
0
0
0
Operand Data Areas
SBs: Source base
CIO, G, A, T, C, DM
Of: Offset data
CIO, G, A, T, C, #, DM, DR, IR
D: Destination word
CIO, G, A, T, C, DM, DR, IR
SBs + Of
3 4 5
2
D00200
Before
execution
0
0
0
5
4
0
9
5
0
0
0
0
Section 5-15
After
execution
CIO 0002
4
5
6
7
CIO 0030
0
0
1
0
D00410
4
5
6
7
D
3 4 5
2
Address Instruction
00000
LD
00001
COLL(045)
After
execution
CIO 0020
0
0
0
5
CIO 007
4
0
9
5
D00200
4
0
9
5
Operands
000005
0002
0020
D00200
191

Advertisement

Table of Contents
loading

Table of Contents