Hitachi HIDIC MICRO-EH Applications Manual page 134

Table of Contents

Advertisement

Item number
Application instructions-13
Ladder format
COPY (d, s, n)
Instruction format
COPY (d, s, n)
Usable I/O
d
Copy destination head I/O
s
Copy source head I/O
Number of bits (words)
n
to be copied
Function
The value of s (bit, word) is copied from d to d + n - 1.
The value of s is retained.
A bit is copied to bits and a word is copied to words.
s
s
s
s
d+n-1
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 copied.
If n is a constant:
0 to 255 (decimal) can be designated for the number of bits (words) to be copied.
Notes
Use this instruction so that d + n - 1 does not exceed the I/O range (R7BF, M3FFF, WRFFF, and WM3FF). If it exceeds the
I/O range, DER is equal to '1' and transfers to the maximum range.
If n is equal to "0," the block copy is not be performed and DER (R7F4) will be set to "0."
Processing time (µs) (Average)
n
Bit
1
80
16
83
32
83
64
88
128
95
255
109
Name
Condition code
R7F4
R7F3
R7F2
DER
ERR
SD
Number of steps
Condition
Bit
R,
TD, SS,
X
Y
M
CU, CT
WX WY
s
s
s
s
s
n bits (words)
Word
73
114
148
224
381
785
5-84
Chapter 5 Instruction Specifications
Copy
Processing time (µs)
R7F1
R7F0
Average Maximum
V
C
As per the table
below.
Steps
4
Word
Double word
WR,
WM TC DX DY
s
s
d
Remark
DR,
Other
DM
The constant is set in
decimal.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents