Data Collect: Coll(081) - Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Reference Manual

Programmable controllers
Hide thumbs Also See for SYSMAC CJ - REFERENCE MANUAL 08-2008:
Table of Contents

Advertisement

Data Movement Instructions
Description
Flags
Precautions
Example
S
Bs
Of

3-8-13 DATA COLLECT: COLL(081)

Purpose
Ladder Symbol
Variations
354
DIST(080) copies S to the destination word calculated by adding Of to Bs.
The same DIST(080) instruction can be used to distribute the source word to
various words in the data area by changing the value of Of.
S
Name
Label
Error Flag
ER
Equals Flag
=
Negative Flag
N
Be sure that the offset does not exceed the end of the data area, i.e., Bs and
Bs+Of are in the same data area.
When CIO 000000 is ON in the following example, the contents of D00100 will
be copied to D00210 (D00200 + 10) if the contents of D00300 is 10 (0A hexa-
decimal). The contents of D00100 can be copied to other words by changing
the offset in D00300.
S: D00100
Copied by DIST(080).
Bs:
D00210
Transfers the source word (calculated by adding an offset value to the base
address) to the destination word.
COLL(081)
Bs: Source base address
Bs
Of: Offset
Of
D: Destination word
D
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported
Immediate Refreshing Specification
Bs
Bs+n
Operation
OFF
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.
Offset +10 words
Section 3-8
Of
Of:
0 0 0 A
4-digit hexadecimal
COLL(081)
@COLL(081)
Not supported

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cs seriesSysmac one nsj seriesSysmac cj series

Table of Contents