Manual
Programming
Chapter 3
315
The following table contains examples of using the MOVE command to
move a block of words:
To
move data
from:
Command line example:
Explanation:
PLC-3 to PLC-2
MOVE FROM :66$010,1024 T
O $B2:3
or
M F :66$010,1024 T $B2:3
T
ransfers 1024 words beginning at
word 010 at node 66 to word 3 of
binary file 2.
PLC-3 to PLC-2
MOVE FROM $B2:3,1024 T
O :66$010
or
M F $B2:3,1024 T :66$010
T
ransfers 1024 words beginning at
word 3 of binary file 2 to word
address 010 at node 66.
PLC-3 to PLC-3
MOVE FROM :76$I4:50 T
O $B2:3,444
or
M F :76$I4:50 T $B2:3,444
T
ransfers 444 words beginning at
word 50 of input file 4 at node 76 to
word 3 of binary file 2.
PLC-3 to PLC-2
MOVE FROM $B2:3 T
O :76$010,444
or
M F $B2:3 T :76$010,444
T
ransfers 444 words beginning at
word 3 of binary file 2 to word
address 010 at node 76.
PLC-3 to PLC-5
MOVE FROM $B2:3,1024 T
O
:40.2$E0.10.2.0 or
M F $B2:3,1024 T :40.2$E0.10.2.0
T
ransfers 1024 words beginning at
word 3 in binary file 2 to file 10
beginning at word 2 in the PLC-5
address 2 connected to KP5 node
40.
The following table contains examples of using the MOVE command to
move a bit:
To
move data
from:
Command line example:
Explanation:
PLC-3 to PLC-2
MOVE FROM :66$010/1 T
O $B2:3/4 or
M F :66$010/1 T $B2:3/4
T
ransfers bit 1 of word 010 from
node 66 to bit 4 of word 3 of binary
file 2.
PLC-3 to PLC-2 MOVE FROM $B2:3/01
1 T
O
:66$010/015 or
M F $B2:3/01
1 T :66$010/015
T
ransfers bit 1
1 of word 3 of binary
file 2 to bit 15 of word address 010
at node 66.
PLC-3 to PLC-3
MOVE FROM :76$I4:50/2 T
O $B2:3/4
or
M F :76$I4:50/2 T $B2:3/4
T
ransfers bit 2 of word 50 of input
file 4 from node 76 to bit 4 of word 3
of binary file 2.
PLC-3 to PLC-3
MOVE FROM $B2:3/4 T
O :76$B40:50/2
or
M F $B2:3/4 T :76$B40:50/2
T
ransfers bit 4 of word 3 of binary
file 2 to bit 2 of word 50 on binary
file 40 at node 76.
PLC-3 to PLC-2
MOVE #1 T
O :76$0222/3 or
M #1 T :76$0222/3
T
ransfers the integer constant 1 to
bit 3 of word address 222 at node
76.
PLC-3 to PLC-3
MOVE #0 T
O :76$B2:3/4 or
M #0 T :76$B2:3/4
T
ransfers the integer constant 0 to
bit 4 of word 3 of binary file 2 at
node 76.