EasyManuals Logo

Omron CJ - INSTRUCTIONS User Manual

Omron CJ - INSTRUCTIONS
1308 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
Page #1161 background imageLoading...
Page #1161 background image
1123
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Model Conversion Instructions
3
COLLC
COLLC
Applicable Program Areas
Operands
Bs: Source base address
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.
z Operand Specifications
Flags
Instruction Mnemonic Variations
Function
code
Function
DATA COLLECT COLLC @COLLC 567
Transfers the source word (calculated by adding an offset
value to the base address) to the destination word.
Symbol
COLLC
Area
Function block
definitions
Block program areas Step program areas Subroutines Interrupt tasks
SFC action or
transition programs
Usage OK OK OK OK OK OK
Operand Description Data type Size
Bs Source base address WORD 1
Of Offset WORD 1
D Destination word WORD 1
Area
Word addresses
Indirect DM/EM
addresses
Con-
stants
Registers Flags
Pulse
bits
TR
bits
CIO WR HR AR T C DM EM
@DM
@EM
*DM
*EM
DR IR
Indirect
using IR
TK CF
Bs
OK OK OK OK OK OK OK OK OK OK
--- ---
---
OK
--- --- --- ---
Of
OK
OK
D ---
Name Label Operation
Error Flag P_ER • 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.
Equals Flag P_EQ • ON if the source data is 0000.
• OFF in all other cases.
Negative Flag P_N • ON if the leftmost bit of the source data is 1.
• OFF in all other cases.
Bs: Source base address
COLLC(567)
Bs
Of
D
D: Destination word
Of: Offset
15 0
to
to
Bs
Bs+Of

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ - INSTRUCTIONS and is the answer not in the manual?

Omron CJ - INSTRUCTIONS Specifications

General IconGeneral
BrandOmron
ModelCJ - INSTRUCTIONS
CategoryController
LanguageEnglish

Related product manuals