5-13 Data Movement; Move - Mov(21) - Omron SYSMAC C20P Operation Manual

Sysmac programmable controllers
Hide thumbs Also See for SYSMAC C20P:
Table of Contents

Advertisement

Data Movement
Flags
5–13 Data Movement
5–13–1 Move – MOV(21)
Description
Precautions
Flags
E
F
0
C
Lost
E
3
4
5
ER:
St and E are not in the same data area.
Indirectly addressed DM word is non-existent. (Content of *DM word
is not BCD, or the DM area boundary has been exceeded.)
This section describes the instructions used for moving data between differ-
ent addresses in data areas. These movements can be programmed within
the same data area or between different data areas. Data movement is es-
sential for utilizing all of the data areas of the PC. All of these instructions
change only the content of the words to which data is being moved, i.e., the
content of source words is the same before and after execution of any of the
move instructions.
Ladder Symbol
MOV(21)
S
D
When the execution condition is OFF, MOV(21) is not executed and the next
instruction is moved to. When the execution condition is ON, MOV(21) trans-
fers the content of S (specified word or four-digit hexadecimal constant) to D.
Source word
TC numbers cannot be designated as D to change the PV of the timer or
counter.
EQ:
ON when all zeros are transferred to D.
St + 1
2
3
4
5
2
1
St + 1
2
1
0
2
9
0
Operand Data Areas
S : Source word
IR, SR, DM, HR, TC, #
D : Destination word
Bit status
not changed.
Section 5–13
St
0
2
9
0000
St
0
0
0
IR, DM, HR
Destination word
81

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac c28pSysmac c40pSysmac c60p

Table of Contents