Omron CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 Reference Manual page 313

Programmable controllers
Hide thumbs Also See for CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

3. Instructions
Function
MOV
Transfers S to D. If S is a constant, the value
can be used for a data setting.
MOVL
MOVL(498) transfers S+1 and S to D+1 and
D. If S+1 and S are constants, the value can
be used for a data setting.
Precautions
MOV(021) has an immediate refreshing variation (!MOV(021)). An external input bits can be specified
for S and external output bits can be specified for D. Input bits used for S will refreshed just before, and
output bits used for D will be refreshed just after execution unless the bits are allocated to a Group-2
High-density I/O Unit, High-density Special I/O Unit, or a Unit mounted in a SYSMAC BUS Remote I/O
Slave Rack.
When external input is specified for S, the value of S will be in-refreshed when the instruction is
executed and transferred to D. When external output is specified for D, the value of S will be transferred
to D and immediately out-refreshed when the instruction is executed. It is also possible to in-refresh S
and out-refresh D at the same time.
Sample program
When CIO 0.00 is ON in the following example, the content of CIO 100 is copied to D100.
0.00
276
D100
D100
S
D
S+1
S
D+1
D
CS/CJ/NSJ Series Instructions Reference Manual (W474)

Advertisement

Table of Contents
loading

Table of Contents