Manual

Programming
Chapter 3
317
The following table contains examples of using the TMOVE command to
move bit:
To
move data
from:
Command line example:
Explanation:
PLC-3 to PLC-2
TMOVE FROM :66$010/1 T
O $B2:3/4
or
TM 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 TMOVE FROM $B2:3/01
1 T
O
:66$010/015 or
TM F $B2:3/01
1 T :66$010/015
T
ransfers bit 1
1 of word 3 from
binary file 2 to bit 15 of word
address 010 at node 66.
PLC-3 to PLC-3
TMOVE FROM :76$I4:50/2 T
O $B2:3/4
or
TM 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
TMOVE FROM $B2:3/4 T
O
:76$B40:50/2 or
TM 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
TMOVE #1 TO :76$222/3 or
TM #1 T :76$222/3
T
ransfers the integer constant 1 to
bit 3 of word address 222 at node
76.
PLC-3 to PLC-3
TMOVE #0 T
O :76$B2:3/4 or
TM #0 T :76$B2:3/4 or
T
ransfers the integer constant 0 to
bit 4 of word 3 of binary file 2 at
node 76.
More Examples
Example 1
The following is an example of specifying a variable word range length.
M F $N1:0 T :024$N1:0,($N0:0)
$N0:0
pr
ovides the variable length
Example 2
The following is an example of performing a file read.
Note,
ther
e is no colon after $N0
M F $N0 T :024$N0
Important: When you perform a file read as shown in Example 2, the
source and destination files must be the same length.