Hitachi HIDIC MICRO-EH Applications Manual page 132

Table of Contents

Advertisement

Item number
Application instructions-12
Ladder format
MOV (d, s, n)
Instruction format
MOV (d, s, n)
Usable I/O
d
Transfer destination head I/O
s
Transfer source head I/O
Number of bits (words)
n
to be transferred
Function
Transfers n bits (words) between s and s + n − 1 to d + n − 1.
The values between s and s + n − 1 are retained. However, if the transfer source and transfer destination ranges overlap, the
transferred values will be used.
Before execution
After execution
If n is a word:
The contents (0 to 255) of the lower 8 bits (b7 to b0) of n (WX, WY, WR, WM, TC) are set to the
number of bits (words) to be transferred.
If n is a constant:
0 to 255 (decimal) can be designated for the number of bits (words) to be transferred.
Notes
Use this instruction so that d + n − 1 and s + n − 1 do not exceed the I/O range (R7BF, M3FFF, WRFFF, and WM3FF). If
the I/O range is exceeded, DER is equal to '1' and the transfer is performed to the maximum range.
If n is equal to "0," the block transfer is not performed and DER (R7F4) will be set to "0."
Processing time (µs) (Average)
n
1
16
32
64
128
255
Name
Condition code
R7F4
R7F3
R7F2
DER
ERR
SD
Number of steps
Condition
Bit
R,
TD, SS,
X
Y
M
CU, CT
WX WY
n bits (words)
s+n-1
d+n-1
Bit
Word
153
124
165
154
166
197
175
282
199
430
226
780
5-82
Chapter 5 Instruction Specifications
Block transfer (MOVE)
Processing time (µs)
R7F1
R7F0
Average Maximum
V
C
As per the table
below.
Steps
4
Word
Double word
WR,
DR,
WM TC DX DY
DM
s
d
Remark
Other
The constant is set in
decimal.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents