Collc - Omron CJ - INSTRUCTIONS Reference Manual

Table of Contents

Advertisement

COLLC

Instruction
Mnemonic
DATA COLLECT
COLLC
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
to
Bs+Of
Of: Offset
• Data Collect Operation (Of = 0000 to 7999 BCD)
• FIFO Stack Read Operation (Of = 9000 to 9999 BCD)
• LIFO Stack Read Operation (Of = 8000 to 8999 BCD)
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
Label
Error Flag
P_ER
Equals Flag
P_EQ
Negative Flag
P_N
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Variations
@COLLC
Block program areas
Step program areas
OK
OK
Description
0
to
Indirect DM/EM
@DM
AR
T
C
DM
EM
@EM
OK
OK
OK
OK
OK
• ON if the offset data in Of is not BCD.
• ON if LIFO or FIFO Stack Operation is specified, but the stack pointer data in Bs is not BCD.
• ON if LIFO or FIFO Stack Operation is specified and the stack pointer indicates a word that exceeds the stack data area.
• OFF in all other cases.
• ON if the source data is 0000.
• OFF in all other cases.
• 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 an offset
567
value to the base address) to the destination word.
COLLC
COLLC(567)
Bs
Bs: Source base address
Of
Of: Offset
D
D: Destination word
Subroutines
OK
Data type
WORD
WORD
WORD
addresses
Con-
stants
*DM
DR
*EM
---
---
OK
OK
OK
OK
---
Operation
3. Instructions
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
---
---
3
TR
bits
---
---
1123

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents