Coll - Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual

Table of Contents

Advertisement

3. Instructions

COLL

Instruction
DATA COLLECT
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
Bs
Source base address
Of
Offset
D
Destination word
Bs: Source Base Address
15
Bs
Bs+Of
Of: Offset
The offset can be any value from 0000 to FFFF (0 to 65,535 decimal).
Note Bs and Bs+Of must be in the same data area.
Operand Specifications
Word addresses
Area
CIO
WR
HR
Bs
Of
OK
OK
OK
D
Flags
Name
Error Flag
Equals Flag
Negative Flag
300
Mnemonic
Variations
COLL
@COLL
Block program areas
Step program areas
OK
OK
Description
0
AR
T
C
DM
EM
OK
OK
OK
OK
OK
Label
ER
OFF
=
• ON if the source data is 0000.
• OFF in all other cases.
N
• ON if the leftmost bit of the source data is 1.
• OFF in all other cases
Function
code
Transfers the source word (calculated by adding
081
an offset value to the base address) to the desti-
nation word.
COLL
COLL(081)
Bs: Source base address
Bs
Of
Of: Offset
D
D: Destination word
Subroutines
OK
Data type
WORD
WORD
WORD
Indirect DM/EM
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
---
---
OK
OK
OK
OK
---
Operation
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Function
SFC action or
Interrupt tasks
transition programs
OK
OK
Size
1
1
1
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
OK
---
---
TR
bits
---
---

Advertisement

Table of Contents
loading

Table of Contents