Dist - Omron SYSMAC CP Series Instruction & Reference Manual

Cpu unit
Hide thumbs Also See for SYSMAC CP Series:
Table of Contents

Advertisement

DIST

Instruction
SINGLE WORD DISTRIBUTE
Symbol
Applicable Program Areas
Area
Usage
Operands
Operand
S
Source word
Bs
Destination base address
Of
Offset
Bs: Destination 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
S
Bs
OK
OK
OK
Of
Flags
Name
Error Flag
Equals Flag
Negative Flag
CP1E CPU Unit Instructions Reference Manual(W483)
Mnemonic
Variations
DIST
@DIST
Step program areas
OK
Description
0
AR
T
C
DM
OK
OK
OK
OK
Label
P_ER
OFF
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
080
calculated by adding an offset value to the base
address.
DIST
DIST(080)
S: Source word
S
Bs
Bs: Destination base address
Of
Of: Offset
Subroutines
OK
Data type
WORD
WORD
UINT
Indirect DM addresses
Constants
@DM
*DM
OK
OK
OK
---
OK
Operation
2 Instructions
Function
Interrupt tasks
OK
Size
1
1
1
CF
Pulse bits
TR bits
---
---
---
2-123
2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents