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

Table of Contents

Advertisement

DISTC

Instruction
SINGLE WORD DISTRIBUTE
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
OK
Operands
Operand
S
Source word
Bs
Destination base address
Of
Offset
Bs: Destination Base Address
15
Bs
to
Bs+Of
Of: Offset
• Data Distribution Operation (0000 to 7999 BCD)
• Stack Push Operation (9000 to 9999 BCD)
Note Bs and Bs+Of must be in the same data area.
Operand Specifications
Word addresses
Area
CIO
WR
HR
S
Bs
OK
OK
OK
Of
Flags
Name
Error Flag
Equals Flag
Negative Flag
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Mnemonic
Variations
DISTC
@DISTC
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
Label
P_ER
• ON if the offset data in Of is not BCD.
• ON if Stack Push Operation is specified, but the stack pointer data in Bs is not BCD.
• ON if Stack Push Operation is specified and the stack pointer indicates a word that exceeds the stack
data area.
P_EQ
• ON if the source data is 0000.
• OFF in all other cases.
P_N
• ON if the leftmost bit of the source data is 1.
• OFF in all other cases.
Function
code
Transfers the source word to a destination word
566
calculated by adding an offset value to the base
address.
DISTC
DISTC(566)
S: Source word
S
Bs: Destination base address
Bs
Of: Offset
Of
Subroutines
OK
Data type
WORD
WORD
WORD
addresses
Con-
stants
*DM
DR
*EM
OK
OK
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
---
---
1101

Advertisement

Table of Contents
loading

Table of Contents