Chapter 5 Instruction Specifications
5-84
Item number
Application instructions-13
Name
Copy
Ladder format
Condition code
Processing time (
µ
s)
Remark
R7F4
R7F3
R7F2
R7F1
R7F0
Average Maximum
COPY (d, s, n)
DER
ERR
SD
V
C
↕
z
z
z
z
Instruction format
Number of steps
Condition
Steps
As per the table
below.
COPY (d, s, n)
4
Bit
Word
Double word
Usable I/O
X
Y
R,
M
TD, SS,
CU, CT
WX WY
WR,
WM TC DX DY
DR,
DM
C
o
nstant
Other
d
Copy destination head I/O
{
{
s
Copy source head I/O
{
{
{
{
{
{
{
{
n
Number of bits (words)
to be copied
{
{
{
{
{
The constant is set in
decimal.
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.
d+n-1
d
s
s
s
s
s
s
s
s
s
s
s
n bits (words)
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.”
COP
Y
(d,
s
, n)
Processing time (
µ
s) (Average)
n
Bit
Word
1
80
73
16
83
114
32
83
148
64
88
224
128
95
381
255
109
785
Содержание HIDIC MICRO-EH
Страница 1: ...HITACHI PROGRAMMABLE CONTROLLER APPLICATION MANUAL NJI 350B X ...
Страница 12: ...MEMO ...
Страница 14: ...Chapter 1 Features 1 2 MEMO ...
Страница 50: ...Chapter 4 Product lineup and wiring 4 18 MEMO ...
Страница 196: ...Chapter 5 Instruction Specifications 5 146 ...
Страница 263: ...Chapter 11 Communication Specifications 11 10 MEMO ...