GE GFK-0804B 用户手册

下载
页码 160
4
4-32
Micro PLC Programmer’s Guide – April 1994
GFK-0804B
Block Move
The Block Move function copies a selectable amount of data to a specified memory location.
It works like a Move function, except that it copies more than 16 bits at a time. The options
are explained below:
Option
Example
Description
Register >  Register
R001  0002 > R004
Copies the contents of R001–R002
into R004–R005.
R010  R020 > R100
Copies the contents of R010 to R100 in
incremental order, according to the
length specified in R020. For example,
if R020 contained the number 2, then
the contents of R010–R011 would be
copied onto R100–R101.
Coil (C) > Coil (C)
C001
0010 > C014
Copies Internal Relay status coils
C001–C010 into C014–C023.
Output (O) > Output (O)
 O001
0016 >O033
Copies 16 output bits from
O001–O016 into O033–O048.
Input (I) > Output (O)
I004
0016 > O033
Copies 16 input bits (I001–I019) into
outputs O033–O048.
Input (I) > Coil (C)
I016  0006 > C020
Copies 6 input bits (I016–I011) into
internal coils C010–C025.
Coil (C) > Output (O)
C001
0010 > O003
Copies 10 bits from internal coils
C001–C010 into outputs
O003–O012.
Programming Software Instructions
1.
Select  B–Move (F6) from the Math/Move function keys.
2.
Enter the number to be moved. 
This can be a constant, or the contents of a specified
memory location (see above). For example: R001. Then press the Enter key.
3.
Enter the data length
. This can be a constant or the contents of a specified register
location. The number may represent either bits or words of data, according to the
data type being moved.
4.
Enter a memory location to contain the result. 
 Press the Enter key.