3. Instructions
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
ER
Equals Flag
=
Negative Flag
N
1076
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
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
---
---
Need help?
Do you have a question about the CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 and is the answer not in the manual?
Questions and answers